validate
Validates design intents by generating and pruning branch candidates against constraint trees, returning deterministic command sequences for AutoCAD execution.
Instructions
LLM 모호성 → Branch 후보 생성 → Constraint Tree prune → Deterministic 실행 순서 반환.
Operations: branch — DesignIntent → Branch 후보 생성. data: {intent: {shape_type, params, features?}} check — Branch 후보들 → Constraint Tree 검증 (valid/pruned 분류). data: {branches: [...]} select — Valid Branch 중 best 선택 (min cost + semantic priority + hash). data: {valid_branches: [...]} pipeline — Intent 리스트 → branch/check/select 전 단계 한번에. data: {intents: [{shape_type, params, features?}, ...]}
pipeline 반환 예시 (PASS): {ok: true, selected_branch: {branch_hash, total_cost, commands: [...]}, stats: {...}}
pipeline 반환 예시 (FAIL — 모두 prune): {ok: false, all_pruned: true, failures: [{branch_hash, failed_node, reason, suggestion}]}
selected_branch.commands 를 순서대로 entity/layer/... 툴에 실행하면 항상 동일한 input → 동일한 output 이 보장된다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| rule_set | No | default | |
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |