Skip to content

Official Codebase of 3DCodeVerse

Python

scene hero: its context file carries the language contract alone, by intent

gaoypeng53464b475197
diff --git a/harness/codeverse3d/tracks/scene_assets.py b/harness/codeverse3d/tracks/scene_assets.py
index 5ff1c0c5..3205c078 100644
--- a/harness/codeverse3d/tracks/scene_assets.py
+++ b/harness/codeverse3d/tracks/scene_assets.py
@@ -408,6 +408,8 @@ def build_blender_asset(ctx: RunContext, asset: AssetPlan, *, judge: bool) -> As
write_blender_skeleton(sub_ws, sub.plan, ground_tol_m=HERO_GROUND_TOL_M)
sub_ws.commit("skeleton")
if not ctx.single_shot:
+ # the language contract alone, no harness_contract.md (intended, review 2 C4): the context file's hard rules
+ # bound paths/imports, and its standalone-object acceptance (±1 cm bbox) contradicts the prop sheet's ±5 %
ctx.services.materialize(sub_ws, agent_kind=ctx.agent_kind, contract_md=sub.contract_text, cookbook_text=sub.cookbook_text,
spatial_tools=True)
files = sub.runtime.expected_files(sub.plan)