Skip to content

Official Codebase of 3DCodeVerse

Python

skills: the detail round kind and its drift finding go with the round

gaoypeng276f5f19ce6a
diff --git a/harness/codeverse3d/skills/registry.py b/harness/codeverse3d/skills/registry.py
index c5c3ea7e..62b98563 100644
--- a/harness/codeverse3d/skills/registry.py
+++ b/harness/codeverse3d/skills/registry.py
@@ -52,7 +52,6 @@ LINT_PART_NOT_IMPORTED = "lint/part_not_imported"
LINT_LINK_NAME = "lint/link_name"
LINT_API_TRAP = "lint/api_trap"
SHADER_COMPILE_OR_BINDING = "shader/compile_or_binding"
-DETAIL_DRIFT = "detail_drift/part_moved"
RUNTIME_SLOW = "render_console/slow_or_error"
#: (gate predicate, message regex, kind). Order matters: first match wins.
@@ -78,7 +77,6 @@ _RULES: tuple[tuple[str, str, str], ...] = (
("scene_frames", r"BELOW the ground|inside / touching geometry", SCENE_CAMERA_PLACEMENT),
("gl_frames", r"frame-to-frame|visual detail|do not change over time"
r"|essentially black|blown out|NaN/Inf|no frames were rendered", GL_MOTION_OR_DETAIL),
- ("detail_drift", r"moved|resized|removed|added", DETAIL_DRIFT),
("render_console", r"frame rate|error", RUNTIME_SLOW),
("shader_preflight", r".", SHADER_COMPILE_OR_BINDING),
("lint", r"never imported", LINT_PART_NOT_IMPORTED),
@@ -130,7 +128,7 @@ def _iter_findings(obj: object):
OBJECT_TRACKS = ("static_object", "articulated_object")
BLENDER_LANGS = ("blender", "urdf_blender")
THREEJS_LANGS = ("scene_threejs", "threejs")
-BUILD_KINDS = ("baseline", "part", "detail", "refine", "rebuild", "repair")
+BUILD_KINDS = ("baseline", "part", "refine", "rebuild", "repair")
#: kinds that attach nothing on their own (design §5.2 law 4): short, narrow sessions the
#: corpus attaches no defect class to. A gate-fired row still reaches them.
QUIET_KINDS = ("asset", "asset_fix", "reference")
@@ -174,7 +172,7 @@ ROUTES: tuple[Route, ...] = (
# R3 and R4 are object tracks only: the sheet's proof loop is measure / check_contract /
# isolate, and a scene session has none of those tools (both reached scene sessions until 2026-09-22)
Route("R3", "c3d-bbox-contract", 65, tracks=OBJECT_TRACKS,
- kinds=("baseline", "part", "detail", "refine", "rebuild"),
+ kinds=("baseline", "part", "refine", "rebuild"),
why="this session owns dimensions, and the plan's numbers are the contract"),
Route("R4", "c3d-bbox-contract", 95, tracks=OBJECT_TRACKS, kinds=("repair", "refine", "rebuild"),
findings=("contract/*",),
@@ -183,7 +181,7 @@ ROUTES: tuple[Route, ...] = (
# after its description was revised. See docs/SKILLS_LEDGER.md (the bundle's text is in git history). The id is
# not reused — a route id is how a ledger row and a run record refer to a routing decision.
Route("R6", "c3d-repeats-and-mirrors", 55, tracks=OBJECT_TRACKS,
- kinds=("baseline", "part", "detail", "refine", "rebuild"),
+ kinds=("baseline", "part", "refine", "rebuild"),
requires_any=("has_instances", "has_symmetry"),
why="the plan repeats or mirrors a part, and the contract gate measures each instance"),
Route("R7", "c3d-repeats-and-mirrors", 90, kinds=("repair", "refine"), findings=("contract/instance_bbox",),
diff --git a/harness/tests/skills/data/gate_findings.json b/harness/tests/skills/data/gate_findings.json
index a1dd0b54..48f22563 100644
--- a/harness/tests/skills/data/gate_findings.json
+++ b/harness/tests/skills/data/gate_findings.json
@@ -104,13 +104,6 @@
"kind": "contract/scene_bounds",
"origin": "codeverse3d source (gate not yet represented in bench/out)"
},
- {
- "gate": "detail_drift",
- "severity": "error",
- "message": "part 'DraftingStoolLegs0' moved 8.9 mm / resized 16.9 mm during the detail round (tolerance 5 mm)",
- "n": 10,
- "kind": "detail_drift/part_moved"
- },
{
"gate": "gl_frames",
"severity": "warn",
diff --git a/harness/tests/skills/test_freshness.py b/harness/tests/skills/test_freshness.py
index fca3c2e4..9a481327 100644
--- a/harness/tests/skills/test_freshness.py
+++ b/harness/tests/skills/test_freshness.py
@@ -29,7 +29,7 @@ _INLINE_CODE = re.compile(r"`([^`\n]+)`")
_CONST = re.compile(r"\b[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)+\b")
_GATE_SLUG = re.compile(
r"\b(?:connectivity|contract|joint_sweep|motion_direction|scene_frames|gl_frames|lint"
- r"|shader|detail_drift|render_console|shader_preflight)/[a-z_]+\b")
+ r"|shader|render_console|shader_preflight)/[a-z_]+\b")
#: a snake_case token in backticks is CLAIMED to be a name in this harness. Which live
#: vocabulary it belongs to does not matter — that it belongs to one of them does.
_HARNESS_SHAPED = re.compile(r"^[a-z][a-z0-9]*(?:_[a-z0-9]+)+$")
diff --git a/harness/tests/skills/test_routing_property.py b/harness/tests/skills/test_routing_property.py
index da288458..6799c4b8 100644
--- a/harness/tests/skills/test_routing_property.py
+++ b/harness/tests/skills/test_routing_property.py
@@ -18,7 +18,7 @@ LIBRARY = all_skills()
TRACKS = ("static_object", "articulated_object", "scene", "graphics")
LANGUAGES = ("blender", "cadquery", "threejs", "urdf_blender", "scene_threejs",
"glsl_shader", "opengl_python")
-KINDS = ("baseline", "part", "detail", "refine", "rebuild", "repair", "env", "zone",
+KINDS = ("baseline", "part", "refine", "rebuild", "repair", "env", "zone",
"asset", "asset_fix", "reference")
#: the boolean plan signals the table may test (n_parts / joint_types are derived)
FLAGS = tuple(k for k in SIGNAL_KEYS if k not in ("n_parts", "joint_types"))