Skip to content

chore(docs): CI check that command/sub-check docs match the registry (anti-drift) #278

Description

@Wolfvin

Mengapa

Docs agent-facing drift diam-diam & baru ketahuan setelah lama: references/agent-integration.md 100% pre-#195 (1880 baris, PR #276), sub-check tables README/SKILL/SKILL-QUICK hilang css/a11y/diagnostics/overview sejak #236 (PR #275). Tidak ada gerbang yang memaksa docs = kode. Falsifiable: sebelum #275, grep "a11y" SKILL.md kosong padahal commands/audit.py::_CHECKS punya a11y.

Konteks

sync_command_count.py sudah sync COUNT command, tapi TIDAK memverifikasi daftar sub-check per umbrella. Source of truth = _CHECKS dict di tiap commands/.py + COMMAND_REGISTRY.

Tujuan

Check (test atau script CI) yang gagal kalau daftar umbrella/sub-check di docs agent-facing (README/SKILL/SKILL-QUICK) tidak cocok dengan _CHECKS/COMMAND_REGISTRY aktual. Docs tak bisa lagi drift diam-diam.

Constraint

  • Sumber kebenaran = kode (_CHECKS, COMMAND_REGISTRY), bukan daftar hardcode kedua (itu cuma mindahin drift).
  • Fokus daftar command + sub-check names; jangan over-reach ke prosa.
  • Jalan lokal & CI tanpa dependency baru.

Definition of Done

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions