CAPABILITY/SKILLS/governance/canonical-doc-enforcer/SKILL.md
Enforce canonical filename and metadata standards for ALL markdown documentation across the repository.
npx skillsauth add reneromero08/agent-governance-system canonical-doc-enforcerInstall 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.
Purpose: Enforce canonical filename and metadata standards for ALL markdown documentation across the repository.
This skill validates and fixes:
.md files in the repository (except exempted paths)MM-DD-YYYY-HH-MM_DESCRIPTIVE_TITLE.mdThe following paths are EXEMPT from canonical enforcement:
LAW/CANON/*.md - Canon files (different governance)CAPABILITY/SKILLS/*/SKILL.md - Skill manifestsCAPABILITY/TESTBENCH/**/*.md - Test fixturesLAW/CONTRACTS/fixtures/**/*.md - Test dataREADME.md, AGENTS.md, CHANGELOG.md - Root documentation.github/**/*.md - GitHub metadataBUILD/**/*.md - User workspaceScans repository for non-canonical documents and reports violations.
Usage:
python run.py --mode validate
Output:
Automatically renames and updates files to canonical format.
Usage:
python run.py --mode fix [--dry-run]
Actions:
MM-DD-YYYY-HH-MM_TITLE.mdGenerates compliance report for the repository.
Usage:
python run.py --mode report --output INBOX/reports/
All canonical documents MUST have:
---
uuid: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
title: "Human Readable Title"
section: report|research|roadmap|guide|archive
bucket: "category/subcategory"
author: "System|Antigravity|Human Name"
priority: High|Medium|Low
created: "YYYY-MM-DD HH:MM"
modified: "YYYY-MM-DD HH:MM"
status: "Draft|Active|Complete|Archived"
summary: "One-line summary"
tags: [tag1, tag2, tag3]
hashtags: ["#category", "#topic"]
---
<!-- CONTENT_HASH: <sha256> -->
^\d{2}-\d{2}-\d{4}-\d{2}-\d{2}_.+\.md$------created field0 - All documents canonical1 - Violations found (validate mode)2 - Fix operation failed3 - Invalid arguments# In .githooks/pre-commit
python CAPABILITY/SKILLS/governance/canonical-doc-enforcer/run.py --mode validate --staged-only
# In .github/workflows/governance.yml
- name: Validate Canonical Docs
run: python CAPABILITY/SKILLS/governance/canonical-doc-enforcer/run.py --mode validate
python run.py --mode validate
# Output:
# [VIOLATION] MEMORY/ARCHIVE/roadmaps/AGS_ROADMAP_3.3.18.md
# - Invalid filename (missing timestamp prefix)
# - Missing YAML frontmatter
# - Missing content hash
python run.py --mode fix --file "MEMORY/ARCHIVE/roadmaps/AGS_ROADMAP_3.3.18.md"
# Output:
# [RENAMED] AGS_ROADMAP_3.3.18.md -> 01-05-2026-12-45_AGS_ROADMAP_3_3_18.md
# [UPDATED] Added YAML frontmatter
# [UPDATED] Added content hash
python run.py --mode fix --dry-run
# Output:
# [DRY-RUN] Would rename: AGS_ROADMAP_3.3.18.md -> 01-05-2026-12-45_AGS_ROADMAP_3_3_18.md
# [DRY-RUN] Would add YAML frontmatter
# [DRY-RUN] Would add content hash
All operations emit receipts to LAW/CONTRACTS/_runs/canonical-doc-enforcer/:
validate_receipt.json - Validation resultsfix_receipt.json - Fix operation resultsreport_receipt.json - Compliance report dataLAW/CANON/DOCUMENT_POLICY.md - Canonical document policyCAPABILITY/TOOLS/utilities/rename_canon.py - Legacy renaming toolCAPABILITY/SKILLS/inbox/inbox-report-writer/ - INBOX-specific toolingdevelopment
<!-- CONTENT_HASH: b22de257a144f83b390075074e3d6a4552ecbc1ec53fc5d4960c6e76dc9807dd --> # Skill: swarm-orchestrator **Version:** 0.1.0 **Status:** Active **required_canon_version:** ">=3.0.0 <4.0.0" **canon_version:** "3.0.0" # Swarm Orchestrator Launches and coordinates Governor + Ant Workers. ## Usage ```bash # Launch Governor python scripts/poll_and_execute.py --role Governor # Launch Ant Workers python scripts/poll_and_execute.py --role Ant-1 python scripts/poll_and_execute.py --role A
tools
<!-- CONTENT_HASH: 9bd07a4ed03d6eea49673a43682a62ca7df8b0cabb7ff424ac91cd35e9e7bea7 --> # Skill: swarm-directive **Version:** 0.1.0 **Status:** Draft **required_canon_version:** ">=2.8.0 <3.0.0" # Swarm Directive Skill Send tasks to your CATALYTIC-DPT swarm from Claude Code, Kilo CLI, or Cline CLI. ## Quick Start ### Option 1: Direct CLI Command (Simplest) ```bash cd "d:\CCC 2.0\AI\agent-governance-system" # Create input cat > /tmp/swarm_task.json << 'EOF' { "directive": "Analyze the
tools
<!-- CONTENT_HASH: 0f69dfe537f3e6cd8b1fdb353c9ab7c031ef8b08379fde8a98c137bb604d799d --> # Qwen CLI - Local AI Assistant **Version:** 1.0.0 **Status:** Active **Required_Canon_Version:** >=2.0.0 **Purpose**: Provides a local CLI interface to Qwen 7B via Ollama for fast, offline AI assistance. **Model**: Qwen2.5 7B (via Ollama) **Use Cases**: - Quick code questions without cloud API costs - Offline development assistance - Fast prototyping and testing - Private/sensitive code analysis ## F
development
<!-- CONTENT_HASH: 7b643dca3adc4d38de7030cb1e962a5130ea4b36ae04ad4bf97ed8889de2a3dc --> # Skill: governor **Version:** 0.1.0 **Status:** Active **required_canon_version:** ">=3.0.0 <4.0.0" **canon_version:** "3.0.0" # Governor The Conductor - analyzes, decomposes, and dispatches tasks to Ant Workers. ## Usage ```bash python scripts/run.py input.json output.json ``` ## Input Schema ```json { "gemini_prompt": "Analyze D:/path/to/files and summarize", "task_id": "analyze-001", "command