deepseek-harness/scripts
Tianyi Cui 4e5c08ef82 docs: generated cordis events + services catalog
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.
2026-06-20 19:47:09 +08:00
..
check-vendor-manifest.sh Add lefthook git hooks with a vendor-manifest guard 2026-06-11 15:07:55 +08:00
check-workspace-constraints.ts feat: migrate to pnpm 2026-06-16 14:55:37 +08:00
doc-typecheck.ts docs: generated cordis events + services catalog 2026-06-20 19:47:09 +08:00
gen-cordis-catalog.ts docs: generated cordis events + services catalog 2026-06-20 19:47:09 +08:00
gen-module-graph.ts docs: document module-graph gate; unwrap generated prose 2026-06-16 21:21:21 +08:00
install-lefthook.mjs fix(dev): make hooks and bash seams safer 2026-06-17 21:26:44 +08:00
publint-all.ts refactor(examples): extract reusable logic into tested packages 2026-06-19 12:42:28 +08:00
type-equiv.manifest.json build(doc-sync): add verify-type-equiv gate for verbatim type pastes 2026-06-20 16:24:37 +08:00
verify-md-links.ts docs: move ACP checklist into packages/acp 2026-06-20 18:08:17 +08:00
verify-md-wrap.ts docs: move ACP checklist into packages/acp 2026-06-20 18:08:17 +08:00
verify-type-equiv.ts Merge remote-tracking branch 'origin/master' into worktree-acp-feature-checklist 2026-06-20 18:12:55 +08:00