Skip to content
Open
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
99988da
feat(memory): make keyed remember_memory writes idempotent
Doar999 Nov 10, 2026
df79da6
test(skills): pin the evaluated Skill to the idempotency guidance
Doar999 Nov 10, 2026
908671c
test(desktop): qualify the idempotent remember_memory contract
Doar999 Nov 10, 2026
d700316
test(server): accept idempotency_key in the stubbed memory create
Doar999 Nov 11, 2026
7aa1ebb
test(skills): refresh the ZCode Skill pin and tool argument reference
Doar999 Nov 11, 2026
2ec39ec
Merge branch 'master' into feat/2521-idempotent-remember-memory
Doar999 Nov 11, 2026
5325db8
fix(memory): authorize scope contribution before a keyed replay
Doar999 Nov 11, 2026
540f9b4
fix(memory): share the SDK key namespace when access control is off
Doar999 Nov 12, 2026
122dd86
Merge branch 'master' into feat/2521-idempotent-remember-memory
Doar999 Nov 12, 2026
bc11d08
Merge branch 'master' into feat/2521-idempotent-remember-memory
Doar999 Nov 12, 2026
2f41a83
fix(memory): deny untrusted contexts before a keyed receipt lookup
Doar999 Nov 13, 2026
3ea53dc
test(desktop): qualify the merged memory idempotency contract
Doar999 Nov 13, 2026
fe016dc
Merge branch 'master' into feat/2521-idempotent-remember-memory
Doar999 Nov 13, 2026
6224c9f
Merge branch 'master' into feat/2521-idempotent-remember-memory
Doar999 Nov 13, 2026
6506e18
chore: merge master and preserve both persistence reviews
Doar999 Nov 14, 2026
cc8581e
fix(desktop): qualify the merged idempotency contract
Doar999 Nov 14, 2026
b167594
chore: merge master and align authorization imports
Doar999 Nov 14, 2026
dc99352
chore: merge gateway lifecycle contract from master
Doar999 Nov 15, 2026
f6d7d52
fix(desktop): qualify the merged gateway memory contract
Doar999 Nov 15, 2026
b496cc2
chore: merge plugin interfaces and preserve the upgrade chain
Doar999 Nov 15, 2026
3e8a2ae
fix(desktop): qualify the combined plugin memory contract
Doar999 Nov 15, 2026
61a9834
test(evaluation): refresh assembly input fingerprints
Doar999 Nov 15, 2026
71ce94e
fix(desktop): restore evidence sections and merge master
Doar999 Nov 16, 2026
5eb0fe8
merge: sync master and CI generator download fix
Doar999 Nov 16, 2026
efd4be0
merge: sync 1.5.2 release and preserve idempotency migration
Doar999 Nov 16, 2026
6dce470
test(desktop): qualify merged 1.5.2 idempotency contract
Doar999 Nov 16, 2026
a42c17d
merge: sync master and reconcile migration guidance
Doar999 Nov 17, 2026
5bf715f
merge: sync master and reconcile upgrade review
Doar999 Nov 18, 2026
f63022b
fix(memory): reconcile idempotency migration with Source collection
Doar999 Nov 18, 2026
fa594a3
test(desktop): qualify reconciled memory and Source contract
Doar999 Nov 18, 2026
ff058b0
merge: sync master and reconcile Desktop contract
Doar999 Nov 19, 2026
977071c
test(desktop): qualify memory and batch capture contract
Doar999 Nov 19, 2026
5b1d378
merge: pick up CI timeout fix and adopt cumulative schema draft
Doar999 Nov 20, 2026
a8afcd9
test: prune migration scripts using the Alembic revision chain
Doar999 Nov 20, 2026
c445057
ci: retry timed-out unit jobs
Doar999 Nov 20, 2026
277bc23
ci: bound unit test worker concurrency
Doar999 Nov 20, 2026
d9b9880
merge: reconcile master and keyed Memory migration
Doar999 Nov 21, 2026
5b75d4e
merge: reconcile master and the OAuth API contract
Doar999 Nov 22, 2026
cc2373d
test(desktop): qualify merged Memory and OAuth contract
Doar999 Nov 22, 2026
4ad765b
merge: reconcile master and the 1.6.0 migration freeze
Doar999 Nov 23, 2026
8ed387b
test(desktop): qualify the 1.6 keyed Memory contract
Doar999 Nov 23, 2026
3db8c17
merge: reconcile master and cumulative Memory migrations
Doar999 Nov 26, 2026
b89e2d8
test: qualify the combined Desktop and Memory migration contract
Doar999 Nov 26, 2026
84e35eb
merge: reconcile master and the Source limits contract
Doar999 Nov 28, 2026
d47074d
test(desktop): qualify the combined Source limits and keyed Memory co…
Doar999 Nov 28, 2026
b26274e
merge: preserve both upgrade policy rationales from master
Doar999 Nov 29, 2026
b62f10e
merge: reconcile master and configurable tag limits
Doar999 Nov 30, 2026
97f81fb
test(desktop): qualify combined tag limits and keyed Memory contract
Doar999 Nov 30, 2026
55f9740
fix(ci): bound E2E workers for deadline-sensitive tests
Doar999 Nov 30, 2026
ae3fabf
merge: preserve the alias revert and isolate Memory receipt migration
Doar999 Dec 1, 2026
deedec9
merge: integrate release 1.6.1 and the new Desktop
Doar999 Dec 1, 2026
9747f08
test(desktop): qualify the 1.6.1 keyed Memory contract
Doar999 Dec 1, 2026
0d1bfe3
merge: reconcile Desktop contracts with current master
Doar999 Dec 2, 2026
79daca2
test(desktop): qualify the merged keyed Memory contract
Doar999 Dec 2, 2026
de49b4d
merge: reconcile Desktop privacy tests with master
Doar999 Dec 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 86 additions & 0 deletions desktop/VALIDATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2906,6 +2906,49 @@ installed-platform acceptance remain separate requirements.
不代表默认启动预算通过,也不构成启动性能承诺。该记录不替代安装后 GUI、原生凭据持久化、
Windows/macOS、数据库升级、签名或正式发行验收。

## Server df79da6b memory idempotency protocol qualification

`sqlite-memory-idempotency-df79da6b-v1` qualifies all thirteen bundled Desktop protocol operations
against Server source `df79da6b74cd146980154732272da44bf028469f`, whose contract adds the optional
`idempotency_key` to `remember_memory`. The 63 earlier qualification records retain their original
identities and evidence.

- Normalized OpenAPI SHA-256: `e0e147b69008320adfe9d8d46183fa73b3f3ede6f815205fdf51b920438e14d7`.
- Wheel: `powercontext-1.5.2.dev10+gdf79da6b7-py3-none-any.whl`.
- Wheel SHA-256: `58ab4068f0267a876d00a7513869f959546eb749fe8a534d554da6c1f9a5b49b`.
- Native debug probe SHA-256: `508fdd4ba4470f9913937afc627dad9574f6d76129cf20c48e2afa80e8c88b3c`.

The wheel was built from a clean checkout of that commit. All 751 packaged runtime files match
the exact Git source archive after CRLF normalization, with no missing or extra runtime files.
The wheel uses the actual VCS development version; it is not a tagged stable artifact. The
qualification follow-up changes only this record and its catalog entry.

On 2026-11-11, Linux x86_64 (kernel 6.5.0, glibc 2.36, Debian 12 container), Python 3.11.2 and
Rust 1.95.0 passed anonymous loopback, static Bearer, HTTPS with an explicit CA/base path, and
enforced authentication Provider modes against independent real HTTP/SQLite Servers.
`python desktop/tests/real_server.py --product-qualification sqlite-memory-idempotency-df79da6b-v1`
reported `bundled product records` with the matching wheel and contract digests. The unchanged
`server_probe` example was built from the product crate with `cargo build --locked` and the
repository harness ran with its default startup budget. Every mode kept the Server alive after
the client exited and reported a committed write with a lost response as unknown without replay.
The Provider mode also covered Principal changes, revocation, scoped authorization without Server
observation permission, and same-title Scope pagination. `cargo test --locked --test session`
passed 9 tests, including bundled product coverage of every Desktop operation.

Python dependencies were installed from the versions and hashes in `uv.lock` through a package
mirror, and the wheel was built with `python -m build`; the run did not use `uv sync` or `uv build`.
The probe does not send `idempotency_key`; keyed replay and conflict behavior is covered by
`tests/e2e/test_remember_memory_idempotency.py`.

This record does not qualify the installed WebView, credential persistence, Windows/macOS,
native database upgrades, signing, or stable release publication. The full Tauri build and
installed-platform acceptance remain separate requirements.

本记录绑定上述精确源码、契约和 wheel,751 个运行时文件与源码归档一致,四种真实 HTTP/SQLite
连接模式均以测试工具的默认启动预算通过,原生协议模块和业务断言保持不变。探针不发送
`idempotency_key`,带键重放与冲突行为由 `tests/e2e/test_remember_memory_idempotency.py` 覆盖。
该记录不替代安装后 GUI、原生凭据持久化、Windows/macOS、数据库升级、签名或正式发行验收。

## Server 6a20aa88 merged contract protocol qualification

`sqlite-core-target-release-6a20aa88-v1` binds the merged Core target and v1.5.1
Expand Down Expand Up @@ -3024,6 +3067,49 @@ cargo test --locked --manifest-path desktop/src-tauri/Cargo.toml \
make contract-test
```

## Server bc11d08e memory idempotency protocol qualification

`sqlite-memory-idempotency-bc11d08e-v1` qualifies all thirteen bundled Desktop protocol operations
against Server source `bc11d08ee694a5c05131b90b0a46d032ee5cbb66`, whose contract combines the optional
`idempotency_key` on `remember_memory` with the optional Task Outcome stop reason. The 66 earlier
qualification records retain their original identities and evidence.

- Normalized OpenAPI SHA-256: `36eb4ebc989a34be1872cd220c5289df81d690ea57d9e5565d50d06046ac9a81`.
- Wheel: `powercontext-1.5.2.dev56+gbc11d08ee-py3-none-any.whl`.
- Wheel SHA-256: `4bb3bb9c97efe9bb2b0ebec4d6a299c2861bd572ebf0fd6dc148d1e360e34bc9`.
- Native debug probe SHA-256: `931e0cc0dba27c8e889c612ae5009a7889ab8bd22ca9bee37f80b078418d7b8a`.

The wheel was built from a clean checkout of that commit. All 752 packaged runtime files match
the exact Git source archive after CRLF normalization, with no missing or extra runtime files.
The wheel uses the actual VCS development version; it is not a tagged stable artifact.

On 2026-11-12, Linux x86_64 (kernel 6.5.0, glibc 2.36, Debian 12 container), Python 3.11.2 and
Rust 1.95.0 passed anonymous loopback, static Bearer, HTTPS with an explicit CA/base path, and
enforced authentication Provider modes against independent real HTTP/SQLite Servers.
`python desktop/tests/real_server.py --product-qualification sqlite-memory-idempotency-bc11d08e-v1`
reported `bundled product records` with matching client and Server contract digests. The unchanged
`server_probe` example was built from the product crate with `cargo build --locked`, and the
repository harness ran with its default startup budget. Every mode kept the Server alive after the
client exited and reported a committed write with a lost response as unknown without replay. The
Provider mode also covered Principal changes, revocation, scoped authorization without Server
observation permission, and same-title Scope pagination. `cargo test --locked --test session`
passed 9 tests, including bundled product coverage of every Desktop operation.

Python dependencies were installed from the versions and hashes in `uv.lock` through a package
mirror, and the wheel was built with `python -m build`. The probe sends neither `idempotency_key`
nor a stop reason; keyed replay and conflict behavior is covered by
`tests/e2e/test_remember_memory_idempotency.py`, and stop reasons by the Work and HTTP SQLite tests.
A later commit on the same branch changes in-process authorization before keyed receipt lookup;
it does not change the HTTP contract or the Desktop protocol path.

This record does not qualify the installed WebView, credential persistence, Windows/macOS,
native database upgrades, signing, or stable release publication.

本记录绑定上述精确源码、契约和 wheel,752 个运行时文件与源码归档一致,四种真实 HTTP/SQLite
连接模式均以测试工具的默认启动预算通过,原生协议模块和业务断言保持不变。探针不发送
`idempotency_key` 或停止原因,相关行为由各自的 SQLite 测试覆盖。该记录不替代安装后 GUI、
原生凭据持久化、Windows/macOS、数据库升级、签名或正式发行验收。

## Server bf0e57f3 merged contract protocol qualification

`sqlite-core-target-stop-reason-bf0e57f3-v1` qualifies the thirteen bundled Desktop
Expand Down
134 changes: 89 additions & 45 deletions desktop/src-tauri/src/connections/compatibility.json
Original file line number Diff line number Diff line change
Expand Up @@ -1248,14 +1248,15 @@
"evidence": "desktop/VALIDATION.md#server-c00dbf14-source-plugin-protocol-qualification"
},
{
"id": "sqlite-gateway-target-961e1e5e-v1",
"serverCommit": "961e1e5efa4226ce96850c9235b168e1e8da04d3",
"contractSha256": "9c40647c8029ba62b94c025f40b335cf0c8509a9250ecbd47d3786dd3078eaad",
"artifactSha256": "635ddfb13b9994a8332d99542f0c4e82508e72b7be6234f30fa1880eee298b75",
"id": "sqlite-release-1-5-1-bcc0d93a-v1",
"serverCommit": "bcc0d93a202396340d3724a13def1efffb2223b3",
"contractSha256": "93b733bda25ab4db0e883f63a2571334c7c1dfb3af68a18b330384fd344c2d4c",
"artifactSha256": "7d79e1cbb79463b2ff80bb2321873e69e4e43665220a47942bf666f6185eb9d4",
"operations": [
"get_access_principal",
"get_artifact_revision",
"get_capabilities",
"get_connection_identity",
"get_default_scope",
"get_liveness",
"get_readiness",
Expand All @@ -1266,13 +1267,13 @@
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-961e1e5e-protocol-qualification"
"evidence": "desktop/VALIDATION.md#server-bcc0d93a-v151-protocol-qualification"
},
{
"id": "sqlite-rerank-target-960b299f-v1",
"serverCommit": "960b299f3bbc46ff09ba4d0ecc8cba657e6acddd",
"contractSha256": "560ddcadcc97ecfc57ceae3c69f1fb65dd94cd1605a49710c803a389896e0cc7",
"artifactSha256": "d4a65e676f9c0e99f0c17433894ab045a58c9cac436380184d343cc0310ca97b",
"id": "sqlite-task-stop-reason-0b434770-v1",
"serverCommit": "0b43477001e3453a79b310b40fc3e3e7e648c2a6",
"contractSha256": "34cc6572321296c6d67d2a8ca1dffd93d8ebb187a54af8f6dcdb5cd489a0926c",
"artifactSha256": "f572a91a6796d645c6545eaaa8278a2c4b1598b83fa8392df754e187277ab490",
"operations": [
"get_access_principal",
"get_artifact_revision",
Expand All @@ -1287,13 +1288,13 @@
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-960b299f-protocol-qualification"
"evidence": "desktop/VALIDATION.md#task-stop-reason-contract-protocol-qualification"
},
{
"id": "sqlite-core-target-identity-b6920bbf-v1",
"serverCommit": "b6920bbf81a4bf9d95bf5b231a93db32db820618",
"contractSha256": "be7bfe0bd08b3f37bf0a93a3ebec97bf84d755b0e93fdcc91dd8c9b26be5936f",
"artifactSha256": "4ca0fa9d5e16d599696a846da437258345050f017eaf3e56c1d23ae075a7ec32",
"id": "sqlite-task-stop-reason-4cb70619-v1",
"serverCommit": "4cb7061913f5484c3b848551c1d570e59bab846f",
"contractSha256": "e1ff2e3ad1d6a09a9288c4c66e111a54c4979026e29806ff70543988b8e29220",
"artifactSha256": "e4c0d3f7549fe28abfd09669c3dc53ded66d79a4711b1e89da93611717b64a76",
"operations": [
"get_access_principal",
"get_artifact_revision",
Expand All @@ -1309,13 +1310,13 @@
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-b6920bbf-core-target-and-identity-qualification"
"evidence": "desktop/VALIDATION.md#task-stop-reason-merged-contract-protocol-qualification"
},
{
"id": "sqlite-core-target-identity-9e3d1f11-v1",
"serverCommit": "9e3d1f11e70ee24ef6e2f1682ceed9e2c7e40c74",
"contractSha256": "5b15657a9729208155625ee3e6bab7bcea1281fb1ea47a0ea66f3acb62908999",
"artifactSha256": "0ee520c40ece82d5b4f606ad3c929738203072944bdc87c2def4591696cab7fc",
"id": "sqlite-memory-idempotency-df79da6b-v1",
"serverCommit": "df79da6b74cd146980154732272da44bf028469f",
"contractSha256": "e0e147b69008320adfe9d8d46183fa73b3f3ede6f815205fdf51b920438e14d7",
"artifactSha256": "58ab4068f0267a876d00a7513869f959546eb749fe8a534d554da6c1f9a5b49b",
"operations": [
"get_access_principal",
"get_artifact_revision",
Expand All @@ -1331,13 +1332,13 @@
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-9e3d1f11-core-target-identity-and-statistics-qualification"
"evidence": "desktop/VALIDATION.md#server-df79da6b-memory-idempotency-protocol-qualification"
},
{
"id": "sqlite-core-target-4b5d34aa-v1",
"serverCommit": "4b5d34aa49d91e19519fd3d8ee2c3873cbd78c63",
"contractSha256": "58ffd2f4c79e43c5ae5f64433ba3c0457386df49f15f0e74fc7b6d7a5a7bf011",
"artifactSha256": "3b56ae2cd5d054a961f672d01c046aebdcbdad44fabe3a802a73822e13cb44e8",
"id": "sqlite-memory-idempotency-bc11d08e-v1",
"serverCommit": "bc11d08ee694a5c05131b90b0a46d032ee5cbb66",
"contractSha256": "36eb4ebc989a34be1872cd220c5289df81d690ea57d9e5565d50d06046ac9a81",
"artifactSha256": "4bb3bb9c97efe9bb2b0ebec4d6a299c2861bd572ebf0fd6dc148d1e360e34bc9",
"operations": [
"get_access_principal",
"get_artifact_revision",
Expand All @@ -1353,13 +1354,55 @@
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-4b5d34aa-core-target-qualification"
"evidence": "desktop/VALIDATION.md#server-bc11d08e-memory-idempotency-protocol-qualification"
},
{
"id": "sqlite-release-1-5-1-bcc0d93a-v1",
"serverCommit": "bcc0d93a202396340d3724a13def1efffb2223b3",
"contractSha256": "93b733bda25ab4db0e883f63a2571334c7c1dfb3af68a18b330384fd344c2d4c",
"artifactSha256": "7d79e1cbb79463b2ff80bb2321873e69e4e43665220a47942bf666f6185eb9d4",
"id": "sqlite-gateway-target-961e1e5e-v1",
"serverCommit": "961e1e5efa4226ce96850c9235b168e1e8da04d3",
"contractSha256": "9c40647c8029ba62b94c025f40b335cf0c8509a9250ecbd47d3786dd3078eaad",
"artifactSha256": "635ddfb13b9994a8332d99542f0c4e82508e72b7be6234f30fa1880eee298b75",
"operations": [
"get_access_principal",
"get_artifact_revision",
"get_capabilities",
"get_default_scope",
"get_liveness",
"get_readiness",
"get_scope",
"get_server_info",
"get_stats",
"list_scopes",
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-961e1e5e-protocol-qualification"
},
{
"id": "sqlite-rerank-target-960b299f-v1",
"serverCommit": "960b299f3bbc46ff09ba4d0ecc8cba657e6acddd",
"contractSha256": "560ddcadcc97ecfc57ceae3c69f1fb65dd94cd1605a49710c803a389896e0cc7",
"artifactSha256": "d4a65e676f9c0e99f0c17433894ab045a58c9cac436380184d343cc0310ca97b",
"operations": [
"get_access_principal",
"get_artifact_revision",
"get_capabilities",
"get_default_scope",
"get_liveness",
"get_readiness",
"get_scope",
"get_server_info",
"get_stats",
"list_scopes",
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-960b299f-protocol-qualification"
},
{
"id": "sqlite-core-target-identity-b6920bbf-v1",
"serverCommit": "b6920bbf81a4bf9d95bf5b231a93db32db820618",
"contractSha256": "be7bfe0bd08b3f37bf0a93a3ebec97bf84d755b0e93fdcc91dd8c9b26be5936f",
"artifactSha256": "4ca0fa9d5e16d599696a846da437258345050f017eaf3e56c1d23ae075a7ec32",
"operations": [
"get_access_principal",
"get_artifact_revision",
Expand All @@ -1375,13 +1418,13 @@
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-bcc0d93a-v151-protocol-qualification"
"evidence": "desktop/VALIDATION.md#server-b6920bbf-core-target-and-identity-qualification"
},
{
"id": "sqlite-core-target-release-6a20aa88-v1",
"serverCommit": "6a20aa887cb64a2204bedab962c7e1a4400ef0bd",
"contractSha256": "82e9d8dcaf1f5ddd02892ae13c3f1d77c16595ce67f09c0f7cff4c6c878fa3ad",
"artifactSha256": "964b88ae76ee1bcfcc83a9c1c461d79cedc9f113334b1c888d8749a70ffaea3f",
"id": "sqlite-core-target-identity-9e3d1f11-v1",
"serverCommit": "9e3d1f11e70ee24ef6e2f1682ceed9e2c7e40c74",
"contractSha256": "5b15657a9729208155625ee3e6bab7bcea1281fb1ea47a0ea66f3acb62908999",
"artifactSha256": "0ee520c40ece82d5b4f606ad3c929738203072944bdc87c2def4591696cab7fc",
"operations": [
"get_access_principal",
"get_artifact_revision",
Expand All @@ -1397,17 +1440,18 @@
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-6a20aa88-merged-contract-protocol-qualification"
"evidence": "desktop/VALIDATION.md#server-9e3d1f11-core-target-identity-and-statistics-qualification"
},
{
"id": "sqlite-task-stop-reason-0b434770-v1",
"serverCommit": "0b43477001e3453a79b310b40fc3e3e7e648c2a6",
"contractSha256": "34cc6572321296c6d67d2a8ca1dffd93d8ebb187a54af8f6dcdb5cd489a0926c",
"artifactSha256": "f572a91a6796d645c6545eaaa8278a2c4b1598b83fa8392df754e187277ab490",
"id": "sqlite-core-target-4b5d34aa-v1",
"serverCommit": "4b5d34aa49d91e19519fd3d8ee2c3873cbd78c63",
"contractSha256": "58ffd2f4c79e43c5ae5f64433ba3c0457386df49f15f0e74fc7b6d7a5a7bf011",
"artifactSha256": "3b56ae2cd5d054a961f672d01c046aebdcbdad44fabe3a802a73822e13cb44e8",
"operations": [
"get_access_principal",
"get_artifact_revision",
"get_capabilities",
"get_connection_identity",
"get_default_scope",
"get_liveness",
"get_readiness",
Expand All @@ -1418,13 +1462,13 @@
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#task-stop-reason-contract-protocol-qualification"
"evidence": "desktop/VALIDATION.md#server-4b5d34aa-core-target-qualification"
},
{
"id": "sqlite-task-stop-reason-4cb70619-v1",
"serverCommit": "4cb7061913f5484c3b848551c1d570e59bab846f",
"contractSha256": "e1ff2e3ad1d6a09a9288c4c66e111a54c4979026e29806ff70543988b8e29220",
"artifactSha256": "e4c0d3f7549fe28abfd09669c3dc53ded66d79a4711b1e89da93611717b64a76",
"id": "sqlite-core-target-release-6a20aa88-v1",
"serverCommit": "6a20aa887cb64a2204bedab962c7e1a4400ef0bd",
"contractSha256": "82e9d8dcaf1f5ddd02892ae13c3f1d77c16595ce67f09c0f7cff4c6c878fa3ad",
"artifactSha256": "964b88ae76ee1bcfcc83a9c1c461d79cedc9f113334b1c888d8749a70ffaea3f",
"operations": [
"get_access_principal",
"get_artifact_revision",
Expand All @@ -1440,7 +1484,7 @@
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#task-stop-reason-merged-contract-protocol-qualification"
"evidence": "desktop/VALIDATION.md#server-6a20aa88-merged-contract-protocol-qualification"
},
{
"id": "sqlite-core-target-stop-reason-bf0e57f3-v1",
Expand Down
1 change: 1 addition & 0 deletions desktop/src-tauri/src/transport/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ impl ServerApi {
reason: None,
expected_revision: None,
description: None,
idempotency_key: None,
};
let body = serde_json::to_value(request)
.map_err(|_| ApiFailure::before(SafeError::InvalidInput))?;
Expand Down
2 changes: 1 addition & 1 deletion desktop/src-tauri/src/transport/operations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contractSha256": "34470a526707dafb36c9264928e541d73298f10e3768f57f010beef415cc9f66",
"contractSha256": "71296c61a668467c03235d1dd2395ef69ac7f60476c8de0987eec455f1c72e75",
"operations": {
"get_liveness": {
"method": "GET",
Expand Down
11 changes: 11 additions & 0 deletions desktop/src-tauri/src/transport/wire.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2355,6 +2355,16 @@ pub struct RememberMemoryRequest {
skip_serializing_if = "Option::is_none"
)]
pub description: Option<Option<String>>,
/// Optional retry key, unique per operation, Scope and authenticated principal. Generate a fresh unguessable value for each logical write and reuse it only to retry that write. Keys are compared byte for byte and retained for 24 hours. Omit it or pass null for no key.
#[ts(optional)]
#[ts(type = "string | null")]
#[serde(
rename = "idempotency_key",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub idempotency_key: Option<Option<String>>,
}

impl RememberMemoryRequest {
Expand All @@ -2367,6 +2377,7 @@ impl RememberMemoryRequest {
reason: None,
expected_revision: None,
description: None,
idempotency_key: None,
}
}
}
Expand Down
Loading
Loading