Files
deepseek-harness/docs/defensive-patterns/package-surface.i18n.yaml
T
imccyu 73dbbb751c docs: give architecture review rules a per-artifact home
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.
2026-10-09 23:03:56 +08:00

26 lines
1.1 KiB
YAML

# Bilingual-pair consistency record for package-surface.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/defensive-patterns/package-surface.md
/package-surface-rules:
en: 28d4c2d7da24269f
zh: d723b807815401d7
/package-surface-rules/a-plugin-package-exports-the-loader-four:
en: 34e91aa4d00d75b0
zh: e1fc49160591fda2
/package-surface-rules/two-package-shapes-and-both-are-dynamic-plugin-packages:
en: eb8289ca36b97f3b
zh: 3370e3bc05783dcd
/package-surface-rules/package-json-exports-uses-the-standard-key-set:
en: eb2734c4b6df6772
zh: adb8d592e12d3030
/package-surface-rules/dependency-declarations-and-version-consistency-are-enforced-by-the-dependency-scan:
en: e68bfcde70f845b4
zh: 73e5c4fb067c4fa1
/package-surface-rules/internal-dependency-syntax-follows-the-package-family:
en: d0cbaf0a92d4b601
zh: 9e6c7239fd87e730
/package-surface-rules/a-new-resolve-hook-is-refused-outright:
en: b420ae3e228432d5
zh: 0c49c4a9c3a5262c