Move `docs/defensive-patterns.md` into `docs/defensive-patterns/`, one page per artifact plus a README router, and state each rule as its requirement, the condition a reviewer judges it by, its boundary and approver, and a correct and a wrong example. - `general.md` (the moved page): the existing bug-class rules plus timing, value representation, shared-state ownership, decentralization, performance evidence, and migrations. - `package-surface.md`, `remote-and-api.md`, `client-components.md`, `conversation-and-session.md`: the review requirements for those artifacts, linking type definitions and semantics to `docs/subsystems/` instead of restating them. - `README.md`: the habits behind the rules and the route from artifact to page. - `dsh-code-review` reads the owning pages before judging a diff; the `dsh-architecture-discipline` routing skill is retired in favour of the directory, and every inbound reference is repaired. - Chinese counterparts, pairing records, and the documentation tier table are updated together.
32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
# Bilingual-pair consistency record for api-gateway.md (docs/i18n/README.md): per heading
|
|
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
# After editing either side, bring the other along and re-record with:
|
|
# pnpm run verify-translation-pairing --write docs/api-gateway.md
|
|
/api-gateway:
|
|
en: 735eb4f22d5f6f71
|
|
zh: 697eef269b133039
|
|
/api-gateway/programming-model:
|
|
en: ea12b64211f0d377
|
|
zh: 032e5c0d799c7529
|
|
/api-gateway/component-responsibilities:
|
|
en: e29f1d7026291075
|
|
zh: 15e361e797d44fce
|
|
/api-gateway/strict-generation-pipeline:
|
|
en: cb8da81a92acfa52
|
|
zh: be5f3c268f8571df
|
|
/api-gateway/runtime-invocation:
|
|
en: 2a2fed340aaa926c
|
|
zh: 46bb1f500c870a76
|
|
/api-gateway/src-development-fallback:
|
|
en: 9570ffe7a348e5ac
|
|
zh: 2b70b61b1ff1fbb0
|
|
/api-gateway/development-mode:
|
|
en: ba090d76471dd663
|
|
zh: edf362f71b73eaf0
|
|
/api-gateway/boundaries:
|
|
en: e6befc5f8c90f97b
|
|
zh: 4ace4a493fd2b41f
|
|
/api-gateway/boundaries/business-ownership:
|
|
en: 02c78afe5e2efcc5
|
|
zh: 06cbd0d81293bc29
|