Add scripts/gen-cordis-catalog.ts: a fully-generated docs/cordis-catalog/ events-and-services.md cataloging every cordis event (exact signature + @mode) and ctx.<key> service (exact interface), modeled on gen-module-graph's --write/--check freshness gate. The harness tier renders in full from the interface Events / interface Context declarations and their JSDoc; the inherited cordis-core/loader/hmr/timer surface renders tersely from a curated table. The generator hard-errors on a missing @mode tag and on a tag that contradicts a conclusive signature shape (a trailing next param is structurally a waterfall). Signature blocks use a ts cordis-catalog fence that doc-typecheck skips. Type tokens cross-link to the core-data-structures catalog. This supersedes the hand-maintained event-taxonomy table: verify-event-taxonomy is deleted and verify-cordis-catalog joins doc-sync. architecture.md keeps the Event taxonomy heading (TOC anchor) but points at the catalog; the Service-map role table stays. RFC, AGENTS.md @mode authoring rule, and dependent doc/skill references updated. Negative gate tests cover the missing-tag and tag/shape-contradiction paths. |
||
|---|---|---|
| .. | ||
| check-vendor-manifest.sh | ||
| check-workspace-constraints.ts | ||
| doc-typecheck.ts | ||
| gen-cordis-catalog.ts | ||
| gen-module-graph.ts | ||
| install-lefthook.mjs | ||
| publint-all.ts | ||
| type-equiv.manifest.json | ||
| verify-md-links.ts | ||
| verify-md-wrap.ts | ||
| verify-type-equiv.ts | ||