Skip to content

feat(op): intent rows are {id, uri} — presence IS the claim; document vocabulary follows the rulings - #602

Merged
David-Noble-at-work merged 1 commit into
developfrom
stateless-intent-rows
Aug 22, 2026
Merged

David-Noble-at-work merged 1 commit into
developfrom
stateless-intent-rows

Conversation

@David-Noble-at-work

Copy link
Copy Markdown
Contributor

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 own
IntentEntry{ID, URI}, split from the trace's LedgerEntrySnapshot. Presence in the section IS the
pending 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 state field; 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 on
    detection, the parameter TYPE as the declaration, Stop-wins aggregation, scoped verification per
    subgraph executor. (Design §3 + plan docket.)
  • Directive inventory shrinks: planner inferred from <MethodName>Planner (4/4 conform),
    struct_param removed (zero consumers; Convert hydrates), lifetime removed with its dormant
    machinery, access retires per 3.6. Survivors: defaults, property, root.
  • Two e2e lore scenarios noted into the phase: Docker first, then Go Toolchain —
    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 vet GOOS=windows; gofmt clean; expectation: green stays green

Refs #585, #581.

…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 David-Noble-at-work self-assigned this Aug 22, 2026
@David-Noble-at-work
David-Noble-at-work merged commit e8f36a9 into develop Aug 22, 2026
8 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the stateless-intent-rows branch August 22, 2026 00:51
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant