Skip to content

Interlock: From Local Correctness to Task Completion for Long-Horizon AgentsInterlock: From Local Correctness to Task Completion in Long-Horizon Agents

Hugging Face Daily Papers· arXiv:2610.19686· Linji Hao, Yanji He, Zihan Wang, Hansi Yang, Jiayuan Zhang, Hongyan Hao, Qi Gu, Yan Feng, Han WuPeking University; The Hong Kong University of Science and Technology (Guangzhou); Tsinghua University; MeituanIndexed by this site · 2026-10-20· Originally publishedAI updates

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

INTERLOCK uses the 27B's own accepted trajectories for RFT; AutomationBench pass rate goes from 14.33% to 18.33%.

Questions
Long-horizon agents can satisfy individual requirements yet fail to maintain the relationship among evidence, decisions, and necessary effects, resulting in locally correct but incomplete outcomes. The authors aim to address: how task synthesis can preserve these conditional obligations and turn their fulfillment into transferable training experience.
Methods
INTERLOCK writes tasks as completion graphs containing grounding, coupling, and realization, compiles them into workspaces, public requests, and private scoring criteria, then applies source coverage and public support review. Each backbone is RFT-trained only on its own accepted trajectories.
Experiments and results
Interlock-RFT for both versions of Qwen3.6 is higher than the original checkpoints and ClawGym-SFT in all four columns of Table 1. The latter is lower than the original checkpoints on AutomationBench and JobBench. The authors state that with a fixed number of trajectories, the broader the training domains, the higher the four metrics.
Limitations and future work
The paper does not specifically discuss limitations or future work. The experiments cover two versions of Qwen3.6, three external benchmarks, and a ClawGym-SFT comparison, and compare text judging with agent judging. The paper does not report the name of the judge backbone used for filtering, the number of repetitions on external benchmarks, or the model used for the synthetic roles.
Experimental setupQwen3.6-27B、Qwen3.6-35B-A3B · AutomationBench、JobBench et al. · task pass rate、weighted score et al.
Evaluated models
Qwen3.6-27BQwen3.6-35B-A3B
Benchmarks
AutomationBenchJobBenchHarvey LABClawGym
Metrics
task pass rateweighted scorecriterion pass rate
AI summaryThe paper proposes the Interlock framework, which represents long-horizon tasks as typed completion graphs and compiles them into resettable workspaces, public requests, and evaluation criteria, thereby synthesizing training data. In the graph, grounding edges connect public evidence to decisions, coupling hyperedges impose joint constraints across components, and realization edges connect decisions to all required downstream outcomes. The framework uses an agent-as-judge to check execution artifacts and run validation scripts, retaining trajectories that satisfy all hard requirements; the authors fine-tune two Qwen3.6 bases on their respective accepted trajectories, improving AutomationBench task pass rate by 4.00-4.50 percentage points, JobBench weighted score by 3.20-6.64 points, and Harvey LAB criteria pass rate by 3.89-4.16 percentage points. The authors state this shows synthetic experience can transfer to external task environments. The paper was published on October 14, numbered arXiv 2610.19686.

