otto ยท owner review

otto P1 Review Pack

Read this page instead of the product requirements document (PRD). P1 is phase 1 of the otto plan that you approved on 26 September.

27 September 2026PRD: otto-p1/prd-p1.md, revision 6.1, commit 316f3d2Written in Simplified Technical English (ASD-STE100)
DELIVERED P1 does it as the brief says CHANGED P1 does it in another form, or in part NOT IN P1 a later phase does it HUMAN-OWNED a person does it, never otto OPEN it waits for your reply

Status in one line. The PRD is at revision 6.1, and seven review rounds ran on it. The checker, otto check, found no blocker in any round. The round-5 panel found two blockers, and revision 6 fixed both. Round 7 checked revision 6.1 and found 16 majors. Like every round, its verdict is FIX-FIRST, which means fix before a build. Nine of the 16 repeat earlier requests. Seven are new, and section 6 lists them as items 13 to 19. The PRD's rule sends these findings to you, and we apply none of them unless you say so.

What "go" means. We convert the PRD into otto's task file and split it into about 30 parts. The installed otto builds the parts in a separate checkout. We install nothing until you review the result. If you say no, no story runs.

Short path, about six minutes. For the decision alone, read the status box above, then sections 6, 7 and 9.

1. What this is and what it is not

P1 fixes the faults in otto's build loop that the navigation build showed. It is 20 stories of bash changes to otto's engine, tests, README and skills. otto runs the stories one at a time, in one chain.

P1 is

  • Bash only, on the current otto.sh and plan.sh.
  • Built in a separate checkout, the worktree /home/stevan/dev/otto-p1, on the branch factory/p1.
  • Tested with fake model tools, plus a few named checks against the real Claude, Codex and Slack.
  • Compatible with bash 3.2, the Mac system bash.
  • Additive. Old task files keep working, and every new field is optional.

P1 is not

  • Phase 2 (P2). It has no account pool, mid-run rate-limit handling, otto resolve, otto approve, profiles or host claims.
  • The new Go engine. That engine comes after P1, and it must pass the same contract tests.
  • A vendor software development kit (SDK). otto keeps the Claude and Codex subscription tools and their command lines.
  • Phase 3 (P3). It has no otto feature front door, design boards or release adapters.

Words on this page

PRD
Product requirements document. It holds the stories and their acceptance criteria.
Task file
The JSON file (structured data) that otto plan convert makes from a PRD.
Executor
The model tool that does a story: Claude or Codex.
Operator
The person or agent who starts and watches a run.
Block
A story cannot finish, and the executor or otto gives the reason.
Park
otto stops trying a story after repeated blocks.
Heartbeat
A time stamp that otto refreshes while it works.
HLDD
High-level design document.
Smoke suite
otto's end-to-end test script, tests/smoke.sh.
otto check
A hostile review of a PRD by Codex. It rates each finding as blocker, major or minor.
Sizer
The /prd-task-sizer tool. It splits large stories into parts before a build.

2. What changes for the person running otto

This section is for the operator: Stevan today, Phil next.

Exit codes

Each way a run ends has its own code, and the final status shows the same code. Today otto exits 1 even after a clean finish.

CodeMeaningWhat to do
0Complete. Every open story passed.Nothing. Human-owned stories can still wait.
1Failed. An executor error after retries, a failed write or a crash.Read the log before you relaunch.
2Usage. A bare otto implement, a bad number or a bad flag. otto writes nothing.Correct the command.
3Preflight. A check failed at the start, or the login failed during the run. A relaunch after a crash also stops here when the plan changed.Read exit_check in the status. For usage, wait for quota or switch account. For plan, check the change, then relaunch with --accept-plan-change. Otherwise, fix the check.
4Parked. Nothing can run, and one or more stories have parked.Fix the story, delete its parked field and relaunch.
5Blocked. Nothing can run. Open stories wait on blocked or human-owned work.Resolve the named cause, then relaunch.
6Cap. The iteration count ran out, and work remains.Relaunch. Only this code allows an automatic relaunch.
7Budget. The PRD's budget forbids the next launch.Ask a person. Never relaunch automatically.
8Locked. Another live run owns this PRD. otto writes nothing.Do not start a second run.
129, 130, 143Interrupted by a hang-up signal, Ctrl-C or a terminate signal.Someone stopped the run. Relaunch when ready.
watch 9otto watch: the run died without a final status.Check the machine, then relaunch.
watch 10otto watch itself failed.Fix the watcher. The run can still be alive.

Notifications

Set OTTO_NOTIFY_CMD to any command. otto passes it a one-line message and structured data. The data names the machine, repository, branch and PRD, and each story that needs a person. It also lists the next commands and marks one as recommended.

EventWhen otto sends itNeeds a person
startOnce, after the preflight passes.No
blockA story blocks, but does not park yet.No
stallotto stops an executor that went silent.No
parkotto parks a story.Yes
completeThe run ends with exit 0.Only when human-owned stories wait
capThe run ends with exit 6 or exit 7.No for 6. Yes for 7.
exitThe run ends with any other code that writes a status.Yes

Budget

  • A budget block in the task file caps launches, tokens or both.
  • Every executor launch counts, retries included. Login checks do not count.
  • Tokens count only when the executor prints them. Codex prints them, and Claude does not.
  • The counts survive relaunches and PRD edits. Only a logged otto budget reset clears them.
  • At the cap, the run stops with exit 7 and sends a cap message that needs a person.

Routing

  • A routing block sets a default executor, one for user-interface stories and an optional tier ladder.
  • The built-in ladder is Sonnet 1, Codex 2, Opus 2 and Fable 3.
  • A higher tier, from a flag or a plan edit, needs --allow-tier-raise. otto logs each raise in decisions.log.
  • An executor that is not on the ladder stops the run at preflight.
  • Without a routing block, otto works as today.

Preflight

Before the first launch, otto runs nine checks. The last check makes one short, real login call per engine, Claude or Codex.

The HLDD guard

The guard is off unless the task file has an hldd block. The block maps code paths to headings in one design document.

3. The twenty stories

otto runs every story except OTTO-018 on Claude Opus, in this order. Each story adds its own smoke tests, and each part ends in one commit. The suite grows from 44 to 256 tests. The sizer splits six stories into parts, so the build has about 30 parts. A person does OTTO-018 on a Mac, and otto never selects it.

StoryPurposeDone whenParts
OTTO-001Test foundationIsolates the tests from the installed otto and the real models, and adds lint and live-check tools.The suite reports 53 passed in under three minutes, lint finds nothing, and the installed otto stays unchanged.2
OTTO-002Safe result tagsStores each block reason exactly, and applies each result only to the story that otto selected.otto stores reasons with an apostrophe, < or shell code exactly, and never runs them.1
OTTO-003Runtime files out of gitKeeps otto's runtime files out of git and out of otto's own commits, from any folder.After a run, git shows no runtime file in the status or in any otto commit.1
OTTO-004State, backups, lockKeeps backups, block counts and a run lock in one .otto folder per repository.Backups rotate, a relaunch keeps block counts, and a second run on the same PRD exits 8.2
OTTO-005Honest status filePuts the status file beside the PRD, and derives its counts from the PRD at every write.The status counts only passed stories, names the current story, and its heartbeat moves during long steps.1
OTTO-006Exit codesEnds every run through one exit path that sets a distinct exit code.Clean, parked, blocked and capped runs exit 0, 4, 5 and 6, and the status shows the same code.1
OTTO-007Signals and crashesStops the executor with otto, records each process before it starts, and protects the plan from executors.After Ctrl-C or a crash no executor survives, and otto reverts executor edits to the plan.4
OTTO-008PreflightChecks tools, templates, the PRD and each engine's login before the first story.A bad login stops the run in seconds with exit 3 and a line that quotes the error.3
OTTO-009Safe conversionMakes otto plan convert check the login, fail with a reason and never overwrite a task file.A bad login exits 3, and conversion never overwrites an existing, tracked or linked file.2
OTTO-010Human-owned storiesNever runs a human-owned story, and rejects an executor name that otto does not know.A human-owned story shows as waiting and never launches, and a misspelt executor exits 3.1
OTTO-011NotificationsSends start, block, stall, park and end events to your command, with the next action to take.Each event arrives once, and a failing or hanging notify command never changes the run.1
OTTO-012Feedback loopsReads the test and lint commands that a PRD declares, and looks for loops again before each story.A declared loop appears in the prompt, and a PRD that declares nothing runs as today, with a warning.1
OTTO-013BudgetAdds a launch and token cap to the task file, and the cap survives relaunches.At the cap the run exits 7 and sends a message, and a relaunch exits 7 before any launch.1
OTTO-014Routing and tier ceilingTakes each story's executor from the task file, and refuses a higher tier without a logged flag.A raise from a flag or a plan edit exits 3 without --allow-tier-raise, and otto logs each allowed raise.1
OTTO-015HLDD guardRefuses a story that changes mapped code but does not change and name its design section.A mapped change without a section edit and an HLDD: line never passes, by any route.3
OTTO-016otto watchLets otto watch find the status beside the PRD, keep watching through parks and end with the run.Watch reports a park, keeps watching and exits with the run's code, and its own errors exit 10.1
OTTO-017Portable process groupsRemoves the need for setsid and Linux-only ps options, so supervision works on a Mac.The Mac path runs on Linux with setsid blocked, and platform calls exist only in three functions.1
OTTO-018Mac checkHUMAN-OWNEDPARKEDYou run the whole suite once on a real Mac, with the system bash 3.2 and Homebrew bash 5.Both runs pass, and the results are in docs/factory/otto-p1-macos-check.md.1, by you
OTTO-019Template, README, skillsMakes the task template, the conversion prompt, README, help text and otto skills match the code.A real conversion maps owner, budget, routing, HLDD and loops, and no stale instruction remains.1
OTTO-020Final verificationRuns every check again, runs the suite under bash 3.2.57 and replays the 35-story navigation PRD.The suite shows 256 passed, all six replays match, and the installed otto stays unchanged.1

4. How the brief's P1 list maps to stories

Every item on the brief's P1 list has at least one story. These parts of the brief are not delivered as written:

Brief itemStoriesIn P1
The P1 list
Login check before any launch, and a loud failure of otto plan convertOTTO-008
OTTO-009
DELIVERED
Safe block reasonsOTTO-002DELIVERED
A status that counts only passed stories, names the current story and shows the heartbeat ageOTTO-005
OTTO-016
DELIVERED
Distinct exit codes, and no silent iteration capOTTO-006with 004, 007, 013DELIVERED
Automatic backups of the PRD and progress filesOTTO-004DELIVERED
OTTO_NOTIFY_CMD to Slack or a phone for block, stall, exit, cap and completionOTTO-011CHANGEDSlack and terminal only. No phone helper.
Budget enforced: pause at the cap with a cardOTTO-013CHANGEDThe run stops with exit 7. It counts launches and tokens, not money.
Routing enforced: no tier raise without an approvalOTTO-014CHANGEDA logged flag, not an approval record.
Declared feedback loopsOTTO-012DELIVERED
owner: human stories never runOTTO-010DELIVERED
The template publishes the fields that the code readsOTTO-019DELIVERED
HLDD guard: a touched path needs a new or changed claim in its section, named in the commitOTTO-015DELIVERED
History additions in P1 (brief decision 10)
Reasons that contain <OTTO-002DELIVERED
A conversion that never overwrites a tracked fileOTTO-009DELIVERED
otto watch survives parksOTTO-016DELIVERED
Usage text on a bare otto implementOTTO-006DELIVERED
Runtime files kept out of gitOTTO-003DELIVERED
Block counters that survive relaunchesOTTO-004DELIVERED
Portable process groupsOTTO-017
OTTO-018
DELIVEREDHUMAN-OWNEDYou prove it on a real Mac.
Success measures
The suite grows from 44 by at least one scenario per story, and shellcheck is cleanAllOTTO-020 checksDELIVERED256 tests. Lint reports zero findings.
A navigation replay covers block, resolve, rotate, cap and guard paths without a personOTTO-020CHANGEDResolve and rotate need P2.
A block message reaches the channel within 60 seconds, and a capped run stops and asksOTTO-011
OTTO-013
CHANGEDThe Slack test runs only with a webhook.
Exit 0 on a completed PRD, and codes that tell blocked, parked and failed apartOTTO-006DELIVERED
Outcome lines outside the list
otto fails loudly before it starts if loops are missingOTTO-012CHANGEDA warning instead (item 12).
otto rotates accounts and records every operator decisionNoneNOT IN P1Both are P2.

5. What the reviews found, and what we declined

6. Decisions already taken, and their defaults

You took items 1 to 12 on 26 September, and the PRD applies each one. Items 13 to 27 wait for your reply. If you say go, their default applies.

From the brief

ItemDecisionDefault in the briefIn P1
1Notify channelbrief decision 2A Slack direct message and the terminal. A phone push when Remote Control is on.Any command works. P1 ships Slack and terminal examples, but no phone helper.
2Spend capbrief decision 3A cap per run. At the cap, the run pauses and sends a card. The checker gets $25.The cap counts launches and reported tokens, not dollars. The run stops with exit 7. The $25 limit stays an operator rule.
3Tier raisebrief decision 4No raise without an approval.A raise needs the logged flag --allow-tier-raise. You accepted the ladder in section 2.
4HLDD guard rulebrief decision 5A map from paths to sections. Each touched section needs a new or changed claim, named in the commit.As written. The longest matching path decides the section.
5Effort and orderbrief decision 8About 12 stories in one day. Then the navigation HLDD story, then the engine.20 stories and about 30 parts. The order does not change.
6Engine and vendor kitsbrief decision 9, amendmentP2 goes into a new Go engine. Executors stay subscription tools, with no vendor SDK.Bash only. The executor command lines do not change.
7History additionsbrief decision 10Adopt them.Each of the seven P1 additions has a story (section 4).

Brief decisions 1, 6 and 7 do not change P1. Phil drives the next feature, host claims are P2, and tracking stays in the docs folder.

From the review panel

ItemDecisionWhat it means
8The lock follows the PRD pathOne run owns a PRD, whatever folder or path starts it.
9Exit 8 for a locked PRDA second run prints one line and exits 8. It writes nothing and sends nothing. You also accepted the full exit-code table.
10The budget persistsRelaunches and PRD edits keep the counts. Only a logged reset clears them.
11Contract tagsA future engine must pass the 242 "contract" tests. The 14 "bash" tests check this code only.
12The loops ruleA PRD without loops runs as today, with a warning. The value feedbackLoops: [] means "no gate" on purpose. The brief said "fails loudly".

The PRD also holds the other panel choices. They cover the notify data, plan-change logging, conversion names, test isolation and crash recovery.

Open: the seven new round-7 findings

By the PRD's rule, round-7 majors come to you. Default if you say go: we do not apply them, and the build runs revision 6.1. Items 15 and 17 touch the checks of this build. The other five need rare conditions, or matter only for later features.

ItemStoryFindingEffect if we do not apply it
13 OPENOTTO-004A lock takeover that pauses for more than 10 seconds can remove the lock of a newer run.A rare race between two starts.
14 OPENOTTO-004Two runs of different PRDs in one checkout share git, so one run can commit the work of the other.It happens only when two PRDs run at the same time in one checkout.
15 OPENOTTO-008Live checks use a throwaway home folder, and Codex is not logged in there.The real Codex login check can fail, and OTTO-008 can park during the build.
16 OPENOTTO-009The overwrite guard checks only the current repository.A file that another repository tracks has no protection.
17 OPENOTTO-011The Slack helper writes its proof into a folder that the test harness then deletes.The Slack check cannot show its proof.
18 OPENOTTO-014If you delete the routing block between runs, the tier ceiling goes away without the flag.A plan edit can lift the ceiling. decisions.log still records the edit.
19 OPENOTTO-015A retry fails when another story removed an earlier line, even when the retry adds a valid line.False rejections when the guard is on.

Defaults from the PRD's open questions

You did not answer these questions in the PRD. If you say go, each recommended default applies.

