adapters/hermes/skills/governance-check/SKILL.md
Validates Context Governance compliance — task routing, protected artifact checks, receipt management, and pre-commit gates. For use with Hermes Agent.
npx skillsauth add dominonotesexpert/context-governance governance-checkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Classify the current task using docs/agents/system/ROUTING_POLICY.md:
| Task Type | Route | |-----------|-------| | Bug/regression/test failure | System → Module → Debug → Implementation → Verification | | Feature/code change/refactor | System → Module → Implementation → Verification | | Design/architecture/protocol | System → Module → Verification |
Before modifying code:
MODULE_CONTRACT.md in docs/agents/modules/<name>/DEBUG_CASE exists or will be created firstdocs/agents/execution/GOVERNANCE_MODE.mdDo NOT modify these files directly:
docs/agents/PROJECT_BASELINE.mdSYSTEM_GOAL_PACK.md, SYSTEM_INVARIANTS.md, SYSTEM_AUTHORITY_MAP.md, ROUTING_POLICY.mdENGINEERING_CONSTRAINTS.md, SYSTEM_ARCHITECTURE.md, PROJECT_ARCHITECTURE_BASELINE.mdIf these need changes, escalate to System Architect.
Use the governance MCP tools (auto-discovered by Hermes from context-governance MCP server):
governance_start_task to create a receiptgovernance_update_receipt as evidence is producedgovernance_complete_task when doneIf MCP is unavailable:
docs/templates/governance/MANUAL_ATTESTATION_POLICY.mdattestation_mode: manual_attestation with reasonBefore committing:
CG-Task: T-YYYYMMDD-NNN trailer is in the commit messagegovernance_run_checks via MCP (or scripts/check-commit-governance.sh directly)docs/agents/ per HARD-GATE requirements..governance/escalations.jsonl.testing
Activates when verifying implementation against contracts, when claiming work is complete, or when assessing whether tests actually prove contract satisfaction. Use for evidence-based acceptance.
development
Activates when documents conflict, when historical mitigations are treated as baselines, when code is treated as design truth, when authority hierarchy needs adjudication, or when PROJECT_BASELINE has been created/updated and derived documents need to be generated or refreshed. Use for system-level truth arbitration and baseline derivation.
development
Orchestrates Context Governance role chain. Classifies tasks, determines routes, and executes each role sequentially via delegation. Use this as the entry point for any governed task in Hermes.
testing
Activates when defining module contracts, boundaries, dataflow, or workflows. Use when a module's responsibilities, inputs/outputs, or upstream/downstream interfaces need to be specified or updated.