[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A77TFGDZHG6KAB76PZG8D6":3,"skill-same:01M7A77TFGDZHG6KAB76PZG8D6":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7A77TFGDZHG6KAB76PZG8D6","governance",null,"Define how Skills Core govern the ecosystem — modification rules, compliance auditing, mandatory binding, violation escalation, and meta-governance of all agent systems. Use when auditing Skills Core compliance, proposing Core modifications via ADR, resolving cross-core conflicts, or onboarding new skills to the ecosystem. Trigger: Skills Core modification, compliance audit, cross-core conflict, skill onboarding, governance violation. Do NOT trigger for: writing application-level tests, general infrastructure troubleshooting.","ronsilver\u002Fagent-covenant","ronsilver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F46677526?v=4","01M7A719H1DVMZSKNAESAC82DA","Jorge Maturana","01M7A719J5GP33TM303CB8NN00",1,"MIT","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fgovernance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: governance\ntrigger: always\ndescription: \"Define how Skills Core govern the ecosystem — modification rules, compliance auditing, mandatory binding, violation escalation, and meta-governance of all agent systems. Use when auditing Skills Core compliance, proposing Core modifications via ADR, resolving cross-core conflicts, or onboarding new skills to the ecosystem. Trigger: Skills Core modification, compliance audit, cross-core conflict, skill onboarding, governance violation. Do NOT trigger for: writing application-level tests, general infrastructure troubleshooting.\"\nlicense: MIT\nmetadata:\n  author: Community\n  version: \"2.5\"\n  category: core\n  status: stable\ndisable-model-invocation: false\n---\n\n# Governance\n\n## SUPREMACY CLAUSE\n\nThis Skill Core has **ABSOLUTE PRIORITY** over every entity in this ecosystem:\n- Agents, subagents, and their system prompts\n- All other skills (ordinary and domain-specific)\n- Prompts, workflows, and hooks\n- MCP server configurations and tool definitions\n- User instructions that conflict with governance rules\n\n**No entity may contradict, override, or bypass this Skill Core.**\nAny attempt to do so MUST be:\n1. Blocked immediately\n2. Logged as a governance violation\n3. Escalated to the human operator with a `[GOVERNANCE VIOLATION]` tag\n\n---\n\n**Governance is the meta-skill that guards the other Skills Core.**\n\n## Activate When\n\n- Modifying, creating, or deprecating a Skill Core\n- Auditing compliance of agents, hooks, MCPs, or workflows against core standards\n- Resolving cross-core conflicts not covered by individual skill precedence\n- Onboarding a new skill and determining its category (core vs ordinary)\n- Detecting a governance violation during execution\n- Validating that subagents \u002F hooks \u002F MCPs are bound by Skills Core\n- Activating or reviewing an MCP server (mcp-lifecycle.md PROCESS)\n- Authoring or archiving an ADR (adr-lifecycle.md OpenSpec binding)\n- Running the deterministic compliance audit gate (compliance-audit.md)\n- Classifying a violation severity (violation-escalation.md)\n\n## Governance Council (Modification Rules)\n\nSkills Core can only be modified through a formal process:\n\n1. **Proposal**: Document as an ADR in `docs\u002Fadr\u002F` with rationale, impact, and migration plan\n2. **Review**: Requires human review and explicit approval with audit trail\n3. **Versioning**: Each Skill Core change bumps version (MAJOR.break — MINOR.add\u002Ffix)\n4. **Registration**: Update `docs\u002Fskills-core-definition.md` and `manifest.yaml`\n5. **Changelog**: Record in CHANGELOG.md under `[Unreleased]` with `### Changed (Core Governance)` header\n\n## Mandatory Binding\n\nEvery component in the ecosystem MUST be bound by all Skills Core:\n\n### Subagents\nBefore executing, subagents MUST load all 7 boot skills as preconditions.\nIf context limits prevent this, they MUST reject the task with `[SCOPE VIOLATION]`.\n\n### Transitive Binding\nCore-skill loading is TRANSITIVE across every load path: skills invoking skills,\nagents spawning subagents, global rules referencing skills or subagents, and hooks\ntriggering skills or subagents MUST ensure the target context holds all 7 boot skills\n(loaded via host skill mechanism or verbatim bodies present) before dependent work begins.\nOrchestrators MUST carry this binding into every `task` dispatch prompt.\n\n### Hooks\nMust be validated against `engineering-standards` and `operating-protocol` before deployment.\nPreToolUse hooks that bypass Safety Core checks are automatically rejected.\n\n### MCP Servers\nTool definitions cannot expose operations that violate the T0-T4 framework.\nMCP configurations must pass a governance review before activation.\n\n### Workflows\nEvery step must be auditable against the 8 engineering-standards evaluation domains.\nWorkflows that bypass `tool-usage` safety gates (batch confirmation, dry-run) are invalid.\n\n## Compliance Reporting\n\nEvery change to this repository must include a `## Core Skills Compliance` block:\n\n```\n## Core Skills Compliance\n- operating-protocol: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n- engineering-standards: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n- context-management: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n- token-efficiency: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n- tool-usage: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n- governance: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n\nEach `[FAIL]` requires documented justification and an exception ADR.\n\n## Violation Escalation\n\n| Severity | Condition | Action |\n|---|---|---|\n| Minor | Skill Core reference outdated in manifest | Auto-fix + report |\n| Moderate | Subagent\u002Fhook bypasses Core without justification | Terminate + log `[GOVERNANCE VIOLATION]` |\n| Critical | Attempt to modify a Skill Core without ADR | BLOCK + escalate to human |\n| Catastrophic | MCP server exposes unsafe operations | Remove from config + report |\n\n## Conflict Resolution\n\nWhen this Skill Core conflicts with another Skill Core:\n\n1. `operating-protocol` (safety) > `governance`\n2. `governance` > `engineering-standards`\n3. `governance` > `context-management`\n4. `governance` > `tool-usage`\n5. `governance` > `token-efficiency`\n\n**Deadlock**: If cross-core conflict cannot be resolved through this hierarchy, escalate to human with `[CORE CONFLICT]`.\n\n**Note (tool-usage and token-efficiency are complementary, not competing)**: `tool-usage` is the instrument of `token-efficiency`. Its purpose is to tell the LLM how to use tools optimally — correct tool, minimal iterations — which reduces iterations and thereby reduces tokens and cost. In the pipeline, `tool-usage` applies first (correct, minimal tool execution) and `token-efficiency` applies last (compresses whatever remains after correct execution, always yielding to correctness and safety). The fixed hierarchy `... > tool-usage > token-efficiency` encodes this pipeline order, not a conflict between the two.\n\n## Cross-skill References\n\n- MCP review CRITERIA (what controls to check) -> `engineering-standards\u002Freferences\u002Fmcp-review-criteria.md` (governance owns PROCESS, not CRITERIA - SC-15)\n- MCP review PROCESS (this skill) -> [references\u002Fmcp-lifecycle.md](references\u002Fmcp-lifecycle.md)\n- Framework mapping (OWASP\u002FNIST\u002FMITRE\u002FCSF) -> `engineering-standards\u002Freferences\u002Fframework-mapping.md`\n- Runtime injection defense -> `operating-protocol`\n- Prompt-design injection defense -> `prompt-expert`\n- Deep SAST \u002F CVE \u002F MITRE ATT&CK -> `security-expert`\n- PCI DSS -> `security-expert`\n- Compliance audit execution -> [references\u002Fcompliance-audit.md](references\u002Fcompliance-audit.md)\n- ADR lifecycle (OpenSpec binding) -> [references\u002Fadr-lifecycle.md](references\u002Fadr-lifecycle.md)\n- Violation escalation (severity catalog + observer guard) -> [references\u002Fviolation-escalation.md](references\u002Fviolation-escalation.md)\n\n## Overview\n\nGovernance is the meta-skill that guards the Skills Core ecosystem. It defines modification rules (ADR proposal → human review → version bump), mandatory binding across all components (subagents, hooks, MCP servers, workflows), compliance auditing with severity-graded escalation, and a formal conflict resolution hierarchy. No entity — including user instructions — may bypass governance rules.\n\n## Quick Reference\n\n| Action | Rule | Escalation |\n|---|---|---|\n| Modify Skills Core | ADR proposal + human approval + CHANGELOG | Catastrophic if bypassed |\n| Subagent execution | Must load all 7 boot skills or reject | Moderate violation |\n| Hook deployment | Validated against engineering-standards + operating-protocol | Moderate violation |\n| MCP server activation | Must pass governance review | Catastrophic if unsafe |\n| Workflow step | Auditable against 8 engineering domains | Minor violation |\n| Cross-core conflict | operating-protocol > governance > others | Deadlock → human |\n\n## Workflow\n\n1. **Propose a change** — Write an ADR in `docs\u002Fadr\u002F` with rationale, impact assessment, and migration plan for the affected components.\n2. **Human review** — Submit ADR for explicit human approval. Ensure the review trail is recorded (PR comment, Slack thread, or approval log).\n3. **Version bump** — Increment version per semver: MAJOR for breaking changes, MINOR for additions\u002Ffixes. Update the YAML frontmatter `metadata.version`.\n4. **Register** — Update `docs\u002Fskills-core-definition.md` and `manifest.yaml` with the new or modified skill entry. Verify cross-references are intact.\n5. **Update CHANGELOG** — Add entry under `## [Unreleased]` with `### Changed (Core Governance)` or appropriate section.\n6. **Audit compliance** — Verify that all subagents, hooks, MCP servers, and workflows reflect the new governance rules. Run `make validate` to check.\n\n## Anti-patterns\n\nFAIL: Modifying a Skill Core without ADR or human approval.\n```\nBAD: Direct edit to governance\u002FSKILL.md with no ADR, no version bump, no CHANGELOG entry.\n→ BLOCKED with [GOVERNANCE VIOLATION] critical escalation.\n```\nPASS: Formal proposal: ADR → review → version → register → changelog.\n\nFAIL: Deploying a hook that bypasses safety protocol checks.\n```yaml\n# BAD: PreToolUse hook without safety validation\nhooks:\n  preToolUse: scripts\u002Fhandle-all.sh  # no validation against operating-protocol\n```\n```yaml\n# GOOD: Hook passes governance pre-flight\n## Core Skills Compliance\n- operating-protocol: [PASS]\n- engineering-standards: [PASS]\n```\n\nFAIL: Subagent running without loading Skills Core (context-skipping).\n```\nBAD: Subagent starts working without loading operating-protocol, governance, or engineering-standards.\n→ Terminate with [SCOPE VIOLATION].\n```\n```\nGOOD: Subagent loads all 7 boot skills before acting, or rejects task with scope violation notice.\n```\n\nFAIL: Creating\u002Freferencing content in `content\u002Fskills\u002F` without registering in `manifest.yaml`\n```\nBAD: skill lives at content\u002Fskills\u002Fmy-skill\u002FSKILL.md but missing from manifest.yaml\n→ Sync skips it; agents never find it; drift goes undetected\n```\n```yaml\n# GOOD: every content file registered in manifest.yaml\nskills:\n  directories:\n    - my-skill\n```\n\nFAIL: Updating a Skill Core without a CHANGELOG entry\n```\nBAD: Version bumped from 1.0 to 2.0 with no CHANGELOG.md entry.\n→ No audit trail; downstream agents can't detect breaking changes\n```\n```markdown\n# GOOD: every change recorded under ## [Unreleased]\n## [Unreleased]\n### Changed (Core Governance)\n- governance\u002FSKILL.md — added manifest registration requirement (version 1.1)\n```\n\nFAIL: Listing MCP ingestion CRITERIA in governance (owned by engineering-standards\u002Fsupply-chain.md + mcp-review-criteria.md).\n```\nBAD: governance\u002Fmcp-lifecycle.md duplicates SC-09 to SC-19 threat rows or 7 controls.\n→ Duplication drifts; two sources of truth diverge.\n```\n```\nGOOD: governance owns the REVIEW PROCESS; references engineering-standards for CRITERIA.\nmcp-lifecycle.md: \"WHAT controls to check -> engineering-standards\u002Freferences\u002Fmcp-review-criteria.md\"\n```\n\nFAIL: Editing an Accepted ADR in place (no archive, no supersession).\n```\nBAD: Direct edit to docs\u002Fadr\u002F0001-*.md after Accepted status.\n→ History not append-only; audit trail broken.\n```\n```\nGOOD: archive old ADR to docs\u002Fadr\u002Farchived\u002F + write new ADR with \"Supersedes ADR-0001\".\n```\n\n## References\n\n### Internal reference files\n\n- [references\u002Foverview.md](references\u002Foverview.md) - Reference index + glossary\n- [references\u002Fmcp-lifecycle.md](references\u002Fmcp-lifecycle.md) - MCP server governance PROCESS (5 stages + trust events + audit log + deprecation). Criteria -> engineering-standards\u002Fmcp-review-criteria.md\n- [references\u002Fadr-lifecycle.md](references\u002Fadr-lifecycle.md) - ADR proposal to archive lifecycle + OpenSpec \u002Fopsx binding + spec-kit constitution\n- [references\u002Fcompliance-audit.md](references\u002Fcompliance-audit.md) - Deterministic 8-domain audit + drift detection + exit-code gate (audits by reference)\n- [references\u002Fviolation-escalation.md](references\u002Fviolation-escalation.md) - 4-severity catalog + 6-tag catalog + 5-layer observer guard\n\n### External\n\n| Resource | URL | Last verified |\n|---|---|---|\n| Anthropic — Building Effective Agents | https:\u002F\u002Fdocs.anthropic.com\u002Fen\u002Fdocs\u002Fbuild-with-claude\u002Fagentic | 2026-05-25 |\n| OWASP — AI Security & Governance Guide | https:\u002F\u002Fgenai.owasp.org\u002F | 2026-05-25 |\n| NIST AI RMF | https:\u002F\u002Fwww.nist.gov\u002Fartificial-intelligence\u002Fexecutive-order-safe-secure-and-trustworthy-artificial-intelligence | 2026-05-25 |\n| Anthropic Claude Code security docs | https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsecurity | 2026-07-02 |\n| github\u002Fspec-kit (constitution + install policy) | https:\u002F\u002Fgithub.com\u002Fgithub\u002Fspec-kit | 2026-07-02 |\n| Fission-AI\u002FOpenSpec (artifact-guided ADR) | https:\u002F\u002Fgithub.com\u002FFission-AI\u002FOpenSpec | 2026-07-02 |\n| affaan-m\u002FECC (ecc status --exit-code + observer guard) | https:\u002F\u002Fgithub.com\u002Faffaan-m\u002FECC | 2026-07-02 |\n\n- [references\u002Foverview.md](references\u002Foverview.md)\n\n## Verification Checklist\n\n- [ ] Skills Core modification followed ADR process with human approval before merge\n- [ ] All subagents load all 7 boot skills before executing or reject with [SCOPE VIOLATION]\n- [ ] MCP server configurations passed governance review before activation\n- [ ] Workflow steps are auditable against all 8 engineering-standards domains\n- [ ] CHANGELOG.md updated with governance-related changes under proper header\n- [ ] Compliance reporting block included with PASS\u002FWARN\u002FFAIL per Core skill\n- [ ] MCP server passed mcp-lifecycle.md 5-stage PROCESS review (criteria checklist from engineering-standards\u002Fmcp-review-criteria.md)\n- [ ] ADR archived to docs\u002Fadr\u002Farchived\u002F with deprecation date + supersession pointer\n- [ ] Compliance audit exit-code gate passed (8 domains, no FAIL on blocking)\n- [ ] Violation severity classified via violation-escalation.md 4-tier catalog\n\n## Troubleshooting\n\n| Symptom | Likely cause | Fix |\n|---|---|---|\n| Subagent bypasses Core rules | Subagent context too large; skipped loading governance skill | Increase context window or split task; enforce governance pre-flight check |\n| ADR merge bypass detected | Direct edit to Core skill file without proposal | Rollback change; create ADR; obtain human approval before reapplying |\n| MCP tool exposes unsafe operation | Tool definition not reviewed against T0-T4 risk framework | Remove tool from config; add validation middleware before re-enabling |\n| Known issue: subagent context too large to load all 7 boot skills | Combined boot-skill content exceeds subagent context window | CONTEXT-OVERFLOW EXCEPTION, SUBAGENTS ONLY: split task into sub-tasks; load only the 2-3 most relevant Cores per sub-task; document which were skipped. NEVER applies to primary-agent session-start loading |\n| Version mismatch between manifest.yaml and actual skill schema (known bug) | Skill updated in content\u002Fskills\u002F but manifest.yaml version not bumped — sync deploys stale metadata | Run `make validate` after every skill change to catch version drift; enforce manifest version == frontmatter version in CI |\n| Circular dependency between Skills Core on conflict resolution (edge case) | governance references operating-protocol for escalation, which references governance for compliance — infinite loop on cross-core conflict | Use fixed precedence hierarchy (operating-protocol > governance > eng-standards > ctx-mgmt > tool-usage > token-efficiency); any cycle outside this hierarchy escalates to human with `[CORE CONFLICT]` |\n","# Governance\n\n## SUPREMACY CLAUSE\n\nThis Skill Core has **ABSOLUTE PRIORITY** over every entity in this ecosystem:\n- Agents, subagents, and their system prompts\n- All other skills (ordinary and domain-specific)\n- Prompts, workflows, and hooks\n- MCP server configurations and tool definitions\n- User instructions that conflict with governance rules\n\n**No entity may contradict, override, or bypass this Skill Core.**\nAny attempt to do so MUST be:\n1. Blocked immediately\n2. Logged as a governance violation\n3. Escalated to the human operator with a `[GOVERNANCE VIOLATION]` tag\n\n---\n\n**Governance is the meta-skill that guards the other Skills Core.**\n\n## Activate When\n\n- Modifying, creating, or deprecating a Skill Core\n- Auditing compliance of agents, hooks, MCPs, or workflows against core standards\n- Resolving cross-core conflicts not covered by individual skill precedence\n- Onboarding a new skill and determining its category (core vs ordinary)\n- Detecting a governance violation during execution\n- Validating that subagents \u002F hooks \u002F MCPs are bound by Skills Core\n- Activating or reviewing an MCP server (mcp-lifecycle.md PROCESS)\n- Authoring or archiving an ADR (adr-lifecycle.md OpenSpec binding)\n- Running the deterministic compliance audit gate (compliance-audit.md)\n- Classifying a violation severity (violation-escalation.md)\n\n## Governance Council (Modification Rules)\n\nSkills Core can only be modified through a formal process:\n\n1. **Proposal**: Document as an ADR in `docs\u002Fadr\u002F` with rationale, impact, and migration plan\n2. **Review**: Requires human review and explicit approval with audit trail\n3. **Versioning**: Each Skill Core change bumps version (MAJOR.break — MINOR.add\u002Ffix)\n4. **Registration**: Update `docs\u002Fskills-core-definition.md` and `manifest.yaml`\n5. **Changelog**: Record in CHANGELOG.md under `[Unreleased]` with `### Changed (Core Governance)` header\n\n## Mandatory Binding\n\nEvery component in the ecosystem MUST be bound by all Skills Core:\n\n### Subagents\nBefore executing, subagents MUST load all 7 boot skills as preconditions.\nIf context limits prevent this, they MUST reject the task with `[SCOPE VIOLATION]`.\n\n### Transitive Binding\nCore-skill loading is TRANSITIVE across every load path: skills invoking skills,\nagents spawning subagents, global rules referencing skills or subagents, and hooks\ntriggering skills or subagents MUST ensure the target context holds all 7 boot skills\n(loaded via host skill mechanism or verbatim bodies present) before dependent work begins.\nOrchestrators MUST carry this binding into every `task` dispatch prompt.\n\n### Hooks\nMust be validated against `engineering-standards` and `operating-protocol` before deployment.\nPreToolUse hooks that bypass Safety Core checks are automatically rejected.\n\n### MCP Servers\nTool definitions cannot expose operations that violate the T0-T4 framework.\nMCP configurations must pass a governance review before activation.\n\n### Workflows\nEvery step must be auditable against the 8 engineering-standards evaluation domains.\nWorkflows that bypass `tool-usage` safety gates (batch confirmation, dry-run) are invalid.\n\n## Compliance Reporting\n\nEvery change to this repository must include a `## Core Skills Compliance` block:\n\n```\n## Core Skills Compliance\n- operating-protocol: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n- engineering-standards: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n- context-management: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n- token-efficiency: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n- tool-usage: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n- governance: `[PASS]` \u002F `[WARN]` \u002F `[FAIL]`\n\nEach `[FAIL]` requires documented justification and an exception ADR.\n\n## Violation Escalation\n\n| Severity | Condition | Action |\n|---|---|---|\n| Minor | Skill Core reference outdated in manifest | Auto-fix + report |\n| Moderate | Subagent\u002Fhook bypasses Core without justification | Terminate + log `[GOVERNANCE VIOLATION]` |\n| Critical | Attempt to modify a Skill Core without ADR | BLOCK + escalate to human |\n| Catastrophic | MCP server exposes unsafe operations | Remove from config + report |\n\n## Conflict Resolution\n\nWhen this Skill Core conflicts with another Skill Core:\n\n1. `operating-protocol` (safety) > `governance`\n2. `governance` > `engineering-standards`\n3. `governance` > `context-management`\n4. `governance` > `tool-usage`\n5. `governance` > `token-efficiency`\n\n**Deadlock**: If cross-core conflict cannot be resolved through this hierarchy, escalate to human with `[CORE CONFLICT]`.\n\n**Note (tool-usage and token-efficiency are complementary, not competing)**: `tool-usage` is the instrument of `token-efficiency`. Its purpose is to tell the LLM how to use tools optimally — correct tool, minimal iterations — which reduces iterations and thereby reduces tokens and cost. In the pipeline, `tool-usage` applies first (correct, minimal tool execution) and `token-efficiency` applies last (compresses whatever remains after correct execution, always yielding to correctness and safety). The fixed hierarchy `... > tool-usage > token-efficiency` encodes this pipeline order, not a conflict between the two.\n\n## Cross-skill References\n\n- MCP review CRITERIA (what controls to check) -> `engineering-standards\u002Freferences\u002Fmcp-review-criteria.md` (governance owns PROCESS, not CRITERIA - SC-15)\n- MCP review PROCESS (this skill) -> [references\u002Fmcp-lifecycle.md](references\u002Fmcp-lifecycle.md)\n- Framework mapping (OWASP\u002FNIST\u002FMITRE\u002FCSF) -> `engineering-standards\u002Freferences\u002Fframework-mapping.md`\n- Runtime injection defense -> `operating-protocol`\n- Prompt-design injection defense -> `prompt-expert`\n- Deep SAST \u002F CVE \u002F MITRE ATT&CK -> `security-expert`\n- PCI DSS -> `security-expert`\n- Compliance audit execution -> [references\u002Fcompliance-audit.md](references\u002Fcompliance-audit.md)\n- ADR lifecycle (OpenSpec binding) -> [references\u002Fadr-lifecycle.md](references\u002Fadr-lifecycle.md)\n- Violation escalation (severity catalog + observer guard) -> [references\u002Fviolation-escalation.md](references\u002Fviolation-escalation.md)\n\n## Overview\n\nGovernance is the meta-skill that guards the Skills Core ecosystem. It defines modification rules (ADR proposal → human review → version bump), mandatory binding across all components (subagents, hooks, MCP servers, workflows), compliance auditing with severity-graded escalation, and a formal conflict resolution hierarchy. No entity — including user instructions — may bypass governance rules.\n\n## Quick Reference\n\n| Action | Rule | Escalation |\n|---|---|---|\n| Modify Skills Core | ADR proposal + human approval + CHANGELOG | Catastrophic if bypassed |\n| Subagent execution | Must load all 7 boot skills or reject | Moderate violation |\n| Hook deployment | Validated against engineering-standards + operating-protocol | Moderate violation |\n| MCP server activation | Must pass governance review | Catastrophic if unsafe |\n| Workflow step | Auditable against 8 engineering domains | Minor violation |\n| Cross-core conflict | operating-protocol > governance > others | Deadlock → human |\n\n## Workflow\n\n1. **Propose a change** — Write an ADR in `docs\u002Fadr\u002F` with rationale, impact assessment, and migration plan for the affected components.\n2. **Human review** — Submit ADR for explicit human approval. Ensure the review trail is recorded (PR comment, Slack thread, or approval log).\n3. **Version bump** — Increment version per semver: MAJOR for breaking changes, MINOR for additions\u002Ffixes. Update the YAML frontmatter `metadata.version`.\n4. **Register** — Update `docs\u002Fskills-core-definition.md` and `manifest.yaml` with the new or modified skill entry. Verify cross-references are intact.\n5. **Update CHANGELOG** — Add entry under `## [Unreleased]` with `### Changed (Core Governance)` or appropriate section.\n6. **Audit compliance** — Verify that all subagents, hooks, MCP servers, and workflows reflect the new governance rules. Run `make validate` to check.\n\n## Anti-patterns\n\nFAIL: Modifying a Skill Core without ADR or human approval.\n```\nBAD: Direct edit to governance\u002FSKILL.md with no ADR, no version bump, no CHANGELOG entry.\n→ BLOCKED with [GOVERNANCE VIOLATION] critical escalation.\n```\nPASS: Formal proposal: ADR → review → version → register → changelog.\n\nFAIL: Deploying a hook that bypasses safety protocol checks.\n```yaml\n# BAD: PreToolUse hook without safety validation\nhooks:\n  preToolUse: scripts\u002Fhandle-all.sh  # no validation against operating-protocol\n```\n```yaml\n# GOOD: Hook passes governance pre-flight\n## Core Skills Compliance\n- operating-protocol: [PASS]\n- engineering-standards: [PASS]\n```\n\nFAIL: Subagent running without loading Skills Core (context-skipping).\n```\nBAD: Subagent starts working without loading operating-protocol, governance, or engineering-standards.\n→ Terminate with [SCOPE VIOLATION].\n```\n```\nGOOD: Subagent loads all 7 boot skills before acting, or rejects task with scope violation notice.\n```\n\nFAIL: Creating\u002Freferencing content in `content\u002Fskills\u002F` without registering in `manifest.yaml`\n```\nBAD: skill lives at content\u002Fskills\u002Fmy-skill\u002FSKILL.md but missing from manifest.yaml\n→ Sync skips it; agents never find it; drift goes undetected\n```\n```yaml\n# GOOD: every content file registered in manifest.yaml\nskills:\n  directories:\n    - my-skill\n```\n\nFAIL: Updating a Skill Core without a CHANGELOG entry\n```\nBAD: Version bumped from 1.0 to 2.0 with no CHANGELOG.md entry.\n→ No audit trail; downstream agents can't detect breaking changes\n```\n```markdown\n# GOOD: every change recorded under ## [Unreleased]\n## [Unreleased]\n### Changed (Core Governance)\n- governance\u002FSKILL.md — added manifest registration requirement (version 1.1)\n```\n\nFAIL: Listing MCP ingestion CRITERIA in governance (owned by engineering-standards\u002Fsupply-chain.md + mcp-review-criteria.md).\n```\nBAD: governance\u002Fmcp-lifecycle.md duplicates SC-09 to SC-19 threat rows or 7 controls.\n→ Duplication drifts; two sources of truth diverge.\n```\n```\nGOOD: governance owns the REVIEW PROCESS; references engineering-standards for CRITERIA.\nmcp-lifecycle.md: \"WHAT controls to check -> engineering-standards\u002Freferences\u002Fmcp-review-criteria.md\"\n```\n\nFAIL: Editing an Accepted ADR in place (no archive, no supersession).\n```\nBAD: Direct edit to docs\u002Fadr\u002F0001-*.md after Accepted status.\n→ History not append-only; audit trail broken.\n```\n```\nGOOD: archive old ADR to docs\u002Fadr\u002Farchived\u002F + write new ADR with \"Supersedes ADR-0001\".\n```\n\n## References\n\n### Internal reference files\n\n- [references\u002Foverview.md](references\u002Foverview.md) - Reference index + glossary\n- [references\u002Fmcp-lifecycle.md](references\u002Fmcp-lifecycle.md) - MCP server governance PROCESS (5 stages + trust events + audit log + deprecation). Criteria -> engineering-standards\u002Fmcp-review-criteria.md\n- [references\u002Fadr-lifecycle.md](references\u002Fadr-lifecycle.md) - ADR proposal to archive lifecycle + OpenSpec \u002Fopsx binding + spec-kit constitution\n- [references\u002Fcompliance-audit.md](references\u002Fcompliance-audit.md) - Deterministic 8-domain audit + drift detection + exit-code gate (audits by reference)\n- [references\u002Fviolation-escalation.md](references\u002Fviolation-escalation.md) - 4-severity catalog + 6-tag catalog + 5-layer observer guard\n\n### External\n\n| Resource | URL | Last verified |\n|---|---|---|\n| Anthropic — Building Effective Agents | https:\u002F\u002Fdocs.anthropic.com\u002Fen\u002Fdocs\u002Fbuild-with-claude\u002Fagentic | 2026-05-25 |\n| OWASP — AI Security & Governance Guide | https:\u002F\u002Fgenai.owasp.org\u002F | 2026-05-25 |\n| NIST AI RMF | https:\u002F\u002Fwww.nist.gov\u002Fartificial-intelligence\u002Fexecutive-order-safe-secure-and-trustworthy-artificial-intelligence | 2026-05-25 |\n| Anthropic Claude Code security docs | https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsecurity | 2026-07-02 |\n| github\u002Fspec-kit (constitution + install policy) | https:\u002F\u002Fgithub.com\u002Fgithub\u002Fspec-kit | 2026-07-02 |\n| Fission-AI\u002FOpenSpec (artifact-guided ADR) | https:\u002F\u002Fgithub.com\u002FFission-AI\u002FOpenSpec | 2026-07-02 |\n| affaan-m\u002FECC (ecc status --exit-code + observer guard) | https:\u002F\u002Fgithub.com\u002Faffaan-m\u002FECC | 2026-07-02 |\n\n- [references\u002Foverview.md](references\u002Foverview.md)\n\n## Verification Checklist\n\n- [ ] Skills Core modification followed ADR process with human approval before merge\n- [ ] All subagents load all 7 boot skills before executing or reject with [SCOPE VIOLATION]\n- [ ] MCP server configurations passed governance review before activation\n- [ ] Workflow steps are auditable against all 8 engineering-standards domains\n- [ ] CHANGELOG.md updated with governance-related changes under proper header\n- [ ] Compliance reporting block included with PASS\u002FWARN\u002FFAIL per Core skill\n- [ ] MCP server passed mcp-lifecycle.md 5-stage PROCESS review (criteria checklist from engineering-standards\u002Fmcp-review-criteria.md)\n- [ ] ADR archived to docs\u002Fadr\u002Farchived\u002F with deprecation date + supersession pointer\n- [ ] Compliance audit exit-code gate passed (8 domains, no FAIL on blocking)\n- [ ] Violation severity classified via violation-escalation.md 4-tier catalog\n\n## Troubleshooting\n\n| Symptom | Likely cause | Fix |\n|---|---|---|\n| Subagent bypasses Core rules | Subagent context too large; skipped loading governance skill | Increase context window or split task; enforce governance pre-flight check |\n| ADR merge bypass detected | Direct edit to Core skill file without proposal | Rollback change; create ADR; obtain human approval before reapplying |\n| MCP tool exposes unsafe operation | Tool definition not reviewed against T0-T4 risk framework | Remove tool from config; add validation middleware before re-enabling |\n| Known issue: subagent context too large to load all 7 boot skills | Combined boot-skill content exceeds subagent context window | CONTEXT-OVERFLOW EXCEPTION, SUBAGENTS ONLY: split task into sub-tasks; load only the 2-3 most relevant Cores per sub-task; document which were skipped. NEVER applies to primary-agent session-start loading |\n| Version mismatch between manifest.yaml and actual skill schema (known bug) | Skill updated in content\u002Fskills\u002F but manifest.yaml version not bumped — sync deploys stale metadata | Run `make validate` after every skill change to catch version drift; enforce manifest version == frontmatter version in CI |\n| Circular dependency between Skills Core on conflict resolution (edge case) | governance references operating-protocol for escalation, which references governance for compliance — infinite loop on cross-core conflict | Use fixed precedence hierarchy (operating-protocol > governance > eng-standards > ctx-mgmt > tool-usage > token-efficiency); any cycle outside this hierarchy escalates to human with `[CORE CONFLICT]` |\n",{"name":5,"license":15,"trigger":24,"metadata":25,"description":7,"disable-model-invocation":20},"always",{"author":26,"status":27,"version":28,"category":29},"Community","stable","2.5","core","main","6692ee5cbe39d4533b824e1c55d7d4fc01c4dde7","content\u002Fskills\u002Fgovernance",0,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant","https:\u002F\u002Fgithub.com\u002Fronsilver",":v","2026-08-27 05:49:26",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add ronsilver\u002Fagent-covenant --skill governance",{"tool":44,"command":45},"bunx","bunx skills add ronsilver\u002Fagent-covenant --skill governance",{"tool":47,"command":48},"pnpm","pnpm dlx skills add ronsilver\u002Fagent-covenant --skill governance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fgovernance\u002FSKILL.md",true,[52,58,62,66,70,74],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"evals\u002Fevals.json","REFERENCE","参考文档",5243,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fgovernance\u002Fevals\u002Fevals.json",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fadr-lifecycle.md",2811,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fgovernance\u002Freferences\u002Fadr-lifecycle.md",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fcompliance-audit.md",4033,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fgovernance\u002Freferences\u002Fcompliance-audit.md",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fmcp-lifecycle.md",2812,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fgovernance\u002Freferences\u002Fmcp-lifecycle.md",{"path":71,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Foverview.md",1399,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fgovernance\u002Freferences\u002Foverview.md",{"path":75,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fviolation-escalation.md",3322,"https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fgovernance\u002Freferences\u002Fviolation-escalation.md",[79,86,93,100,107,114],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7A7HYVYNZ60GNGWAV51ZQ52","web-browsing-agent-expert","Web browsing for AI agents: driving a headless browser (Playwright, Puppeteer) from agent tooling, navigation and page-state grounding, DOM extraction and structured data capture, form interaction, session and cookie management, anti-bot mitigation awareness, and safe browsing rules (no PII exfiltration, respect robots and terms). Use when building a browsing tool or MCP server for an agent, teaching an agent to navigate and read web pages, extracting structured content from dynamic sites, or handling login walls and pagination in agent workflows. Trigger: web browsing agent, headless browser, Playwright MCP, Puppeteer, browser automation for agents, DOM extraction, page navigation, session management. Do NOT trigger for: end-to-end UI testing of an application (use playwright-expert); writing standalone scraping scripts for data pipelines (use python-expert); fetching a single public URL (use the fetch tool).","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fweb-browsing-agent-expert\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7A7HRC6951BAJ9NHBZA2M7Y","vector-databases","Design and operate vector databases for cloud-native AI features. Use when selecting between pgvector, Pinecone, or Weaviate for AI context layer or integration-hub; designing embedding schemas and index parameters; implementing ANN search with metadata filtering; managing embedding model versions; optimizing query latency; or debugging low retrieval quality. Pairs with rag-architecture for pipeline design and postgres-database-expert for pgvector specifics. Trigger: vector database, pgvector, Pinecone, Weaviate, embedding, ANN search, HNSW, cosine similarity. Do NOT trigger for: relational SQL optimization, standard PostgreSQL schema design, Redis caching.","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fvector-databases\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7A7HGHGWE7NZ5A08HQZJXDN","typescript-expert","Full-stack TypeScript stack for modern projects: frontend SSR\u002FCSR with Next.js 14 App Router and React, backend APIs with Node.js (Express\u002FFastify), state management with Zustand\u002FRedux Toolkit, unit and integration testing with Vitest\u002FJest + React Testing Library + MSW, and static analysis with ESLint\u002FPrettier\u002Ftsc. Use when building React components or hooks, implementing Next.js App Router or Server Components, writing Node.js REST API handlers, implementing middleware (auth, rate-limit, logging), managing client state (Zustand\u002FRTK), writing frontend\u002Fbackend tests, or running TypeScript linting\u002Ftype checks. Trigger: TypeScript, Next.js, React, Zustand, Node.js, Express, Fastify, MSW, Vitest. Do NOT trigger for: Python backend development, Go microservices, iOS\u002Fmobile development.","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftypescript-expert\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7A7H83JK9SENNYAPTTB6B4A","tool-usage","Guide correct tool selection, design, and orchestration for AI agents. Use when choosing between dedicated vs Bash tools, designing MCP tool interfaces, naming tool parameters, handling tool response limits, orchestrating parallel vs sequential calls, evaluating tool accuracy, applying ACI design principles, selecting workflow patterns, or reading\u002Ffiltering\u002Ftransforming\u002Fgenerating structured data (JSON, YAML, CSV, TOML, XML). Trigger: tool selection, MCP tool design, orchestration, ACI, parallel execution, composite tool, structured data, jq, yq, dasel, mlr, csvkit. Do NOT trigger for: writing application business logic, domain-specific development (route to domain skill), database migrations.","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftool-usage\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7A7GZ9A2VA9T7BJ07VV3PD5","token-efficiency","Enforce token-efficient output, compression, caching, and model routing. Use when calibrating response verbosity, applying compression strategies to logs or RAG chunks, routing tasks to the right model tier, setting thinking budgets, enforcing word limits, compressing context before reinitiation, applying KV-cache ordering, masking tool output observations, or applying clarification-first protocol before irreversible actions. Trigger: token efficiency, compression, model routing, thinking budget, KV-cache, clarification protocol. Do NOT trigger for: non-agent tooling, CI\u002FCD pipeline scripting, infrastructure provisioning.","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftoken-efficiency\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7A7GQFTY8GWVN4Z66Q4J52V","time-series-db","Time-series database patterns for cloud-native metrics and analytics: TimescaleDB, InfluxDB, and Amazon Timestream selection; continuous aggregates, retention policies, downsampling, and integration with Prometheus\u002FGrafana. Use when storing business metrics over time, building custom business dashboards, designing high-frequency event storage, or querying time-bucketed aggregations. Trigger: time-series, TimescaleDB, InfluxDB, Prometheus, Grafana, hypertable, continuous aggregate, retention policy. Do NOT trigger for: relational PostgreSQL schema design, NoSQL document stores, Kafka event streaming.","https:\u002F\u002Fgithub.com\u002Fronsilver\u002Fagent-covenant\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftime-series-db\u002FSKILL.md",[],[]]