refactor: simplify distillation data layout

This commit is contained in:
Jerry
2026-07-27 17:40:16 +08:00
parent 8895178844
commit c8dbc51549
34 changed files with 132 additions and 7791 deletions
+4 -5
View File
@@ -7,9 +7,9 @@ meaningfully editable.
## Allowed inputs
- Teacher STEP from the protected teacher vault.
- Candidate DesignIR.
- Reconstructed STEP.
- Teacher STEP from protected `input/`.
- Candidate DesignIR from `runs/designir/`.
- Reconstructed STEP from `runs/rebuilt/`.
- Deterministic compiler version.
- Modification test contract.
@@ -36,10 +36,9 @@ Parametric behavior:
## Required output
Write one machine-readable acceptance report with separate geometry,
Write one machine-readable report under `runs/acceptance/` with separate geometry,
feature-semantic, parameter-editability, and stability sections. Never collapse
the result into an unexplained similarity score.
The agent may recommend pass, fail, or quarantine. Only the deterministic
publisher changes promotion state.
@@ -7,4 +7,7 @@ reconstruction_output_access: read
acceptance_report_access: write
publish_access: denied
instructions: acceptance-agent.md
teacher_input_path: input
designir_input_path: runs/designir
rebuild_input_path: runs/rebuilt
report_output_path: runs/acceptance
@@ -8,7 +8,7 @@ geometry.
## Allowed inputs
- One private evidence packet produced by the ingestion service.
- One private evidence packet from `runs/evidence/`.
- The user modification request.
- Promoted generalized experience.
- The DesignIR schema and supported operation vocabulary.
@@ -24,7 +24,7 @@ geometry.
## Required output
Write one `*.designir.json` containing:
Write one `runs/designir/*.designir.json` containing:
- family and reconstruction status;
- coordinate system and datums;
@@ -46,4 +46,5 @@ If the vocabulary is insufficient, emit
Request `isolated-rebuild`. Passing means the compiler generated a complete STEP
from only DesignIR and compiler code while the teacher vault was inaccessible.
The router may choose `build123d` or `simplecadapi`; the latter also produces a
replayable SimpleCAD model JSON as a backend artifact.
replayable SimpleCAD model JSON as a backend artifact. Put rebuild artifacts in
`runs/rebuilt/`.
@@ -8,3 +8,6 @@ reconstruction_output_access: request_only
acceptance_report_access: denied
publish_access: denied
instructions: reconstruction-agent.md
input_path: runs/evidence
designir_output_path: runs/designir
rebuild_output_path: runs/rebuilt