spec: adopt extraction-compatibility spec (014), amend 013 for a 20th spec it missed#61
Merged
Conversation
… spec it missed Replaces Codex's unverified alias/retirement-lifecycle proposal (#58/#59) with a minimal, verified passthrough: 10 legacy spec-ID entries the extracted crate's compiled source actually hardcodes and traverse still approves today, so approved_spec_registry_contains()/is_governed_artifact_path() keep working unchanged after the crate's physical relocation. Two other hardcoded IDs (015-metadata-graph, 026-federation-registry-routing) are deliberately left out -- verified absent from traverse's own current governance file, a pre-existing traverse-side bug, not this repo's to fix. 013-inherited-registry-governance's source-specs table gains 002-capability-contracts, a 20th governing spec its original 19-spec audit missed -- licensed by that spec's own FR-003 re-verification requirement. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
enricopiovesan
enabled auto-merge (squash)
July 21, 2026 17:01
auto-merge was automatically disabled
July 21, 2026 17:03
Pull request was closed
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.
Summary
Supersedes Codex's
#58/#59(closed) with a verified, much smaller design. Full investigation and reasoning:docs/decision-log.mdentry 33.The extracted crate resolves its own governing-spec registry at compile time, relative to its own directory. Physically relocating
crates/traverse-registry/fromtraverseto this repo changes whichapproved-specs.jsonthat resolves to, silently breaking two runtime checks (approved_spec_registry_contains,is_governed_artifact_path) for entirely unchanged pre-existing behavior.A full audit of the crate's compiled source (every file, not a guess) found every literal spec-ID string it hardcodes — 13 total:
traverselegacy IDs get a minimal passthrough entry here (specs/014-extraction-compatibility/spec.mdFR-001):002-capability-contracts,005-capability-registry,007-workflow-registry-traversal,011-event-registry,037-semver-range-resolution,039-connector-plugin-architecture,043-module-dependency-management,044-application-bundle-manifest,046-public-cli-app-registration,055-registry-sync.999-unapproved-specis a deliberate negative-test fixture — explicitly excluded (FR-003).015-metadata-graphand026-federation-registry-routingdon't exist intraverse's own current governance file at all — already-broken, pre-existingtraverse-side bugs, unrelated to this extraction. Deliberately left unregistered (adding entries for IDs that were never valid would change behavior, not preserve it).Also found (and fixed, licensed by
013's own FR-003 re-verification requirement):002-capability-contractsalso governs the crate and was missing from013-inherited-registry-governance's source-specs table (a 20th spec, missed in the original 19-spec audit).Zero Rust source changes. Zero new alias/retirement lifecycle — this repo's existing
013precedent (inherited behavior preserved as-is, not re-authored) extends cleanly to this narrower problem.Approved directly in this PR per decision 24 (co-brainstormed specs are approved by the brainstorm itself) — this session's
/brainstormwith the repo owner is the approval event.Governing Spec
Project Item
Definition of Done
specs/014-extraction-compatibility/spec.mdadded, approvedspecs/governance/approved-specs.json, each with a unique stub file underspecs/014-extraction-compatibility/legacy-ids/013-inherited-registry-governanceamended (licensed by its own FR-003) to add002-capability-contracts999-unapproved-spec,015-metadata-graph,026-federation-registry-routingdeliberately excludedValidation
python3 scripts/ci/capability_validation.py— passedpython3 -m unittest scripts/ci/tests/test_capability_validation.py -v— 9/9 passingbash scripts/ci/spec_alignment_check.sh(run in CI against this PR)