Skip to content
GitHub

Operating model

Know which stage your work is in, which packs help there, and where the agent waits for your decision.

Every piece of work moves through four stages: decide what to build, shape it, build it, and ship it. Agents do the work inside each stage. Each stage ends with a decision a person makes.

Four stages, left to right: Decide what to build, which ends when you pick the outcome. Shape it, which ends when you commit to build. Build it, which ends when you merge. Ship it, which ends when you ship. Below them, architecture by stage: before any work, architect-assess maps what exists and adapt-to-project or init-project writes reference.md; then you assess the area in Decide, design in Shape, and close-work folds the design into the current-state map after the merge.

See the detailed operating model for every route, skill, and decision.

Start at the stage your work is in. A bug fix starts at Build it.

StageWhat happensPacksIt ends when you
Decide what to buildGather evidence and make the strategic calldesk-research, product-strategyPick the outcome
Shape itFrame the idea, test the riskiest assumption, design it, cut it into piecesproduct-engineering, experience-design, architect, contractsCommit to build
Build itWrite the spec, build, run the checks, reviewcoreMerge
Ship itDeploy to a throwaway environment, test it, watch it runrelease-engineeringShip to production

Some packs help at any stage: code-intelligence to learn what the code does, governance-extras to record a decision, product-documentation to document what shipped, and atlassian, github, linear, and figma to connect your team’s tools.

You find out what is true, then choose what to bet on. desk-research answers questions with sources and a confidence rating for each finding. product-strategy turns the picture into a direction, such as a SWOT (strengths, weaknesses, opportunities, threats), goals cascaded to teams, or a press release written before the product exists. See Research a question and Set direction and goals.

You turn the outcome into work the build can take. There are three routes, and all end when you commit to build:

  • Short. Write the intent, test its riskiest assumption, and break it into pieces. Most teams start here.
  • Longer. Map the situation, the opportunities, and the options before you bet. Use it when the problem itself is unclear.
  • Supervised. The discovery-lead agent runs product, design, architecture, and contract work side by side, and two reviewers check threats and reliability before you see the brief. Use it for a new product area.

See Shape an idea.

The core pack’s work loop builds the piece: features, fixes, refactors, migrations, and upgrades. Small, low-risk work runs straight from your request. Riskier work gets a written spec and plan, which you approve before any code is written.

Lint, type checks, and tests must pass: the agent cannot report success while one fails. A shaping review checks the spec before code starts, and three reviewers then read every change cold: an adversarial reviewer for drift between spec and code, a security reviewer, and a quality reviewer. The merge is always yours. See Run the build loop.

The release-engineering pack deploys the merged work to a throwaway environment, runs end-to-end tests, and watches its live metrics until it meets the targets you set. A failure goes back to the build loop as a task. It never touches production: you read a short report on how ready it is and decide whether to ship. See Release a change.

The more permanent the action, the more the agent waits:

What happensExamplesThe agent
Can be undoneExploring options, writing and running tests, deploying to throwaway environmentsKeeps going
Needs a callA blocker, or the release loop reaching its stop pointStops and shows you where things stand
Can’t be undoneCommitting to build, merging, shipping to productionWaits for your yes

When an agent stops for a decision, it labels the decision point with a short code:

Decision pointYou decide
G0Is the problem real, and worth a bet?
G1.5What is in the first version? Shown only on the supervised route.
G2Is the brief good enough to build from?
G3Is it ready for the build loop?
G4Is the merged change ready for release testing?
G5Does it go to production?

Before any work, the architect-assess skill maps the system you have, and adapt-to-project (for an existing codebase) or init-project (for a new one) writes reference.md, the file that names your stack and standards. Every plan follows it.

After that, architecture joins each stage when it is needed: you assess the area a bet touches while deciding, design against the capabilities while shaping, and change the design in the open if the build proves it wrong. After the merge, close-work offers to fold the shipped design back into the map. See Design the architecture.

Working out what to build, building it, and shipping it are different jobs. Exploring five product ideas is cheap and a bad release is not, so each job runs in its own loop with its own checks: discovery-lead for shaping, the work loop for building, and release-lead for shipping. None runs inside another, and nothing crosses from one to the next without your decision.

Each loop installs where its work happens. Shaping happens in documents, so it installs for you; building and shipping happen in the repository, so they install there:

agentbundle install --pack product-engineering --scope user
cd path/to/your-repo
agentbundle install --pack core
agentbundle install --pack release-engineering

Install only the loops your team uses. Most teams start with core.