Skip to content

feat(cache): persist verified federated generations - #458

Merged
tcballard merged 1 commit into
mainfrom
agent/federation-05-persistence
Aug 30, 2026
Merged

feat(cache): persist verified federated generations#458
tcballard merged 1 commit into
mainfrom
agent/federation-05-persistence

Conversation

@tcballard

Copy link
Copy Markdown
Collaborator

Summary

  • version the persistent read-model layout for source-aware artifact identity, layers, relationship endpoints, liveness, scope rows, and canonical override redirects
  • bind every federated cache read to a freshly verified logical generation containing exact child and parent snapshot bytes
  • make cold, resident, and stored reads consume the same central ComposedCorpus; a stale or invalid parent returns an error and cannot expose the previous valid model
  • include child config/corpus inputs, raw manifest, parent source and pin, overrides, recursion, and stable corpus root in the generation key
  • add source/layer/pin provenance to composed validation and relationship findings while keeping inherited warnings and advisories parent-owned
  • retain released no-manifest behavior and treat the old store layout as a cache miss

Stack

Validation

  • cargo test --workspace --all-targets
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo check --workspace --all-targets
  • focused composition: 8/8
  • focused federated cache: 8/8
  • git diff --check

All checks pass; one pre-existing intentional differential test remains ignored.

@tcballard
tcballard marked this pull request as ready for review August 12, 2026 06:06
@tcballard
tcballard force-pushed the agent/federation-04-activation branch from 750fdad to e95d406 Compare August 30, 2026 07:47
@tcballard
tcballard force-pushed the agent/federation-05-persistence branch from 68c733d to 7f6a4af Compare August 30, 2026 07:47
@tcballard
tcballard force-pushed the agent/federation-04-activation branch from e95d406 to 890984f Compare August 30, 2026 08:16
@tcballard
tcballard changed the base branch from agent/federation-04-activation to main August 30, 2026 08:41
Signed-off-by: Tom Ballard <tom@armytage.co>
@tcballard
tcballard force-pushed the agent/federation-05-persistence branch from 7f6a4af to e3108f5 Compare August 30, 2026 08:42
@tcballard
tcballard merged commit 28a5b03 into main Aug 30, 2026
12 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