Skip to main content

Module subtask_driver

Module subtask_driver 

Source
Expand description

ATLAS-style subtask decomposition driver.

After the model outputs a plan (Phase 2 planning phase), the Agent extracts target files and drives execution file-by-file:

  1. “Now edit backend/Service.java — make ALL changes in ONE edit”
  2. Auto-compile after each file
  3. If fail → model fixes (same file)
  4. If pass → next file

This prevents fragmented edits (10 small changes) and catches errors early.

Structs§

Subtask
A subtask = one file to modify.
SubtaskDriver
Driver state for subtask execution.