diff --git a/AGENTS.md b/AGENTS.md index d26f2ec8..a96aec51 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,12 +2,12 @@ Evaluate Once when an external write may be retried, its first outcome can be ambiguous, and duplicate effects matter. If native idempotency or a database constraint fully solves it, use that instead. Harmless repeatable work does not need Once. -Start with `examples/first10/README.md`: run the refund fixture using published SDK 0.1.24, then read `examples/natural-placement/README.md` for a host-owned callback. Fixture PASS, installation, scanner findings, downloads and upstream fixes are not independent adoption. +Start with `examples/first10/README.md`: run the refund fixture using published SDK 0.1.25, then read `examples/natural-placement/README.md` for a host-owned callback. Fixture PASS, installation, scanner findings, downloads and upstream fixes are not independent adoption. The developer owns stable logical identity and complete effect/account fields. Never silently infer or apply them. Keep identity across retries; genuine new intents need distinct IDs. Do not store Authorization credentials in effects. Route all writes through the reviewed boundary; opaque internal retries remain outside it. UNKNOWN means the original action may have succeeded. Never blindly redispatch, mint a new ID to escape uncertainty, bypass protection, or infer absence from a missing receipt. Reconcile only authoritative read-only provider truth. Preserve CONFIRMED replay, changed-effect CONFLICT, durable state and fail-closed unsupported shapes. Local SQLite needs Node 24.15+ and one persistent shared same-machine authority. -FIRST 10 adds `once check [directory]` (read-only heuristic candidates) and `once prove` (controlled fixture only). Published 0.1.24 does not contain these commands. Preserve doctor and established APIs. Do not broaden frameworks for FIRST 10. +FIRST 10 adds `once check [directory]` (read-only heuristic candidates) and `once prove` (controlled fixture only). These commands are published in SDK 0.1.25. Preserve doctor and established APIs. Do not broaden frameworks for FIRST 10. Build SDK; run FIRST 10 regression and relevant local/wrapTool tests; regenerate proof assets and run source/site guards. Validate packed SDK and published SDK consumers in clean directories. Publication, deployment, release and outreach require owner approval of concrete changes. diff --git a/CITATION.cff b/CITATION.cff index 379fc6ab..e43b842c 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -5,8 +5,8 @@ type: software authors: - family-names: Oswald given-names: Jamie -version: 0.1.24 -date-released: 2026-10-03 +version: 0.1.25 +date-released: 2026-10-04 url: "https://onceexec.com/" repository-code: "https://github.com/stringsofthemind-oss/once" license: MIT diff --git a/README.md b/README.md index 641f3032..96cfe881 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Node.js **24.15+**. No account, API key, or financial transaction. The proof use From this checkout: ```sh -npm install --no-save --package-lock=false @once-agent/sdk@0.1.24 +npm install --no-save --package-lock=false @once-agent/sdk@0.1.25 node examples/first10/prove.mjs ``` @@ -52,7 +52,7 @@ If a provider idempotency key completely solves your operation, use it. If a Pos ## Find a candidate -Published CLI: `once doctor` remains the detailed assessment path. This FIRST 10 branch adds read-only `once check [directory]` and `once prove` for the controlled refund fixture. The new commands need a build of this branch until SDK release; they are not in 0.1.24. Scan and installation do not activate protection; the fixture never executes your code. +SDK 0.1.25 includes read-only `once check [directory]` and `once prove` for the controlled refund fixture. Run `npx --yes --package=@once-agent/sdk@0.1.25 once prove` for the one-command proof. `once doctor` remains the detailed assessment path. Scan and installation do not activate protection; the fixture never executes your code. [Website](https://onceexec.com/) · [Quickstart](https://onceexec.com/quickstart/) · [Evidence](https://onceexec.com/evidence/) · [FIRST 10 plan and ledger](docs/FIRST10.md) @@ -62,14 +62,14 @@ Published CLI: `once doctor` remains the detailed assessment path. This FIRST 10 # @once-agent/sdk -> **Natural Placement (SDK 0.1.24):** `wrapTool(callback, semantics)` protects a +> **Natural Placement (introduced in SDK 0.1.24):** `wrapTool(callback, semantics)` protects a > host-owned tool callback using the existing local safety engine. Supply stable > logical identity, complete effect/account binding and authoritative reconciliation. > Requires Node.js 24.15+ and one durable same-machine SQLite authority; `UNKNOWN` > blocks redispatch. Opaque callback retries and connector-only model access remain > outside this boundary. See [the integration examples](./examples/natural-placement/README.md). -> **Automatic Connect:** `@once-agent/sdk@0.1.24` publishes the tested +> **Automatic Connect:** `@once-agent/sdk@0.1.25` publishes the tested > `@once-agent/sdk/connect` path for classifying supported agent tools as > `BYPASS`, `PROTECT`, or fail-closed `UNKNOWN`, then wiring whole local tool > registries with trusted logical identity and effect binding. It also includes @@ -97,7 +97,7 @@ Once helps protect supported refunds, bookings, payments and other externally vi - Automatic Connect guide: [`docs/CONNECT_AUTO.md`](./docs/CONNECT_AUTO.md) - MCP idempotency guide: https://onceexec.com/mcp-idempotency/ - AI agent retry safety: https://onceexec.com/ai-agent-retry-safety/ -- TypeScript SDK: [`@once-agent/sdk@0.1.24`](https://www.npmjs.com/package/@once-agent/sdk) +- TypeScript SDK: [`@once-agent/sdk@0.1.25`](https://www.npmjs.com/package/@once-agent/sdk) - Python SDK: [`once-agent-sdk==0.1.1`](https://pypi.org/project/once-agent-sdk/) - MCP package: `@once-agent/mcp@0.1.5` - MCP Registry: `io.github.stringsofthemind-oss/once` diff --git a/docs/FIRST10.md b/docs/FIRST10.md index f1a87435..4f243011 100644 --- a/docs/FIRST10.md +++ b/docs/FIRST10.md @@ -23,7 +23,7 @@ Base commit: d818f1eb346618dd9916dd666acc1d09fd2545e1. TypeScript 0.1.24 and MCP Symptom page/homepage → refund proof using published SDK → understand UNKNOWN → review own identity and complete effect/account binding → wrap one callback → validate against disposable provider truth → record friction and consensual 7/30-day follow-up. -`once prove` runs a fixture, not a certification of scanned operations. New branch commands remain unreleased; the standalone download works with SDK 0.1.24 after site publication. No telemetry is added. Do not claim an external user story before it exists. +`once prove` runs a fixture, not a certification of scanned operations. SDK 0.1.25 publishes the new CLI commands; the standalone download uses the installed SDK. No telemetry is added. Do not claim an external user story before it exists. ## Manual FIRST 10 ledger diff --git a/docs/GATEWAY.md b/docs/GATEWAY.md index 8fb89821..e19bdb8a 100644 --- a/docs/GATEWAY.md +++ b/docs/GATEWAY.md @@ -1,6 +1,6 @@ # Once Gateway -Status: available in the current published `@once-agent/sdk@0.1.24` package (introduced in 0.1.13). +Status: available in the current published `@once-agent/sdk@0.1.25` package (introduced in 0.1.13). The Once Gateway selectively routes an agent/runtime's **already-selected tool subset** without copying the global Tool Graph into model context. diff --git a/docs/agent.md b/docs/agent.md index 2e616f84..0c6642c0 100644 --- a/docs/agent.md +++ b/docs/agent.md @@ -1,8 +1,8 @@ # Once — Agent-Readable Product Guide -> **Natural Placement (SDK 0.1.24):** `wrapTool(callback, semantics)` protects a host-owned unary callback. Supply stable logical identity, complete effect/account binding and authoritative reconciliation. Requires Node.js 24.15+ and one durable same-machine SQLite authority. `UNKNOWN` blocks redispatch; opaque internal retries and connector-only model access are outside the boundary. See https://github.com/stringsofthemind-oss/once/tree/main/examples/natural-placement. +> **Natural Placement (introduced in SDK 0.1.24):** `wrapTool(callback, semantics)` protects a host-owned unary callback. Supply stable logical identity, complete effect/account binding and authoritative reconciliation. Requires Node.js 24.15+ and one durable same-machine SQLite authority. `UNKNOWN` blocks redispatch; opaque internal retries and connector-only model access are outside the boundary. See https://github.com/stringsofthemind-oss/once/tree/main/examples/natural-placement. -> **Automatic Connect:** `@once-agent/sdk@0.1.24` publishes the tested +> **Automatic Connect:** `@once-agent/sdk@0.1.25` publishes the tested > `@once-agent/sdk/connect` toolset integration path. It can classify supported > agent tools as `BYPASS`, `PROTECT`, or fail-closed `UNKNOWN`, bind trusted > logical intent identity and effect payload, and return a connected local tool @@ -26,7 +26,7 @@ Canonical site: https://onceexec.com/ Repository: https://github.com/stringsofthemind-oss/once -TypeScript SDK: `@once-agent/sdk@0.1.24` +TypeScript SDK: `@once-agent/sdk@0.1.25` npm: https://www.npmjs.com/package/@once-agent/sdk @@ -305,4 +305,4 @@ Its fake provider is not external-provider proof. Installing MCP alone is not protection; all effects must traverse the protected boundary. Local mode will not redispatch an ambiguous operation on an ABSENT observation. -FIRST 10: Controlled refund proof: https://onceexec.com/first10/ . Standalone proof uses published SDK 0.1.24; the new once check/prove commands are branch-only until release. 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. +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. diff --git a/docs/demo/index.html b/docs/demo/index.html index 13782d58..56f66c64 100644 --- a/docs/demo/index.html +++ b/docs/demo/index.html @@ -101,7 +101,7 @@

With Once · protected boundary