Skip to content

fix(catalog): exclude auto-generated docs to stop perpetual freshness drift#309

Merged
kaizencycle merged 1 commit into
mainfrom
cursor/catalog-ignore-generated-docs-6011
Jun 11, 2026
Merged

fix(catalog): exclude auto-generated docs to stop perpetual freshness drift#309
kaizencycle merged 1 commit into
mainfrom
cursor/catalog-ignore-generated-docs-6011

Conversation

@kaizencycle

Copy link
Copy Markdown
Owner

Summary

Fixes the recurring Check Catalog Freshness failure at its root cause,
instead of re-syncing the catalog by hand every few hours.

Root cause

catalog/mobius_catalog.json stores a content_hash per doc under docs/. Two
docs are machine-generated and committed with [skip ci] (which deliberately
skips the catalog regen):

File Writer Cadence
docs/divergence/dashboard.md mobius-divergence-dashboard.yml every 6h
docs/divergence/WEEKLY_DIGEST.md mobius-pulse-unified.yml weekly

Each regeneration changes their content, but [skip ci] means the catalog's
stored hash is never updated — so the catalog drifts and every subsequent PR
fails freshness through no fault of its own
(this is the loop that hit #300
#308, including this very session's PRs). Hand re-syncing the catalog only holds
until the next 6-hourly dashboard commit.

Fix

scripts/exportCatalog.ts now skips those two generated files
(IGNORE_DOC_PATHS). They're machine output, not catalogued documentation, so
their churn can no longer drift the catalog. Regenerated catalog: docCount
961 → 959 — only the two generated files removed; OVERVIEW.md and every
real doc are retained.

Why this is safe / verified

  • Deterministic: CI runs the same npm run export:catalog, now producing the
    same 959-doc set → freshness passes and stays passing across dashboard
    updates.
  • Verified locally with the same normalized comparison the catalog-check
    workflow uses: the only delta is the two removed generated files.
  • The echo-bot (which regenerates + commits the catalog itself) is unaffected
    and remains in sync.

"We heal as we walk." — Mobius Systems

Open in Web Open in Cursor 

… drift

Root cause of the recurring 'Check Catalog Freshness' failures: the
divergence-dashboard workflow rewrites docs/divergence/dashboard.md every 6h
(and mobius-pulse-unified rewrites docs/divergence/WEEKLY_DIGEST.md weekly),
both committed with [skip ci] — so the catalog is never regenerated and its
stored content_hash for those files goes stale, failing every subsequent PR.

These are machine output, not documentation. exportCatalog.ts now skips them,
so dashboard/digest updates can no longer drift the catalog. Regenerated:
docCount 961 -> 959 (only the two generated files removed). OVERVIEW.md and
all real docs are retained.

EPICON-INTENT: eliminate a recurring spurious CI blocker at its source rather
than re-syncing the catalog by hand every six hours.

Co-authored-by: Michael Judan <kaizencycle@users.noreply.github.com>
@kaizencycle kaizencycle merged commit ffa0b73 into main Jun 11, 2026
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.

2 participants