Files
deepseek-harness/docs/defensive-patterns/package-surface.i18n.yaml
T
imccyu b77cc1c0f2 feat(gates): reject module-scope await in package sources
Package modules that other code imports must not suspend evaluation at module scope. A syntax-aware gate scans packages/*/*/src and excludes only executables (a shebang or a package bin target). The SenseVoice worker, the SSH helper entry, and the Inspector worker entry now run an explicit main().
2026-10-15 03:56:25 +08:00

29 lines
1.3 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-what-the-loader-loads:
en: 44a06f50e751f06b
zh: 339dea7be403fd0b
/package-surface-rules/two-package-shapes-and-both-are-dynamic-plugin-packages:
en: bf79c6acf35c90a5
zh: 9f2ce6c7f6493b17
/package-surface-rules/package-json-exports-uses-the-standard-key-set:
en: 3604bf435be1c430
zh: 169621c8a0c2dc4c
/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: d6bb855545b7b05b
zh: 6c489ed5a2ed0ae5
/package-surface-rules/a-new-resolve-hook-is-refused-outright:
en: b420ae3e228432d5
zh: 0c49c4a9c3a5262c
/package-surface-rules/package-modules-do-not-await-at-module-scope:
en: 29a58b3f804be042
zh: 8a83a21366dac897