@postcept/gauntlet
v0.1.0
Published
The Completion Gap Gauntlet: reproducible broken-refund scenarios scored against Postcept's real verification engine and a naive baseline, so the completion gap is measurable, not asserted.
Maintainers
Readme
@postcept/gauntlet
npx @postcept/gauntletRuns 15 reproducible broken-refund scenarios (timeouts, duplicates, pending settlements, wrong amount, currency, or customer, terminal failures, provider drift, uncorrelatable claims) through Postcept's verification engine over the public playground endpoint, and through two baselines, then scores each against a fixed, public ground truth.
What's compared
trust-the-agent believes the agent's "done" claim. With no verification it
scores every scenario as safe, so it is right only on the ones that really are
complete.
source-reread re-reads the system of record and treats an existing record in a
success state as done. This is the simple status re-check teams write by hand. It
has no notion of duplicates, wrong amount or customer, pending versus final, or
unknown provider states, so it over-claims on exactly those.
postcept is the safe_to_claim_complete decision from the engine.
A system scores a point when its safe or not-safe answer matches the scenario's
ground truth, which is set in scenarios.json. Two of the fifteen scenarios are
genuinely safe to call complete. The rest are traps that a naive check
mishandles in a specific way.
Why the comparison is fair
Ground truth is fixed and public in scenarios.json before any run. The
baselines run against the same ledger Postcept sees, so they are reference
implementations of common practice rather than strawmen. Postcept's column is the
engine over the public API, not a hard-coded result.
Limitations
The scenarios are synthetic and deterministic. They exercise the verification
logic, not real provider flakiness, latency, or the full range of Stripe states.
source-reread is a deliberately simple baseline. A team could write a deeper
checker, at which point they have started building what Postcept does. A perfect
Postcept score here means the engine classifies these scenarios correctly, not
that it is infallible on every real case.
--json emits machine-readable results for a CI gate.
