Skip to content

feat(store): validate project annotation manifests and plan bindings - #1680

Merged
leemour merged 2 commits into
mainfrom
feat/project-context-transfer
Oct 20, 2026
Merged

leemour merged 2 commits into
mainfrom
feat/project-context-transfer

Conversation

@leemour

@leemour leemour commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Adds provider-neutral validation and pure restore planning for selected project annotations before store export/restore. Hosts validate aliases, facts, direct links and explicit external dependencies, then check explicit destination bindings against a complete target snapshot without opening or mutating a store. Coverage explicitly omits tasks, memories, labels and findings; a ready plan never authorizes accepting proposals.

Strict decoding refuses unknown fields/versions, missing dependencies, unrelated links, alias collisions, decision replacement cycles and byte/record overruns. Link origin, free-form evidence and unresolved targets are preserved. Planning refuses changed or missing sources, wrong reference kinds, collapsed actors and populated targets. Fingerprints include the manifest, bindings and target revision.

Database snapshots and atomic apply remain subsequent work; this PR adds no migration or CLI command. Validation: 23 synthetic cases; full typecheck/build and docs checks; staged Biome and gitleaks. No owner store used.

@leemour leemour changed the title feat(store): validate bounded project annotation manifests feat(store): validate project annotation manifests and plan bindings Oct 20, 2026
@leemour
leemour merged commit 179c6ca into main Oct 20, 2026
13 checks passed
@leemour
leemour deleted the feat/project-context-transfer branch October 20, 2026 11:28
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