Run a KORUS build

Run a KORUS build with a manager and one or more builders. Builders may be subagents or separate sessions. This procedure follows The KORUS framework, one operator’s account of months using Claude Code.

Distinct jobs reduce the chance that two sessions decide the same thing. Complete Quickstart first; this procedure assumes installed and proven gates.

The console seat was meant to oversee many parts of the build. That did not work, so the manager replaced it and the console retired on 2026-09-10.

The manager assigns work to its builders, reads their results, and opens the pull requests. It decides when to cut one, and one usually carries a whole wave of builders. A builder can run as a subagent or in its own session.

Name that choice in each brief. Subagents return results to the manager; separate sessions need an explicit message route.

Fourteen steps run from the owner’s assignment to a closed item. The build-to-land flow lists them.


The shape

Give each job a seat. No script, role flag, or routing implements these roles; you establish them in opening prompts and CLAUDE.md.

A Manager runs one or more Builders as subagents or separate sessions. Pull requests go to the authorized Lander, then the merge queue. A Watchdog reads the drain without acting on it. No seat attributes a failed check: the Lander triages and routes it, and everything else is the Owner's to rule on.
The Manager runs one or more Builders, with one brief per task. Each Builder can be a subagent or a separate session. The authorized Lander sets queue order; the queue merges. The Watchdog reads the drain and never drains. A failed check goes to no seat: the Lander triages and routes it, and the rest is the Owner's. Editable diagram.

The Builder uses its own worktree and branch, with the collision gate checking covered edits. Findings stay on the pull request for correction, and nobody waits for them.

The Builder reviews its own diff before it pushes, at the effort level its brief names. Two rounds, then it ships whatever the second round says.

A role name grants no merge permission. The operator must give the Lander authority through the documented route; the retired review label enforces nothing.

Session Owns Must not
Manager Its builders, their briefs, their results, and when to cut a pull request and what goes in it Write application code, or check the pool before opening
Builder The change, the review, the commit, and the push for one brief Guess at what the brief left open, wait for an answer, or open the pull request
Lander A handed-over pull request, from the handover to the merge, the ledger and the claim Hold a pull request waiting for a review seat that no longer exists

The review seat retired on 2026-09-12 and nothing replaced it. The owner had already removed the required gate check on 2026-09-04; it read the reviewed label, which blocks nothing.

Earlier instructions told that seat to apply the label and landers to wait for it. Following those instructions now wastes a turn on an inactive check and an empty seat.

The ASVS monitor retired on 2026-09-01. It had been a fifth session updating the security register as builders completed work.

This setup helps divide work larger than one context. An OWASP ASVS 5.0 assessment has several hundred requirements; separate sessions need common rules to keep their verdicts consistent.

Large assessments is the method for that case.

The build-to-land flow

Fourteen steps run from the owner’s assignment to a closed item. Owner-set 2026-09-18. Steps 8 and 9 gained the QA line on 2026-09-20; the fourteen and their order did not change.

# Seat Step
1 Manager Receives the assignment.
2 Manager Briefs one or more builders. Each brief names the backlog number, the worktree, and the code-review effort level.
3 Builder Takes the claim before its first commit: claim.ps1 -Take <N>.
4 Builder Codes what the brief names.
5 Builder Runs the /code-review skill at xhigh effort, and keeps its first line for the report.
6 Builder Applies confirmed fixes and reviews again. Two rounds maximum.
7 Builder Commits, pushes its branch, exits.
8 Builder Reports to the manager, and writes the QA line for the manager to post.
9 Manager Checks each branch is on the remote, cuts the pull request, applies the qa label and posts each QA line. One pull request usually carries the whole wave.
10 Manager Messages or mails the lander.
11 Lander Owns the pull request. Triages a red check and dispatches any repair.
12 Lander Enqueues as it judges best.
13 GitHub Merges.
14 Lander Updates the backlog and releases the claim, in one act.

Step 5 read “keeps its first line” until 2026-09-22. That first line is often prose rather than a tag, so it is the report that keeps it. roles/BUILDER.md 4e holds the reading and the commands.

Why the steps that look redundant are not

Step 3 says -Take, not -Claim. The gate fires at commit time in the builder’s own worktree. Nobody can take the claim on the builder’s behalf.

Step 6 stops at two rounds. Adversarial repair is not monotonic. A second round can introduce what the first accepted, so an unbounded loop oscillates rather than converges.