ItemDefault
20Progress files stay out of git, and otto never commits them. If git already tracks one, otto warns.
21P1 has no time budget.
22A loop that the PRD declares replaces a detected loop of the same type.
23A completion tag without its closing tag no longer counts as done.
24Budget counts follow the PRD path, across its revisions and across branch switches.
25Two PRDs in one folder share a status file. The second run exits 8 while the first is live.
26You run OTTO-018 on a Mac after the review gate, before the engine work starts.
27An executor value that starts with "human" marks the story as human-owned, as in the navigation PRD.

Of the other two open questions, one is a test-harness detail. Section 2 covers the other.

7. Risks

RiskMitigation
The build runs on the installed otto, which still has most of these faults. It exits 1 when it finishes, and its watcher stops at the first park.Your hot-fix already stops the apostrophe crash. A .gitignore entry keeps runtime files out of the build branch. The operator reads the PRD for the truth and restarts the watcher after each park.
A wrapper script that relaunches on any non-zero code can loop on a park, a spent budget or a lock.The README and both skills give one rule: relaunch on 6 only. Exit 7 means ask a person. Exit 8 means that another run is live.
Stricter result rules turn sloppy executor output into more blocks and parks.otto puts the rejection reason into the next prompt. A story gets two attempts before it parks.
A test changes the installed otto, which other projects use now, or it calls a paid model.The suite exits 2 if the installed copy changes. Stand-in claude and codex commands exit 97 and log the call. Tests run in throwaway repositories.
The round-7 findings stay open. Item 15 can park OTTO-008, and item 17 can hide the Slack proof.Name items 15 and 17 in your reply, and we fix them before the build. If you do not, the operator fixes the test harness at the park and relaunches.

8. What happens after go

  1. Preconditions. The installed otto is clean at ab20ebb. A .gitignore entry keeps runtime files out of the build branch. The operator pins a Claude account with credit and confirms the Codex login.
  2. Convert. We first apply any of items 13 to 19 that you name. Then the installed otto converts the PRD into prd-implementation-p1.json.
  3. Size. The sizer splits six stories at their fixed split points. The result is about 30 parts, and otto runs 29 of them.
  4. Mark OTTO-018. The operator marks it human-owned and parked. The installed otto does not know the owner field yet.
  5. Build. The installed otto builds the parts in order, in the worktree, on the pinned account. Every part runs on Claude Opus. The smoke suite gates each part.
  6. Verify. OTTO-020 runs every check again and replays the navigation PRD. It writes docs/factory/otto-p1-verification.md.
  7. Review gate (you). Read the verification record and the diff. Run the Slack test once with a webhook. Then approve, or send the work back.
  8. Install, only after your approval. We merge into the installed otto, run install.sh, run the suite again and tag the release. One known conflict with your hot-fix resolves in favour of the new tag parser.
  9. Next. You run OTTO-018 on a Mac before the engine work starts. The navigation HLDD story runs next, then the Go engine.

Until step 8, the installed otto, its link and the installed skills stay unchanged. The smoke suite fails if any of them changes.

Cost and time. The build uses subscription accounts. Paid calls go only to the checker, and the brief capped them at $25. The PRD gives no time estimate. The brief estimated one day for 12 stories, and the PRD has 20 stories and about 30 parts.

9. The go line

Reply go, or no with the numbers of the items to change.

Items 1 to 27 are in section 6. An example: "no, 15 and 17: apply them before the build".

Your tasks. This reply. After the build, the review gate with the Slack test (step 7). Later, the Mac check (OTTO-018).

Review history

  1. Round 127 majors
  2. Round 221 majors
  3. Round 313 majors
  4. Round 410 majors
  5. Round 5, panel30 majors, 2 blockers fixed
  6. Round 616 majors
  7. Revision 6.18 majors applied
  8. Round 7, on 6.116 majors

otto check found no blocker in any round. The round-5 panel found two blockers, and revision 6 fixed both.

Prepared 27 September 2026 from otto-p1/prd-p1.md, revision 6.1, commit 316f3d2. Other sources: the PRD's review log, the round-7 check prd-p1-check-r7.txt and the approved brief. The brief is online at ct-retro-6lh7-7g9v-646h.pages.dev/brief. Unlisted page: do not index.