Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ If a provider idempotency key completely solves your operation, use it. If a Pos

**UNKNOWN is protection:** the original action may have succeeded. Retain its identity and durable state; perform an authoritative read-only lookup. Never mint a new ID or bypass Once to force progress. Even an absence observation does not automatically permit local redispatch.

## LangGraph checkpoint replay evidence

Deterministic **local LangGraph JS checkpoint replay** resumed the same checkpoint twice while the first tool call was still running. The unprotected path produced **2 provider effects**; the Once-protected path produced **1**, counted from a separate loopback HTTP provider's append-only log using published SDK 0.1.25.

**Limits:** this is not a LangGraph Cloud reproduction or a test of the reported ~180s sweeper. Protection used one persistent shared **same-machine SQLite authority**; separate ephemeral Cloud ledgers are outside this evidence. No universal exactly-once claim or Cloud bug fix is established.

[Run and inspect the reproduction](examples/langgraph-once-replay/) · [Merged proof PR #295](https://github.com/stringsofthemind-oss/once/pull/295) · [Volunteer for one bounded Cloud test](https://onceexec.com/evidence/#langgraph-cloud-test). Independent Cloud evidence is still sought; a local fixture PASS is not adoption.

## Find a candidate

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.
Expand Down
11 changes: 11 additions & 0 deletions docs/evidence/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ <h3>Real provider example</h3>
>
</article>
</div>
<section id="langgraph-checkpoint-replay" aria-labelledby="langgraph-replay-title">
<h2 id="langgraph-replay-title">LangGraph checkpoint replay evidence</h2>
<p>Deterministic <strong>local LangGraph JS checkpoint replay</strong> resumed the same checkpoint twice while the first tool call was still running. The unprotected path produced <strong>2 provider effects</strong>; the Once-protected path produced <strong>1</strong>, using published SDK 0.1.25. Counts come from a separate loopback HTTP provider's append-only log, not returned SDK status.</p>
<div class="note"><strong>Limits:</strong> not a LangGraph Cloud reproduction, not a test of the reported ~180s sweeper, and not a Cloud bug fix. Protection used one persistent shared <strong>same-machine SQLite authority</strong>. Separate ephemeral Cloud ledgers, distributed-worker safety and universal exactly-once execution are outside this evidence. The provider is a controlled local fixture, not a commercial service.</div>
<p><a href="https://github.com/stringsofthemind-oss/once/tree/main/examples/langgraph-once-replay">Run and inspect the reproduction</a> · <a href="https://github.com/stringsofthemind-oss/once/pull/295">Merged proof PR #295</a> · <a href="https://github.com/stringsofthemind-oss/once/commit/77857e2732967e45b7c5097f43be80706151fad2">Proof commit</a></p>
<h3 id="langgraph-cloud-test">Can you reproduce #7417 on LangGraph Cloud?</h3>
<p>Once maintainers are seeking one voluntary, independent reproduction. If you already have Cloud access and can reproduce <a href="https://github.com/langchain-ai/langgraph/issues/7417">issue #7417</a>, try one bounded comparison around a non-production tool and report failures or incompatibilities as well as successes. No purchase or production write is requested.</p>
<p>First record the exact Cloud deployment, region, runtime and package versions, worker/storage topology, tool duration, and sanitized thread/checkpoint/tool-call/attempt IDs. Count actual provider effects independently for the unprotected and protected paths; include timestamps, the stable logical operation ID, complete effect binding, ledger authority and reconciliation method. Returned status or tool invocation counts alone are insufficient.</p>
<p>Do not copy local SQLite into separate ephemeral workers and assume they share authority. If a persistent shared same-machine authority cannot be established for this boundary, report that incompatibility and stop the protected test. Keep UNKNOWN blocked; do not mint a new ID, bypass protection or replay a real consequential write to finish the experiment.</p>
<p><a href="https://github.com/stringsofthemind-oss/once/issues/new?title=LangGraph%20Cloud%20%237417%20independent%20reproduction">Offer or report a Cloud test on the Once repository</a>, with redacted provider logs and exact environment. One bounded run is enough; no praise, endorsement or ongoing commitment is requested. No independent Cloud reproduction or adoption is established by the local result.</p>
</section>
<h2>Framework crash/retry labs</h2>
<p>
LangGraph and CrewAI examples use controlled simulated provider ledgers and the SQLite reference backend. They test hard process
Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ <h3>Installed SDK verification</h3>
<a href="/quickstart/">Run it yourself →</a>
</article>
<article class="card">
<h3>Crash and retry labs</h3>
<p>Framework-level reproductions use controlled provider ledgers and the SQLite reference backend.</p>
<a href="/evidence/">Inspect failure tests →</a>
<h3>LangGraph checkpoint replay evidence</h3>
<p>Local LangGraph JS replay: 2 unprotected provider effects, 1 with Once. Same-machine shared SQLite only; not Cloud or the ~180s sweeper, and no universal exactly-once claim.</p>
<a href="/evidence/#langgraph-checkpoint-replay">Inspect the proof and voluntary Cloud test →</a>
</article>
<article class="card">
<h3>Published source</h3>
Expand Down
2 changes: 2 additions & 0 deletions docs/langchain-langgraph-safe-retries/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ <h2>The Once pattern</h2>
}
});</code></pre>
<p>The same logical refund receives the same operation ID on every retry. Another agent-tool invocation is therefore not automatically treated as permission to perform a new external action.</p>
<h2>LangGraph checkpoint replay evidence</h2>
<p><a href="../evidence/#langgraph-checkpoint-replay">Inspect the deterministic local LangGraph JS replay proof and its limits</a>: 2 unprotected provider effects, 1 with Once, using a shared same-machine SQLite authority. This does not reproduce LangGraph Cloud or its reported ~180s sweeper and does not establish universal exactly-once execution. <a href="../evidence/#langgraph-cloud-test">One voluntary independent Cloud test is sought</a>.</p>
<h2>LangChain / LangGraph example</h2>
<p>The Once repository includes a working JavaScript example using the LangChain tool pattern with <code>@once-agent/sdk</code>. The same execution-safety boundary can be used for consequential tools orchestrated through LangGraph workflows.</p>
<p><a href="https://github.com/stringsofthemind-oss/once/tree/main/examples/langchain">View the Once + LangChain / LangGraph example on GitHub</a></p>
Expand Down
Loading