docs(client): correct checkpoint pin contract

This commit is contained in:
Hypatia May
2026-07-31 09:29:19 +08:00
parent 074f0e4393
commit cc0d13872f
4 changed files with 10 additions and 13 deletions

View File

@@ -37,15 +37,12 @@
// client-side Context merges keep it out of the host program.
{ "path": "./packages/host/directory-picker-native" },
{ "path": "./packages/host/directory-picker-browse" },
// Compaction seam: the client-runtime drift trap value-imports the seam's
// canonical checkpoint const from the package ROOT, which may be reached
// from this TEST program but never from a packages/client/* package
// program — the root reaches dsh-session's root, whose Context merge
// declares the host `sessions: SessionStore` and collides with the
// client's `ISessions`. Package programs use the cordis-free
// dsh-compact/checkpoint leaf instead (a type-only import in
// transcript-adapter.ts), which needs this reference on the runtime
// package project itself.
// Compaction seam: the client-runtime pin test value-imports the canonical
// checkpoint const from the cordis-free dsh-compact/checkpoint leaf and
// deliberately never loads the dsh-compact package root or the host-side
// Context merges reachable through it. The client package pins the same
// leaf through a type-only import in transcript-adapter.ts; composite
// rootDir rules make both paths depend on this runtime project reference.
{ "path": "./packages/compact/compact" },
{ "path": "./packages/client/ui-slots" },
{ "path": "./packages/client/schema-form" },