Skip to content

Official Codebase of 3DCodeVerse

Python

docs: stale names after the clean-up — hedged in raw, the prepare hook, cookbook_rel_for, the canonical-GLB fallbacks, duplicate_run; RunContext.cookbook_rel goes

gaoypeng49899778d6f8
diff --git a/eval/bench/complexity_report.py b/eval/bench/complexity_report.py
index 505f68be..79ea4f9f 100644
--- a/eval/bench/complexity_report.py
+++ b/eval/bench/complexity_report.py
@@ -14,8 +14,9 @@ A "root" is a battery directory (``<battery>/runs/<slug>``), a runs directory,
or a single run directory — all three are detected. A run is the round
``codeverse3d.addons.select`` picks (a record it cannot read: the last round). The
complexity vector is read from that round's recorded measurement when present and
-recomputed from its GLB (``artifacts/rNN/object.glb``, else ``artifacts/object.glb``)
-otherwise, so the whole historic corpus is usable. Rows without a judgment or without
+recomputed from its own GLB (``select.round_file``: ``artifacts/rNN/object.glb``, or an old
+run's ``artifacts/object.glb`` for the round it rebuilt there) otherwise, so the whole historic
+corpus is usable. Rows without a judgment or without
geometry are skipped and counted. There is no pass rate: a run is not passed or failed.
"""
diff --git a/eval/bench/h2h_glb.py b/eval/bench/h2h_glb.py
index aef7c2c6..4e9e5451 100644
--- a/eval/bench/h2h_glb.py
+++ b/eval/bench/h2h_glb.py
@@ -7,9 +7,10 @@ Protocol (one fixed judge, one renderer, one gate set, for BOTH sides):
each prompt's last tag is the gallery slug.
2. THEIR GLB is ``<gallery>/<slug>/object.glb`` (built by their harness, never
rebuilt here). OUR GLB is the round ``codeverse3d.addons.select`` picks from the
- harness run under ``<bench_out>/<lang>/runs/<id>/`` (``deliverable/object.glb``, else
- that round's own ``artifacts/rNN/object.glb``, else — a run recorded before rounds kept
- their own — ``artifacts/object.glb``).
+ harness run under ``<bench_out>/<lang>/runs/<id>/``: that round's own GLB
+ (``select.round_file`` — ``artifacts/rNN/object.glb``, or ``artifacts/object.glb`` of a run
+ recorded before rounds kept their own, only for the round it rebuilt there); a picked round
+ with none is an error, never the last build's GLB in its place.
3. Both GLBs go through the same pipeline as ``bench/_fixed_eval.FixedEvaluator``:
``measure_glb`` → ``check_connectivity`` → ``render_glb`` (OBJECT_VIEWS, settings
size, contact sheet) → ``VlmJudge(static_object_v1, gemini-3.1-pro-preview,
diff --git a/eval/bench/skill_targets.py b/eval/bench/skill_targets.py
index e9c574dd..fb02ee4e 100644
--- a/eval/bench/skill_targets.py
+++ b/eval/bench/skill_targets.py
@@ -85,9 +85,8 @@ class Run:
from codeverse3d.contracts.run import RoundRecord
from codeverse3d.workspace import Workspace
- # round_file locates a round by its index alone; the raw row is not re-validated
- rnd = RoundRecord.model_construct(index=int(rd.get("index", 0)), kind=str(rd.get("kind") or ""))
- return select.round_file(Workspace(self.dir), rnd)
+ # round_file locates a round by its index alone: the raw row is not re-validated
+ return select.round_file(Workspace(self.dir), RoundRecord(index=int(rd.get("index") or 0), kind=""))
def render_dir(self, rd: dict) -> Path | None:
"""The round's render directory, resolved inside THIS tree.
diff --git a/eval/docs/PAPER_WRITING.md b/eval/docs/PAPER_WRITING.md
index 5da7ef06..9c784c64 100644
--- a/eval/docs/PAPER_WRITING.md
+++ b/eval/docs/PAPER_WRITING.md
@@ -417,7 +417,8 @@ per-group prompt text rendered from it), the unified `src/` diff between the two
recorded commits, and the score delta with an improved/unchanged/regressed label. On the
recorded corpus, re-exported through the shipped CLI on 2026-09-03 (`bench/out`, 21
batteries): **254 rows from 87 runs across 13 batteries**, the only drops being 54
-cross-battery symlink aliases (`duplicate_run`), median diff 26.2 kB over 2 changed files,
+cross-battery symlink aliases (dropped then as `duplicate_run`, a reason the exporter no longer
+has — history, not a current code path), median diff 26.2 kB over 2 changed files,
**112 improved / 81 unchanged / 59 regressed / 2 unscored**, median gain on an improved
round +0.197, 119 rows carrying gate ERRORs. Both sides come from the round's own recorded
commit, not from `HEAD`. (The same export read 205 rows on 2026-09-02; the corpus grows
diff --git a/harness/codeverse3d/agents/materialize.py b/harness/codeverse3d/agents/materialize.py
index 2e427bd7..2fb7fa78 100644
--- a/harness/codeverse3d/agents/materialize.py
+++ b/harness/codeverse3d/agents/materialize.py
@@ -205,8 +205,9 @@ def materialize_workspace(
cookbook path, the argv, a warnings list) was discarded by every production caller —
``tracks/common.Services.materialize`` is typed ``-> None`` — so its one real signal,
a cookbook that did not resolve, was written and read by nobody. That is the exact
- failure ``tracks/common.cookbook_rel_for`` was fixed for on 2026-08-29 (an articulated
- run told the agent "No cookbook is available" while its 24 kB cookbook sat on disk);
+ failure the cookbook path lookup (``cookbook_rel_for``, gone since 2026-09-22) was fixed
+ for on 2026-08-29 (an articulated run told the agent "No cookbook is available" while its
+ 24 kB cookbook sat on disk);
it is a log line now, where someone reading the run can see it (2026-08-30).
``cookbook_text`` is what the catalog loaded (``RunContext.cookbook_text``): until
diff --git a/harness/codeverse3d/contracts/run.py b/harness/codeverse3d/contracts/run.py
index 86cafbf0..bd73ac39 100644
--- a/harness/codeverse3d/contracts/run.py
+++ b/harness/codeverse3d/contracts/run.py
@@ -363,9 +363,9 @@ class RunRecord(BaseModel):
finished_at: datetime | None = None
error: str = ""
telemetry: RunTelemetry | None = Field(
- default=None, description="settings snapshot + cost ledger + environment (written by finalize_record)")
+ default=None, description="settings snapshot + cost summary (written by finalize_record)")
steps: list[StepTime] | None = Field(
- default=None, description="the run-level timed steps (plan, the prepare stages, best-of-N, the part of "
+ default=None, description="the run-level timed steps (plan, the pre-round stages, best-of-N, the part of "
"an aborted round that ran); None = recorded before 2026-09-22")
extra: dict[str, Any] = Field(default_factory=dict)
best_round: int | None = Field(
diff --git a/harness/codeverse3d/proc.py b/harness/codeverse3d/proc.py
index b205948b..6e6ca62d 100644
--- a/harness/codeverse3d/proc.py
+++ b/harness/codeverse3d/proc.py
@@ -458,9 +458,8 @@ def read_json_or_none(path: Path | str, *, errors: str | None = None) -> dict[st
``languages/threejs/__init__.py``'s plan loader, ``cost/reconstruct._read_json``,
``spatial/_render_common.read_json`` and ``cli/_judge.plan_summary_for`` — all
the same algorithm, differing only in whether they also checked ``isinstance(dict)``
- (which every caller then relied on anyway). Strict readers that must raise on
- a corrupt input (``Workspace.read_json``, ``judges/calibration._read_json``)
- deliberately do NOT use this.
+ (which every caller then relied on anyway). A strict reader that must raise on
+ a corrupt input (``Workspace.read_json``) deliberately does NOT use this.
``errors`` is ``read_text``'s decode policy (``"replace"`` for files another
process may still be writing). Reads UTF-8, the encoding :func:`write_json_atomic`
diff --git a/harness/codeverse3d/prompts/tracks/generate_articulated.j2 b/harness/codeverse3d/prompts/tracks/generate_articulated.j2
index fe6b75f3..59bff0fe 100644
--- a/harness/codeverse3d/prompts/tracks/generate_articulated.j2
+++ b/harness/codeverse3d/prompts/tracks/generate_articulated.j2
@@ -16,8 +16,7 @@ Constraints:
## The contract (hard rules)
{{ frame_doc }}
{{ contract }}
-{% if cookbook_rel %}Copyable snippets live in `.3dcode/cookbook.md`.{% endif %}
-{% if cookbook_excerpt %}
+Copyable snippets live in `.3dcode/cookbook.md`.{% if cookbook_excerpt %}
Cookbook excerpt:
{{ cookbook_excerpt }}
{% endif %}
diff --git a/harness/codeverse3d/prompts/tracks/generate_graphics.j2 b/harness/codeverse3d/prompts/tracks/generate_graphics.j2
index 360cc47c..839dd804 100644
--- a/harness/codeverse3d/prompts/tracks/generate_graphics.j2
+++ b/harness/codeverse3d/prompts/tracks/generate_graphics.j2
@@ -17,8 +17,7 @@ Constraints:
{{ contract }}
Files you must produce: {% for f in expected_files %}`{{ f }}`{% if not loop.last %}, {% endif %}{% endfor %}.
-{% if cookbook_rel %}Copyable snippets live in `.3dcode/cookbook.md` (read it before writing if you can).{% endif %}
-{% if cookbook_excerpt %}
+Copyable snippets live in `.3dcode/cookbook.md` (read it before writing if you can).{% if cookbook_excerpt %}
Cookbook excerpt:
{{ cookbook_excerpt }}
{% endif %}
diff --git a/harness/codeverse3d/prompts/tracks/generate_static.j2 b/harness/codeverse3d/prompts/tracks/generate_static.j2
index 1b41210b..df57835c 100644
--- a/harness/codeverse3d/prompts/tracks/generate_static.j2
+++ b/harness/codeverse3d/prompts/tracks/generate_static.j2
@@ -17,8 +17,7 @@ Constraints:
{{ contract }}
Files you must produce: {% for f in expected_files %}`{{ f }}`{% if not loop.last %}, {% endif %}{% endfor %}.
-{% if cookbook_rel %}Copyable snippets live in `.3dcode/cookbook.md` (read it before writing if you can).{% endif %}
-{% if cookbook_excerpt %}
+Copyable snippets live in `.3dcode/cookbook.md` (read it before writing if you can).{% if cookbook_excerpt %}
Cookbook excerpt:
{{ cookbook_excerpt }}
{% endif %}
diff --git a/harness/codeverse3d/prompts/tracks/generate_static_part.j2 b/harness/codeverse3d/prompts/tracks/generate_static_part.j2
index 75e7e173..73d81319 100644
--- a/harness/codeverse3d/prompts/tracks/generate_static_part.j2
+++ b/harness/codeverse3d/prompts/tracks/generate_static_part.j2
@@ -19,8 +19,7 @@ Style: {{ style_notes }}
{% for f in files %}- `{{ f }}`
{% endfor %}
The entry file and every other part file belong to other sessions. Touching them loses their work.
-{% if cookbook_rel %}Copyable snippets live in `.3dcode/cookbook.md` — read the density chapter before you write.{% endif %}
-
+Copyable snippets live in `.3dcode/cookbook.md` — read the density chapter before you write.
## YOUR parts (build every row; object names must match EXACTLY — they become GLB node names)
{{ parts_table }}
diff --git a/harness/codeverse3d/tracks/common.py b/harness/codeverse3d/tracks/common.py
index 8fd41075..1abf5759 100644
--- a/harness/codeverse3d/tracks/common.py
+++ b/harness/codeverse3d/tracks/common.py
@@ -159,7 +159,6 @@ class RunContext:
model: Any | None = None # ChatModel (single-shot path)
contract_text: str = ""
cookbook_text: str = ""
- cookbook_rel: str = ""
tool_cards: str = ""
prompt_hashes: dict[str, str] = field(default_factory=dict)
extra: dict[str, Any] = field(default_factory=dict)
diff --git a/harness/codeverse3d/tracks/lifecycle.py b/harness/codeverse3d/tracks/lifecycle.py
index 30331c58..2bf62e54 100644
--- a/harness/codeverse3d/tracks/lifecycle.py
+++ b/harness/codeverse3d/tracks/lifecycle.py
@@ -44,7 +44,7 @@ from codeverse3d.orchestrator import (
)
from codeverse3d.proc import EventLog, fan_out
from codeverse3d.prompts import load_text, render
-from codeverse3d.prompts.catalog import language_prompt, language_text
+from codeverse3d.prompts.catalog import language_text
from codeverse3d.tracks.candidates import run_best_of_n
from codeverse3d.tracks.common import RunContext, Services
from codeverse3d.tracks.generation import ALLOWED_ROOTS, GenerationTask, single_shot_model_id
@@ -454,7 +454,6 @@ class BaseTrack:
# money too, and the ledger is the only record of it
agent=metered_agent(self._agent), model=metered_chat_model(self._model))
ctx.contract_text = language_text(spec.language, "contract.md")
- ctx.cookbook_rel = language_prompt(spec.language, "cookbook.md")
ctx.cookbook_text = language_text(spec.language, "cookbook.md")
ctx.tool_cards = self.services.tool_cards(self.track.value, spec.language.value)
for name, text in (("contract", ctx.contract_text), ("cookbook", ctx.cookbook_text)):
diff --git a/harness/codeverse3d/tracks/prompting.py b/harness/codeverse3d/tracks/prompting.py
index f3b8f697..425e5e51 100644
--- a/harness/codeverse3d/tracks/prompting.py
+++ b/harness/codeverse3d/tracks/prompting.py
@@ -270,7 +270,6 @@ def base_prompt_context(ctx: RunContext, **extra: Any) -> dict[str, Any]:
"language": ctx.language.value,
"frame_doc": frame_doc(LANGUAGE_FRAME[ctx.language.value]),
"contract": ctx.contract_text,
- "cookbook_rel": ctx.cookbook_rel,
# the whole cookbook. It used to be ctx.cookbook_text[:6000] — a blind byte
# prefix that delivered 13 % of blender's and 10 % of scene_threejs's, cutting
# mid-snippet, and the read_cookbook tool that was supposed to fetch the rest
diff --git a/harness/codeverse3d/tracks/scene_assets.py b/harness/codeverse3d/tracks/scene_assets.py
index 2a198c40..0ec0b193 100644
--- a/harness/codeverse3d/tracks/scene_assets.py
+++ b/harness/codeverse3d/tracks/scene_assets.py
@@ -39,7 +39,7 @@ from codeverse3d.languages.scene_threejs import asset_file
from codeverse3d.orchestrator import BudgetExceeded
from codeverse3d.proc import fan_out, read_json_or_none, write_json_atomic
from codeverse3d.prompts import render
-from codeverse3d.prompts.catalog import language_prompt, language_text
+from codeverse3d.prompts.catalog import language_text
from codeverse3d.tracks.common import (
RunContext,
generate_for,
@@ -394,7 +394,6 @@ def build_blender_asset(ctx: RunContext, asset: AssetPlan, *, judge: bool) -> As
sub_ws.write_json(sub_ws.spec_path, sub_spec)
sub = replace(ctx, spec=sub_spec, ws=sub_ws, runtime=runtime, plan=None, track=Track.STATIC_OBJECT,
contract_text=language_text(Language.BLENDER, "contract.md"),
- cookbook_rel=language_prompt(Language.BLENDER, "cookbook.md"),
cookbook_text=language_text(Language.BLENDER, "cookbook.md"),
tool_cards=ctx.services.tool_cards(Track.STATIC_OBJECT.value, Language.BLENDER.value),
extra={"scene_brief": ctx.spec.prompt, "scene_style": constraints_text(ctx.spec)})
diff --git a/harness/docs/SKILLS.md b/harness/docs/SKILLS.md
index 563565cb..762359ec 100644
--- a/harness/docs/SKILLS.md
+++ b/harness/docs/SKILLS.md
@@ -642,8 +642,8 @@ so; the rest are live.
### Closed this wave
-* ~~**The scene track never delivered its skills.**~~ **FIXED.** `SceneTrack.prepare()`
- generated the whole baseline (`_env_stage`, `_zones_stage`, `_assemble_stage`) without ever
+* ~~**The scene track never delivered its skills.**~~ **FIXED.** `SceneTrack.prepare()` (the
+ pre-round hook then; the track's declared `stages` since 2026-09-22) generated the whole baseline (`_env_stage`, `_zones_stage`, `_assemble_stage`) without ever
reaching `skills_hook.attach_for_round`, which lived only in `steps.run_round`; and
`baseline_tasks` returned `[]`, so round 0 listed four bundles to a session that did not
exist. Measured at **0 opens / 30 listings**. The generating stages now attach and record with
diff --git a/harness/docs/SKILLS_LEDGER.md b/harness/docs/SKILLS_LEDGER.md
index 97865a7c..b46dfab4 100644
--- a/harness/docs/SKILLS_LEDGER.md
+++ b/harness/docs/SKILLS_LEDGER.md
@@ -258,8 +258,9 @@ The read loop saw `c3d-scene-composition` / `-lighting` / `-motion` / `-threejs-
at **0 opens across 30 listings** and revised their descriptions. That was the wrong fix, and
two effect owners independently found the right one in the code:
-* `SceneTrack.prepare()` generates the **entire** scene baseline — `_env_stage`,
- `_zones_stage`, `_assemble_stage` each call `tracks.generation.generate` directly.
+* `SceneTrack.prepare()` (the pre-round hook then; the declared `stages` since 2026-09-22)
+ generated the **entire** scene baseline — `_env_stage`, `_zones_stage`, `_assemble_stage`
+ each called `tracks.generation.generate` directly.
* `skills_hook.attach_for_round` was reached from **exactly one place**, `steps.run_round`.
* `SceneTrack.baseline_tasks` returns `[]`, so round 0 listed the bundles to a round with no
generation task to consume them — which is precisely "listed 3, opened 0".
diff --git a/harness/tests/agents/test_materialize.py b/harness/tests/agents/test_materialize.py
index 571c5f2a..69619d7a 100644
--- a/harness/tests/agents/test_materialize.py
+++ b/harness/tests/agents/test_materialize.py
@@ -115,8 +115,8 @@ def test_cookbook_copied_when_found(tmp_ws: Workspace, caplog):
def test_missing_cookbook_warns_where_someone_can_see_it(tmp_ws: Workspace, caplog):
- """The unresolved cookbook is the failure `tracks/common.cookbook_rel_for` was fixed for
- (an articulated run told the agent "No cookbook is available" while its 24 kB cookbook sat
+ """The unresolved cookbook is the failure the cookbook path lookup (`cookbook_rel_for`, gone)
+ was fixed for (an articulated run told the agent "No cookbook is available" while its 24 kB cookbook sat
on disk). It used to land in a `Materialized.warnings` list every caller threw away; the
log line is the whole signal now, so it has to fire."""
with caplog.at_level(logging.WARNING, logger="codeverse3d.agents.materialize"):
diff --git a/harness/tests/orchestrator_tracks/test_asset_alias_note.py b/harness/tests/orchestrator_tracks/test_asset_alias_note.py
index ade10b8c..1fde9d84 100644
--- a/harness/tests/orchestrator_tracks/test_asset_alias_note.py
+++ b/harness/tests/orchestrator_tracks/test_asset_alias_note.py
@@ -1,10 +1,10 @@
"""The merge map the asset stage USED is what the zones are told (2026-09-07).
`run_asset_stage` folds near-identical props under a cap that depends on the soft budget at
-the time (`MAX_ASSETS` or `DEGRADED_MAX_ASSETS`); `prepare` used to recompute the map from
-the plan with `MAX_ASSETS` alone, so a degraded run told the zones merged assets were
-"NOT AVAILABLE" while working shims existed. The stage writes the note it used, and
-`prepare` reads it back.
+the time (`MAX_ASSETS` or `DEGRADED_MAX_ASSETS`); the scene's pre-round hook (then `prepare`)
+used to recompute the map from the plan with `MAX_ASSETS` alone, so a degraded run told the
+zones merged assets were "NOT AVAILABLE" while working shims existed. The stage writes the
+note it used, and the `asset_api` stage reads it back.
"""
from __future__ import annotations
diff --git a/harness/tests/orchestrator_tracks/test_cookbook_excerpt.py b/harness/tests/orchestrator_tracks/test_cookbook_excerpt.py
index 57c6ea1a..1cadcde5 100644
--- a/harness/tests/orchestrator_tracks/test_cookbook_excerpt.py
+++ b/harness/tests/orchestrator_tracks/test_cookbook_excerpt.py
@@ -46,7 +46,7 @@ def test_every_track_sends_the_whole_cookbook(monkeypatch) -> None:
ctx = SimpleNamespace(plan=None, spec=SimpleNamespace(prompt="an aurora", constraints=None, must=[], must_not=[],
dims={}, reference_images=[], reference_notes=""),
track=Track.GRAPHICS, language=Language.GLSL_SHADER,
- contract_text="CONTRACT", cookbook_rel="glsl_shader/cookbook.md",
+ contract_text="CONTRACT",
cookbook_text=big, tool_cards="", single_shot=True, extra={},
runtime=get_runtime(Language.GLSL_SHADER))
monkeypatch.setattr("codeverse3d.tracks.prompting.constraints_text", lambda spec: "")
diff --git a/harness/tests/orchestrator_tracks/test_cost_latency.py b/harness/tests/orchestrator_tracks/test_cost_latency.py
index 548f15ef..d957985c 100644
--- a/harness/tests/orchestrator_tracks/test_cost_latency.py
+++ b/harness/tests/orchestrator_tracks/test_cost_latency.py
@@ -154,7 +154,7 @@ def _scene_ctx(tmp_path, settings, *, services, agent=None, plan=None, agent_id=
ctx = RunContext(spec=spec, ws=ws, events=EventLog(ws.events_path), settings=settings,
budget=BudgetGuard(spec.budget, soft_fraction=0.55), runtime=rt, services=services,
state=RunState(), policy=RoundPolicy(), track=Track.SCENE, rubric="scene_v1",
- agent_id=agent_id, plan=plan, agent=agent, contract_text="CONTRACT", cookbook_rel="x/cookbook.md")
+ agent_id=agent_id, plan=plan, agent=agent, contract_text="CONTRACT")
rt.skeleton(ws, plan)
ws.commit("skeleton")
return ctx
diff --git a/harness/tests/orchestrator_tracks/test_graphics_recipes.py b/harness/tests/orchestrator_tracks/test_graphics_recipes.py
index 77f154a8..bcc7452b 100644
--- a/harness/tests/orchestrator_tracks/test_graphics_recipes.py
+++ b/harness/tests/orchestrator_tracks/test_graphics_recipes.py
@@ -64,7 +64,7 @@ def _ws(tmp_path: Path, *, skeleton: bool = True) -> Workspace:
def _ctx(ws: Workspace, brief: str = AURORA, *, plan: GraphicsPlan | None = None, language: Language = Language.GLSL_SHADER):
- return SimpleNamespace(cookbook_text=load_text("glsl_shader/cookbook.md"), cookbook_rel="glsl_shader/cookbook.md", plan=plan,
+ return SimpleNamespace(cookbook_text=load_text("glsl_shader/cookbook.md"), plan=plan,
spec=SimpleNamespace(prompt=brief, constraints=SimpleNamespace(dimensions_m={}, max_triangles=None, style="",
must_have=[], must_not=[]), references=[]),
language=language, track=Track.GRAPHICS, ws=ws, extra={}, events=EventLog(ws.events_path),
diff --git a/harness/tests/orchestrator_tracks/test_prompts_assets.py b/harness/tests/orchestrator_tracks/test_prompts_assets.py
index 6981c1f0..6ab2e2a7 100644
--- a/harness/tests/orchestrator_tracks/test_prompts_assets.py
+++ b/harness/tests/orchestrator_tracks/test_prompts_assets.py
@@ -48,7 +48,7 @@ def _ctx(tmp_ws, settings, spec, plan, *, agent_id="single-shot:gemini:x", servi
return RunContext(spec=spec, ws=tmp_ws, events=EventLog(tmp_ws.events_path), settings=settings, budget=BudgetGuard(spec.budget),
runtime=FakeRuntime(lang), services=services or FakeServices(), state=RunState(), policy=RoundPolicy(),
track=spec.track, rubric="r", agent_id=agent_id, plan=plan, agent=agent, contract_text="CONTRACT TEXT",
- cookbook_rel=f"{lang.value}/cookbook.md", tool_cards="- `build`: builds")
+ tool_cards="- `build`: builds")
def test_judged_sheet_returns_one_labelled_existing_image(tmp_path):
diff --git a/harness/tests/orchestrator_tracks/test_resume_reconcile.py b/harness/tests/orchestrator_tracks/test_resume_reconcile.py
index 69185e2d..8b890600 100644
--- a/harness/tests/orchestrator_tracks/test_resume_reconcile.py
+++ b/harness/tests/orchestrator_tracks/test_resume_reconcile.py
@@ -131,7 +131,7 @@ def _code_at(ws: Workspace, commit: str) -> str:
# --------------------------------------------------------------------- (b) history wipe
def test_a_planner_outage_on_resume_keeps_the_recorded_history(completed_run):
"""The FAILED handler serialized record.json with rounds=[] because the journal was
- loaded only AFTER plan/prepare — one planner outage on resume wiped record.rounds
+ loaded only AFTER the plan and the pre-round stages — one planner outage on resume wiped record.rounds
(and with it the flywheel's rounds_summary)."""
run = completed_run(max_rounds=0)
ws = run.ws
diff --git a/harness/tests/skills/test_delivery_reaches_the_session.py b/harness/tests/skills/test_delivery_reaches_the_session.py
index ebd9518c..f7aae97c 100644
--- a/harness/tests/skills/test_delivery_reaches_the_session.py
+++ b/harness/tests/skills/test_delivery_reaches_the_session.py
@@ -2,7 +2,8 @@
The read loop measured c3d-scene-composition / -lighting / -motion at 0 opens out of 3
listings each and read it as a wording problem. It was not: the scene track did all of
-its baseline generation in ``prepare()`` — the env and zones stages called
+its baseline generation in its pre-round hook (then ``prepare()``; the declared ``stages``
+since) — the env and zones stages called
``tracks.generation.generate`` directly — while ``skills_hook.attach_for_round`` was only
reached from ``steps.run_round``. ``SceneTrack.baseline_tasks`` returns ``[]``, so round 0
listed the bundles to a round that had no generation task to consume them. That was