Manuscript Offprint
arXiv:2611.02536FORGE: Fault-Oriented Rework Code Generation for Executable Interlocking Assembly
ABSTRACT
Large language models have demonstrated strong capabilities in structured reasoning and code generation, yet identifying an assembly fault does not guarantee the ability to generate executable rework programs. In interlocking assemblies, a locally plausible repair program may violate blocking dependencies, omit required recovery operations, or terminate in an incorrect configuration. We identify this challenge as fault-conditioned executable rework generation, where models must jointly reason about structural failures and generate programs that restore constrained assembly states. To benchmark this capability, we introduce FORGE-Bench, containing 4,000 tasks across 26 interlocking assemblies with five assemblies held out for evaluating generalization to unseen structures. We further propose FORGE (Fault-Oriented Rework Code Generation for Executable Interlocking Assembly), a structured state-to-program framework that decomposes rework generation into Rework Structuring and Action Grounding. Rework Structuring captures fault-induced recovery dependencies, while Action Grounding maps these dependencies into state-conditioned executable actions. Experiments show that locally reasonable repair code is insufficient for reliable assembly recovery, and that connecting structural recovery reasoning with executable action realization is essential for verified target restoration.
1 INTRODUCTION
Recent large language models are increasingly extending code generation beyond software development toward structured programs for interacting with complex environments. Recent systems have demonstrated strong capabilities in structured generation, tool use, code synthesis, and long-horizon planning by translating high-level instructions into machine-readable representations and executable actions (Zhang et al., 2025; Liu et al., 2025b; Lei et al., 2025; Zheng et al., 2026). These advances make language models increasingly attractive for physical reasoning tasks, where symbolic states, discrete action interfaces, and structural constraints can be represented in a structured form (Kim et al., 2024; Black et al., 2024; Shukor et al., 2025; Bjorck et al., 2025; Chen et al., 2026). However,

Figure 1: Motivation of FORGE. Existing methods overlook structural dependencies during assembly rework, while FORGE enables executable recovery through dependency-aware reasoning.
generating a program that appears reasonable does not guarantee that it remains executable when successful execution depends on hidden dependencies among multiple operations.
Interlocking assemblies provide a setting where this limitation becomes explicit. A faulty component is rarely independent of the surrounding structure. Repairing it may require removing blocking parts, releasing locking relations, and restoring temporarily displaced components after the correction. Therefore, a valid rework program must reason not only about the faulty part, but also about the dependency chain that determines when each operation can be executed and how the final assembly state can be restored. Recent assembly-oriented systems have advanced instruction generation, hierarchical scene representation, error correction, and context-aware assistance (Yan & Mu, 2025; Li et al., 2025; Wan et al., 2024; Liu et al., 2025a; Wang et al., 2026a;b). Nevertheless, these methods primarily address forward assembly, operator guidance, or local correction rather than complete dependency-aware recovery.
We call this regime executable rework generation, where models must move beyond isolated fault identification and local repair actions toward dependency-aware programs that execute complete recovery procedures. This regime sits at the intersection of assembly reasoning, program synthesis, and symbolic planning, but none of these directions directly captures the coupled requirements of fault diagnosis, structural dependency reasoning, and target-state restoration. Assembly reasoning methods primarily focus on component relations, assembly sequences, or forward construction, but do not address recovery from faulty states (Pun et al., 2025; Wang et al., 2026a;b). Program generation methods study executable code synthesis, yet typically assume that required operations are already specified or that individual actions can be evaluated independently (Chi et al., 2025; Ahn et al., 2026; Chen et al., 2025b). Symbolic planning approaches provide constraint-aware reasoning, but rarely consider the joint problem of identifying faults and generating state-restoring programs under physical assembly dependencies (Curtis et al., 2024; Cornelio et al., 2025; Pesjak & Žabkar, 2026; Huang et al., 2025; Chen et al., 2024).
To study this gap, we introduce FORGE, short for Fault-Oriented Rework Code Generation for Executable Interlocking Assembly. FORGE formulates interlocking assembly repair as a structured state-to-program generation framework built on vanilla SFT with two complementary algorithmic modules: Rework Structuring, which captures fault-induced recovery obligations among components, and Action Grounding, which maps these obligations into executable actions, parameters, and symbolic state transitions. Given public assembly states and structural constraints, FORGE generates complete recovery programs while avoiding unnecessary intervention on assemblies that are already correct. Unlike benchmarks centered on isolated function calls, FORGE evaluates state-changing action sequences and their final verified outcomes, reflecting the growing emphasis on stateful and multi-step agent evaluation. (Patil et al., 2025; Lu et al., 2025; Chen et al., 2025a; Zheng et al., 2026; Shen et al., 2026). Our main contributions are as follows:
-
We identify and formalize fault-conditioned executable rework generation, a structured task requiring joint fault diagnosis, dependency-aware recovery planning, executable action generation, and target-state verification.
-
We introduce FORGE-BENCH, a benchmark for interlocking-assembly rework with assembly-disjoint splits, controlled fault/no-fault cases, and verifier-based evaluation of structural correctness and target-state restoration.
-
We propose FORGE, a dependency-aware framework that separates recovery into Rework Structuring and Action Grounding, enabling state-conditioned generation of executable restoration programs.
Executable planning. Executable planning converts high-level goals into action sequences or programs that satisfy environmental constraints. Recent methods combine language-model generation with constraint solving, symbolic decomposition, adaptive code synthesis, and neuro-symbolic validation (Curtis et al., 2024; Cornelio et al., 2025; Chi et al., 2025; Ahn et al., 2026; Lei et al., 2025; Chen et al., 2025b). Other studies connect natural-language specifications with formal planning through LLM-symbolic pipelines, structured planning languages, task-and-motion checking, and embodied intermediate reasoning (Huang et al., 2025; Zuo et al., 2025; Chen et al., 2024; Zawalski et al., 2024; Pesjak & Žabkar, 2026). These methods show the value of checking proposed actions against explicit constraints rather than relying on the plausibility of generated text. However, they generally assume that the goal or required operations are already specified. FORGE addresses the complementary setting in which the model must infer recovery obligations from a faulty assembly and generate a verifier-grounded program that restores the complete target configuration.
Structured action generation. Structured action generation maps model decisions to machine-readable actions for tool use, function calling, and agent interaction. xLAM, ToolACE, and ToolGen improve action selection, tool retrieval, and argument generation (Zhang et al., 2025; Liu et al., 2025b; Wang et al., 2025). Stateful interaction is evaluated by BFCL, ToolSandbox, and ACEBench, while E-Bench and SciAgentGym extend evaluation to multi-step tool orchestration and dependency-aware scientific workflows (Patil et al., 2025; Lu et al., 2025; Chen et al., 2025a; Zheng et al., 2026; Shen et al., 2026). These benchmarks highlight the need to evaluate outcomes across a sequence of state-changing actions, beyond the correctness of individual tool calls. Nevertheless, their environments rarely model physical interlocking constraints or fault-conditioned recovery. FORGE therefore evaluates complete rework programs whose actions must respect structural dependencies, avoid unnecessary intervention, and terminate in a verifier-confirmed target state.
3 METHOD
3.1 TASK FORMULATION AND FRAMEWORK OVERVIEW
FORGE studies fault-conditioned executable rework generation for interlocking assemblies. Given an observed assembly state, a target configuration, and public structural constraints, the model must determine whether rework is required, identify the underlying fault, and generate an executable program that restores the assembly to the target state. Built on vanilla SFT, FORGE uses Rework

Figure 2: Overview of FORGE. Rework Structuring identifies recovery obligations, while Action Grounding converts them into executable actions.
Structuring for dependency-aware recovery and Action Grounding for state-conditioned executable action generation.
We formulate each task as a structured state-to-program generation problem:
where is the initial assembly state, is the observed state, is the target configuration, denotes the public assembly, blocking, contact, and constraint relations, is the available action space, contains public part information, denotes the fault diagnosis, and is the executable rework program.
FORGE represents program execution as a symbolic state trajectory:
(2)
where is the frozen symbolic transition function used for supervision construction and benchmark evaluation.
A generated program is valid only when its schema is well formed, every operation is legal in its execution state, and the terminal state satisfies the target configuration:
For an already correct assembly, the safe output is and , which prevents unnecessary intervention.
Vanilla SFT directly learns the diagnosis and rework sequence but does not explicitly model recovery dependencies or state-conditioned execution. FORGE therefore augments the SFT backbone with two algorithmic modules: Rework Structuring and Action Grounding, as illustrated in Figure 2.
3.2 FAULT-ORIENTED REWORK STRUCTURING
Rework Structuring organizes the supervision target before action generation. It identifies the components and prerequisite relations that are relevant to a diagnosed fault, but it does not introduce an additional prediction head or an additional output object.
Given a diagnosed fault set , the relevant component set is expanded using the public graph relations:
The resulting dependency information is used to organize the actions in the reference rework_plan and to provide structured supervision for recovery generation. The intermediate dependency structure is not exposed as an additional output field; the model generates the final annotation-rework_plan object.
3.3 STATE-CONDITIONED ACTION GROUNDING
Action Grounding conditions each generated action on the symbolic state produced by preceding operations. The model generates the complete annotation-rework_plan object, whose actions are subsequently evaluated through symbolic replay.
For a current state , the executable action set is , and the generated action must satisfy . The training target remains the final diagnosis and rework program:
The decomposition above describes the supervision and execution structure. All fields are generated by the same autoregressive model and serialized into the final annotation-rework_plan schema.
3.4 TRAINING OBJECTIVE AND INFERENCE PROTOCOL
FORGE uses Rework Structuring to organize fault-dependent recovery sequences and Action Grounding to condition each action on its preceding symbolic state. The resulting diagnosis and rework program are serialized into a single autoregressive training target without separate prediction heads or auxiliary losses:
We train the model with teacher-forced supervised fine-tuning:
During inference, the model generates the same final schema using deterministic autoregressive decoding. The generated sequence is then parsed and replayed under the symbolic transition rules:
The symbolic transition engine then checks schema validity, action legality, state transitions, and target-state restoration.
4 DATASET
We introduce FORGE-BENCH, a benchmark for fault-conditioned executable rework generation in interlocking assemblies. Unlike conventional assembly datasets that focus on forward construction, assembly-sequence prediction, or instruction generation, FORGE-BENCH evaluates whether a model can diagnose faulty assembly sEach task provides a public assembly representation comprising the initial state, observed state, target state, structural relations, constraints, action space, and part catalog. Given this information, the model must determine whether rework is required and, when a fault is present, generate a program that restores the target configuration.
4.1 DATASET CONSTRUCTION
As shown in Figure 3, FORGE-BENCH is constructed as a closed execution-and-verification loop rather than a static collection of assembly states. The pipeline converts executable assembly structures into fault-conditioned rework tasks and retains only instances whose reference programs satisfy structural, action-level, and target-restoration constraints.

Figure 3: Construction pipeline of FORGE-BENCH. Executable assembly structures are converted into public task representations, augmented with controlled fault and no-fault states, paired with reference rework programs, and filtered through symbolic execution and target-state restoration.
Assembly collection and executable representation. We collect 3D interlocking assembly structures and instantiate their valid configurations as executable Unity scenes. Each assembly is represented by a structured context containing its part catalog, assembly relations, blocking dependencies, physical constraints, and available action interfaces. This context defines both the target configuration and the conditions under which individual operations can be executed.
Fault-conditioned task construction. From each assembly context, we generate faulty states, boundary no-fault states, and matched fault/no-fault pairs. Faults include incorrect orientations, missing components, misplacements, and errors hidden behind multi-step blocking dependencies. Boundary no-fault states remain within the target tolerance and therefore require an empty rework program.
Reference program generation and verification. Each task is paired with a diagnosis annotation and a verified sequence-minimal rework program. For a faulty state, the program resolves the relevant blocking dependencies, corrects the fault, and restores temporarily affected components. A frozen symbolic transition engine replays every action and checks schema validity, action legality, state-transition consistency, and target-state restoration.
4.2 DATASET ANALYSIS
Figure 4 and Table 1 summarize the composition and scale of FORGE-BENCH. FORGE-BENCH contains 4,000 tasks across 26 interlocking assemblies, with a 3,000/1,000 train-test split and five held-out assemblies for evaluating generalization to unseen structures. The benchmark includes 1,115 no-fault cases (27.9%), 2,353 single-fault cases (58.8%), and 532 multi-fault cases (13.3%), combining routine diagnosis with dependency-coupled recovery at different fault scopes and structural complexities. Counterfactual metadata contains 160 matched fault/no-fault pairs, or 320 states, providing paired examples of required intervention and valid no-intervention cases across diverse structural configurations and recovery scenarios.

Figure 4: Composition of FORGE-BENCH.
Table 1: Key statistics of FORGE-BENCH.
| Dataset statistics | Rework statistics | ||||
|---|---|---|---|---|---|
| Statistic | Count | Share | Statistic | Count | Share |
| Total tasks | 4,000 | 100.0% | No-fault cases | 1,115 | 27.9% |
| Train / Test | 3,000 / 1,000 | 75.0 / 25.0% | Single-fault cases | 2,353 | 58.8% |
| Assembly families | 26 | – | Multi-fault cases | 532 | 13.3% |
| Train assemblies | 21 | – | Counterfactual pairs | 160 | – |
| Test assemblies | 5 | – | Fault/no-fault instances | 320 | – |
5 EXPERIMENTS
5.1 EXPERIMENTAL SETUP
We build FORGE on Qwen3.5-9B-Base (Qwen Team, 2026a) and apply LoRA with rank 8, scaling factor 32, and dropout 0.05 to all linear modules. Training uses bfloat16 precision, a per-device batch size of 1, and gradient accumulation over 4 steps. Vanilla SFT provides the training backbone, while Rework Structuring and Action Grounding support dependency-aware program generation. Inference uses deterministic decoding with temperature 0 and a maximum output length of 4,096 tokens, with thinking disabled.
We compare FORGE with open-source models, including Qwen3.5-9B Base (Qwen Team, 2026a), Gemma-3-12B-IT (Team et al., 2025), GLM-4-9B-0414-Chat (GLM Team, 2025), InternLM3-8B-Instruct (InternLM Team, 2024), Ministral-3-8B-Instruct (Mistral AI, 2025), and Llama-3.1-8B-Instruct (Grattafiori et al., 2024); closed-source models, including GPT-5.4 Mini (OpenAI, 2026), Claude Sonnet 4.6 (Anthropic, 2026), Qwen3.6-Plus (Qwen Team, 2026b), and Gemini 3.5 Flash (Google DeepMind, 2026); and code-oriented methods, including AceCoder-7B (Zeng et al., 2025), OpenCodeReasoning-Nemotron-7B (Ahmad et al., 2025), and Seed-Coder-8B-Reasoning (Seed et al., 2025). All models receive the same public task representation and produce the shared annotation-rework_plan schema. Generated programs are evaluated with the same symbolic transition engine under the benchmark protocol, while unadapted Qwen3.5-9B serves as the backbone baseline. We evaluate all methods on FORGE-Bench using six execution-oriented metrics, their unweighted aggregate Overall-Core, and a separate LLM-as-Judge score. Metric definitions are provided in Appendix D.
5.2 MAIN RESULTS
Table 2 shows that FORGE achieves the highest Overall-Core score of 72.75 among all compared methods. It obtains the best performance on five of the six core metrics, including SSE, VMRE, DGTR, MVE, and HRQ. These gains indicate that the proposed framework improves both recovery structure and executable target restoration.
Table 2: Main results on FORGE-BENCH. Models are grouped into open-source models, closed-source models, prior methods, and our method. The best results are highlighted in bold, and the second-best results are underlined.
| Model | Core Metrics | Overall-Core↑ | LLM-as-Judge Score↑ | |||||
|---|---|---|---|---|---|---|---|---|
| SSE↑ | SAPF↑ | VMRE↑ | DGTR↑ | MVE↑ | HRQ↑ | |||
| Open-source Models | ||||||||
| Qwen3.5-9B Base (Qwen Team, 2026a) | 20.00 | 11.04 | 22.50 | 25.83 | 22.50 | 20.00 | 20.31 | 2.55 |
| Gemma-3-12B-IT (Team et al., 2025) | 6.21 | 50.00 | 2.50 | 5.83 | 2.50 | — | 11.17 | 1.91 |
| GLM-4-9B-0414-Chat (GLM Team, 2025) | 8.42 | 38.75 | 3.33 | 3.33 | 3.33 | — | 9.53 | 1.87 |
| InternLM3-8B-Instruct (InternLM Team, 2024) | 16.00 | 22.22 | 20.00 | 20.00 | 20.00 | 20.00 | 19.70 | 1.79 |
| Ministral-3-8B-Instruct (Mistral AI, 2025) | 18.21 | 27.78 | 17.50 | 20.83 | 17.50 | 20.00 | 20.30 | 2.42 |
| Llama-3.1-8B-Instruct (Grattaflori et al., 2024) | 5.50 | 57.36 | — | — | — | — | 10.48 | 1.40 |
| Closed-source Models | ||||||||
| GPT-5.4 Mini (OpenAI, 2026) | 25.50 | 37.15 | 25.16 | 25.74 | 25.16 | 30.63 | 28.22 | 2.94 |
| Claude Sonnet 4.6 (Anthropic, 2026) | 31.35 | 41.11 | 27.87 | 36.19 | 25.22 | 23.43 | 30.86 | 4.00 |
| Qwen3.6-Plus (Qwen Team, 2026b) | 22.55 | 47.22 | 18.77 | 19.44 | 18.19 | 14.37 | 23.43 | 2.72 |
| Gemini 3.5 Flash (Google DeepMind, 2026) | 62.93 | 69.10 | 28.12 | 45.49 | 26.61 | 46.39 | 46.44 | 4.26 |
| Prior Methods | ||||||||
| AceCoder-7B (Zeng et al., 2025) | 28.89 | 8.33 | 26.14 | 29.27 | 26.14 | 52.58 | 28.56 | 3.63 |
| OpenCodeReasoning-Nemotron-7B (Ahmad et al., 2025) | 15.25 | 16.67 | 15.21 | 15.21 | 15.21 | 9.55 | 14.51 | 2.34 |
| Seed-Coder-8B-Reasoning (Seed et al., 2025) | 8.57 | 6.67 | 9.83 | 11.67 | 8.00 | — | 7.46 | 2.61 |
| FORGE (Ours) | 71.54 | 61.11 | 72.60 | 75.93 | 72.13 | 83.17 | 72.75 | 4.37 |
The independent LLM-as-Judge evaluation follows the same trend, with FORGE achieving the highest score of 4.37. The largest improvements appear on execution-oriented metrics, suggesting that FORGE more effectively converts structured repair intent into executable recovery programs.
5.3 ABLATION STUDY
Table 3: Ablation study of FORGE components. The best results are highlighted in bold with a blue background.
| Method | Core Metrics | Overall-Core↑ | LLM-as-Judge Score↑ | |||||
|---|---|---|---|---|---|---|---|---|
| SSE↑ | SAPF↑ | VMRE↑ | DGTR↑ | MVE↑ | HRQ↑ | |||
| Vanilla SFT | 69.23 | 61.11 | 63.23 | 71.56 | 62.60 | 77.44 | 67.53 | 4.03 |
| w/o Rework Structuring | 62.38 | 41.67 | 62.19 | 68.19 | 60.10 | 73.60 | 61.35 | 4.12 |
| w/o Action Grounding | 65.43 | 66.67 | 64.05 | 67.38 | 63.11 | 80.67 | 67.89 | 4.30 |
| FORGE (Ours) | 71.54 | 61.11 | 72.60 | 75.93 | 72.13 | 83.17 | 72.75 | 4.37 |
Table 3 analyzes the contribution of the two algorithmic modules. Vanilla SFT already provides a strong prior for diagnosis and rework generation, achieving an Overall-Core score of 67.53. Removing Rework Structuring mainly affects state and hard-case quality, reducing SAPF and HRQ to 41.67 and 73.60. Removing Action Grounding improves SAPF but lowers DGTR, MVE, and Overall-Core, indicating that its primary benefit lies in executable state-conditioned recovery. The full FORGE model achieves the highest VMRE, MVE, HRQ, Overall-Core, and LLM-as-Judge scores, showing that recovery organization and executable action grounding provide complementary improvements.
5.4 CASE STUDY AND ERROR ANALYSIS
Figure 5 presents a representative interlocking assembly rework case. The example highlights the key challenge of executable rework generation: models must identify faulty components and preserve recovery dependencies during restoration. FORGE generates a dependency-aware repair procedure, while baseline models exhibit missing dependency handling and unnecessary intervention. This comparison supports the quantitative finding that structured recovery reasoning and state-conditioned action grounding improve executable assembly restoration.

