Skip to content
Open
Show file tree
Hide file tree
Changes from 52 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
4 changes: 4 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ jobs:
if: matrix.suite == 'unit'
env:
PYTEST_ADDOPTS: --require-dsh-config-runtime --require-claude-code-python-floor
# Limit contention for tests that spawn subprocesses with fixed deadlines.
PYTEST_WORKERS: "8"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Design note (non-blocking): this fixes both unit and E2E concurrency at eight workers for every Python runner. The repository CI policy requires measured sizing rather than a precautionary fixed cap. The PR description reports CPU measurements for the Desktop UI test, which do not establish the Python runner limit. Please include the relevant runner CPU/memory and subprocess-contention measurements that justify eight, or retain the existing worker selection and isolate the demonstrated deadline-sensitive case. The same point applies to the E2E override below.

run: |
PYTHONPATH="$PWD/.github/scripts${PYTHONPATH:+:$PYTHONPATH}" \
make unit-test PYTEST_ARGS="-p pytest_ci_diagnostics -o faulthandler_timeout=600 --junitxml=$RUNNER_TEMP/pytest-diagnostics/unit.xml"
Expand Down Expand Up @@ -365,6 +367,8 @@ jobs:
if: matrix.suite == 'e2e'
env:
PYTEST_ADDOPTS: --ci-shard-index=${{ matrix.shard-index }} --ci-shard-count=${{ matrix.shard-count }}
# Keep deadline-sensitive SQLite and subprocess tests within the runner budget.
PYTEST_WORKERS: "8"
run: |
PYTHONPATH="$PWD/.github/scripts${PYTHONPATH:+:$PYTHONPATH}" \
make e2e-test-parallel PYTEST_ARGS="-p pytest_ci_diagnostics -o faulthandler_timeout=600 --junitxml=$RUNNER_TEMP/pytest-diagnostics/e2e.xml"
Expand Down
21 changes: 21 additions & 0 deletions desktop/src-tauri/src/connections/compatibility.json
Original file line number Diff line number Diff line change
Expand Up @@ -1959,5 +1959,26 @@
"remember_memory",
"search_memory"
]
},
{
"id": "sqlite-memory-1-6-deedec9b-v1",
"serverCommit": "deedec9bcdf1272a4a6d2e0fea5db0b71b57d4ec",
"contractSha256": "419278292c9065144d081c7cb369b8ff2fcd4161c8c56052a97b5dcfa6b89d52",
"artifactSha256": "4aea81977845c40bd670a3a1207d0374ef151857d4592772369cf0fe603161bf",
"operations": [
"get_access_principal",
"get_artifact_revision",
"get_capabilities",
"get_connection_identity",
"get_default_scope",
"get_liveness",
"get_readiness",
"get_scope",
"get_server_info",
"get_stats",
"list_scopes",
"remember_memory",
"search_memory"
]
}
]
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": "b2cd6734a32ba320e25d379b646be6fb07f39412cfbeb3af0168d51fbf2a3026",
"contractSha256": "419278292c9065144d081c7cb369b8ff2fcd4161c8c56052a97b5dcfa6b89d52",
"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 @@ -2315,6 +2315,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 @@ -2327,6 +2337,7 @@ impl RememberMemoryRequest {
reason: None,
expected_revision: None,
description: None,
idempotency_key: None,
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion desktop/ui/src/generated/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ export interface paths {
put?: never;
/**
* Create Atomic Memory through the legacy remember input
* @description Create a standalone Atomic Memory and formal Owner. Omit expected_revision or pass null. Non-null legacy collection revision preconditions are unsupported before any write. Response records use true Atomic ArtifactRefs.
* @description Create a standalone Atomic Memory and formal Owner. Omit expected_revision or pass null. Non-null legacy collection revision preconditions are unsupported before any write. Response records use true Atomic ArtifactRefs. With idempotency_key, a retry of the same creation within 24 hours replays the original response, and reuse of the key for different content returns 409 idempotency_conflict with details.kind memory_idempotency_key.
*/
post: operations["remember_memory"];
delete?: never;
Expand Down Expand Up @@ -5562,6 +5562,8 @@ export interface components {
expected_revision?: number | null;
/** @description Optional supplied single-line summary. When omitted, the Server stores a whitespace-collapsed text prefix of at most 200 Unicode characters, including a trailing ellipsis when truncated. Explicit writes do not invoke a generation model. */
description?: string | null;
/** @description 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. */
idempotency_key?: string | null;
};
RetireMemoryEntryRequest: {
scope_id: string;
Expand Down
6 changes: 5 additions & 1 deletion desktop/ui/src/generated/ipc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,11 @@ text: string, reason?: string | null, expected_revision?: number | null,
/**
* Optional supplied single-line summary. When omitted, the Server stores a whitespace-collapsed text prefix of at most 200 Unicode characters, including a trailing ellipsis when truncated. Explicit writes do not invoke a generation model.
*/
description?: string | null, };
description?: string | null,
/**
* 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.
*/
idempotency_key?: string | null, };
export type ResolvedUsagePeriod = { preset: StatsPeriod, start_date: string, end_date: string, timezone: Timezone, };
export type Role = "leader" | "standby";
export type ScopeDescriptor = { scope_id: string, title: string, summary: string, parent_scope_id?: string | null, context_references: Array<string>, external_references: Array<ScopeExternalReference>, version: number, };
Expand Down
2 changes: 1 addition & 1 deletion desktop/ui/src/generated/operations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

// Generated from openapi/powercontext.yaml. Do not edit.
export const contractSha256 = "b2cd6734a32ba320e25d379b646be6fb07f39412cfbeb3af0168d51fbf2a3026";
export const contractSha256 = "419278292c9065144d081c7cb369b8ff2fcd4161c8c56052a97b5dcfa6b89d52";
export const operations = {
"get_liveness": {
"method": "GET",
Expand Down
13 changes: 10 additions & 3 deletions docs/en/docs/operate/database-migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ Revision `v1_5_0_005` removes the previous Artifact plugin-framework storage and

Revision `v1_5_0_006` adds `pc_source_runners` and `pc_source_collect_targets` for Source collection and drops the empty `pc_source_write_plugins`; it rewrites no records. While `pc_source_write_plugins` still holds records (after `source load --kind write`), the upgrade is refused with `unsupported_plugin_data` and the database stays unchanged. The previous version has no operation that removes these registrations, so such a database currently has no supported in-place upgrade path: keep using the previous version or move to a new database, and do not delete the records by hand to bypass the check. The previous Source management service's own SQLite is not migrated. See [Source plugins](../workflows/source-plugins.md).

On development builds with keyed Memory creation, both paths continue from `v1_6_0` to draft `000`.

The cumulative draft `000` registers `pc_atomic_memory_idempotency`, the retry receipts for keyed `remember_memory` creations, with an index on their expiry time. Existing managed databases require explicit migration before Server startup; the migration creates an empty table and rewrites no existing data. A receipt stores SHA-256 digests of the key namespace and the created content, the bound Artifact revision and the creation state version; it stores neither the raw key, the principal ID nor the memory body. Receipts expire 24 hours after creation and are removed in bounded batches. See [Atomic Memory](../workflows/atomic-memory.md) for retry behavior.

Rebuild development databases and migration plans that use an earlier `000` draft or the unpublished `v1_5_2_001` revision.

Revision `v1_4_1_006` registers `pc_source_write_plugins` for persisted Source write plugin declarations.
Revision `v1_5_0_001` adds Artifact plugin registration fields, family schemas, search state and projections,
index coverage and change tracking, and vector-space/index registrations. SQLite also registers portable vector
Expand Down Expand Up @@ -175,12 +181,13 @@ literal mutable draft ID `000`. The registered revisions are:
| `v1_5_0_005` | 1.5.0 | 5 | `v1_5_0_005` | Remove previous plugin-framework storage and add nullable Artifact metadata |
| `v1_5_0_006` | 1.5.0 | 6 | `v1_5_0_006` | Source collection runner and target tables; remove the write plugin registry |
| `v1_6_0` | 1.6.0 | — | `v1_6_0` | Independent prepare diagnostics |
| `000` | — | — | `000` | Keyed Memory creation receipts |

Both registered source paths reach `v1_6_0` after `v1_5_0_006`; only 1.3.0 is selected for CI upgrade acceptance:
Both registered source paths reach `000` after `v1_6_0`; only 1.3.0 is selected for CI upgrade acceptance:

```text
1.3.0: v1_3_0_000 -> v1_4_1_001 -> v1_4_1_002 -> v1_4_1_003 -> v1_4_1_004 -> v1_4_1_005 -> v1_4_1_006 -> v1_5_0_001 -> v1_5_0_002 -> v1_5_0_003 -> v1_5_0_004 -> v1_5_0_005 -> v1_5_0_006 -> v1_6_0
1.4.0: v1_4_0_000 -> v1_4_1_001 -> v1_4_1_002 -> v1_4_1_003 -> v1_4_1_004 -> v1_4_1_005 -> v1_4_1_006 -> v1_5_0_001 -> v1_5_0_002 -> v1_5_0_003 -> v1_5_0_004 -> v1_5_0_005 -> v1_5_0_006 -> v1_6_0
1.3.0: v1_3_0_000 -> v1_4_1_001 -> v1_4_1_002 -> v1_4_1_003 -> v1_4_1_004 -> v1_4_1_005 -> v1_4_1_006 -> v1_5_0_001 -> v1_5_0_002 -> v1_5_0_003 -> v1_5_0_004 -> v1_5_0_005 -> v1_5_0_006 -> v1_6_0 -> 000
1.4.0: v1_4_0_000 -> v1_4_1_001 -> v1_4_1_002 -> v1_4_1_003 -> v1_4_1_004 -> v1_4_1_005 -> v1_4_1_006 -> v1_5_0_001 -> v1_5_0_002 -> v1_5_0_003 -> v1_5_0_004 -> v1_5_0_005 -> v1_5_0_006 -> v1_6_0 -> 000
```

`status` and `plan` show `source_migration`, `target_migration` and `pending_migrations`
Expand Down
5 changes: 5 additions & 0 deletions docs/en/docs/operate/observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ declaration bodies, or requested content. Its `unit` is the retained fact (`sour
`evidence_mismatch`. Integrity causes are emitted at `WARNING`; expected historical gaps stay at `INFO` or `DEBUG`.
Integrity causes such as `manifest_conflict` are alertable and distinct from an absent declaration.

The `atomic_memory.idempotency.cleanup_failed` event reports that a keyed `remember_memory` creation committed but
the bounded removal of expired retry keys that follows it failed. The creation and its response are unaffected, and a
later keyed creation retries the removal. It is emitted at `WARNING` with `operation` `remember_memory`, `unit`
`atomic-memory`, `outcome` `failure`, and `exception_type`; it never carries keys, principals, or memory content.

Server roles are `all` (API and supervisor), `api`, and `background`; child processes use `worker`. Explicit logging
configuration without a deployment role uses `server`. JSON identity fields correspond to trace resource attributes
`service.name`, `service.version`, `service.instance.id`, and `powercontext.service.role`. `service_version` is absent
Expand Down
2 changes: 1 addition & 1 deletion docs/en/docs/operate/troubleshoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ so the previous database remains available for recovery:

```bash
obloader <connection-options> -D <new-database> --csv \
--table 'pc_scopes,pc_source_journal_heads,pc_sources,pc_context_prepare_diagnostics,pc_artifacts,pc_portable_restore_receipts,pc_source_cursors,pc_memory_source_windows,pc_artifact_processing_leases,pc_artifact_processing_binding_states,pc_artifact_processing_pending,pc_artifact_processing_auto_wave_targets,pc_artifact_processing_sequences,pc_artifact_processing_intents,pc_topic_memory_processing_targets,pc_artifact_processing_schema,pc_artifact_processing_migration_receipts,pc_topic_memory_work_budgets,pc_topic_memory_work_blocks,pc_topic_memory_retrieval_shape,pc_connector_checkpoints,pc_source_definition_manifests,pc_source_runners,pc_source_collect_targets,pc_external_skill_registrations,pc_skill_packages,pc_agent_skill_targets,pc_skill_publications,pc_model_usage_daily,pc_recall_token_daily,pc_recall_effort_daily,pc_receipt_migration_review,pc_decision_observations,pc_lexical_projection_versions' \
--table 'pc_scopes,pc_source_journal_heads,pc_sources,pc_context_prepare_diagnostics,pc_artifacts,pc_portable_restore_receipts,pc_source_cursors,pc_memory_source_windows,pc_artifact_processing_leases,pc_artifact_processing_binding_states,pc_artifact_processing_pending,pc_artifact_processing_auto_wave_targets,pc_artifact_processing_sequences,pc_artifact_processing_intents,pc_topic_memory_processing_targets,pc_artifact_processing_schema,pc_artifact_processing_migration_receipts,pc_topic_memory_work_budgets,pc_topic_memory_work_blocks,pc_topic_memory_retrieval_shape,pc_connector_checkpoints,pc_source_definition_manifests,pc_source_runners,pc_source_collect_targets,pc_external_skill_registrations,pc_skill_packages,pc_agent_skill_targets,pc_skill_publications,pc_model_usage_daily,pc_recall_token_daily,pc_recall_effort_daily,pc_receipt_migration_review,pc_decision_observations,pc_lexical_projection_versions,pc_atomic_memory_idempotency' \
-f <export-directory>
```

Expand Down
28 changes: 28 additions & 0 deletions docs/en/docs/workflows/atomic-memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,34 @@ Submit complete content to `PUT /v1/scopes/S/artifacts/atomic-memory/M`, sending
Success creates the next content revision. Missing `If-Match` returns `428 precondition_required`; a stale value
returns `412 revision_conflict`. Read and reconcile the content before submitting again.

## Retry remember_memory safely

`POST /v1/memory/remember` (`remember_memory`) creates a new memory on every call. To retry a call whose response was
lost without creating a duplicate, send an `idempotency_key`: 1 to 256 printable ASCII characters other than space.
Generate a fresh unguessable key, such as a UUID, for each logical write, and reuse it only to retry that write:

```json
{
"scope_id": "S",
"kind": "preference",
"text": "Prefer short pull requests.",
"idempotency_key": "3f0c8f5e-7a51-4c1e-9a43-0f1e2b7d9c60"
}
```

Keys are scoped to the Scope and the authenticated principal; with access control disabled, all callers share one
namespace per Scope. Within 24 hours of the creation, a request with the same key and the same stored content returns
the original response: the same `ArtifactRef` of revision 1 and the state recorded at creation, even if the memory has
since been revised, forgotten or merged. Read current state through the Atomic Memory read operations. Content is the
same when the normalized `text`, `kind`, `description` (an omitted description equals the default derived from the
text) and content schema match; `reason` is not compared. The same key with different content returns
`409 idempotency_conflict` with `error.details.kind: "memory_idempotency_key"` and writes nothing; use a new key for
the new content. After 24 hours the key behaves as unused and creates a new memory.

Each replay rechecks the caller's current authorization. The server stores only digests of the key namespace and
content, never the raw key or memory body. Neither the server, the Python SDK nor the MCP tool generates keys or
retries automatically, and `expected_revision` keeps its existing behavior.

## Current state and forgetting

`GET /v1/scopes/S/artifacts/atomic-memory/M/state` returns the current exact `artifact` reference, `state`,
Expand Down
9 changes: 9 additions & 0 deletions docs/en/rfcs/1437_source_artifact_rest_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,12 @@ return `422` instead of being ignored.
creates a new resource. After a client timeout, the caller must confirm the result from business context and cannot
assume that retry is idempotent.

Explicit Atomic Memory creation through `remember_memory` is outside these operations and is the only Atomic Memory
creation path with an idempotency key. The "Idempotent explicit creation" section of
[RFC 1809](1809-atomic-memory.md) defines its optional `idempotency_key` request body field, namespace, request
digest, replay, and retention. That field does not apply to Source Create or Artifact Create, and no operation accepts
an `Idempotency-Key` header. Creating an Atomic Memory through Artifact Create remains non-idempotent.

## Status and error model

| Status | Scenario |
Expand Down Expand Up @@ -510,6 +516,9 @@ The common error body is:
Errors must not reveal whether a resource in another Scope exists. Permission and invisibility scenarios return
`403` or `404` according to the common security policy.

For `remember_memory`, an idempotency key already bound to a different request returns `409` with the existing code
`idempotency_conflict` and `details.kind` set to `memory_idempotency_key`. No new error code is introduced for it.

## OpenAPI contract

`openapi/powercontext.yaml` is the sole source of truth for the HTTP contract. The principal schemas are:
Expand Down
Loading
Loading