Official Codebase of 3DCodeVerse
Python
docs: D45 records what two reviews claimed and what survived
gaoypeng5e436904ea47
diff --git a/harness/docs/ARCHITECTURE.md b/harness/docs/ARCHITECTURE.mdindex 6eae7b7a..e4fab78a 100644--- a/harness/docs/ARCHITECTURE.md+++ b/harness/docs/ARCHITECTURE.md@@ -112,8 +112,7 @@ codeverse/blender/ cadquery/ threejs/ urdf/ scene_threejs/ glsl_shader/ opengl_python/ are eacha single __init__.py (lint → skeleton → runtime, in dependency order) beside theirdata (wrappers/, starter/ — Path(__file__) assets unchanged; the contract text- is prompts/<lang>/contract.md, read through RuntimeDocs);- file_lint.py (one just-written file → syntax/lint verdict for write_file, COST.md §29)+ is prompts/<lang>/contract.md, read through RuntimeDocs)spatial/ node.py, render.py, observe.py, tool_common.py (shared tool plumbing),render_scene.py (judge view subset, content-fitted orbit),frame_metrics.py (scene_frames gate), frame_motion.py (measured inter-frame motion),@@ -281,7 +280,12 @@ summary:helpers) — pure bpy, Z-up, -Y front, meters; PascalCase object names = partnames. Small objects may stay single-file. Harness wrapper (`run_bpy.py` +`_census.py`) puts `src/` on sys.path, maps errors to workspace-relative- `src/parts/<x>.py:line`, collects census, exports GLB (Y-up) + STL.+ `src/parts/<x>.py:line`, collects census, exports GLB (Y-up) + STL. The census+ records `n_material_slots` + `material_indices_used` (read off the EVALUATED mesh,+ so modifier-added indices count) and warns when a mesh carries slots no polygon+ uses, or sits on an index past the last slot — one part is one mesh object, so+ per-feature colour is per-polygon `material_index`, and an assignment that+ silently no-ops ships the whole part in one flat colour (2026-08-30).* **cadquery**: `src/model.py` — `import cadquery as cq` (+math) only; module-level`result` = `cq.Assembly` or `Workplane`. A chain ending in a selector exports theparent solid with a warning (ExportError when no solid exists); helper-modulediff --git a/harness/docs/COST.md b/harness/docs/COST.mdindex f3a1cd26..c49d00ab 100644--- a/harness/docs/COST.md+++ b/harness/docs/COST.md@@ -323,9 +323,9 @@ residency (1.1x) and fast-mode multipliers, per-search server-tool fees.| role | model | $/call | measured quality | when ||---|---|---|---|---|| planner | `gemini:gemini-3.7-flash` ★ | $0.013 | no failure attributable to the planner | always — the plan is 0.8% of a run |-| generator | `gemini-cli:gemini-3.6-flash` ★ | $0.52 | compare_v1 mean 0.835 (best arm) | default for every track with tools |+| generator | `gemini-cli:gemini-3.7-flash` ★ | $0.73 | 0.827 on compare_v1 | default for every track with tools since 2026-08-28 || generator | `single-shot:gemini:gemini-3.7-flash` | $0.05 | graphics: 5/6 passed, median 0.810 | glsl / opengl — one file, compiler feedback |-| generator | `gemini-cli:gemini-3.7-flash` | $0.73 | 0.827 — same as api-agent, 2x price, 2x wall | only when you need the CLI itself |+| generator | `gemini-cli:gemini-3.6-flash` | $0.52 | compare_v1 mean 0.835 (best arm measured) | the cheaper arm, and the one every recorded battery was run on || generator | `codex:gpt-5.6-sol` | $1.93 in-loop / $0.20 one-shot | one-shot 0.786 | strong one-shot baseline, expensive loop || generator | `oneshot:claude-code` | $1.04 | 0.673, 0/2 passed | not for bulk generation || judge | `gemini:gemini-3.1-pro-preview` ★ | $0.060 | σ 0.030, pearson(gate errors, score) **+0.63** | every decision that persists |@@ -641,7 +641,7 @@ given**, so `3dcv resume` reproduces it.| | economy | balanced | quality ||---|---|---|---|-| generator | `single-shot:gemini:gemini-3.7-flash` | `gemini-cli:gemini-3.6-flash` | `gemini-cli:gemini-3.6-flash` |+| generator | `single-shot:gemini:gemini-3.7-flash` | `gemini-cli:gemini-3.7-flash` | `gemini-cli:gemini-3.7-flash` || judge | flash, n=2 | **pro, n=1** | **pro, n=3** || refine rounds | 2 | 4 | 4 || best-of-N | 1 | 1 | 2 |diff --git a/harness/docs/DECISIONS.md b/harness/docs/DECISIONS.mdindex 01d5d843..9844538d 100644--- a/harness/docs/DECISIONS.md+++ b/harness/docs/DECISIONS.md@@ -49,19 +49,26 @@ written) that were accepted because the code works that way and the tests pin it* **D7 Stage cache by input hash.** `StageRunner` stores `stages/<name>.json` keyed by ahash of the inputs, so `3dcv resume` re-runs only what changed; the budget guard isrestored from `run_state.extra.budget_snapshot` (`BudgetSnapshot`: spent usage, billed- USD, call count, per-stage/per-round buckets, cumulative ACTIVE seconds — grace is- deliberately NOT persisted). Prior spend and active minutes still count after a- resume, so a raised `--max-minutes` grants only the difference. The `spent_usage`- mirror in `run_state.extra` was dropped 2026-08-29 (write side); the read fallback- stays because 531 of 739 `bench/out` run dirs predate `budget_snapshot`.+ USD, call count, per-STAGE buckets, cumulative ACTIVE seconds — grace is+ deliberately NOT persisted; the per-ROUND bucket went 2026-08-30, nothing read it and+ `CallCost.round` in `telemetry/cost.jsonl` is the per-round record). Prior spend and+ active minutes still count after a resume, so a raised `--max-minutes` grants only the+ difference. The `spent_usage` mirror in `run_state.extra` went 2026-08-29 (write) and+ 2026-08-30 (read): of the 282 run dirs that have it and no snapshot, only 41 can be+ resumed at all, and `check()` enforces on `billed_usd`, which+ `_reconcile_billed_from_ledger` restores from the ledger regardless.`run_state.extra` carries `budget_snapshot` and `spec_fingerprint` only: thecandidate count lives in `spec.options.candidates`, the candidate table in`rounds/candidates.json` (which `record.extra.candidates` is read from).* **D8 Events carry `event`, not `kind` (Δ).** `EventLog.emit(event, **data)` so payloadsmay include `kind=` (round kind). `3dcv status` and tests follow.-* **D9 `materialize_workspace` returns `Materialized` (Δ).** Body files, ignore files,- the cookbook path, the MCP command and warnings; callers that ignore the return are- unaffected. The codex `-c` overrides are NOT on it (`codex_overrides` was deleted+* **D9 `materialize_workspace` returns `None` (Δ 2026-08-30).** It used to return a+ `Materialized` model carrying the body files, the ignore files, the cookbook path, the MCP+ command and a `warnings` list — and every production caller discarded it+ (`tracks/common.Services.materialize` is itself typed `-> None`), so the one signal on it, an+ unresolved cookbook, was written and never read. That warning is now a `log.warning` on+ `codeverse.agents.materialize`, where a run log shows it; the model is gone.+ The codex `-c` overrides are NOT on it (`codex_overrides` was deleted2026-08-29): the codex backend builds `codex_mcp_overrides(mcp_command)` per session.The cookbook is copied to `ws/.3dcv/cookbook.md` (gemini-cli cannot read outside theworkspace); the MCP argv defaults to `cli_common.default_mcp_command(ws)`, i.e.@@ -266,8 +273,67 @@ written) that were accepted because the code works that way and the tests pin it`CV3D_SYSPROMPT=v0` arm, `shader_presence` / counterfactual renders, the in-processturn-cap backstop, the concurrent-session registry) are gone with their docs.+* **D45 The 2026-08-30 batch: verified before applied.** Context: a second external review+ listed six P1s, three P2s and eight deletions; separately a 12-subsystem comparison against+ `astra3d-brilliana` produced 36 claims about the static_object track. Every item was+ reproduced or refuted by an independent auditor BEFORE any edit — of the review, two claims+ were refuted outright and four downgraded; of the comparison, ten of 36 survived and only one+ at high severity. Decision: apply what reproduced, and prefer the fix that deletes.+ (a) **`material_index` has a warning and a recipe.** One mesh object per plan part means+ per-feature colour inside a part is per-polygon `material_index` — a string that appeared+ NOWHERE in `codeverse/`, the prompts, the skills or the docs, while `_census.py` warned only+ about a mesh with NO material. `h2h_microscope_x1b` authored 31 materials and 19 `tag_faces`+ calls that all silently no-opped (`bmesh.ops.create_cube` returns `{'verts'}`, so+ `res["faces"]` raises), shipped an 11-slot arm in one off-white, and lost 0.271 to+ `untextured_flat` (which fired on 4 of 12 h2h runs — all four losses). The census now records+ `n_material_slots` + `material_indices_used` off the evaluated mesh and warns on unused slots+ and on an out-of-range index; the blender cookbook carries the recipe and the trap.+ Deliberately a build WARNING, not a gate: an agent may legitimately append a slot it fills a+ round later.+ (b) **The cost ledger has no process-wide default.** `bind_run` / `set_default_ledger` /+ `default_ledger_path` are gone; `bound_run` and `bound_ledger` hold ContextVar tokens. The old+ save-and-restore republished a sibling's run the moment the first parallel bench cell exited,+ so later rows landed in a finished run's file — the interleave 1756866 deleted `_active_ledgers`+ for, left standing on this half. Standing rule: **a thread that may bill a model is spawned+ through `proc.fan_out`, never a bare pool** (`texturing/generate.py` was the last one).+ (c) **A paid verdict is never re-bought or reversed.** `PairwiseNote` moved into+ `contracts/run.py` and onto `RoundRecord`; `reconcile_resume` replays it+ (`candidates.replay_best_round`). Reconciliation may re-rank; it may not undo a comparison the+ run paid for (18 run dirs on disk carried a divergent verdict).+ (d) **One render-cache authority.** `spatial/tool_common.py` may name a deterministic out_dir;+ only `spatial/render.py` decides a PNG is still good. The deleted `renderset.json` marker keyed+ on GLB size+mtime alone: it served stale views after a same-size rebuild, ignored a rig edit,+ and returned paths inside the ORIGINAL workspace for a copied run.+ (e) **`bench run --no-resume` is gone** — it dropped the recorded rows and then resumed the+ workspace anyway (`resume = ws.exists()` never read it), carrying the old spec, spend and clock.+ `--redo-status` is the one fresh rerun and it archives first. `compare_backends --no-resume` is+ documented and has three readers, so it stayed — and now archives the cell's `run/` first.+ (f) **Anthropic/OpenAI derive each SDK call's timeout from the remaining `max_wait_s`**+ (`min(client timeout, max(20 s, remaining))`) instead of a fixed 600 s socket timeout under a+ deadline only checked between attempts.+ (g) **Prompt files have no size limits.** `tests/prompts/test_files.py` capped a cookbook at+ 950 lines, a contract at 150 and every prompt at >500 chars. The blender cookbook hit the cap+ the day a measured failure earned it a new recipe, and the test's answer was to make the recipe+ worse. Prompt text is not a resource to ration by line count (owner, 2026-08-30); the+ structural checks — chaptered, jinja-inert, states its units and frame, carries a runnable+ example — stay.+ (h) Deleted: `languages/file_lint.py` (orphaned when `api_tools.py` went 2026-08-28 — a vendor+ CLI's writes cannot be intercepted), the `Materialized` DTO (its one signal is now a+ `log.warning`), `AgentJob.images`, `SkillRead.first_seen_turn`, `RenderSet.turntable` (360+ records carry the key, 0 non-null), `attribute_changes(own_hints=)`, `BudgetGuard.charge`'s+ role/label/outcome + `by_round` (`CallCost` carries all three per call), the `spent_usage`+ resume fallback, the root-`cost_ledger.jsonl` leg of `existing_ledger_path` (zero real files+ exist; 677 symlinks), and `FakeImageModel` → `tests/texturing/conftest.py`.+ Also fixed: `kind="detail"` files as `Stage.REFINE`, `Stage.ASSEMBLE` maps to the generator+ role, and pairwise books `Stage.PAIRWISE` instead of hiding in the judge bucket.+## Rejected / deferred+* A versioned `Spec`/`RunRecord`/`RunState` load-normaliser (rejected 2026-08-30: of the seven+ compatibility branches it was meant to absorb, only two are schema-shaped — 14 lines — so it+ would add an abstraction and delete nothing, L4).+* Deleting `spatial/sections.py` (rejected 2026-08-30: it IS the registered `cross_section` MCP+ tool, imported at module level by `spatial/tools.py`; removing it takes down the MCP server).* Registering `single-shot` as a CodingAgent kind (rejected: it has no tools/session).* A free-form `dict` judge schema (rejected: flash skips criteria).* Storing URDF meshes Y-up and converting on load (rejected: breaks foreign loaders).diff --git a/harness/docs/EVAL.md b/harness/docs/EVAL.mdindex 121a4132..53e70f14 100644--- a/harness/docs/EVAL.md+++ b/harness/docs/EVAL.md@@ -100,6 +100,9 @@ the same `FixedEvaluator` (`BlenderRuntime` lint+build → measure → connectivarena runs every harness arm against every one-shot arm per prompt (both orderings).Output under `--out`: `matrix.json`, `results.jsonl` (cells, resume source),`pairwise.jsonl`, `cells/<prompt>/<arm>/{run,gen,eval}`, `report.md`, `report.html`.+`--no-resume` archives a harness cell's `run/` as `run.attempt<N>` and regenerates it+(2026-08-30; before that it dropped the recorded row and then resumed the finished+workspace anyway, so the "fresh" cell re-reported its old score).Report per arm: mean/median score, pass rate, build-failure rate, per-tier breakdown,cost and wall time per prompt; arena: wins/ties/losses with mean confidence. Claim a@@ -478,8 +481,10 @@ settling before a larger n measures the rubric's preference with more precision.No such comparison existed before today; their scores are their own judges'. Protocol:`bench/h2h_glb.py` (objects) takes 12 confirmed entries of astra3d-brilliana's gallery (prompt-verbatim, `must_have` empty), our runs on the same prompts (flash, ≤ 3 rounds, on a 503-storm-day), renders BOTH GLBs with our renderer, gates both, and judges both with one fixed pro judge+verbatim, `must_have` empty), our runs on the same prompts (generator+**`api-agent:gemini:gemini-3.7-flash`** — the in-process arm, retired two days later by `66175ec`;+`candidates=1`, `texture=false`; ≤ 3 rounds, on a 503-storm day), renders BOTH GLBs with our+renderer, gates both, and judges both with one fixed pro judge(`static_object_v1`, n=2) — twice: **visual only** (no gate text in the judge's context) and**gated** (the gate findings in the context, what the harness itself would say). The galleryGLBs are merged, un-welded exports whose "floating" findings are export artefacts as often as@@ -501,6 +506,22 @@ counts, not the third decimal. Scenes: ahead on 4 of 5 at less than half the miquarter of the dollars; the two landmark prompts (Big Ben, Colosseum) score near zero on bothsides. Sheets: `bench/out/h2h_brilliana_v1/pairs/`, `bench/out/h2h_scene_v1/sheets/`.+**Re-read 2026-08-30, from the stored judgments rather than this table.** Recomputing+`overall_uncapped` — the rubric-weighted mean of the seven criteria, before any defect penalty or+cap — gives theirs 0.848 against ours 0.843: **Δ = −0.005, 6 W / 6 L**. So the +0.105 above is+produced *entirely* by the binary defect checklist (their mean penalty −0.192, ours −0.082), and the+checklist is perception, not our gates — `h2h_glb.py:170` judges the visual pass with `gates=[]`.+Its dominant term is `wrong_orientation`: theirs 4/12, ours 0/12, because `contracts/conventions.py`+pins a front axis per language and their pipeline pins only up-axis. Per criterion we lead+intent_fidelity +0.042 / structure +0.029 / proportions +0.025 and trail assembly_fit −0.069 /+geometry_detail −0.046 / materials −0.042 / craftsmanship −0.029 — right object, plainer object.+Both deltas sit inside the 0.202 floor, so **n = 12 separates neither**; what the run does establish+is that unselected single runs (`candidates=1`, `texture=false`) draw level with twelve entries that+rank **#2–#26 of the 120 scored entries in their gallery** (all ≥ 0.8085 by their own judge; gallery+median 0.7747). The comparison that would answer the question — our configured best+(`gemini-cli:gemini-3.7-flash`, `--candidates 3 --texture`) against a *median* draw from their+gallery — has not been run.+### 8.8 PR #1's articulated planner repair, verified (2026-08-26 evening)Plan-only pass over all 14 `articulated_v2` prompts with the merged planner (`bench/pin_plan.plan_once`):diff --git a/harness/docs/INSTALL.md b/harness/docs/INSTALL.mdindex 201b8752..7587180b 100644--- a/harness/docs/INSTALL.md+++ b/harness/docs/INSTALL.md@@ -356,10 +356,12 @@ export GEMINI_API_KEYS="key1,key2,key3" # e.g. in ~/.bashrc3dcodeverse doctor --live # one ~$0.00001 "pong" call```-### 8.2 Subscription CLIs (all optional)+### 8.2 The coding-agent CLIs (`gemini` required, the rest optional)-Only needed if you want `--generator gemini-cli:… | claude-code:… | codex:… | agy:…`.-The default generator (`gemini-cli:gemini-3.6-flash`) needs none of them.+The generator is always a vendor CLI: `--generator gemini-cli:… | claude-code:… | codex:… | agy:…`.+Since 2026-08-28 the default is `gemini-cli:gemini-3.7-flash`, so **`gemini` is the one CLI a default+run needs**; it authenticates with the same api key as the harness's own calls. The other three are+needed only when you name them.```bashnpm i -g @google/gemini-cli # gemini (0.53.0 here)diff --git a/harness/docs/INTERFACES.md b/harness/docs/INTERFACES.mdindex aa3d4e21..ee879164 100644--- a/harness/docs/INTERFACES.md+++ b/harness/docs/INTERFACES.md@@ -124,7 +124,10 @@ with run_ledger(ws.root, run=slug): # binds the run, points record_call a# The rule is the BACKEND, never "did a row get written while it ran": a CLI session with one# in-process tool call used to be dropped entirely, an in-process session whose turns ran in# another thread used to be counted twice. A backend may declare `meters_own_calls`.-from codeverse.cost.context import CallContext, call_context, bind_run, context_from_label, SELF_DESCRIBING+from codeverse.cost.context import CallContext, call_context, bound_run, context_from_label, SELF_DESCRIBING+from codeverse.cost.ledger import bound_ledger, process_ledger_path # (Δ 2026-08-30) both are context+ # managers holding a ContextVar token; there is no process-wide default any more — a thread that+ # may bill a model is spawned through proc.fan_out (which copies context), never a bare pool.# precedence: explicit > a label naming a job of its OWN (SELF_DESCRIBING = plan/judge/pairwise/# texture/caption) > ambient (call_context) > the rest of the label > nothing. A judge or a# texture pass that bills a model INSIDE an agent session is filed under its own stage, not the@@ -156,8 +159,8 @@ reconstructed, so all 61 recorded runs keep auditing.## agents/```pythonfrom codeverse.agents import get_coding_agent # (agent_id) -> CodingAgent .run(job) .available() .id .kind .model-from codeverse.agents.materialize import materialize_workspace, Materialized, codex_mcp_overrides-materialize_workspace(ws, *, agent_kind, contract_md, cookbook_rel, spatial_tools, mcp_command=None) -> Materialized+from codeverse.agents.materialize import materialize_workspace, codex_mcp_overrides+materialize_workspace(ws, *, agent_kind, contract_md, cookbook_rel, spatial_tools, mcp_command=None) -> None# mcp_command defaults to cli_common.default_mcp_command(ws) = [sys.executable, -m codeverse.spatial.mcp_server --workspace …]# (None/[] = the default — no ValueError); tracks/common.Services.materialize takes no mcp_command# writes AGENTS.md + GEMINI.md + CLAUDE.md (same body), ws/.3dcv/cookbook.md (Δ copied in: gemini-cli cannot read@@ -355,18 +358,21 @@ StopPolicy(policy).evaluate(history, budget_ok=True) -> StopDecision(reason, strfrom codeverse.orchestrator import DETAIL_KIND, KIND_FOR_STRATEGY, detail_blocked # THE strategy → kind dictfrom codeverse.orchestrator import BudgetGuard, usage_deltaBudgetGuard(budget, start_time=None, *, soft_fraction=1.0) # no run= / ledger=- .charge(usage, *, stage="other", role=None, label="", round_index=None, outcome="ok", enforce=True)- # THE door every dollar goes through: accumulate → bucket by stage/round → enforce the ceilings.+ .charge(usage, *, stage="other", enforce=True) # (Δ 2026-08-30: role/label/round_index/outcome gone)+ # THE door every dollar goes through: accumulate → bucket by stage → enforce the ceilings.+ # The per-call record (role, label, round, outcome) is the LEDGER row; the guard bucketing them a+ # second time fed nothing but itself.# It writes NO ledger row: cost.instrument.MeteredAgent (one source='session' row per CLI session) and# MeteredChatModel (one row per call) are the only writers of telemetry/cost.jsonl.# add(...) = charge(enforce=False) — "not enforced" never means "not seen".- .by_stage / .by_round[i] / .stage_summary() / .mark() # what a round burned, live+ .by_stage / .stage_summary() / .mark() # what a round burned, live (by_round[i] deleted — no reader;+ # per-round money is CallCost.round in telemetry/cost.jsonl)from codeverse.tracks.candidates import CandidateRecord, rank_candidates, decide_best # pure decision logicfrom codeverse.tracks.candidates import run_best_of_n, choose_best_round, quick_render # N parallel baselines in <ws>/_cand/c<k># each candidate IS steps._run_round(kind="candidate") in its sub-workspace: render=quick_render(ctx, round_index, build,# measurement, *, pipeline) (4 views + the articulated pose views), geometry_views=False, its own events.jsonl and a# one-sample judge → _cand/c<k>/judge/r00.json (a degraded verdict stays score None); crashed candidate retried once;-# selection by build_ok → quick score → fewer gate errors, pairwise within margin (booked stage=judge label="pairwise");+# selection by build_ok → quick score → fewer gate errors, pairwise within margin (booked stage=Stage.PAIRWISE);# winner copied back, normal r00 pipeline follows; rounds/candidates.json IS record.extra["candidates"] (n, selected,# candidates[], pairwise)from codeverse.tracks.articulated_object import default_motion_checks, expected_direction # gate "motion_direction"@@ -447,7 +453,8 @@ texture_pass(ws, spec, plan, *, model_id, image_model=None, judge=True, judge_mo# unwrap (planar/box/cylinder per part, tile_size_m) → artifacts/object_textured.glb → seam gate + before/after judge# gate (ship iff Δoverall ≥ −0.01 AND materials criterion improved); record.extra["texturing"], events texture.*from codeverse.texturing.plan import material_plan, default_plan, TexturePlan-from codeverse.texturing.generate import generate_textures, FakeImageModel+from codeverse.texturing.generate import generate_textures # (Δ) FakeImageModel / procedural_texture+ # moved to tests/texturing/conftest.py 2026-08-30 — no production path could construct themfrom codeverse.texturing.plan import scene_texture_pack, texture_pack_prompt # 6–12 named tiles + manifest.json# under public/textures/ for scene prompts (URL /public/textures/<name>.png)```@@ -497,6 +504,10 @@ unjudged | regression | zero_delta, `run_usd`) — emitted for aborted rounds to`judge.skipped` (reason), `generate.turn_cap` (label, max_turns, turns, cost_usd),`strategy.switch` (regression → whole-artifact rewrite), `budget.overrun` (a post-looptexture pass crossed the ceiling; the loop is already finished, so not `budget.exceeded`).+`RoundRecord` gained `pairwise: PairwiseNote | None` (Δ 2026-08-30) — the paid tie-break+verdict, stored so `reconcile_resume` REPLAYS it (`candidates.replay_best_round`) instead+of re-ranking on score and reversing a comparison the run bought. `PairwiseNote` moved+from `codeverse.tracks.candidates` to `codeverse.contracts.run` (it is pure data).`RunRecord` (record.json): spec, plan, workspace, status, rounds[RoundRecord],best_round, baseline_score, final_score, total_usage, environment,prompt_hashes{contract, cookbook, generate, refine}, error, extra{stop_reason,diff --git a/harness/docs/RUNBOOK.md b/harness/docs/RUNBOOK.mdindex a13d96fa..cb465e0c 100644--- a/harness/docs/RUNBOOK.md+++ b/harness/docs/RUNBOOK.md@@ -213,6 +213,12 @@ round (clock_q4, lighthouse_1: `budget`, 0 rounds, "60.3 / 76.7 min elapsed").tree is archived as `runs/<id>.attempt<N>` and the prompt runs from scratch with the newoptions, the way `ab_plan` has done since the skills wave.+It is also the ONLY way: `bench run --no-resume` was deleted 2026-08-30. It dropped the+recorded rows and then resumed the workspace anyway — `resume = ws.exists()` never read the+flag — so a "fresh" rerun carried the old spec, rounds, spend and clock and appended a second+results row for the same tree. `compare_backends --no-resume` kept its flag (it is documented+and has three readers) and now archives the harness cell's `run/` before re-running it.+### 7.w One driver per out dir — a second `bench run` re-runs what the first is still runningMeasured 2026-08-26 (refs_v1_graphics): a redo driver (`--redo-status budget`) started while the