What Once changes
diff --git a/docs/llms.txt b/docs/llms.txt
index 4df71564..cbd8c334 100644
--- a/docs/llms.txt
+++ b/docs/llms.txt
@@ -150,7 +150,7 @@ once_plan_setup — preview setup without changing files
once_setup_project — install/configure after explicit approval
once_plan_protection — review candidate call sites without modifying source
once_apply_protection — apply one approved PATCHABLE candidate
-once_verify_connection — run Once Doctor without exposing the API key
+once_verify_connection — preserve local diagnostics; in MCP 0.2.1 read cloudVerified explicitly for requested Cloud checks. Retained MCP 0.1.5 plugins lack this correction; use doctor --connection for Cloud verification without exposing the API key
once_live_proof — return demonstrated proof and safe claim boundaries
The MCP layer is for agent-assisted discovery, integration, and verification. Production application agents do not need to call MCP before every protected write; Once Runtime or a supported local Connect boundary remains the execution-safety boundary.
@@ -165,3 +165,10 @@ MCP idempotency; MCP retry safety; MCP safe retries; MCP duplicate tool calls; s
- [Evidence](https://onceexec.com/evidence/): scoped reproductions and current release history.
FIRST 10: Controlled refund proof: https://onceexec.com/first10/ . SDK 0.1.25 publishes once prove and read-only once check; the standalone proof also works with SDK 0.1.24 or later. See repository examples/first10/README.md and docs/FIRST10.md. Native idempotency or a unique constraint should be used alone when sufficient. Identity/effect decisions require developer review; never infer them silently.
+
+Execution authority: preserve the original durable ledger and history, not only
+its path. Replacement, reset, deletion or rollback can permit an effect again.
+Default MCP exposes eight developer assessment/setup tools; it does not protect
+sibling connectors. Registered actions are opt-in; proxies require reviewed
+upstream configuration. Node 20+ supports the helper; local SQLite modes need
+24.15+. Compatibility: https://github.com/stringsofthemind-oss/once/blob/main/mcp/COMPATIBILITY.md
diff --git a/docs/mcp-idempotency/index.html b/docs/mcp-idempotency/index.html
index 4564d905..bc9c9e37 100644
--- a/docs/mcp-idempotency/index.html
+++ b/docs/mcp-idempotency/index.html
@@ -104,6 +104,15 @@
MCP IDEMPOTENCY / EXECUTION SAFETY
MCP Idempotency for State-Changing AI Agent Tools
+Installation boundary: default MCP exposes eight developer
+assessment/setup tools and does not automatically protect sibling GitHub, Adobe
+or other connectors. Registered actions are opt-in; the proxy protects only
+reviewed/configured upstream boundaries. The default helper supports Node 20+;
+local SQLite proxy/actions require 24.15+. The original durable ledger is
+execution authority: replacement, reset or rollback may permit an effect again,
+even at the same path. UNKNOWN never grants permission to redispatch.
+Authoritative compatibility and continuity matrix .
+
When an MCP tool changes external state, retries need a stable logical-operation identity and durable execution truth. Otherwise a timeout, lost response or process failure can turn one business intent into multiple real-world side effects.
diff --git a/docs/mcp-retry-safety/index.html b/docs/mcp-retry-safety/index.html
index 22f5fa62..b4883646 100644
--- a/docs/mcp-retry-safety/index.html
+++ b/docs/mcp-retry-safety/index.html
@@ -104,6 +104,15 @@
MCP RELIABILITY / STATE-CHANGING TOOLS
MCP Retry Safety: Safe Retries for State-Changing Tools
+Installation boundary: default MCP exposes eight developer
+assessment/setup tools and does not automatically protect sibling GitHub, Adobe
+or other connectors. Registered actions are opt-in; the proxy protects only
+reviewed/configured upstream boundaries. The default helper supports Node 20+;
+local SQLite proxy/actions require 24.15+. The original durable ledger is
+execution authority: replacement, reset or rollback may permit an effect again,
+even at the same path. UNKNOWN never grants permission to redispatch.
+Authoritative compatibility and continuity matrix .
+
An MCP tool call can fail at the transport boundary after the real-world action has already happened. Safe retry logic must preserve the identity and execution truth of the original operation instead of treating every retry as permission to execute again.
diff --git a/docs/quickstart/index.html b/docs/quickstart/index.html
index 0f0a0863..78162e9c 100644
--- a/docs/quickstart/index.html
+++ b/docs/quickstart/index.html
@@ -280,12 +280,24 @@
Protect an agent’s existing tools
Open the complete Connect guide
-
Set up Codex, Claude Code or Cursor
+
The ledger is execution authority.
+Changing, deleting, replacing, resetting or rolling back valid state may permit
+an effect to execute again. The same filesystem path does not prove the same
+execution history. Fresh provisioning is separate from continuation; restore
+the original consistent history, never initialize replacement state on restart.
+UNKNOWN blocks redispatch but cannot repair lost history.
+
Compatibility, backup and detection limits .
+
Set up Codex, Claude Code or Cursor
The plugin/MCP layer assesses and plans supported integration. Local assessment needs no key; hosted setup needs a Once API key. The
server’s presence does not automatically protect other tools or replace the execution boundary.
-
Codex
+
Default MCP exposes eight assessment/setup tools, not automatic protection
+of sibling GitHub/Adobe connectors. The registered action is opt-in; a proxy
+protects only reviewed/configured upstream boundaries. Default helper: Node 20+;
+SQLite proxy/registered action: Node 24.15+. Retained plugin pins are independent
+of the latest npm release.
+
Codex
Copy Codex setup
diff --git a/docs/support/index.html b/docs/support/index.html
index 635ebddf..2a7db176 100644
--- a/docs/support/index.html
+++ b/docs/support/index.html
@@ -1,2 +1,11 @@
-Once Support Matrix — AI Agent Execution Safety Canonical support matrix
What “supported” means in Once Once uses several different integration layers. This page separates them so “supported” is not mistaken for a universal runtime guarantee.
Key: “Example” means public integration guidance exists. “Hostile-retry evidence” means a reproducible failure lab exists. “Discovery” means Once can inspect or classify the tool surface. “Protected runtime path” means the Once execution boundary is actually on the path of the side effect.
Framework / host Integration example Hostile-retry evidence Discovery / classification Protected runtime path OpenAI Agents Yes No dedicated hostile-retry lab claimed here Yes — FunctionTool structural wrapping / Connect path Yes, when tools are routed through the supported Once local or hosted execution boundary Vercel AI SDK Yes No dedicated hostile-retry lab claimed here Yes — documented discovery support Yes, when the consequential tool is routed through a supported Once boundary LangChain / LangGraph Yes Yes — LangGraph hard-process-death / fresh-process recovery lab Yes — documented discovery support Yes, for the tested / integrated path CrewAI Yes Yes — native BaseTool hostile-retry lab Runtime discovery adapter not claimed as equivalent to protection Yes, for the tested / integrated path Microsoft Agent Framework Yes No dedicated hostile-retry lab claimed here Framework integration documented Yes, when routed through a supported Once boundary Agno Evidence-focused example Yes — retries after successful tool execution followed by model HTTP 500 Do not infer discovery-adapter support from the hostile-retry lab Yes, for the released SDK path used by the lab Claude Code MCP / plugin setup Not a framework hostile-retry benchmark MCP-assisted assessment and setup MCP installation alone is not protection; runtime must sit on the side-effect path Cursor Project-scoped MCP setup Not a framework hostile-retry benchmark MCP-assisted assessment and setup MCP installation alone is not protection Codex Plugin / marketplace setup Not a framework hostile-retry benchmark Plugin teaches routing / assessment and exposes MCP Plugin installation alone is not the runtime safety boundary
Current automatic local protection boundary @once-agent/sdk/connect can classify supported local tool descriptors as BYPASS , PROTECT , or fail-closed UNKNOWN , resolve trusted logical identity, bind effect-bearing data, and connect supported same-machine tool registries. Automatic protected local execution uses durable same-machine SQLite on Node.js 24.15+.
This is not a multi-host or universal exactly-once guarantee. A framework being listed here does not mean every tool, provider, transport, HTTP method, or deployment topology is automatically protected.
Evidence boundary The strongest public framework-specific duplicate-effect evidence currently comes from the LangGraph, CrewAI, and Agno hostile-retry labs. Other entries may be integration examples or discovery support rather than equivalent crash-test evidence.
Project identity · Provider reconciliation matrix · Research · GitHub
\ No newline at end of file
+Once Support Matrix — AI Agent Execution Safety Canonical support matrix
What “supported” means in Once
+Installation boundary: default MCP exposes eight developer
+assessment/setup tools and does not automatically protect sibling GitHub, Adobe
+or other connectors. Registered actions are opt-in; the proxy protects only
+reviewed/configured upstream boundaries. The default helper supports Node 20+;
+local SQLite proxy/actions require 24.15+. The original durable ledger is
+execution authority: replacement, reset or rollback may permit an effect again,
+even at the same path. UNKNOWN never grants permission to redispatch.
+Authoritative compatibility and continuity matrix .
+Once uses several different integration layers. This page separates them so “supported” is not mistaken for a universal runtime guarantee.
Key: “Example” means public integration guidance exists. “Hostile-retry evidence” means a reproducible failure lab exists. “Discovery” means Once can inspect or classify the tool surface. “Protected runtime path” means the Once execution boundary is actually on the path of the side effect.
Framework / host Integration example Hostile-retry evidence Discovery / classification Protected runtime path OpenAI Agents Yes No dedicated hostile-retry lab claimed here Yes — FunctionTool structural wrapping / Connect path Yes, when tools are routed through the supported Once local or hosted execution boundary Vercel AI SDK Yes No dedicated hostile-retry lab claimed here Yes — documented discovery support Yes, when the consequential tool is routed through a supported Once boundary LangChain / LangGraph Yes Yes — LangGraph hard-process-death / fresh-process recovery lab Yes — documented discovery support Yes, for the tested / integrated path CrewAI Yes Yes — native BaseTool hostile-retry lab Runtime discovery adapter not claimed as equivalent to protection Yes, for the tested / integrated path Microsoft Agent Framework Yes No dedicated hostile-retry lab claimed here Framework integration documented Yes, when routed through a supported Once boundary Agno Evidence-focused example Yes — retries after successful tool execution followed by model HTTP 500 Do not infer discovery-adapter support from the hostile-retry lab Yes, for the released SDK path used by the lab Claude Code MCP / plugin setup Not a framework hostile-retry benchmark MCP-assisted assessment and setup MCP installation alone is not protection; runtime must sit on the side-effect path Cursor Project-scoped MCP setup Not a framework hostile-retry benchmark MCP-assisted assessment and setup MCP installation alone is not protection Codex Plugin / marketplace setup Not a framework hostile-retry benchmark Plugin teaches routing / assessment and exposes MCP Plugin installation alone is not the runtime safety boundary
Current automatic local protection boundary @once-agent/sdk/connect can classify supported local tool descriptors as BYPASS , PROTECT , or fail-closed UNKNOWN , resolve trusted logical identity, bind effect-bearing data, and connect supported same-machine tool registries. Automatic protected local execution uses durable same-machine SQLite on Node.js 24.15+.
This is not a multi-host or universal exactly-once guarantee. A framework being listed here does not mean every tool, provider, transport, HTTP method, or deployment topology is automatically protected.
Evidence boundary The strongest public framework-specific duplicate-effect evidence currently comes from the LangGraph, CrewAI, and Agno hostile-retry labs. Other entries may be integration examples or discovery support rather than equivalent crash-test evidence.
Project identity · Provider reconciliation matrix · Research · GitHub
\ No newline at end of file
diff --git a/mcp/CHANGELOG.md b/mcp/CHANGELOG.md
index 31e3b7b3..aaf32357 100644
--- a/mcp/CHANGELOG.md
+++ b/mcp/CHANGELOG.md
@@ -1,12 +1,20 @@
+# MCP 0.2.1 candidate
+
+- Correct once_verify_connection: retain local diagnostics, explicitly report
+ Cloud configuration/verification, request actual read-only Cloud checks when
+ configured, and propagate failed checks. Tool names/input remain compatible.
+- Add one compatibility/continuity matrix; correct stale release and timeout
+ statements and distinguish default helper, opt-in action and reviewed proxy.
+- No execution state-machine, ledger schema, plugin pin or private adapter change.
+- Not published: current npm/Registry remains 0.2.0 until independently verified.
+
# MCP 0.2.0
- Add the opt-in `registered-action` subpath for one disposable local-test order action, with existing-ledger admission, restart/schema-loss rejection and startup SQLite admission locking. Requires Node 24.15+ and persistent same-machine state. No default registered provider action is added.
- Pin the helper to published SDK 0.1.25. SDK source/API is unchanged by this release.
-- Preserve the eight-tool default developer surface and existing stdio proxy. Node 20+ remains supported for these modes.
+- Preserve the eight-tool default developer surface and existing stdio proxy. Node 20+ remains supported for the default helper; SQLite proxy mode requires Node 24.15+.
- Exclude the private experimental GitHub adapter/host from the public tarball and exports. The repository utility produces a separate unpublished `private: true` bundle using the unchanged provider implementation.
-The real private GitHub trial recorded one protected POST/effect through acknowledgement loss, durable UNKNOWN, positive GET reconciliation to CONFIRMED, retained replay and changed-effect CONFLICT. Installed protected routing was also observed. The disabled-lookup retry was **not** live-tested. Approximately 160 seconds was time to first positive observation, **not** a measured consistency delay. This evidence does not establish public plugin provisioning/update readiness.
-
Once protects only actions routed through an admitted boundary. UNKNOWN is not permission to execute again; authoritative matching provider evidence can recover a prior effect. Raw sibling connectors remain outside protection. No universal exactly-once claim is made.
Public website and existing plugin pins remain at their confirmed published versions until npm publication is independently verified. No SDK or public GitHub plugin release is included.
diff --git a/mcp/COMPATIBILITY.md b/mcp/COMPATIBILITY.md
new file mode 100644
index 00000000..296d8528
--- /dev/null
+++ b/mcp/COMPATIBILITY.md
@@ -0,0 +1,74 @@
+# MCP compatibility and execution authority
+
+This is the authoritative compatibility matrix for the public MCP package.
+The source candidate is MCP **0.2.1**; currently verified npm/Registry MCP is
+**0.2.0** and SDK is **0.1.25**. Published site versions remain in
+`docs/published-versions.json` until publication is independently verified.
+
+| Surface | Version / pin | Node minimum | What installation provides |
+|---|---|---|---|
+| Default MCP helper | Candidate 0.2.1; published 0.2.0 | 20 | Eight assessment/setup tools; no protected provider action |
+| Explicit MCP stdio proxy | Same MCP package | 24.15 | Only reviewed/configured upstream tool boundaries |
+| Opt-in registered local-test order action | Introduced in MCP 0.2.0 | 24.15 | Host-owned disposable action; original valid same-machine ledger required |
+| TypeScript SDK hosted client | Published 0.1.25 | 18 | Explicit hosted integration; credentials/provider setup required |
+| SDK local SQLite / Connect / wrapTool | Published 0.1.25 | 24.15 | Only actions actually routed through that boundary |
+| OpenAI/Codex plugin | Manifest 0.1.1; retained MCP pin 0.1.5 | 20 for helper | Developer helper surface; separate plugin review/release required |
+| Claude Code plugin | Manifest 0.1.0; retained MCP pin 0.1.5 | 20 for helper | Developer helper surface; separate plugin review/release required |
+| Private experimental adapter/host | Excluded from public npm | 24.15 | Separately provisioned private capability; no public connector support |
+
+Use Node 24.15 or later when evaluating all public local modes. Package engines
+declare Node 20 because the default helper supports it; they do not authorize
+SQLite proxy/registered actions on Node 20. Plugin pins intentionally differ
+from latest npm and must not be advanced merely to match numbers. The retained
+MCP 0.1.5 helper does not contain the 0.2.1 verification correction.
+
+## Installing MCP does not intercept sibling connectors
+
+Default installation exposes assessment, planning, approved setup/protection,
+diagnostics and historical proof information. An action is protected only when
+it is routed through an admitted Once execution boundary. The registered helper
+is opt-in; the proxy needs explicit reviewed upstream configuration and catalog
+binding. Existing GitHub, Adobe and other sibling connectors are outside that
+boundary unless separately integrated through a supported route. Their presence
+in the same agent does not give Once authority over them.
+
+## The ledger is execution authority, not a disposable cache
+
+Changing, deleting, replacing, resetting, rolling back or switching to another
+valid ledger changes protection history and may permit an external effect to
+execute again. **The same filesystem path does not prove the same execution
+history.** UNKNOWN blocks redispatch in retained history; losing that history is
+a separate boundary.
+
+Fresh installation deliberately provisions a new authority before its first
+operation. Continuation/restart must admit and retain the original authority;
+never automatically create a replacement when expected state is absent. Every
+cooperating local caller must share the same original persistent same-machine
+ledger. Separate files/hosts and network filesystems are not supported.
+
+Backups must preserve a consistent SQLite snapshot including the relevant WAL
+state. Restoring an older or unrelated valid snapshot can erase dispatch records
+for effects that already happened; a successful integrity check cannot prove
+continuity. Stop writers and reconcile recovery with authoritative provider
+evidence before resuming. Do not reset state or mint a new identity to unblock
+UNKNOWN. A backup restoration alone does not authorize replaying uncertain
+writes.
+
+Registered-action admission rejects missing, empty, corrupt and schema-lost
+expected state. A running session can detect supported path loss/replacement.
+These checks do not authenticate valid-looking row deletion, historical rollback
+or substitution of another valid database after shutdown. Direct SDK callers and
+other boundaries must not be assumed to have this registered-action admission
+guard.
+
+## Ledger identity decision
+
+No ledger-generation mechanism is added in 0.2.1. An immutable ID with a trusted
+host pin can detect a different instance, but a rolled-back copy of the same
+instance retains its ID. An adjacent replaceable pin file is not independent
+authority. A future opt-in design needs explicit provisioning/migration, trusted
+pin storage, fail-closed startup and separately proven rollback protection; it
+must not silently reinitialize existing users or imply continuity from an ID.
+
+UNKNOWN is never permission to execute again. Changed effect under the same
+logical identity conflicts. No universal exactly-once claim is made.
diff --git a/mcp/README.md b/mcp/README.md
index f67f3001..05e13437 100644
--- a/mcp/README.md
+++ b/mcp/README.md
@@ -8,6 +8,10 @@ Once is relevant when an agent or application can retry a real-world side effect
Examples include payments, refunds, payouts, bookings, orders, account or infrastructure provisioning, database/API mutations, side-effecting webhooks, consequential messages, production deployments, and MCP/tool calls that change external state.
+> Default installation exposes eight developer assessment/setup tools. It does **not** automatically protect arbitrary sibling GitHub/Adobe/other connectors. Protection requires routing an action through an admitted Once boundary. The registered action is opt-in; the proxy protects only reviewed/configured upstream boundaries.
+
+[Authoritative compatibility and ledger-continuity matrix](COMPATIBILITY.md).
+
## What this MCP server does
The MCP layer is for **AI builders and coding agents**. It helps them discover risky operations, explain the risk, preview setup/protection, apply approved changes, and verify the Once Cloud connection.
@@ -22,7 +26,7 @@ The production application agent does not need to remember to call an MCP tool b
- `once_setup_project` — install/configure Once after explicit approval (`confirm: "SETUP"`).
- `once_plan_protection` — review protection candidates without modifying source.
- `once_apply_protection` — transactionally apply exactly one PATCHABLE candidate after explicit approval (`confirm: "APPLY"`).
-- `once_verify_connection` — run Once Doctor against the configured Once Cloud API key.
+- `once_verify_connection` — preserve local diagnostics and explicitly report whether configured Cloud checks passed. See the output contract below.
- `once_live_proof` — return the demonstrated live proof and claim boundaries.
## Safety model
@@ -47,9 +51,9 @@ Safe language:
## Requirements
-- Node.js 20+
+- Node.js 20+ for the default developer helper; see [COMPATIBILITY.md](COMPATIBILITY.md).
- Node.js 24.15+ for `once-mcp proxy` (durable local SQLite state)
-- `ONCE_API_KEY` only when using `once_verify_connection` or a configured Once integration that requires Cloud access
+- `ONCE_API_KEY` for requested Cloud checks/integrations; without it `once_verify_connection` returns local diagnostics and Cloud unconfigured/unverified
## Install from npm
@@ -93,7 +97,7 @@ npx -y @once-agent/mcp@0.2.0 proxy --config .once/mcp.json
The config must name the upstream command, pin the SHA-256 digest of its reviewed complete `tools/list` catalog, and specify protection decisions and identity/effect fields for consequential tools. It requires `serverId`, `command`, `args`, `statePath`, `expectedCatalogSha256`, and `tools`; each tool policy sets `decision` to `PROTECT` or `BYPASS`. The proxy refuses a changed catalog and preserves an unknown outcome after an ambiguous upstream error. Keep its SQLite state path durable and private. The [source regression](https://github.com/stringsofthemind-oss/once/blob/main/mcp/scripts/phase13b-stdio-e2e.mjs) includes a disposable example config.
-Source builds after MCP 0.1.4 also support optional bounded upstream waits:
+Public MCP 0.2.0 and later include optional bounded upstream waits:
```json
{
@@ -105,7 +109,7 @@ Source builds after MCP 0.1.4 also support optional bounded upstream waits:
}
```
-Each timeout must be an integer from 50 to 300000 milliseconds. The defaults shown above prevent a hung upstream process from holding the agent indefinitely. A catalog/connect timeout occurs before tool dispatch. A protected `tools/call` timeout is treated as an ambiguous post-dispatch outcome: Once invalidates that upstream channel and the existing durable safety state remains `UNKNOWN` until provider truth can reconcile it. These controls are source-only until a later MCP package release is explicitly approved.
+Each timeout must be an integer from 50 to 300000 milliseconds. The defaults shown above prevent a hung upstream process from holding the agent indefinitely. A catalog/connect timeout occurs before tool dispatch. A protected `tools/call` timeout is treated as an ambiguous post-dispatch outcome: Once invalidates that upstream channel and the existing durable safety state remains `UNKNOWN` until provider truth can reconcile it. These controls are included in the public npm artifact; their timeout behavior is bounded to the configured upstream channel.
## Local development
@@ -160,8 +164,30 @@ host, receipt and read-only reconciliation contract and reproducible tests.
This helper is new in MCP 0.2.0 and is not enabled by the default
OpenAI plugin. The helper mode, existing proxy and SDK APIs remain available.
Arbitrary Adobe/GitHub/other connector invocation remains unsupported.
-# Private experimental GitHub issue host (excluded from public npm)
-
-The GitHub adapter, host executable and private installation guide are excluded from the public npm artifact. The source-only private bundle utility stages them in a separate `private: true` package; it never publishes. The private registration creates issues only for host-provisioned task references in one verified private personal repository. The public default MCP executable remains the eight-tool developer surface. See the repository's `mcp/GITHUB_ISSUE_LOCAL.md` for private provisioning and evidence limits. No existing ChatGPT connector is wrapped and no credential forwarding is provided.
-
-Default helper/proxy mode supports Node 20+. The opt-in registered local-test action requires Node 24.15+ and the original valid host-provisioned same-machine ledger. Missing or incompatible expected state fails closed. UNKNOWN never authorizes blind redispatch. Only complete matching authoritative evidence can recover a prior result; changed effect under the same identity conflicts. These are bounded guarantees, not universal exactly-once execution.
+## Public package isolation
+
+Private experimental adapters, hosts, configuration and evidence are excluded
+from the public npm artifact. They do not add public connector support.
+The default helper requires Node 20+; the SQLite proxy and registered local-test
+action require Node 24.15+. See the compatibility matrix above.
+
+## Connection verification output (0.2.1 candidate)
+
+The eight tool names and empty input of `once_verify_connection` are unchanged.
+Existing `command`, `cwd`, `exitCode`, `timedOut`, `stdout` and `stderr` fields
+remain local diagnostics. `ok` means local diagnostics succeeded and, when a
+nonempty ONCE_API_KEY is supplied, the requested Cloud check succeeded. It does
+not mean that Cloud is configured or that a provider action is protected.
+
+Additional fields are `localValidated`, `cloudConfigured`, `cloudVerified`, and
+`cloudStatus` (`unconfigured`, `verified`, `failed`). `localValidated` means the
+local diagnostic command succeeded, not production execution readiness. Without
+a key, local success may return ok:true with cloudVerified:false. With a key,
+the tool also invokes the pinned CLI's `doctor --connection`; its diagnostics
+are in `cloudCheck`. A failed Cloud check returns ok:false and isError:true,
+even if local diagnostics succeeded. A local-only scan cannot verify Cloud.
+Cloud verification covers the read-only truth/safety probe, not arbitrary
+providers, actual consequential writes, or universal exactly-once execution.
+
+Retained MCP 0.1.5 plugin launchers do not contain this correction. Updating
+their pin or provisioning a new action requires separate review.
diff --git a/mcp/REGISTERED_ACTION.md b/mcp/REGISTERED_ACTION.md
index 544d248c..bf86b69b 100644
--- a/mcp/REGISTERED_ACTION.md
+++ b/mcp/REGISTERED_ACTION.md
@@ -167,26 +167,36 @@ not simulate a new execution right. Windows locks open SQLite files, so the
state test injects schema corruption and verifies missing-state restart. Live
path replacement is additionally exercised on platforms that permit the rename.
-## Package reality (7 October 2026)
-
-* Published MCP 0.1.5 pins SDK 0.1.14 and lacks this helper.
-* This branch pins SDK 0.1.25. Its published root and `connect` exports supply all
- primitives used here; a new SDK release is not needed for this implementation.
-* The branch's package version still says 0.1.5. Its locally packed artifact is
- different from published 0.1.5 and must receive a new MCP version before any
- eventual release. Do not overwrite or describe it as the published package.
-* The repository OpenAI plugin is version 0.1.1 and launches MCP 0.1.5 helper
- mode. It remains unchanged. An eventual plugin update must pin the new MCP
- version, provision an explicitly approved host capability/ledger/admission
- boundary, and advertise its protected alias. Updating a package pin alone
- cannot register an action or invoke a sibling opaque connector.
-* No npm publication, plugin rollout, merge, release, deployment or public
- infrastructure change is part of this work.
-
-A future agent could use this action when the trusted fixture host is explicitly
-connected. This test supplies MCP client calls, not a new 6.1 model-run transcript
-or an installed ChatGPT plugin end-to-end reproduction. Arbitrary Adobe/GitHub
-connector execution remains unsupported.
+## Public package and retained plugin pins
+
+The helper is published in MCP 0.2.0 and retained in the 0.2.1 candidate,
+using published SDK 0.1.25. The OpenAI/Codex plugin remains manifest 0.1.1
+and the Claude plugin 0.1.0; both intentionally launch MCP 0.1.5 helper mode.
+No plugin pin or private adapter is released by this hardening pass. The
+registered action needs explicit trusted host registration; updating a package
+pin alone cannot register it or invoke sibling connectors.
+
+See [COMPATIBILITY.md](COMPATIBILITY.md) for the authoritative Node/version
+matrix and execution-history continuity boundary. Source-repository test
+commands above require a checkout; those tests are not shipped in npm.
+
+### Deliberate first-install provisioning only
+
+```js
+import { createLocalProtectionSession } from '@once-agent/sdk/connect';
+const initial = createLocalProtectionSession('/absolute/persistent/operations.sqlite');
+await initial.databaseForCall();
+initial.close();
+```
+
+Use this only for an explicitly fresh installation, never as restart recovery.
+Normal startup calls registerProtectedOrderAction against the original expected
+ledger. The ledger is part of execution authority: replacing/resetting/rolling
+back a valid ledger, even at the same path, may authorize another external effect.
+A backup must retain consistent SQLite history; restoring older valid state can
+lose records of effects that already happened. Admission cannot detect all
+valid-looking rollback or deletion. UNKNOWN blocking assumes history is retained.
+
# Existing-ledger admission repair
Registration now uses a non-mutating admission guard before the SDK session is opened, holding a SQLite startup transaction across that open. It validates the existing operations table, columns, state constraint, basic row validity and SQLite integrity, then verifies file identity and schema version again after opening. Every tool call rechecks admission; a failure permanently invalidates that host session. Missing, empty, corrupt or schema-lost ledgers are not initialized or repaired. The original SDK remains 0.1.25; this guard protects the opt-in MCP boundaries, not every direct SDK caller. Explicit fresh-install provisioning remains separate. Valid-looking row deletion or ledger rollback cannot be detected solely from the remaining SQLite file and is outside this corruption-detection guarantee.
diff --git a/mcp/package-lock.json b/mcp/package-lock.json
index 8044e279..118e56c4 100644
--- a/mcp/package-lock.json
+++ b/mcp/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@once-agent/mcp",
- "version": "0.2.0",
+ "version": "0.2.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@once-agent/mcp",
- "version": "0.2.0",
+ "version": "0.2.1",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/client": "2.0.0",
diff --git a/mcp/package.json b/mcp/package.json
index f6ba448f..e8909778 100644
--- a/mcp/package.json
+++ b/mcp/package.json
@@ -1,6 +1,6 @@
{
"name": "@once-agent/mcp",
- "version": "0.2.0",
+ "version": "0.2.1",
"mcpName": "io.github.stringsofthemind-oss/once",
"description": "MCP idempotency and AI agent retry safety for consequential writes and ambiguous timeouts.",
"type": "module",
@@ -31,7 +31,8 @@
"README.md",
"REGISTERED_ACTION.md",
"CHANGELOG.md",
- "LICENSE"
+ "LICENSE",
+ "COMPATIBILITY.md"
],
"scripts": {
"build": "tsc -p tsconfig.json",
@@ -43,7 +44,8 @@
"smoke": "npm run build && node scripts/smoke.mjs && node scripts/proxy-smoke.mjs",
"inspect": "npx @modelcontextprotocol/inspector node dist/index.js",
"test:github-issue": "npm run build && node --test test/github-issue.test.mjs",
- "build:private-github": "node ../scripts/build-private-github-plugin.mjs"
+ "build:private-github": "node ../scripts/build-private-github-plugin.mjs",
+ "test:connection": "npm run build && node --test test/connection-verification.test.mjs"
},
"keywords": [
"mcp",
diff --git a/mcp/release-artifact.json b/mcp/release-artifact.json
index 723c7031..380a5519 100644
--- a/mcp/release-artifact.json
+++ b/mcp/release-artifact.json
@@ -1,7 +1,7 @@
{
"name": "@once-agent/mcp",
- "version": "0.2.0",
- "integrity": "sha512-W3m4Q/9yCYsEZn5lTAdglFWGdnYyEwshF7pzi5pcBNW7joCO7vlT4pKFxBIB7Ilzh+sVRkUUZJZldnlJMvXimg==",
- "sha256": "44b4e34e013e2c7a862f59caec7f5edfe22d7a27af16016fc523c59c3d08c3cc",
- "files": 18
+ "version": "0.2.1",
+ "integrity": "sha512-M4lofyqx/bLlQC1K88ECb7M2ETTL8aoURHZl96yuFZ03DGiufN1mqKb5A2/w6cQozNKNiiV8U5PQX2burWWLRg==",
+ "sha256": "4afa6a507f788ca51253c27d610120322050be0f737b87371e924c9916b99534",
+ "files": 19
}
diff --git a/mcp/scripts/smoke.mjs b/mcp/scripts/smoke.mjs
index f26d3c6f..48a52fab 100644
--- a/mcp/scripts/smoke.mjs
+++ b/mcp/scripts/smoke.mjs
@@ -26,7 +26,7 @@ try {
await client.connect(transport);
const serverVersion = client.getServerVersion();
- if (serverVersion?.name !== "once-agent" || serverVersion.version !== "0.2.0") {
+ if (serverVersion?.name !== "once-agent" || serverVersion.version !== "0.2.1") {
throw new Error(
`Unexpected MCP server identity/version: ${JSON.stringify(serverVersion)}`
);
diff --git a/mcp/server.json b/mcp/server.json
index fdd921e2..3951e323 100644
--- a/mcp/server.json
+++ b/mcp/server.json
@@ -1,23 +1,23 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.stringsofthemind-oss/once",
- "description": "Execution-safety MCP for AI coding agents protecting consequential writes from unsafe retries.",
+ "description": "Developer assessment/setup MCP; protection requires an admitted execution boundary, not sibling connectors.",
"repository": {
"url": "https://github.com/stringsofthemind-oss/once",
"source": "github"
},
- "version": "0.2.0",
+ "version": "0.2.1",
"packages": [
{
"registryType": "npm",
"identifier": "@once-agent/mcp",
- "version": "0.2.0",
+ "version": "0.2.1",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
- "description": "Optional Once Cloud API key. Required only for tools or integrations that contact Once Cloud, such as once_verify_connection.",
+ "description": "Optional key for Cloud checks. Without it once_verify_connection reports Cloud unconfigured/unverified and preserves local diagnostics.",
"isRequired": false,
"format": "string",
"isSecret": true,
diff --git a/mcp/src/index.ts b/mcp/src/index.ts
index d98c1fa3..2b24ed5b 100644
--- a/mcp/src/index.ts
+++ b/mcp/src/index.ts
@@ -10,7 +10,7 @@ import { serveStdio } from "@modelcontextprotocol/server/stdio";
import * as z from "zod/v4";
const SERVER_NAME = "once-agent";
-const SERVER_VERSION = "0.2.0";
+const SERVER_VERSION = "0.2.1";
const MAX_OUTPUT_CHARS = 250_000;
const DEFAULT_TIMEOUT_MS = 120_000;
@@ -175,7 +175,7 @@ function createServer(): McpServer {
name: SERVER_NAME,
version: SERVER_VERSION,
description:
- "Execution-safety tools for AI coding agents. Use Once when a project performs consequential writes that may be retried after timeouts, crashes, lost responses, or other ambiguous outcomes."
+ "Developer assessment/setup tools for execution safety. Installation alone does not protect sibling connectors; writes must be routed through an admitted Once boundary."
});
server.registerTool(
@@ -431,9 +431,9 @@ function createServer(): McpServer {
server.registerTool(
"once_verify_connection",
{
- title: "Verify Once Cloud connection",
+ title: "Validate local diagnostics and configured Once Cloud connection",
description:
- "Run Once Doctor to verify that ONCE_API_KEY is present, Once Cloud is reachable, the key is accepted, the truth endpoint works, and the safety probe passes. Does not print the API key.",
+ "Run local read-only diagnostics. With ONCE_API_KEY, also request Cloud connection/truth checks. Read cloudVerified explicitly: ok means the requested diagnostics passed, not that Cloud is configured or any provider action is protected. Does not print the API key.",
inputSchema: z.object({}),
annotations: {
readOnlyHint: true,
@@ -443,12 +443,41 @@ function createServer(): McpServer {
}
},
async () => {
+ const cloudConfigured = Boolean(process.env.ONCE_API_KEY?.trim());
try {
const cwd = process.cwd();
const run = await runOnce(["doctor"], cwd);
- return commandResult("ONCE DOCTOR", run);
+ const local = commandResult("ONCE LOCAL DIAGNOSTICS", run);
+ const cloudRun = cloudConfigured ? await runOnce(["doctor", "--connection"], cwd) : null;
+ // The SDK is pinned. A zero exit alone must not turn a local-only CLI
+ // result into Cloud verification if its behavior changes or falls back.
+ const cloudVerified = cloudRun !== null && cloudRun.exitCode === 0 && !cloudRun.timedOut &&
+ ["HOSTED CONNECTION", "✓ Once API reachable", "✓ API key accepted", "✓ Truth endpoint working", "✓ Safety probe passed"]
+ .every(marker => cloudRun.stdout.includes(marker));
+ const ok = local.structuredContent.ok && (!cloudConfigured || cloudVerified);
+ const cloudStatus = !cloudConfigured ? "unconfigured" : cloudVerified ? "verified" : "failed";
+ return {
+ ...local,
+ content: [{ type: "text" as const, text: [
+ `Local diagnostics: ${local.structuredContent.ok ? "passed" : "failed"}. Cloud: ${cloudStatus}.`,
+ "ok describes requested diagnostics only; cloudVerified is the Cloud check result. Neither proves provider protection.",
+ local.content[0].text,
+ ...(cloudRun ? [runText("ONCE CLOUD CONNECTION CHECK", cloudRun)] : ["Cloud is unconfigured and unverified: ONCE_API_KEY was not supplied."])
+ ].join("\n\n") }],
+ structuredContent: {
+ ...local.structuredContent, ok,
+ localValidated: local.structuredContent.ok,
+ cloudConfigured, cloudVerified, cloudStatus,
+ ...(cloudRun ? { cloudCheck: cloudRun } : {})
+ },
+ isError: !ok
+ };
} catch (error) {
- return failureResult(error);
+ const failure = failureResult(error);
+ return { ...failure, structuredContent: {
+ ...failure.structuredContent, localValidated: false, cloudConfigured,
+ cloudVerified: false, cloudStatus: cloudConfigured ? "failed" : "unconfigured"
+ } };
}
}
);
@@ -495,6 +524,7 @@ function createServer(): McpServer {
text: [
"ONCE LIVE PROOF",
"",
+ "Historical evidence (release 0.1.5), not the installed MCP version or a new live check:",
"Tested live Cloudflare staging scenario:",
"- 2 identical Runtime attempts",
"- 1 provider execution",
diff --git a/mcp/test/connection-verification.test.mjs b/mcp/test/connection-verification.test.mjs
new file mode 100644
index 00000000..97a775a0
--- /dev/null
+++ b/mcp/test/connection-verification.test.mjs
@@ -0,0 +1,75 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import { createServer } from 'node:http';
+import { mkdtempSync, rmSync } from 'node:fs';
+import os from 'node:os';
+import path from 'node:path';
+import { createRequire } from 'node:module';
+import { Client } from '@modelcontextprotocol/client';
+import { StdioClientTransport } from '@modelcontextprotocol/client/stdio';
+
+const entry = createRequire(import.meta.url).resolve('@once-agent/mcp');
+async function verify(t, key, baseUrl) {
+ const cwd = mkdtempSync(path.join(os.tmpdir(), 'once-connection-consumer-'));
+ const client = new Client({ name: 'connection-regression', version: '1' });
+ const transport = new StdioClientTransport({ command: process.execPath, args: [entry], cwd,
+ env: { ...process.env, ONCE_API_KEY: key, ONCE_BASE_URL: baseUrl }, stderr: 'pipe' });
+ t.after(async () => { await client.close(); rmSync(cwd, { recursive: true, force: true }); });
+ await client.connect(transport);
+ return client.callTool({ name: 'once_verify_connection', arguments: {} });
+}
+async function cloud(t, response, status = 200) {
+ const calls = [];
+ const server = createServer((req, res) => {
+ calls.push({ method: req.method, path: req.url });
+ assert.equal(req.headers.authorization, 'Bearer fixture-only-key');
+ res.writeHead(status, { 'Content-Type': 'application/json' }); res.end(JSON.stringify(response));
+ });
+ await new Promise(resolve => server.listen(0, '127.0.0.1', resolve));
+ t.after(() => new Promise(resolve => server.close(resolve)));
+ return { base: `http://127.0.0.1:${server.address().port}`, calls };
+}
+test('no credential preserves local diagnostics without claiming Cloud verification', async t => {
+ for (const key of ['', ' ']) {
+ const response = await verify(t, key, 'http://127.0.0.1:1');
+ const result = response.structuredContent;
+ assert.equal(result.ok, true); assert.equal(response.isError, false);
+ assert.equal(result.localValidated, true); assert.equal(result.cloudConfigured, false);
+ assert.equal(result.cloudVerified, false); assert.equal(result.cloudStatus, 'unconfigured');
+ assert.deepEqual(result.command, ['once', 'doctor']); assert.equal(result.exitCode, 0);
+ for (const field of ['cwd','stdout','stderr','timedOut']) assert.ok(field in result);
+ assert.match(response.content[0].text, /unconfigured and unverified/);
+ assert.equal(result.cloudCheck, undefined);
+ }
+});
+test('configured Cloud success needs actual read-only truth/safety checks', async t => {
+ const fixture = await cloud(t, { operation_id: 'probe', ledger_state: 'ABSENT', side_effects: 0 });
+ const response = await verify(t, 'fixture-only-key', fixture.base);
+ assert.equal(response.isError, false); assert.equal(response.structuredContent.ok, true);
+ assert.equal(response.structuredContent.localValidated, true);
+ assert.equal(response.structuredContent.cloudConfigured, true);
+ assert.equal(response.structuredContent.cloudVerified, true);
+ assert.equal(response.structuredContent.cloudStatus, 'verified');
+ assert.deepEqual(response.structuredContent.cloudCheck.command, ['once','doctor','--connection']);
+ assert.equal(fixture.calls.length, 1); assert.equal(fixture.calls[0].method, 'GET');
+ assert.match(fixture.calls[0].path, /^\/v1\/truth\/doctor-/);
+ assert.doesNotMatch(JSON.stringify(response), /fixture-only-key/);
+});
+test('failed Cloud authentication cannot be masked by successful local scan', async t => {
+ const fixture = await cloud(t, { error: { code: 'UNAUTHORIZED', message: 'Invalid key' } }, 401);
+ const response = await verify(t, 'fixture-only-key', fixture.base);
+ assert.equal(response.structuredContent.localValidated, true);
+ assert.equal(response.structuredContent.cloudConfigured, true);
+ assert.equal(response.structuredContent.cloudVerified, false);
+ assert.equal(response.structuredContent.cloudStatus, 'failed');
+ assert.equal(response.structuredContent.ok, false); assert.equal(response.isError, true);
+ assert.equal(fixture.calls.length, 1);
+ assert.doesNotMatch(JSON.stringify(response), /fixture-only-key/);
+});
+test('reachable truth endpoint with unsafe probe result is not Cloud verified', async t => {
+ const fixture = await cloud(t, { ledger_state: 'UNKNOWN', side_effects: 1 });
+ const response = await verify(t, 'fixture-only-key', fixture.base);
+ assert.equal(response.structuredContent.localValidated, true);
+ assert.equal(response.structuredContent.cloudVerified, false);
+ assert.equal(response.structuredContent.ok, false); assert.equal(response.isError, true);
+});
diff --git a/mcp/test/registered-action-package.mjs b/mcp/test/registered-action-package.mjs
index ae6c9390..367da1cd 100644
--- a/mcp/test/registered-action-package.mjs
+++ b/mcp/test/registered-action-package.mjs
@@ -32,7 +32,7 @@ try {
const privateImport = spawnSync(process.execPath, ['--input-type=module', '-e', "import('@once-agent/mcp/dist/github-issue.js')"], { cwd: consumer, encoding: 'utf8', windowsHide: true });
assert.notEqual(privateImport.status, 0, 'Private GitHub adapter must be unavailable to a public consumer.');
cpSync(path.join(root, 'test'), path.join(consumer, 'test'), { recursive: true });
- const results = run(process.execPath, ['--test', 'test/registered-action.test.mjs'], consumer);
+ const results = run(process.execPath, ['--test', 'test/registered-action.test.mjs', 'test/connection-verification.test.mjs'], consumer);
cpSync(path.join(root, 'scripts', 'smoke.mjs'), path.join(consumer, 'smoke.mjs'));
console.log(run(process.execPath, [path.join(consumer, 'smoke.mjs')], path.join(consumer, 'node_modules', '@once-agent', 'mcp')));
console.log(results);
diff --git a/plugins/claude-code/once/README.md b/plugins/claude-code/once/README.md
index ea70051d..720315c4 100644
--- a/plugins/claude-code/once/README.md
+++ b/plugins/claude-code/once/README.md
@@ -46,3 +46,12 @@ When an outcome cannot be established safely, Once can preserve uncertainty inst
- MCP package: https://www.npmjs.com/package/@once-agent/mcp
- MCP Registry: io.github.stringsofthemind-oss/once
- Source: https://github.com/stringsofthemind-oss/once
+
+## Execution boundary and compatibility
+
+This retained plugin exposes developer assessment/setup tools, not automatic
+protection of sibling GitHub/Adobe/other connectors. It intentionally pins MCP
+0.1.5; a new npm MCP release is not a plugin update. Only actions routed through
+an admitted boundary are protected; registered actions are opt-in and a proxy
+requires reviewed upstream configuration. UNKNOWN never authorizes redispatch.
+See [compatibility and ledger continuity](../../../mcp/COMPATIBILITY.md).
diff --git a/plugins/openai/once/README.md b/plugins/openai/once/README.md
index 319e2b6f..a54d31e2 100644
--- a/plugins/openai/once/README.md
+++ b/plugins/openai/once/README.md
@@ -60,3 +60,12 @@ This package is for Git-backed Codex/ChatGPT desktop marketplace testing first.
# Private GitHub issue canary (unreleased)
The branch includes a separate self-contained private bundle builder: from `mcp`, run `npm run build:private-github -- ABSOLUTE_NEW_BUNDLE_DIRECTORY`. Its generated marketplace installs a local protected GitHub issue host rather than the default published builder MCP. It uses published SDK 0.1.25 and the locally packed, unpublished branch artifact. Credentials, host configuration, durable intent mapping, original ledger and operator fault controls stay outside plugin source/cache. See `mcp/GITHUB_ISSUE_LOCAL.md` for exact provisioning, installed Work requirements and evidence boundaries. This does not publish the plugin or establish automatic GPT-6.1 routing.
+
+## Execution boundary and compatibility
+
+This retained plugin exposes developer assessment/setup tools, not automatic
+protection of sibling GitHub/Adobe/other connectors. It intentionally pins MCP
+0.1.5; a new npm MCP release is not a plugin update. Only actions routed through
+an admitted boundary are protected; registered actions are opt-in and a proxy
+requires reviewed upstream configuration. UNKNOWN never authorizes redispatch.
+See [compatibility and ledger continuity](../../../mcp/COMPATIBILITY.md).
diff --git a/plugins/openai/once/skills/protect-consequential-writes/SKILL.md b/plugins/openai/once/skills/protect-consequential-writes/SKILL.md
index 4eee1072..b4ffc308 100644
--- a/plugins/openai/once/skills/protect-consequential-writes/SKILL.md
+++ b/plugins/openai/once/skills/protect-consequential-writes/SKILL.md
@@ -70,7 +70,7 @@ Only claim automatic routing after a real installed GPT-6.1 tool trace demonstra
7. **Verify** — run `once_verify_connection` when Cloud verification is relevant, or use:
- `npx --yes --package=@once-agent/sdk@0.1.25 once doctor`
+ `npx --yes --package=@once-agent/sdk@0.1.25 once doctor --connection`
Do not expose `ONCE_API_KEY` in output, source code, patches, logs, or committed configuration.
@@ -116,3 +116,13 @@ When finished, report:
- any provider mapping, adapter, or reconciliation work still required.
For representative positive and negative routing examples, read `references/routing-cases.md`.
+
+## Public helper and state boundary
+
+Default MCP installation exposes eight developer tools and does not protect
+sibling connectors. The opt-in registered action and reviewed/configured proxy
+require admitted execution paths. Preserve the original execution history, not
+just its path: ledger replacement/reset/rollback can permit another effect.
+UNKNOWN is never permission to execute again. Read cloudVerified explicitly in
+MCP 0.2.1; retained MCP 0.1.5 plugins lack that correction. CLI Cloud verification
+requires doctor --connection. See the repository mcp/COMPATIBILITY.md matrix.
diff --git a/scripts/mcp-public-contract.test.mjs b/scripts/mcp-public-contract.test.mjs
new file mode 100644
index 00000000..822a340a
--- /dev/null
+++ b/scripts/mcp-public-contract.test.mjs
@@ -0,0 +1,36 @@
+import assert from 'node:assert/strict';
+import test from 'node:test';
+import { readFileSync } from 'node:fs';
+const read = file => readFileSync(new URL('../'+file, import.meta.url),'utf8');
+const json = file => JSON.parse(read(file));
+test('candidate metadata aligns without advancing published site or reviewed plugin authority',()=>{
+ const pkg=json('mcp/package.json'), manifest=json('mcp/server.json'), lock=json('mcp/package-lock.json');
+ assert.equal(manifest.version,pkg.version);
+ assert.equal(manifest.packages[0].version,pkg.version); assert.equal(lock.version,pkg.version);
+ assert.equal(lock.packages[''].version,pkg.version); assert.equal(pkg.dependencies['@once-agent/sdk'],'0.1.25');
+ const published=json('docs/published-versions.json');
+ assert.equal(pkg.dependencies['@once-agent/sdk'],published.ts);
+ for(const host of ['openai','claude-code'])assert.ok(read(`plugins/${host}/once/scripts/once-mcp.cjs`).includes(`@once-agent/mcp@${published.pluginMcp}`));
+});
+test('public compatibility distinguishes helper Node engines from local SQLite modes',()=>{
+ assert.equal(json('mcp/package.json').engines.node,'>=20');
+ const matrix=read('mcp/COMPATIBILITY.md').replace(/\s+/g,' ');
+ assert.match(matrix,/Default MCP helper[^\n]*\| 20 \|/);
+ assert.match(matrix,/Explicit MCP stdio proxy[^\n]*\| 24\.15 \|/);
+ assert.match(matrix,/registered local-test order action[^\n]*\| 24\.15 \|/);
+ assert.match(matrix,/Private experimental adapter\/host[^\n]*Excluded from public npm[^\n]*24\.15/);
+ assert.ok(json('mcp/package.json').files.includes('COMPATIBILITY.md'));
+ assert.doesNotMatch(read('mcp/README.md'),/Default helper\/proxy mode supports Node 20|controls are source-only/);
+ assert.doesNotMatch(read('mcp/REGISTERED_ACTION.md'),/branch's package version still says|eventual release/);
+});
+test('continuity warning distinguishes preserved path from preserved authority',()=>{
+ const matrix=read('mcp/COMPATIBILITY.md');
+ for(const phrase of ['same filesystem path','Fresh installation','Continuation/restart','Backups','rolled-back copy','UNKNOWN','another valid database'])assert.ok(matrix.includes(phrase),phrase);
+ for(const file of ['README.md','docs/index.html','docs/quickstart/index.html'])assert.match(read(file),/same filesystem path/);
+ assert.match(matrix,/registered-action admission\s+guard/);
+});
+test('default MCP boundary and local versus Cloud contract are explicit in public docs',()=>{
+ const readme=read('mcp/README.md');
+ for(const phrase of ['eight developer','registered action is opt-in','reviewed/configured','cloudVerified','localValidated','ok:false','0.1.5'])assert.ok(readme.includes(phrase),phrase);
+ for(const file of ['docs/claude-code-mcp-safe-retries/index.html','docs/cursor-mcp-safe-retries/index.html','docs/mcp-idempotency/index.html','docs/mcp-retry-safety/index.html'])assert.match(read(file),/does not automatically protect sibling/);
+});
From 8fdef56d5d65325a574fca976a801e358cb89f75 Mon Sep 17 00:00:00 2001
From: ONCE <325000613+stringsofthemind-oss@users.noreply.github.com>
Date: Thu, 8 Oct 2026 04:13:47 +0100
Subject: [PATCH 2/3] [CF-Pages-Skip] fix(mcp): respect Registry description
limit
---
mcp/server.json | 2 +-
scripts/mcp-public-contract.test.mjs | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/mcp/server.json b/mcp/server.json
index 3951e323..08e5b80f 100644
--- a/mcp/server.json
+++ b/mcp/server.json
@@ -1,7 +1,7 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.stringsofthemind-oss/once",
- "description": "Developer assessment/setup MCP; protection requires an admitted execution boundary, not sibling connectors.",
+ "description": "Developer assessment/setup MCP; admitted Once boundaries protect writes, not sibling connectors.",
"repository": {
"url": "https://github.com/stringsofthemind-oss/once",
"source": "github"
diff --git a/scripts/mcp-public-contract.test.mjs b/scripts/mcp-public-contract.test.mjs
index 822a340a..27d1cdd9 100644
--- a/scripts/mcp-public-contract.test.mjs
+++ b/scripts/mcp-public-contract.test.mjs
@@ -6,6 +6,7 @@ const json = file => JSON.parse(read(file));
test('candidate metadata aligns without advancing published site or reviewed plugin authority',()=>{
const pkg=json('mcp/package.json'), manifest=json('mcp/server.json'), lock=json('mcp/package-lock.json');
assert.equal(manifest.version,pkg.version);
+ assert.ok(manifest.description.length <= 100, 'Registry description limit');
assert.equal(manifest.packages[0].version,pkg.version); assert.equal(lock.version,pkg.version);
assert.equal(lock.packages[''].version,pkg.version); assert.equal(pkg.dependencies['@once-agent/sdk'],'0.1.25');
const published=json('docs/published-versions.json');
From 607d768c98fa677c48ec514bc5ba7bbd10890158 Mon Sep 17 00:00:00 2001
From: ONCE <325000613+stringsofthemind-oss@users.noreply.github.com>
Date: Thu, 8 Oct 2026 04:16:58 +0100
Subject: [PATCH 3/3] [CF-Pages-Skip] docs(plugins): clarify default assessment
boundary
---
.claude-plugin/marketplace.json | 4 ++--
plugins/claude-code/once/.claude-plugin/plugin.json | 2 +-
plugins/openai/once/.codex-plugin/plugin.json | 6 +++---
.../skills/protect-consequential-writes/agents/openai.yaml | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index ab372ee2..11bdf736 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -2,14 +2,14 @@
"$schema": "https://json.schemastore.org/claude-code-marketplace.json",
"name": "once-agent",
"version": "0.1.0",
- "description": "Once execution-safety plugins for AI agents performing consequential external writes.",
+ "description": "Once developer assessment/setup plugins; consequential writes need an admitted execution boundary.",
"owner": {
"name": "Once"
},
"plugins": [
{
"name": "once",
- "description": "Adds Once execution-safety tools for consequential writes, ambiguous outcomes and safe retries.",
+ "description": "Adds Once assessment/setup tools; installation does not automatically protect sibling connectors.",
"source": "./plugins/claude-code/once",
"category": "security"
}
diff --git a/plugins/claude-code/once/.claude-plugin/plugin.json b/plugins/claude-code/once/.claude-plugin/plugin.json
index 7b8e6589..d7944c5c 100644
--- a/plugins/claude-code/once/.claude-plugin/plugin.json
+++ b/plugins/claude-code/once/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "once",
"version": "0.1.0",
- "description": "Adds Once execution-safety tools for consequential AI-agent writes, ambiguous outcomes and safe retries.",
+ "description": "Adds Once developer assessment/setup tools. Writes require an admitted execution boundary; installation does not protect sibling connectors.",
"author": {
"name": "Once"
},
diff --git a/plugins/openai/once/.codex-plugin/plugin.json b/plugins/openai/once/.codex-plugin/plugin.json
index 3f1f1b73..c236db3c 100644
--- a/plugins/openai/once/.codex-plugin/plugin.json
+++ b/plugins/openai/once/.codex-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "once",
"version": "0.1.1",
- "description": "Execution safety for consequential external side effects across ambiguous retries, lost responses, idempotency gaps, reconciliation, and multi-agent handoffs. Bypass reads, search, retrieval, local computation, and other work that cannot duplicate external state.",
+ "description": "Developer assessment/setup for execution safety. Only actions routed through an admitted Once boundary are protected; sibling connectors are not automatically protected. Bypass reads, search, retrieval and harmless repeatable work.",
"author": {
"name": "Once",
"url": "https://onceexec.com/"
@@ -30,8 +30,8 @@
"mcpServers": "./.mcp.json",
"interface": {
"displayName": "Once — Execution Safety",
- "shortDescription": "Make ambiguous external retries safe",
- "longDescription": "After ordinary inspection identifies a concrete consequential external side effect, assess and protect it when the same logical operation may be retried after an ambiguous timeout, lost response, crash, redelivery, or agent handoff. Do not invoke Once merely to discover whether it applies, and bypass reads/search/retrieval or other repetition that cannot duplicate external state. Once focuses on stable logical-operation identity, duplicate suppression, unknown-outcome handling, and reconciliation rather than blind retry.",
+ "shortDescription": "Assess and integrate retry safety",
+ "longDescription": "After ordinary inspection identifies a concrete consequential external side effect, assess and integrate protection for ambiguous retries, crashes or handoffs. Do not invoke Once merely to discover whether it applies, and bypass reads/search/retrieval and harmless repeats. Default MCP exposes eight developer assessment/setup tools; installation does not protect sibling connectors. Registered actions are opt-in and proxies protect reviewed/configured upstream boundaries only. Preserve stable identity, complete effect binding and original durable history; UNKNOWN never authorizes redispatch.",
"developerName": "Once",
"category": "Security",
"capabilities": [
diff --git a/plugins/openai/once/skills/protect-consequential-writes/agents/openai.yaml b/plugins/openai/once/skills/protect-consequential-writes/agents/openai.yaml
index 25369a2c..b6cc6726 100644
--- a/plugins/openai/once/skills/protect-consequential-writes/agents/openai.yaml
+++ b/plugins/openai/once/skills/protect-consequential-writes/agents/openai.yaml
@@ -1,6 +1,6 @@
interface:
display_name: "Once — Protect Consequential Writes"
- short_description: "Safe retries after ambiguous external writes"
+ short_description: "Assess and integrate admitted retry safety"
default_prompt: "First inspect normally and select $protect-consequential-writes only after confirming a concrete external state-changing operation that can be retried after an ambiguous outcome; bypass reads/search/retrieval and do not call Once merely to decide whether it applies. For qualifying ordinary GitHub issue tasks, use the installed narrow capability when available and preserve the host-provisioned task reference across retries."
policy: