Files
deepseek-harness/docs/subsystems/session-projection.i18n.yaml
T
imccyu f230fc2fc2 refactor(session-projection): review fixes for the summary key set
- Export `ProjectionKeySelection` (the read faces' key selection) and reuse it
  from the projection cache instead of restating the union twice. The Cordis
  catalog can now resolve the type its generated signatures reference.
- Make `wire.summary` a plain boolean: omitted means `true`, and a key whose
  map entry carries the summary mark declares `false` so the runtime key set
  and the client view type agree. The type no longer forbids a declaration.
- Describe the mark accurately: it has no runtime representation; `wire.view`
  and `viewSchema` are typed with `SessionProjectionViewValue`, which strips it,
  so the registration erase only widens the state type.
- Say plainly in the package README, the subsystem page, the client field
  comments, and the Agent Note that a list row carries the summary projection
  and never the full projection: a connected Session's store may hold more
  values, but those are outside the list contract.
- Document the summary vocabulary on the subsystem page with `ts type-equiv`
  blocks for the mark, its stripping, the excluded-key test, the summary value
  type, and the key selection; split the prose paragraph.
- Revert the behavior-neutral cache-double refactors in three specs, and record
  in the Agent Note why no upgrade guide accompanies the wire change and how a
  consumer migrates.
2026-10-19 01:13:24 +08:00

23 lines
882 B
YAML

# Bilingual-pair consistency record for session-projection.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/session-projection.md
/session-projections:
en: a6ab5134ca1771fd
zh: 523039a9d84e3f97
/session-projections/the-unit:
en: fad897af8b8839ff
zh: 3c68c5256973bc39
/session-projections/the-snapshot-and-the-change-feed:
en: a49a57c600c3cbd0
zh: c92f00b8a9d71bad
/session-projections/summary-reads:
en: d2bc9bcc775acfb7
zh: b1d2ba74496305b8
/session-projections/summary-reads/summary-vocabulary:
en: 5920d94f98fb323a
zh: a0e24d6ad2a6b739
/session-projections/the-registry-ctx-sessionprojections:
en: 50e79c1bc16abb63
zh: 200ecbf0e4ab19d2