Work inside a company
The task flow
Ship tickets, not prompts. I type /task new ENG-123. The agents plan, build, test, review and open the pull requests. This is the flow for my work as a developer inside a company: it follows the team's tracker, repos and rules.
You are needed three times. Only three.
A planner on the strongest model writes PLAN.md. You annotate it and approve it.
Before any commit, you see the finished, tested, reviewed diff — once.
Prod, data loss, money, security, scope change. The agent decides and logs the rest.
A red test, a failing CI job or a pending review is not a reason to stop — it is the work. The task runs start to finish in one push.
The flow
/task new ENG-123
│
├─ worktrees one isolated git worktree per repo the ticket touches
├─ plan planner (Opus, xhigh) → PLAN.md + questions to clarify
├─ build parallel lanes: builders, runners, fixers — each owns its files
├─ test targeted tests while working, full suite in CI
├─ review 6 parallel reviewers: quality · security · tests
│ docs · simplicity · goal — every P0/P1 fixed
├─ ship commits, PRs, CI watch, merge
├─ docs updated once, last, when the code has stopped moving
└─ /task cleanup worktrees and sessions removed
| Command | What it does |
|---|---|
/task new <ticket> | Creates the worktrees, opens the task session, starts planning |
/task plan | Writes PLAN.md and opens the plan gate |
/task status | Phase, PRs, CI, and what blocks finish — --all for every task |
/task switch <branch> | Jumps to another running task |
/task pair | Switches the task to pair mode |
/task reviewd | Every decision the agent made alone — keep, change or revert it |
/task reviewq | Every question asked and its answer |
/task changes | All diffs of the task on one page |
/task finish | Checks, code review, diff gate, PRs, merge |
/task cleanup | Removes the task after the merge |
Why it scales
- Parallel tasks, zero collisions. Each task lives in its own git worktree. Run five tickets at once; none touches your main checkout or another task.
- Multi-repo by default. A ticket that spans a service, a library, an API spec and the e2e tests gets one worktree per repo, under one task: one plan, one diff, one set of PRs.
- A thin coordinator, many lanes. The main session only coordinates. Each repo, test run, PR or CI run works in its own subagent lane, so noisy logs never flood the main context.
- The right model for the stage. Planning gets the strongest model at maximum effort, implementation high effort, read-only runners a cheaper model.
- Pair programming between agents.
--pairopens a writer and a read-only reviewer of a different agent kind — Claude Code writes, OpenCode reviews, or the other way round. Hard decisions are agreed by both before a line is typed. - Every decision is on the record. Each choice the agent made alone, and each question
and answer, is logged. You audit them later with
reviewdandreviewqinstead of babysitting the session.
The cockpit: agterm
Ten agents in ten terminal tabs is chaos. The flow runs inside
agterm, a macOS terminal built for agentic work. The skills drive it
through agtermctl, and the agents build their own layout.
| agterm | What the task flow does with it |
|---|---|
| Workspace | One per company. Its name tells /task which company plugin to load — no config, no flags. |
| Session | One per task, named after the ticket, tinted in the project color and flagged, so the flagged view lists every live task. |
| Split | Pair mode: the writer on the left, the reviewer on the right. |
| Companions | Test runs, infra, consoles and reviews hang under their task and fold away. |
| Page companions | Status reports, diffs and explainers open as local HTML pages next to the task — never a file path to open by hand. |
| HUD | A small spinner over the session while the agent collects status or waits. |
| Agent status | Each row shows active, blocked or completed, so you see which agent needs you. |
Your focus is sacred. Every session opens in the background. An agent never switches your view; it only marks the row that needs you. You work on one task while five others run, and you jump in only at a checkpoint.
Next: Autopilot →