Repository navigation
feat(op): intent rows are {id, uri} — presence IS the claim; document vocabulary follows the rulings - #602
Merged
Conversation
…ument vocabulary follows the rulings Phase 3, PR A of the resource-construction plan (#585). The graph document's resource rows drop state entirely (ruled 2026-08-21): the intent row becomes its own IntentEntry{ID, URI} type, splitting from the trace's LedgerEntrySnapshot. Pending is definitional -- a row's presence in the section IS the pending claim -- and state, producer, Etag, and Digest are trace vocabulary, where observation genuinely varies. The writer already forced Pending and the reader already ignored the field; the type now makes the document say exactly what the code means. Round-trip pins re-assert byte identity on the stateless shape and additionally refuse a state field in the document; the two star pins flip from asserting state == "pending" to asserting the key's absence. The plan and design docs carry the day's rulings (2026-08-22): the claims taxonomy's tolerance model is MissingResourcePolicy -- Stop (0, the fail-safe zero and default: missing fails the consuming scope), Ignore (make the call; the provider handles absence and the receipt records it), Skip (do not dispatch; recorded) -- a warning always produced on detection, the parameter TYPE as the declaration (no directive), Stop-wins aggregation, and scoped verification per subgraph executor (a graph is an object holding a root subgraph; a choose case verifies its claims only when hit). The directive inventory shrinks by ruling: planner linkage is inferred from the <MethodName>Planner convention, struct_param and lifetime are removed, access retires separately per 3.6; the surviving set is defaults, property, root. Two e2e lore scenarios (Docker, then Go Toolchain: deploy/upgrade/reconcile/decommission) are noted into the phase. The "wire" comment vocabulary renames across eleven pkg/op files per the same ruling: parameter tokens are parsed at the announce boundary, serialized op objects live in documents ("wire token" -> "parameter token", "wire shape" -> "document shape", and kin). OpenSSH's own "wire format" term, genuine network text in the server package, and "wire" as a verb are deliberately untouched. One error string follows the ruling ("no action_name in wire form" -> "in the document"). Verified with make check (103 packages ok, 0 failures) and make vet under GOOS windows. Refs #585, #581.
David-Noble-at-work
added a commit
that referenced
this pull request
Aug 22, 2026
…ion (#607) The plan and design documents catch up with the campaign through phase 3 (#582-#585 delivered; #586-#587 remain). The plan (resource-construction.md): status in-progress; the phase-2/3 headings carry the merged PR numbers (#596/#600/#601; #602-#606); delivered markers on the docket's items 4/5, judgment scenario 1, and the fail-fast scenario; the directive-inventory rulings gain an execution-status note (the wire rename ran; the planner/struct_param/lifetime removals are chartered, not executed); the divergence table records which rows phases 0-3 resolved and which are phase 4's subject; phase 5's already-satisfied items are marked. 4-resource-management.md: the header's staging note now says phases 0-3 are in the tree; SS2's execution-time summary reflects bind-then-scoped-verify; SS3's delivered note extends to C2 (#606) -- every file-scheme mutator is a resource-typed consumer; SS5.4 marks the {id, uri} intent row delivered (#602); SS9 gains rulings 12-14 (claims taxonomy with Skip dropped, scoped verification, resource-typed mutation targets). The status companion records the landed phases and narrows outstanding work to #586 + #587. 4.1-resource-identity.md: identity never changes after construction -- the three "Resolve updates the cached URI" passages are replaced, the interface sketch corrects to Resolve() error with the RootBinder seam named, and file's opaque catalog identity (file:<rel>) is disambiguated from the rendered hierarchical form in SS2 and SS6. The status companion gains the rel-identity completion row. 3.5.4-file-provider.md: the mutator table carries the landed signatures (typed targets, on_missing defaults), a consumption-model paragraph ties the mutators to the claims taxonomy, and the SymbolicLink row records lstat existence. 2-execution-graph.md: Run's description includes the pre-flight binding pass and per-scope claim verification. Refs #581. Co-authored-by: David Noble <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 3, PR A of resource-construction (#585).
Stateless intent rows
The graph document's resource rows drop
state(ruled 2026-08-21): the intent row becomes its ownIntentEntry{ID, URI}, split from the trace'sLedgerEntrySnapshot. Presence in the section IS thepending claim — pending is definitional, not recorded — and state/producer/Etag/Digest stay where
observation varies: the trace. The writer already forced Pending and the reader ignored the field; the
type now makes the document say exactly what the code means. Round-trip pins re-assert byte identity and
refuse a
statefield; the star pins flip to asserting the key's absence.The day's rulings, recorded
MissingResourcePolicy—Stop(0, fail-safe zero, default) /Ignore/Skip, warning always ondetection, the parameter TYPE as the declaration, Stop-wins aggregation, scoped verification per
subgraph executor. (Design §3 + plan docket.)
plannerinferred from<MethodName>Planner(4/4 conform),struct_paramremoved (zero consumers;Converthydrates),lifetimeremoved with its dormantmachinery,
accessretires per 3.6. Survivors:defaults,property,root.deploy/upgrade/reconcile/decommission.
Vocabulary cleanup (background pass)
Eleven pkg/op files rename the "wire" comment vocabulary per the ruling — parameter tokens at the announce
boundary; serialized objects live in documents. OpenSSH's standard term, real network text, and "wire" as
a verb are deliberately untouched; one error string follows the ruling.
Verified
make check— 103 ok, 0 failures (both flipped star pins inside the suite)make vetGOOS=windows; gofmt clean; expectation: green stays greenRefs #585, #581.