Files
deepseek-harness/docs/subsystems/filesystem.i18n.yaml
T
sjw1231 4e4b4eb9b6 feat(fs): classify host errno failures as FsError
dsh-fs gains fsErrorFromErrno, which classifies a host errno failure:
ENOENT/ENOTDIR -> FS_NOT_FOUND, EACCES/EPERM -> FS_PERMISSION_DENIED,
EISDIR -> FS_NOT_REGULAR_FILE, other errno -> FS_IO_ERROR, keeping the
original error as cause. fs-local uses it for resolution, metadata,
reads, and listing, and fs-sandbox for its containment check, so tool
results persist error.info instead of a raw Node error.

FsError assigns its literal name, and FS_ERROR_CODES gains
FS_ALREADY_EXISTS for create-only commands.
2026-11-06 12:02:49 +08:00

41 lines
1.4 KiB
YAML

# Bilingual-pair consistency record for filesystem.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/subsystems/filesystem.md
/filesystem:
en: 7f7941ec6f70a8b8
zh: 450937984b6a8748
/filesystem/target-identity-and-metadata-provider-contract:
en: 1e55f1c74f0ade3f
zh: faecf389a2fb0a93
/filesystem/patch-syntax-records:
en: 3ab3a02918d41178
zh: 78ff80be8599ba43
/filesystem/write-and-edit-guards-provider-contract:
en: a7c449176367a0d6
zh: ecb49a885304db62
/filesystem/the-fs-policy-events-provider-contract-vocabulary:
en: b25951ca185a890e
zh: 42a1344a2cc860a9
/filesystem/execution-context-policy-plugin:
en: a23c12fc81bb4786
zh: 9dc12d18f9c97e6a
/filesystem/read-outcome-consumer-read-rendering:
en: 9315d84e53db33e9
zh: 86426ffbfa487504
/filesystem/observed-file-state-policy-plugin:
en: cfa56ed5d1eb2ff9
zh: 04be764f3dc8a48c
/filesystem/patch-execution-consumer:
en: 7b462db42ab89b10
zh: 968219ded2b55d69
/filesystem/error-taxonomy-provider-contract:
en: dbab88fbb60fcb8f
zh: f90be1352b1e05f8
/filesystem/no-timeouts-on-file-io:
en: ae18af906f3f7e50
zh: 24a1aa6f903fe08d
/filesystem/the-service-and-the-plugin:
en: a5e2474038c20e73
zh: 0b8c7a9f504226b8