@getmarrow/mcp 3.9.55 → 3.9.57
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/README.md +31 -4
- package/dist/cli.js +326 -109
- package/dist/cli.js.map +1 -1
- package/dist/hook-context.d.ts +2 -1
- package/dist/hook-context.d.ts.map +1 -1
- package/dist/hook-context.js +2 -1
- package/dist/hook-context.js.map +1 -1
- package/dist/hook-contract.d.ts +6 -6
- package/dist/hook-contract.js +1 -1
- package/dist/hook-session.d.ts +1 -1
- package/dist/hook.d.ts +1 -1
- package/dist/index.d.ts +13 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +196 -15
- package/dist/index.js.map +1 -1
- package/dist/redact.js +1 -1
- package/dist/redact.js.map +1 -1
- package/dist/request-reliability.d.ts +27 -0
- package/dist/request-reliability.d.ts.map +1 -0
- package/dist/request-reliability.js +264 -0
- package/dist/request-reliability.js.map +1 -0
- package/dist/runtime-contract.d.ts +5 -0
- package/dist/runtime-contract.d.ts.map +1 -0
- package/dist/runtime-contract.js +107 -0
- package/dist/runtime-contract.js.map +1 -0
- package/package.json +7 -4
- package/scripts/control-path-canary.cjs +166 -0
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -104,9 +104,21 @@ npx -y @getmarrow/mcp@latest ping
|
|
|
104
104
|
|
|
105
105
|
Detection and notification are automatic. After explicit installer activation, the local controller may restore only Marrow-managed hooks/configuration. Package upgrades, owner policy, credentials, and unrelated configuration remain explicit and subject to the operator's normal change policy.
|
|
106
106
|
|
|
107
|
-
## What's New in v3.9.
|
|
107
|
+
## What's New in v3.9.57
|
|
108
108
|
|
|
109
|
-
v3.9.
|
|
109
|
+
v3.9.57 makes the agent control path reliable and deliberately small by default:
|
|
110
|
+
|
|
111
|
+
- `marrow_status`, `marrow_ask`, and `marrow_agent_runtime` use authenticated routes with bounded retries and typed failures;
|
|
112
|
+
- transient read failures return an owner-only last-known brief when available, while cached guidance can never authorize high-risk work;
|
|
113
|
+
- normal tool errors return structured `ok`, `error_code`, `exact_fix`, `stale_brief`, and `client_update` data instead of raw MCP `fetch failed` errors;
|
|
114
|
+
- the default agent surface is six tools: runtime, commit, ask, status, auto, and handoff status; set `MARROW_TOOL_PROFILE=full` only for legacy or advanced integrations;
|
|
115
|
+
- risky `marrow_auto` calls obtain a fresh runtime gate automatically and cannot self-close as successful without required proof;
|
|
116
|
+
- `marrow_run` requires an explicit outcome and never invents proof or a successful result;
|
|
117
|
+
- the package includes an exact-version control-path canary covering every route reported in the production incident.
|
|
118
|
+
|
|
119
|
+
## Previous: v3.9.56
|
|
120
|
+
|
|
121
|
+
v3.9.56 adds tenant-scoped coordination and evidence-only replay to the existing MCP governance surface:
|
|
110
122
|
|
|
111
123
|
- each normal user prompt performs one compact `/v1/agent/context` read; risky or mutating prompts perform one `/v1/agent/runtime` call instead;
|
|
112
124
|
- prompt lifecycle receipts are accepted into the owner-only local spool immediately and delivered asynchronously by later lifecycle activity;
|
|
@@ -114,11 +126,14 @@ v3.9.55 makes passive Marrow reads fast, bounded, and visible:
|
|
|
114
126
|
- transient failures can use an owner-only, account/key/agent-scoped last-known brief for at most one hour, clearly labeled with its age;
|
|
115
127
|
- 401 and 403 responses never use cached guidance, and cached runtime guidance cannot authorize high-risk work;
|
|
116
128
|
- `marrow_ask` now maps to the canonical decision brief contract instead of a separate route;
|
|
117
|
-
- `npx -y @getmarrow/mcp@latest ping` reports current latency, rolling measured p50/p99, last success, and lifecycle backlog health
|
|
129
|
+
- `npx -y @getmarrow/mcp@latest ping` reports current latency, rolling measured p50/p99, last success, and lifecycle backlog health;
|
|
130
|
+
- `marrow_coordinate` acquires/releases tenant-scoped resource leases and carries compact child proof packets without sharing transcripts;
|
|
131
|
+
- `marrow_replay_compare` compares already-recorded baseline and candidate outcomes with durable proof and never executes either model;
|
|
132
|
+
- both new tools preserve agent-bound key scope, reject unsafe path identifiers, and return unavailable or incomplete evidence rather than manufacturing a winner.
|
|
118
133
|
|
|
119
134
|
The package remains backward compatible with supported server aliases while advertising only implemented tools.
|
|
120
135
|
|
|
121
|
-
This release is
|
|
136
|
+
This release is paired with SDK `3.7.56` and installer `0.1.41`. The deterministic release order is SDK first, MCP second, installer third, and the API release last.
|
|
122
137
|
|
|
123
138
|
## Previous: v3.9.54
|
|
124
139
|
|
|
@@ -282,6 +297,16 @@ URLs, paths, credentials, or customer content. The arbitration response owns the
|
|
|
282
297
|
session; pass its short-lived, single-use `owner_approval_receipt_id` to
|
|
283
298
|
`marrow_commit`. An agent cannot authorize itself with a proof field.
|
|
284
299
|
|
|
300
|
+
Use `marrow_coordinate` when parallel agents could edit the same file, service,
|
|
301
|
+
deployment, or workflow. An acquired lease returns a one-time release capability.
|
|
302
|
+
Child agents can then create a compact proof packet containing only a bounded
|
|
303
|
+
summary and opaque durable evidence references. Complete is accepted only when
|
|
304
|
+
the linked outcome and required proof are actually closed.
|
|
305
|
+
|
|
306
|
+
Use `marrow_replay_compare` after two model or workflow variants have each
|
|
307
|
+
recorded an outcome. It compares that existing evidence under one tenant task;
|
|
308
|
+
it does not run models, retain prompts, or infer a winner from labels.
|
|
309
|
+
|
|
285
310
|
## Passive Use
|
|
286
311
|
|
|
287
312
|
`npx @getmarrow/mcp setup` installs supported prompt, tool-result, and session-stop hooks so the agent can receive before-action context, record meaningful tool outcomes, and keep unfinished closure visible without the owner repeatedly prompting it to use Marrow.
|
|
@@ -311,6 +336,8 @@ Status diagnostics distinguish missing keys, invalid keys, wrong bound-agent ide
|
|
|
311
336
|
| --- | --- |
|
|
312
337
|
| `marrow_agent_runtime` | One-call pre-action status, policy gate, relevant lessons, proof requirements, and exact next action |
|
|
313
338
|
| `marrow_arbitrate` | Resolve conflicting agent proposals before execution and return an explainable arbitration receipt |
|
|
339
|
+
| `marrow_coordinate` | Acquire/release resource leases and exchange compact child proof packets across tenant agents |
|
|
340
|
+
| `marrow_replay_compare` | Compare two existing proof-backed outcomes without executing a model |
|
|
314
341
|
| `marrow_decision_brief` | Compact operating brief for meaningful work |
|
|
315
342
|
| `marrow_think` | Record intent and retrieve relevant governance intelligence |
|
|
316
343
|
| `marrow_commit` | Close an action with outcome, receipt, and proof |
|