@sema-agent/server 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/approval-hmac.js +3 -3
- package/package.json +1 -1
package/dist/approval-hmac.js
CHANGED
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
* FULL activation chain (an independent 2026-07-25 cross-check caught the first draft of this note naming only the
|
|
11
11
|
* leaf conditions — record it completely so a deployment engineer isn't surprised): the crypto branch lives ONLY
|
|
12
12
|
* under the durable-checkpoint /decide path, whose route block is gated on `deps.checkpointStore`
|
|
13
|
-
* (`http/server.ts
|
|
13
|
+
* (A9 拆分后行级坐标弃用:grep `deps.checkpointStore` in `http/server.ts` resumeCheckpoint 链), which needs `backend?.checkpoint && config.durableApproval` (A10 后住 `src/boot/stores.ts`/装配表:grep `durableApproval` in main.ts+boot/). That is NOT
|
|
14
14
|
* an extra thing to remember, because `directDoorActive` ALREADY requires `DURABLE_APPROVAL=true` by construction
|
|
15
|
-
* (
|
|
15
|
+
* (config.ts approval 域,grep `directDoorActive` — and see the 🔴 note above it: without it, checkpointStore is undefined, this branch is
|
|
16
16
|
* skipped, and the LEGACY trusted-header /decide becomes live = a full crypto bypass). So `directDoorActive` really
|
|
17
17
|
* is the single load-bearing switch — it just transitively implies the durable store, rather than being independent
|
|
18
|
-
* of it. A half-configured door refuses to boot (
|
|
18
|
+
* of it. A half-configured door refuses to boot (config.ts 同域 boot 不变量,grep `half-configured`/`门 D-G`), so "looks on, verifies nothing" is impossible.
|
|
19
19
|
* This is the crypto FOUNDATION for D-G (the direct-connect approval door): it proves the decision envelope
|
|
20
20
|
* `{checkpointToken, boundCallId, boundInputHash, decision}` was not tampered in transit. It is INTEGRITY, NOT
|
|
21
21
|
* identity — `isOperator(principal)` stays the identity gate (a valid MAC says "the bytes are intact", never
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sema-agent/server",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Sema Server — the server/API implementation layer for Sema, wiring core, registry, model providers, and cloud agent execution. Built on @sema-agent/core.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "BUSL-1.1",
|