Skip to content

Add default-off link provenance sidecar - #974

Merged
odvcencio merged 1 commit into
mainfrom
codex/compact-link-provenance-sidecar
Aug 25, 2026
Merged

Add default-off link provenance sidecar#974
odvcencio merged 1 commit into
mainfrom
codex/compact-link-provenance-sidecar

Conversation

@odvcencio

Copy link
Copy Markdown
Owner

Summary

  • Add a nil-by-default uint32 sidecar indexed by LinkID.
  • Bind finalized drop-cohort references only after authenticating the classified boundary, action descriptor, selected ordinal, reduction plan, and exact graph predecessor.
  • Add scheduler transaction rollback, reset, append alignment, and storage accounting.

Scope

This change does not alter derivation format, ReductionOutput, compact routing, or admission behavior.

Validation

  • go test ./internal/parsercorephase0 -run '^(TestLinkProvenance|TestSchedulerTransaction|TestG18DropCohortActionIdentityAcceptsSignedPrecedenceAndChecksWidths)$' -count=1
  • git diff --check
  • Narrow Canopy symbol query for the new sidecar API

- Introduce an optional LinkID-indexed sidecar storing finalized drop-cohort reference indexes.
- Journal sidecar mutations for transaction rollback and restore correct allocation length on reset.
- Consolidate graph link insertion through appendGraphLink to keep the sidecar aligned with the arena.
- Update storage and footprint accounting to track the new sidecar and its journal.
- Verify binding authentication, malformed range rejection, and state restoration via integration tests.

Buckley-Change-Hash: sha256:972d7c96a4b716d4e3c3da1da3fdcce70fdf8a1e234b766910cb5abe9c416ccb
Buckley-Change-Stats: files=6 insertions=617 deletions=9 binaries=0
@odvcencio
odvcencio merged commit 1c562a2 into main Aug 25, 2026
49 checks passed
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