Rollikey v0.1.3 ships fail-closed drift detection, run fencing for MCP agent rollbacks
Rollikey · reddit · 2026-12-03
The open-core rollback project Rollikey (@rollikey/sdk, @rollikey/mcp) shipped v0.1.3, growing its integration suite from 36 to 136 tests to close race conditions in multi-step agent failures:
- Fail-closed drift checks (onDrift: 'halt' default): Before reverting PostgreSQL, S3 (ETags/CopySourceIfMatch), or GitHub issues/PRs/branch SHAs, it verifies live state still matches the recorded afterstate receipt; if an outside edit landed in between, rollback halts cleanly with conflicted IDs preserved.
- Run fencing: revert(runId) locks the run so late or parallel tool calls can't mutate state mid-rollback; unresolved in-flight writes pause LIFO recovery.
- Stripe hardening: durable one-shot compensation claims, partial refund + Connect fee reconciliation, recipient bounce checks on the 60-second Redis outbound airlock.
- All 16 rollikey MCP tools now carry explicit readOnlyHint, destructiveHint, idempotentHint, and openWorldHint annotations.
The author asks whether rollbacks against live databases/billing APIs should halt the whole chain on external drift, or skip only the drifted step.
Related event: Rollikey v0.1.3 Fixes Agent Concurrency Pitfalls, Tests Grow to 136(2 posts)→
More from coding & agent
- Dev feedback: decoupling rex sessions from native windows is harder to adapt to than expected — alexisgallagher · 2026-12-05
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05