Official Codebase of 3DCodeVerse
Python
Delete best-of-N candidates, seed plumbing, turn-cap wrap-up, truncation retry, render_console gate
gaoypengeadabf8fff61
diff --git a/eval/bench/_fixed_eval.py b/eval/bench/_fixed_eval.pyindex dd4bf8cb..4a53513f 100644--- a/eval/bench/_fixed_eval.py+++ b/eval/bench/_fixed_eval.py@@ -148,7 +148,7 @@ class FixedEvaluator:def evaluate(self, ws: Workspace, spec: Spec) -> EvalOutcome:"""build → the track's evidence (articulated: the sweep reads the built URDF, no plan, so- every arm is swept alike; the build's own gates last, as in ``steps._run_round``) → judge."""+ every arm is swept alike; the build's own gates last, as in ``steps.run_round``) → judge."""from codeverse3d.tracks import get_trackbuild, lint = self.build(ws, spec.language)diff --git a/eval/bench/_loop_diag.py b/eval/bench/_loop_diag.pyindex 95d40fff..8bcfe7a2 100644--- a/eval/bench/_loop_diag.py+++ b/eval/bench/_loop_diag.py@@ -227,7 +227,7 @@ def digest_run(run_dir: Path, row: BenchItemResult | None = None) -> RunDigest:d.stop_reason = stop_reason(rec)d.status = d.status or rec.status.valued.cost_usd = d.cost_usd or rec.total_usage.cost_usd- d.minutes = rec.minutes if rec.minutes is not None else d.minutes+ d.minutes = rec.minutescost = rec.telemetry.cost if rec.telemetry is not None else Noneif cost is not None:d.cost_by_stage = {s.stage: round(s.cost_usd, 6) for s in cost.by_stage}diff --git a/eval/bench/complexity_report.py b/eval/bench/complexity_report.pyindex 43a65a2f..66b50a71 100644--- a/eval/bench/complexity_report.py+++ b/eval/bench/complexity_report.py@@ -139,7 +139,7 @@ def row_for(run: Path, battery: str, slug: str | None = None) -> Row | None:overall=judgment.get("overall"),issues=len(judgment.get("issues") or []),cost_usd=round(float((record.get("total_usage") or {}).get("cost_usd") or 0.0), 4),- minutes=round(rec.minutes, 2) if rec is not None and rec.minutes is not None else None,+ minutes=round(rec.minutes, 2) if rec is not None else None,index=vec.index,band=vec.band,)diff --git a/eval/bench/rejudge_offline.py b/eval/bench/rejudge_offline.pyindex e427d7d1..eba01077 100644--- a/eval/bench/rejudge_offline.py+++ b/eval/bench/rejudge_offline.py@@ -157,7 +157,7 @@ def round_files(roots: list[Path]) -> list[Path]:def _acceptance_items(run_dir: Path) -> list[AcceptanceItem]:- """The plan's acceptance list; a candidate sub-workspace inherits its parent's plan."""+ """The plan's acceptance list; a sub-workspace inherits its parent's plan."""d = run_dirfor _ in range(4):plan = read_json_or_none(d / "plan.json")@@ -264,7 +264,7 @@ def main(argv: list[str] | None = None) -> int:ap.add_argument("--rubric", default="static_object", help="rubric NAME the stored verdicts must carry")ap.add_argument("--rubric-file", type=Path, default=None,help="score with THIS yaml instead of the installed rubric of the same name (a variant under test)")- ap.add_argument("--kinds", default="", help="comma list of round kinds to keep (default all, incl. candidate)")+ ap.add_argument("--kinds", default="", help="comma list of round kinds to keep (default all)")ap.add_argument("--out", type=Path, default=None, help="directory for replay.json + replay.md")ap.add_argument("--identity", action="store_true",help="assert nothing moved: exit 1 on any |Δ| > 1e-9 outside rubric drift; "diff --git a/eval/docs/EVAL.md b/eval/docs/EVAL.mdindex bee6080b..f8139df5 100644--- a/eval/docs/EVAL.md+++ b/eval/docs/EVAL.md@@ -35,8 +35,7 @@ fooling ourselves. Tools: `bench/run_bench.py`, `bench/compare_backends.py`,and wall time; compare at equal budget where possible.7. **Reproducibility.** `record.prompt_hashes` (contract/generate/refine; `cookbook` before D107),rubric content hash (`ScoreBreakdown.rubric_hash`), `record.environment` (python,- codeverse3d, blender, node, three, host) are stored per run; keep seeds fixed- (`--seed`).+ codeverse3d, blender, node, three, host) are stored per run; keep the plans pinned.## 2. Batteries (`bench/prompts/`)diff --git a/eval/tests/test_fixed_eval_language.py b/eval/tests/test_fixed_eval_language.pyindex 5bd4a306..d65da1c5 100644--- a/eval/tests/test_fixed_eval_language.py+++ b/eval/tests/test_fixed_eval_language.py@@ -212,7 +212,7 @@ def test_the_fixed_judge_reads_the_in_run_payload_for_the_same_round(monkeypatchmonkeypatch.setattr(FixedEvaluator, "judge_for", lambda self, spec: _Spy())ev.evaluate(ws, spec)- # the loop's round 0 over the same build: steps._run_round's gate order, then steps._judge+ # the loop's round 0 over the same build: steps.run_round's gate order, then steps._judgectx = SimpleNamespace(spec=spec, plan=None, ws=ws, services=Services(), settings=ev.settings, language=Language.BLENDER,judge=_Spy(), events=SimpleNamespace(emit=lambda *a, **k: None))pipe = ObjectPipeline()diff --git a/harness/CLAUDE.md b/harness/CLAUDE.mdindex e106cf6c..6b9b0ea3 100644--- a/harness/CLAUDE.md+++ b/harness/CLAUDE.md@@ -99,7 +99,7 @@ cd harness# executable interface example (tests/prompts/test_snippets_run.py), the craft as short optional practices in the skills (fences ≤ ~12 lines).3dcodeverse make "..." --variant argon # per-model prompt/skill overlay: prompts/variants/<name>/ + skills/variants/<name>/ (D105; C3D_VARIANT, C3D_VARIANTS='{"agy:gemini-4-argon": "argon"}')3dcodeverse make "neon rain on a window" --track graphics --language glsl_shader-3dcodeverse make "..." --image ref.png --candidates 3 --rounds 2 --dim height=0.45 --must "three legs" --no-run+3dcodeverse make "..." --image ref.png --rounds 2 --dim height=0.45 --must "three legs" --no-run3dcodeverse make "..." --no-pick # a run = baseline + --rounds refine rounds (fixed); make then picks a round → deliverable/ unless --no-pick3dcodeverse pick <slug> [--by score|pairwise] [--round N] [--judge MODEL] # hand over a round (codeverse3d/addons/select.py)3dcodeverse resume <slug> · 3dcodeverse show <slug> [--section status] (`status` = its STATUS section) · 3dcodeverse render <slug> [--mode wire] · 3dcodeverse judge <slug> [--model ... --n 3 --thinking medium]diff --git a/harness/README.md b/harness/README.mdindex f06d112a..341a899f 100644--- a/harness/README.md+++ b/harness/README.md@@ -15,7 +15,7 @@ renders, judges, refines and records every run as data-flywheel material.the list is `docs/ARCHITECTURE.md` §5.* **Judging:** rubric VLM judge (default `gemini:gemini-4-argon`, thinking `medium`) on labelled 2×2montages with binary defect checklists; code-computed scores, floors and caps from- deterministic gates; pairwise, reference and likeness judges; best-of-N candidates;+ deterministic gates; pairwise, reference and likeness judges;a calibration harness (`addons/calibration.py`).* **Flywheel:** git-versioned `src/` per round, `record.json`, sample export withquality tiers + dedupe (+ parquet, tar locators), preference/repair/cross-backend@@ -28,8 +28,8 @@ renders, judges, refines and records every run as data-flywheel material.## Architecture-Every run is **spec → plan → skeleton → [scene stages] → baseline round (best-of-N-optional) → refine rounds → finalise → record**. The package tree:+Every run is **spec → plan → skeleton → [scene stages] → baseline round →+refine rounds → finalise → record**. The package tree:```codeverse3d/@@ -40,7 +40,7 @@ codeverse3d/proc.py stdlib-only subprocess/JSON/JSONL primitives, run lock, fan-out (a leaf)orchestrator.py the round loop's library: stage runner + resume state, round knobs, the clocktracks/ the four track pipelines + the round loop, the one planner loop, generation strategies- (vendor-CLI agent / single-shot), repair, best-of-N, skills hook+ (vendor-CLI agent / single-shot), repair, skills hooklanguages/ one merged module per language (lint → skeleton → runtime) beside itsdata dirs: blender cadquery threejs urdf scene_threejs scene_blender glsl_shader opengl_pythonagents/ CodingAgent protocol + the vendor-CLI backends (claude-code,diff --git a/harness/codeverse3d/addons/costreport/audit.py b/harness/codeverse3d/addons/costreport/audit.pyindex d05e3f77..ea223ec6 100644--- a/harness/codeverse3d/addons/costreport/audit.py+++ b/harness/codeverse3d/addons/costreport/audit.py@@ -31,7 +31,6 @@ class RunLedger:stop_reason: str = ""n_rounds: int = 0round_built: list[bool | None] = field(default_factory=list)- selected_candidate: str = ""minutes: float | None = Nonecell_score: float | None = Nonewritten_usd: float = 0.0@@ -71,9 +70,6 @@ def read_run(run_dir: Path, *, name: str = "", recheck: bool = False) -> RunLedgled.stop_reason = stop_reason(rec)led.n_rounds, led.minutes = len(rec.rounds), rec.minutesled.round_built = [None if r.build is None else r.build.ok for r in rec.rounds]- cands = read_json_or_none(run_dir / "rounds" / "candidates.json") or rec.extra.get("candidates") or {}- if isinstance(cands, dict) and cands.get("selected") is not None:- led.selected_candidate = f"c{cands['selected']}"_rows(run_dir, led, recheck=recheck)return led@@ -176,12 +172,6 @@ def _waste(led: RunLedger) -> list[WasteItem]:detail=f"{len(repair)} repair call(s) in round(s) "f"{', '.join(f'r{i:02d}' for i in sorted({r.round for r in repair}))} "f"that still did not build"))- won = led.selected_candidate- losers = [r for r in led.rows if r.stage is Stage.CANDIDATE and not (won and r.label.endswith(f"_{won}"))]- if losers:- names = sorted({r.label.rsplit("_", 1)[-1] for r in losers})- items.append(WasteItem("lost_candidate", led.run, sum(r.cost_usd for r in losers),- detail=f"best-of-N: {', '.join(names)} lost to {won or '(unknown)'}"))if led.stop_reason in ("budget",) or led.status == "budget":extra = [r for r in led.rows if r.round is not None and led.n_rounds and r.round > led.n_rounds - 1]if extra:diff --git a/harness/codeverse3d/addons/gallery/detail.py b/harness/codeverse3d/addons/gallery/detail.pyindex 821dc3be..6fb8279e 100644--- a/harness/codeverse3d/addons/gallery/detail.py+++ b/harness/codeverse3d/addons/gallery/detail.py@@ -267,7 +267,7 @@ def _cost_panel(entry: RunEntry, ws: Workspace, rec: RunRecord) -> str:_kv("total", f"${cost.total_usd:.4f}"),_kv("calls", str(cost.n_calls)),- _kv("minutes", "—" if rec.minutes is None else f"{rec.minutes:.1f}"),+ _kv("minutes", f"{rec.minutes:.1f}"),])by_model = "".join(_kv(k, f"${v:.4f}") for k, v in sorted(cost.by_model.items(), key=lambda kv: -kv[1]))by_role = "".join(_kv(k, f"${v:.4f}") for k, v in sorted(cost.by_role.items(), key=lambda kv: -kv[1]))diff --git a/harness/codeverse3d/cli/layout_cmd.py b/harness/codeverse3d/cli/layout_cmd.pyindex 3e5b1394..d1a39418 100644--- a/harness/codeverse3d/cli/layout_cmd.py+++ b/harness/codeverse3d/cli/layout_cmd.py@@ -64,14 +64,6 @@ def print_status(ws: Workspace, record: RunRecord | None, n_events: int) -> Nonef"{k}={v}" for k, v in raw.items() if not isinstance(v, (dict, list)))[:300]if state:console.print(kv_table("state", state))- cands = read_json_or_none(ws.root / "rounds" / "candidates.json")- if cands is not None:- rows: dict[str, str] = {"n": str(cands.get("n", len(cands.get("candidates") or [])))}- for c in cands.get("candidates") or []:- score = c.get("score")- rows[f"{c.get('label', c.get('index'))}{' *' if c.get('index') == cands.get('selected') else ''}"] = (- f"score {score if score is None else round(score, 3)} build_ok={c.get('build_ok')}")- console.print(kv_table("candidates (best-of-N, * = selected)", rows))evs = EventLog(ws.events_path).read()if evs:console.print(f"[dim]last {min(n_events, len(evs))} of {len(evs)} events:[/dim]")@@ -212,7 +204,7 @@ def print_cost_and_settings(ws: Workspace, record: RunRecord) -> None:u = cost.tokensconsole.print(kv_table("cost", {"spent": f"{fmt_usd(cost.total_usd)} (the ledger, list price)",- "minutes": ("-" if record.minutes is None else f"{record.minutes:.1f}")+ "minutes": f"{record.minutes:.1f}"+ f" (the clock's ceiling: {cost.max_minutes:.0f} min)","tokens": f"in {u.input_tokens:,} (cached {u.cached_tokens:,}) · out {u.output_tokens:,} · "f"thoughts {u.thoughts_tokens:,} · {u.tool_calls} tool calls",@@ -226,8 +218,6 @@ def print_cost_and_settings(ws: Workspace, record: RunRecord) -> None:console.print(_roles_table(settings))console.print(kv_table("settings", {"budget": " · ".join(f"{k}={v}" for k, v in settings.budget.items()),- "candidates": settings.candidates or 1,- "seed": settings.seed,"rubric": f"{settings.rubric} (hash {settings.rubric_hash or '-'})","prompt hashes": " · ".join(f"{k}={v}" for k, v in settings.prompt_hashes.items()) or "-","tools": " · ".join(f"{k}={v}" for k, v in settings.tool_versions.items() if v and k != "platform"),diff --git a/harness/codeverse3d/cli/main.py b/harness/codeverse3d/cli/main.pyindex 11cfaf21..315aa3a8 100644--- a/harness/codeverse3d/cli/main.py+++ b/harness/codeverse3d/cli/main.py@@ -30,7 +30,7 @@ from codeverse3d.cli.cost_cmd import cost_appfrom codeverse3d.cli.flywheel_cmd import flywheel_appfrom codeverse3d.cli.skills_cmd import skills_appfrom codeverse3d.config import get_settings-from codeverse3d.contracts.common import TRACK_INFO, TRACK_LANGUAGES, Budget, Language, Track+from codeverse3d.contracts.common import TRACK_LANGUAGES, Budget, Language, Trackfrom codeverse3d.contracts.spec import Constraints, ReferenceImage, RunOptions, Spec@@ -260,14 +260,6 @@ def make(),] = None,max_minutes: Annotated[float | None, typer.Option("--max-minutes", min=0)] = None,- candidates: Annotated[- int | None,- typer.Option(- "--candidates",- min=1,- help="best-of-N baseline: N parallel candidates, keep the best (default: settings.default_candidates or 1)",- ),- ] = None,slug: Annotated[str | None, typer.Option("--slug")] = None,runs_dir: RunsDirOpt = None,dim: Annotated[@@ -287,14 +279,6 @@ def make("(`3dcodeverse pick <slug>` does it later)",),] = False,- seed: Annotated[- int,- typer.Option(- "--seed",- help="a run label, not a sampling seed: another value re-plans (it keys the plan cache); "- "the models, the coding agent, the judge and the builds (always seed 0) do not read it",- ),- ] = 0,force: Annotated[bool, typer.Option("--force", help="overwrite an existing run dir")] = False,no_run: Annotated[bool,@@ -323,10 +307,6 @@ def make(language = TRACK_LANGUAGES[track][0]run_slug = C.make_slug(prompt, track.value, language.value, slug)settings = get_settings()- if candidates is None:- candidates = settings.default_candidates- if candidates > 1 and not TRACK_INFO[track].best_of_n:- raise _no_best_of_n(track)backends = settings.backends(generator=generator, planner=planner, judge=judge)C.check_backends(backends)# resolved once here and frozen on the spec@@ -348,8 +328,7 @@ def make(budget=Budget(**{k: v for k, v in{"max_rounds": rounds, "max_minutes": max_minutes}.items() if v is not None}),backends=backends,- options=RunOptions(candidates=candidates, variant=chosen.name),- seed=seed,+ options=RunOptions(variant=chosen.name),tags=tag,)except ValueError as e:@@ -371,7 +350,6 @@ def make("judge": f"{backends.judge} n={settings.judge.samples} "f"({settings.judge.max_px}px/{settings.judge.detail_crops}crop)","rounds": spec.budget.max_rounds,- "candidates": candidates,"variant": chosen.label,},)@@ -379,25 +357,18 @@ def make(if no_run:ok(f"spec written: {ws.spec_path} (not run; `3dcodeverse resume {run_slug}` to start)")return- _run_track(spec, ws, resume=False, candidates=candidates, pick=not no_pick)-+ _run_track(spec, ws, resume=False, pick=not no_pick)-def _no_best_of_n(track: Track) -> C.CliError:- return C.CliError(f"--candidates is for tracks whose baseline is one session; a {track.value} run "- "writes its baseline in its pre-round stages")--def _run_track(spec: Spec, ws, *, resume: bool, candidates: int | None = None, force: bool = False,- pick: bool = True) -> None:+def _run_track(spec: Spec, ws, *, resume: bool, force: bool = False, pick: bool = True) -> None:from codeverse3d.cost.instrument import run_ledgerfrom codeverse3d.proc import install_stop_handlersfrom codeverse3d.tracks import get_trackinstall_stop_handlers()- options: dict = {"n_candidates": candidates} if candidates else {}try:with run_ledger(ws.root, run=ws.root.name):- record = get_track(spec.track, **options).run(spec, ws, resume=resume, force=force)+ record = get_track(spec.track).run(spec, ws, resume=resume, force=force)except KeyboardInterrupt:raise C.CliError(f"interrupted; resume with `3dcodeverse resume {ws.root.name}`", code=130@@ -456,9 +427,7 @@ def _finished_reason(ws, raised: dict) -> str:if state is None:return ""status = state.status- detail = f"status={status.value}" + (- f" stop_reason={state.stop_reason!r}" if state.stop_reason not in ("", status.value) else ""- )+ detail = f"status={status.value}"if status is RunStatus.BUDGET:return "" if raised else f"{detail}: raise a cap to continue it (--max-minutes / --rounds)"if status is RunStatus.MAX_ROUNDS:@@ -484,12 +453,6 @@ def _clock_spent(ws, max_minutes: float) -> str:def resume(slug: str,runs_dir: RunsDirOpt = None,- candidates: Annotated[- int | None,- typer.Option(- "--candidates", min=1, help="best-of-N baseline width (only matters before round 0 ran)"- ),- ] = None,max_minutes: Annotated[float | None,typer.Option("--max-minutes", min=0, help="raise the time cap before resuming"),@@ -515,8 +478,6 @@ def resume(# the run mutex, before the spec is rewrittenwith C.mutating(ws, what=f"3dcodeverse resume {ws.root.name}"):spec = C.load_spec(ws)- if candidates and candidates > 1 and not TRACK_INFO[spec.track].best_of_n:- raise _no_best_of_n(spec.track)raised = {k: vfor k, v in {"max_minutes": max_minutes, "max_rounds": rounds}.items()@@ -537,7 +498,7 @@ def resume(spec = spec.model_copy(update={"budget": spec.budget.model_copy(update=raised)})ws.write_json(ws.spec_path, spec)EventLog(ws.events_path).emit("budget.raised", **raised)- _run_track(spec, ws, resume=True, candidates=candidates, force=force, pick=not no_pick)+ _run_track(spec, ws, resume=True, force=force, pick=not no_pick)@app.command()diff --git a/harness/codeverse3d/config.py b/harness/codeverse3d/config.pyindex e4079527..433afb6b 100644--- a/harness/codeverse3d/config.py+++ b/harness/codeverse3d/config.py@@ -125,13 +125,6 @@ class Limits(BaseModel):# ceiling is Rate.max_in_flight.max_parallel_agents: int = Field(default=12, ge=1, description="thread fan-out for agent tasks (>= 1)")max_parallel_builds: int = Field(default=8, ge=1, description="concurrent build subprocesses (>= 1)")- agent_max_turns: Count = Field(- default=0,- description="hard cap on model turns per agent session (0 = the backend's own default, "- "which is what ships: a 28-turn cap cost $0.02 more and 0.205 of a score point in its "- "own A/B — docs/COST.md §17 — so no profile sets one; name it here or as "- "C3D_AGENT_MAX_TURNS if you want one).",- )class Rate(BaseModel):@@ -207,7 +200,6 @@ class Settings(BaseSettings):FLAT: ClassVar[dict[str, tuple[str, str]]] = {"C3D_MAX_IN_FLIGHT": ("rate", "max_in_flight"),"C3D_RENDER_GPU": ("render", "gpu"),- "C3D_AGENT_MAX_TURNS": ("limits", "agent_max_turns"),}@classmethod@@ -245,7 +237,6 @@ class Settings(BaseSettings):default_generator: str = Field(default_factory=lambda: Backends().generator)default_judge: str = Field(default_factory=lambda: Backends().judge)default_captioner: str = Field(default_factory=lambda: Backends().captioner)- default_candidates: int = Field(default=1, description="best-of-N baseline candidates (tracks read it)")ray_engine: Literal["numpy", "embree"] = Field(default="embree",description="ray engine of the deterministic inside tests (connectivity penetration, pose sweep): Embree via "diff --git a/harness/codeverse3d/contracts/common.py b/harness/codeverse3d/contracts/common.pyindex e00f151a..c4080dc9 100644--- a/harness/codeverse3d/contracts/common.py+++ b/harness/codeverse3d/contracts/common.py@@ -49,8 +49,6 @@ class TrackInfo(BaseModel):rubric: str = Field(description="rubric name under judges/rubrics/, e.g. 'static_object'")label: str = Field(description="human label for galleries / captions / reports")- best_of_n: bool = Field(default=True, description="the baseline is one session that --candidates N can run N "- "times side by side (a scene writes its baseline in the pre-round stages: no)")likeness_refs: bool = Field(default=False, description="reference images are a look to match (LikenessJudge, ""the likeness prompt note), not a silhouette to measure")@@ -59,7 +57,7 @@ class TrackInfo(BaseModel):TRACK_INFO: dict[Track, TrackInfo] = {Track.STATIC_OBJECT: TrackInfo(rubric="static_object", label="3D Objects"),Track.ARTICULATED_OBJECT: TrackInfo(rubric="articulated", label="Articulated Objects"),- Track.SCENE: TrackInfo(rubric="scene", label="3D Scenes", best_of_n=False, likeness_refs=True),+ Track.SCENE: TrackInfo(rubric="scene", label="3D Scenes", likeness_refs=True),Track.GRAPHICS: TrackInfo(rubric="shader", label="Procedural Graphics", likeness_refs=True),}diff --git a/harness/codeverse3d/contracts/run.py b/harness/codeverse3d/contracts/run.pyindex c4ac6786..584841c1 100644--- a/harness/codeverse3d/contracts/run.py+++ b/harness/codeverse3d/contracts/run.py@@ -154,7 +154,7 @@ class StepTime(BaseModel):Parallel work is ONE step, so no second is counted twice."""- step: str = Field(description="plan | skeleton | assets+env+layouts | zones | assemble | candidates"+ step: str = Field(description="plan | skeleton | assets+env+layouts | zones | assemble"" | generate | build | gates | render | judge")round: int | None = Field(default=None, description="the round the step belongs to; None = a run-level stage")wall_s: float = 0.0@@ -217,8 +217,6 @@ class SettingsSnapshot(BaseModel):schema_version: int = 1roles: list[RoleSettings] = Field(default_factory=list)budget: dict[str, Any] = Field(default_factory=dict, description="max_rounds / max_minutes / max_repair_attempts")- candidates: int | None = Field(default=None, description="best-of-N baseline width, resolved")- seed: int = 0rubric: str = ""rubric_hash: str = Field(default="", description="content hash of the judge rubric YAML")prompt_hashes: dict[str, str] = Field(default_factory=dict, description="contract / generate / refine / repair / skill:<name> / judge …")diff --git a/harness/codeverse3d/contracts/spec.py b/harness/codeverse3d/contracts/spec.pyindex e8abebcf..d0efa327 100644--- a/harness/codeverse3d/contracts/spec.py+++ b/harness/codeverse3d/contracts/spec.py@@ -64,11 +64,9 @@ class ProjectCheck(BaseModel):class RunOptions(BaseModel):"""Run-shape options frozen on the spec (distinct from Budget and Backends).- ``None`` / ``False`` means "not stated": the resolver falls through to its- ``Settings`` default (``BaseTrack._resolve_candidates``).+ ``None`` / ``False`` means "not stated"."""- candidates: int | None = Field(default=None, ge=1, description="best-of-N baseline candidates")variant: str = Field(default="", description="per-model prompt/skill variant this run was created with ""(codeverse3d/prompts/variants/<name>/, D105); '' = the base prompts and skills; ""frozen here so a resume and the record name the same overlay")@@ -89,7 +87,6 @@ class Spec(BaseModel):budget: Budget = Field(default_factory=Budget)backends: Backends = Field(default_factory=Backends)options: RunOptions = Field(default_factory=RunOptions)- seed: int = 0tags: list[str] = Field(default_factory=list)created_at: datetime = Field(default_factory=lambda: datetime.now(UTC))diff --git a/harness/codeverse3d/cost/types.py b/harness/codeverse3d/cost/types.pyindex 939f5690..292900b7 100644--- a/harness/codeverse3d/cost/types.py+++ b/harness/codeverse3d/cost/types.py@@ -18,7 +18,6 @@ class Stage(StrEnum):ZONES = "zones"ASSEMBLE = "assemble"BASELINE = "baseline"- CANDIDATE = "candidate"REPAIR = "repair"REFINE = "refine"GATES = "gates"@@ -59,8 +58,6 @@ _LABEL_STAGES: tuple[tuple[str, Stage], ...] = (("baseline", Stage.BASELINE),("refine", Stage.REFINE),("detail", Stage.REFINE),- ("candidate", Stage.CANDIDATE),- ("cand", Stage.CANDIDATE),("zone-layout", Stage.PLAN),("plan", Stage.PLAN),("judge", Stage.JUDGE),@@ -93,7 +90,7 @@ def role_for_stage(stage: Stage) -> Role:if stage is Stage.CAPTION:return Role.CAPTIONERif stage in (Stage.ASSETS, Stage.ENV, Stage.ZONES, Stage.ASSEMBLE, Stage.BASELINE,- Stage.REFINE, Stage.REPAIR, Stage.CANDIDATE):+ Stage.REFINE, Stage.REPAIR):return Role.GENERATORreturn Role.OTHERdiff --git a/harness/codeverse3d/languages/blender/__init__.py b/harness/codeverse3d/languages/blender/__init__.pyindex f8879290..58addb0f 100644--- a/harness/codeverse3d/languages/blender/__init__.py+++ b/harness/codeverse3d/languages/blender/__init__.py@@ -735,13 +735,13 @@ class BlenderRuntime(RuntimeLayout):return ws.root / ENTRY_RELdef build_command(- self, ws: Workspace, *, stl: bool = True, blend: bool = False, seed: int = 0,+ self, ws: Workspace, *, stl: bool = True, blend: bool = False,) -> list[str]:cmd = [self.blender_binary(), "-b", "--factory-startup", "--python", str(WRAPPER), "--","--script", str(self.entry_file(ws)), "--out", str(ws.artifacts),"--rlimit-gb", str(self._settings.limits.bpy_rlimit_gb),- "--seed", str(seed),+ "--seed", "0",]if stl:cmd.append("--stl")@@ -760,10 +760,9 @@ class BlenderRuntime(RuntimeLayout):def build(self, ws: Workspace, *, timeout_s: int | None = None, stl: bool = True, blend: bool = False,- seed: int = 0,) -> BuildResult:return run_wrapper_build(ws, language=self.language, extras={"stl": "object.stl", "blend": "object.blend"},- argv=lambda: self.build_command(ws, stl=stl, blend=blend, seed=seed),+ argv=lambda: self.build_command(ws, stl=stl, blend=blend),env=blender_env(), timeout_s=timeout_s or self._settings.limits.build_timeout_s, output_filter=strip_blender_noise)diff --git a/harness/codeverse3d/languages/cadquery/__init__.py b/harness/codeverse3d/languages/cadquery/__init__.pyindex 621e7173..5ca316bf 100644--- a/harness/codeverse3d/languages/cadquery/__init__.py+++ b/harness/codeverse3d/languages/cadquery/__init__.py@@ -325,11 +325,11 @@ class CadQueryRuntime(RuntimeLayout):def entry_file(self, ws: Workspace) -> Path:return ws.src / "model.py"- def build_command(self, ws: Workspace, *, seed: int = 0) -> list[str]:+ def build_command(self, ws: Workspace) -> list[str]:"""The wrapper's own tolerance defaults are the tessellation."""return [self._python, str(WRAPPER), "--script", str(self.entry_file(ws)), "--out", str(ws.artifacts),- "--rlimit-gb", str(self._rlimit_gb), "--seed", str(seed),+ "--rlimit-gb", str(self._rlimit_gb), "--seed", "0",]# ------------------------------------------------------------------ protocol@@ -341,9 +341,9 @@ class CadQueryRuntime(RuntimeLayout):def lint(self, ws: Workspace) -> GateReport:return lint_cadquery_file(self.entry_file(ws))- def build(self, ws: Workspace, *, timeout_s: int | None = None, seed: int = 0) -> BuildResult:+ def build(self, ws: Workspace, *, timeout_s: int | None = None) -> BuildResult:return run_wrapper_build(ws, language=self.language, extras={"step": "object.step", "stl": "object.stl"},- argv=lambda: self.build_command(ws, seed=seed),+ argv=lambda: self.build_command(ws),env=cadquery_env(), timeout_s=timeout_s or self._settings.limits.build_timeout_s)diff --git a/harness/codeverse3d/orchestrator.py b/harness/codeverse3d/orchestrator.pyindex f6c18def..b047453d 100644--- a/harness/codeverse3d/orchestrator.py+++ b/harness/codeverse3d/orchestrator.py@@ -19,7 +19,7 @@ from pydantic import BaseModel, Field, ValidationErrorfrom codeverse3d.contracts.artifacts import PLACEHOLDER_PART, GateReport, Judgmentfrom codeverse3d.contracts.common import Budgetfrom codeverse3d.contracts.plan import AcceptanceItem, Plan-from codeverse3d.contracts.run import RoundRecord, RunStatus, StepTime+from codeverse3d.contracts.run import RunStatus, StepTimefrom codeverse3d.contracts.spec import PROJECT_GATE_PREFIXfrom codeverse3d.conventions import split_instance, to_snakefrom codeverse3d.cost.tally import timed@@ -42,7 +42,6 @@ class RunState(BaseModel):steps: list[StepTime] = Field(default_factory=list, description="run-level timed steps, every session's ""(a stage, best-of-N, the part of an aborted round that ran) — the run's minutes")materialized_for: str = Field(default="", description="agent kind the workspace was materialised for")- stop_reason: str = ""error: str = ""started_at: datetime = Field(default_factory=lambda: datetime.now(UTC))updated_at: datetime = Field(default_factory=lambda: datetime.now(UTC))@@ -97,7 +96,9 @@ def _jsonable(obj: Any) -> Any:return str(obj)if isinstance(obj, dict):return {str(k): _jsonable(v) for k, v in obj.items()}- if isinstance(obj, (list, tuple, set)):+ if isinstance(obj, set):+ return sorted((_jsonable(v) for v in obj), key=str)+ if isinstance(obj, (list, tuple)):return [_jsonable(v) for v in obj]return obj@@ -397,7 +398,6 @@ class RoundPolicy:max_refine_tasks: int = 6max_instructions_per_task: int = 6 # lines handed to ONE generation task (grouped by target)parallel_min_tasks: int = 2 # fan out only when >= this many file-disjoint groups- n_candidates: int = 1 # best-of-N baseline (candidates generated in parallel, best kept)judge_samples: int = 1#: seconds of the hard clock a refine session leaves for build, gates, render and judgejudge_reserve_s: float = 240.0@@ -412,10 +412,6 @@ class RoundPolicy:return budget.left_s() >= self.need_s(single_shot=single_shot)-def gate_error_count(r: RoundRecord) -> int:- return sum(len(g.errors) for g in r.gates)--# ===================================================================== budgetclass BudgetExceeded(RuntimeError):"""Raised when a run crosses its wall-clock ceiling (``max_minutes``)."""@@ -437,7 +433,7 @@ class BudgetGuard:):self.budget = budgetself.start_time = time.time() if start_time is None else start_time- #: ACTIVE seconds carried over from previous sessions of this run.+ #: ACTIVE seconds carried over from previous sessions of this run.self._active_s: float = 0.0self._lock = threading.Lock()#: fraction of the hard ceiling the *baseline* may use (1.0 = no soft cap)@@ -511,10 +507,6 @@ class BudgetGuard:"""Seconds left before the hard ceiling, never negative."""return max(0.0, self.hard_minutes - self.elapsed_minutes()) * 60.0- def summary(self) -> dict[str, float]:- """``record.extra["budget"]``: the clock at the end, beside its ceiling."""- return {"elapsed_min": round(self.elapsed_minutes(), 2), "max_minutes": self.budget.max_minutes}-class BudgetSnapshot(BaseModel):"""What survives a resume (``run_state.extra["budget_snapshot"]``)."""diff --git a/harness/codeverse3d/record/telemetry.py b/harness/codeverse3d/record/telemetry.pyindex 670b9222..4bf97d8f 100644--- a/harness/codeverse3d/record/telemetry.py+++ b/harness/codeverse3d/record/telemetry.py@@ -84,8 +84,6 @@ def settings_snapshot(record: RunRecord) -> SettingsSnapshot:return SettingsSnapshot(roles=_role_settings(record),budget=spec.budget.model_dump(mode="json"),- candidates=spec.options.candidates,- seed=spec.seed,rubric=rubric,rubric_hash=rubric_hash(rubric),prompt_hashes=dict(record.prompt_hashes),@@ -139,7 +137,7 @@ def cost_summary(record: RunRecord, rows: list[CallCost]) -> CostSummary:minutes = record.minutesreturn CostSummary(total_usd=round(summ.total.cost_usd, 6),- minutes=None if minutes is None else round(minutes, 2),+ minutes=round(minutes, 2),max_minutes=record.spec.budget.max_minutes,n_calls=summ.total.n_calls,tokens=record.total_usage,diff --git a/harness/codeverse3d/tracks/__init__.py b/harness/codeverse3d/tracks/__init__.pyindex d9b55b6e..5ad74ff0 100644--- a/harness/codeverse3d/tracks/__init__.py+++ b/harness/codeverse3d/tracks/__init__.py@@ -17,7 +17,7 @@ if TYPE_CHECKING:def get_track(track: Track | str, **options: Any) -> BaseTrack:"""Track instance for ``track``. ``options`` are forwarded to the track- constructor (e.g. ``n_candidates=2`` for a best-of-N baseline, ``policy=``)."""+ constructor (e.g. ``policy=``)."""t = Track(track)if t is Track.STATIC_OBJECT:from codeverse3d.tracks.static_object import StaticObjectTrackdiff --git a/harness/codeverse3d/tracks/candidates.py b/harness/codeverse3d/tracks/candidates.pydeleted file mode 100644index bd5c19cb..00000000--- a/harness/codeverse3d/tracks/candidates.py+++ /dev/null@@ -1,186 +0,0 @@-"""Best-of-N baseline (track side)."""--from __future__ import annotations--import logging-import shutil-from collections.abc import Sequence-from dataclasses import replace-from functools import partial-from pathlib import Path-from typing import Any--from pydantic import BaseModel, Field--from codeverse3d.contracts.artifacts import BuildResult, Measurement, RenderSet-from codeverse3d.contracts.common import Usage-from codeverse3d.contracts.run import RoundRecord-from codeverse3d.conventions import OBJECT_VIEWS_QUICK-from codeverse3d.cost.tally import tally, timed-from codeverse3d.orchestrator import BudgetExceeded, gate_error_count-from codeverse3d.proc import EventLog, fan_out-from codeverse3d.tracks.common import RunContext-from codeverse3d.tracks.generation import GenerationTask, is_model_outage-from codeverse3d.tracks.steps import (- RoundFailed,- RoundPipeline,- _run_round,- run_round,-)-from codeverse3d.workspace import Workspace--log = logging.getLogger(__name__)--CAND_DIR = "_cand"-QUICK_PX = 512---# ----------------------------------------------------------------------------- best-of-N-def run_best_of_n(track: Any, ctx: RunContext, tasks: Sequence[GenerationTask], pipeline: RoundPipeline, *,- files_hint: Sequence[str] = ()) -> RoundRecord:- """Baseline round with ``ctx.policy.n_candidates`` parallel candidates; returns the r00 record."""- n = max(1, ctx.policy.n_candidates)- ctx.events.emit("candidates.start", round=0, n=n, parallel=min(n, ctx.settings.limits.max_parallel_agents))- subs = [make_candidate_context(track, ctx, k) for k in range(n)]-- def _one(k: int) -> CandidateRecord:- sub, label = subs[k], f"c{k}"- ctx.events.emit("candidate.start", candidate=k, workspace=str(sub.ws.root))- tasks_k = [t.model_copy(update={"label": f"{t.label}_{label}", "kind": "candidate"}) for t in tasks]- with tally() as spent:- rec = _run_round(sub, index=0, kind="candidate", tasks=tasks_k, pipeline=pipeline,- files_hint=list(files_hint), render=partial(quick_render, pipeline=pipeline),- geometry_views=False, spent=spent)- build_ok = rec.build is not None and rec.build.ok- cand = CandidateRecord(index=k, label=label, workspace=str(sub.ws.root), commit=rec.commit, build_ok=build_ok,- score=rec.score, gate_errors=gate_error_count(rec), usage=rec.usage,- duration_s=rec.duration_s, sheet=(rec.renders.contact_sheet if rec.renders else "") or "",- notes=rec.notes)- ctx.events.emit("candidate.done", candidate=k, score=cand.score, build_ok=build_ok, gate_errors=cand.gate_errors,- duration_s=cand.duration_s, cost_usd=round(rec.usage.cost_usd, 4), commit=rec.commit[:10])- return cand-- with timed("candidates", ctx.state.steps, round_index=0):- results = fan_out(list(range(n)), _one, max_workers=ctx.settings.limits.max_parallel_agents,- label="candidates", item_name=lambda k: f"c{k}")- records: list[CandidateRecord] = []- budget_stop: BudgetExceeded | None = None- for k, r in enumerate(results):- if isinstance(r, Exception):- if isinstance(r, BudgetExceeded) and budget_stop is None:- budget_stop = r- records.append(CandidateRecord(index=k, label=f"c{k}", workspace=str(subs[k].ws.root),- notes=f"{type(r).__name__}: {r}"[:300]))- ctx.events.emit("candidate.failed", candidate=k, error=f"{type(r).__name__}: {r}"[:300])- continue- records.append(r)- if not any(r.commit for r in records):- if budget_stop is not None:- raise budget_stop- died = [r for r in results if isinstance(r, Exception)]- raise RoundFailed("; ".join(f"{r.label}: {r.notes}" for r in records) or "every candidate failed",- transient=any(e.transient if isinstance(e, RoundFailed) else is_model_outage(e) for e in died),- quota=any(isinstance(e, RoundFailed) and e.quota for e in died),- stalled=any(isinstance(e, RoundFailed) and e.stalled for e in died))- best = rank_candidates(records)[0]- records[best].selected = True- usage = sum((r.usage for r in records), Usage())- ctx.ws.write_json(ctx.ws.root / "rounds" / "candidates.json",- {"n": n, "selected": best, "candidates": [r.model_dump(mode="json") for r in records]})- ctx.events.emit("candidate.selected", round=0, candidate=best, label=records[best].label, score=records[best].score,- build_ok=records[best].build_ok, scores={r.label: r.score for r in records},- cost_usd=round(usage.cost_usd, 4))- adopt_candidate(ctx, subs[best].ws)- ctx.ws.commit(f"r00 baseline: candidate {records[best].label} selected (best of {n})")- others = ", ".join(f"{r.label}={r.score:.3f}" if r.score is not None else f"{r.label}=n/a"- for r in records if r.index != best)- notes = [f"best-of-{n}: selected {records[best].label} "- f"(quick score {records[best].score if records[best].score is None else round(records[best].score, 3)}; others: {others or '-'})"]- ctx.budget.check()- return run_round(ctx, index=0, kind="baseline", tasks=[], pipeline=pipeline, files_hint=list(files_hint),- extra_usage=usage, extra_notes=notes)---def make_candidate_context(track: Any, ctx: RunContext, k: int) -> RunContext:- """A self-contained sub-workspace (skeleton + spec + plan + agent files) and its context."""- sub_ws = Workspace(ctx.ws.root / CAND_DIR / f"c{k}")- if sub_ws.root.exists():- shutil.rmtree(sub_ws.root)- sub_ws.create()- _copy_code(ctx.ws, sub_ws)- for path in (ctx.ws.spec_path, ctx.ws.plan_path):- if path.is_file():- shutil.copyfile(path, sub_ws.root / path.name)- if not ctx.single_shot:- ctx.services.materialize(sub_ws, agent_kind=ctx.agent_kind, contract_md=track.agent_contract_md(ctx))- sub_ws.commit("skeleton")- # own event log (the run log keeps only candidate.*) and a one-sample judge for ranking- return replace(ctx, ws=sub_ws, extra={}, events=EventLog(sub_ws.events_path),- judge=track.make_judge(ctx, n_samples=1))---def quick_render(ctx: RunContext, round_index: int, build: BuildResult, measurement: Measurement | None, *,- pipeline: RoundPipeline) -> RenderSet | None:- """Cheap renders for ranking a candidate — by the route THIS track actually has."""- out_dir = ctx.ws.renders_dir(round_index) / "quick"- try:- if build.glb_path:- rs = ctx.services.render_object(Path(build.glb_path), out_dir, views=OBJECT_VIEWS_QUICK,- width=QUICK_PX, height=QUICK_PX)- pose = ctx.extra.pop("pose_views", None)- if pose:- rs.views = list(rs.views) + list(pose)- return rs- return pipeline.render(ctx, round_index, build, measurement)- except Exception as e: # noqa: BLE001 — a candidate without renders is ranked by gates only- log.warning("quick render failed for %s: %s", ctx.ws.root, e)- ctx.events.emit("candidate.render_failed", workspace=str(ctx.ws.root), error=f"{type(e).__name__}: {e}")- return None---def adopt_candidate(ctx: RunContext, sub_ws: Workspace) -> None:- """Copy the winner's src/ + public/ into the run workspace and keep its trajectories."""- _copy_code(sub_ws, ctx.ws)- if sub_ws.trajectories.is_dir():- shutil.copytree(sub_ws.trajectories, ctx.ws.trajectories, dirs_exist_ok=True)---def _copy_code(src_ws: Workspace, dest_ws: Workspace) -> None:- """``src/`` + ``public/`` of one workspace replace the other's (an absent one leaves it empty)."""- for rel in ("src", "public"):- dest = dest_ws.root / rel- shutil.rmtree(dest, ignore_errors=True)- if (src_ws.root / rel).is_dir():- shutil.copytree(src_ws.root / rel, dest, ignore=shutil.ignore_patterns("node_modules", "__pycache__"))- else:- dest.mkdir(parents=True, exist_ok=True)---# ===================================================================== decision logic-class CandidateRecord(BaseModel):- """One best-of-N baseline candidate (generated in its own sub-workspace)."""-- index: int- label: str- commit: str = Field(default="", description="commit in the candidate's sub-workspace")- workspace: str = ""- build_ok: bool = False- score: float | None = None- gate_errors: int = 0- usage: Usage = Field(default_factory=Usage)- duration_s: float = 0.0- sheet: str = Field(default="", description="quick contact sheet (4 views) used for the quick judge")- notes: str = ""- selected: bool = False-- def sort_key(self) -> tuple[int, float, int, int]:- return (1 if self.build_ok else 0, self.score if self.score is not None else -1.0, -self.gate_errors, -self.index)---def rank_candidates(records: Sequence[CandidateRecord]) -> list[int]:- """Candidate indices best-first: built > higher quick score > fewer gate errors > earlier."""- return [r.index for r in sorted(records, key=lambda r: r.sort_key(), reverse=True)]---__all__ = ["CAND_DIR", "CandidateRecord", "adopt_candidate", "make_candidate_context", "quick_render",- "rank_candidates", "run_best_of_n"]diff --git a/harness/codeverse3d/tracks/generation.py b/harness/codeverse3d/tracks/generation.pyindex ba3e1c7a..07568769 100644--- a/harness/codeverse3d/tracks/generation.py+++ b/harness/codeverse3d/tracks/generation.py@@ -170,32 +170,6 @@ def write_files(SINGLE_SHOT_PREFIX = "single-shot:"-DEFAULT_AGENT_MAX_TURNS = 0-DEFAULT_WRAPUP_TURNS = 6--WRAPUP_PROMPT = (- "You have reached the turn budget for this task, so this is your LAST session on it.\n"- "Do NOT start new work and do NOT begin any refactor.\n"- "1. Make sure every file you edited is written to disk and self-consistent.\n"- "2. Run the build tool ONCE. If it fails, make the smallest edit that makes it build "- "(or revert your last incomplete edit) and build once more.\n"- "3. Reply with a short summary: what you changed, what still does not match the task, "- "and the single next step you would take.\n\n"- "The task you were working on, for reference:\n"-)---def agent_max_turns(default: int = DEFAULT_AGENT_MAX_TURNS) -> int:- """The turn cap a machine asks for: ``Settings.limits.agent_max_turns`` when set, else ``default``."""- return get_settings().limits.agent_max_turns or max(0, int(default))---def turn_capped(res: Any) -> bool:- if getattr(res, "exit_reason", "") != "budget":- return False- return any("max_turns" in str(e) for e in (getattr(res, "errors", None) or []))--SINGLE_SHOT_THINKING = "medium"@@ -257,7 +231,6 @@ class GenerationResult(BaseModel):ok: boolusage: Usage = Field(default_factory=Usage)files_changed: list[FileChange] = Field(default_factory=list)- commit: str = ""notes: str = ""label: str = ""transient: bool = Field(@@ -345,18 +318,6 @@ def generate_files(resp = ask(req)usage = resp.usage- retry = False- if _is_truncated(resp):- grown = min(task.max_output_tokens * 2, 65_536)- retry = grown > int(req.max_output_tokens or 0)- events.emit("generate.truncated", label=task.label, finish_reason=str(resp.finish_reason), retry=retry)- if retry:- # the retry is a second full-price call: preflight the clock again and- # hand it only what is left of the run (BudgetExceeded past the ceiling)- req = req.model_copy(update={"max_output_tokens": grown,- "max_wait_s": _deadline_preflight(budget, single_shot_wait_s(task.timeout_s, RETRY_DEADLINE_S))})- resp = ask(req)- usage = usage + resp.usagetraj = ws.trajectory_dir(task.label.replace("/", "_"), task.round)(traj / "prompt.md").write_text(f"# system\n{system}\n\n# user\n{task.prompt}\n")(traj / "response.md").write_text(resp.text or "")@@ -366,8 +327,7 @@ def generate_files(label=task.label)if _is_truncated(resp):- if retry:- events.emit("generate.truncated", label=task.label, finish_reason=str(resp.finish_reason), retry=False)+ events.emit("generate.truncated", label=task.label, finish_reason=str(resp.finish_reason))return _result(f"truncated: finish_reason={resp.finish_reason}")try:files = parse_multifile(resp.text or "", expected_files=task.files_hint or None)@@ -424,7 +384,6 @@ def run_agent_task(hard_deadline = Noneif budget is not None:hard_deadline = time.monotonic() + max(0.0, budget.timeout_s(float("inf"), floor_s=0, soft=False) - task.reserve_s)- turns_cap = agent_max_turns()# typed job context honoured by every CodingAgent: round → trajectory dir + ToolContext,# language/track → spatial tool filtering, files_hint → the edit_only scope.language, track = _spec_lang_track(ws)@@ -447,30 +406,13 @@ def run_agent_task(effort=session_effort(task),always_writable=_always_writable(language, task),read_only=_read_only(language, ws),- **({"max_turns": turns_cap} if turns_cap > 0 else {}),)acc = _SessionAcc(task=task, budget=budget)res = acc.run(agent, job)changes = res.files_changed- if turn_capped(res):- events.emit(- "generate.turn_cap",- label=task.label,- round=task.round,- max_turns=job.max_turns,- turns=acc.turns,- session_usd=round(acc.usage.cost_usd, 4),- )- wrap = job.model_copy(- update={"prompt": WRAPUP_PROMPT + prompt, "max_turns": DEFAULT_WRAPUP_TURNS}- )- res = acc.run(agent, wrap, wrapup=True, optional=True) or res- changes = res.files_changed or changes-if (not changes- and not acc.wrappedand res.exit_reason not in ("timeout", "budget")and not (res.transient or res.quota)):@@ -488,8 +430,6 @@ def run_agent_task(notes = f"exit={res.exit_reason}" + (f"; errors={res.errors[:3]}" if res.errors else "")notes += ("; " + "; ".join(acc.errors)) if acc.errors else ""- if acc.wrapped:- notes += f"; turn cap {job.max_turns} reached → wrap-up session"events.emit("generate.done",label=task.label,@@ -499,7 +439,6 @@ def run_agent_task(exit_reason=res.exit_reason,turns=acc.turns,sessions=acc.sessions,- turn_capped=acc.wrapped,cost_usd=round(acc.usage.cost_usd, 4),)return GenerationResult(@@ -523,18 +462,12 @@ class _SessionAcc:self.usage = Usage()self.turns = 0self.sessions = 0- self.wrapped = Falseself.errors: list[str] = []- def run(- self, agent: Any, job: AgentJob, *, wrapup: bool = False, optional: bool = False- ) -> AgentResult | None:- """One session. ``optional`` sessions (wrap-up, silent-bail retry) never"""+ def run(self, agent: Any, job: AgentJob, *, optional: bool = False) -> AgentResult | None:+ """One session. ``optional`` sessions (the silent-bail retry) never"""self.sessions += 1- self.wrapped = self.wrapped or wrapup- label = self.task.label + (- ".wrapup" if wrapup else (f".a{self.sessions}" if self.sessions > 1 else "")- )+ label = self.task.label + (f".a{self.sessions}" if self.sessions > 1 else "")try:if self.budget is not None:self.budget.check()diff --git a/harness/codeverse3d/tracks/lifecycle.py b/harness/codeverse3d/tracks/lifecycle.pyindex 805b9d89..6933eeeb 100644--- a/harness/codeverse3d/tracks/lifecycle.py+++ b/harness/codeverse3d/tracks/lifecycle.py@@ -6,14 +6,14 @@ import loggingimport platformimport tracebackfrom collections.abc import Callable, Sequence-from dataclasses import dataclass, replace+from dataclasses import dataclassfrom datetime import UTC, datetimefrom pathlib import Pathfrom typing import Anyfrom codeverse3d.config import Settings, get_settingsfrom codeverse3d.contracts.artifacts import GateReport-from codeverse3d.contracts.common import TRACK_INFO, Track+from codeverse3d.contracts.common import Trackfrom codeverse3d.contracts.plan import Planfrom codeverse3d.contracts.run import RoundRecord, RunRecord, RunStatusfrom codeverse3d.contracts.spec import Spec@@ -44,7 +44,6 @@ from codeverse3d.prompts.variants import (variant_block,)from codeverse3d.record.record import previous_verdict-from codeverse3d.tracks.candidates import run_best_of_nfrom codeverse3d.tracks.common import RunContext, Servicesfrom codeverse3d.tracks.generation import ALLOWED_ROOTS, GenerationTask, single_shot_model_idfrom codeverse3d.tracks.planner import plan as run_planner@@ -79,7 +78,6 @@ def plan_stage_inputs(spec: Spec) -> dict[str, Any]:"constraints": spec.constraints,"references": spec.references,"planner": spec.backends.planner,- "seed": spec.seed,}if spec.fixed_parts: # only when set, so every existing run's plan key stays putinputs["fixed_parts"] = spec.fixed_parts@@ -197,7 +195,6 @@ class BaseTrack:policy: RoundPolicy | None = None,settings: Settings | None = None,planner_model: Any | None = None,- n_candidates: int | None = None,):self.services = services or Services()self._judge = judge@@ -207,7 +204,6 @@ class BaseTrack:self._policy = policyself._settings = settingsself._planner_model = planner_model- self._n_candidates = n_candidates# ------------------------------------------------------------------ hooksdef make_pipeline(self) -> RoundPipeline:@@ -341,7 +337,7 @@ class BaseTrack:raise SpecChanged(f"spec.json for run {ws.root.name} no longer matches the spec its "f"{len(journal)} recorded round(s) were built from (plan-input fingerprint "- f"{stored} != {fp}: prompt/track/language/constraints/references/planner/seed). "+ f"{stored} != {fp}: prompt/track/language/constraints/references/planner). "f"Resuming would record those rounds against the new spec. Fork a new run "f"(`3dcodeverse make`), or resume with --force to archive the old rounds under "f"rounds/pre_force/ and re-plan. Raising budget caps alone never trips this."@@ -402,7 +398,6 @@ class BaseTrack:budget.restore(BudgetSnapshot.model_validate(snap))policy = self._policy or RoundPolicy(max_rounds=spec.budget.max_rounds,judge_samples=max(1, int(settings.judge.samples or 1)))- policy = replace(policy, n_candidates=self._resolve_candidates(spec, settings))rubric = run_rubric(spec, self.rubric)ctx = RunContext(spec=spec, ws=ws, events=events, settings=settings, budget=budget, runtime=runtime,services=self.services, state=state, policy=policy, track=self.track, rubric=rubric,@@ -414,17 +409,6 @@ class BaseTrack:ctx.record_prompt("contract", ctx.contract_text)return ctx- def _resolve_candidates(self, spec: Spec, settings: Settings) -> int:- """Best-of-N width: constructor value, else ``spec.options.candidates``, else the settings default."""- if not TRACK_INFO[self.track].best_of_n:- return 1- n = self._n_candidates- if n is None:- n = spec.options.candidates- if n is None:- n = settings.default_candidates- return max(1, int(n or 1))-def make_judge(self, ctx: RunContext, *, n_samples: int | None = None) -> Any:"""The main judge: the injected one, else an instance of the class ``judge_for`` picks for this track."""if self._judge is not None:@@ -523,13 +507,10 @@ class BaseTrack:return _stop(RunStatus.BUDGET)ctx.state.save(ctx.ws)try:- if index == 0 and tasks and ctx.policy.n_candidates > 1:- rec = run_best_of_n(self, ctx, tasks, pipeline, files_hint=ctx.runtime.expected_files(ctx.plan))- else:- rec = run_round(ctx, index=index, kind=kind, tasks=tasks, pipeline=pipeline, instructions=instructions,- previous=previous, findings=rounds[-1].gates if rounds else (),- files_hint=ctx.runtime.expected_files(ctx.plan),- extra_notes=self.round_extra_notes(ctx))+ rec = run_round(ctx, index=index, kind=kind, tasks=tasks, pipeline=pipeline, instructions=instructions,+ previous=previous, findings=rounds[-1].gates if rounds else (),+ files_hint=ctx.runtime.expected_files(ctx.plan),+ extra_notes=self.round_extra_notes(ctx))except RoundFailed as e:if e.quota:ctx.events.emit("round.agent_quota", round=index, detail=str(e)[:500])@@ -613,7 +594,7 @@ class BaseTrack:error = error or f"finalise rebuild failed: {rebuild_err}"elif rebuild_ok:ctx.extra["finalise_rebuild_failed"] = ""- ctx.state.status, ctx.state.stop_reason, ctx.state.error = status, status.value, error+ ctx.state.status, ctx.state.error = status, errorself._save_budget(ctx)rec = self._record(ctx, rounds, status, error=error)self.services.finalize_record(ctx.ws, rec)@@ -634,11 +615,7 @@ class BaseTrack:return Falsedef _record(self, ctx: RunContext, rounds: list[RoundRecord], status: RunStatus, *, error: str) -> RunRecord:- cands = ctx.ws.root / "rounds" / "candidates.json"- extra: dict[str, Any] = {"stop_reason": status.value, "rubric": ctx.rubric, "budget": ctx.budget.summary(),- "n_candidates": ctx.policy.n_candidates,- "candidates": ctx.ws.read_json(cands) if cands.is_file() else None,- "sampling": self.sampling(ctx.judge)}+ extra: dict[str, Any] = {"rubric": ctx.rubric, "sampling": self.sampling(ctx.judge)}if ctx.extra.get("finalise_rebuild_failed"):extra["finalise_rebuild_failed"] = ctx.extra["finalise_rebuild_failed"]if ctx.extra.get("aborted_rounds"):diff --git a/harness/codeverse3d/tracks/scene.py b/harness/codeverse3d/tracks/scene.pyindex 50260663..f1657271 100644--- a/harness/codeverse3d/tracks/scene.py+++ b/harness/codeverse3d/tracks/scene.py@@ -10,11 +10,9 @@ from typing import Anyfrom codeverse3d.contracts.artifacts import (BuildResult,- GateFinding,GateReport,Measurement,RenderSet,- Severity,)from codeverse3d.contracts.common import ENTRY_FILE, TRACK_INFO, Language, Trackfrom codeverse3d.contracts.plan import BBox, CameraPlan, Plan, ScenePlan, ZonePlan@@ -49,7 +47,6 @@ from codeverse3d.workspace import Workspacelog = logging.getLogger(__name__)SCENE_TIMES: tuple[float, float] = (0.0, 1.5)-MAX_CONSOLE_ERRORS = 8ENV_TIMEOUT_S = 420ZONE_TIMEOUT_S = 600@@ -128,18 +125,13 @@ class ScenePipeline:width=r.scene_width, height=r.scene_height)def post_render_gates(self, ctx: RunContext, round_index: int, renders: RenderSet) -> list[GateReport]:- errs = [e for e in renders.console_errors if e.strip()]- findings = [GateFinding(gate="render_console", severity=Severity.ERROR, target=_guess_target(e, ctx), message=e[:300],- data={"kind": "console_error"}, fix_hint="open the named module, fix the thrown error; run the build/probe tool until no console errors")- for e in errs[:MAX_CONSOLE_ERRORS]]- out = [GateReport.of("render_console", findings)]try:# scene_frames checks from metrics.json; ERROR findings carry fix hints into the next round- out.append(ctx.services.frame_gate(renders))+ return [ctx.services.frame_gate(renders)]except Exception as e: # noqa: BLE001 — the frame gate is advisory instrumentationlog.warning("scene frame gate failed: %s", e)ctx.events.emit("gate.frames_failed", round=round_index, error=f"{type(e).__name__}: {e}")- return out+ return []def judge_views(self, ctx: RunContext, renders: RenderSet) -> RenderSet:"""The ≤ 10 views the judge sees (authored@t0 first)."""@@ -493,19 +485,3 @@ def zone_window_s(ctx: RunContext, n_zones: int) -> int:"""The zone session's window."""left = (ctx.budget.hard_minutes - ctx.budget.elapsed_minutes()) * 60.0 - ROUND0_RESERVE_Sreturn int(max(ZONE_MIN_S, min(float(ZONE_TIMEOUT_S * max(1, n_zones)), left)))---def _guess_target(error: str, ctx: RunContext) -> str:- """The refine target a console error names."""- low = error.lower()- for attr in ("zones", "assets"):- for item in getattr(ctx.plan, attr, None) or []:- if to_snake(item.name) in low:- return item.name- # a browser stack frame names the bare file (`at env.js:12:3`), the wrapper the src/ path- env, entry = env_file(ctx).lower(), ENTRY_FILE[ctx.language].lower()- if env in low or env.rsplit("/", 1)[-1] in low:- return "env"- if entry in low or entry.rsplit("/", 1)[-1] in low:- return "composition"- return "overall"diff --git a/harness/codeverse3d/tracks/steps.py b/harness/codeverse3d/tracks/steps.pyindex 426f3faa..47c95794 100644--- a/harness/codeverse3d/tracks/steps.py+++ b/harness/codeverse3d/tracks/steps.py@@ -4,7 +4,7 @@ from __future__ import annotationsimport loggingimport time-from collections.abc import Callable, Sequence+from collections.abc import Sequencefrom datetime import UTC, datetimefrom pathlib import Pathfrom typing import Protocol@@ -19,7 +19,7 @@ from codeverse3d.contracts.artifacts import (from codeverse3d.contracts.common import Usagefrom codeverse3d.contracts.plan import AcceptanceItem, Planfrom codeverse3d.contracts.run import RoundRecord, StepTime-from codeverse3d.cost.tally import Tally, tally, timed+from codeverse3d.cost.tally import tally, timedfrom codeverse3d.judges.base import round_inputfrom codeverse3d.orchestrator import BudgetExceededfrom codeverse3d.proc import fan_out@@ -46,9 +46,6 @@ class RoundPipeline(Protocol):...-RenderFn = Callable[[RunContext, int, BuildResult, Measurement | None], RenderSet | None]--class RoundFailed(RuntimeError):"""Every generation task of a round failed — nothing to build."""@@ -134,108 +131,81 @@ def run_round(steps: list[StepTime] = []with tally() as spent:try:- return _run_round(ctx, index=index, kind=kind, tasks=tasks, pipeline=pipeline, instructions=instructions,- previous=previous, findings=findings, files_hint=files_hint, extra_usage=extra_usage,- extra_notes=extra_notes, steps=steps, spent=spent)+ t0 = time.time()+ ctx.events.emit("round.start", round=index, kind=kind, n_tasks=len(tasks))+ rec = RoundRecord(index=index, kind=kind, agent_backend=ctx.agent_id, instructions=list(instructions),+ started_at=datetime.now(UTC))+ notes: list[str] = list(extra_notes)++ skills_hook.attach_for_round(ctx, index=index, kind=kind, findings=findings)+ gens = run_generation_tasks(ctx, skills_hook.with_inlined_skill(ctx, tasks), steps=steps)+ notes += [f"{g.label}: {g.notes}" for g in gens if not g.ok]+ ctx.ws.commit(f"r{index:02d} {kind}: generated")++ with timed("build", steps, round_index=index):+ outcome: RepairOutcome = build_with_repair(ctx, round_index=index, label=f"r{index:02d}_{kind}",+ files_hint=list(files_hint))+ rec.build = outcome.build+ gates: list[GateReport] = [outcome.lint]+ if outcome.attempts:+ notes.append(+ f"repair attempts: {len(outcome.attempts)}/{outcome.max_attempts} "+ f"({'fixed' if outcome.ok else 'still failing'})"+ )++ if outcome.build.ok:+ with timed("gates", steps, round_index=index):+ rec.measurement = pipeline.measure(ctx, outcome.build)+ gates.extend(pipeline.gates(ctx, index, outcome.build, rec.measurement))+ if ctx.spec.checks and outcome.build.glb_path: # the project's own checks (Spec.checks)+ gates.extend(run_project_checks(ctx.spec, ctx.ws.root, Path(outcome.build.glb_path),+ rec.measurement, index))+ try:+ with timed("render", steps, round_index=index):+ rec.renders = pipeline.render(ctx, index, outcome.build, rec.measurement)+ except RenderError as e:+ rec.renders = None+ notes.append(f"render failed: {str(e)[:200]}")+ ctx.events.emit("render.failed", round=index, error=str(e)[:400])+ post = getattr(pipeline, "post_render_gates", None)+ if callable(post) and rec.renders is not None:+ with timed("gates", steps, round_index=index):+ gates.extend(post(ctx, index, rec.renders))+ gates.extend(outcome.build.gates)+ n_err = sum(len(g.errors) for g in gates)+ ctx.events.emit("gates.done", round=index, n_gates=len(gates), n_errors=n_err,+ tri_count=rec.measurement.tri_count if rec.measurement else None)+ skip = skip_judge_reason(ctx, renders=rec.renders)+ if skip:+ notes.append(f"judge skipped ({skip})")+ ctx.events.emit("judge.skipped", round=index, reason=skip)+ else:+ with timed("judge", steps, round_index=index):+ rec.judgment = _judge(ctx, pipeline, index, outcome.build, gates, rec, previous, notes)+ else:+ gates.extend(outcome.build.gates)+ notes.append(f"build failed: {outcome.build.error_type}: {outcome.build.error_message[:200]}")+ rec.gates = gates+ rec.skills = skills_hook.record_usage(ctx, index=index, kind=kind)+ _write_gate_reports(ctx, index, gates)++ rec.commit = ctx.ws.commit(f"r{index:02d} {kind}")+ if outcome.build.ok:+ keep_round_artifacts(ctx.ws, index)+ rec.usage = spent.usage + (extra_usage or Usage())+ rec.duration_s = round(time.time() - t0, 2)+ rec.steps = steps+ rec.notes = "; ".join(notes)+ ctx.ws.write_json(round_record_path(ctx, index), rec)+ ctx.events.emit("round.done", round=index, kind=kind, commit=rec.commit[:10], score=rec.score,+ build_ok=outcome.build.ok, duration_s=rec.duration_s, cost_usd=round(rec.usage.cost_usd, 4))+ return recexcept BaseException as e:record_aborted_round(ctx, index=index, kind=kind, usage=spent.usage,error=f"{type(e).__name__}: {e}", steps=steps)raise-def _run_round(- ctx: RunContext,- *,- index: int,- kind: str,- tasks: Sequence[GenerationTask],- pipeline: RoundPipeline,- instructions: Sequence[str] = (),- previous: Judgment | None = None,- findings: Sequence[GateReport] = (),- files_hint: Sequence[str] = (),- extra_usage: Usage | None = None,- extra_notes: Sequence[str] = (),- render: RenderFn | None = None,- geometry_views: bool = True,- steps: list[StepTime] | None = None,- spent: Tally,-) -> RoundRecord:- """The round's body. ``spent`` is the tally the caller opened around it: the round's"""- t0 = time.time()- steps = [] if steps is None else steps- ctx.events.emit("round.start", round=index, kind=kind, n_tasks=len(tasks))- rec = RoundRecord(index=index, kind=kind, agent_backend=ctx.agent_id, instructions=list(instructions),- started_at=datetime.now(UTC))- notes: list[str] = list(extra_notes)-- skill_kind = "baseline" if kind == "candidate" else kind- skills_hook.attach_for_round(ctx, index=index, kind=skill_kind, findings=findings)- gens = run_generation_tasks(ctx, skills_hook.with_inlined_skill(ctx, tasks), steps=steps)- notes += [f"{g.label}: {g.notes}" for g in gens if not g.ok]- ctx.ws.commit(f"r{index:02d} {kind}: generated")-- with timed("build", steps, round_index=index):- outcome: RepairOutcome = build_with_repair(ctx, round_index=index, label=f"r{index:02d}_{kind}",- files_hint=list(files_hint))- rec.build = outcome.build- gates: list[GateReport] = [outcome.lint]- if outcome.attempts:- notes.append(- f"repair attempts: {len(outcome.attempts)}/{outcome.max_attempts} "- f"({'fixed' if outcome.ok else 'still failing'})"- )-- if outcome.build.ok:- with timed("gates", steps, round_index=index):- rec.measurement = pipeline.measure(ctx, outcome.build)- gates.extend(pipeline.gates(ctx, index, outcome.build, rec.measurement))- if ctx.spec.checks and outcome.build.glb_path: # the project's own checks (Spec.checks)- gates.extend(run_project_checks(ctx.spec, ctx.ws.root, Path(outcome.build.glb_path),- rec.measurement, index))- try:- with timed("render", steps, round_index=index):- rec.renders = (render or pipeline.render)(ctx, index, outcome.build, rec.measurement)- except RenderError as e:- rec.renders = None- notes.append(f"render failed: {str(e)[:200]}")- ctx.events.emit("render.failed", round=index, error=str(e)[:400])- post = getattr(pipeline, "post_render_gates", None)- if callable(post) and rec.renders is not None:- with timed("gates", steps, round_index=index):- gates.extend(post(ctx, index, rec.renders))- gates.extend(outcome.build.gates)- n_err = sum(len(g.errors) for g in gates)- ctx.events.emit("gates.done", round=index, n_gates=len(gates), n_errors=n_err,- tri_count=rec.measurement.tri_count if rec.measurement else None)- skip = skip_judge_reason(ctx, renders=rec.renders)- if skip:- notes.append(f"judge skipped ({skip})")- ctx.events.emit("judge.skipped", round=index, reason=skip)- else:- with timed("judge", steps, round_index=index):- rec.judgment = _judge(ctx, pipeline, index, outcome.build, gates, rec, previous, notes,- geometry_views=geometry_views)- else:- gates.extend(outcome.build.gates)- notes.append(f"build failed: {outcome.build.error_type}: {outcome.build.error_message[:200]}")- rec.gates = gates- rec.skills = skills_hook.record_usage(ctx, index=index, kind=skill_kind)- _write_gate_reports(ctx, index, gates)-- rec.commit = ctx.ws.commit(f"r{index:02d} {kind}")- if outcome.build.ok:- keep_round_artifacts(ctx.ws, index)- rec.usage = spent.usage + (extra_usage or Usage())- rec.duration_s = round(time.time() - t0, 2)- rec.steps = steps- rec.notes = "; ".join(notes)- ctx.ws.write_json(round_record_path(ctx, index), rec)- ctx.events.emit("round.done", round=index, kind=kind, commit=rec.commit[:10], score=rec.score,- build_ok=outcome.build.ok, duration_s=rec.duration_s, cost_usd=round(rec.usage.cost_usd, 4))- return rec--# ----------------------------------------------------------------------------- cost of a rounddef skip_judge_reason(ctx: RunContext, *, renders: RenderSet | None) -> str:"""Why this round must NOT be judged (``""`` = judge it)."""@@ -251,11 +221,6 @@ def record_aborted_round(ctx: RunContext, *, index: int, kind: str, usage: Usage"""A round that raised half-way still reports what it burned."""try:ctx.state.steps.extend(steps)- rec = RoundRecord(index=index, kind=kind, agent_backend=ctx.agent_id, usage=usage, steps=list(steps),- notes=f"aborted: {error}")- path = ctx.ws.root / "rounds" / f"aborted_r{index:02d}.json"- path.parent.mkdir(parents=True, exist_ok=True)- ctx.ws.write_json(path, rec)aborted = ctx.extra.setdefault("aborted_rounds", [])aborted.append({"index": index, "kind": kind, "cost_usd": round(usage.cost_usd, 6), "error": error[:300]})except Exception as e: # noqa: BLE001 — never mask the exception that stopped the round@@ -263,15 +228,14 @@ def record_aborted_round(ctx: RunContext, *, index: int, kind: str, usage: Usagedef _judge(ctx: RunContext, pipeline: RoundPipeline, index: int, build: BuildResult, gates: list[GateReport],- rec: RoundRecord, previous: Judgment | None, notes: list[str], *,- geometry_views: bool = True) -> Judgment | None:+ rec: RoundRecord, previous: Judgment | None, notes: list[str]) -> Judgment | None:"""Judge one round; ``None`` when the verdict is unusable."""renders = rec.rendersjv = getattr(pipeline, "judge_views", None)if callable(jv) and renders is not None:renders = jv(ctx, renders) or rendersgeometry = None- gv = getattr(pipeline, "geometry_views", None) if geometry_views else None+ gv = getattr(pipeline, "geometry_views", None)if callable(gv):geometry = gv(ctx, index, build)inp = round_input(ctx.spec, ctx.plan, rec, renders=renders, gates=gates, previous=previous,diff --git a/harness/docs/ARCHITECTURE.md b/harness/docs/ARCHITECTURE.mdindex b80cd99d..16e85e7d 100644--- a/harness/docs/ARCHITECTURE.md+++ b/harness/docs/ARCHITECTURE.md@@ -27,8 +27,7 @@ of the language — for four **tracks**:`single-shot:<chat-model>` (one envelope of files, no tools) handled inside`tracks/generation.py`. The harness implements no agent loop of its own.-Every run is: **spec → plan → skeleton → [scene stages] → baseline round (optionally best-of-N-candidates) → `max_rounds` refine rounds → finalise → record**. Which round to hand over is+Every run is: **spec → plan → skeleton → [scene stages] → baseline round → `max_rounds` refine rounds → finalise → record**. Which round to hand over isdecided AFTER the run by the `addons/select` reader (`3dcodeverse pick`; `3dcodeverse make` calls it byscore): it writes `deliverable/` for that round. The record, the git history of `src/` and everyround's kept build are the flywheel unit.@@ -145,10 +144,9 @@ codeverse3d/reference.py a user `--image` against the render: proportions and the render-vs-reference mismatch difforchestrator.py the round loop's LIBRARY, not the loop: RoundPolicy, refine-task compilation + grouping,StageRunner + RunState (resume), BudgetGuard (the clock). The loop itself is- tracks/lifecycle.py:_round_loop → tracks/steps.py:run_round; a best-of-N candidate IS- steps._run_round(kind='candidate') in a _cand/c<k> sub-workspace+ tracks/lifecycle.py:_round_loop → tracks/steps.py:run_roundtracks/ __init__.py (get_track(track, **options) → a lifecycle.BaseTrack), lifecycle.py, steps.py,- candidates.py (best-of-N baseline candidates and their ranking), generation.py (agent ++ generation.py (agent +single-shot strategies + the file envelope), repair.py, planner.py (the ONE planner loop + thecached EngineeringBrief, plan budgets, and the ONE owner of what differs per track whenplanning: template, example, temperature, output floor, acceptance), prompting.py (prompt@@ -343,7 +341,7 @@ fatal); `asset_api` — what the zones are told about the assets; `zones` — ONzone file; `clock` — the run stops here when the hard budget is spent, after the zones arerecorded; `assemble` — `scene.js`, deterministic.-**7.2 The round — `steps._run_round`, a fixed chain in code.** Nothing in a round can be cached+**7.2 The round — `steps.run_round`, a fixed chain in code.** Nothing in a round can be cached(every step reads the git tree the step before it wrote). **7.3 The round loop —`BaseTrack._round_loop`, a state machine in code**: each round's tasks come from the previousround's verdict.@@ -352,8 +350,6 @@ round's verdict.round 0 "baseline": generate → build_with_repair → measure → gates → render → post-render gates → judgeobject tracks: ONE session drafts the WHOLE object — every part file + the entry — each file written once andthen edited; a part still the skeleton's box is a `placeholder_part` contract ERROR- --candidates N: N parallel baselines in <ws>/_cand/c<k>, quick 4-view judge, a crashed candidate retried once,- selection build_ok → quick score → fewer gate errors → the earlier candidate; the winner is copied backthen max_rounds refine rounds, EACH built on the round before it — a FIXED count: no pass, plateau or regression stoprefine tasks = the previous round's gate ERRORS (fix hints, authoring-frame numbers) ∪ failed must-acceptance∪ its judge improvement plan (≤ 6 tasks, ≤ 6 compacted instruction lines each; a placeholder part's ERROR first)@@ -365,7 +361,7 @@ then max_rounds refine rounds, EACH built on the round before it — a FIXED cou→ commit src/ (the round's commit) and copy its build to artifacts/rNN/a round left without a verdict (judge outage / degraded) is re-judged once before the next is planned, and sois the LAST round before the run ends (still none → judge_unavailable)- a round that raises mid-way still reports what it burned (rounds/aborted_rNN.json)+ a round that raises mid-way still reports what it burned (record.extra['aborted_rounds'])a round whose every task failed raises RoundFailed, TYPED: .quota → agent_quota; .transient (a providerfailure) or .stalled (the watchdog found a session hung) → the SAME round re-runs once, baseline included;neither → no_change (a refine round) / the run fails (the baseline)@@ -383,13 +379,12 @@ Track-specific gates: static `connectivity` + `contract` (+ `reference_silhouett+ `joint_sweep` + `motion_direction`; scene `scene_placement` (per placed asset — a direct childof a zone root — foot-column gap to the surface beneath, burial depth, water, contacts and 3-Dinterpenetration pairs from `runtime_js/lib/host_placement.mjs`; every other root is scenery,-never a row, but still supports, buries, holds and clips the zone assets) + `render_console` +-`scene_frames` (`spatial/frame_metrics.py`: dark/blown/flat frames, camera in geometry, content+never a row, but still supports, buries, holds and clips the zone assets) + `scene_frames` (`spatial/frame_metrics.py`: dark/blown/flat frames, camera in geometry, contenttoo small, `no_motion` — the first and last animation frame of one camera diffed, the per-camera"% of pixels changed" handed to the judge as a fact — and `unused_glb_asset`, from the geometryUUIDs the scene host records per loaded GLB); graphics `gl_frames`(NaN/black/blown/static/flicker). A build's OWN gate reports ride `BuildResult.gates` — scene-`scene_probe` + `shader_preflight`, graphics `gl_frames` — and `steps._run_round` appends them to+`scene_probe` + `shader_preflight`, graphics `gl_frames` — and `steps.run_round` appends them tothe round's gates after the track's (a failed build's too: a shader compile error is what routesthe shader-traps skill). `scene_probe` also holds the scene draw budget: the census's`totals.draws` WARNs past `conventions.DRAWS_WARN_SCENE` and fails the build pastdiff --git a/harness/docs/INSTALL.md b/harness/docs/INSTALL.mdindex f242fb4a..cd0f281f 100644--- a/harness/docs/INSTALL.md+++ b/harness/docs/INSTALL.md@@ -365,7 +365,6 @@ limits:default_judge: gemini:gemini-4-argonjudge:thinking: medium-default_candidates: 1```Env equivalents use the `C3D_` prefix and `__` for nesting:@@ -375,15 +374,14 @@ export C3D_RUNS_DIR=/data/runsexport C3D_BINARIES__BLENDER=/opt/blender/blenderexport C3D_RENDER__GPU=offexport C3D_LIMITS__AGENT_TIMEOUT_S=900-export C3D_DEFAULT_CANDIDATES=2export C3D_DEFAULT_JUDGE=gemini:gemini-4-argonexport C3D_JUDGE__THINKING=mediumexport C3D_VARIANTS='{"agy:gemini-4-argon": "argon"}' # per-model prompt/skill variant by exact generator id; C3D_VARIANT=argon names one for every run```Every knob the harness reads is a `Settings` field (`codeverse3d/config.py`, one description-each): `C3D_<FIELD>` at the top level, `C3D_<SECTION>__<FIELD>` nested, plus three flat-spellings of nested knobs — `C3D_MAX_IN_FLIGHT`, `C3D_RENDER_GPU`, `C3D_AGENT_MAX_TURNS`. An+each): `C3D_<FIELD>` at the top level, `C3D_<SECTION>__<FIELD>` nested, plus two flat+spellings of nested knobs — `C3D_MAX_IN_FLIGHT`, `C3D_RENDER_GPU`. Anon/off switch (`C3D_SKILLS`, `C3D_STREAM`, `C3D_PLAN_BRIEF`, … — every `Flag` field) takeson/off, 1/0, true/false or yes/no in any case; a typo warns and keeps the default, and an emptyvalue is unset. The node side also reads `C3D_RENDER_GPU` and `C3D_CACHE_DIR` itself, and onediff --git a/harness/docs/RUNBOOK.md b/harness/docs/RUNBOOK.mdindex 17de1af9..d27017b5 100644--- a/harness/docs/RUNBOOK.md+++ b/harness/docs/RUNBOOK.md@@ -43,12 +43,8 @@ Useful flags (`3dcodeverse make --help`):refine tasks.* `--rounds N` — refine rounds after the baseline. A run does exactly N, each built on the onebefore it, unless the clock or a hard failure stops it; there is no pass / plateau stop.-* `--candidates N` — best-of-N baseline: N parallel candidates in `<ws>/_cand/`, quick-judged,- the highest quick score kept (fewer gate errors on a tie); multiplies baseline cost ≈ N;- object and graphics tracks only (a scene writes its baseline in its stages).* `--no-pick` — package nothing (no `deliverable/`, no `selection.json`; `3dcodeverse pick` later).-* `--max-minutes`, `--dim height=0.45`, `--must`, `--must-not`, `--style`, `--tag`, `--seed` (a- label: it re-keys the plan, nothing else is seeded by it), `--slug`, `--runs-dir`, `--force`,+* `--max-minutes`, `--dim height=0.45`, `--must`, `--must-not`, `--style`, `--tag`, `--slug`, `--runs-dir`, `--force`,`--no-run` (workspace + spec.json only).* `--variant NAME` — a per-model prompt/skill overlay (`codeverse3d/prompts/variants/<name>/` +`codeverse3d/skills/variants/<name>/`), frozen on `spec.options.variant` so `resume` and@@ -56,7 +52,7 @@ Useful flags (`3dcodeverse make --help`):generator id, else the base prompts.Expected cost/time with gemini-3.8-flash: object tracks ≈ $0.7–0.9 and 12–36 min for baseline +-1 refine; best-of-2 single-shot ≈ $0.25 / 8 min; graphics single-shot ≈ $0.05 / 2 min per judged+1 refine; graphics single-shot ≈ $0.05 / 2 min per judgedround; scenes ≈ $2.3 and 30 min before the first judged round, then ≈ $0.36 / ~7 min per refine(give scenes `--max-minutes 60`). Actual spend: `3dcodeverse cost <slug>`.@@ -137,7 +133,7 @@ uses the recorded scores without calling a judge. To re-judge an old run with Arpick with Argon, use `3dcodeverse pick <slug> --by pairwise --judge gemini:gemini-4-argon`.```bash-3dcodeverse resume <slug> [--candidates N] [--no-pick]+3dcodeverse resume <slug> [--no-pick]# continues from run_state + stages/*.json and from the LAST round. A# max_rounds run resumes only with a raised --rounds, a budget run with any# raised cap; an agent_quota, judge_unavailable or failed run resumes as is.diff --git a/harness/docs/SKILLS.md b/harness/docs/SKILLS.mdindex 6b4ffe07..aa8b14b5 100644--- a/harness/docs/SKILLS.md+++ b/harness/docs/SKILLS.md@@ -98,8 +98,7 @@ Four laws, all tested:out the round's skills.Every gate writes a `data.kind` — lints from `contracts.artifacts.LintKind`, connectivity-`stray_islands` / `no_ground`, motion_direction `wrong_direction` / `skipped`, render_console-`console_error`, scene_probe `draw_calls` — so R9 answers `lint/part_not_imported`, not every+`stray_islands` / `no_ground`, motion_direction `wrong_direction` / `skipped`, scene_probe `draw_calls` — so R9 answers `lint/part_not_imported`, not everylint line; INFO findings have no kind. A bundle is added with its rows in the same commit — anunroutable bundle pays the index and never helps, and a test fails on both halves.diff --git a/harness/tests/cost/test_audit_read.py b/harness/tests/cost/test_audit_read.pyindex d5a5c4d1..9ceaa492 100644--- a/harness/tests/cost/test_audit_read.py+++ b/harness/tests/cost/test_audit_read.py@@ -2,15 +2,12 @@from __future__ import annotations-import json-import shutilfrom pathlib import Pathimport pytest-from codeverse3d.addons.costreport.audit import audit_runs, read_run-from codeverse3d.contracts.common import Usage-from codeverse3d.cost.ledger import load_ledger, record_call+from codeverse3d.addons.costreport.audit import read_run+from codeverse3d.cost.ledger import load_ledgerfrom codeverse3d.cost.types import Stage@@ -21,17 +18,3 @@ def test_a_run_reads_as_its_ledger_rows_and_its_record_facts(fake_run: Path, tmpassert led.track == "static_object" and led.stop_reason == "max_rounds" and led.round_built == [None]assert led.minutes == pytest.approx((20.0 + 60.0) / 60), "the run's minutes, not its span"assert led.model_s == pytest.approx(47.0)---def test_a_losing_candidate_is_waste(fake_run: Path, tmp_path: Path):- ws = tmp_path / "live_cands"- shutil.copytree(fake_run, ws)- (ws / "rounds").mkdir(exist_ok=True)- (ws / "rounds" / "candidates.json").write_text(json.dumps({"n": 2, "selected": 1}))- usage = Usage(backend="gemini-cli", model="gemini-3.8-flash", input_tokens=10_000, output_tokens=500)- for k in (0, 1):- record_call(usage, stage=Stage.CANDIDATE, round=0, label=f"baseline_c{k}", source="session",- ledger=ws / "telemetry" / "cost.jsonl")- assert read_run(ws).selected_candidate == "c1"- (item,) = [w for w in audit_runs([ws]).waste if w.kind == "lost_candidate"]- assert item.usd > 0 and "c0 lost to c1" in item.detaildiff --git a/harness/tests/flywheel_cli/test_cli.py b/harness/tests/flywheel_cli/test_cli.pyindex a96c9f95..51461be1 100644--- a/harness/tests/flywheel_cli/test_cli.py+++ b/harness/tests/flywheel_cli/test_cli.py@@ -178,16 +178,8 @@ def test_commands_over_a_runs_dir(runs_dir: Path, tmp_path: Path, monkeypatch):assert r.exit_code == 1assert "judge failed" in r.output + str(getattr(r, "stderr", "") or "") and "Traceback" not in r.output- # status shows candidates- (ws.root / "rounds").mkdir(exist_ok=True)- (ws.root / "rounds" / "candidates.json").write_text(json.dumps({- "n": 2, "selected": 1,- "candidates": [{"index": 0, "label": "c0", "score": 0.51, "build_ok": True},- {"index": 1, "label": "c1", "score": 0.63, "build_ok": True}],- "pairwise": {"a": "c0", "b": "c1", "winner": "b", "confidence": 0.8}}))r = runner.invoke(app, ["status", "wooden_chair_ab12cd34", "--runs-dir", str(runs_dir)])assert r.exit_code == 0, r.output- assert "candidates" in r.output and "c1" in r.output and "pairwise" not in r.outputdef test_resume_refuses_a_finished_run_and_never_re_enters_it(made_run, stub_track):@@ -199,7 +191,7 @@ def test_resume_refuses_a_finished_run_and_never_re_enters_it(made_run, stub_traruns, run_dir = made_run()ws = Workspace(run_dir)- ws.state_path.write_text(json.dumps({"status": "no_refine_tasks", "stop_reason": "no_refine_tasks"}))+ ws.state_path.write_text(json.dumps({"status": "no_refine_tasks"}))assert RunState.load(ws).status is RunStatus.NO_REFINE_TASKSentered, specs = [], []@@ -213,7 +205,7 @@ def test_resume_refuses_a_finished_run_and_never_re_enters_it(made_run, stub_traassert entered == [(True, True)]# every round ran: raising --rounds is how a max_rounds stop goes on (from its last round)- RunState(status=RunStatus.MAX_ROUNDS, stop_reason="max_rounds").save(ws)+ RunState(status=RunStatus.MAX_ROUNDS).save(ws)r = runner.invoke(app, ["resume", ws.root.name, "--runs-dir", str(runs)])assert r.exit_code == 1 and "status=max_rounds" in r.outputassert runner.invoke(app, ["resume", ws.root.name, "--runs-dir", str(runs), "--max-minutes", "90"]).exit_code == 1@@ -221,7 +213,7 @@ def test_resume_refuses_a_finished_run_and_never_re_enters_it(made_run, stub_traassert Spec.model_validate_json(ws.spec_path.read_text()).budget.max_rounds == 5# a budget stop is the documented exception: it resumes when a cap is raised- RunState(status=RunStatus.BUDGET, stop_reason="budget").save(ws)+ RunState(status=RunStatus.BUDGET).save(ws)assert runner.invoke(app, ["resume", ws.root.name, "--runs-dir", str(runs)]).exit_code == 1assert runner.invoke(app, ["resume", ws.root.name, "--runs-dir", str(runs), "--max-minutes", "60"]).exit_code == 130assert Spec.model_validate_json(ws.spec_path.read_text()).budget.max_minutes == 60.0diff --git a/harness/tests/orchestrator_tracks/fakes.py b/harness/tests/orchestrator_tracks/fakes.pyindex d097d34b..1271a979 100644--- a/harness/tests/orchestrator_tracks/fakes.py+++ b/harness/tests/orchestrator_tracks/fakes.py@@ -437,8 +437,7 @@ class FakeServices(Services):vs.append(RenderView(name=f"{c.name}@{t}", path=str(p), time_s=t))sheet = out_dir / "sheet.png"_png(sheet)- errs = ["TypeError: boom in src/zones/pond.js"] if (ws.src / "zones" / "pond.js").is_file() and "CONSOLE_ERROR" in (ws.src / "zones" / "pond.js").read_text() else []- return RenderSet(views=vs, contact_sheet=str(sheet), renderer="fake", console_errors=errs, fps=60.0)+ return RenderSet(views=vs, contact_sheet=str(sheet), renderer="fake", fps=60.0)def contact_sheet(self, images, out: Path) -> Path:_png(out)diff --git a/harness/tests/orchestrator_tracks/test_budget_snapshot.py b/harness/tests/orchestrator_tracks/test_budget_snapshot.pyindex affebf28..67392ea8 100644--- a/harness/tests/orchestrator_tracks/test_budget_snapshot.py+++ b/harness/tests/orchestrator_tracks/test_budget_snapshot.py@@ -89,32 +89,10 @@ def test_a_paid_single_shot_response_is_persisted_when_the_budget_trips_and_the_calls: list = []model = FakeChatModel(lambda req: calls.append(req) or "", cost=0.01)with pytest.raises(BudgetExceeded):- generate_files(ws, model=model, task=task.model_copy(update={"max_output_tokens": 1000}), budget=guard)+ generate_files(ws, model=model, task=task, budget=guard)assert calls == [] # refused BEFORE any model call-# --------------------------------------------------------------- ordering: fan-out siblings-def test_a_budget_tripped_candidate_still_lets_the_sibling_be_adopted(tmp_path, chair_plan, settings):- spec = make_spec(max_rounds=0)- ws = Workspace(tmp_path / "runs" / "bo2")-- def writer(job, ws_):- if ws_.root.name == "c0": # <ws>/_cand/c0 trips the ceiling mid-generation- raise BudgetExceeded("elapsed 9.99 min exceeds max_minutes 5.00")- return {"src/object.js": f"// {job.label} in {ws_.root.name}\n"- "export function build(THREE) { return new THREE.Group(); }\n"}-- track = StaticObjectTrack(services=FakeServices(), judge=FakeJudge(scores=(0.6,)), agent=FakeAgent(writer),- planner_model=FakeChatModel(lambda req: chair_plan.model_dump(mode="json")),- settings=settings, runtime=FakeRuntime(Language.THREEJS), n_candidates=2)- rec = track.run(spec, ws)- assert rec.status is RunStatus.MAX_ROUNDS- assert len(rec.rounds) == 1 and "best-of-2: selected c1" in rec.rounds[0].notes- assert "c1" in (ws.src / "object.js").read_text() # the sibling's code was adopted- cands = json.loads((ws.root / "rounds" / "candidates.json").read_text())- assert cands["selected"] == 1 and "BudgetExceeded" in cands["candidates"][0]["notes"]--# --------------------------------------------------------------- ordering: planner attemptsdef test_every_paid_planner_attempt_is_booked_once_whether_the_next_raises_or_never_validates(tmp_path):guard = BudgetGuard(Budget(max_minutes=10.0))@@ -152,7 +130,7 @@ def test_a_baseline_session_the_clock_stopped_after_it_wrote_code_is_salvaged(tmws = Workspace(tmp_path / "runs" / "neon")track = StaticObjectTrack(services=FakeServices(), judge=FakeJudge(scores=(0.6,)), agent=FakeAgent(writer),planner_model=FakeChatModel(lambda req: chair_plan.model_dump(mode="json")),- settings=settings, runtime=FakeRuntime(Language.THREEJS), n_candidates=1)+ settings=settings, runtime=FakeRuntime(Language.THREEJS))rec = track.run(make_spec(max_rounds=0), ws)assert rec.status is RunStatus.BUDGETassert len(rec.rounds) == 1 and rec.rounds[0].score == pytest.approx(0.6) and "salvaged" in rec.rounds[0].notesdiff --git a/harness/tests/orchestrator_tracks/test_cost_latency.py b/harness/tests/orchestrator_tracks/test_cost_latency.pyindex e9d9f118..06f90cc6 100644--- a/harness/tests/orchestrator_tracks/test_cost_latency.py+++ b/harness/tests/orchestrator_tracks/test_cost_latency.py@@ -61,7 +61,6 @@ def test_soft_budget_degrades_before_the_hard_cap_and_the_timeout_is_clipped():with pytest.raises(BudgetExceeded) as ei:g.check()assert "max_minutes" in ei.value.reason- assert set(g.summary()) == {"elapsed_min", "max_minutes"}, "the guard keeps no money"g.grant_grace(minutes=5.0)assert g.ok() and g.hard_minutes == pytest.approx(15.0)g.grant_grace(minutes=1.0) # never shrinksdiff --git a/harness/tests/orchestrator_tracks/test_generation_parsing.py b/harness/tests/orchestrator_tracks/test_generation_parsing.pyindex ecea0c6a..f7fc5058 100644--- a/harness/tests/orchestrator_tracks/test_generation_parsing.py+++ b/harness/tests/orchestrator_tracks/test_generation_parsing.py@@ -33,22 +33,6 @@ def test_parse_multifile_strips_header_from_unterminated_block():def test_generate_files_truncation_policy(tmp_path):- ws = Workspace(tmp_path / "success").create()- model = scripted([(TRUNCATED, "MAX_TOKENS"), (FULL, "STOP")])- events = EventLog(tmp_path / "success.jsonl")- task = GenerationTask(label="baseline", prompt="p", files_hint=["src/model.py"], max_output_tokens=32000)- res = generate_files(ws, model=model, task=task, events=events)- assert res.ok and (ws.root / "src" / "model.py").read_text().startswith("import bpy")- assert len(model.requests) == 2 and model.requests[1].max_output_tokens == 64000- assert "generate.truncated" in [e["event"] for e in events.read()]-- ws = Workspace(tmp_path / "failure").create()- model = scripted([(TRUNCATED, "MAX_TOKENS"), (TRUNCATED, "length")])- task = GenerationTask(label="baseline", prompt="p", files_hint=["src/model.py"], max_output_tokens=32000)- res = generate_files(ws, model=model, task=task, events=EventLog(tmp_path / "failure.jsonl"))- assert not res.ok and res.notes.startswith("truncated")- assert not (ws.root / "src" / "model.py").exists()-ws = Workspace(tmp_path / "ceiling").create()model = scripted([(TRUNCATED, "MAX_TOKENS")])task = GenerationTask(label="baseline", prompt="p", files_hint=["src/model.py"])diff --git a/harness/tests/orchestrator_tracks/test_lifecycle_regressions.py b/harness/tests/orchestrator_tracks/test_lifecycle_regressions.pyindex c9b92253..c85722b9 100644--- a/harness/tests/orchestrator_tracks/test_lifecycle_regressions.py+++ b/harness/tests/orchestrator_tracks/test_lifecycle_regressions.py@@ -108,7 +108,7 @@ def test_degraded_verdict_never_scores_and_run_stops_as_judge_unavailable(tmp_parec = track.run(spec, ws)assert rec.rounds[1].judgment is None and rec.rounds[1].score is None # never 0.0assert rec.rounds[0].score == pytest.approx(0.65)- assert rec.extra["stop_reason"] == "judge_unavailable" and rec.status is RunStatus.JUDGE_UNAVAILABLE+ assert rec.status is RunStatus.JUDGE_UNAVAILABLEkinds = [e["event"] for e in EventLog(ws.events_path).read()]assert "judge.degraded" in kinds and "judge.retry" in kindsassert len(judge.all_calls) == 3diff --git a/harness/tests/orchestrator_tracks/test_candidates_reference_motion.py b/harness/tests/orchestrator_tracks/test_reference_motion.pysimilarity index 69%rename from harness/tests/orchestrator_tracks/test_candidates_reference_motion.pyrename to harness/tests/orchestrator_tracks/test_reference_motion.pyindex 4c814a4b..0f05a8f9 100644--- a/harness/tests/orchestrator_tracks/test_candidates_reference_motion.py+++ b/harness/tests/orchestrator_tracks/test_reference_motion.py@@ -1,4 +1,4 @@-"""Best-of-N candidates, reference images, motion checks, instruction compaction."""+"""Reference images, motion checks, instruction compaction."""from __future__ import annotations@@ -14,9 +14,7 @@ from codeverse3d.orchestrator import (build_refine_instructions,compact_instructions,)-from codeverse3d.proc import EventLogfrom codeverse3d.tracks.articulated_object import ArticulatedObjectTrack, expected_direction-from codeverse3d.tracks.candidates import CandidateRecord, rank_candidatesfrom codeverse3d.tracks.planner import plan_examplefrom codeverse3d.tracks.static_object import StaticObjectTrackfrom codeverse3d.workspace import Workspace@@ -32,9 +30,9 @@ from tests.orchestrator_tracks.fakes import (# ----------------------------------------------------------------------------- pure logic-def test_round_policy_candidates_and_compaction():+def test_round_policy_and_compaction():pol = RoundPolicy()- assert pol.n_candidates == 1 and pol.parallel_min_tasks == 2+ assert pol.parallel_min_tasks == 2tasks = [RefineTask(target=f"BackLeg_{i}", kind="gate:connectivity", instruction=f"leg {i} floats", priority=0, source="gate") for i in range(4)]tasks += [RefineTask(target="Seat", kind="geometry", instruction="thicker", priority=2)]tasks += [RefineTask(target=f"Spindle_{i}", kind="gate:contract", instruction="off", priority=0, source="gate") for i in range(3)]@@ -56,18 +54,6 @@ def test_build_refine_instructions_extra_and_instance_targets(chair_plan):assert [t.target for t in tasks] == ["BackLeg_1", "overall"] and tasks[1].kind == "reference"-def test_rank_candidates():- """Built > higher quick score > fewer gate errors > earlier — the one in-loop choice left."""- recs = [CandidateRecord(index=0, label="c0", build_ok=True, score=0.62, gate_errors=2),- CandidateRecord(index=1, label="c1", build_ok=True, score=0.62, gate_errors=0),- CandidateRecord(index=2, label="c2", build_ok=False),- CandidateRecord(index=3, label="c3", build_ok=True, score=0.70, gate_errors=5)]- assert rank_candidates(recs) == [3, 1, 0, 2]- tie = [CandidateRecord(index=0, label="c0", build_ok=True, score=0.6),- CandidateRecord(index=1, label="c1", build_ok=True, score=0.6)]- assert rank_candidates(tie) == [0, 1]--def test_expected_direction():cases = [("drawer pulls out towards -Y", "-y"), ("lid opens upward", "up"), ("door swings to the left", "left"),@@ -78,30 +64,6 @@ def test_expected_direction():assert [expected_direction(text) for text, _ in cases] == [expected for _, expected in cases]-# ----------------------------------------------------------------------------- best-of-N track run-class _CandidateJudge(FakeJudge):- """Scores by which candidate workspace the renders come from; the main round gets 0.6."""-- def __init__(self, by_candidate: dict[str, float]):- super().__init__(scores=(0.6,))- self.by_candidate = by_candidate-- def judge(self, inp):- path = inp.renders.views[0].path if inp.renders.views else ""- for key, score in self.by_candidate.items():- if f"/_cand/{key}/" in path:- self.scores = [score]- self.calls = []- return super().judge(inp)- self.scores, self.calls = [0.6], []- return super().judge(inp)---def _writer_by_candidate(job, ws):- tag = ws.root.parent.name + "/" + ws.root.name if ws.root.parent.name == "_cand" else "main"- return {"src/model.py": f"import bpy # {job.label} in {tag}\n"}--# ----------------------------------------------------------------------------- reference imagesdef test_reference_images_wire_judge_prompts_and_silhouette(tmp_path, chair_plan, settings):ref = tmp_path / "ref.png"@@ -148,27 +110,6 @@ def test_articulated_motion_direction_gate_feeds_refine_and_judge(tmp_path, settassert any(v.name == "pose_DrawerSlide_upper" for v in rec.rounds[0].renders.views)-def test_a_crashed_candidate_is_recorded_failed_and_never_retried_on_its_own(tmp_path, chair_plan, settings):- spec = make_spec(language=Language.BLENDER, max_rounds=0)- ws = Workspace(tmp_path / "runs" / "retry")- seen: dict[str, int] = {}-- def writer(job, ws_):- seen[job.label] = seen.get(job.label, 0) + 1- if job.label == "baseline_c0":- raise RuntimeError("503 high demand")- return _writer_by_candidate(job, ws_)-- judge = _CandidateJudge({"c0": 0.75, "c1": 0.55})- track = StaticObjectTrack(services=FakeServices(), judge=judge, agent=FakeAgent(writer), planner_model=_planner(chair_plan.model_dump(mode="json")),- settings=settings, runtime=FakeRuntime(Language.BLENDER), n_candidates=2)- rec = track.run(spec, ws)- assert seen == {"baseline_c0": 1, "baseline_c1": 1} # one session per candidate: no candidate-level retry- kinds = [e["event"] for e in EventLog(ws.events_path).read()]- assert "candidate.failed" in kinds and "candidate.retry" not in kinds- assert "best-of-2: selected c1" in rec.rounds[0].notes and "_cand/c1" in (ws.src / "model.py").read_text()--def test_default_motion_checks_on_real_urdf(tmp_path):import trimesh@@ -225,33 +166,3 @@ def test_default_motion_checks_on_real_urdf(tmp_path):plan.joints[0].motion = "rotates" # ambiguous → no gateassert default_motion_checks(robot(tmp_path / "none", 1), plan) is None---def test_an_object_candidate_still_uses_the_cheap_rig(tmp_path):- """A GLB candidate goes through the reduced quick rig, never pipeline.render."""- from types import SimpleNamespace-- from codeverse3d.tracks.candidates import OBJECT_VIEWS_QUICK, QUICK_PX, quick_render-- seen = {}-- class _Services:- def render_object(self, glb, out_dir, *, views, width, height):- seen.update(glb=glb, views=views, width=width, height=height)- return SimpleNamespace(views=[])-- class _WS:- def renders_dir(self, i): return tmp_path-- class _Ctx:- ws = _WS()- services = _Services()- extra = {"pose_views": ["pose-view"]} # what ArticulatedPipeline.gates() parked for render()-- class _Pipeline:- def render(self, *a, **k): # must not be reached- raise AssertionError("an object candidate must not use pipeline.render")-- got = quick_render(_Ctx(), 0, SimpleNamespace(glb_path="/x/object.glb"), "M", pipeline=_Pipeline())- assert got.views == ["pose-view"] # the quick rig still carries the articulated pose views to the judge- assert seen["views"] == OBJECT_VIEWS_QUICK and seen["width"] == QUICK_PXdiff --git a/harness/tests/orchestrator_tracks/test_resume_reconcile.py b/harness/tests/orchestrator_tracks/test_resume_reconcile.pyindex eed66e08..d28aa50e 100644--- a/harness/tests/orchestrator_tracks/test_resume_reconcile.py+++ b/harness/tests/orchestrator_tracks/test_resume_reconcile.py@@ -148,7 +148,7 @@ def test_notes_survive_a_judge_crash(tmp_path, chair_plan, settings):ws = Workspace(tmp_path / "runs" / "r")rec = _track(_planner(chair_plan.model_dump(mode="json")), settings,judge=BoomJudge(scores=(0.5,))).run(spec, ws)- assert rec.extra["stop_reason"] == "judge_unavailable"+ assert rec.status.value == "judge_unavailable"r1 = rec.rounds[1]assert r1.judgment is Noneassert "judge failed: RuntimeError: vlm 500" in r1.notesdiff --git a/harness/tests/orchestrator_tracks/test_round_economics.py b/harness/tests/orchestrator_tracks/test_round_economics.pyindex 6b941494..33aeb0d7 100644--- a/harness/tests/orchestrator_tracks/test_round_economics.py+++ b/harness/tests/orchestrator_tracks/test_round_economics.py@@ -12,10 +12,8 @@ from codeverse3d.cost.ledger import load_ledgerfrom codeverse3d.orchestrator import RoundPolicyfrom codeverse3d.proc import EventLogfrom codeverse3d.tracks.generation import (- DEFAULT_WRAPUP_TURNS,GenerationTask,run_agent_task,- turn_capped,)from codeverse3d.tracks.static_object import StaticObjectTrackfrom codeverse3d.workspace import Workspace@@ -31,7 +29,7 @@ from tests.orchestrator_tracks.fakes import (# ----------------------------------------------------------------------------- turn budgetclass _TurnAgent:- """Burns turns; reports 'max_turns (N) reached' when it runs out."""+ """Completes its first session without writing; writes from session ``writes_on``."""kind = "fake"model = "gemini:gemini-3.8-flash"@@ -49,34 +47,10 @@ class _TurnAgent:(ws.src).mkdir(parents=True, exist_ok=True)(ws.src / "object.js").write_text(f"// session {len(self.jobs)}\n")wrote = [{"path": "src/object.js", "status": "modified"}]- exhausted = len(self.jobs) == 1- return AgentResult(ok=bool(wrote), exit_reason="budget" if exhausted else "completed",- files_changed=wrote, errors=[f"max_turns ({job.max_turns}) reached"] if exhausted else [],+ return AgentResult(ok=bool(wrote), exit_reason="completed", files_changed=wrote,usage=Usage(backend="api-agent", cost_usd=self.cost, input_tokens=1000))-def test_hitting_the_cap_asks_for_a_landing_instead_of_killing_the_session(tmp_ws, monkeypatch):- monkeypatch.setenv("C3D_AGENT_MAX_TURNS", "28")- events = EventLog(tmp_ws.events_path)- agent = _TurnAgent(writes_on=2) # session 1 burns its turns and writes nothing- with run_ledger(tmp_ws.root):- res = run_agent_task(tmp_ws, agent=MeteredAgent(agent),- task=GenerationTask(label="refine", prompt="do the work", round=1, kind="refine"),- budget=_guard(), events=events)- assert len(agent.jobs) == 2 and turn_capped(_result_of(agent, 0)) and agent.jobs[0].max_turns == 28- wrap = agent.jobs[1]- assert wrap.max_turns == DEFAULT_WRAPUP_TURNS and "LAST session" in wrap.prompt and "do the work" in wrap.prompt- assert res.ok- # both sessions are paid for and each is a ledger row of its own- assert res.usage.cost_usd == pytest.approx(0.4)- rows = load_ledger(tmp_ws.root)- assert len(rows) == 2 and all(r.stage == "refine" and r.cost_usd == pytest.approx(0.2) for r in rows)- kinds = [e["event"] for e in events.read()]- assert "generate.turn_cap" in kinds- done = next(e for e in events.read() if e["event"] == "generate.done")- assert done["turn_capped"] is True and done["sessions"] == 2--def test_a_crashing_second_session_never_erases_what_the_first_one_spent(tmp_ws):class _Flaky(_TurnAgent):def run(self, job: AgentJob) -> AgentResult:@@ -94,10 +68,6 @@ def test_a_crashing_second_session_never_erases_what_the_first_one_spent(tmp_ws)assert res.usage.cost_usd == pytest.approx(0.2) and row.cost_usd == pytest.approx(0.2) and row.round == 2-def _result_of(agent, i):- return AgentResult(ok=False, exit_reason="budget", errors=[f"max_turns ({agent.jobs[i].max_turns}) reached"])--def _guard():from codeverse3d.contracts.common import Budgetfrom codeverse3d.orchestrator import BudgetGuard@@ -169,7 +139,7 @@ def test_a_regression_changes_nothing_about_the_loop_and_every_round_reports_itsruntime=FakeRuntime(Language.THREEJS), policy=RoundPolicy(max_rounds=3))rec = track.run(spec, ws)assert [r.kind for r in rec.rounds] == ["baseline", "refine", "refine", "refine"]- assert rec.extra["stop_reason"] == "max_rounds" and rec.status is RunStatus.MAX_ROUNDS+ assert rec.status is RunStatus.MAX_ROUNDS# every round's cost is the ledger rows it booked — the injected agent and planner are# metered like the ones services hand out, and the fake judge bills a row per verdict as a# real one's model does — and the run's total is its ledger's, the planner included, withdiff --git a/harness/tests/orchestrator_tracks/test_tracks.py b/harness/tests/orchestrator_tracks/test_tracks.pyindex 831f33e5..c1b972d5 100644--- a/harness/tests/orchestrator_tracks/test_tracks.py+++ b/harness/tests/orchestrator_tracks/test_tracks.py@@ -48,7 +48,6 @@ def test_static_track_end_to_end_agent_path(tmp_path, chair_plan, settings):rec = track.run(make_spec(max_rounds=3), ws)assert rec.status is RunStatus.MAX_ROUNDS and [r.score for r in rec.rounds] == [0.55, 0.7, 0.85, 0.85]assert [r.kind for r in rec.rounds] == ["baseline", "refine", "refine", "refine"]- assert rec.extra["stop_reason"] == "max_rounds"stops = [e for e in EventLog(ws.events_path).read() if e["event"] == "stop"]assert [e["reason"] for e in stops] == ["max_rounds"]assert rec.rounds[1].instructions[0].startswith("[gate/gate:contract] Seat") # gate findings lead the refine@@ -69,7 +68,7 @@ def test_static_track_resume_continues_from_saved_rounds(tmp_path, chair_plan, st1 = StaticObjectTrack(services=services, judge=judge, agent=FakeAgent(_agent_writer), planner_model=planner, settings=settings,runtime=rt, policy=RoundPolicy(max_rounds=0))rec1 = t1.run(spec, ws)- assert len(rec1.rounds) == 1 and rec1.status is RunStatus.MAX_ROUNDS and rec1.extra["stop_reason"] == "max_rounds"+ assert len(rec1.rounds) == 1 and rec1.status is RunStatus.MAX_ROUNDS# resume with the full policy: planner must NOT be called again, baseline not re-runplanner.requests.clear()t2 = StaticObjectTrack(services=services, judge=judge, agent=FakeAgent(_agent_writer), planner_model=planner, settings=settings,diff --git a/harness/tests/orchestrator_tracks/test_transport_retry.py b/harness/tests/orchestrator_tracks/test_transport_retry.pyindex 1faae7ca..97dfb47d 100644--- a/harness/tests/orchestrator_tracks/test_transport_retry.py+++ b/harness/tests/orchestrator_tracks/test_transport_retry.py@@ -113,7 +113,7 @@ def test_a_vendor_usage_limit_stops_the_run_as_agent_quota_not_no_change(tmp_patagent = after_baseline(QUOTA_WALL)ws = Workspace(tmp_path / "runs" / "quota")rec = _track(agent, (0.55,), chair_plan, settings).run(make_spec(max_rounds=3), ws)- assert rec.status is RunStatus.AGENT_QUOTA and rec.extra["stop_reason"] == "agent_quota"+ assert rec.status is RunStatus.AGENT_QUOTAassert [r.score for r in rec.rounds] == pytest.approx([0.55]) # the baseline is still recordedevs = _events(ws)assert "round.agent_quota" in evs and "round.transport_retry" not in evs and "round.no_change" not in evs@@ -230,21 +230,6 @@ def test_a_split_round_is_stalled_only_when_every_session_hung():assert not RoundFailed.of([worked], "x").stalled-def test_hung_best_of_n_candidates_get_the_round_loops_retry(tmp_path, chair_plan, settings):- """``--candidates 2``: every candidate's session hangs. The round's failure must carry ``stalled``- like a single-candidate round's does, so round 0 gets its one retry before the run fails."""- agent = FakeAgent(lambda job, ws: HUNG)- ws = Workspace(tmp_path / "runs" / "hung_n")- track = StaticObjectTrack(services=FakeServices(), judge=FakeJudge(scores=(0.6,)), agent=agent,- planner_model=FakeChatModel(lambda req: chair_plan.model_dump(mode="json")),- settings=settings, runtime=FakeRuntime(Language.THREEJS), n_candidates=2)- with pytest.raises(RoundFailed) as err:- track.run(make_spec(max_rounds=1), ws)- assert err.value.stalled- retries = [e for e in EventLog(ws.events_path).read() if e["event"] == "round.transport_retry"]- assert len(retries) == 1 and retries[0]["stalled"] is True--def test_a_single_shot_refine_needs_only_the_judge_reserve(tmp_path, chair_plan, settings):"""A single-shot refine is one API call, not a session: 270 s left (> the 240 s judgereserve, < the 420 s an agent session needs) still opens the round and gets it judged."""diff --git a/harness/tests/prompts/manifest.json b/harness/tests/prompts/manifest.jsonindex 11093089..5fe2e4b0 100644--- a/harness/tests/prompts/manifest.json+++ b/harness/tests/prompts/manifest.json@@ -18,11 +18,11 @@"job:refine@r01/prompt": {"bytes": 7267, "sha256": "a718673dc59d566a5af561d8543756e0326057613430e6dae0cb13eb23b8234e"},"job:refine@r01/scope": {"bytes": 379, "sha256": "d17ae76997ec9443d52089e32ec81ecac3ba2c93529b227533942e84598113d9"},"job:refine@r01/system": {"bytes": 3271, "sha256": "29f5a9b2e7b9a879be58963ce95ae6fbec7460dae6785d542b214d6b850e21f4"},- "judge:articulated:runs/run/artifacts/renders/r00/input": {"bytes": 9819, "sha256": "0a7445d421267800ff75c73621b735d79a7ceb04ab107e640f52c145916b0201"},+ "judge:articulated:runs/run/artifacts/renders/r00/input": {"bytes": 9783, "sha256": "57ab39d6f6db9eb4c848447ac42f6f027a4699cfa6ffba88fa8ffa182f5e3b27"},"judge:articulated:runs/run/artifacts/renders/r00/messages": {"bytes": 7266, "sha256": "44869437393997f2107fdf0a59b70d830557064fa5958abfbee786e535323a2c"},"judge:articulated:runs/run/artifacts/renders/r00/sampling": {"bytes": 11992, "sha256": "0450937509be0de6976f74c7d439af0878caa67d4105d01afcec4a211cfbfbd2"},"judge:articulated:runs/run/artifacts/renders/r00/system": {"bytes": 13129, "sha256": "b6c7c917b035224ca53b1a3e1fcd0c838b8ac20563e687cd6521d8cab4a78ed6"},- "judge:articulated:runs/run/artifacts/renders/r01/input": {"bytes": 10722, "sha256": "67b607398aa3997504db43be1092ecec063fc228f55af02dc66755ee602b993a"},+ "judge:articulated:runs/run/artifacts/renders/r01/input": {"bytes": 10686, "sha256": "2c089e42e4ced63f1661efd49a5bde472794925a8edb8a1141dea6311dc7e269"},"judge:articulated:runs/run/artifacts/renders/r01/messages": {"bytes": 7591, "sha256": "a2e7394b1d8515b0256e914ceb6b07eaf526a634104ea03829c559e5fd7ebf67"},"judge:articulated:runs/run/artifacts/renders/r01/sampling": {"bytes": 11992, "sha256": "0450937509be0de6976f74c7d439af0878caa67d4105d01afcec4a211cfbfbd2"},"judge:articulated:runs/run/artifacts/renders/r01/system": {"bytes": 13129, "sha256": "b6c7c917b035224ca53b1a3e1fcd0c838b8ac20563e687cd6521d8cab4a78ed6"},@@ -30,7 +30,7 @@"skills:runs/run:refine@r01/routed": {"bytes": 125, "sha256": "5c725d8f66ce509d26245268d4c3525c99ce65ff9a56b94c708a74934ae2edf4"}},"stage_keys": {- "runs/run:plan": "7ff91964f143",+ "runs/run:plan": "d5f5d764f031","runs/run:skeleton": "7e94e98a2207"}},@@ -51,11 +51,11 @@"chat:planner:planner/messages": {"bytes": 1328, "sha256": "313c87553cf38df423dc9245a8af4cca5a41a844b489e13a5dc08e8c44eabba5"},"chat:planner:planner/sampling": {"bytes": 10001, "sha256": "0ff37a3ae43fdf878dd0911a9954d57e49365ad788c84818ea01d350310ab401"},"chat:planner:planner/system": {"bytes": 20030, "sha256": "45dccfcf72b4c6e46b7ceeaae8af0ebddf6f6e6b5970cda5fe900aa47682bf06"},- "judge:articulated:runs/run/artifacts/renders/r00/input": {"bytes": 9539, "sha256": "f0513f5660eed412e9e260200d50ba2cb4d5ea144d252fe7b6a86a4c94b0306d"},+ "judge:articulated:runs/run/artifacts/renders/r00/input": {"bytes": 9503, "sha256": "c132772d098023325c31e6d3c13ac77268f480b1f3b6d454ee4f4cbb05076a21"},"judge:articulated:runs/run/artifacts/renders/r00/messages": {"bytes": 7120, "sha256": "7a0ef8d51456faa2c38867eea6c502fbe1a7aa30d6cd9f23b44701a2d11846bf"},"judge:articulated:runs/run/artifacts/renders/r00/sampling": {"bytes": 11992, "sha256": "0450937509be0de6976f74c7d439af0878caa67d4105d01afcec4a211cfbfbd2"},"judge:articulated:runs/run/artifacts/renders/r00/system": {"bytes": 13129, "sha256": "b6c7c917b035224ca53b1a3e1fcd0c838b8ac20563e687cd6521d8cab4a78ed6"},- "judge:articulated:runs/run/artifacts/renders/r01/input": {"bytes": 10442, "sha256": "faeb5630c2e4ba0081b5ec45b166279deb1ad38548014ef829110a2c452d8d3d"},+ "judge:articulated:runs/run/artifacts/renders/r01/input": {"bytes": 10406, "sha256": "bc8df8b9e762197a4d75e59a3147e6e42c5bc5f510ac775a7b1646db0e7c6f9d"},"judge:articulated:runs/run/artifacts/renders/r01/messages": {"bytes": 7445, "sha256": "2a654e5bb10f8a642367b40c8893a16dce24c4bc4f6941cfbba76ce348ad4f1c"},"judge:articulated:runs/run/artifacts/renders/r01/sampling": {"bytes": 11992, "sha256": "0450937509be0de6976f74c7d439af0878caa67d4105d01afcec4a211cfbfbd2"},"judge:articulated:runs/run/artifacts/renders/r01/system": {"bytes": 13129, "sha256": "b6c7c917b035224ca53b1a3e1fcd0c838b8ac20563e687cd6521d8cab4a78ed6"},@@ -63,45 +63,10 @@"skills:runs/run:refine@r01/routed": {"bytes": 138, "sha256": "cb0610ba263bbb5cbeadf679a8213b52ece498906fabcdf2f8e5937d23c94c0b"}},"stage_keys": {- "runs/run:plan": "7ff91964f143",+ "runs/run:plan": "d5f5d764f031","runs/run:skeleton": "7e94e98a2207"}},- "graphics.glsl_shader.agent.best_of_2": {- "payloads": {- "chat:planner:planner/messages": {"bytes": 348, "sha256": "f50fc3cdf3a426fc9c9b830b6e68d2cfe9fd9b7125550362b018f9c9b454b25c"},- "chat:planner:planner/sampling": {"bytes": 3421, "sha256": "918170272cea656e8c542c54b777c57d1a4567a8cc36a0c1cd825cb81a01b9bb"},- "chat:planner:planner/system": {"bytes": 11919, "sha256": "194d0e2a724c4799816033228af15cac568dd51c14ed85bff9c94ae5ba281866"},- "context:runs/run/_cand/c0/files": {"bytes": 32360, "sha256": "7ece7fd3e4274f3c5749772aaf0774de530f1f0a2d50b48aaf998dc6576a067c"},- "context:runs/run/_cand/c1/files": {"bytes": 32360, "sha256": "7ece7fd3e4274f3c5749772aaf0774de530f1f0a2d50b48aaf998dc6576a067c"},- "context:runs/run/files": {"bytes": 32360, "sha256": "7ece7fd3e4274f3c5749772aaf0774de530f1f0a2d50b48aaf998dc6576a067c"},- "job:baseline_c0@r00/prompt": {"bytes": 11347, "sha256": "5aca38cfae577e7e5e5974c2b6cd64e55ec35a1dfab33eaf62eff70652854df5"},- "job:baseline_c0@r00/scope": {"bytes": 383, "sha256": "51d22961200ef987a7c652af48ff2897b910803baa672d3081f53c3fb819a685"},- "job:baseline_c0@r00/system": {"bytes": 3173, "sha256": "c3879a563e2a512b82358d0c3927dcbfe9347725e592035a9b64c5d1b34e6654"},- "job:baseline_c1@r00/prompt": {"bytes": 11347, "sha256": "5aca38cfae577e7e5e5974c2b6cd64e55ec35a1dfab33eaf62eff70652854df5"},- "job:baseline_c1@r00/scope": {"bytes": 383, "sha256": "831265b54627f1f6c1bfadebefa4e898d6b543b253bf6be0685b5383bd39fb57"},- "job:baseline_c1@r00/system": {"bytes": 3173, "sha256": "c3879a563e2a512b82358d0c3927dcbfe9347725e592035a9b64c5d1b34e6654"},- "judge:shader:runs/run/_cand/c0/artifacts/renders/r00/input": {"bytes": 4013, "sha256": "53102aacf0ecbb26bb489751b12f64205ca575c6ed6005650f9297108f4e2577"},- "judge:shader:runs/run/_cand/c0/artifacts/renders/r00/messages": {"bytes": 3727, "sha256": "d7deb2c4a1fa8e9b015a4e81439f9781e7618be6a01b013d18bb3acc4f6a32b9"},- "judge:shader:runs/run/_cand/c0/artifacts/renders/r00/sampling": {"bytes": 11662, "sha256": "88d8e8ec41fe9fc983cb78208877ac3d1c9148a4f67637ee61b6e23451a9e0dc"},- "judge:shader:runs/run/_cand/c0/artifacts/renders/r00/system": {"bytes": 11253, "sha256": "dcf75b56942831a1db5074023dfdad4b4750a3842eb4233dc2d41adacd1de67b"},- "judge:shader:runs/run/_cand/c1/artifacts/renders/r00/input": {"bytes": 4013, "sha256": "0cd59e323b50bd972a8187ab1752601a68a09be5b4cad5a8ff31272358edb36a"},- "judge:shader:runs/run/_cand/c1/artifacts/renders/r00/messages": {"bytes": 3727, "sha256": "d7deb2c4a1fa8e9b015a4e81439f9781e7618be6a01b013d18bb3acc4f6a32b9"},- "judge:shader:runs/run/_cand/c1/artifacts/renders/r00/sampling": {"bytes": 11662, "sha256": "88d8e8ec41fe9fc983cb78208877ac3d1c9148a4f67637ee61b6e23451a9e0dc"},- "judge:shader:runs/run/_cand/c1/artifacts/renders/r00/system": {"bytes": 11253, "sha256": "dcf75b56942831a1db5074023dfdad4b4750a3842eb4233dc2d41adacd1de67b"},- "judge:shader:runs/run/artifacts/renders/r00/input": {"bytes": 3959, "sha256": "5a6cd939181903bcd28e49d83b7f86b407558242c1e86a91c82bd4fb147dd0ef"},- "judge:shader:runs/run/artifacts/renders/r00/messages": {"bytes": 3727, "sha256": "d7deb2c4a1fa8e9b015a4e81439f9781e7618be6a01b013d18bb3acc4f6a32b9"},- "judge:shader:runs/run/artifacts/renders/r00/sampling": {"bytes": 11662, "sha256": "88d8e8ec41fe9fc983cb78208877ac3d1c9148a4f67637ee61b6e23451a9e0dc"},- "judge:shader:runs/run/artifacts/renders/r00/system": {"bytes": 11253, "sha256": "dcf75b56942831a1db5074023dfdad4b4750a3842eb4233dc2d41adacd1de67b"},- "skills:runs/run/_cand/c0:baseline@r00/routed": {"bytes": 56, "sha256": "400eb18b3e0ca869392d11f9fc95c12140d8234f3efe8f3c1ec66b5c43d1ffa6"},- "skills:runs/run/_cand/c1:baseline@r00/routed": {"bytes": 56, "sha256": "400eb18b3e0ca869392d11f9fc95c12140d8234f3efe8f3c1ec66b5c43d1ffa6"},- "skills:runs/run:baseline@r00/routed": {"bytes": 56, "sha256": "400eb18b3e0ca869392d11f9fc95c12140d8234f3efe8f3c1ec66b5c43d1ffa6"}- },- "stage_keys": {- "runs/run:plan": "6b5b2d8775b3",- "runs/run:skeleton": "7ad4f988e9ca"- }- },"graphics.glsl_shader.agent.fresh": {"payloads": {"chat:planner:planner/messages": {"bytes": 348, "sha256": "f50fc3cdf3a426fc9c9b830b6e68d2cfe9fd9b7125550362b018f9c9b454b25c"},@@ -117,15 +82,15 @@"job:refine@r02/prompt": {"bytes": 4828, "sha256": "f02f3a218edb95d79000fd339cc556045baccd5087231dd293db83195c927fa7"},"job:refine@r02/scope": {"bytes": 375, "sha256": "c4a7fdb0b390ec75d595006e11b9982113e60c49f5a62a978153167053bbcd33"},"job:refine@r02/system": {"bytes": 3173, "sha256": "c3879a563e2a512b82358d0c3927dcbfe9347725e592035a9b64c5d1b34e6654"},- "judge:shader:runs/run/artifacts/renders/r00/input": {"bytes": 3959, "sha256": "4dde2639e506ef0d2636bde47835d14b7f8702f43bdf5f4d7c6072ed65c6637c"},+ "judge:shader:runs/run/artifacts/renders/r00/input": {"bytes": 3923, "sha256": "701a56ffaa1e5b3e403041171ab848038ba748c29beb2a73d59c53e4fa851394"},"judge:shader:runs/run/artifacts/renders/r00/messages": {"bytes": 3727, "sha256": "d7deb2c4a1fa8e9b015a4e81439f9781e7618be6a01b013d18bb3acc4f6a32b9"},"judge:shader:runs/run/artifacts/renders/r00/sampling": {"bytes": 11662, "sha256": "88d8e8ec41fe9fc983cb78208877ac3d1c9148a4f67637ee61b6e23451a9e0dc"},"judge:shader:runs/run/artifacts/renders/r00/system": {"bytes": 11253, "sha256": "dcf75b56942831a1db5074023dfdad4b4750a3842eb4233dc2d41adacd1de67b"},- "judge:shader:runs/run/artifacts/renders/r01/input": {"bytes": 5012, "sha256": "2eadea804479eca53e39ff1fb2b505e71188e16cb38241b7e77dce40d5f97032"},+ "judge:shader:runs/run/artifacts/renders/r01/input": {"bytes": 4976, "sha256": "61afba54640956854e59bb2b7417b15cd0366b306029ad17def93fd1732af410"},"judge:shader:runs/run/artifacts/renders/r01/messages": {"bytes": 4123, "sha256": "a1f0c207406de6f415fdb8516b695aaedf7f06d25598f33932d2ad728f8c881f"},"judge:shader:runs/run/artifacts/renders/r01/sampling": {"bytes": 11662, "sha256": "88d8e8ec41fe9fc983cb78208877ac3d1c9148a4f67637ee61b6e23451a9e0dc"},"judge:shader:runs/run/artifacts/renders/r01/system": {"bytes": 11253, "sha256": "dcf75b56942831a1db5074023dfdad4b4750a3842eb4233dc2d41adacd1de67b"},- "judge:shader:runs/run/artifacts/renders/r02/input": {"bytes": 5008, "sha256": "260f183b612bd9ae84a5ad913e2fdd84788d144f9a24a14aba70d410caf861f6"},+ "judge:shader:runs/run/artifacts/renders/r02/input": {"bytes": 4972, "sha256": "cb21dec41b3902d736c91c0e5ffc34f8d140f1c31d44526ff7bb990f9a419be4"},"judge:shader:runs/run/artifacts/renders/r02/messages": {"bytes": 4123, "sha256": "5b81b09f9d6a7e3225549454099d07143f5bb726c3ccff263b4afc7bfe13d88b"},"judge:shader:runs/run/artifacts/renders/r02/sampling": {"bytes": 11662, "sha256": "88d8e8ec41fe9fc983cb78208877ac3d1c9148a4f67637ee61b6e23451a9e0dc"},"judge:shader:runs/run/artifacts/renders/r02/system": {"bytes": 11253, "sha256": "dcf75b56942831a1db5074023dfdad4b4750a3842eb4233dc2d41adacd1de67b"},@@ -134,7 +99,7 @@"skills:runs/run:refine@r02/routed": {"bytes": 56, "sha256": "400eb18b3e0ca869392d11f9fc95c12140d8234f3efe8f3c1ec66b5c43d1ffa6"}},"stage_keys": {- "runs/run:plan": "6b5b2d8775b3",+ "runs/run:plan": "14103d374ce8","runs/run:skeleton": "7ad4f988e9ca"}},@@ -156,7 +121,7 @@"job:rebuild@r01/prompt": {"bytes": 11530, "sha256": "55b953a2ecd60c415cec8995694d1dc731bd0d8135bc594a1ba07d68b7f5f09f"},"job:rebuild@r01/scope": {"bytes": 379, "sha256": "471fba995682e47fe12099cb5881743a8aeae71a0243fa3598c72d69a5b31f98"},"job:rebuild@r01/system": {"bytes": 3173, "sha256": "c3879a563e2a512b82358d0c3927dcbfe9347725e592035a9b64c5d1b34e6654"},- "judge:shader:runs/run/artifacts/renders/r01/input": {"bytes": 3959, "sha256": "df77c1b050ec2b6aacb408eeb09dc6b9ab0bd37e6aadea89a54db3ce9dffede3"},+ "judge:shader:runs/run/artifacts/renders/r01/input": {"bytes": 3923, "sha256": "3911805a5f372e058fe4e575269684568c391913f4f87a3cc4ecaeab572bcb95"},"judge:shader:runs/run/artifacts/renders/r01/messages": {"bytes": 3727, "sha256": "d7deb2c4a1fa8e9b015a4e81439f9781e7618be6a01b013d18bb3acc4f6a32b9"},"judge:shader:runs/run/artifacts/renders/r01/sampling": {"bytes": 11662, "sha256": "88d8e8ec41fe9fc983cb78208877ac3d1c9148a4f67637ee61b6e23451a9e0dc"},"judge:shader:runs/run/artifacts/renders/r01/system": {"bytes": 11253, "sha256": "dcf75b56942831a1db5074023dfdad4b4750a3842eb4233dc2d41adacd1de67b"},@@ -164,7 +129,7 @@"skills:runs/run:refine@r01/routed": {"bytes": 56, "sha256": "400eb18b3e0ca869392d11f9fc95c12140d8234f3efe8f3c1ec66b5c43d1ffa6"}},"stage_keys": {- "runs/run:plan": "6b5b2d8775b3",+ "runs/run:plan": "14103d374ce8","runs/run:skeleton": "7ad4f988e9ca"}},@@ -179,11 +144,11 @@"chat:planner:planner/messages": {"bytes": 348, "sha256": "f50fc3cdf3a426fc9c9b830b6e68d2cfe9fd9b7125550362b018f9c9b454b25c"},"chat:planner:planner/sampling": {"bytes": 3421, "sha256": "918170272cea656e8c542c54b777c57d1a4567a8cc36a0c1cd825cb81a01b9bb"},"chat:planner:planner/system": {"bytes": 11919, "sha256": "194d0e2a724c4799816033228af15cac568dd51c14ed85bff9c94ae5ba281866"},- "judge:shader:runs/run/artifacts/renders/r00/input": {"bytes": 3976, "sha256": "6047e9f7c3985e1827f3ecc3263d87012c8a3c074b9bc33517e11e12751d2e58"},+ "judge:shader:runs/run/artifacts/renders/r00/input": {"bytes": 3940, "sha256": "e57b05fec25a221b63fe4ae0d63d4d3dc9b71cb856abeac40e4d506d4e8b8f63"},"judge:shader:runs/run/artifacts/renders/r00/messages": {"bytes": 3727, "sha256": "d7deb2c4a1fa8e9b015a4e81439f9781e7618be6a01b013d18bb3acc4f6a32b9"},"judge:shader:runs/run/artifacts/renders/r00/sampling": {"bytes": 11662, "sha256": "88d8e8ec41fe9fc983cb78208877ac3d1c9148a4f67637ee61b6e23451a9e0dc"},"judge:shader:runs/run/artifacts/renders/r00/system": {"bytes": 11253, "sha256": "dcf75b56942831a1db5074023dfdad4b4750a3842eb4233dc2d41adacd1de67b"},- "judge:shader:runs/run/artifacts/renders/r01/input": {"bytes": 5029, "sha256": "d3e2b3031ba4e6593d3c55af498869db17277952dcf5f320ac415bc04616aca7"},+ "judge:shader:runs/run/artifacts/renders/r01/input": {"bytes": 4993, "sha256": "1ad46c9004f8330b74025431d03268f3e65374f03f577672292b56baf93edf4b"},"judge:shader:runs/run/artifacts/renders/r01/messages": {"bytes": 4123, "sha256": "a1f0c207406de6f415fdb8516b695aaedf7f06d25598f33932d2ad728f8c881f"},"judge:shader:runs/run/artifacts/renders/r01/sampling": {"bytes": 11662, "sha256": "88d8e8ec41fe9fc983cb78208877ac3d1c9148a4f67637ee61b6e23451a9e0dc"},"judge:shader:runs/run/artifacts/renders/r01/system": {"bytes": 11253, "sha256": "dcf75b56942831a1db5074023dfdad4b4750a3842eb4233dc2d41adacd1de67b"},@@ -191,7 +156,7 @@"skills:runs/run:refine@r01/routed": {"bytes": 68, "sha256": "cf6a7b5027626c144cf9f6ccc254f9bf6332217398c364638db88002139012ad"}},"stage_keys": {- "runs/run:plan": "6b5b2d8775b3",+ "runs/run:plan": "14103d374ce8","runs/run:skeleton": "7ad4f988e9ca"}},@@ -207,11 +172,11 @@"job:refine@r01/prompt": {"bytes": 4809, "sha256": "564c35401c05213d9906d0ecf84ead9e8c8a54ef51cae13eeb59fcb98e1b7275"},"job:refine@r01/scope": {"bytes": 354, "sha256": "81a4042ba077832530b2a9f64d3e1415da1b655b00caf1006ed51ee616a7b17b"},"job:refine@r01/system": {"bytes": 2729, "sha256": "d12d4891ce72156aa561bdfa0ed1fb20c5826412024b0be07b423949528e5df6"},- "judge:shader:runs/run/artifacts/renders/r00/input": {"bytes": 3963, "sha256": "5401be1bc487921af05b2dc05e8dc7c0fb7f2ee373d2741928c54417eee99b6e"},+ "judge:shader:runs/run/artifacts/renders/r00/input": {"bytes": 3927, "sha256": "8eb6edb923345ddf6d4c3c615b7e2700c873e14295c5f3247e6cd213933f69c7"},"judge:shader:runs/run/artifacts/renders/r00/messages": {"bytes": 3731, "sha256": "355b5a5eb7617171897155fe818a3975dea97d127ae8416f1352a67bb6a84a19"},"judge:shader:runs/run/artifacts/renders/r00/sampling": {"bytes": 11662, "sha256": "88d8e8ec41fe9fc983cb78208877ac3d1c9148a4f67637ee61b6e23451a9e0dc"},"judge:shader:runs/run/artifacts/renders/r00/system": {"bytes": 11253, "sha256": "dcf75b56942831a1db5074023dfdad4b4750a3842eb4233dc2d41adacd1de67b"},- "judge:shader:runs/run/artifacts/renders/r01/input": {"bytes": 5016, "sha256": "6e97c9effd603ac4a768006e2b4c63ce29506fe163aae8c36087f3f2f62390fc"},+ "judge:shader:runs/run/artifacts/renders/r01/input": {"bytes": 4980, "sha256": "d797ec2b23a9cb29238118d5df18d7961ead75e619038658429a72a61327cd01"},"judge:shader:runs/run/artifacts/renders/r01/messages": {"bytes": 4127, "sha256": "a4c4a41eea8d4af3df6646d2aa757c01a0ab663614361e61e76e84e21f9d5378"},"judge:shader:runs/run/artifacts/renders/r01/sampling": {"bytes": 11662, "sha256": "88d8e8ec41fe9fc983cb78208877ac3d1c9148a4f67637ee61b6e23451a9e0dc"},"judge:shader:runs/run/artifacts/renders/r01/system": {"bytes": 11253, "sha256": "dcf75b56942831a1db5074023dfdad4b4750a3842eb4233dc2d41adacd1de67b"},@@ -219,7 +184,7 @@"skills:runs/run:refine@r01/routed": {"bytes": 61, "sha256": "6cf132dce307379276e442875a061e8e0d099d50b70a8d18d4622abd9ce8ee8c"}},"stage_keys": {- "runs/run:plan": "2dae8a504e59",+ "runs/run:plan": "9523e6374717","runs/run:skeleton": "52e9bc1e1abd"}},@@ -281,16 +246,16 @@"job:zones_quay_water@r00/prompt": {"bytes": 35057, "sha256": "8e18d1a7baa4f7747fabe9affb187b29ba5a39e9e2d5342ebe5027c9ec20c68c"},"job:zones_quay_water@r00/scope": {"bytes": 364, "sha256": "69a91221629a23e4f5bc8ce393294d5c6a00213156b2d2ded4783159a0f02557"},"job:zones_quay_water@r00/system": {"bytes": 7239, "sha256": "67334373ec84ee3a89a3870646aef6a41f03b9ae15678e06e800bc206e10673d"},- "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3690, "sha256": "8b1b52e0e3fd832fda14a7913d35cef8d5bda2cb02b8aea5a2935bbc1f7d5714"},- "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4930, "sha256": "676859b5172ea33c86195b543b5c80e49dc907598dbdddb57a9734e58df9e8a1"},+ "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3579, "sha256": "e44a352a4699630eb28e874e77a0d979569b50441435e2508e9b038a2c860ee0"},+ "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4909, "sha256": "778bd159c82abd4e548d04584acf214e1015aeee8027c8da26ace1d9277d9d20"},"judge:scene:runs/run/artifacts/renders/r00/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r00/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},- "judge:scene:runs/run/artifacts/renders/r01/input": {"bytes": 4690, "sha256": "b546f93804fc3a29f245076f24cee36e64a1a7a5d45181f05eacc5bf59fc2dc0"},- "judge:scene:runs/run/artifacts/renders/r01/messages": {"bytes": 5298, "sha256": "35679341c294b774ac1c228d9a2bc56f4792f8831dd1c216b513e4427e6cb0c1"},+ "judge:scene:runs/run/artifacts/renders/r01/input": {"bytes": 4579, "sha256": "862c40aa4485927a391278fb971e3d0ecd81f3f57a5f6e4bf0602af97c293ba2"},+ "judge:scene:runs/run/artifacts/renders/r01/messages": {"bytes": 5277, "sha256": "ad76faf0a14e94484deb1d7334e4e20308b6805558c5f902e43d278d8ccaedd8"},"judge:scene:runs/run/artifacts/renders/r01/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r01/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},- "judge:scene:runs/run/artifacts/renders/r02/input": {"bytes": 4686, "sha256": "5321b87318ce2cbdd7d3b6d6669d3283574a1e3034030803577f386c6e0d2d35"},- "judge:scene:runs/run/artifacts/renders/r02/messages": {"bytes": 5298, "sha256": "0b15d27d13b64c082c86c2e4cea5d85a7f0b3e9daef93b5cb62f698d06570437"},+ "judge:scene:runs/run/artifacts/renders/r02/input": {"bytes": 4575, "sha256": "3a0ed6666b77d3503df545e9466d975464552ebafdcf39f7337b0a21f7a9fadc"},+ "judge:scene:runs/run/artifacts/renders/r02/messages": {"bytes": 5277, "sha256": "f04bd0d9bd2ad763a267f028ddeff04317d7708d41f36352a3409e3cac079c9c"},"judge:scene:runs/run/artifacts/renders/r02/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r02/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},"skills:runs/run:baseline@r00/routed": {"bytes": 35, "sha256": "607ad2fd09f3e6a0617f5d52cff3edf2a91bd286e8bf5b18d5f7c0e5f6dfff80"},@@ -304,7 +269,7 @@"runs/run:assets": "47a6e0c9cb08","runs/run:env": "47a6e0c9cb08","runs/run:layouts": "47a6e0c9cb08",- "runs/run:plan": "54e8de4267c4",+ "runs/run:plan": "7c51be26cc51","runs/run:skeleton": "e42c2d2f88e0","runs/run:zones": "7dd540d9edd0"}@@ -347,8 +312,8 @@"chat:planner:zone-layout#2/messages": {"bytes": 485, "sha256": "67e917190ee227c5ed3415ab4b03c072af313d7040704e7de671e63c42e2ab52"},"chat:planner:zone-layout#2/sampling": {"bytes": 3397, "sha256": "160445a83ede28afc0191547fd42d9341e694ef70aaad380bebf60ead0a65c49"},"chat:planner:zone-layout#2/system": {"bytes": 3326, "sha256": "494acec302dd23fa2fc6ee1eb6d48e873d6cf0ad98bad413e27578cf062313d4"},- "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3707, "sha256": "30b3e2a3c085d3231818fcaa188e1f93732151dd987f311121f2a5320110c27d"},- "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4930, "sha256": "676859b5172ea33c86195b543b5c80e49dc907598dbdddb57a9734e58df9e8a1"},+ "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3596, "sha256": "a3b20a0ff20076e26cff582a755f6d7996a6126e760c4dbe1e1e64953fc8c708"},+ "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4909, "sha256": "778bd159c82abd4e548d04584acf214e1015aeee8027c8da26ace1d9277d9d20"},"judge:scene:runs/run/artifacts/renders/r00/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r00/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},"skills:runs/run:baseline@r00/routed": {"bytes": 35, "sha256": "607ad2fd09f3e6a0617f5d52cff3edf2a91bd286e8bf5b18d5f7c0e5f6dfff80"},@@ -361,7 +326,7 @@"runs/run:assets": "1fe4141b3b47","runs/run:env": "1fe4141b3b47","runs/run:layouts": "1fe4141b3b47",- "runs/run:plan": "54e8de4267c4",+ "runs/run:plan": "7c51be26cc51","runs/run:skeleton": "e42c2d2f88e0","runs/run:zones": "f6a9dbff2217"}@@ -411,16 +376,16 @@"job:zones_quay_water@r00/prompt": {"bytes": 42361, "sha256": "ba7f066f892074d3b6230f7380a1a3492167ab8c24a045e3ee38f0acab6a420a"},"job:zones_quay_water@r00/scope": {"bytes": 379, "sha256": "5b1def419a1370ab2d9f2345bc4a5232ef3c793d4e4f1e01bd5ab9a3a8e88a7d"},"job:zones_quay_water@r00/system": {"bytes": 5625, "sha256": "3e4c806c832c2fb4ab9dd3b1d5063c611b07258ce2fa6d9b3f25df5a467734c7"},- "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3690, "sha256": "5e7031f1c8d724681399e545e6adf0af8e6a8da6cae4364c7220a15b41f0744b"},- "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4930, "sha256": "562ef4bfc6b24c34604482cb73a02fb4b01da5c0e70685e3a1a4e1dda616a827"},+ "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3579, "sha256": "51df86b6de6dac3624ae11ac592751425b693a83b46fb83ed3457c6fd91aebad"},+ "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4909, "sha256": "cf981dcf14aa7bc842aa9309ada13b9622a798f0410f163940172d8f980a81cf"},"judge:scene:runs/run/artifacts/renders/r00/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r00/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},- "judge:scene:runs/run/artifacts/renders/r01/input": {"bytes": 4690, "sha256": "ea728103072ad97014d8af107bb40109b9aef55ab30f817a017e3542b091682a"},- "judge:scene:runs/run/artifacts/renders/r01/messages": {"bytes": 5298, "sha256": "c9a488e3385bb803ce084eda9a1ad2ed58c338201f1ad6d7f416cf0070f1a9f1"},+ "judge:scene:runs/run/artifacts/renders/r01/input": {"bytes": 4579, "sha256": "e232312bd6d6d39fb37dd164b49039f42c599b18908cf054cf00a6ec6e021acd"},+ "judge:scene:runs/run/artifacts/renders/r01/messages": {"bytes": 5277, "sha256": "43e5179d1f5627212c0c097221ded74e289296f92d53e0f647d4dec5f1187858"},"judge:scene:runs/run/artifacts/renders/r01/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r01/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},- "judge:scene:runs/run/artifacts/renders/r02/input": {"bytes": 4686, "sha256": "905a0f9912bb1052573d52017e5f838a18d429827cbcd52be7e6a7f6f40842f0"},- "judge:scene:runs/run/artifacts/renders/r02/messages": {"bytes": 5298, "sha256": "d8e7af12d299bcc4d09f7b68a6cdf3de2816e89d0d785ff88153c9e3aa5ce8cd"},+ "judge:scene:runs/run/artifacts/renders/r02/input": {"bytes": 4575, "sha256": "74da6957c6a6aa40a032e339fb22ff14165be7f03a1b3f61bf6f2f574a68d879"},+ "judge:scene:runs/run/artifacts/renders/r02/messages": {"bytes": 5277, "sha256": "e40623fa28c4b20539b4392cb1a5e9b6f1a8224f72a0fe9061780a5e011c13a4"},"judge:scene:runs/run/artifacts/renders/r02/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r02/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},"skills:runs/run:baseline@r00/routed": {"bytes": 156, "sha256": "cae5ab46c39f9f4efb7ae3c4758b05d768025f93d525d5e13812b916a583fd30"},@@ -434,7 +399,7 @@"runs/run:assets": "e3fcf2d29017","runs/run:env": "e3fcf2d29017","runs/run:layouts": "e3fcf2d29017",- "runs/run:plan": "105b46262eac",+ "runs/run:plan": "9c44d138dbae","runs/run:skeleton": "6bd35d0cf375","runs/run:zones": "0526c0ee5233"}@@ -485,16 +450,16 @@"job:zones_quay_water@r00/prompt": {"bytes": 42541, "sha256": "986c0f46f90e4f652c336741d6925c1bf7f7b2d83dbe5977ba8a9856dfa4c576"},"job:zones_quay_water@r00/scope": {"bytes": 379, "sha256": "5b1def419a1370ab2d9f2345bc4a5232ef3c793d4e4f1e01bd5ab9a3a8e88a7d"},"job:zones_quay_water@r00/system": {"bytes": 5625, "sha256": "3e4c806c832c2fb4ab9dd3b1d5063c611b07258ce2fa6d9b3f25df5a467734c7"},- "judge:asset:runs/run/_assets/crate/artifacts/renders/r00/assets/crate/input": {"bytes": 3759, "sha256": "d3507d23f5a84d828cef7b6b6f9b2c5df3795a2c300ee7aaeb038af59267fc30"},+ "judge:asset:runs/run/_assets/crate/artifacts/renders/r00/assets/crate/input": {"bytes": 3723, "sha256": "fc8a3af9bd7a4d0953374e19347f53612ead0e954179056748e4ed6cc4f81172"},"judge:asset:runs/run/_assets/crate/artifacts/renders/r00/assets/crate/messages": {"bytes": 3099, "sha256": "eee511c765a105054417cb3fa37bf67c24bcf9022da44dc086385878a61d5f67"},"judge:asset:runs/run/_assets/crate/artifacts/renders/r00/assets/crate/sampling": {"bytes": 8358, "sha256": "d816200df3d61ed4afb3251779d3981fe0bdf6ef70db86cbba3dd76dcc28edf6"},"judge:asset:runs/run/_assets/crate/artifacts/renders/r00/assets/crate/system": {"bytes": 8834, "sha256": "8b52aa8a0e80ff6ba98f494c36013745f5dd07a4e1040d72ff7f55aeeb907ba5"},- "judge:asset:runs/run/_assets/crate/artifacts/renders/r00/assets/crate_fix/input": {"bytes": 3779, "sha256": "91ec992fade8a7c1907c0888c2a65715a0ab1ec40ed8d2cd1037a976cf6e82e8"},+ "judge:asset:runs/run/_assets/crate/artifacts/renders/r00/assets/crate_fix/input": {"bytes": 3743, "sha256": "948ee6c501e2602a517ba2c14e31a4c275b82cd4cfe623d5c23e1b25065dcccc"},"judge:asset:runs/run/_assets/crate/artifacts/renders/r00/assets/crate_fix/messages": {"bytes": 3099, "sha256": "eee511c765a105054417cb3fa37bf67c24bcf9022da44dc086385878a61d5f67"},"judge:asset:runs/run/_assets/crate/artifacts/renders/r00/assets/crate_fix/sampling": {"bytes": 8358, "sha256": "d816200df3d61ed4afb3251779d3981fe0bdf6ef70db86cbba3dd76dcc28edf6"},"judge:asset:runs/run/_assets/crate/artifacts/renders/r00/assets/crate_fix/system": {"bytes": 8834, "sha256": "8b52aa8a0e80ff6ba98f494c36013745f5dd07a4e1040d72ff7f55aeeb907ba5"},- "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3697, "sha256": "dab5e24ca050491a18ba9f81e894fb7f1103e9d3a16bf93c708ac7fd6ab54944"},- "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4937, "sha256": "407f918497c4e96ed25d4a9c5c968993644c2a43fadfcc1bc6a0c4f7e6a9d99f"},+ "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3586, "sha256": "6985fad5656da40a0c3d19c106ec49fc29b0b9845ec8f380128fc9d6a70b1cac"},+ "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4916, "sha256": "88385fa5efce79ddac00aea9640c2f0706d88ff9c21cfcbc0cd3e1c7219f2e4c"},"judge:scene:runs/run/artifacts/renders/r00/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r00/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},"skills:runs/run:baseline@r00/routed": {"bytes": 156, "sha256": "cae5ab46c39f9f4efb7ae3c4758b05d768025f93d525d5e13812b916a583fd30"},@@ -506,7 +471,7 @@"runs/run:assets": "2e61537ff1c0","runs/run:env": "2e61537ff1c0","runs/run:layouts": "2e61537ff1c0",- "runs/run:plan": "105b46262eac",+ "runs/run:plan": "9c44d138dbae","runs/run:skeleton": "dba1ece541d0","runs/run:zones": "77a6039e286c"}@@ -529,8 +494,8 @@"job:zones_quay_water@r00/prompt": {"bytes": 41688, "sha256": "752f5e1a1ee0e088ac14df293d7d28d56a29c6d8249f3a2a13f1d1e2249964df"},"job:zones_quay_water@r00/scope": {"bytes": 379, "sha256": "5b1def419a1370ab2d9f2345bc4a5232ef3c793d4e4f1e01bd5ab9a3a8e88a7d"},"job:zones_quay_water@r00/system": {"bytes": 5625, "sha256": "3e4c806c832c2fb4ab9dd3b1d5063c611b07258ce2fa6d9b3f25df5a467734c7"},- "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3690, "sha256": "ebaaf972b6033176defee1013c1eb8b83843caef8172efe2dba99ccfb339a33f"},- "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4930, "sha256": "562ef4bfc6b24c34604482cb73a02fb4b01da5c0e70685e3a1a4e1dda616a827"},+ "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3579, "sha256": "87ef7c7f967612ac7c5865e495908af614f6b27f9fbcbed8b049b4194387b387"},+ "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4909, "sha256": "cf981dcf14aa7bc842aa9309ada13b9622a798f0410f163940172d8f980a81cf"},"judge:scene:runs/run/artifacts/renders/r00/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r00/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},"skills:runs/run:baseline@r00/routed": {"bytes": 156, "sha256": "cae5ab46c39f9f4efb7ae3c4758b05d768025f93d525d5e13812b916a583fd30"},@@ -541,7 +506,7 @@"runs/run:assemble": "eb288074ac5b","runs/run:assets": "e3fcf2d29017","runs/run:env": "e3fcf2d29017",- "runs/run:plan": "105b46262eac",+ "runs/run:plan": "9c44d138dbae","runs/run:skeleton": "6bd35d0cf375","runs/run:zones": "799b540cc58b"}@@ -598,7 +563,7 @@"runs/run:assets": "e3fcf2d29017","runs/run:env": "e3fcf2d29017","runs/run:layouts": "e3fcf2d29017",- "runs/run:plan": "105b46262eac",+ "runs/run:plan": "9c44d138dbae","runs/run:skeleton": "6bd35d0cf375","runs/run:zones": "0526c0ee5233"}@@ -636,12 +601,12 @@"job:zones_quay_water@r00/prompt": {"bytes": 42361, "sha256": "ba7f066f892074d3b6230f7380a1a3492167ab8c24a045e3ee38f0acab6a420a"},"job:zones_quay_water@r00/scope": {"bytes": 379, "sha256": "5b1def419a1370ab2d9f2345bc4a5232ef3c793d4e4f1e01bd5ab9a3a8e88a7d"},"job:zones_quay_water@r00/system": {"bytes": 5625, "sha256": "3e4c806c832c2fb4ab9dd3b1d5063c611b07258ce2fa6d9b3f25df5a467734c7"},- "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3690, "sha256": "5e7031f1c8d724681399e545e6adf0af8e6a8da6cae4364c7220a15b41f0744b"},- "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4930, "sha256": "562ef4bfc6b24c34604482cb73a02fb4b01da5c0e70685e3a1a4e1dda616a827"},+ "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3579, "sha256": "51df86b6de6dac3624ae11ac592751425b693a83b46fb83ed3457c6fd91aebad"},+ "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4909, "sha256": "cf981dcf14aa7bc842aa9309ada13b9622a798f0410f163940172d8f980a81cf"},"judge:scene:runs/run/artifacts/renders/r00/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r00/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},- "judge:scene:runs/run/artifacts/renders/r01/input": {"bytes": 4690, "sha256": "ea728103072ad97014d8af107bb40109b9aef55ab30f817a017e3542b091682a"},- "judge:scene:runs/run/artifacts/renders/r01/messages": {"bytes": 5298, "sha256": "c9a488e3385bb803ce084eda9a1ad2ed58c338201f1ad6d7f416cf0070f1a9f1"},+ "judge:scene:runs/run/artifacts/renders/r01/input": {"bytes": 4579, "sha256": "e232312bd6d6d39fb37dd164b49039f42c599b18908cf054cf00a6ec6e021acd"},+ "judge:scene:runs/run/artifacts/renders/r01/messages": {"bytes": 5277, "sha256": "43e5179d1f5627212c0c097221ded74e289296f92d53e0f647d4dec5f1187858"},"judge:scene:runs/run/artifacts/renders/r01/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r01/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},"skills:runs/run:baseline@r00/routed": {"bytes": 156, "sha256": "cae5ab46c39f9f4efb7ae3c4758b05d768025f93d525d5e13812b916a583fd30"},@@ -654,7 +619,7 @@"runs/run:assets": "e3fcf2d29017","runs/run:env": "e3fcf2d29017","runs/run:layouts": "e3fcf2d29017",- "runs/run:plan": "23a48aef8e1b",+ "runs/run:plan": "aad8550c5489","runs/run:skeleton": "6bd35d0cf375","runs/run:zones": "0526c0ee5233"}@@ -697,8 +662,8 @@"chat:planner:zone-layout#2/messages": {"bytes": 485, "sha256": "67e917190ee227c5ed3415ab4b03c072af313d7040704e7de671e63c42e2ab52"},"chat:planner:zone-layout#2/sampling": {"bytes": 3397, "sha256": "160445a83ede28afc0191547fd42d9341e694ef70aaad380bebf60ead0a65c49"},"chat:planner:zone-layout#2/system": {"bytes": 3326, "sha256": "494acec302dd23fa2fc6ee1eb6d48e873d6cf0ad98bad413e27578cf062313d4"},- "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3707, "sha256": "8f701fd0fdbfc05436f36752f885dce6996d23adc4ecca76a446ebfb676fff5f"},- "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4930, "sha256": "562ef4bfc6b24c34604482cb73a02fb4b01da5c0e70685e3a1a4e1dda616a827"},+ "judge:scene:runs/run/artifacts/renders/r00/input": {"bytes": 3596, "sha256": "55f7c3369e7441212e874ed7d5a352bd7bb1c33465c1eaf8db6422815ffd18d7"},+ "judge:scene:runs/run/artifacts/renders/r00/messages": {"bytes": 4909, "sha256": "cf981dcf14aa7bc842aa9309ada13b9622a798f0410f163940172d8f980a81cf"},"judge:scene:runs/run/artifacts/renders/r00/sampling": {"bytes": 14069, "sha256": "9f5073025f0011d617d13bbde6605bf7358111b7700df92c41c23035482f789b"},"judge:scene:runs/run/artifacts/renders/r00/system": {"bytes": 21572, "sha256": "eee5e34a58a91720755be68ed4d39cf127c634a484a4948e77c77ecce7e8cd16"},"skills:runs/run:baseline@r00/routed": {"bytes": 169, "sha256": "6ccf83dd133ef358e077dc682854e631d69bb44f6a3db6e91910c6f89d8d9455"},@@ -711,12 +676,12 @@"runs/run:assets": "212efeee2ac5","runs/run:env": "212efeee2ac5","runs/run:layouts": "212efeee2ac5",- "runs/run:plan": "105b46262eac",+ "runs/run:plan": "9c44d138dbae","runs/run:skeleton": "6bd35d0cf375","runs/run:zones": "b12775da7b08"}},- "static_object.blender.agent.best_of_2": {+ "static_object.blender.agent.fresh": {"payloads": {"chat:planner:planner-brief/messages": {"bytes": 170, "sha256": "c59acfe245bb7cf2ca7111a65960824587e06cd8914a4d7ca9c8eba234fe6393"},"chat:planner:planner-brief/sampling": {"bytes": 4774, "sha256": "ac0bb868a0ed6551f5374840bf146b6e0b4fbb014f10a856fd306ec44357226a"},@@ -724,41 +689,26 @@"chat:planner:planner/messages": {"bytes": 1354, "sha256": "5b1a589e27562a3668649aed4be4857a34804a2acdc140eb8fb3630d970f71a6"},"chat:planner:planner/sampling": {"bytes": 6272, "sha256": "04dbfbbd42d8b93a12571a1908beacc7eb471e6f2c0fc077371aa86e2a99fb40"},"chat:planner:planner/system": {"bytes": 20977, "sha256": "0a3c2ea2bfb39981a166952054d1dcc10dffdf097d493e89b03e0b8586d2ee8e"},- "context:runs/run/_cand/c0/files": {"bytes": 47092, "sha256": "abca5605a55de083655700701faed3bbfd7ba04281b47344a8394c0042f39dc1"},- "context:runs/run/_cand/c1/files": {"bytes": 47092, "sha256": "abca5605a55de083655700701faed3bbfd7ba04281b47344a8394c0042f39dc1"},"context:runs/run/files": {"bytes": 47092, "sha256": "abca5605a55de083655700701faed3bbfd7ba04281b47344a8394c0042f39dc1"},- "job:baseline_c0@r00/prompt": {"bytes": 20387, "sha256": "158c7483180b37e34a73f10bf8cabd1f708d89920c60b791f3815bdf4703ef8d"},- "job:baseline_c0@r00/scope": {"bytes": 434, "sha256": "2654f6339a446c7181633e50fb347ef3b3002dd0dc96cd6f88db21018f2fd4ba"},- "job:baseline_c0@r00/system": {"bytes": 2865, "sha256": "e8bdde0b2251c9f422c9a02c8c457543798280f5215e740312ffb73f1d0d867f"},- "job:baseline_c1@r00/prompt": {"bytes": 20387, "sha256": "158c7483180b37e34a73f10bf8cabd1f708d89920c60b791f3815bdf4703ef8d"},- "job:baseline_c1@r00/scope": {"bytes": 434, "sha256": "ea7fa63b68b2e822ddab3b4fbe0fcd7db185a3127ef747f85616b2784fa63311"},- "job:baseline_c1@r00/system": {"bytes": 2865, "sha256": "e8bdde0b2251c9f422c9a02c8c457543798280f5215e740312ffb73f1d0d867f"},+ "job:baseline@r00/prompt": {"bytes": 20387, "sha256": "158c7483180b37e34a73f10bf8cabd1f708d89920c60b791f3815bdf4703ef8d"},+ "job:baseline@r00/scope": {"bytes": 430, "sha256": "d612bb113b9dd7310092a317c8a48fe70883fbc91d96055dfb805617e7a7581e"},+ "job:baseline@r00/system": {"bytes": 2865, "sha256": "e8bdde0b2251c9f422c9a02c8c457543798280f5215e740312ffb73f1d0d867f"},"job:refine@r01/prompt": {"bytes": 7038, "sha256": "7567826ea7793e5f05f355c236b5984aa89abde8942f86b2a9e8a2e1881096c6"},"job:refine@r01/scope": {"bytes": 426, "sha256": "3a39df2f37665e52ae78549431ea567fa9591605332e152cd7d41d2b58914893"},"job:refine@r01/system": {"bytes": 2865, "sha256": "e8bdde0b2251c9f422c9a02c8c457543798280f5215e740312ffb73f1d0d867f"},- "judge:static_object:runs/run/_cand/c0/artifacts/renders/r00/quick/input": {"bytes": 5480, "sha256": "d0f5d8618797710a5a8672d0e150fe844e47964c684f564870815881b8fccd22"},- "judge:static_object:runs/run/_cand/c0/artifacts/renders/r00/quick/messages": {"bytes": 4246, "sha256": "029c3c03fe1f78f6f0d8b6b1b6bb4825d2851b55595a3c15c1a03f052b0b9771"},- "judge:static_object:runs/run/_cand/c0/artifacts/renders/r00/quick/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},- "judge:static_object:runs/run/_cand/c0/artifacts/renders/r00/quick/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},- "judge:static_object:runs/run/_cand/c1/artifacts/renders/r00/quick/input": {"bytes": 5480, "sha256": "634a91a0f2eb65344528e8d83e744d8eba81d77d1b8697885a023f546199bef5"},- "judge:static_object:runs/run/_cand/c1/artifacts/renders/r00/quick/messages": {"bytes": 4246, "sha256": "029c3c03fe1f78f6f0d8b6b1b6bb4825d2851b55595a3c15c1a03f052b0b9771"},- "judge:static_object:runs/run/_cand/c1/artifacts/renders/r00/quick/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},- "judge:static_object:runs/run/_cand/c1/artifacts/renders/r00/quick/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},- "judge:static_object:runs/run/artifacts/renders/r00/input": {"bytes": 9043, "sha256": "dbaaabdbe8a66ecafe6caaf78c9d263dea54caa61f73b1c2a58356ac4eb232e8"},+ "judge:static_object:runs/run/artifacts/renders/r00/input": {"bytes": 9007, "sha256": "5d0e3f9ce8ec26edba43d5c231fd4576f6d764a7564e2180b26b5929f62c161d"},"judge:static_object:runs/run/artifacts/renders/r00/messages": {"bytes": 6699, "sha256": "7df542d34f969f456ab2fcd720b5ccf3a4547b1c57ed59a81df0a84a4d540b9a"},"judge:static_object:runs/run/artifacts/renders/r00/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},"judge:static_object:runs/run/artifacts/renders/r00/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},- "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 10256, "sha256": "039d3ffebaf48a6e6adb10eeb65db4d8be1c1902af599781104b174ea82108f8"},+ "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 10220, "sha256": "d92d9683e97837dc9aecf08359195a188568ffe96f6e84aee8f2d0445ba506f2"},"judge:static_object:runs/run/artifacts/renders/r01/messages": {"bytes": 7124, "sha256": "a800f572433fa02006cc5a02c883359497949586963a0edeb799e047048d8f2c"},"judge:static_object:runs/run/artifacts/renders/r01/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},"judge:static_object:runs/run/artifacts/renders/r01/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},- "skills:runs/run/_cand/c0:baseline@r00/routed": {"bytes": 133, "sha256": "53e382eba5cd3e9e5438941f437cd2148cca27c331d46ccbb73fb8b1b092a9dc"},- "skills:runs/run/_cand/c1:baseline@r00/routed": {"bytes": 133, "sha256": "53e382eba5cd3e9e5438941f437cd2148cca27c331d46ccbb73fb8b1b092a9dc"},"skills:runs/run:baseline@r00/routed": {"bytes": 133, "sha256": "53e382eba5cd3e9e5438941f437cd2148cca27c331d46ccbb73fb8b1b092a9dc"},"skills:runs/run:refine@r01/routed": {"bytes": 133, "sha256": "53e382eba5cd3e9e5438941f437cd2148cca27c331d46ccbb73fb8b1b092a9dc"}},"stage_keys": {- "runs/run:plan": "1fa4423b7ab2",+ "runs/run:plan": "6058d7d3c105","runs/run:skeleton": "65d9bf7a6805"}},@@ -786,11 +736,11 @@"job:refine@r02/prompt": {"bytes": 7215, "sha256": "7d084dc936a0ca89af24a348321c9a88fd523c8353a034fe3bb37df511bcfe8e"},"job:refine@r02/scope": {"bytes": 350, "sha256": "4e7e7adc88c67e32725d4fbf7d2f95b24d0166d57881f69cf543ab1c6936ea35"},"job:refine@r02/system": {"bytes": 2205, "sha256": "2ca6cc8997115b5940dcef874355b65c82f25ee8000b964fe0ad96dce25ac0e8"},- "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 9448, "sha256": "57f45cc8b04164a946635a087e7a5d925c8da6ba463e595f7f9723a3c8c49b4b"},+ "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 9412, "sha256": "fb5d03f0a3188dd66ee00424cfc2c1fa2f171a70f8c2f8e74ac3fb508c96edb3"},"judge:static_object:runs/run/artifacts/renders/r01/messages": {"bytes": 6808, "sha256": "afe220b9286ff63c1e78b62cf853ead93c525947a873c6eaea80d9094a9d483e"},"judge:static_object:runs/run/artifacts/renders/r01/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},"judge:static_object:runs/run/artifacts/renders/r01/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},- "judge:static_object:runs/run/artifacts/renders/r02/input": {"bytes": 10657, "sha256": "c43068c990f633b1a5cfe0136b3c6255f37d49b4724aadc45bcafe17f5280b36"},+ "judge:static_object:runs/run/artifacts/renders/r02/input": {"bytes": 10621, "sha256": "e57d2ac394f3082fa63ea35d170c62282602b2c2aaa8f8d14152bd81aff8e152"},"judge:static_object:runs/run/artifacts/renders/r02/messages": {"bytes": 7233, "sha256": "d6a82300f22e09f4cc9f7d5a09ec89e5c6e9b300eab6b8899fc61648ac406c21"},"judge:static_object:runs/run/artifacts/renders/r02/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},"judge:static_object:runs/run/artifacts/renders/r02/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},@@ -799,7 +749,7 @@"skills:runs/run:refine@r02/routed": {"bytes": 134, "sha256": "f11f63910f028add64068034f65c2875924ea57ea94bc407859b8b1e1050c6b6"}},"stage_keys": {- "runs/run:plan": "dda15c4ec2ee",+ "runs/run:plan": "48754c33c182","runs/run:skeleton": "1a2d68e2a2e3"}},@@ -821,15 +771,15 @@"job:refine@r02/prompt": {"bytes": 7174, "sha256": "3474b8ace6d7212c7430b362f161485f9243cdc6ef3118dc5d342c8720b85de5"},"job:refine@r02/scope": {"bytes": 428, "sha256": "57e2f2633c63ce908a2842199385fe002439dcc7d6f68ffac0261d5be22cb8e1"},"job:refine@r02/system": {"bytes": 3208, "sha256": "e24e99f321231e5587cae7f4fbbbcc50fbd254768f4f4c860c4dfa8f83804810"},- "judge:static_object:runs/run/artifacts/renders/r00/input": {"bytes": 9242, "sha256": "24388c1c7e23be39af16276200ef38c874d6bd7a6f5efc2e8af4a639ac9ccaa9"},+ "judge:static_object:runs/run/artifacts/renders/r00/input": {"bytes": 9206, "sha256": "a72b5ef0f31946bc16c7716279bf394dc84a2f7dae3946db6162ced3cec8e4af"},"judge:static_object:runs/run/artifacts/renders/r00/messages": {"bytes": 6756, "sha256": "447c252713a4d26c70c0b368c30217605f33543c3a329b6c32bee7099bdb1860"},"judge:static_object:runs/run/artifacts/renders/r00/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},"judge:static_object:runs/run/artifacts/renders/r00/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},- "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 10455, "sha256": "3b59af59898d972cffb2178b608d9ffba14af4b76f5eb7b96993e3536cb8b29e"},+ "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 10419, "sha256": "4fb50aa78a4c6e3b7bdcf3f7a41d2f31901b9992bf6c0fb71404801adc42ff00"},"judge:static_object:runs/run/artifacts/renders/r01/messages": {"bytes": 7181, "sha256": "0ee41f64bf25c8490c05f3478f11afde83f2d8fc7f4753553d7497f1ef83543a"},"judge:static_object:runs/run/artifacts/renders/r01/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},"judge:static_object:runs/run/artifacts/renders/r01/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},- "judge:static_object:runs/run/artifacts/renders/r02/input": {"bytes": 10451, "sha256": "e47aeb8f1cb8ad461a97940370c9fdd54d95a077c9a84df047a51167c66a5f64"},+ "judge:static_object:runs/run/artifacts/renders/r02/input": {"bytes": 10415, "sha256": "2c8d8c68c16cc87c8d912925d8544219bfcc04510e57db292dccf097790bb441"},"judge:static_object:runs/run/artifacts/renders/r02/messages": {"bytes": 7181, "sha256": "61b52dd59cc941e842e0e789faf595cd9ed24187eba10e7cc399e1ca792eb099"},"judge:static_object:runs/run/artifacts/renders/r02/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},"judge:static_object:runs/run/artifacts/renders/r02/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},@@ -838,7 +788,7 @@"skills:runs/run:refine@r02/routed": {"bytes": 133, "sha256": "518f7b7ba0343e508a61d4b00f2c7628ee771ef0cd1766d631194f988152e858"}},"stage_keys": {- "runs/run:plan": "b17889f442b9",+ "runs/run:plan": "f7520fc0e5fe","runs/run:skeleton": "58657cfb09d9"}},@@ -857,11 +807,11 @@"job:refine@r01/prompt": {"bytes": 8861, "sha256": "40ce1992b720f3a98f57dedeab35b70590f3f9a49ef111a544a300896fa39a35"},"job:refine@r01/scope": {"bytes": 644, "sha256": "f5e0c8fc1e3c0527734f358ad11929cedc505d872e61bbbfa4926d2cf5f4a1d0"},"job:refine@r01/system": {"bytes": 3208, "sha256": "e24e99f321231e5587cae7f4fbbbcc50fbd254768f4f4c860c4dfa8f83804810"},- "judge:static_object:runs/run/artifacts/renders/r00/input": {"bytes": 11147, "sha256": "cea087f4cc7335c78c7dbe31cd08285d097c7627cb53151853c3d882639b6f8b"},+ "judge:static_object:runs/run/artifacts/renders/r00/input": {"bytes": 11111, "sha256": "5fa06ab802492992a8fe0d29baca5e86f9f5adf0281c1c2365275a789a201022"},"judge:static_object:runs/run/artifacts/renders/r00/messages": {"bytes": 7002, "sha256": "90d9f0c3e869c20608b23834b3a93df8242b1dd3324fdfda3b91de9542337eb0"},"judge:static_object:runs/run/artifacts/renders/r00/sampling": {"bytes": 11137, "sha256": "3b6a70558e21e796673b65818721913f7720c6ee7e31dd35225cb4ca1bdcf20e"},"judge:static_object:runs/run/artifacts/renders/r00/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},- "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 12332, "sha256": "6879d4d19d95bb191dba70f85960b7fc5a2b385d850cdbc7b5f57a0f86a2e6e3"},+ "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 12296, "sha256": "fa0aef2a27cefe40966cc3dd55a537f17291e42fdbc8a6315c0d01f1864da0d1"},"judge:static_object:runs/run/artifacts/renders/r01/messages": {"bytes": 7429, "sha256": "70fca81684fcce477eadc3e0d5c329b3dcc31dcc527958abf29e484a0d555a7c"},"judge:static_object:runs/run/artifacts/renders/r01/sampling": {"bytes": 11137, "sha256": "3b6a70558e21e796673b65818721913f7720c6ee7e31dd35225cb4ca1bdcf20e"},"judge:static_object:runs/run/artifacts/renders/r01/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},@@ -869,7 +819,7 @@"skills:runs/run:refine@r01/routed": {"bytes": 104, "sha256": "754997d8db8e89f9b7b0379fceda29998c2e42d362fcaec169d7bd48fc097d3b"}},"stage_keys": {- "runs/run:plan": "b17889f442b9",+ "runs/run:plan": "f7520fc0e5fe","runs/run:skeleton": "fb24414f9aea"}},@@ -888,11 +838,11 @@"job:refine@r01/prompt": {"bytes": 7012, "sha256": "9db3905eac671203349cd349d93748e1abadf89a9f584948cf3e64f0527abbcd"},"job:refine@r01/scope": {"bytes": 428, "sha256": "186e31cec33c5144bbc9713eb76374ef7608534682433c9a9288191efc417ec4"},"job:refine@r01/system": {"bytes": 3208, "sha256": "e24e99f321231e5587cae7f4fbbbcc50fbd254768f4f4c860c4dfa8f83804810"},- "judge:static_object:runs/run/artifacts/renders/r00/input": {"bytes": 9043, "sha256": "e6f38103435ee5364a2bf61e2caedd75d4f4a7cf77c7d03d38d202bd8f73c1fa"},+ "judge:static_object:runs/run/artifacts/renders/r00/input": {"bytes": 9007, "sha256": "7550501a367d5b7f524eba7738ac8173fe0592390c361278af12cee0ab7ff006"},"judge:static_object:runs/run/artifacts/renders/r00/messages": {"bytes": 6699, "sha256": "6e3964ce3478de892b3c5dde9eb3154e9a54c2a669315a8e6f4b808c15dd930c"},"judge:static_object:runs/run/artifacts/renders/r00/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},"judge:static_object:runs/run/artifacts/renders/r00/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},- "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 10256, "sha256": "211aff02135e7034dd64d7c3c0a812acfad49abb4b87b6a441ddbb355d9e9117"},+ "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 10220, "sha256": "446234e5e7f533333bec41b9fdd0988bbf60624a00c84f6f49cccb34d5dc2523"},"judge:static_object:runs/run/artifacts/renders/r01/messages": {"bytes": 7124, "sha256": "0e3a5d3ed25799eec213d2d7fd92ae5009e4d88d5a818eeaf0aef3de8d47b932"},"judge:static_object:runs/run/artifacts/renders/r01/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},"judge:static_object:runs/run/artifacts/renders/r01/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},@@ -900,7 +850,7 @@"skills:runs/run:refine@r01/routed": {"bytes": 133, "sha256": "537d8d98029fd6345c9d4a73eaf3615c7924c18a405b3ab633283694e23b1804"}},"stage_keys": {- "runs/run:plan": "b17889f442b9",+ "runs/run:plan": "f7520fc0e5fe","runs/run:skeleton": "58657cfb09d9"}},@@ -921,11 +871,11 @@"chat:planner:planner/messages": {"bytes": 1354, "sha256": "5b1a589e27562a3668649aed4be4857a34804a2acdc140eb8fb3630d970f71a6"},"chat:planner:planner/sampling": {"bytes": 6272, "sha256": "04dbfbbd42d8b93a12571a1908beacc7eb471e6f2c0fc077371aa86e2a99fb40"},"chat:planner:planner/system": {"bytes": 18287, "sha256": "0e78778a5c81b420699c7148ee039722877c818cea9844f793d543fccc8ef97b"},- "judge:static_object:runs/run/artifacts/renders/r00/input": {"bytes": 9060, "sha256": "9db5de7f375d60e4e56f9677affd8c4fbe4261f62d0111d1c021f08dcd5690bf"},+ "judge:static_object:runs/run/artifacts/renders/r00/input": {"bytes": 9024, "sha256": "f7d2d55a7bde77c1bf15d22c2ac0e1f92cfacc0e3833ca49268876764318d82f"},"judge:static_object:runs/run/artifacts/renders/r00/messages": {"bytes": 6699, "sha256": "6e3964ce3478de892b3c5dde9eb3154e9a54c2a669315a8e6f4b808c15dd930c"},"judge:static_object:runs/run/artifacts/renders/r00/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},"judge:static_object:runs/run/artifacts/renders/r00/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},- "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 10273, "sha256": "97bda1184c1cd78145113857ec2e8917f6f51bd969f028f9dac064b1ee9dd0bb"},+ "judge:static_object:runs/run/artifacts/renders/r01/input": {"bytes": 10237, "sha256": "38c776d6419f1c9af7d2d51958d0900c85ae34548a3e17a2f9b410d8872539cd"},"judge:static_object:runs/run/artifacts/renders/r01/messages": {"bytes": 7124, "sha256": "0e3a5d3ed25799eec213d2d7fd92ae5009e4d88d5a818eeaf0aef3de8d47b932"},"judge:static_object:runs/run/artifacts/renders/r01/sampling": {"bytes": 11371, "sha256": "275368055f7250512e426b330f9720fcfbdad1d1ea1a739102ab9f3521a3fb25"},"judge:static_object:runs/run/artifacts/renders/r01/system": {"bytes": 15178, "sha256": "1becebca9df2996a380a8bedede59de191c58f5021c6f687a3dfd5abc673c4bc"},@@ -933,7 +883,7 @@"skills:runs/run:refine@r01/routed": {"bytes": 148, "sha256": "67ba73ea33f42a757e533e24b318438e321943eeb47470a930fbcfda97e72e93"}},"stage_keys": {- "runs/run:plan": "b17889f442b9",+ "runs/run:plan": "f7520fc0e5fe","runs/run:skeleton": "58657cfb09d9"}}diff --git a/harness/tests/prompts/manifest.py b/harness/tests/prompts/manifest.pyindex c325e873..fe53d2db 100644--- a/harness/tests/prompts/manifest.py+++ b/harness/tests/prompts/manifest.py@@ -162,18 +162,15 @@ def _bpy_asset_check(ctx: Any, rel: str, snake: str, *, expected_size_m: tuple[fclass StableJudge(FakeJudge):- """A verdict scored by what it judges (round, candidate), never by call order: the candidates,- the assets and the scene stages judge from threads."""+ """A verdict scored by what it judges (the round), never by call order: the assets and the scene+ stages judge from threads."""def __init__(self, rubric: str, scores: tuple[float, ...], targets: tuple[str, ...]):super().__init__(scores=scores, targets=targets)self.rubric = rubricdef score_for(self, inp: Any) -> float:- s = self.scores[min(inp.round_index, len(self.scores) - 1)]- parts = Path(inp.renders.views[0].path).parts if inp.renders.views else ()- cand = parts[parts.index("_cand") + 1] if "_cand" in parts else ""- return round(s + 0.05 * int(cand[1:]), 3) if cand else s+ return self.scores[min(inp.round_index, len(self.scores) - 1)]class ManifestServices(FakeServices):@@ -250,14 +247,14 @@ class Rig:self.settings = Settings(runs_dir=self.root / "runs", cache_dir=self.root / "cache")self.ws = Workspace(self.root / "runs" / "run")- def run(self, *, rounds: int, resume: bool = False, single_shot: bool = False, candidates: int | None = None) -> None:+ def run(self, *, rounds: int, resume: bool = False, single_shot: bool = False) -> None:prompt, constraints = REQUESTS[self.track]spec = Spec(id="manifest", track=self.track, language=self.language, prompt=prompt, constraints=constraints,budget=Budget(max_rounds=rounds, max_minutes=60, max_repair_attempts=2),backends=Backends(planner="fake:planner", generator=SINGLE_SHOT if single_shot else AGENT, judge="fake:judge"))track = get_track(self.track, services=self.services, agent=None if single_shot else self.agent,model=self.model if single_shot else None, planner_model=self.planner, settings=self.settings,- runtime=self.runtime, n_candidates=candidates)+ runtime=self.runtime)track.run(spec, self.ws, resume=resume)# ------------------------------------------------------------------ what the fakes answer@@ -389,7 +386,7 @@ SCENARIOS: dict[str, tuple[Track, Language, dict[str, Any], Callable[[Rig], None"static_object.threejs.agent.resume": (S, Language.THREEJS, {}, _two_runs(0, 1)),"static_object.threejs.agent.many_parts": (S, Language.THREEJS, {"plan": machine(), "targets": ("Body", "Fitting0", "Fitting5")},lambda r: r.run(rounds=1)),- "static_object.blender.agent.best_of_2": (S, Language.BLENDER, {}, lambda r: r.run(rounds=1, candidates=2)),+ "static_object.blender.agent.fresh": (S, Language.BLENDER, {}, lambda r: r.run(rounds=1)),"static_object.cadquery.agent.rebuild": (S, Language.CADQUERY, {"fail": REBUILD, "services_kw": {"contract_errors": 2}},lambda r: r.run(rounds=2)),"static_object.threejs.single_shot.repair": (S, Language.THREEJS, {"fail": frozenset({"baseline"})},@@ -416,7 +413,6 @@ SCENARIOS: dict[str, tuple[Track, Language, dict[str, Any], Callable[[Rig], None"scene.scene_blender.single_shot.fresh": (SC, Language.SCENE_BLENDER, {"plan": small_scene(Language.SCENE_BLENDER), "broken_assets": frozenset({"Bollard"})},lambda r: r.run(rounds=1, single_shot=True)),"graphics.glsl_shader.agent.fresh": (G, Language.GLSL_SHADER, {}, _two_runs(1, 2)),- "graphics.glsl_shader.agent.best_of_2": (G, Language.GLSL_SHADER, {}, lambda r: r.run(rounds=0, candidates=2)),"graphics.glsl_shader.agent.rebuild": (G, Language.GLSL_SHADER, {"fail": REBUILD}, lambda r: r.run(rounds=1)),"graphics.glsl_shader.single_shot.fresh": (G, Language.GLSL_SHADER, {}, lambda r: r.run(rounds=1, single_shot=True)),"graphics.opengl_python.agent.fresh": (G, Language.OPENGL_PYTHON, {}, lambda r: r.run(rounds=1)),