otto · build report · installed

otto P1 Build Report

The P1 build that you approved on 26 September ran overnight and finished on 27 September at 16:30 UTC. This page gives the result, the evidence, what is not verified, and the install record.

27 September 2026Branch factory/p1 in ~/dev/otto-p1, head 8131d3fPRD revision 6.1 (316f3d2), 30 partsRecord: docs/factory/otto-p1-verification.md
PASSED otto set passes: true; the suite gated it HUMAN-OWNED a person does it, never otto NOT VERIFIED the environment did not allow the check OPEN waits for your reply

Status in one line. otto built all 29 parts it was allowed to build. Each part ended in one commit and passed the smoke suite. The suite grew from 44 to 256 checks and passes under bash 5.2 and under bash 3.2.57. Lint has 0 findings. During the build the installed otto stayed unchanged at ab20ebb.

Installed on 27 September at 17:55 UTC on your word, defaults 1 to 6 accepted. main fast-forwarded to 8131d3f; install.sh relinked the CLI and updated the otto and otto-orchestrate skills (old copies kept as SKILL.md.bak-20260927); lint 0; suite 256 passed, 0 failed in place; tag factory-p1-2026-09-27 pushed to origin with main and factory/p1. The jev-m1b build that was running kept the old script file (new inode) and was not disturbed. Section 7 keeps the steps and both rollback anchors.

Not verified. Slack delivery (no webhook on this box) and a real Mac (OTTO-018, human-owned). Section 5.

Two commits after the run. A merge that folds your own fix on main into the branch, and the headless-turn rule in the prompt template. Section 6 explains both. With them, the install is a fast-forward.

Short path, about five minutes. Read the status box, then sections 2, 7 and 8.

29 / 29
buildable parts passed; 1 human-owned part parked
256 / 0
suite: passed / failed, bash 5.2 and 3.2.57
15.5 h
wall clock, 00:58 to 16:30 UTC, 4 launches
0
changes to the installed otto during the build; installed afterwards, 17:55 UTC

1. What P1 gives the person who runs otto

The behaviour below is on the branch and documented in its README. Each line names the story that delivers it.

Before a run

  • Preflight checks tools, templates, the PRD, each engine's login, routing and budget, in a fixed order, and exits 3 with the failed check named (OTTO-008).
  • A bad login stops the run in seconds, also inside otto plan convert, which used to fail without a message (OTTO-008, OTTO-009).
  • Conversion never overwrites a task file; a second run writes a unique name (OTTO-009).
  • Feedback loops are read from the PRD or OTTO_LOOP_TEST_CMD, and detection runs before every story (OTTO-012).

During a run

  • Safe result tags. An apostrophe or a < in a block reason is stored as written; a tag can only pass the story otto selected (OTTO-002).
  • Honest status beside the PRD: passed counts only passes: true, the current story, a heartbeat, the executor's process (OTTO-005, OTTO-016).
  • Notifications on start, block, stall, park, cap and exit, each once, with a JSON card that names the next action (OTTO-011).
  • Budget (launch and token caps) and a routing ceiling that no flag, model name or plan edit raises without --allow-tier-raise (OTTO-013, OTTO-014).
  • HLDD guard. A story that changes a mapped path must change its design section and name it in the commit (OTTO-015).
  • Human-owned stories are never launched and are reported as waiting; an unknown executor is an error (OTTO-010).

When things go wrong

  • Distinct exit codes: 0 complete, 1 failed, 2 usage, 3 preflight, 4 parked, 5 blocked, 6 iterations used up, 7 budget, 8 locked, 129/130/143 signals. The last log line says the same (OTTO-006).
  • Signals kill the executor's whole process group; a crash leaves a status whose heartbeat stops, and the next launch kills survivors and refuses a plan that changed mid-attempt (OTTO-007).
  • Block and stall counters survive relaunches; one run per PRD (OTTO-004).
  • Auth lost mid-run ends the run with exit 3 instead of burning iterations (OTTO-008c).

