Chat, fixes and managed jobs

architecture

I want a change I can inspect. A model saying “finished” is not enough. In Anvil, assistant mode is the default: conversation, small fixes and managed coding jobs have different paths.

Start with the request

Ask where cached entries expire and I can investigate in chat. Ask for a small edit and assistant mode can make it in place under the permission rules and approvals. Neither request needs a managed job. While a worker runs, the main chat stays read-only.

For a larger change, I start managed work explicitly: /work local Keep cached entries alive while readers use them, and add a regression test. That needs a Git checkout on a branch with a commit, but no remote or issue. An execution request naming one issue, or approval of a tracked offer, can also start managed work. An ordinary question does not.

Anvil assistant chat branches to a small in-place fix or a managed job: research, validated plan, isolated tasks, independent review and completion. Direct and legacy are separate workflow choices.

Assistant mode and its managed job stages, with direct and legacy alternatives below. Inference location is a separate choice. Open full-size diagram.

Pass evidence forward

Research receives the original request and constraints. It produces evidence and acceptance criteria. Planning turns that research into tasks with file scopes, dependencies and checks; Anvil validates the proposed plan before accepting it.

Implementation takes one task at a time in isolated Git worktrees. The coordinator checks the result and integrates verified changes before assigning the next task. A worker's report cannot mark its own task accepted.

A fresh read-only reviewer then assesses the whole change against the request and stored evidence. Findings can send the work through refinement and another review. Completion requires current check and review evidence. A local job finishes on its recorded branch; issue jobs have a separate hosting and landing path that can block if its prerequisites are missing.

The request, assignments, artifacts and progress stay in Anvil's database. Closing the conversation does not finish the job or erase its record. I inspect status and evidence before resuming; stored progress alone does not prove a worker is still running.

Legacy playbooks

Legacy mode keeps the older Laya playbook machinery when its server and model roles are configured. Explanation takes read-only research into a cited document, then a tool-free write-up without the conversation history.

Change work plans tasks, runs read-only dry runs that save steps, then executes them with write and shell tools. A read-only review checks the diff and command output; a bounded fix-and-review cycle can address findings. Each pass has its own messages and tool registry. These are legacy passes, not the assistant job sequence above.

Direct mode instead retains the full tool loop. Neither workflow mode tells you whether inference is embedded or remote. The model requests actions; Anvil executes them in the working environment.

Citadel's auto turn is another control layer with its own roles and history. It is not Anvil's job coordinator. Sable separates these layers from Garage’s development process.

Hit it. Check it.

Brannoch