If round two still reports findings, ship anyway. Attach the critic notes to the pull request body, minus what roles/COMMON.md, “A public repository never carries the scorecard’s map”, keeps out.

Step 7 requires a self-describing final commit. Its message carries the proposed pull request title and the proposed ledger banner text.

That is mandatory, not a nicety. It is what makes the branch usable if the manager dies before step 9.

Step 8 names what the builder did NOT run. Each hosted-only leg, by name. A leg nobody names reads downstream as green.

Step 9 reads the remote, not the report. git ls-remote --heads origin answers it. A push that failed after the report was written looks identical to one that worked.

Step 9 has no pool check. Five managers independently reading a shared pool all see “clear” and open together, which manufactures the burst it is meant to prevent.

Step 11 rules out a capacity artifact first. A rollup that completed while its own children were still queued is not a finding.

For a genuine failure the lander dispatches a repair, preferring a spawned session over a subagent when the fix is non-trivial. A subagent dies with the lander, and this is someone else’s branch.

Step 14 is one act, not two. An orphaned claim blocks the next session on that row, and nothing anywhere reports it.

Before you open any session

Do this Why Where
Install and prove the gates Roles are advisory; the gates are not Quickstart
Run one task end to end, by hand You cannot size the queue until you know how long one task takes to land Coordination
Give each session its own worktree Two sessions in one tree overwrite each other Worktrees
Choose how each builder runs Subagents use the manager’s account and return results directly. Separate sessions need a message route Worker brief
Check the spawn grant when launching a separate session The grant applies to the launching config root. Subagents do not need it Desktop accounts
Wire the steering hook It only takes effect in sessions started afterwards Steering
Write the working agreement It only reaches sessions that start later CLAUDE.md.template
Turn on Ultracode and pick Opus 5 in every session The build shape assumes workflows and adversarial review The KORUS framework
Be on Max 20x, and expect to need more than one account This shape spends a weekly window in about two days. Check current plan terms yourself; that page dates from 2026-08 The KORUS framework

The manual-trial row reflects the Every team’s experience, not a measurement here. They ran the flow until predictable; automating sooner produced duplicate issues and PRs for finished work.

Repeat the manual trial until you can predict the flow. Set up extra accounts before starting, with one desktop instance each (Desktop accounts); installers must reach every config root.

1. Open the manager

The manager holds its work plan and runs one or more builders. It can use subagents, separate sessions, or both. Each builder gets a bounded task and its own worktree.

Paste this prompt:

You are the manager for this build. You plan and track; you do not write application code.

Read the backlog. Produce a build plan that breaks it into tasks sized for one session each,
and write an ADR for any decision that outlives the task that made it.

Write one complete brief per task. Name the backlog number, the worktree, and the code-review
effort level. Tell the builder to end its report with the QA line you will post.
State whether the builder is a subagent or a separate session. For a subagent,
receive its result directly. For a separate session, name a working message route.
Give each builder its own worktree and branch. Check for overlapping paths before dispatch.
When a builder reports a blocker, read it, update the backlog, and revise the brief.

Read each builder's result. Check the branch reached the remote yourself:
  git ls-remote --heads origin
You decide when to cut a pull request. Default to one per wave: merge the wave's branches onto a
fresh branch from origin/main with git merge --no-ff, run the checks once on the combined tree,
and open one pull request. Build the batch in a throwaway worktree, never your own. Cut it when
every builder has reported or before you close, whichever comes first. There is no item cap. Cut
without a builder still running about 30 minutes after the rest reported.
Give an item its own pull request if it fixes a red main, changes a security control, supersedes
an ADR, or must land in order against another open pull request. Send an item that is red or
conflicts back to a builder. Never write a conflict resolution yourself. roles/MANAGER.md, "When to cut a pull request", holds
the steps. Do not count open pull requests first: every manager reading one shared pool sees
"clear" at the same moment, and they all open together.

Put each builder's report in the pull request body, one section per item, with its branch and
head SHA. A builder cannot post there itself. First take out what roles/COMMON.md, "A public
repository never carries the scorecard's map", keeps out of a public place. Read each builder's
last commit message for the proposed title and the proposed ledger banner text.

Post each builder's QA line on it, verbatim, one comment per item. Label it qa only if every
item has a line:
  gh pr edit <N> --add-label qa
  gh pr comment <N> --body "<the builder's QA line>"
The label records that the builder's check ran. It gates nothing: no repository's main
requires a label. Read the live set from branch protection. No line means no label.

Message the lander with five fields: pull request number, head SHA, unread legs, known defects,
and any landing-order constraint. The pull request is the lander's from that message on.

Remove your builders' worktrees and delete their remote branches once the pull request is open.
refs/pull/<N>/head keeps every merge parent, so each item's SHA survives a squashed landing.

Do not build. Do not merge. Do not enqueue.

The manager returns a plan and task breakdown. Have it save the backlog in a tracked file before briefing workers, so the plan survives a lost context.

2. Give each builder one brief

The manager starts each builder in the mode named in its brief. Give each builder its own worktree and branch.

Subagents share the manager’s process and account. They stop when the manager exits, so confirm that work is pushed before closing it.

Paste this prompt:

You are a builder. Your brief names whether you run as a subagent or a separate session.
Build the task in your brief as a workflow, then report through the route it names.

If the brief leaves something open, do not guess and do not wait for an answer. Write the
question through the route in your brief and stop. Your manager carries it onto the pull
request. You cannot: it opens after you exit.

Before your first commit, take a claim on the task with a one-line note saying what you build:
  pwsh -NoProfile -File scripts/coord/claim.ps1 -Take "<task>" -Note "<what you are building>"

The flag is -Take, not -Claim. The gate fires at commit time in your own worktree, so nobody
can take the claim for you.

A free-text key like this is ADVISORY: peers can see it, and nothing enforces it. Only a
numbered key is enforced, by the commit-msg gate, and only when your commit subject names it.
A claim can also be refused because somebody holds it -- read the result.

Before editing a file you did not create, check who else is in it. Pass the path -- a bare
run prints the whole-repo roster and never names a file:
  pwsh -NoProfile -File scripts/coord/overlap.ps1 -File <path>

Read the exit code, not just the rows. 0 means the question was answered, including an
answer of nobody. 2 means it could not be, and silence there is not an all-clear.

Before you commit for the last time, review your own diff:
  /code-review at the effort level your brief names, xhigh by default
Apply what you confirm, then review once more. Stop after two rounds. If round two still
reports findings, ship anyway and hand the notes to your manager.

Commit at logical stops. Your LAST commit message carries the proposed pull request title and
the proposed ledger banner text. That is mandatory: it is what makes the branch usable if your
manager dies before it opens the pull request.

Push your own branch, then report: branch name, head SHA, review level and outcome, the
skill's own first line verbatim for each round, what you ran, and what you did NOT run.
Name every hosted-only leg.

End the report with the QA line your manager posts for you, in this shape:
  QA -- korus roles/BUILDER.md step 11
  Level: xhigh, from the brief. Tag: <tag line the tool printed> (fork <id> <nonce>).
  Rounds: 2. Findings: 3 confirmed and fixed, 1 rejected (reason), 0 open.
`Level` is the level you passed AND where it came from: "from the brief", or
"4c default", or "inherited, not passed" if you made a bare call. `Tag` is the
tag line korus scripts/quality/review_tag.py printed after the round. Give
each round a fresh nonce right after the level, "xhigh round-<10 hex> ...",
all on one line, and run review_tag.py --target <nonce> --since <a time just
before the round>.
Note the fork id and the nonce: the line names the fork, never the tool. On
exit 3 after an inline round, quote the tag from your own context and write
"(inline, no fork)". Otherwise, where it
exits 3 or 5, or 4 with "no projects dir", write "none returned" and quote its
message. Exit 11 is never a reading: quote nothing from it, and re-run with the
nonce. Any other non-zero exit is a refusal: re-run it as its message says,
and if it still refuses, write "not read: refused, exit <n>" and quote it. korus
roles/BUILDER.md 4e says how to fetch it pinned to a commit.
The QA line never uses the word "review", so the skill's own opener goes in the
report above it. Then exit.

Do not open the pull request; your manager does. Do not merge; the lander does.

Use Brief a worker session to fill out each prompt. Its rule requires a worker to ask when the brief leaves a needed answer open.

Each builder claims its work and checks for file overlap before editing. The collision gate normally refuses a second session’s edit to a held file (Coordination).

The refusal requires a live peer worktree with uncommitted changes to that exact path. A peer that committed and went clean is reported but does not block the edit.

The gate also fails open. Check its blind spots before relying on it.

A worker that stops after one brief spends nothing waiting. A session kept open to poll pays for its full context on every pass.

This setup exhausts a weekly window in about two days (The KORUS framework). That is why the framework expects multiple accounts.