Housekeeping

  • Runtime files stay out of git from any folder, and otto's own checkpoint never stages them (OTTO-003).
  • One .otto/ per repository holds state and rotating backups of the PRD and progress files; otto backup on demand (OTTO-004).
  • No setsid, no Linux-only ps: a Darwin path behind uname, tested on Linux with shims (OTTO-017).
  • Template v1.2 publishes the 11 fields the code reads; README, help text and the otto skills match the code (OTTO-019).

2. Evidence

OTTO-020 is the final verification story; its record is docs/factory/otto-p1-verification.md on the branch. The operator repeated the fast checks after the run, and again after the two commits of section 6.

CheckResultRun by
Suite under bash 5.2.21, parallel (SMOKE_JOBS=8)256 passed, 0 failed in 3 m 45 sOTTO-020; operator twice (226 s, and 229 s after section 6)
Suite, serial (SMOKE_JOBS=1)256 passed, 0 failed in 20 m 23 sOTTO-020
Suite under bash 3.2.57, otto under it and the harness under it256 passed, 0 failed, both waysOTTO-020 (bash built from source by tests/build-bash32.sh)
Lint: shellcheck 0.9.0 plus the deny-listlint: 0 findingsOTTO-020; operator twice
Live-check register, OTTO-001a to OTTO-019 (real git, real claude and codex logins, fake executors)Every probe matched its expectation; auth-bad exits 3, auth-good exits 0, codex token count parsedOTTO-020, section 3 of the record
Navigation PRD replays A to F (35 stories, fake executors)Six rows equal to the expected rows; parked, capped and budget paths exit 4, 6 and 7; the HLDD guard rejects a mapped change twice; source checksum unchangedOTTO-020 (tests/replay-nav.sh)
Installed otto untouched0 changed files, head ab20ebb, link points at the installed otto.sh; every suite run also checks thisOTTO-020; operator after the run and after section 6
Install is a fast-forwardgit merge-tree --write-tree main factory/p1 exits 0; main is an ancestor of the branchOperator, after section 6
Slack delivery (OTTO-011 live probe)NOT VERIFIED SKIP: OTTO_LIVE_SLACK_WEBHOOK not set; the local notify path fired each event onceNeeds a webhook
A real Mac (OTTO-018)HUMAN-OWNED not runYou

3. The thirty parts

Names as in the review pack. Times are UTC commit times on 27 September; a story with parts a, b, c lists each part's commit.

StoryParts and commitsState
OTTO-001Test foundation001a d8aa8b9 01:14 · 001b 3aa5fd1 01:27PASSED
OTTO-002Safe result tags37a9b3d 01:41PASSED
OTTO-003Runtime files out of git2a630d3 01:56PASSED
OTTO-004State, backups, lock004a c8925fd 02:13 · 004b d261c93 02:37PASSED
OTTO-005Honest status filed3c293b 03:08PASSED
OTTO-006Exit codes0d99238 03:35PASSED
OTTO-007Signals and crashes007a 0f31256 03:59 · 007b 2b5587c 04:22 · 007c 839c624 04:47 · 007d fbaf4a9 05:22PASSED
OTTO-008Preflight008a 86c9526 05:45 · 008b 62bcab2 06:07 · 008c 3e098a6 06:22PASSED
OTTO-009Safe conversion009a b6edd78 06:36 · 009b 78bcb97 06:51PASSED
OTTO-010Human-owned stories4cb494f 07:34PASSED
OTTO-011Notificationsfd182c2 07:57PASSED SLACK NOT VERIFIED
OTTO-012Feedback loopsd477ff2 08:22PASSED
OTTO-013Budget3ceff41 09:03PASSED
OTTO-014Routing and tier ceilingc3c224b 09:37PASSED
OTTO-015HLDD guard015a ed8da77 10:42 · 015b 27ffbc1 11:09 · 015c 40afa76 11:32PASSED
OTTO-016otto watch62d3b09 11:58PASSED
OTTO-017Portable process groups7663bbc 12:24PASSED
OTTO-018Mac checkno commit; writes docs/factory/otto-p1-macos-check.mdHUMAN-OWNED PARKED
OTTO-019Template, README, skillsc5e4a46 13:49 · 5a5ee60 13:53 (live probe after the token fix)PASSED
OTTO-020Final verificationdfe45da 16:30PASSED

