Merge branch 'worktree/ci-native-windows-20260808' into worktree/ci-native-windows-coverage-20260808
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write packages/storage/README.md
|
||||
README.md: a178495fca5cc433182b8e75f20d479cb7c5bc99
|
||||
README.zh.md: 1a08f1676e5c699a55f9956a42059d1f5acf7e8d
|
||||
README.md: dd9eb5ac97529c75df5986c56b714331dca0b6f1
|
||||
README.zh.md: a69414826b3ffd613c432836ea506b664ceb8da5
|
||||
|
||||
@@ -13,4 +13,4 @@ This family persists application data other than session event logs through name
|
||||
|
||||
Consumers use a data form rather than accessing a backend directly. The [domain storage decision](../../.agents/notes/proposed/architecture/2026-07-24-domain-kv-storage-and-workspace.md) records the family design.
|
||||
|
||||
The subsystem reference — the backend seam, `StorageForms`, `DomainSpec`/`Domain`, `domain/changed` — is [docs/subsystems/storage.md](../../docs/subsystems/storage.md).
|
||||
The subsystem reference — the backend contract, `StorageForms`, `DomainSpec`/`Domain`, `domain/changed` — is [docs/subsystems/storage.md](../../docs/subsystems/storage.md).
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
|
||||
消费方使用数据形式,而不是直接访问后端。[领域存储决策](../../.agents/notes/proposed/architecture/2026-07-24-domain-kv-storage-and-workspace.md)记录了该家族的设计。
|
||||
|
||||
子系统参考——后端 seam、`StorageForms`、`DomainSpec`/`Domain`、`domain/changed`——见 [docs/subsystems/storage.md](../../docs/subsystems/storage.md)。
|
||||
子系统参考——后端约定、`StorageForms`、`DomainSpec`/`Domain`、`domain/changed`——见 [docs/subsystems/storage.md](../../docs/subsystems/storage.md)。
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write packages/storage/storage-domain/README.md
|
||||
README.md: 41e777c3d9a870530593a414839f905514a27134
|
||||
README.zh.md: 2f6b4daa09769d5a03eb30964c12447951c432e3
|
||||
README.md: 7c058ab557cfb128f54c15e715685d59f6720696
|
||||
README.zh.md: 10eb33711e147bc5ac6b7770a196bfea4fe66306
|
||||
|
||||
@@ -19,7 +19,7 @@ Design rationale, open semantics, and the storage/domain layer split live in the
|
||||
|
||||
#### What the model sees
|
||||
|
||||
Nothing. The package registers no tools, injects no prompts, and appends no session events; it stores non-session data (workspace records, future session sidecars) behind `ctx.storageDomain` and emits only the in-process `domain/changed` event, which reaches a model only if a consumer package renders it through its own documented surface.
|
||||
Nothing. The package registers no tools, injects no prompts, and appends no session events; it stores non-session data (workspace records, future session sidecars) behind `ctx.storageDomain` and emits only the in-process `domain/changed` event, which reaches a model only if a Consumer package renders it through its own documented surface.
|
||||
|
||||
#### Token effect
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ DeepSeek Harness 存储中心的领域数据形式:在所有已配置的后端
|
||||
|
||||
#### 模型看到的内容
|
||||
|
||||
无。该包不注册工具、不注入提示词,也不追加会话事件;它在 `ctx.storageDomain` 后面存储非会话数据(工作区记录、未来的会话伴随数据),只发出进程内 `domain/changed` 事件。只有消费方包通过自身有文档说明的接口呈现该事件时,它才会到达模型。
|
||||
无。该包不注册工具、不注入提示词,也不追加会话事件;它在 `ctx.storageDomain` 后面存储非会话数据(工作区记录、未来的会话伴随数据),只发出进程内 `domain/changed` 事件。只有 Consumer 包通过自身有文档说明的接口呈现该事件时,它才会到达模型。
|
||||
|
||||
#### Token 影响
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ export interface Domain<S extends DomainSpec> {
|
||||
close(): Promise<void>
|
||||
}
|
||||
|
||||
/** Internal seam handing table handles their domain-owned write machinery. */
|
||||
/** Internal boundary handing table handles their domain-owned write machinery. */
|
||||
interface TableHost {
|
||||
readonly domainName: string
|
||||
readonly unit: KvUnit
|
||||
|
||||
@@ -39,7 +39,7 @@ export class MemoryMediaPool {
|
||||
/**
|
||||
* When positive, that many subsequent write primitives (putRecord /
|
||||
* deleteRecord / setGlobal) reject without touching the medium, decrementing
|
||||
* per rejection. Negative-path seam: callers assert their state is
|
||||
* per rejection. Negative path: callers assert their state is
|
||||
* untouched after a durability failure.
|
||||
*/
|
||||
failNextWrites = 0
|
||||
|
||||
Reference in New Issue
Block a user