feat: install document components and adopt versioned flows - #64
Merged
dapi merged 16 commits intoSep 7, 2026
Conversation
…-document-components * commit '8f91a5c514189a58a6a3597e947466bfbfc4ac73': fix: persist adapted ownership and pin original Git objects fix: drain CLI help when detecting the sync command fix: pin the canary to the canonical legacy template docs: scope the decision provenance reference docs: retain provenance with an acyclic evidence owner docs: remove the canary fixture dependency cycle fix: declare the downstream canary legacy source
…-document-components * commit 'aae9a0f53b17ebc14920393aa03ea430eafdac8e': refactor: scope source envelope parsing to its schema refactor: avoid repeating source JSON validation
…-document-components * commit '3b434fd93678c36447d10d4f308a39ce5d74b040': fix: keep legacy declaration capabilities fixed refactor: decode source declarations in one pass
dapi
marked this pull request as ready for review
September 7, 2026 04:31
dapi
added a commit
that referenced
this pull request
Sep 7, 2026
* feat: gate legacy sources before installation * fix: declare the downstream canary legacy source * docs: remove the canary fixture dependency cycle * docs: retain provenance with an acyclic evidence owner * docs: scope the decision provenance reference * fix: pin the canary to the canonical legacy template * fix: drain CLI help when detecting the sync command * fix: persist adapted ownership and pin original Git objects * refactor: avoid repeating source JSON validation * refactor: scope source envelope parsing to its schema * refactor: decode source declarations in one pass * fix: keep legacy declaration capabilities fixed * feat: install document components and adopt versioned flows (#64) * docs: define component runtime execution plan * refactor: avoid repeating source JSON validation * docs: define durable component recovery execution * feat: add component contract validation primitives * fix: enforce frozen validation and projection boundaries * fix: distinguish historical replay from transition authorization * feat: compose component installations and explicit document transactions * feat: complete component migration and explicit adoption runtime * fix: reject unsupported URI schemes before relocation * ci: fetch legacy ancestry for component migration fixtures * fix: clarify template ownership with compatible renderer v3 * fix: preserve draft links and recognize source projections * refactor: remove duplicate evidence sorting
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.
Component sources can now install DNA and base documents independently from optional flow contracts. Base creation leaves a document unadopted; explicit adoption binds its identity to a frozen bundle. Transitions and moves update the document, registry and lock atomically.
This adds schema-2 selection, four presets and adapters, versioned README/AGENTS composition, document commands, prepared-draft reference relocation, source/state validation, resolution plans and opt-in legacy migration with exact preview-digest consent. Failed rollback or cleanup retains a durable recovery journal, including the prepared input snapshot and ancestor permissions. Component mutations are supported on Linux/macOS.
Validation is green at
caf0f3eaf3af290a702c8553795168584ac8b987:b2ba43b6fa1b417b4edb09013e708dbb2755180e.Closes #62. Implements the CLI boundary of dapi/memory-bank#141; producer PR: dapi/memory-bank#143.
Stacked on #63. Release order: bridge, component-capable CLI, component payload. No release or live downstream migration is performed by this PR.