@@ -181,6 +181,70 @@ <h2>What else may break?</h2>
181181 </ div >
182182 </ section >
183183
184+ < section class ="section section-alt ">
185+ < div class ="container capability-structure-grid ">
186+ < div >
187+ < p class ="eyebrow "> Repo-native structure</ p >
188+ < h2 > The capability map is hierarchical before it is a graph.</ h2 >
189+ < p >
190+ Capability files live in `.capabilities/` using folders that mirror ownership, product areas, or platform layers.
191+ The hierarchy gives reviewers a readable map before they inspect dependency edges.
192+ </ p >
193+ </ div >
194+ < pre class ="tree-card " aria-label ="Example .capabilities folder tree "> < code > .capabilities/
195+ capabilitykit.yaml
196+ core/
197+ model/
198+ define-capability-format.capability.yaml
199+ validation/
200+ validate-capability-files.capability.yaml
201+ detect-verification-gaps.capability.yaml
202+ graph/
203+ compile-capabilities.capability.yaml
204+ diff-capabilities.capability.yaml
205+ analyze-capability-impact.capability.yaml
206+ assessment/
207+ assess-implementation-coverage.capability.yaml
208+ developer-experience/
209+ cli/
210+ skills/
211+ docs/
212+ project/
213+ reference/</ code > </ pre >
214+ </ div >
215+ </ section >
216+
217+ < section class ="section ">
218+ < div class ="container capability-structure-grid ">
219+ < div >
220+ < p class ="eyebrow "> Capability anatomy</ p >
221+ < h2 > The human-facing fields describe the contract.</ h2 >
222+ < p >
223+ The top-level capability fields capture identity, current state, purpose, reviewer guidance, and acceptance criteria.
224+ Agent-maintained references and verification can live below this, but the first thing a reviewer should see is the
225+ product behavior being claimed.
226+ </ p >
227+ </ div >
228+ < pre class ="code-card "> < code > id: core/graph/diff-capabilities
229+ title: Diff capabilities
230+ status: implemented
231+ area: core
232+ summary: Compare current capability files with a Git base and summarize added,
233+ changed, and removed capabilities.
234+ intent: Help developers understand product and agent-facing intent changes
235+ without reading raw YAML diffs.
236+ acceptance:
237+ - Compares current capabilities against a configurable Git base ref.
238+ - Reports added, changed, and removed capabilities by capability ID.
239+ - Summarizes meaningful field changes such as status, intent, acceptance,
240+ dependencies, implementation references, verification, and ignore policy.
241+ - Includes downstream impact context for changed capabilities.
242+ guidance:
243+ - Compare normalized parsed capabilities, not raw YAML text.
244+ - Avoid raw JSON in the default human output.</ code > </ pre >
245+ </ div >
246+ </ section >
247+
184248 < section class ="section graph-section ">
185249 < div class ="container graph-grid ">
186250 < div >
@@ -203,35 +267,6 @@ <h2>Small changes can have wide capability impact.</h2>
203267 </ div >
204268 </ section >
205269
206- < section class ="section section-alt ">
207- < div class ="container example-grid ">
208- < div >
209- < p class ="eyebrow "> Repo-native contract</ p >
210- < h2 > A capability file carries intent and review evidence together.</ h2 >
211- < p >
212- CapabilityKit does not replace source code, tests, or architecture decisions. It keeps the capability contract close
213- enough to the implementation that humans and agents can review whether the product behavior is still true.
214- </ p >
215- </ div >
216- < pre class ="code-card "> < code > id: core/graph/diff-capabilities
217- intent: Help developers understand product and agent-facing intent changes.
218- acceptance:
219- - Summarizes meaningful field changes.
220- - Includes downstream impact context.
221- agent:
222- depends_on:
223- - core/graph/compile-capabilities
224- implementation:
225- references:
226- - packages/core/src/capabilityDiff.ts
227- verification:
228- automated:
229- - command: npm test -- packages/core/tests/capabilityDiff.test.ts
230- manual:
231- - Confirm the diff explains intent better than git diff.</ code > </ pre >
232- </ div >
233- </ section >
234-
235270 < section id ="get-started " class ="section final-cta ">
236271 < div class ="container cta-panel ">
237272 < div >
0 commit comments