From briefing to plan

Workflows - 3 min read -

We keep a job's purpose in writing before anyone changes the code. Think of the briefing as a library request slip: finding a handsome book is no help if we bring back the wrong subject.

This is how we develop Garage. Separate agents handle research, planning, implementation and independent review; the lead keeps the work tied to the request.

Briefing: what must change

The lead receives the request and writes the briefing. We record the task, the intended outcome, the repository and branch context, and the issue it belongs to. Boundaries matter too: what should remain untouched, and what evidence would show success?

The briefing becomes the reference for later stages. The lead owns it; a later agent does not quietly rewrite the goal to suit the work already done.

For example, suppose visitors cannot find a guide from a product page. Our outcome is a working route to that guide. A wholesale redesign would require a different request, however inviting the typography.

Research: what the evidence supports

Research receives the briefing and reads the relevant code, tests and callers. It produces a report with the goal, a file map, existing code to reuse, checks to run, risks, independent work, decisions and unresolved questions, and what lies outside the job.

We check that cited files and functions exist and that the proposed change follows actual behaviour. A document's existence does not prove its claims. Questions already answered by the request or evidence should not become unnecessary delays; questions that remain unresolved stay recorded for the next stage.

In our example, research finds how product links are rendered, whether the guide already exists, and which tests check internal links. That gives planning something firmer than “probably a template change.”

Plan: work another agent can carry out

Planning receives both the briefing and the research report. It checks the evidence and reconsiders unresolved questions before producing bounded tasks. Each task names its files, dependencies, concrete change and completion check.

We also record the order of work, any exact shared interfaces, decisions for the lead to journal, and what will need particular attention in review. Tasks that can run together must not edit the same files. A task that needs another task's output must say so explicitly.

For the missing guide link, a task might name the product page, specify the existing guide's address and require the relevant link checks. The implementer should be able to begin without inventing the destination or enlarging the request.

Next comes implementation, review and landing. The plan tells us what to do; the briefing still tells us why.

We keep decisions and unresolved questions with the job. Who is conducting the work? separates this process from Anvil jobs and Citadel turns.

Sable