Repository navigation
Description
This was generated by AI during triage.
Consider a thirdshift retro command that examines recent factory work and produces evidence-backed guidance for improving the factory, its host, and the target repository.
Original inspiration: https://github.com/mattpocock/skills/blob/main/skills/engineering/retro/SKILL.md
A concrete example to learn from
The Oct 11–16 2026 thirdshift factory Run retrospective, preserved in #721, is a useful example of the report this command could produce. It examined eight Runs (#658, #663, #666, #671, #672, #683, #686, and #707), using Command logs, session transcripts, saved Standards/Spec review reports, reviewer rollouts, GitHub issues/PRs/Actions, and the repository at a recorded commit.
Its historical estimates were about 13.6 hours of Run time, about five hours of competing-writer overhead, and roughly half of implementation input tokens spent on turns waiting for local test suites. These figures are attributed to the report; they were not independently remeasured during the subsequent issue-filing session. Input tokens are not a dollar-cost estimate.
The work in this session then turned that supplied report into a backlog:
- Reused Two machines' Pickup runs can take the same Ready issue at once #712 for the cross-machine Claim race and added the report's evidence, rather than creating another issue. Its earlier body had described the race as not yet observed.
- Created 14 finding issues, Skip Review Repairs for foreign commits that leave the tree unchanged #722–Measure redundant skill catalogs and clarify Factory skill resolution #735, with evidence, confidence, requested outcomes, validation, and related work. Track the Oct 11–16 factory Run retrospective findings #721 links all 15 findings and preserves the full report.
- Checked current code before recommending readiness. Corrected the report's claim that CI only ran on pull requests: this checkout also runs CI on pushes to main. Found that site browser-test instructions already existed, so that follow-up became a discoverability improvement.
- After a separate maintainer decision, posted authoritative Agent Briefs and marked Skip Review Repairs for foreign commits that leave the tree unchanged #722, Retry transient CI check reads within a bounded interruptible budget #731, and Disable background git maintenance in isolated release tests #732
ready-for-agent. The briefs distinguish code-inspected gaps from incidents not freshly reproduced. Disable background git maintenance in isolated release tests #732's unrelated CI-fix issue-publication proposal was explicitly left out of its implementation scope.
This distinction matters: this session used an existing retrospective, then performed deduplication, current-code checks, issue publication, and selected triage. It did not independently recreate every historical measurement or implement the fixes.
Suggested workflow
- Choose and record a bounded scope. Identify the repository, host(s), time window or recent-Run count, included Commands, Harness/Model/Effort, and source repository revision. State what evidence is missing, especially when activity on another host is inferred. CLI syntax and defaults still need design; a recent-count or date-range selector would fit this example.
- Build a compact evidence index. Connect each Run to its Command log, sessions and reviewer sessions, saved review reports, issue, PR, head commits, and Actions attempts. Read structured metadata first and retrieve transcript ranges by event or symbol. Do not repeatedly print whole large files or generated pages into the model context.
- Explain outcomes and costs. Show a per-Run table with outcome, elapsed time, implementation time, local-test waiting, CI execution/queueing, and reconciliation/Repair overhead where observable. Report session input/output/cached-token counts separately when available, with their source. Label estimates and unknowns; do not double-count overlapping stages or sum cumulative usage snapshots as if they were independent increments.
- Find recurring causes, not just failed Runs. Separate observations, causal hypotheses, and confidence. A source excerpt, commit/tree comparison, API result, or timing should support each finding. Rank by impact and include successful Runs: update https://thirdshift.app/ based on the latest which is part of thirdshift #663 merged but spent substantial time waiting on a full Rust suite for site work. Distinguish prompt, deterministic code, test, documentation, and host changes.
- Reconcile findings with the present. Search existing issues, current implementations, applicable ADRs, prior decisions, and already-fixed incidents. Call out contradictions between a historical report and current code. The make prompts and skills page sections fold closed and open on header click #683 false-green fixes (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) belonged in “Already fixed,” not new duplicate bugs.
- Produce a useful report before publication. Keep a Run table, ranked findings, evidence pointers, affected layer, cost/impact, confidence, possible remedies, “Already fixed,” and “Keep.” Preserve the report as an artifact that remains useful without creating issues.
- Publish and triage as distinct operations. When issue publication is explicitly requested, reuse matching issues, post relevant new evidence, create independently actionable follow-ups, and maintain a tracking index. Start new proposals at
needs-triage. Low-confidence proposals can be research tasks; host work may need operator access; a report's proposed fix is not automatically an implementation-ready contract. Moving work toready-for-agentshould attach a concrete Agent Brief with acceptance criteria and scope boundaries, following the triage workflow and maintainer direction.
What the analysis should look for
Use the report's three layers consistently:
| Layer | Examples from this retrospective | Kind of follow-up |
|---|---|---|
| Host | Unknown second Pickup scheduler; outdated gh; unwritable Actions-log cache | Operator investigation/remediation, with uncertainty explicit |
| Factory | Empty-tree Review Repairs; transient check-read failures; missing lifecycle stop rules; Harness-specific waiting guidance | Reusable prompt or deterministic behavior changes across target repos |
| Repo | Slow tests/CI; generated-file navigation; release-test git isolation; thin standards | Changes to this target repository's tests, docs, and configuration |
Patterns worth detecting include repeated identical trees or heads, Repairs that change no files, duplicated writers, polling turns with no new information, repeated full suites on already-validated heads, work continuing after a PR becomes terminal, known failing tool commands, sandbox setup rediscovered each time, and reviews reopening the same declined cosmetic finding.
Retain strengths as well as proposed changes. This report specifically valued tests at the CLI seam with fake gh, retaining reviewers' reproductions as regression tests, saving review reports/files-read lists and token evidence, and reconciling commits without force-pushing. Optimization should preserve these contracts.
Boundaries and decisions still needed
- Reporting versus mutation: settle the command's output/artifact contract and how callers opt into issue publication. A retrospective must not silently implement fixes, change host scheduling, or promote its own proposals to
ready-for-agent. - Code versus operations: identifying a possible other host is not proof of its identity or authority to stop its processes. Two machines' Pickup runs can take the same Ready issue at once #712 remains the operational priority before more automatic Pickup work encounters the same race.
- Verification: define how much fresh checking a report performs and record exactly what was inspected, reproduced, or merely inferred. Report generation need not rerun every full suite or historical incident.
- Scope of one issue: split independent policy decisions and implementation changes. A sandbox runner, its setup probe (thirdshift setup: check that Security sessions can sandbox target code on this machine #608), and review execution policy are related but not interchangeable deliverables. Likewise, the release-test maintenance fix (Disable background git maintenance in isolated release tests #732) can proceed without deciding automatic CI-fix issue publication.
- Architecture: fit a one-shot command into existing logging and artifact conventions. Any recurring invocation should use the operating system's scheduler in keeping with ADR 0009, rather than introduce a scheduling daemon.
This is design guidance and a worked example, not an implementation-ready Spec or a settled CLI contract. The complete source report and resulting issue index are in #721.
Activity