Files
deepseek-harness/.agents/notes/implemented/architecture/2026-07-08-tool-output-spill-files.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

41 lines
1.6 KiB
YAML

# Bilingual-pair consistency record for 2026-07-08-tool-output-spill-files.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-07-08-tool-output-spill-files.md
/agent-note-tool-output-spill-policy:
en: 06b99197145a4080
zh: 698a61dcd2385985
/agent-note-tool-output-spill-policy/problem:
en: 858cbb874e213697
zh: 1693b618886ac42d
/agent-note-tool-output-spill-policy/decision:
en: 89536b0d2d7b4c92
zh: 341240f445885549
/agent-note-tool-output-spill-policy/decision/spill-seam:
en: 1e92bc9a0548def9
zh: c99cf6878981ba71
/agent-note-tool-output-spill-policy/decision/spill-policy:
en: 3c49c0246188c513
zh: 4b6749c30726903d
/agent-note-tool-output-spill-policy/showcase-web-fetch:
en: d5c334b50f458925
zh: 7631307b5d9fbc55
/agent-note-tool-output-spill-policy/relationship-to-retention-and-early-spill:
en: 7314ba8b0a03c0d9
zh: 8429f79ff3a7bd1f
/agent-note-tool-output-spill-policy/non-goals:
en: f82b5399ecddd8a1
zh: 9675b58631bb5c90
/agent-note-tool-output-spill-policy/deferred:
en: 094f8c71672ea726
zh: 252dbe825d6e34ca
/agent-note-tool-output-spill-policy/testing:
en: c98759345e1aebfa
zh: d1faeadb99bd748a
/agent-note-tool-output-spill-policy/consequences:
en: e023260e52a246d6
zh: 2e49237e564a83da
/agent-note-tool-output-spill-policy/alternatives-considered:
en: d53fb144141de557
zh: 1b851eb64c421803