What problem does it solve?
When LLM context windows are summarized during long agent sessions, all in-memory governance context (project rules, stack configuration, compliance constraints) is permanently evicted, leaving agents unable to enforce project governance and risking invalid artifacts, compliance failures, or broken builds. This Skill eliminates that risk by using file-based governance snapshots that survive context summarization.
Core Features & Use Cases
- File-Based Governance Snapshots: Stores all project governance context in a persistent .context/governance_snapshot.md file that is not lost during context compaction or summarization.
- 4-Tier Hook Enforcement: Automatically detects stale governance snapshots, drift in source constitution/setup files, and triggers reloads without requiring manual agent intervention.
- Dual-Hash Validation: Tracks MD5 hashes of both docs/constitution.md and docs/setup.md to instantly invalidate snapshots when source governance files change.
- Use Case: For example, when a QA agent resumes work after a long context summarization, it automatically loads the valid governance snapshot, validates it against current project files, and enforces all applicable compliance rules without missing any context.
Quick Start
When starting any CODESIGN, BLUEPRINT, QA, IMPLEMENT, or DEVOPS agent command, automatically load and validate the governance snapshot from .context/governance_snapshot.md to ensure all project rules and constraints are active.