WikiEngineCoreArchitecture.md authored in shard-wiki + INTENT amendment ratified; discovery D2->D3 with promotion_history. reuse-surface validate: ok. Source: SHARD-WP-0013 T5/T6. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Capability Registry
Markdown-first registry for reusable capabilities in the helix_forge domain.
Layout
registry/
├── README.md
├── capabilities/
│ └── capability.<domain>.<name>.md
└── indexes/
└── capabilities.yaml
- Entries live in
capabilities/as Markdown files with YAML front matter. - Index at
indexes/capabilities.yamlis the fast discovery surface for humans and agents. - Schema at
schemas/capability.schema.yamldefines required front matter. - Template at
templates/capability-entry.template.mdis the authoring starting point.
Add a new capability (D0/A0/C0/R0)
- Copy
templates/capability-entry.template.mdtoregistry/capabilities/capability.<domain>.<name>.md. - Set
id,name,summary,owner, andstatus: draft. - Initialize all four dimensions explicitly:
maturity.discovery.current: D0maturity.availability.current: A0external_evidence.completeness.level: C0external_evidence.reliability.level: R0
- Add the entry to
registry/indexes/capabilities.yaml. - Run
reuse-surface validate --relationsandreuse-surface federation compose.
Missing evidence is acceptable in the MVP when it is explicit rather than hidden.
Manual validation checklist
Use this checklist until an automated CLI validator exists.
Required fields
idmatches^capability\.[a-z0-9]+(\.[a-z0-9-]+)+$name,summary,owner, andstatusare presentmaturity.discoveryandmaturity.availabilityincludecurrentandtargetexternal_evidence.completeness.levelandexternal_evidence.reliability.levelare present- Completeness and reliability are not nested under
maturity
Enum checks
Discovery levels: D0–D7
Availability levels: A0–A7
Completeness levels: C0–C6
Reliability levels: R0–R6
Entry status: draft, reviewed, approved, deprecated
Confidence: low, medium, high
Definitions live in specs/CapabilityMaturityStandard.md.
Relation checks
- Every relation target uses a valid capability ID format
- Referenced capabilities exist in the index or are explicitly marked as external/planned
- Cycles in
depends_onare intentional and documented
Index checks
- New entry appears in
indexes/capabilities.yaml pathpoints to the correct Markdown filevectormatches the entry's current maturity levels
Search and filter guidance
UC-RS-004 — Search by planning need
- Run
reuse-surface query --discovery-min D4or read the index and scansummary,tags, andvector. - Open candidate entries and review
discovery.intent,discovery.use_cases, anddiscovery.includes. - Prefer entries with discovery
D3+for roadmap work andD5+for MVP selection.
Example filter:
discovery:
minimum: D4
tags:
- identity
UC-RS-005 — Search by consumption mode
- Filter the index by
consumption_modesor availability level. - Open entries and inspect
availability.current_artifacts. - Treat
A0entries as planning-only; requireA2+for code reuse andA3+for automation.
Example filter:
availability:
minimum: A3
consumption_modes:
- cli
UC-RS-006 — Compare capability candidates
Compare vectors side by side and read:
discovery.includes/discovery.excludesfor overlapexternal_evidence.completenessfor expectation fitexternal_evidence.reliabilityfor consumer riskrelationsfor dependency and duplication signals
UC-RS-015 — Detect duplicate or overlapping capabilities
Run reuse-surface overlaps for automated candidate detection, then review:
Check for overlap in:
- similar
nameorsummary - shared
discovery.includes relations.related_towithout clear specialization- duplicate tags and consumption modes with weak boundary differences
When overlap is real, link entries with relations.related_to, specializes,
or generalizes rather than creating silent duplicates.
Relation graph
Regenerate the Mermaid graph after relation changes:
reuse-surface graph
reuse-surface graph --check
Outputs:
docs/graph/capability-graph.mmd— Mermaid sourcedocs/graph/index.html— in-browser explorer (also regenerated bycatalog)
Promote a capability
- Attach evidence appropriate to the target level in
specs/CapabilityMaturityStandard.md. - Update
maturityand/orexternal_evidencewith rationale and confidence. - Append a
promotion_historyrecord withdate,dimension,from,to, andrationale(optionalauthor). - Update
availability.current_artifactswhen a new consumption mode appears. - Refresh the index
vectorand runreuse-surface validate --relations. - Run
reuse-surface federation composeandreuse-surface graph. - Set
status: reviewedorapprovedwhen an assessor validates the entry.