The paper proposes the Interlock framework, which represents long-horizon tasks as typed completion graphs and compiles them into resettable workspaces, public requests, and evaluation criteria, thereby synthesizing training data. In the graph, grounding edges connect public evidence to decisions, coupling hyperedges impose joint constraints across components, and realization edges connect decisions to all required downstream outcomes. The framework uses an agent-as-judge to check execution artifacts and run validation scripts, retaining trajectories that satisfy all hard requirements; the authors fine-tune two Qwen3.6 bases on their respective accepted trajectories, improving AutomationBench task pass rate by 4.00-4.50 percentage points, JobBench weighted score by 3.20-6.64 points, and Harvey LAB criteria pass rate by 3.89-4.16 percentage points. The authors state this shows synthetic experience can transfer to external task environments. The paper was published on October 14, numbered arXiv 2610.19686.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Long-horizon completion depends on the relationship among evidence, decisions, and downstream effects, not just on single-point correctness.

    Long-horizon agents can satisfy individual requirements yet cannot maintain the relationships among evidence, decisions, and necessary effects, so they are locally correct but incomplete.

    • Scenario: The authors state that agents must handle records, rules, resources, and partially completed artifacts. Deferring an action may require explanation and handoff; changing an allocation may require changing schedules and budgets; these obligations must still land on the affected outcomes after multiple reads and writes.
    • Existing approaches: Sources mentioned in the paper include verified tool data, environment and scenario generation, composing long tasks from tool dependencies and reusable processes, and aligning instructions, environments, and verifiers with a shared specification. The authors define the organizational unit of this paper as all conditional obligations of one outcome.
    • Central question: How task synthesis can preserve conditional obligations and turn the fulfillment of obligations into transferable training experience. The example in Figure 1 is a flight booking that is correct, but the schedule and budget updates are not completed.
    • Proposed framework: The authors propose INTERLOCK. It writes tasks as typed completion graphs, compiles them into resettable workspaces, public requests, and private scoring criteria, then fine-tunes on completion-filtered trajectories and evaluates training utility on external tasks.
  2. What related research exists?

    Related work is grouped into tool data, environment generation, and graph-guided synthesis; the authors instead use completion relationships as constraints.

    Section 2 places related work on task synthesis, environment generation, and consistency among instructions, environments, and verifiers.

    Tool-use data

    • ToolAlpaca, ToolLLM, ToolACE (Tang et al., 2023; Qin et al., 2024; Liu et al., 2025) — expand tool coverage and interaction diversity.
    • APIGen (Liu et al., 2024) — adds format, execution, and semantic validation to function-calling data.

    Environments, long interactions, and exploration

    • AgentGen, AutoForge, EnvScaler (Hu et al., 2025; Cai et al., 2025; Song et al., 2026) — extend synthesis to environments and their planning tasks or executable scenarios.
    • Agent-World, ClawGym (Dong et al., 2026; Bai et al., 2026) — the former couples environment–task discovery with self-evolving training; the latter targets persistent workspaces, using persona-driven intent, skill-grounded operations, and hybrid verification.
    • ToolFlow, APIGen-MT, BUTTON, TaskCraft, AgentSynth, and VOYAGER, OS-Genesis, Explorer — obtain curricula and tasks from tool dialogues, multi-turn blueprints, subtask composition, or from environment states and exploration. The paper describes these works and does not write shortcomings for each one.

    Consistency and graph-guided synthesis

    • Endless Terminals, RST, CodeMidas, Anchor (Gandhi et al., 2026; Li et al., 2026b; Ye et al., 2026; Ivanov & Rana, 2026) — use completion tests, realign instructions and verifiers to workflows, derive coding tasks from existing implementations, or derive task artifacts and certified solutions from the same constraint program.
    • ScaleEnv, EnvFactory, SkillSynth (Tu et al., 2026; Xu et al., 2026b; Fan et al., 2026) — generate tasks from tested tool dependencies, topology-aware sampling, or skill-graph paths. The authors state that these methods organize generation around tool connectivity and skill relationships.

    Baselines and benchmarks: The comparisons are the original checkpoints of each backbone and SFT on the ClawGym released demonstrations. External evaluations are AutomationBench (600 public tasks), JobBench Main and Easy (65 tasks each), and Harvey LAB (public version, 1,251 tasks). These instances do not enter synthesis and RFT.

    The authors state that INTERLOCK's distinction is treating task-completion relationships as synthesis constraints: the completion graph grounds decisions in evidence, imposes joint constraints, and specifies downstream effects that must be produced.

  3. How does the paper address this problem?

    Completion graphs constrain the workspace, requests, and scoring criteria, then filter out trajectories that fulfill all necessary effects.

    INTERLOCK uses a typed completion graph to keep the relationships among evidence, decisions, and required effects within the synthesis process, then compiles it into a task visible to the solver and an acceptance check invisible to the solver.

    Task package and completion graph

    The task package is x=(q, W0, V). The agent receives only the public request q and the initial workspace W0; the private grading rubric V does not enter its context.

    The completion graph of specification b is Gb=(Eb,Db,Yb,RGb,RCb,RRb). E is evidence and rule roles, D is decisions and shared state that must be determined, and Y is observable effects. grounding connects evidence to decisions, including factual basis, source priority, and authorization rules. coupling is a hyperedge: a set of decisions or effects must jointly satisfy a public condition. realization specifies which effects must reflect a certain decision. Appendix H states that this graph is a requirement representation, not an execution-order DAG.

    Each effect has four fields: public basis, source population that must be considered, applicability conditions, and conditions that the delivered result must satisfy. The graph records only requirements and does not write in correct values.

    From blueprint to task artifacts

    The blueprint contains task families, archetypes, and scenario parameters. A task family gives reusable goals and obligation sets; an archetype gives recurring relational patterns, such as multiple outputs sharing one decision, or multiple allocations sharing a capacity constraint; scenario parameters instantiate entities, source facts, and initial records. The graph is built from these three items.

    Three specialized roles compile the same graph, leaving the specific associations and decisions to the solving agent. The environment builder produces W0 and the evidence index; the task writer produces q and the private delivery contract, in which each obligation must be supported by q or the public workspace; the rubric compiler writes the criteria for decisions, joint conditions, and required effects. The carrier mapping only marks where requirements land; it is not a solved assignment. The paper does not name the models for these three roles. Appendix H gives prompt excerpts and data contracts.

    The generation constraints are: controlling sources are present and the decision remains unresolved; shared conditions constrain the combined decisions or outputs; every declared downstream recipient or artifact has an observable effect and result check. Source conflicts, partial records, and outdated outputs are used to introduce work to be resolved.

    Review, execution, and admission

    Source coverage review starts from the original obligations and archetype requirements, checks whether the graph covers them, then traces to the workspace, task or contract, and rubric. The passing condition is: the graph covers the original specification, the stages that should appear have carriers, and public basis, applicability, scope, and result conditions are preserved. The authors state that when both the request and the rubric omit a certain obligation, this source anchor can still keep it within the scope of review.

    The public-input critic receives only (q, W0, V), checks whether the criteria come from public materials, whether joint requirements are consistent, and whether results can be judged based on the specified evidence. The two review directions are complementary. Confirmed defects return to the producing stage; revisions are bounded and versioned, and the paper does not give a numerical repair budget.

    Validation policy executes candidates from a fresh copy of W0. The judge looks at the initial workspace, final workspace, and changes, and gives criterion judgments and a separate package quality assessment. Admission requires passing both reviews, normal termination of execution, complete judgments, and a sound package assessment. Admission does not require the validation solver to have completed the task. When only the rubric is changed and the public input is unchanged, a normally terminated execution can be reused; other repairs require a new execution. Algorithm 1 records this as ReviewAndAdmit.

    Completion filtering and training

    agent-as-judge has terminal privileges, can inspect files, and can write and run validation scripts when needed, giving pass or fail for each required criterion. When all required criteria pass and the separately declared quality threshold is also met, AV(x, τ)=1, and the trajectory is accepted. The private rubric, corresponding records, and review feedback do not enter the training conversation (Appendix A).

    Each backbone uses its own initial policy to make multiple attempts on each admitted task, resetting the workspace each time; the experiments use 5 attempts. The training set keeps only trajectories that terminated normally, have complete judgments, have no confirmed package defects, and were accepted. The supervised objective is L(k)RFT(θk)=−𝔼(x,τ)∼ D(k)RFT∑t∈ J(τ)logπθk(zt∣ q,ht), computed only over assistant reasoning, replies, and tool calls, with workspace observations as conditions. Sampling, acceptance, and parameter updates are separate for the two backbones.

    Appendix A.1 separates partial score SV from acceptance: key groups weigh at most half, and a required failure makes that group zero. Acceptance still requires every mandatory obligation to hold.

  4. What experiments did the paper conduct?

    The authors state that in Table 1, Interlock-RFT has the highest score in every column for both backbones.

    Experimental Setup

    • Backbones and conditions: Qwen3.6-27B and Qwen3.6-35B-A3B. Each comparison uses Original, ClawGym-SFT (directly using the ClawGym released demonstrations), and Interlock-RFT (each backbone's own accepted trajectories). Training and evaluation use thinking mode, and reasoning tokens are included in the supervised loss.
    • Interlock-RFT data: 3,278 tasks are retained, requiring each of the two backbones to have at least one accepted trajectory. 5 attempts per task per backbone, 32,780 in total, of which 32,370 ended normally. 8,957 of each backbone's own accepted trajectories are selected, about 154M supervised tokens (before epoch repetition; including reasoning, responses, and tool calls, excluding tool observations and tool schemas). The paper does not give the number of trajectories for ClawGym-SFT.
    • SFT configuration: Table 3 is shared by both backbones: 5 epochs, 16 NVIDIA H200 (141 GB each), maximum sequence 200k tokens, learning rate 2×10^(-5), batch 64, warmup ratio 0.03, cosine.
    • Benchmarks: AutomationBench has 600 public tasks, 100 in each of six business domains, with programmatic assertions checking the final application state. JobBench has 130 tasks across 35 occupations, 65 each in Main and Easy; Easy does not use web search. The public version of Harvey LAB has 1,251 tasks across 24 legal practice areas. These instances do not enter synthesis or RFT.
    • Metrics: AutomationBench is task pass rate; JobBench is the weighted score averaged with equal task weights on a 0–100 scale; Harvey LAB is criterion pass rate, i.e., the number of binary criteria passed divided by the total number of evaluation criteria. Higher is better.
    • Evaluation: JobBench runs in OpenCode; the evaluation model for JobBench and Harvey LAB is GPT-5.5. The two judges for trajectory filtering use the same judge backbone, whose name the paper does not give. Appendix G.2 states that the repetition arrangement for each condition is the same but does not give the number of repetitions.

    Main Results

    According to Table 1. AutomationBench and Harvey LAB are pass rates (%), JobBench is weighted score (0–100).

    Swipe horizontally to read the table

    ModelMethodAutomationBenchJobBench MainJobBench EasyHarvey LAB
    Qwen3.6-27BOriginal14.3314.1154.4673.96
    Qwen3.6-27BClawGym-SFT9.0011.8248.0175.03
    Qwen3.6-27BInterlock-RFT18.3318.4661.1077.85
    Qwen3.6-35B-A3BOriginal9.0011.8151.8654.18
    Qwen3.6-35B-A3BClawGym-SFT5.176.2540.6654.97
    Qwen3.6-35B-A3BInterlock-RFT13.5015.0156.1758.34
    • The authors state that Interlock-RFT is highest in every column for both backbones, and that the improvements cover API coordination, professional deliverables, and legal work.
    • Relative to Original, the authors report for 27B differences of 4.00 percentage points on AutomationBench, 4.35 and 6.64 points on JobBench Main and Easy, and 3.89 percentage points on Harvey LAB; for 35B-A3B, 4.50 percentage points, 3.20 and 4.31 points, and 4.16 percentage points (Section 4.2).
    • ClawGym-SFT is lower than Original on AutomationBench and both JobBench tiers for both backbones, and higher than Original on Harvey LAB. The authors do not explain this difference.

    Domain Coverage

    • What was tested: The number of trajectories is fixed at 8,957, and the number of domains is set to 16, 32, 64, and 128; only Qwen3.6-27B is reported. The x-axis 0 is the original checkpoint, and 128 is all domains of that model's main experiment (Section 4.3, Figure 3).
    • Results: The authors state that all four metrics rise at every level, with 128 domains highest, consistent with the Interlock-RFT row of Table 1. The main text does not list the intermediate values for each level.
    • Authors' interpretation: The authors state that with a fixed number of trajectories, broader domain coverage provides more diverse completion requirements; the joint improvement across three types of external work supports learning transferable completion behavior from full execution.

    Evaluation Method and Execution Length

    • Filtering comparison: Same judge backbone, scoring criteria, acceptance rules, and Qwen3.6-27B trajectory pool. Text evaluation only looks at the fixed text of the workspace and its diff; agent evaluation can inspect snapshots and write and run verification scripts. The text condition is fine-tuned from the same initial checkpoint with the same optimization settings. The agent condition reuses the Interlock-RFT checkpoint from the main experiment (Section 4.4).
    • Table 2: No SFT is 14.33, 14.11, 54.46, 73.96; LLM-as-judge is 13.17, 15.14, 56.53, 75.28; agent-as-judge is 18.33, 18.46, 61.10, 77.85. Evaluation output is 11.03 and 12.28 (k tokens/candidate trajectory, including rejected trajectories, excluding tool returns). The authors state an increase of 11.3%, about 1.25k more tokens, and that with a fixed supervision budget, executable verification increases the training value of the selected trajectories. LLM-as-judge's AutomationBench is lower than no SFT; the authors do not explain this.
    • Execution length: The comparison is between 32,370 normally ended trajectories and 24,497 ClawGym released trajectories; the paper does not describe the latter as the ClawGym-SFT training set. In Section 4.5, the average recorded tokens are 84,293 vs. 14,940, assistant turns 27.63 vs. 11.92, tool calls 42.10 vs. 14.76, ratios 5.64×, 2.32×, 2.85×; median turns 25 vs. 9, median tool calls 40 vs. 12. Appendix C gives the means as 84,292.51 and 14,939.62, and gives INTERLOCK's median tokens 74,384.5, P95 171,549.1, and 51 turns and 70 calls.

    Completion Failure Cases

    • Figure 6: Two attempts by Qwen3.6-27B on the same public input both ended normally. The saved criteria for the recovery plan are 14/30 and 30/30; the training schedule is 24/40 and 40/40. The authors use these two examples to contrast supply, the whole order, and cost, as well as whether the scope to be trained, shift windows, and date-bearing qualifications are implemented along with the same plan.
    • First two examples in Appendix F: The field trial uses Qwen3.6-35B-A3B, with saved evaluations 15/22 and 22/22. The charging network uses Qwen3.6-27B, 35/44 and 41/44, both incomplete; the authors state that attempt 2 still does not establish complete service.
    • Payroll closing: Saved evaluations are 20/29 and 29/29. The authors' independent file audit still finds that both use 19.5%, while the public rule requires 22%; under a $96 total, the recorded net is $77.28, while $74.88 is required.

    Other Ablations and Analyses

    • Appendix D: 3,278 tasks, 128 domains, 484 task families, 8 archetypes; median source files 17, median criteria 30; archetype shares range from Design & Construct 713 (21.8%) at one end to Transform & Migrate 244 (7.4%) at the other.
    • 99,219 criteria: content checks 43,698 (44.04%), recomputation 40,555 (40.87%), initial-final comparison 10,748 (10.83%), text matching 4,218 (4.25%) (Figure 10).
    • Figure 11: Content checks account for 53.6% in Design & Construct; recomputation accounts for 56.4% and 58.1% in Classify, Route & Act and Transform & Migrate; recomputation accounts for 46.3% in Plan & Optimize.
    • Figure 12: Task-level Spearman, the ρ of criteria count with recorded tokens and assistant turns is 0.336 and 0.359, with 95% confidence intervals [0.304, 0.367] and [0.325, 0.392]; the ρ of initial file count is −0.036 and 0.041. The intervals come from 2,000 bootstraps clustered by source task pack.
    • Figure 5: Public task statements are encoded with BGE-M3, then processed with PCA and t-SNE. The authors state that INTERLOCK statements span a relatively broad region and form multiple dispersed groups, and the three external benchmarks form their own groups; the main text does not give coordinates.
  5. What are some points that can be further explored?

    The paper does not specifically discuss limitations, nor does it list future work.

    Limitations and future directions noted by the authors

    The paper does not specifically discuss limitations. The Conclusion and appendices contain no Future Work entry.

    Scope of experimental coverage

    • Main results include Qwen3.6-27B and Qwen3.6-35B-A3B, each with Original, ClawGym-SFT, and Interlock-RFT, with metrics being AutomationBench task pass rate, JobBench Main and Easy weighted scores, and Harvey LAB criterion pass rate (Table 1, Section 4.1–4.2).
    • The domain-count ablation takes 16, 32, 64, 128 on 8,957 trajectories and reports only Qwen3.6-27B (Figure 3). The trajectory filtering comparison compares LLM-as-judge with agent-as-judge on that 27B trajectory pool (Table 2). Execution length uses 32,370 normally terminated trajectories and 24,497 ClawGym released trajectories (Section 4.5).
    • The cases compare two attempts on the same public input: the two examples in Figure 6 use Qwen3.6-27B; the field trial in Appendix F uses Qwen3.6-35B-A3B, and the charging network and payroll close use Qwen3.6-27B. Corpus statistics cover the 3,278 retained tasks (Appendix D).
    • The paper does not report the models used for the synthetic roles and validation policy, the name of the judge backbone in Table 2, the number of repetitions on external benchmarks, or the agreement between GPT-5.5 review and human judgment (Section 3.2, Section 4.4, Appendix G.2).
    • Appendix B defines protocols for follow-through rate FTR, paired comparisons, and composition-shift diagnostics; the main text does not report numerical values for these diagnostics.
  6. Summarize the main content of the paper

    RFT with trajectories synthesized and filtered using completion graphs; both versions of Qwen3.6 are higher than the original checkpoints on external benchmarks.

    INTERLOCK is a long-horizon task synthesis and rejection-sampling fine-tuning pipeline, used to turn the fulfillment of conditional obligations into training trajectories.

    • Problem: The authors argue that short requests carry obligations across records. Individual requirements may be done correctly, yet necessary consequences may still fail to land on every affected artifact. Synthesis must preserve these obligations and turn fulfillment into transferable experience.
    • Approach: The completion graph uses grounding, coupling, and realization to constrain evidence basis, joint conditions, and consequences that must be delivered, respectively. The solver sees only the request and workspace, and the rubric remains private. Admission requires review to pass, validation execution to terminate normally, and the package assessment to be sound, but does not require that particular solve to be completed. Training uses only that backbone's own accepted trajectories, and the loss falls only on assistant tokens.
    • External scores: In Table 1, Qwen3.6-27B Interlock-RFT is 18.33, 18.46, 61.10, 77.85, and Original is 14.33, 14.11, 54.46, 73.96. Qwen3.6-35B-A3B Interlock-RFT is 13.50, 15.01, 56.17, 58.34, and Original is 9.00, 11.81, 51.86, 54.18. The column order is AutomationBench, JobBench Main, Easy, Harvey LAB. ClawGym-SFT is below Original in the first three columns and above Original on Harvey LAB.
    • Authors' conclusion: The authors state that experience from full synthetic execution can transfer to independently written tasks with different environments. The authors also state that with a fixed number of trajectories, broader domain coverage yields higher values on all four metrics. In Table 2, AutomationBench after text-review filtering is 13.17, below 14.33 without SFT.
Read originalhuggingface.co