Skip to content

test(docs): docs↔registry sync guard — sub-checks can't drift silently (closes #278) - #281

Merged
Wolfvin merged 1 commit into
mainfrom
test/docs-registry-sync-guard
Jul 14, 2026
Merged

test(docs): docs↔registry sync guard — sub-checks can't drift silently (closes #278)#281
Wolfvin merged 1 commit into
mainfrom
test/docs-registry-sync-guard

Conversation

@Wolfvin

@Wolfvin Wolfvin commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Mengapa

Docs agent-facing drift diam-diam & bertahan lama: sub-check tables hilang css/a11y/diagnostics/overview sejak #236 sampai #275; agent-integration.md satu major version tertinggal (#276). Tak ada gerbang yang memaksa docs==kode.

Isi

tests/test_docs_registry_sync.py — derive kebenaran dari _CHECKS live tiap umbrella + COMMAND_REGISTRY, gagal kalau ada sub-check di kode tapi tak tercantum di README/SKILL/SKILL-QUICK. Cek NAMA sub-check (bukan prosa) — cukup untuk memastikan agent bisa menemukannya.

Verifikasi

5 passed (docs sinkron setelah #275). Tambah sub-check baru ke _CHECKS tanpa update docs → test gagal seketika. Source of truth = kode, bukan daftar hardcode kedua.

Closes #278

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Wolfvin
Wolfvin merged commit d25c9fd into main Jul 14, 2026
0 of 6 checks passed
@Wolfvin
Wolfvin deleted the test/docs-registry-sync-guard branch July 14, 2026 06:51
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant