project-state
Installation
SKILL.md
project-state (v1) — S028 ecosystem-keystone WP-11
Design reference: /path/to/project/docs/plans/2026-04-23-ecosystem-keystone-design.md section 3 (all 9 subsections).
Purpose
Agents (bob, forge, alf) need relevant slices of project state without loading every ledger every turn. project-state is a deterministic projection generator + narrow query API over it. The projection is content-hashed against all source ledgers; queries validate the caller's input-hashes match projection's generated_from[] — if not, they reconcile before answering.
When to invoke
- Source-ledger write — any bob-triggered write to
progress/contract-map.yaml,.wiring/latest.json,.design-ledger/skeletons/*.yaml,progress/flows.yaml,progress/integration-ledger.md,.process-observations/active.yaml→reconcile(debounce 500ms for bursts). - Pre-transition — bob cannot flip INTEGRATED or VERIFIED without a fresh projection; reconcile is BLOCKING per Q3.
- Session start — if
now - generated_at > freshness_window_sOR nolatest.json, reconcile opportunistically (warning on fail). - Query op self-heal — if a query op sees caller-hashes differ from projection's
generated_from[], reconcile synchronously before answering (D10 MODIFIED hash-first primary).