Files
deepseek-harness/.agents/notes/implemented/architecture/2026-06-20-generic-long-running-tool-runtime.i18n.yaml
T
Turtle e7def469e1 feat(i18n): key translation pairing records by heading section (#5036)
* feat(i18n): key translation pairing records by heading section

Replace the whole-file blob hashes in *.i18n.yaml with one entry per
heading section that still holds language-specific content, keyed by the
English heading-slug path. Blocks identical across the pair (generated
table rows, code blocks, shared regions) stay out of the hash, so edits to
different sections and identical regenerations merge with Git's default
text merge, including on GitHub.

Remove the dsh-translation-pairing merge driver, its resolver command and
installer wiring; gen-translation-brief recovers last-confirmed text from
commit history. Migrate all active records, archive the superseded Agent
Note, and record the replayed conflict reduction in the new one.

* test(i18n): refresh translation prompt snapshot for the terminology note

* feat(i18n): exclude only code blocks and generated regions from pairing records

Replace byte-equality masking with an explicit rule: a record hash skips
fenced code blocks and BEGIN/END GENERATED regions, the two kinds of
content the pairing gate already requires to be identical on both sides.

Move generated data into regions written into both pages:
gen-config-catalog renders both languages and the record with per-package
regions labelled by code identifiers; gen-module-graph keeps its table in a
region; gen-doc-graphs splices the event matrix regions into the Chinese
page. Add a generic region splice beside the region grammar.
2026-09-23 22:32:06 +08:00

59 lines
3.2 KiB
YAML

# Bilingual-pair consistency record for 2026-06-20-generic-long-running-tool-runtime.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 .agents/notes/implemented/architecture/2026-06-20-generic-long-running-tool-runtime.md
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools:
en: 56e269b2a2839796
zh: 8fc971036985ac0d
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/problem:
en: 70e26df62568c337
zh: a9e6f5f8a5482d0a
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/decision:
en: 277869395ad6f792
zh: 93f13a97d52f10a5
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/runtime-contract:
en: eeb7ed8eec13668a
zh: 3f236f63c72fbba7
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/authorization-and-owner-lifecycle:
en: 3819a73ca70ecdfd
zh: c1a4f461a4e45978
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/service-api:
en: a1a884816aac3d7f
zh: b21129e5cd93b9a1
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/model-facing-control-api:
en: dd3f4d85d0ec136f
zh: ca4209cb856271dd
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/producer-opt-in:
en: a39343bf6f655051
zh: d9894d39e7f4d6e1
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/producer-integrations:
en: ae4a6d6e0d83d3bd
zh: 9072890ba9374426
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/alternatives-considered:
en: 6119e2aff3b6be5a
zh: e01a6c669a9ec6aa
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/alternatives-considered/per-capability-control-tools:
en: 9781c302dc72fd8e
zh: a78e1dd8da4d8ca8
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/alternatives-considered/an-immediate-abstract-task-runtime-backend:
en: 404a5c7c45a71a55
zh: 213621e4a9618a9c
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/alternatives-considered/consumer-owned-authorization-or-cleanup-events:
en: d99de803718d9ca6
zh: e03a97314851ed0f
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/alternatives-considered/blocking-output-or-a-separate-wait-tool:
en: e3beca50b6a57ce0
zh: a77663b817d33247
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/alternatives-considered/runtime-owned-output-sinks:
en: 42eeeba9d84ae681
zh: 1d540f9740675bee
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/alternatives-considered/random-ids-promotion-or-lifecycle-session-events:
en: e706b1b57241d3d2
zh: 1779b7fa05f48283
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/testing:
en: e891db1723828da8
zh: 657a62ed595bd081
/agent-note-the-background-job-runtime-ctx-jobs-and-generic-task-control-tools/consequences:
en: b95ecd6052465ad3
zh: 1527c38d1b4631d6