Skip to content

Move eval harness code out of src; drop dev-only and product-specific tool surfaces - #1111

Merged
w1ne merged 2 commits into
developfrom
chore/trim-eval-dev-in-src
Oct 23, 2026
Merged

w1ne merged 2 commits into
developfrom
chore/trim-eval-dev-in-src

Conversation

@w1ne

@w1ne w1ne commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Part of trimming overfit tooling: src/ should be the generic product toolset.

  • Eval code out of src/: the eyewear fidelity gates and judge (src/lib/imageSimilarity/{fidelityGates,judge}.ts + tests) move to eval/oracle/; nothing in src/ imported them. score.ts stays (used by the vision router).
  • review_paint_peek_latest removed from the agent toolset: it scanned hard-coded local checkout paths. kernelCAD-server defines its own hosted implementation of this tool; the local hook and /review-paint command don't depend on it.
  • trace_from_image is a pure curve tracer: detectParts and the detectedParts / draftBom / unmatchedLabels / partDetectionFrame outputs and the tool.trace-from-image.part-detection-failed diagnostic are gone, with their demo and fixture.
  • Skill prose for kinematics, assemblies, MCP and reference modelling uses neutral mechanism examples instead of named products.
  • The closed-loop harness (runClosedLoop, buildRepairPrompt) stays exported: kernelCAD-server's orchestrator imports it.

Merged with develop after #1108 and #1110 (registry is now 58 tools; surviving tools keep their relative order).

Local verification (Node 22): typecheck, qc:lint (0 errors), skills drift clean after cookbook:build, 276 targeted tests (contract, registry schema, distGenerate, vision, diagnostics, tool-name consistency). cookbook:evaluate 94/96 with the two known load timeouts, which pass alone. Full suite runs in CI.

w1ne added 2 commits October 23, 2026 18:37
…uct prose

Move the eyewear fidelity gates and judge to eval/oracle. Remove the
review_paint_peek_latest tool and the trace_from_image part and BOM
detection. Neutralise product-specific skill prose and the CADGenBench
comment in healStep.
@w1ne
w1ne merged commit cba3329 into develop Oct 23, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant