Document list model provenance and typed object names

This commit is contained in:
pingqiu committed 2026-12-01 15:06:30 -08:00
1 parent 0646ecacc9
commit b26b4eddea
3 files changed
+7 -5

No files matched your search

@@ -255,8 +255,8 @@ func (s *LayoutStore) Create(ctx context.Context, rel string, raw []byte, sessio
if session == "" {
return errors.New("chunkstore: object needs a writer session")
}
// All object names end in their bytes' SHA-256; do not create a name
// for bytes it does not identify.
// Data names bind their bytes' SHA-256; list names additionally bind
// the page domain. Refuse bytes not authenticated by their typed name.
if strings.HasPrefix(rel, layout.ListDir+"/") {
if len(raw) > layout.MaxListPageBytes {
return layout.ErrMalformed
+4 -2
View File
@@ -697,9 +697,11 @@ integration coverage of the existing RemoteProof transition; the model is unchan
### Immutable list publication and continuation
[PageChain](pagechain/PageChain.tla) refines an immutable two-page list behind
a conditional HEAD cursor. Recorded run input and committed model SHA-256:
a conditional HEAD cursor. Recorded run input SHA-256:
`1c8d9ad20ae1f27b90b2d3f759229e64501f6fdb4321ef5cbe340841e00feca8`.
The recorded Linux run of this exact model passed safe_chain (150,260
The committed copy removes an internal provenance name from a comment; its
LF-normalized SHA-256 is `ab298e07298d84fe326cb0d1d8626b4bcd479ea5c8be9b15fbab5f22922d6d9b`. Executable model statements and
configurations are unchanged. The recorded Linux run passed safe_chain (150,260
states), seven must-violate mutations and four reachability witnesses;
coverage exit 0. This records the model owner's run, not a rerun by this PR.
Configurations and expected results are committed in `pagechain/cfg`.
@@ -1,6 +1,6 @@
------------------------------ MODULE PageChain ------------------------------
(***************************************************************************)
(* V8 page-chain crash rows (claude06, 2026-12-01; #894's list pages). *)
(* V8 page-chain crash rows (2026-12-01; #894's list pages). *)
(* CleanList kept a list inside HEAD; here it is a chain of immutable *)
(* content-named page objects that HEAD names by its head page. *)
(* *)