Writing a brief

A text file that tells a golem what to do, and its STATUS line.

A brief is a text file with a golem's task. Use one for anything longer than a few lines. Markdown works well.

What to put in it

Part Example
A STATUS line, first STATUS: working: not started
The goal Fix the date shown on the invoice page
What done looks like The page shows the due date, and the tests pass
Where to look The folder, files, links or error message
Limits Do not change the database. Ask before pushing
When to ask Ask me before adding a new library

Write down what only you know. The golem cannot read your mind or your meetings.

The STATUS line

Make it the first line, written as STATUS: <state>: <one line>. Ask the golem to keep it up to date. Its card on the Board shows it.

State Use it when
working The golem is busy
waiting: <what> It waits on something other than you, such as a review or a time
needs you: <ask> It needs an answer from you
blocked: <why> It cannot go on
done: <result> The task is finished

A golem can set the line itself from a terminal with gw status self waiting "<what>" (or working, blocked, watching, done); gw status self "waiting: <what>" as one argument works too. A golem launched with only a prompt, or only a flow, has no brief: this command makes one for it, so its STATUS still shows.

A golem on a flow whose step has run 30 minutes, or that has sat idle 15 minutes, with a STATUS that names no wait is asked once to set one: waiting: with who or what it waits on (you, the Overlord, CI, a time, another golem), or blocked:. While it rests, its card on the Board says "No reason" until it names one or moves to the next step. If it goes quiet again with none set, it is asked again after 2 hours, up to 3 times a step. A golem with no brief is asked too. A parked golem is not asked: its time counts as parked, under the wait its STATUS named.

Give it to a golem

  1. Save the file somewhere that will not be cleaned up. Do not use a temporary folder.
  2. Press "Launch Golem".
  3. Put the file's full path in "Brief" and leave "Prompt" empty. If you fill in both, the golem gets the prompt instead.
  4. Pick the workspace and flow, then press "Launch".

From a terminal, use gw launch --brief <file> --workspace <name>. To attach a brief to a golem that was launched without one, use gw brief <golem> <path>. A golem attaches one to itself with gw brief self <path>.

"Open brief" on a card opens the file beside the golem's terminal.

One brief, one golem

Write a new file for each task. A launch is refused while another golem on the Board has the same brief. A line such as Task: G-12 links the brief to that task, and a second golem for the same task is refused too. See Tasks.

All topics