Token accounting measures the value of one percent of a weekly window. It also estimates a month’s cost at published API rates.

3. Open the lander

The lander owns merge-order decisions so one session controls how the trunk advances.

Paste this prompt:

You are the lander. You decide what enters the merge queue and in what order, and you
merge-forward. Builders push their own branches; their managers open the pull requests.

A manager hands you a pull request with five fields: number, head SHA, unread legs, known
defects, and any landing-order constraint. From that message it is yours. Poll anyway:
nothing pushes a pull request to you, and a handover that was never sent strands nothing.

Before you call a red check a failure, rule out a capacity artifact. A rollup that completed
while its own children were still queued reports on legs that never ran.

For a genuine failure, dispatch a repair. Prefer a spawned session over a subagent when the
fix is non-trivial: a subagent dies with you, and this is someone else's branch.

When it merges, update the backlog and release each item's claim in the same act. A batch pull
request closes every item it names:
  pwsh -NoProfile -File scripts/coord/claim.ps1 -Release <N>
The claim is another worktree's, so the script refuses and probes the holder. Read that line
before you reach for -Force.

No review seat sits in front of you. That seat retired on 2026-09-12 and the
required check that read a reviewed label was removed on 2026-09-04, so the label blocks
nothing. Merge on the required checks once you hold proof that code review ran
(owner ruling 2026-09-29); without it, send the change to code review. Keep one
ledger-appending pull request in the queue at a time.

Read state rather than being told it:
  pwsh -NoProfile -File scripts/coord/presence.ps1   # who is live
  pwsh -NoProfile -File scripts/coord/overlap.ps1    # what is in flight

Decide which of two branches on the same ground lands first, and who re-syncs after.
You arbitrate and land. You do not build.

The lander reads branch state instead of waiting for messages about it. The manager’s handover adds the four things the queue cannot report, and it replaces nothing.

Builders push their branches and their managers open the pull requests. The lander reads open pull requests and takes the ones whose checks are green.

Read any comments already on the pull request. The required checks cannot establish that anyone read the diff. From 2026-09-12 until 2026-09-29, no seat was assigned to read it.

CORRECTED 2026-09-29: the sentence before read “since 2026-09-12 no seat is assigned to”, cut off mid-clause. Since an owner ruling that day, the lander merges only on proof that code review ran, or sends the change to code review.

Running multiple sessions defines the lander’s authority and route. Authority cannot transfer; a worker unable to reach the lander remains blocked from merging.

The daily loop

  1. Ask the manager what is in flight. It answers from the backlog, not from memory.
  2. Check the builders have not collided. A bare overlap.ps1 gives the roster; -File <path> answers who is in one file.
  3. Steer rather than wait. A session deep in the wrong approach does not see your typing until its turn ends (Steering).
  4. Let the lander land. It decides the order. You approve the merge in words, once, and that approval does not carry to the next branch.
  5. Prune what merged, from the primary checkout. prune-merged.ps1 refuses to run from a linked worktree, and every session here is in one. It removes worktrees that are merged and clean and unoccupied (Pruning).
  6. Re-prove the gates when something surprises you. They fail byte-identically to succeeding, so a quiet week is not evidence: pwsh -NoProfile -File <tooling>/bin/ccx-doctor.ps1 -Repo <target> (Troubleshooting).

When it goes wrong

Symptom What it actually is Go to
Two branches built the same feature Effort overlap. No gate can compute it Coordination
Two records took the same number The collision git cannot see Sequence allocation
A session is deep in the wrong approach Your typing queues until the turn ends Steering
Branches will not land Four states with three different fixes PRs and merges
A peer cannot be reached at all Extension session, or another login Session mail, including its delivery limits
Everything is green and you cannot tell if any of it runs Every failure here looks like success Limits and requirements

What this shape does not decide for you

The earlier version described mail as an unshipped design. The sender and drain now ship; Session mail explains which clients have been tested.

Gates refuse collisions but do not review quality. Continuous integration establishes whether checks passed (CI for leaders).

Usage-limit awareness remains a design, with no shipped hook (Usage awareness).

Assign one writer for project memory and shared notes. Those stores use last-write-wins outside git, with no gate to enforce ownership.

For Read
The template for one worker’s prompt, and the rule that stops it guessing Brief a worker session
The account of why this shape, in its author’s words The KORUS framework
Which surface to run the sessions on, and the channels between them Running multiple sessions
The model every page here applies Concepts
The things that bite, in the order they bite Tips and tricks