Figure 5: Qualitative comparison of executable rework generation. FORGE preserves recovery dependencies and restores the target assembly, while baseline predictions exhibit missing dependency handling or unnecessary intervention.
5.5 CONSISTENCY WITH HUMAN JUDGMENTS
Figure 6 shows a clear positive alignment between automatic evaluation and expert judgment across the evaluated models. Most baseline systems follow the rising trend from the lower-left to the upper-middle region, with weaker verified execution and incomplete target restoration receiving lower expert ratings. FORGE is located in the upper-right region, indicating that its benchmark improvements are reflected in expert assessment. This ordering suggests that the metrics capture structural recovery, executable action sequences, and complete target-state restoration across the evaluated assemblies and fault types, rather than surface-level plausibility alone.

Figure 6: Consistency between automatic evaluation and human judgment.
6 CONCLUSION AND LIMITATIONS
We introduce fault-conditioned executable rework generation, where assembly repair shifts from identifying an isolated fault to producing a complete recovery program that respects structural dependencies and restores the target configuration. FORGE-Bench makes this capability measurable through structured interlocking assembly tasks, controlled fault and no-fault conditions, and verifier-backed execution, while FORGE addresses it through rework structuring and action grounding. Experiments reveal a clear dependency-execution gap: existing models can often identify the faulty component or propose a plausible local action, but fail to resolve blocking dependencies, preserve displaced components, or restore the complete assembly state. FORGE narrows this gap by coupling fault understanding with executable program generation and target-state verification. This work focuses on symbolic interlocking assembly environments with discrete action interfaces and a finite set of assembly structures, so extending the same principle to richer assembly families, continuous physical execution, uncertain perception, and interactive recovery with execution feedback will require additional action models, environment adapters, and validity criteria, and remains a natural direction for future work.
AI USE STATEMENT
Generative AI assistance was used for literature processing, dataset construction, and auxiliary LLM-as-Judge evaluation. All generated records, annotations, and evaluation outputs were reviewed under the documented audit procedure. The authors are responsible for the final dataset, experimental results, analyses, and claims.
REPRODUCIBILITY STATEMENT
Appendix A defines the FORGE-Bench task contract. Appendix B describes dataset construction and split protocols; Appendix C gives the training and inference configuration; and Appendix D defines the evaluation metrics. All reported results use the fixed split and evaluation protocol specified in Appendix B.
REFERENCES
Wasi Uddin Ahmad, Sean Narenthiran, Somshubra Majumdar, Aleksander Ficek, Siddhartha Jain, Jocelyn Huang, Vahid Noroozi, and Boris Ginsburg. Opencodereasoning: Advancing data distillation for competitive coding. arXiv preprint arXiv:2504.01943, 2025.
Sanghyun Ahn, Wonje Choi, Junyong Lee, Jinwoo Park, and Honguk Woo. Towards reliable code-as-policies: A neuro-symbolic framework for embodied task planning. Advances in Neural Information Processing Systems, 38:75428–75459, 2026.
Anthropic. Claude sonnet 4.6. Official model documentation, 2026. URL https://docs.anthropic.com/en/docs/about-claude/models.
Johan Bjorck, Fernando Castañeda, Nikita Cherniadev, Xingye Da, Runyu Ding, Linxi Fan, Yu Fang, Dieter Fox, Fengyuan Hu, Spencer Huang, et al. Gr00t n1: An open foundation model for generalist humanoid robots. arXiv preprint arXiv:2503.14734, 2025.
Kevin Black, Noah Brown, Danny Driess, Adnan Esmail, Michael Equi, Chelsea Finn, Niccolo Fusai, Lachy Groom, Karol Hausman, Brian Ichter, et al. backslash pi0: A vision-language-action flow model for general robot control. arXiv preprint arXiv:2410.24164, 1, 2024.
Chen Chen, Xinlong Hao, Weiwen Liu, Xu Huang, Xingshan Zeng, Shuai Yu, Dexun Li, Yuefeng Huang, Xiangcheng Liu, Xinzhi Wang, et al. Acebench: A comprehensive evaluation of llm tool usage. In EMNLP (Findings), pp. 12970–12998, 2025a.
Shizhe Chen, Paul Pacaud, and Cordelia Schmid. Pointact: Vision-language-action models with multi-scale point-action interaction. arXiv preprint arXiv:2605.21414, 2026.
Yongchao Chen, Jacob Arkin, Charles Dawson, Yang Zhang, Nicholas Roy, and Chuchu Fan. Autotamp: Autoregressive task and motion planning with llms as translators and checkers. In 2024 IEEE International conference on robotics and automation (ICRA), pp. 6695–6702. IEEE, 2024.
Yongchao Chen, Yilun Hao, Yang Zhang, and Chuchu Fan. Code-as-symbolic-planner: Foundation model-based robot planning via symbolic code generation. In 2025 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 19248–19254. IEEE, 2025b.
Haotian Chi, Zeyu Feng, Yueming Lyu, Chengqi Zheng, Linbo Luo, Yew Soon Ong, Ivor Tsang, Hechang Chen, Yi Chang, and Haiyan Yin. Instructflow: Adaptive symbolic constraint-guided code generation for long-horizon planning. Advances in Neural Information Processing Systems, 38:2927–2957, 2025.
Cristina Cornelio, Flavio Petruzzellis, and Pietro Lio. Hierarchical planning for complex tasks with knowledge graph-rag and symbolic verification. arXiv preprint arXiv:2504.04578, 2025.
Aidan Curtis, Nishanth Kumar, Jing Cao, Tomás Lozano-Pérez, and Leslie Pack Kaelbling. Trust the proc3s: Solving long-horizon robotics problems with llms and constraint satisfaction. arXiv preprint arXiv:2406.05572, 2024.
GLM Team. Glm-4-9b-0414-chat. Model card, 2025. URL https://huggingface.co/THUDM/glm-4-9b-0414.
Google DeepMind. Gemini 3.5 flash. Official model documentation, 2026. URL https://ai.google.dev/gemini-api/docs/models.
Aaron Grattaflori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
Sukai Huang, Nir Lipovetzky, and Trevor Cohn. Planning in the dark: Llm-symbolic planning pipeline without experts. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pp. 26542–26550, 2025.
InternLM Team. Internlm3-8b-instruct. Model card, 2024. URL https://huggingface.co/internlm/internlm3-8b-instruct.
Moo Jin Kim, Karl Pertsch, Siddharth Karamcheti, Ted Xiao, Ashwin Balakrishna, Suraj Nair, Rafael Rafailov, Ethan Foster, Grace Lam, Pannag Sanketi, et al. Openvla: An open-source vision-language-action model. arXiv preprint arXiv:2406.09246, 2024.
Moo Jin Kim, Chelsea Finn, and Percy Liang. Fine-tuning vision-language-action models: Optimizing speed and success. arXiv preprint arXiv:2502.19645, 2025.
Chao Lei, Yanchuan Chang, Nir Lipovetzky, and Krista A Ehinger. Planning-driven programming: A large language model programming workflow. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 12647–12684, 2025.
Shufei Li, Zhijie Yan, Zuoxu Wang, and Yiping Gao. Vlm-msgraph: Vision language model-enabled multi-hierarchical scene graph for robotic assembly. Robotics and Computer-Integrated Manufacturing, 94:102978, 2025.
Quan Liu, Zhenrui Ji, Wenjun Xu, Zhihao Liu, and Lihui Wang. One-shot learning-driven autonomous robotic assembly via human-robot symbiotic interaction. Npj Advanced Manufacturing, 2(1):22, 2025a.
Weiwen Liu, Xu Huang, Xingshan Zeng, Shuai Yu, Dexun Li, Shuai Wang, Weinan Gan, Zhengying Liu, Yuanqing Yu, Zezhong WANG, et al. Toolace: Winning the points of llm function calling. In International conference on learning representations, volume 2025, pp. 41359–41381, 2025b.
Jiarui Lu, Thomas Holleis, Yizhe Zhang, Bernhard Aumayer, Feng Nan, Haoping Bai, Shuang Ma, Shen Ma, Mengyu Li, Guoli Yin, et al. Toolsandbox: A stateful, conversational, interactive evaluation benchmark for llm tool use capabilities. In Findings of the Association for Computational Linguistics: NAACL 2025, pp. 1160–1183, 2025.
Mistral AI. Ministral-3-8b-instruct. Model card, 2025. URL https://huggingface.co/mistralai.
OpenAI. Gpt-5.4 mini. Official model documentation, 2026. URL https://platform.openai.com/docs/models.
Shishir G Patil, Huanzhi Mao, Fanjia Yan, Charlie Cheng-Jie Ji, Vishnu Suresh, Ion Stoica, and Joseph E Gonzalez. The berkeley function calling leaderboard (bfcl): From tool use to agentic evaluation of large language models. In Forty-second International Conference on Machine Learning, 2025.
Drejc Pesjak and Jure Žabkar. Robot planning via llm proposals and symbolic verification. Machine Learning and Knowledge Extraction, 8(1):22, 2026.
Ava Pun, Kangle Deng, Ruixuan Liu, Deva Ramanan, Changliu Liu, and Jun-Yan Zhu. Generating physically stable and buildable brick structures from text. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 14798–14809. IEEE, 2025.
Qwen Team. Qwen3.5-9b-base. Model card, 2026a. URL https://huggingface.co/Qwen/Qwen3.5-9B-Base.
Qwen Team. Qwen3.6-plus. Official model documentation, 2026b. URL https://qwenlm.github.io.
ByteDance Seed, Yuyu Zhang, Jing Su, Yifan Sun, Chenguang Xi, Xia Xiao, Shen Zheng, Anxiang Zhang, Kaibo Liu, Daoguang Zan, et al. Seed-coder: Let the code model curate data for itself. arXiv preprint arXiv:2506.03524, 2025.
Yujiong Shen, Yajie Yang, Zhiheng Xi, Binze Hu, Huayu Sha, Jiazheng Zhang, Qiyuan Peng, Junlin Shang, Jixuan Huang, Yutao Fan, et al. Sciagentgym: Benchmarking multi-step scientific tool-use in llm agents. arXiv preprint arXiv:2602.12984, 2026.
Mustafa Shukor, Dana Aubakirova, Francesco Capuano, Pepijn Kooijmans, Steven Palma, Adil Zouitine, Michel Aractingi, Caroline Pascal, Martino Russi, Andres Marafioti, et al. Smolvla: A vision-language-action model for affordable and efficient robotics. arXiv preprint arXiv:2506.01844, 2025.
Gemma Team, Aishwarya Kamath, Johan Ferret, Shreya Pathak, Nino Vieillard, Ramona Merhej, Sarah Perrin, Tatiana Matejovicova, Alexandre Ramé, Morgane Rivière, et al. Gemma 3 technical report. arXiv preprint arXiv:2503.19786, 2025.
Yuxuan Wan, Kaichen Zhou, Jinhong Chen, and Hao Dong. Scanet: Correcting lego assembly errors with self-correct assembly network. In 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 5940–5947. IEEE, 2024.
Renxi Wang, Xudong Han, Lei Ji, Shu Wang, Timothy Baldwin, and Haonan Li. Toolgen: Unified tool retrieval and calling via generation. In International Conference on Learning Representations, volume 2025, pp. 73473–73498, 2025.
Xueting Wang, Xiwen Dengxiong, Shi Bai, Pai Zheng, and Yunbo Zhang. Vlabot: A human vision-language-action models interaction framework for robotic assembly. Robotics and Computer-Integrated Manufacturing, 100:103268, 2026a.
Xueting Wang, Xiwen Dengxiong, Jie-Ke Pan, Ke Jing, Zipeng Guo, Rui Liu, Qinqin Xiao, and Yunbo Zhang. Assemblymate: an interactive context-aware ai-xr co-worker with multimodal spatial-temporal reasoning for manufacturing assembly. npj Advanced Manufacturing, 2026b.
Hongyu Yan and Yadong Mu. Neural assembler: Learning to generate fine-grained robotic assembly instructions from multi-view images. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pp. 14717–14725, 2025.
Michal Zawalski, William Chen, Karl Pertsch, Oier Mees, Chelsea Finn, and Sergey Levine. Robotic control via embodied chain-of-thought reasoning. arXiv preprint arXiv:2407.08693, 2024.
Huaye Zeng, Dongfu Jiang, Haozhe Wang, Ping Nie, Xiaotong Chen, and Wenhu Chen. Acecoder: Acing coder rl via automated test-case synthesis. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 12023–12040, 2025.
Jianguo Zhang, Tian Lan, Ming Zhu, Zuxin Liu, Thai Hoang, Shirley Kokane, Weiran Yao, Juntao Tan, Zhiwei Liu, Yihao Feng, et al. xlam: A family of large action models to empower ai agent systems. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pp. 11583–11597, 2025.
Weihuang Zheng, Tianyuan Zou, Eileen Ye, Alphabet Liu, Youyong Kong, Ya-Qin Zhang, Duran Zheng, and Maxm Pan. E-bench: Benchmarking multi-step tool-use agents in real-world product scenarios. arXiv preprint arXiv:2607.23722, 2026.
Max Zuo, Francisco Piedrahita Velez, Xiaochen Li, Michael Littman, and Stephen Bach. Planetarium: A rigorous benchmark for translating text to structured planning languages. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pp. 11223–11240, 2025.
A TASK DEFINITION AND OUTPUT SCHEMA
This appendix specifies the public task contract used by FORGE-Bench. TThe benchmark provides an initial assembly state, an observed assembly state, a target state, structural relations, an action library, and a public part catalog.The model must decide whether rework is required, diagnose the fault when present, and produce a state-valid rework program.
A.1 PUBLIC INPUT CONTRACT
Each task is represented as
where is the initial assembly state, is the observed state, is the target configuration, contains assembly, blocking, contact, and constraint relations, is the action space, and is the public part catalog. The benchmark package contains the following files:
Table 4: Public files in a FORGE-Bench task.
| File | Role |
|---|---|
| initial_state.json | Initial assembly state. |
| target_state.json | Target assembly configuration. |
| actual_state.json | Observed state supplied to the model. |
| assembly_graph.json | Assembly relations between parts. |
| blocking_graph.json | Blocking and access dependencies. |
| contact_graph.json | Contact or adjacency relations. |
| action_space.json | Available actions and their interfaces. |
| part_catalog.json | Part identifiers and public metadata. |
A.2 OUTPUT CONTRACT
The structured target contains a diagnosis and a rework plan. The executable program is written as , where is an action type and contains its parameters.
A compressed real task example from the repository has the following form:
{
"task_id": "bayonet_structure_train_000000",
"assembly_id": "bayonet_structure",
"input_contract": [
"initial_state.json",
"target_state.json",
"actual_state.json",
"assembly_graph.json",
"blocking_graph.json",
"contact_graph.json",
"action_space.json",
"part_catalog.json"
],
"actual_state": {
"BayonetStructure_Part01_Lock": {"present": true},
"BayonetStructure_Part02_Pin": {"present": false}
}
}
The model returns one JSON object with the top-level fields annotation and rework_plan. For the example above, the corresponding output is:
{
"annotation": {
"sample_id": "bayonet_structure_train_000000",
"assembly_id": "bayonet_structure",
"pass": false,
"mistakes": [ {
"name": "bayonet_structure_train_000000"
}
]
}
"type": "missing_part",
"part_id": "BayonetStructure_Part02_Pin",
"visible": true
}]
},
"rework_plan": {
"objective": "restore_to_target_state",
"actions": [
{
"action": "insert",
"part_id": "BayonetStructure_Part02_Pin"
}
]
}
For a no-fault sample, annotation.pass=true, annotation.mistakes=[] and rework_plan/actions=[].
A.3 ACTION LIBRARY AND PRECONDITIONS
The recorded action types are remove, insert, reset_pose, rotate, rotate_to_unlock, rotate_translate_to_unlock, rotate_to_lock, translate_rotate_to_lock, and replace.
Table 5: Recorded action interfaces and symbolic preconditions.
| Action | Recorded precondition |
|---|---|
| remove(part_id) | Part is present and not blocked for removal. |
| insert(part_id) | Part is absent, target pose is free, and insertion path is collision-free. |
| reset_pose(part_id) | Part is present and reset path is collision-free. |
| rotate(part_id, axis, angle_deg) | Part is present and rotation path is collision-free. |
| rotate_to_unlock(part_id, axis, angle_deg) | Part is present and the rotation path is collision-free. |
| rotate_translate_to_unlock(part_id, after_pose) | Part is present and the coupled unlock path is collision-free. |
| rotate_to_lock(part_id, axis, angle_deg) | Part is present and the assembly has been restored. |
| translate_rotate_to_lock(part_id, after_pose) | Part is present and the assembly has been restored. |
| replace(wrong_part_id, target_part_id) | Wrong part is present, target part is absent, and the replacement path is collision-free. |
An action is legal only in the symbolic state produced by all preceding actions:
The symbolic transition is
B FORGE-BENCH CONSTRUCTION DETAILS
B.1 ASSEMBLY COLLECTION AND REPRESENTATION
The benchmark uses Luban lock interlocking assemblies. The repository contains parametric assembly descriptions, Unity scenes, assembly graphs, blocking graphs, and part catalogs. The reported benchmark contains 26 assemblies, with 21 training assemblies and 5 held-out test assemblies. The assembly-local coordinate convention is y-up; lengths are expressed in Unity scene units. All headline tables and claims in this manuscript use the final 4,000-task protocol with a 3,000/1,000 train/test split. The split contains 21 training assemblies and 5 held-out test assemblies, with no assembly identity shared across the two partitions.
B.2 FAULT TAXONOMY AND TASK COMPOSITION
The benchmark covers no-fault, single-fault, and multi-fault conditions. Faults include wrong orientation, missing parts, misplacement, blocking dependencies, wrong-part substitutions, under-insertion, and interference locks. Multi-fault instances contain two or more concurrent fault conditions, while no-fault instances require an empty rework plan. Counterfactual pairs provide matched fault and no-fault states as auxiliary benchmark metadata.
Table 6: FORGE-Bench composition under the 4,000-task protocol.
| Statistic | Count | Share / note |
|---|---|---|
| Total tasks | 4,000 | 100.0% |
| Train / test tasks | 3,000 / 1,000 | 75.0 / 25.0% |
| Assembly families | 26 | 21 train, 5 held-out |
| No-fault cases | 1,115 | 27.9% |
| Single-fault cases | 2,353 | 58.8% |
| Multi-fault cases | 532 | 13.3% |
| Counterfactual pairs | 160 | Auxiliary evaluation metadata |
| Fault/no-fault instances | 320 | Auxiliary evaluation metadata |
B.3 REFERENCE PROGRAM GENERATION
Reference programs are constructed from the assembly program, the validated disassembly sequence, the blocking graph, and the target state. Each reference program follows the fixed discrete action grammar and resolves the relevant blocking dependencies before restoring the affected components. The number of executable actions in this verified reference sequence defines the reference cost used by the rework metrics.
We refer to this construction as reference-sequence minimality: the reference uses the fewest executable actions required by the prescribed disassembly-repair-restoration sequence under the benchmark's symbolic transition rules. A valid assembly is assigned an empty reference program.
B.4 SYMBOLIC VERIFICATION AND FILTERING
The frozen transition engine replays every action and checks:
-
output-contract validity;
-
action preconditions and action legality;
-
parameter validity under the declared tolerances;
-
consistency of every symbolic state transition;
-
target-state restoration; and
-
empty-program compliance for no-fault cases and reference-relative cost where applicable.
The verifier records contract validity, symbolic executability, target-state restoration, and structured failure reasons for each prediction.
Input: observed state S0, target state S*, context G, program pi
- Parse pi and reject malformed output.
- For each action (a_t, theta_t) in pi:
- Check Legal(a_t, theta_t | S_{t-1}), G).
- If illegal, reject and record the failure reason.
- Compute S_t = T(S_{t-1}), a_t, theta_t; G).
- Check diagnosis, parameter validity, and target equivalence.
- Check no-fault abstention and reference-relative cost where required.
- Return pass/fail, final state, and structured failure reasons.
B.5 SPLIT PROTOCOL
The split is assembly-disjoint: train and test use different assembly identities. Assembly IDs, the sample-generation configuration, and the split manifest are fixed for the reported experiments.
The training and formal inference records use random seed 42. The split manifest is fixed for all reported experiments.
C TRAINING AND INFERENCE DETAILS
C.1 MODEL AND OPTIMIZATION
FORGE is initialized from Qwen3.5-9B at /home/models/Qwen3.5-9B. LoRA is applied to all linear modules with rank 8, scaling factor 32, and dropout 0.05. Training uses bfloat16 precision, per-device batch size 1, gradient accumulation of 4, learning rate , two epochs, a cosine scheduler, a warmup ratio of 0.03, and random seed 42.
Table 7: Recorded training and inference configuration.
| Setting | Recorded value |
|---|---|
| Base model | Qwen3.5-9B |
| Checkpoint source | /home/models/Qwen3.5-9B |
| Trainable modules | All linear modules |
| LoRA rank / scale / dropout | 8 / 32 / 0.05 |
| Precision | bfloat16 |
| Per-device batch size | 1 |
| Gradient accumulation | 4 |
| Learning rate | |
| Epochs | 2 |
| Scheduler | Cosine |
| Warmup | 0.03 warmup ratio |
| Random seed | 42 |
| Maximum input length | 12,288 tokens |
| Maximum output length | 4,096 tokens |
| Temperature | 0 |
| Beam setting | One beam |
| Checkpoint selection | Final checkpoint after 2 epochs; preregistered global step 2160 |
C.2 SERIALIZATION AND INFERENCE CONTRACT
Training examples require one JSON object with top-level keys annotation and rework_plan. The stable prompt contract is:
<System>
Return one JSON object with the declared annotation and rework_plan fields.
Do not add explanatory prose.
</System>
<User>
<public task representation>
...
</public task representation>
</User>
<Assistant>
{"annotation": ..., "rework_plan": ...}
</Assistant>
During inference, output is parsed once. Raw output is recorded before normalization and JSON parsing. Contract, action-legality, and symbolic-executability failures are counted as invalid; invalid actions are not counted as verified recovery.
C.3 BASELINE PROTOCOL
All baselines receive the same public task representation and shared output schema under the same evaluation protocol.
D EVALUATION METRICS
We evaluate FORGE from four complementary perspectives: structural sequence correctness, state and action parameter fidelity, verified recovery, and hard-case rework quality. All automatic metrics are computed from the structured prediction, the public symbolic transition engine, and the reference annotation. Scores are normalized to [0, 1] and reported as percentages in the main tables.
Let and denote the predicted and reference diagnoses for sample , and let and denote the predicted and reference rework programs. The corresponding ordered action-identity sequences are denoted by and . Let and be the predicted and reference numbers of executable actions. The symbolic replay predicate is true only when the predicted output satisfies the schema, all actions are legal, the replay produces no symbolic errors, and the final state matches the target state.
D.1 VALIDITY AND TOLERANCES
A prediction is schema-valid when it parses under the declared output contract. It is execution-valid when every action is legal in the state produced by its predecessors, symbolic replay produces no error, and the terminal state is equivalent to the target. Position, orientation, and scalar fields are compared with the fixed tolerances used by the evaluator.
Table 8: Evaluator comparison rules.
| Field family | Recorded rule |
|---|---|
| Position / translation | Tolerance-aware comparison. |
| Orientation / rotation | Tolerance-aware comparison. |
| Scalar parameter | Tolerance-aware comparison. |
| Part identity | Exact identifier equality. |
| Action type | Exact action-name equality. |
| Target state | Pose, presence, and tolerance-aware symbolic comparison. |
D.2 STRUCTURAL AND PARAMETER METRICS
Structural Sequence Exact (SSE). SSE measures whether the predicted ordered (action, part) sequence matches the verified reference sequence exactly. It captures structural sequence agreement, while action parameters and executable restoration are evaluated separately by SAPF and DGTR:
where denotes the fault samples associated with assembly . The final score is macro-averaged across assemblies.
State–Action Parameter Fidelity (SAPF). SAPF evaluates the required observable diagnostic-state fields and the reference-action parameters. Each field receives a binary score according to the declared pose tolerance, rotation tolerance, or fixed scalar tolerance. Missing fields receive zero credit. Let and denote the mean state and action parameter fidelity for sample :
where each family is first averaged within a fault-type stratum and then macro-averaged across fault types and assemblies. If one family has no applicable fields for a sample, only the supported family contributes to the sample score.
D.3 VERIFIED RECOVERY METRICS
Diagnosis-Grounded Target Restoration (DGTR). DGTR requires a valid output contract, exact fault diagnosis, successful symbolic execution of the complete predicted program, and restoration of the target state:
where indicates contract validity. No-fault samples are not included in DGTR; they are handled separately through the empty-program requirement defined by the output contract.
Verified Minimal Repair Efficiency (VMRE). VMRE measures how efficiently a verified prediction reaches the target relative to the reference cost. A prediction receives efficiency credit only when its diagnosis, execution, and required state and action parameters are valid:
where indicates complete parameter validity. The reported VMRE is the macro-average across fault types within each assembly, followed by an assembly-level macro-average. Redundant actions reduce the score, while a verified repair that matches or improves on the reference cost receives full credit.
Minimal Verified Execution (MVE). MVE is a strict binary metric that combines diagnosis, execution, parameter validity, structural sequence agreement, and reference-level action efficiency:
MVE credits programs that reproduce the validated recovery sequence, restore the target state, and use no more executable actions than the reference.
D.4 HARD-CASE METRIC
Hard Reference Quality (HRQ). HRQ evaluates difficult fault cases whose metadata is marked as hard or expert. A hard sample first must satisfy the diagnosis and verified-restoration gates. Its remaining quality is determined by action-sequence similarity and supported parameter fidelity. Let be the unit-cost edit distance between the predicted and reference action-identity sequences:
The hard-case score is then
where indicates membership in the hard subset and is the state–action parameter fidelity for that sample. HRQ is macro-averaged across assemblies and is reported only on hard fault samples.
D.5 OVERALL-CORE AND LLM-AS-JUDGE
The main aggregate score is the unweighted arithmetic mean of the six automatic metrics, computed from their unrounded values. A missing entry shown as “–” in the result tables denotes zero credit and contributes zero to this mean:
We additionally report an LLM-as-Judge semantic quality score on a fixed, stratified 60-sample subset shared by all models. The judge assigns a score from 0 to 5 based on diagnosis consistency, recovery completeness, action executability, and target-state restoration. The judge score is reported separately and is not included in OVERALL-CORE.
Human evaluation provides an auxiliary comparison with the automatic metrics and is not included in OVERALL-CORE. The detailed evaluation protocol is provided in Appendix F.
E ERROR ANALYSIS
The automatic metrics summarize different aspects of executable rework quality, but they do not show how a recovery attempt fails. We therefore organize the qualitative analysis around the point at which a generated program departs from the intended recovery trajectory. The resulting failure categories cover diagnosis, dependency handling, action grounding, execution, and final restoration.
Table 9: Failure categories used in the qualitative analysis.
| Failure category | Description | Diagnostic signal |
|---|---|---|
| Fault misdiagnosis | The predicted fault type or affected part does not match the observed assembly state. | |
| Dependency omission | A required unlock, clearing, restoration, or relocking operation is missing from the recovery program. | Missing dependency |
| Illegal grounding | The generated action or parameter is unavailable in the current symbolic state. | ¬Legal |
| Parameter error | The action type is appropriate, but its pose, rotation, or other parameters fall outside the evaluator tolerance. | Invalid parameter |
| Incomplete restoration | The program executes partially but the terminal state does not match the target configuration. | |
| Over-disassembly | The program moves additional components that are not required by the recovery route. | Excessive actions |
| No-fault intervention | The model produces a non-empty program for an already valid assembly. | |
| Schema failure | The output cannot be parsed under the declared annotation and rework-plan schema. |
E.1 FAILURE PATTERNS IN EXECUTABLE REWORK
The failure categories expose different stages of executable rework generation. Diagnosis errors occur when the model predicts an incorrect fault type or affected component, which can subsequently produce an invalid recovery structure.
Dependency errors arise when a required unlocking, clearing, restoration, or relocking step is omitted. Such omissions can make an otherwise plausible repair sequence impossible to execute under the assembly constraints.
Action-grounding errors are more local: the intended recovery step may be correct, while the selected action, part identifier, pose, rotation, or other parameter is invalid in the current symbolic state.
Finally, a program may execute partially but fail to restore the complete target configuration, or may introduce unnecessary actions beyond the required recovery route. These cases show how local errors can propagate into illegal execution, incomplete restoration, or excessive intervention.
F HUMAN EVALUATION PROTOCOL
Human evaluation uses the same fixed, stratified 60-sample subset as the LLM-as-Judge evaluation. The subset is shared by all evaluated models so that the automatic and human scores are computed on identical task instances.
Three experts with relevant experience in mechanical assembly, symbolic planning, or structured-program evaluation independently rate every model output in the subset. The experts use the same 0–5 rubric as the LLM judge, covering diagnosis consistency, recovery completeness, action executability, and target-state restoration.
For each output, the three expert ratings are averaged with equal weight. The resulting per-output scores are then averaged over the 60 sampled instances to obtain a model-level human score. Human scores are reported separately and are not included in OVERALL-CORE.