Files
deepseek-harness/.agents/notes/implemented/architecture/2026-08-20-client-session-conversation-ownership.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

152 lines
7.4 KiB
YAML

# Bilingual-pair consistency record for 2026-08-20-client-session-conversation-ownership.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-08-20-client-session-conversation-ownership.md
/agent-note-client-session-conversation-and-ui-ownership-layers:
en: 24e6b5894fbcdc97
zh: 1fe37f9234be5ff4
/agent-note-client-session-conversation-and-ui-ownership-layers/problem:
en: 87d3188b6f534c2a
zh: e805eb702d3f0f7f
/agent-note-client-session-conversation-and-ui-ownership-layers/decision:
en: 0db1b673e3486661
zh: ce9fdf739a211943
/agent-note-client-session-conversation-and-ui-ownership-layers/layering-principles:
en: 8fa111a6c0477c2c
zh: 89bfc65c4986c521
/agent-note-client-session-conversation-and-ui-ownership-layers/layering-principles/controllers-are-react-free-logic-owners:
en: 821989170ad76994
zh: 0ed142bea166fc3a
/agent-note-client-session-conversation-and-ui-ownership-layers/layering-principles/ui-adapters-own-react-integration:
en: 4d032e048364fb97
zh: 82a435531efdaa78
/agent-note-client-session-conversation-and-ui-ownership-layers/layering-principles/slot-scopes-and-standard-props-are-separate:
en: b6f585ca87e1fc6f
zh: 53fd58c3e93cf17c
/agent-note-client-session-conversation-and-ui-ownership-layers/package-ownership:
en: 2fc4b50a651b1847
zh: 7dceeecb9c58e838
/agent-note-client-session-conversation-and-ui-ownership-layers/overall-data-flow:
en: e7c11e82db080dd4
zh: 5a8a501a128366d6
/agent-note-client-session-conversation-and-ui-ownership-layers/session-controller-client:
en: b88f651b1bfb8b5e
zh: b88f651b1bfb8b5e
/agent-note-client-session-conversation-and-ui-ownership-layers/session-controller-client/scope-of-sessionsnapshot:
en: 0abb8da3074137f6
zh: 92a0074930bb63b6
/agent-note-client-session-conversation-and-ui-ownership-layers/session-controller-client/three-read-faces:
en: 87f83e04ee6bfe38
zh: 9bf3548897e80e45
/agent-note-client-session-conversation-and-ui-ownership-layers/session-controller-client/sessioneventsource:
en: 377ec73183b2e461
zh: 6f24c1f723d20938
/agent-note-client-session-conversation-and-ui-ownership-layers/session-controller-client/session-binding-lifecycle:
en: d03dd92afa683183
zh: b9b7ae5d845bf472
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-session:
en: 860315b96703371d
zh: 860315b96703371d
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-session/service-responsibilities:
en: d075ba28fd37bff2
zh: e2d430d1f3e89b15
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-session/standard-source-registration:
en: e4be6d4b1d79b342
zh: 7cb0e8c0f6358b50
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-session/scope-binding:
en: 84c20cce96035340
zh: d1cc2a2e5f86f86b
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-session/sessionprovider:
en: 5d9bdb1f784f97f2
zh: a4b3de7a21b84fce
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-session/pending-interactions:
en: 85e358a03ffac4ba
zh: 54b1d5ed6197f2c2
/agent-note-client-session-conversation-and-ui-ownership-layers/workspace-controller-and-ui-workspace:
en: 45e5f41550e62a3d
zh: d4e6d8f5b397bb51
/agent-note-client-session-conversation-and-ui-ownership-layers/workspace-controller-and-ui-workspace/scope-of-workspacesnapshot:
en: db0bb2a43bbdbbcc
zh: a064d7ffc42bb4a1
/agent-note-client-session-conversation-and-ui-ownership-layers/workspace-controller-and-ui-workspace/ui-workspace-composition-responsibilities:
en: cb73b43d8b485bd0
zh: 134538a67bf6da0d
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-conversation:
en: b23aedfa06639f39
zh: b23aedfa06639f39
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-conversation/assembly-core:
en: c004ba2b21b22344
zh: ae66652c239ec213
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-conversation/definition-and-view-registries:
en: d35b868d88cff47d
zh: 0e718ca3efdbf224
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-conversation/conversation-react-adapter:
en: 913a8f9b4f481bff
zh: ca18aa731f15250f
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-conversation/input-and-composer:
en: 0a38e5b9f71f06f9
zh: 40077352131fae48
/agent-note-client-session-conversation-and-ui-ownership-layers/chat-and-trajectory-targets:
en: 8ad17fee25bef35f
zh: b5e3d07111cdde7a
/agent-note-client-session-conversation-and-ui-ownership-layers/chat-and-trajectory-targets/chat-owner:
en: 43a4a38d9500ebd4
zh: 2df24d5530ab11a7
/agent-note-client-session-conversation-and-ui-ownership-layers/chat-and-trajectory-targets/trajectory-owner:
en: c8d48f4e7ac3a6f2
zh: a65f680c30f6123c
/agent-note-client-session-conversation-and-ui-ownership-layers/approval-and-question:
en: 45e1a7d1a4f8b73a
zh: 712e01e736199846
/agent-note-client-session-conversation-and-ui-ownership-layers/approval-and-question/stable-registration:
en: 877881c5ae993245
zh: 6098103c5414c6e9
/agent-note-client-session-conversation-and-ui-ownership-layers/approval-and-question/one-waterfall-request:
en: b1ff0285ab378448
zh: 9acc318381df9cce
/agent-note-client-session-conversation-and-ui-ownership-layers/approval-and-question/one-pending-projection:
en: 4cbfb31b44db8d6e
zh: 110e5067c82bbce3
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-renderer-and-store:
en: d8de1632a217da9f
zh: 32e68fc042041f42
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-renderer-and-store/ui-renderer:
en: 928e5816ad6430ea
zh: b3e658f276d4e572
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-renderer-and-store/store:
en: bf24926000a4fc38
zh: 702ecdb4aab9dc12
/agent-note-client-session-conversation-and-ui-ownership-layers/ui-renderer-and-store/registration-and-release-order:
en: 7f9a4b5da9c857a4
zh: 6e5d5c870fcea214
/agent-note-client-session-conversation-and-ui-ownership-layers/composition-and-dependency-direction:
en: 6ec1176913cdabab
zh: b0a0c8f443e51d33
/agent-note-client-session-conversation-and-ui-ownership-layers/developer-guidance:
en: 53c7e08a0e422d7e
zh: 57a1417c0a4d5dd5
/agent-note-client-session-conversation-and-ui-ownership-layers/developer-guidance/choose-the-data-owner-first:
en: e16f4903a20d477c
zh: bfe217c7d93314ed
/agent-note-client-session-conversation-and-ui-ownership-layers/developer-guidance/add-session-scoped-data:
en: e5e6831f726d1e68
zh: 1a12311f64b7da5c
/agent-note-client-session-conversation-and-ui-ownership-layers/developer-guidance/add-a-conversation-target:
en: a5ecfa4225fa559b
zh: e1da4db4f80e246b
/agent-note-client-session-conversation-and-ui-ownership-layers/developer-guidance/add-a-pending-interaction-domain:
en: 19985324015f1b4a
zh: 3055d88e1173a2db
/agent-note-client-session-conversation-and-ui-ownership-layers/developer-guidance/review-checks:
en: 2800c6393a75210d
zh: 7bdf8911d3f0bb22
/agent-note-client-session-conversation-and-ui-ownership-layers/verification:
en: 04c54874beafe7ff
zh: e13dffa5d952069a
/agent-note-client-session-conversation-and-ui-ownership-layers/alternatives-considered:
en: 83dce7fe89397a9f
zh: 8076ebb1d61ba6bf
/agent-note-client-session-conversation-and-ui-ownership-layers/consequences:
en: 307497e3f0eb2158
zh: c7189a9811edb4a2