4. How the run went

  1. 00:58Launch on Claude account 3 with the installed otto (ab20ebb) against the worktree; every part on Opus; the smoke suite as the declared loop.
  2. 01:14 – 06:07Fourteen parts pass in sequence, OTTO-001a to OTTO-008b, with no intervention.
  3. 06:09The external usage guard misreads an executor's report, which quoted the auth probe's "OAuth session expired", and switches to account 5. otto checkpoints the uncommitted work and the relaunch reconciles it. The guard's pattern was narrowed; the engine will detect provider lines itself.
  4. 06:22 – 10:42Nine parts pass. Four attempts are lost because an executor ended its turn with a check still running in the background (OTTO-007d, 008b, 014 and 015a, one attempt each); otto scores such a turn as tagless and re-runs the part. Two operator notes in the progress file did not stop it.
  5. 10:42Relaunch on account 3 with a pinned copy of otto whose prompt template carries a "headless turn rule". No lost attempt in the 17 parts after it.
  6. 13:49OTTO-019 blocks twice on its live otto plan convert probe: a claude started inside an executor has no token, because Claude Code removes it from child processes. A small PATH shim that injects the account's setup token fixes it; the part is unparked with an operator note and passes at 13:53.
  7. 13:51Final relaunch for the last two parts.
  8. 16:30OTTO-020 passes. otto exits at its iteration limit; the guard and the backup loop stop on their own.

Numbers

  • 31 recorded attempts for 29 passed parts; 4 tagless attempts before the rule; 2 blocks, both environmental (OTTO-019).
  • 44 commits on the branch: 12,576 lines added and 870 removed over 45 files, the PRD and its review files included. otto.sh is now 5,940 lines, the suite 3,233.
  • Suite time: 44 checks took under a minute; 256 take 3 m 45 s in parallel, 20 m serial.

Cost

  • Executors ran on subscription accounts 3 and 5 only. The checker ran under the ChatGPT login. The run used no API key.
  • The 5-hour meters are rolling windows and do not add up to a total. The weekly meter of account 3 moved from 3% to 4%; account 5 stands at 15% of its weekly allowance today.

5. What is not verified, and what stays open

The full list with states is docs/nav-audit-2026-09-22/otto-p1-followups.md.

6. Two operator commits after the run

  1. Merge of main into the branch, 761dd0d. Your fix of 26 September 23:00 (ab20ebb, tag text trimmed with sed instead of xargs) was not in the branch's base, and it conflicted with OTTO-002, which replaced the same lines with otto_extract_tag. Both hunks were resolved to the branch's version, which covers the apostrophe case with 13 assertions in the reasons block. Suite after the merge: 256 passed, 0 failed; lint 0. With this, the install is a fast-forward.
  2. Headless turn rule in templates/executor-conventions.md, 8131d3f. The same ten lines the pinned run copy carried from 10:42: run every check in the foreground with a timeout, quote the result, end with the tag. The suite renders this template in four assertions and passed with it. Without this commit the pinned copy would have to stay in use.

Everything else on the branch was committed by otto or by the PRD's authoring and sizing steps before the build.

7. How to review, install and roll back

Review. Read the verification record and the diff. The suite must pass in the worktree before and after any change you make.

# the record and the diff
less ~/dev/otto-p1/docs/factory/otto-p1-verification.md
git -C ~/dev/otto-p1 log --oneline main..factory/p1          # 44 commits
git -C ~/dev/otto-p1 diff --stat main..factory/p1

# repeat the fast checks yourself (about 4 minutes)
cd ~/dev/otto-p1 && bash tests/lint.sh && bash tests/smoke.sh --summary   # lint: 0 findings · 256 passed, 0 failed

