Repository navigation
Description
This was generated by AI during triage.
Turn the supplied Retro: thirdshift factory Runs, Oct 11–16 2026 into individually triageable work. Original scope: eight Runs (#658, #663, #666, #671, #672, #683, #686, #707) on this host; the report estimates 13.6 hours of Run time and about five hours of second-writer overhead.
All follow-up issues were initially filed as needs-triage. Following maintainer approval, #722, #731, and #732 now have Agent Briefs and are ready-for-agent; the other findings remain for triage. Finding 1 reuses #712, with an evidence comment. Findings 2–15 have separate issues. Host actions are work to investigate/perform later, not actions taken while filing. Low-confidence proposals remain investigations.
Finding index
- Finding 1: Two machines' Pickup runs can take the same Ready issue at once #712
- Finding 2: Skip Review Repairs for foreign commits that leave the tree unchanged #722 —
ready-for-agent(Agent Brief posted) - Finding 3: Measure and reduce Codex model turns spent waiting for long commands #723
- Finding 4: Select affected local tests and use nextest for the full Rust suite #724
- Finding 5: Reduce CI queueing and runtime without cancelling release publication #725
- Finding 6: Ship a tested sandbox runner for Security review proof-of-concept execution #726
- Finding 7: Fix gh CLI compatibility guidance and diagnose an unwritable log cache #727
- Finding 8: Add code pointers and bounded reading guidance for repository navigation #728
- Finding 9: Strengthen review standards and browser-test synchronization #729
- Finding 10: Stop Delivery and Repair work when the PR is merged, closed, or drafted #730
- Finding 11: Retry transient CI check reads within a bounded interruptible budget #731 —
ready-for-agent(Agent Brief posted) - Finding 12: Disable background git maintenance in isolated release tests #732 —
ready-for-agent(Agent Brief posted) - Finding 13: Benchmark safe build-cache reuse across Run worktrees #733
- Finding 14: Guide Factory sessions to use structured patch tools for source edits #734
- Finding 15: Measure redundant skill catalogs and clarify Factory skill resolution #735
Current-checkout notes
- The supplied report is historical, based on
5504c97; filing-session spot checks used53bb9c6. Runtime/token estimates and causal claims are attributed to the report, not independently remeasured. - Correction: current CI runs on both pull requests and pushes to main. The report's “only on pull_request” statement is inaccurate for this checkout.
site/tests/README.mdalready supplies runner/browser installation commands; the navigation issue should link to them rather than create duplicate instructions.- thirdshift setup: check that Security sessions can sandbox target code on this machine #608 already tracks setup's sandbox availability check; finding 6 adds the reusable execution runner and review behavior, and should coordinate with it.
- Keep the already-fixed make prompts and skills page sections fold closed and open on header click #683 false-green incident closed (Wait for a fragment link's target to open in the browser test #685, Wait for new check runs before accepting Check re-run CI #692, Fix CI-fix Repair ownership of intermittent failures #693), and preserve the practices in the report's Keep section.
- Proposed Codex settings and long-wait maxima are unverified. Prompt changes must respect higher-priority Harness instructions.
Original report
Full supplied report (historical evidence and proposals)
Retro: thirdshift factory Runs, Oct 11–16 2026
Scope: the eight most recent Runs on JacobStephens2/thirdshift on this host: Pickup runs #658, #663, #666, #671, #672, #686 and #707, and the issue run #683. All ran on Codex (gpt-6.1-sol, high). Sources:
- the
.log,.jsonl,.standardsand.specfiles under~/.thirdshift/logs/JacobStephens2/thirdshift/commands/; - the reviewer sub-agent rollouts under
~/.codex/sessions/2026/10/; - GitHub PRs, issues and Actions runs;
- the repo at 5504c97.
Condensed transcripts are in scratchpad/transcripts/.
Each finding is tagged with its layer:
- Host: this machine and its operations.
- Factory: thirdshift's prompts, Factory skills and Delivery code. A change here reaches every target repo.
- Repo: the thirdshift repo as a target: AGENTS.md, CODING_STANDARDS.md, CONTEXT.md, CI, tests and scripts.
The Runs
| Run | Outcome | Run wall | Implement session | Waiting on the local suite | Race overhead |
|---|---|---|---|---|---|
| #707 | failed: PR #708 merged by the other writer | 72 min | 60 min, 27.8M in | 2 suites, ~42 min, ~99 turns, ~17M in (61%) | ~29 min, 7-file conflict, moot 12-min Security review |
| #686 | merged, clean | 113 min | 34 min, 8.8M in | 19.8 min, 35 turns, 3.8M in (43%) | none; CI waits 69 min |
| #672 | failed: PR #689 merged by the other writer | 64 min | 62 min, 16.1M in | 2 suites, ~40 min, 50 polls, ~8M in | ~25 min; none of its code landed |
| #683 | merged on a false green; main red 26h47m | 51 min | 30 min, 6.4M in | 21 min, 11 polls | none |
| #671 | failed: a transient gh api read error |
82 min | 37 min, 10.7M in | 23 min, 35 waits, 3.8M in | 13 min, plus an 18.8-min CI cycle on an empty commit |
| #663 | merged | 62 min | 26 min, 7.4M in | 18.6 min on a site-only change, 33 waits, 4.2M in (57%) | none |
| #666 | failed: PR #675 left a draft | 190 min | 51 min, 13.6M in | 2 suites, ~40 min, 39 polls, ~6M in | ~104 min, 3 Review Repairs, 3 extra CI cycles |
| #658 | failed: PR #661 merged by the other writer | 181 min | 48 min, 12.9M in | 31 min, 42 polls, ~5.5M in | ~100 min, 3 Review Repairs, 4 extra CI cycles |
Totals across the eight Runs:
- About 13.6 hours of Run time. About 5 hours of it was overhead from the second writer.
- Implement sessions used about 104M input tokens, and roughly half went to turns that only waited on a local test suite.
- Every Run that merged spent 30–70 minutes waiting on CI.
Findings, most severe first
1. A second thirdshift factory works the same Ready issues (Host)
- Evidence: five of the seven Pickup runs since Oct 11 ended "failed": agy sessions fail on agy 1.3.3: pass the prompt as -p's value #658, load the sections of https://thirdshift.app/prompts/ closed and let the user toggle them open/closed #666, release.sh resumes only its own bump PR from this repository #671, Tickets keep their repository from the sub-issue graph to the Run #672 and A Merge run reports "review required" without trying a merge it knows will be refused #707. No Run before Oct 11 failed this way; on Oct 8–9, 8 of 9 Pickups merged.
- Each time, another writer under the same GitHub identity pushed
issue-<n>. It sometimes opened or merged the PR, and wrote the sameBuilt with codex · gpt-6.1-sol · highmarker. - Its first commit landed within minutes of this host's Claim. agy sessions fail on agy 1.3.3: pass the prompt as -p's value #658 committed at 21:24:44 for a 21:20:05 Claim, and A Merge run reports "review required" without trying a merge it knows will be refused #707's 506f9b7 at 15:47:41 for a 15:42:07 Claim.
- Every Codex session on this host is accounted for: Run sessions, their reviewer sub-agents and replays. There is no second scheduler here: crontab,
/etc/cron.dand systemd timers are clean. So the other writer runs somewhere else. - The Warp factory set up on Oct 13 never received a task, so it is not the cause.
- Each time, another writer under the same GitHub identity pushed
- Cost: about 5 hours of Run time and tens of millions of tokens.
- Tickets keep their repository from the sub-issue graph to the Run #672's implementation was discarded; the merge kept the other tree byte for byte.
- A Merge run reports "review required" without trying a merge it knows will be refused #707 had 10 of its 12 files replaced.
- Load prompts page sections closed with native toggles #675 is stuck as a draft carrying 10 "the diff is empty" paragraphs.
- Main gained 7 empty "Record empty-diff review" commits through Fix agy 1.3.3 prompt argument order #661.
- Merged PR Keep Ticket repository identities through Spec runs #689's body says "Security: Review incomplete…".
- Root cause: the Claim (swapping
ready-for-agentforin-progress) can't tell two hosts apart when both use one identity and start in the same minute. - Fix:
- Find and stop the other
thirdshift pickupschedule for this repo. - Optionally, make Claims race-safe in Pickup. For example, post a claim comment carrying a host and run id, re-read, and back off if an earlier claim exists.
- Find and stop the other
- Confidence: high on the effect. The other host's identity is unknown.
2. Review Repairs make empty commits, so two writers ping-pong (Factory)
- Evidence: every Review Repair found an empty diff and committed anyway.
- load the sections of https://thirdshift.app/prompts/ closed and let the user toggle them open/closed #666 repair-1 ran
git commit --allow-empty -m 'Record empty review range for issue 666'. - In Load prompts page sections closed with native toggles #675, commits 1303a81→7203a42 all share tree ca00e49.
- Fix agy 1.3.3 prompt argument order #661's 1a65f51…735b830 all keep their parent's tree, with committer offsets alternating between -04:00 and +00:00.
src/prompt.rs(Review Repair) ends with an unconditional "Commit and push {branch}".take_in_foreign_commits(src/delivery/repair_loop.rs:365) starts a Review Repair for any new commit, even one that leaves the tree unchanged.- Delivery needs no commit from the session:
Sessions::runchecks nothing afterwards, androunds()pushes whatever HEAD is.
- load the sections of https://thirdshift.app/prompts/ closed and let the user toggle them open/closed #666 repair-1 ran
- Cost:
- load the sections of https://thirdshift.app/prompts/ closed and let the user toggle them open/closed #666: 3 Repairs, 71 CI minutes, and 3 of its 5 Repair budget.
- agy sessions fail on agy 1.3.3: pass the prompt as -p's value #658: 3 Repairs, 58 CI minutes, and a flaky red on the third bounce.
- release.sh resumes only its own bump PR from this repository #671: one 18.8-min CI cycle.
- Fix:
- Deterministic: after a clean merge of Foreign commits, skip the Review Repair when
git diff --quiet <own_head> HEADholds. Still count it as an upstream move. - Prompt: "If the review changes no file, commit nothing and leave the PR body as it is."
- Either change alone breaks the loop.
- Deterministic: after a clean merge of Foreign commits, skip the Review Repair when
- Confidence: high.
3. On Codex, waiting on a long command costs a model turn every 30–60 s (Factory; No-op)
- Evidence: every implement session starts the full suite as
cargo … > /tmp/…log 2>&1withyield_time_ms: 1000(all 118 calls in A Merge run reports "review required" without trying a merge it knows will be refused #707 used 1000). It then alternateswrite_stdinorsleep15–40 s withrg/tailof the log.- Two instructions drive this. Codex's base instructions say "Avoid performing blocking sleep or wait calls longer than 60 seconds" and "[the user] should not be left without a commentary update for more than 60 seconds".
HEADLESSinsrc/prompt.rsis commented "worded for either Harness", but says "raising the command's timeout" and "theTaskStoptool". On Codex those two phrases are no-ops.- The A Merge run reports "review required" without trying a merge it knows will be refused #707 security review shows long waits work: it used
pollWaitMs = 30000.
- Cost:
- A Merge run reports "review required" without trying a merge it knows will be refused #707: about 99 turns and 17M input tokens, 61% of the session.
- Tickets keep their repository from the sub-issue graph to the Run #672: about 50 polls and 8M.
- update https://thirdshift.app/ based on the latest which is part of thirdshift #663: 57% of its input.
- Check re-run reads CI as passed before the re-run's checks are listed, and Self-merges red CI #686: 43%.
- Roughly half of all implement input tokens.
- Fix:
- Prompt: a Codex variant of
HEADLESS, then regenerateprompts/. Wording such as: "Nobody reads your commentary here, so the 60-second update and wait limits don't apply. Run a long command attached and wait on its session withwrite_stdinand a longyield_time_ms. Don't send it to a log and re-read the log." - Config, to verify: Codex 0.162 has a
default_exec_yield_time_mssetting, whichcodex_argscould raise with-c. I couldn't confirm the exact key path or the maximum yield.
- Prompt: a Codex variant of
- Confidence: high on the cause and the cost; medium on the exact Codex limits.
4. A 20–23-minute local full suite gates every implement session (Factory skill and Repo)
- Evidence:
skills/thirdshift-implement/SKILL.mdsays "the full test suite once at the end".cargo testruns the ~40 test binaries one after another and sums to 19–23 min on this host. CI's Linux job does the same suite in about 9 min.cargo-nextestis installed in~/.cargo/binbut unused. ci.yml already uses it on macOS for exactly this reason.- Cases where the full run added nothing:
- update https://thirdshift.app/ based on the latest which is part of thirdshift #663 ran it for a change to
site/only. - make prompts and skills page sections fold closed and open on header click #683 ran it for a diff with no shipped Rust, since
prompts_pageis test-only. - A Merge run reports "review required" without trying a merge it knows will be refused #707 ran it a second time, and CI on the same commit went green before it finished.
- Tickets keep their repository from the sub-issue graph to the Run #672 re-ran it for 19 min, then kept polling for 12 min after seeing the PR MERGED.
- update https://thirdshift.app/ based on the latest which is part of thirdshift #663 ran it for a change to
- CI triggers only on
pull_request. Holding the PR for the local suite delayed CI by 15 min in make prompts and skills page sections fold closed and open on header click #683 and kept a reviewed commit unpushed for 20 min in A Merge run reports "review required" without trying a merge it knows will be refused #707, which widened the race window. - On the other side: agy sessions fail on agy 1.3.3: pass the prompt as -p's value #658's full run did catch a real fixture failure that targeted tests missed.
- Cost: 20–45 minutes of every implement session.
- Fix:
- Repo, deterministic:
scripts/affected-tests <base>maps changed paths to commands:site/**→npm test --prefix siteplus--test share_card --test site_deploy;scripts/release*→--test release;src/**,tests/support/**,tests/fakes/**→ the full suite viacargo nextest run.
- Point AGENTS.md at the script. Also note there that the crate has no lib target:
cargo test --libfailed in Check re-run reads CI as passed before the re-run's checks are listed, and Self-merges red CI #686 and agy sessions fail on agy 1.3.3: pass the prompt as -p's value #658; use--bin thirdshift <module>::testsand--test <file>. - Factory skill: "Run the tests your change affects (the repo may name them). Open the PR as soon as the branch is pushed. Don't re-run the full suite on a head whose CI already passed, or after the PR is merged or closed."
- Repo, deterministic:
- Confidence: medium-high. Owners may still want a local full run before src/ changes; nextest keeps that cheaper.
5. CI takes 25–40 min a cycle, and a third of that is queueing (Repo)
- Evidence: in Check re-run reads CI as passed before the re-run's checks are listed, and Self-merges red CI #686, 29 of the 69 CI-wait minutes were spent queueing for macOS runners.
- Each push needs 5 macOS jobs: four
test-macos-shardjobs plus Release's aarch64 build. At most 5 ran at once. - Superseded runs keep their runners. Check re-run reads CI as passed before the re-run's checks are listed, and Self-merges red CI #686's first CI kept running 10 min after Delivery pushed a new head.
- Neither
ci.ymlnorrelease.ymlhas aconcurrencyblock, andrelease.ymlbuilds a macOS artifact on every PR. - The long-pole shard holds 420 tests and takes 1,107 s. 23 tests of 60 s or more make up 23% of the suite. Examples:
unauthenticated_public_publishers_…_with_every_harnesstakes 346 s, and the 11×2 final-line table intests/security_review.rs:400runs each case as a full Scenario.
- Each push needs 5 macOS jobs: four
- Fix:
concurrency: {group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}, cancel-in-progress: ${{ github.event_name == 'pull_request' }}}in both workflows.- A
paths:filter on release.yml'spull_requesttrigger. - Move table-driven cases in-process and keep one or two end-to-end cases per behaviour.
- A nextest
slow-timeoutin.config/nextest.tomlto flag new slow tests.
- Confidence: high that cancelling frees runners; medium on the minutes saved.
6. Security reviews rebuild a bwrap sandbox by trial and error (Factory and Host)
- Evidence: 6 of the 8 security reviews fought with bwrap:
- "--disable-userns requires --unshare-user";
- "linker
ccnot found"; - "Creating new namespace failed: Resource temporarily unavailable" (nproc counts every thread of uid 1002);
- "Can't remount readonly on /newroot/dev/shm".
- Check re-run reads CI as passed before the re-run's checks are listed, and Self-merges red CI #686 counted the threads and A Merge run reports "review required" without trying a merge it knows will be refused #707 finally added
--ro-bind /etc/ssl/certs. - Then they re-ran tests the implement session had already run. agy sessions fail on agy 1.3.3: pass the prompt as -p's value #658 said "no candidate has needed a security proof-of-concept".
- All 8 reviews ended with no findings.
- The working recipe exists only in an operator memory note.
- Cost: 3–7.6 min per review, and in Check re-run reads CI as passed before the re-run's checks are listed, and Self-merges red CI #686 83% of the review's tokens.
- Fix:
- Ship a tested sandbox runner built from A Merge run reports "review required" without trying a merge it knows will be refused #707 cmd Command surface: help, version and argument errors #40's flags. It could be a script or
thirdshift sandbox -- <cmd>, checked bythirdshift setup(thirdshift setup: check that Security sessions can sandbox target code on this machine #608), and named in the Security review prompt. - Prompt: "Run target code only to prove a candidate finding; when source review finds none, finish."
- Skip the Security review when the merge base equals HEAD or the PR isn't open. Tickets keep their repository from the sub-issue graph to the Run #672 reviewed an empty diff after the merge and wrote "Review incomplete" into the merged PR.
- Ship a tested sandbox runner built from A Merge run reports "review required" without trying a merge it knows will be refused #707 cmd Command surface: help, version and argument errors #40's flags. It could be a script or
- Confidence: high.
7. Host gh 2.45 and a root-owned cache break the commands the docs prescribe (Host and Repo docs)
- Evidence:
gh issue view 707 --commentsexits 1 on this host with "Projects (classic) is being deprecated", and so doesgh pr edit. The error appears in 22 of the 25 sessions.- Those failing forms are the ones prescribed by
docs/agents/issue-tracker.md(gh issue view <n> --comments,gh pr edit --add-label) and implied by the thirdshift-pr skill. - thirdshift's own code already works around this.
src/github.rssays "gh pr editfails on the GitHub Projects (classic) sunset in oldergh". /tmp/gh-cli-cachehas been owned by root since Sep 25. Sogh run view --log-failed, the command the CI-fix prompt suggests, fails with "permission denied" in every CI-fix Repair.
- Fix:
- Install current gh from GitHub's apt repo.
sudo rm -rf /tmp/gh-cli-cache.- In the docs, use
gh issue view <n> --json title,body,labels,commentsandgh api --method PATCH repos/<o>/<r>/pulls/<n> -F body=@<file>. - Optionally, a minimum gh version in
thirdshift setup.
- Confidence: high.
8. Navigation: big files read whole, and the glossary has no code map (Repo and Factory skill)
- Evidence: every session reads large files whole.
CONTEXT.md(35 KB, zerosrc/mentions) is read whole 4–7 times per Run: by the implementer, each reviewer and the Security review.skills/thirdshift-tdd/SKILL.md:10anddocs/agents/domain.mdboth say "read CONTEXT.md".- Codex shows at most ~10K tokens per call and drops the middle. A Merge run reports "review required" without trying a merge it knows will be refused #707's first multi-file
catlost 24,855 tokens and was re-read within 11 s. - README.md (158 KB) was printed whole in update https://thirdshift.app/ based on the latest which is part of thirdshift #663 (165K chars).
- The generated
site/prompts/index.html(453 KB) was diffed about 5 times by each make prompts and skills page sections fold closed and open on header click #683 reviewer. AGENTS.md's generated-files note names onlyprompts/. - Other misses:
tests/fakes.rsversustests/fakes/<tool>.rs, and site tests with no documented runner or browser. make prompts and skills page sections fold closed and open on header click #683 listed 6,020 /tmp entries hunting for Playwright.
- Fix:
- Repo: add a
_Code_:line to each CONTEXT.md entry, for example "Ticket board →src/spec_run/ticket_board.rs". - Repo: one AGENTS.md line: "rg before reading big files (CONTEXT.md, README.md, tests/fakes/gh.rs, tests/spec_run.rs); read ranges, one file per call."
- Repo: name
site/prompts/index.htmlas generated (its source issrc/prompts_page.rs), plus a site-tests line. - Factory: in tdd and domain, say "look up the issue's terms in CONTEXT.md". The code-review skill should drop generated paths from the reviewers' diff.
- Repo: add a
- Confidence: medium-high. This saves tokens more than wall-clock.
9. Reviewers have thin standards: cosmetic catches, and a missed timing bug (Repo)
- Evidence: CODING_STANDARDS.md is one line, so Standards reviewers fall back on the Fowler smell list.
- Most findings are "Duplicated Code". Since Oct 6, about 10 commits on main are titled like "Share … fixture after Standards review".
- The reviews that caught real bugs used ADRs. Check re-run reads CI as passed before the re-run's checks are listed, and Self-merges red CI #686's two findings (P1 and P2) came from ADR 0010 and became regression tests.
- The miss: in make prompts and skills page sections fold closed and open on header click #683, both reviewers read the racy
isVisible()assert and itshashchangehandler, and ran the tests green. CI failed 3/3, and main was red for 27 hours. That was later fixed by Wait for a fragment link's target to open in the browser test #685, Wait for new check runs before accepting Check re-run CI #692 and Fix CI-fix Repair ownership of intermittent failures #693. - Flip-flop: in A Merge run reports "review required" without trying a merge it knows will be refused #707, the string
outcome == "review required"(Primitive Obsession) was flagged in round 1, not in round 2, then flagged again by the other writer's reviewer. It was declined twice on the same grounds. - Read cost: reviewers read whole files. release.sh resumes only its own bump PR from this repository #671 and update https://thirdshift.app/ based on the latest which is part of thirdshift #663 spent 5.4M reviewer tokens for three cosmetic findings.
- Fix:
- Repo: in CODING_STANDARDS.md:
- "ADRs in docs/adr are standards; cite them";
- "a test waits for the state an event or I/O produces; never assert a snapshot right after an action";
- settle the string-outcome question one way.
- Repo, deterministic backstop: site tests use waiting assertions (
locator.waitForor@playwright/test'sexpect(...).toBeVisible()with eslint-plugin-playwright'sprefer-web-first-assertions). - Repo: add a homepage test. Three update https://thirdshift.app/ based on the latest which is part of thirdshift #663 sessions re-derived the same link, ID and overflow checks.
- Factory: in the code-review skill, say "reading a changed file means its hunks with context; open supporting files by symbol; after merging Foreign commits, review from the last reviewed head".
- Repo: in CODING_STANDARDS.md:
- Confidence: medium.
10. Sessions have no stop rules when the work is moot (Factory)
- Evidence:
- The CI-fix Repair prompt says "Run the affected checks locally, commit, and push" with no condition. agy sessions fail on agy 1.3.3: pass the prompt as -p's value #658 repair-4 proved the failure was a flake on an identical tree, then ran a 17-min suite and pushed. That push recreated the branch GitHub had deleted at merge.
- Tickets keep their repository from the sub-issue graph to the Run #672 implement kept polling for 12 min after reading
"state":"MERGED". - Delivery checks the PR's state only at the end. It waited 8.6 min on CI for a merged PR (agy sessions fail on agy 1.3.3: pass the prompt as -p's value #658) and 10 min for a drafted one (load the sections of https://thirdshift.app/prompts/ closed and let the user toggle them open/closed #666).
- Fix:
- Prompts: "If you change no code, don't push." "If the PR is merged or closed, stop and say so."
- Delivery: check that the PR is open and ready after each Repair and on each CI poll.
- Confidence: high. Most cases came from the race, but a Day-shift merge hits the same paths.
11. One failed CI read fails the whole Run (Factory)
- Evidence: release.sh resumes only its own bump PR from this repository #671 died 18.8 min into a CI watch on "gh api …/check-runs failed: unexpected end of JSON input". Evidence-backed review findings #486 died the same way on Oct 7.
src/ci.rspasses upchecks_on(sha)?with no retry. - Fix:
- Retry read-only check reads 3 times with backoff; checks that can't be read still never count as green.
- Lower confidence: start the CI-fix Repair as soon as one of the branch's own checks fails. make prompts and skills page sections fold closed and open on header click #683 waited 11.75 min for macOS shards after
site-testwas already red. - Lower confidence: check
base_branch_moved()during the watch, not only after it.
- Confidence: high for the retry.
12. A gap in #263's fix still makes release tests flaky (Repo)
- Evidence:
tests/release.rsisolated()setsGIT_CONFIG_GLOBAL=/dev/null, which bypasses the maintenance-off gitconfig fromtests/support/mod.rs. CI's newer git then runs automatic maintenance in the background, and the fake gh'sremove_dir_allhit "DirectoryNotEmpty". This was agy sessions fail on agy 1.3.3: pass the prompt as -p's value #658's CI red, after a 21.5-min CI-fix Repair and 3.4M tokens.- The Repair named the cause but filed nothing, because the CI-fix prompt allows only a "CI notes" line.
- Fix:
- Repo: set
maintenance.auto=falseandgc.auto=0throughGIT_CONFIG_COUNT/GIT_CONFIG_KEY_n/GIT_CONFIG_VALUE_ninisolated(), plus a guard test. - Factory: let the CI-fix Repair file a
needs-triageissue for an unrelated failure whose cause it found.
- Repo: set
- Confidence: high.
13. Every Run's worktree starts with a cold target/ (Host and Factory)
- Evidence: 2–3.5 min of dependency compiling before the first test in every implement session; security sandboxes rebuild again. "Blocking waiting for file lock" appears when reviewers test concurrently.
- Fix: set
RUSTC_WRAPPER=sccache, or seed target/ from the Launch directory. - Confidence: low-medium.
14. Edits made by Python str.replace heredocs (Factory prompt and Host)
- Evidence:
- Every implement session edited through
python3 - <<'PY'. In Tickets keep their repository from the sub-issue graph to the Run #672 an over-broad.replacealso matchedopen_blockers.push(…)and caused E0308. - There's no
pythonon PATH, so the first try fails. - The sessions' own reviewers used apply_patch.
- Every implement session edited through
- Fix:
- Prompt line: "Edit files with apply_patch."
- Host:
python-is-python3.
- Confidence: low-medium.
15. Sessions carry 44 skills, some with colliding names (Factory and Host; No-op)
- Evidence:
- Every Codex session and sub-agent starts with a 16 KB list of 44 skills: the operator's
~/.agents/skills, Codex plugins (google-drive, pages, work-pets, sites…) and the repo's.agents/skills. - Generic
code-review,tdd,prandcodebase-designcollide with thethirdshift-*versions. 16 sessions read the genericcode-review/SKILL.md, with no visible harm.
- Every Codex session and sub-agent starts with a 16 KB list of 44 skills: the operator's
- Fix: start Run sessions with Codex plugins off and only the Factory and repo skills.
- Confidence: low on impact.
Already fixed
- make prompts and skills page sections fold closed and open on header click #683's false green is fixed. The Repair waived its own new test as "flaky", re-ran CI itself, and the Check re-run read green before the re-run's checks were listed. The fixes are Wait for a fragment link's target to open in the browser test #685 (the test), Wait for new check runs before accepting Check re-run CI #692 (Check re-run) and Fix CI-fix Repair ownership of intermittent failures #693 (CI-fix Repair prompt).
Keep
- Test-first at the CLI seam with fake gh. Tests went red for the right reason before going green.
- The "run the reviewer's reproduction, keep the test" rule. Check re-run reads CI as passed before the re-run's checks are listed, and Self-merges red CI #686's two real bugs became regression tests.
- Review reports and files-read lists saved beside the logs, plus per-session token totals. They made this retro possible.
- Careful reconciliation: merge rather than force-push, tree-equality checks, and fresh reviewers.
- Repairs' diagnoses, which were consistently right. When an outcome was wrong, the prompt had steered it.
- Security sessions refused to claim a review of an empty diff.
- AGENTS.md is lean, and its generated-prompts note was followed. make prompts and skills page sections fold closed and open on header click #683 regenerated instead of hand-editing.
Activity
JacobStephens2 commentedon Oct 25, 2026
Triage: ready for a human
This is a tracker, not agent work. Closed: #712, #722, #724, #725, #728, #730, #731, #732, #734, #735. Still open: #723, #726, #727, #729, #733. #724 is closed but still unchecked in the checklist.
Next step: tick #724, and close this tracker once the five open findings resolve.