Files
deepseek-harness/.agents/notes/implemented/architecture/2026-07-14-provider-routed-llm-adapters.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

38 lines
1.9 KiB
YAML

# Bilingual-pair consistency record for 2026-07-14-provider-routed-llm-adapters.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-14-provider-routed-llm-adapters.md
/agent-note-provider-routed-llm-adapters-and-a-generic-pi-ai-backend:
en: e57698907c40f783
zh: 47004d8f68af1d7d
/agent-note-provider-routed-llm-adapters-and-a-generic-pi-ai-backend/problem:
en: 2e51f5fa703b0677
zh: 385937219b88c447
/agent-note-provider-routed-llm-adapters-and-a-generic-pi-ai-backend/decision:
en: a15c7c13f167e5ac
zh: 63bcc2ef60c2f344
/agent-note-provider-routed-llm-adapters-and-a-generic-pi-ai-backend/decision/provider-is-the-adapter-registration-key:
en: 4921a060c657b790
zh: 2f9632469c6f0b60
/agent-note-provider-routed-llm-adapters-and-a-generic-pi-ai-backend/decision/explicit-pi-ai-provider-profiles:
en: 5461685553dac663
zh: e5c7e0ad7ac84e29
/agent-note-provider-routed-llm-adapters-and-a-generic-pi-ai-backend/decision/recorded-assistant-route-and-replay-state:
en: 8439e90c9f6d7642
zh: daeda3ce5146c9f5
/agent-note-provider-routed-llm-adapters-and-a-generic-pi-ai-backend/decision/propagate-the-target-through-every-request-producer:
en: ba1908bc1517ed23
zh: 1c9353a422cf74e1
/agent-note-provider-routed-llm-adapters-and-a-generic-pi-ai-backend/alternatives-considered:
en: ad0d610ea92aa9b8
zh: fe09d62762e73f01
/agent-note-provider-routed-llm-adapters-and-a-generic-pi-ai-backend/consequences:
en: a0c98bced8a5e6fb
zh: 23caf082a08ba507
/agent-note-provider-routed-llm-adapters-and-a-generic-pi-ai-backend/testing:
en: 5a36121f12701d08
zh: 90f0f8ed44f7234f
/agent-note-provider-routed-llm-adapters-and-a-generic-pi-ai-backend/risks:
en: 11db2a349f9f26c2
zh: 550d6017d8639854