Install. The installed clone is at ~/.local/share/otto on main. install.sh relinks ~/.local/bin/otto and copies skills/* into ~/.claude/skills/; a local skill file that differs is backed up beside itself as SKILL.md.bak-<date> first. The otto and otto-orchestrate skills changed on the branch.

# 1. preconditions: clean, at ab20ebb
git -C ~/.local/share/otto status --porcelain                 # prints nothing
git -C ~/.local/share/otto rev-parse --short HEAD             # ab20ebb

# 2. fast-forward, relink, re-copy skills
cd ~/.local/share/otto
git merge --ff-only factory/p1                                # main -> 8131d3f
./install.sh

# 3. prove it in place
bash tests/lint.sh                                            # lint: 0 findings
bash tests/smoke.sh --summary                                 # 256 passed, 0 failed
otto --help | head -3

# 4. optional, with a real webhook: the Slack live probe of OTTO-011
OTTO_LIVE_SLACK_WEBHOOK=https://hooks.slack.com/services/... bash tests/live-check.sh notify

Roll back. Two anchors exist. ab20ebb is the state just before the install; the tag pre-factory-2026-09-26 (4bab194, pushed to origin, bundle in backups/otto/) is the state before the whole programme, without your 23:00 fix.

cd ~/.local/share/otto && git reset --hard ab20ebb && ./install.sh          # back to before the install
cd ~/.local/share/otto && git reset --hard pre-factory-2026-09-26 && ./install.sh   # back to before the programme

After a successful install, the pinned copy ~/dev/otto-pinned can go. Keep the shim ~/dev/otto-p1-shim/claude for any build whose stories run claude themselves, until the engine's adapters inject credentials.

8. Decisions

Decided on 27 September at 17:55 UTC: defaults 1 to 6 accepted. What each default now means is under the list.

  1. 1. Install P1 now?

    Default: yes, after you read the record. The merge is a fast-forward and the suite passes in the merged tree.

  2. 2. Slack live probe.

    Default: you give a webhook URL, or run step 4 above yourself, once, at install time.

  3. 3. The Mac check, OTTO-018.

    Default: you, on your Mac, before the engine build starts. Write the check file and set the story's passes to true.

  4. 4. Push factory/p1, and main after the install, to origin.

    Default: yes, at install time.

  5. 5. Go on the devbox for the engine build.

    There is no Go toolchain on this box. Default: install it user-local under ~/.local/go, no sudo, when you approve the engine pack.

  6. 6. Where the two carried gaps are fixed.

    Routing-block deletion and nested credentials. Default: in the engine PRD only, no further bash work on P1.

Taken. 1: installed. 2: open; no webhook was given, so no test message was sent. 3: yours, on your Mac, before the engine build. 4: done, pushed at 17:57 UTC. 5: later, user-local Go when the engine pack is approved. 6: both gaps are in the engine author's brief.

9. What happens next

  1. Install: done, 17:55 UTC.
  2. Navigation HLDD, a one-story job on the theme repository with the installed P1, using the HLDD guard on itself.
  3. Engine PRD. An Opus author was relaunched at 17:57 UTC with otto-plan in ~/dev/otto-engine (branch factory/engine, now at the installed P1), after a first attempt was lost with a session restart. Its brief: Go daemon and CLI in one binary, parity with the 242 contract checks and the six navigation replays, then P2 natively, then config-driven executor adapters with model and effort per story, no vendor SDK. It goes through the panel and otto check, then reaches you as a plain-English pack for a second go.
  4. No engine build until the HLDD story has run and the engine pack has its go, and never two builds' suites at once on this box.

Decision taken: installed, 27 September 17:55 UTC, defaults 1 to 6.

Still yours: a Slack webhook for the one-off probe (2), and the Mac check before the engine build (3).

Prepared 27 September 2026 from the branch factory/p1 at 8131d3f, its verification record, its progress file, the run log otto-p1.log, the guard log, and the operator's independent runs of the suite. Companion pages: the review pack that preceded the build, and the retrospective.