The bstack lead is the Pi on your desk. It reads your ask, matches a playbook, copies its steps into the todo list, and hands each step to the role that fits.
| You say | Playbook | What it insists on |
|---|---|---|
| how does X work, why is Y like this | investigation | evidence, no edits |
| X is broken | bug fix | a repro before a fix, the root cause |
| add or change behavior | feature | the data shape first, the real path proven |
| same behavior, better shape | refactor | behavior pinned before anything moves |
| review this | review | tests and the verify skill |
| the PR is open | ship | autopilot until green |
| several jobs at once | handoff | one beads issue per job |
| finish this branch | takeover | read the trail before touching it |
No match: the agent writes a five-step plan, each step ending in a check.
The playbooks live in the bstack skill (~/.agents/skills/bstack/SKILL.md).
Read it once. It is short.
A repeatable local metric and fixed correctness checks can make a bounded pi-autoresearch run worth proposing. The plan is not implemented: it adds no automatic run to a playbook. The lead would report the evidence and budget, Shep would ask on a Decisions card, and only Simon's explicit pick would start a visible sibling desk. No answer would mean no run. The winner would return as a verified staged patch, not the loop's experiment commits. The proposal excludes high-stakes scope, flaky metrics, live state and paid API workloads. The linked plan lists the safety gates and open questions.
Every role but the lead is an hc sibling agent the lead starts from a
template in ~/.config/herdr-core/templates/.
| Role | Template | Gets |
|---|---|---|
| lead | the desk | your ask; plans, routes, checks, reports |
| build | bstack-builder |
code from a precise brief |
| build, on Fable | bstack-builder-fable |
the same, in the builder trial on low-stakes jobs through 2026-11-30 |
| judge | bstack-judge |
a second opinion on hard design calls, prose, and the intent and description check at /validate; the lead decides |
| autopilot | bstack-autopilot |
an open PR to get green |
By default the lead, the builder and autopilot run on Claude Opus, and the judge
on GPT. The judge reviews from another provider; the lead, on Opus, makes the
call. A role names a plan (claude, gpt), fable, or a full Pi model id.
The judge runs on Fable, then Opus, until you sign in to ChatGPT; every other
role takes only Claude. A pinned model is used whether or not you are signed in to its plan.
With no sign-in at all, agents use Pi's default model.
A rate limit pauses a role until it resets, then the role goes on. Two move to Claude Fable instead: the judge while GPT is limited, and a role on Opus while a limit holds Opus alone (how it runs).
Through 2026-11-30 the lead starts bstack-builder-fable on a job whose
planned change touches no high_stakes path, and its report gets a Trial:
line (builder model, stakes, judge rounds, mistakes). Shep adds the review
outcome after you review it, so Opus and Fable builds can be compared.
To run one desk's lead on another model, without changing the lead for every
desk, hand it off with --model (handoff). Only that desk's
lead changes; the builder, judge, and autopilot it starts keep the
models above.
A sibling knows nothing you didn't put in its brief. The lead writes the brief, then checks the result itself before passing it on.
Two things carry most of the weight:
- What done looks like, in a form that can pass or fail: a command, an output, a test, a screen.
- What must not change: an output format, an API, a file you care about.
Add what you already know when it saves a search: the file, the error, the issue id. Leave out your theory of the cause until the agent has stated its own. It will look wherever you point.
users get two notifications after a retry. repro first, then fix and prove it.
investigate why background jobs time out every few hours. what we know, what data you used, best hypotheses. no code changes yet.
"no code changes yet" keeps it in the investigation playbook.
When a beads issue names the job, the issue is the spec. Say the id and nothing else:
your job is beads issue app-12a.
The agent reads it with bd show, does the work, and re-reads it before it
stops.
Next: Understand the code.