docs: sync high-authority docs with the doc-sync gate and dsh-invariants (P1-16)
The `yarn doc-sync` gate (doc-typecheck + verify-event-taxonomy) and the @deepseek-ai/dsh-invariants package both exist now, but the instruction docs never caught up and the gate's markdown scope (README.md, docs/**/*.md, packages/*/README.md) does not cover AGENTS.md / packages/AGENTS.md, so they drifted silently. - AGENTS.md: add invariants/ to the Repository Layout; add doc-typecheck / verify-event-taxonomy / doc-sync to Commands; rewrite the false "CI has no doc-sync gate" sentence to describe the gate's actual coverage and what remains outside it (AGENTS.md, packages/README.md, prose drift). - packages/AGENTS.md: fix the same stale "no doc-sync gate" line. - packages/README.md: add dsh-invariants to the dependency graph and the package table. Verification: `yarn doc-sync` green; `grep -rn "no doc-sync gate"` returns nothing; the three command names + dsh-invariants are present.
This commit is contained in:
+1
-1
@@ -11,6 +11,6 @@ Naming notes:
|
||||
- Files `src/index.ts` export the service default + all public types
|
||||
- `src/types.ts` contain only types — no runtime code
|
||||
- Tests live at package level under `tests/`, not `src/__tests__/`
|
||||
- A package's README and module/JSDoc comments are part of the change: when you alter behavior (config keys, defaults, error codes, wire fields), update them in the same commit. CI has no doc-sync gate, so stale docs are on the author.
|
||||
- A package's README and module/JSDoc comments are part of the change: when you alter behavior (config keys, defaults, error codes, wire fields), update them in the same commit. CI runs `yarn doc-sync`, which typechecks fenced `ts` blocks in `packages/*/README.md` and verifies the event-taxonomy table — but it does NOT cover this file or prose drift (config keys, defaults, error codes), so those stay on the author.
|
||||
|
||||
Read the per-package README.md for package-specific details: service API, events, extension points, TODOs.
|
||||
|
||||
Reference in New Issue
Block a user