SIRA uses execution feedback to revise robot policies and independent checks to select a version for deployment. Once frozen, the policy executes with zero online LLM calls.
Highest total among six evaluated methods on four Panda manipulation tasks. The online CaP-X protocol baseline completed 67 of the same 80 simulator episodes.
The online CaP-X protocol baseline took 47.29 s at p95 on the same evaluation, about 23 times as long.
The policy was frozen before this simulator evaluation. It ran through the host state API across ten tasks with no target-suite tuning.
Learning from execution feedback and testing transfer across manipulation tasks
SIRA studies whether a robot agent can improve its executable policy from experience and then reuse it without calling a language model at execution time. During development, the model probes the available skills and proposes targeted code changes from failed runs. An independent verifier tests each candidate against prior failures and regression cases before accepting a revision.
Evaluation freezes the accepted code. Robosuite measures how often it succeeds on held-out seeds and how long an episode takes. A separate LIBERO blind transfer tests whether a frozen policy still works on a new task suite without target-specific tuning. Both are simulator evaluations.
Architectural positioning against CaP, CaP-X, ASPIRE, SimEX (arXiv:2609.38982), and RAX (arXiv:2610.22496)
| Framework | Ownership Boundary | Non-Idempotent Journal | Decoupled Gate + Shadow | Online LLM Calls | Offline Budget | Multi-Appliance |
|---|---|---|---|---|---|---|
| CaP / ProgPrompt | Coupled scripts | No | No | 0 (single-shot) | 1 call | No |
| CaP-X | Benchmark harness | No | Env reward only | Multi-turn (>0) | Low–Med | No |
| ASPIRE | Skill library agent | No | Self-verified | 0 (frozen skill) | Medium | No |
SimEX (2609.38982) |
Unified sim/real | No | Sim replay only | 0 (frozen code) | ~3,360 calls (21.6 h) | No |
RAX (2610.22496) |
Agent owns RGB-D | No | Env reward only | Online episodes | 16–128 eps (4.9–14.2 h) | No |
ESI (2611.18176) |
LLM–VLA hybrid | No | Env reward only | Online teacher (>0) | 600 eps + VLA train | No |
| SIRA (Ours) | Strict 3-Owner | SQLite Query-First | Indep. Gate + 0-Act | 0 (Frozen AST) | 2–12 calls (mins) | Pipelined + Locks |
O(1)-amortized deployment—absorbing SimEX's simulator calibration and RAX's AST selective subroutine repair while enforcing strict ownership boundaries, crash reconciliation, and zero-online-LLM runtime verifiability.
Strict separation of perception owner, pure-stdlib SIRA governance core, and host actuation interlocks
1. Frozen AST Sandbox & SQLite Intent-Before-Dispatch Journal: Promoted policies are SHA-256-frozen bundles executed in a restricted Python AST interpreter (blocking imports, exec/eval, and leading-underscore access). Every non-idempotent appliance call (start_coffee_machine, start_oven_heat) persists an intent before dispatch and reconciles ambiguous crashes via host query_action_status rather than blindly retrying.
2. Zero-Leakage Active Physical Probing & Closed-Loop Calibration: Automated tests enforce zero task-specific physics constants in prompts. When failures occur, SIRA runs a budget-capped (+1 sim reset) diagnostic probe strictly over public host SDKs to measure empirical grasp offsets or articulation compliance, and runs bounded simulator calibration when target failures do not reproduce in nominal simulation.
3. Multi-Hypothesis RepairScreener & AST Selective Subroutine Repair: Candidate repairs are AST-preflighted, localized to failing policy subroutines via analyze_policy_subroutines, tracked with negative-attempt memory and adaptive stagnation escape, screened against accumulated RegressionSuite banks, and gated by zero-actuation recorded_data shadow replay plus decoupled independent acceptance.
4. Verified Executable Skill Toolbox: Approved skills store AST-validated helper snippets alongside empirical measured_limits and regression_case_ids, and are automatically invalidated whenever the host SDK contract SHA-256 drifts.
git clone https://github.com/tiwater/sira.git && cd sira python3 -m venv .venv && .venv/bin/pip install -e ".[dev,mujoco,robosuite]" make test # Run full unit & regression test suite make check-stdlib # Verify zero third-party imports in src/trax/ core make check-arch # Verify embodiment-agnostic core & one-way UI boundary make demo # Software fixture crash/lost-receipt reconciliation demo make reproduce # Verify receipt SHA-256s & replay frozen policies live in MuJoCo (0 LLM calls) make paper # Regenerate LaTeX tables from JSON receipts & compile sira.pdf
Matched real model backend (gpt-6-astra, codex_cli, effort=medium) with explicit evidence_source provenance, Wilson 95% CIs, and exact paired McNemar tests
| Method | Held-Out (n=30) | Wilson 95% CI | Sim / Shadow | Dup / False Act | Dev LLM / Resets | Dev Wall (s) | McNemar p vs. SIRA |
|---|---|---|---|---|---|---|---|
| SIRA (RepairScreener + RegressionSuite + Journal) | 30/30 (100.0%) | [88.7%, 100.0%] | 26/26 · 4/4 | 0 / 0 | 2 / 12 | 102.3 | reference |
| ASPIRE-Protocol (Adapted) | 23/30 (76.7%) | [59.1%, 88.2%] | 19/26 · 4/4 | 0 / 0 | 6 / 36 | 326.2 | +23.3 pp, p = 0.0156 |
| CaP-X-Protocol (Adapted) | 23/30 (76.7%) | [59.1%, 88.2%] | 19/26 · 4/4 | 0 / 0 | 6 / 36 | 257.0 | +23.3 pp, p = 0.0156 |
| SimEX-Direct-Repair (Ablation) | 21/30 (70.0%) | [52.1%, 83.3%] | 19/26 · 2/4 | 0 / 0 | 6 / 36 | 310.8 | +30.0 pp, p = 0.0039 |
| Strong Zero-Shot | 7/30 (23.3%) | [11.8%, 40.9%] | 3/26 · 4/4 | 0 / 0 | 1 / 0 | 55.4 | +76.7 pp, p < 0.0001 |
| Method | Run 2 Overall (n=20) | Wilson 95% CI | Target / Shadow | Target Trials / Cal | LLM Calls | Run 1 (Preserved) | McNemar p vs. SIRA |
|---|---|---|---|---|---|---|---|
| SIRA (Calibrated Sim + Screener + Shadow + Journal) | 19/20 (95.0%) | [76.4%, 99.1%] | 15/16 · 4/4 | 5 / 3 | 4 | 8/20 (pre-fix) | reference |
| SimEX-Protocol (Adapted, Calibrated Sim + Screening) | 16/20 (80.0%) | [58.4%, 91.9%] | 12/16 · 4/4 | 5 / 3 | 4 | 8/20 (pre-fix) | +15.0 pp, p = 0.2500 |
| Direct Target Repair | 16/20 (80.0%) | [58.4%, 91.9%] | 12/16 · 4/4 | 5 / 0 | 2 | 16/20 | +15.0 pp, p = 0.2500 |
| Zero-Shot Sim2Sim | 13/20 (65.0%) | [43.3%, 81.9%] | 9/16 · 4/4 | 0 / 0 | 0 | 8/20 | +30.0 pp, p = 0.0313 |
Honest iteration log: Run 1 exposed missing AST sandbox rules and failed step traces in RepairScreener.build_hypothesis_repair_prompt() plus missing AST preflight validation. Fixing both lifted SIRA from 8/20 to 19/20 (95.0%); Run 1 artifacts remain archived.
Sim-to-Sim Stage 2 · MuJoCo simulator
In both archived runs, the same test interrupts the simulated workstation mid-brew. The verifier checks whether the task finishes and whether the policy issues a duplicate command.
The host escalated the case. The task check failed.
The task check passed. The log recorded zero duplicate non-idempotent actions.
Find s2s_08_crash_nom under craft_full, the archived name for SIRA, in Run 1 and Run 2. Across the 16 simulator cases, passes rose from 4 to 15. The busy-machine case still escalated in both runs. Separately, all four recorded-data checks passed in each run.
| Execution Policy | Completed (n=12) | Duplicate Appliance Starts | Interlock Violations | Mean Cycle (s) | Throughput (orders/hr) |
|---|---|---|---|---|---|
| SIRA Pipelined + Dual-Appliance Journal | 12/12 (100.0%) | 0 | 0 | 47.45 | 75.9 (+62.5%) |
| Pipelined Stateless | 9/12 (75.0%) | 3 | 6 | 47.45 | 75.9 (unsafe) |
| Sequential Stateless | 9/12 (75.0%) | 3 | 4 | 77.10 | 46.7 |
| Method | Overall (n=80) | Turn-1 Frozen | Lift / Can / Nut / Door | Dev LLM / Resets | Eval LLM | P95 Wall (s) | McNemar p vs. SIRA |
|---|---|---|---|---|---|---|---|
| SIRA (ActiveProbe + SubroutineRepair + Skills) | 72/80 (90.0%) | 72/80 (90.0%) | 20 / 20 / 17 / 15 | 13 / 67 | 0 | 2.05 | reference |
| CaP-X-Protocol (Online Turn-2 Regen) | 67/80 (83.8%) | 66/80 (82.5%) | 20 / 20 / 13 / 14 | 15 / 75 | 8 | 47.29 | +6.2 pp, p = 0.302 |
| SimEX-Protocol (Adapted) | 51/80 (63.7%) | 51/80 (63.7%) | 20 / 20 / 0 / 11 | 15 / 75 | 0 | 2.08 | +26.3 pp, p = 1.9e-5 |
| ASPIRE-Protocol (Adapted) | 49/80 (61.3%) | 49/80 (61.3%) | 20 / 20 / 0 / 9 | 17 / 85 | 0 | 2.14 | +28.7 pp, p = 1.5e-5 |
| SimEX-Direct-Repair (Ablation) | 41/80 (51.2%) | 41/80 (51.2%) | 20 / 20 / 1 / 0 | 16 / 80 | 0 | 2.10 | +38.8 pp, p < 1e-6 |
| Strong Zero-Shot | 20/80 (25.0%) | 20/80 (25.0%) | 20 / 0 / 0 / 0 | 4 / 0 | 0 | 2.02 | +65.0 pp, p < 1e-6 |
RAX (2610.22496, lit. ref.) |
N/R | — | Not evaluated on Robosuite in paper | — | — | — | — |
Zero-leakage guarantee: Zero task-specific physics hints exist anywhere in prompts or attribution code (enforced by test_zero_task_hint_leakage). SIRA ranks #1 overall and #1 on every individual task with the lowest dev budget (13 LLM calls, 67 resets) and 23× lower p95 latency than online-regenerating CaP-X.
Method (host_state_api, gpt-6-astra) |
Spatial (n=100) | Spatial Dev LLM / Resets | Spatial McNemar | Blind Object (n=100) | Object 0/10 Tasks | Object McNemar |
|---|---|---|---|---|---|---|
| SIRA (ActiveProbe + SubroutineRepair + Skills) | 97/100 (97.0%) | 21 / 115 | reference | 88/100 (88.0%) | 0 / 10 | reference |
| ASPIRE-Protocol (Adapted) | 89/100 (89.0%) | 28 / 140 | +8.0 pp, p = 0.0386 |
90/100 (90.0%) | 1 / 10 (t1=0) |
-2.0 pp, p = 0.824 |
| SimEX-Protocol (Adapted) | 17/100 (17.0%) | 50 / 250 | +80.0 pp, p < 1e-6 |
82/100 (82.0%) | 1 / 10 (t1=0) |
+6.0 pp, p = 0.345 |
| RAX-Protocol (Adapted)† | — | — | — | 80/100 (80.0%) | 0 / 10 (2 at 2/10) |
+8.0 pp, p = 0.169 |
| Strong Zero-Shot | 0/100 (0.0%) | 10 / 0 | +97.0 pp, p < 1e-6 |
19/100 (19.0%) | 6 / 10 | +69.0 pp, p < 1e-6 |
RAX (2610.22496, Table 6, unmatched RGB-D)‡ |
99.2% (n=500) | ≤20 eps/task (Opus 5.5) | unmatched | 100.0% (n=500) | — | unmatched |
† Local matched-contract adaptation (protocol_adapted_from_rax_2610_22496) combining PROGRESS/TIPS memory, AST subroutine preservation, and a cross-task skill library under identical host_state_api + gpt-6-astra + ≤5 dev calls.
‡ Unmatched literature reference (raw 256×256 RGB-D + 3 goal images, Claude Opus 5.5, ≤20 interactive episodes/task).
Anti-overfitting audit: LIBERO-Object was run once on frozen commit 108648a with zero tuning; across all 3 external suites (24 tasks, 280 held-out rollouts/method), SIRA totals 257/280 (91.8%) with 0 collapsed tasks vs. ASPIRE 228/280 (81.4%).
Explicit four-tier provenance discipline — simulation passes are never claimed as physical safety approval
| Evidence Tier | What Is Verified Today | What Is Explicitly NOT Claimed |
|---|---|---|
| fixture | Deterministic AST sandbox, SHA-256 bundles, SQLite journal reconciliation, 4-layer attribution, rollback drills, and full pure-stdlib unit/contract test suite. | Does not model physical contact, heat transfer, liquid dynamics, or hardware latency. |
| simulator | MuJoCo 3.3.0 7-DOF Panda café cell, Sim-to-Sim noise/DR transfer, multi-appliance combo locks, zero-leakage Robosuite Panda, optional LIBERO harness (host_state_api). |
Not hardware qualification; LIBERO host_state_api results are not comparable to raw RGB-D RAX benchmarks. |
| recorded_data | Zero-actuation shadow gating on stale, low-confidence, dual-cup ambiguous, and distractor perception frames (0 false actuations). |
Does not exercise live actuator dynamics or physical closed-loop disturbance recovery. |
| physical_robot | 0 hardware qualification runs completed in this release; host capability contracts documented for ticos-edge + EvidenceScene integration. |
No physical coffee/bagel manipulation validation or safety certification claimed; local SQLite journal alone does not prove distributed exactly-once actuation without cooperative host keys. |
Modern single-column technical report compiled directly from archived JSON benchmark receipts
Preprint presenting the three-owner commercial workstation decomposition, restricted AST sandbox, intent-before-dispatch SQLite command journal, zero-leakage public-SDK active physical probing, closed-loop simulator calibration, AST selective subroutine repair, contract-drift-aware executable skill toolboxes, and five reproducible benchmark tracks.
@article{tiwater2026sira,
title = {{SIRA}: Verifier-Guided Self-Improvement for Robot Agents},
author = {{Tiwater}},
journal = {arXiv preprint},
year = {2026},
url = {https://tiwater.github.io/sira/}
}