factory-governance-loading
CommunitySummarization-safe governance reload for SDLC agents.
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: factory-governance-loading Download link: https://github.com/e2its/myrmion-AI-factory/archive/main.zip#factory-governance-loading Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.