Skip to the process

An engineer's guide · from issue to pull request

How thirdshift works

You describe the work. thirdshift runs an unattended coding agent in its own Git checkout, asks it to implement and review the change, then checks the pull request against the repository's latest state. By default, you review before merging. A Ticket run Self-merges when asked.

Start with one issue below, then follow the same process into larger Specs and scheduled work. This guide describes the source on main; an installed release may differ.

01 / The human handoff

Start with work you can describe

The Day shift is you: settle what should change, what success looks like, and what is out of scope. Put that in a GitHub issue. One session's worth of work can stand alone; a larger Spec is an issue with Tickets as GitHub sub-issues. We'll follow a standalone issue first.

For issues labelled bug, a fresh Ticket run or Continuation uses /thirdshift-diagnosing-bugs before changing code. A fresh run, or a Continuation with nothing on the Issue branch beyond the Base branch, reproduces on that checkout. A Continuation whose Issue branch is ahead of the Base branch reproduces at their merge base, then checks the fix on the branch: a bug there, with the fix already on the branch, goes on to review and the pull request. Otherwise it captures a failing regression test, then fixes it. If the bug cannot be reproduced at that checkout, it comments with triage notes, replaces ready-for-agent with needs-info and ends successfully with the comment link, without opening or merging a pull request. Flaky-test Tickets use the recorded CI failure as evidence and go straight to implementation. Security fixes and Base fixes keep their own flow.

For UI changes, /thirdshift-verify-ui drives the live app before a clean capture pass. Static changes get paired Before/After screenshots; interactive changes get an After walkthrough video, plus Before when changing an existing flow. GitHub attachments keep Visual evidence under the repository's read permissions. If the app or capture tools cannot run, the ready-for-review PR explains the limitation in Evidence.

Human intent becomes the agent's brief
  1. Day shiftClarify the behavior and acceptance criteria
  2. GitHub issueRecord the agreed work
  3. Ticket runGive thirdshift the Issue URL

From a clone of the issue's repository, normally checked out on your intended Base branch, start a Ticket run. In this example, main is the Base branch and the pull request will target it:

A fine-grained GitHub token needs Contents, Issues and Pull requests read and write, plus Actions and Commit statuses read. When check runs return HTTP 403, CI watch and Score packets use the latest GitHub Actions jobs and commit statuses; checks from non-Actions apps are unavailable through that fallback. Prerequisites.

cd ~/repos/widgets
thirdshift --no-merge https://github.com/acme/widgets/issues/7

In that clone, thirdshift 7 also starts the issue's Ticket run: a bare issue number is resolved from origin. Add --no-merge to leave it for review regardless of your defaults. Command forms.

--no-merge explicitly leaves the pull request for review, even if your User config normally requests merging. Before starting, install and authenticate GitHub CLI (gh) and your chosen Harness (the agent CLI, such as Claude Code or Codex), configure Git's commit identity and push access, and install the repository's test toolchain. thirdshift setup chooses machine defaults and offers to save a Claude setup token, made with claude setup-token, with hidden input. That token is reserved for Trials; ordinary Runs use the Harness's existing login.

After saving the User config and Credentials, Setup checks gh >= 2.103.2, ffmpeg and Playwright Chromium for pull request Visual evidence. Missing tools produce a warning and install commands; on a terminal, one [y/N] prompt offers to run them, then check again. Enter declines. Installer failure or interruption keeps the saved files. Without a terminal, Setup reports the commands and runs no installer. Setup and User config.

02 / Where the work happens

Give the Ticket run its own checkout

thirdshift checks that the Issue URL matches the clone's origin, that the issue is open, and that the Base branch, Harness and Git identity are usable. It selects an Issue branch, marks the issue in-progress (its Claim, on only while the run is live), then acquires a sibling Git Worktree. A fresh Issue branch starts from the fetched Base branch on origin.

Example: two checkouts, one Git repository
Launch directory~/repos/widgets/Checked out on mainYou start thirdshift here
Ticket run's Worktree~/repos/widgets-issue-7/Checked out on issue-7The agent edits and tests here

Shared Git history and remotes · separate checked-out files

The work happens in the Worktree rather than switching your Launch directory to the Issue branch. If an existing Issue branch has no pull request or an open one, thirdshift continues it instead of starting over. An open pull request supplies its Base branch. Once a branch's pull request is closed or merged, later work uses a new numbered Issue branch.

When a Harness session ends or is stopped, thirdshift stops its process tree and sweeps for detached survivors. Linux uses a separate systemd user scope where available. Linux without a user manager uses a per-session environment marker; clearing that marker can escape this best-effort cleanup. Other files the session created stay. What sessions leave behind.

03 / What the agent does

Let the agent implement and review

thirdshift starts a headless session in the selected Harness, in the Worktree. The Session prompt supplies the issue, Base branch, Issue branch and review instructions. Factory skills are linked where that Harness discovers them. The opening session carries the change from implementation through review to a committed branch and pull request.

When the User config lists [harness] routes and the command names no Harness, Model or Effort, each session Step starts on the first route this machine's Plan usage says can take it: not in a cooldown, below its max_utilization, and with its included Plan windows left unless the route sets allow_credits = true. A session that stops on the Harness's own structured Plan-usage limit or Harness error starts its Step again, as a fresh session, on the next route not yet tried. A Harness error adds no cooldown. If no route can take over after a Harness error, the Command fails with its usual Recovery. If it stopped after doing work, its commits stay and its uncommitted changes are discarded; an implement session that made commits continues with the Continuation prompt. No prompt mentions the limit. A bare HTTP 429, an explicit --harness, a Step's own Harness, Experiments, Scoring runs and a cybersecurity safeguard refusal never route. The pull request's single Built-with line names the route the implement session ran on, while Session traces, the Command record and the Run notification name what each Step ran on. Security fix Tickets try security.harness and then [security] routes when the command leaves those choices to the User config. For these Tickets the Recovery command uses the same policy.

When every route a Command may take is unavailable, in cooldown after a structured limit or at its ceiling, nothing sleeps waiting for a Plan window to reset. A scheduled Pass skips after its GitHub quota check and before any other GitHub work, writing its reason to the Activity log only when it changes, and thirdshift status and the Inbox show a banner naming the held routes and the earliest reset. A live Command ends as a Paused Command, keeping its pushed work and recording the stopping Harness, window, utilization, reset and the command that continues it; a Spec run starts no queued Ticket once one pauses. Its Claim comes off without agent-failed, so the Failure limit never counts it, and puts ready-for-agent back unless an untrusted edit leaves needs-triage or it is a Security fix. A pause that put ready-for-agent back sits in Done, since a later Pickup run continues it; any other waits in Needs you.

The pull request's Evidence separates actual failing-before and passing-after execution output from visual captures. For rendered UI changes, interactive UI verification runs in the Worktree first; desktop (1440×900) and mobile (390×844 when responsive behavior changes) .png screenshots and H.264 .mp4 walkthrough recordings are attached directly via gh >= 2.103.2 --attach instead of branch commits, inheriting repository read permissions. Follow-up Continuations, Fix runs, UI-touching Security reviews, and Delivery Repairs publish missing Visual evidence or refresh stale captures via gh pr edit --attach, leaving existing evidence untouched on non-UI backend or test edits. Every image or recording has a visible Before or After label immediately above it, naming its flow and viewport; when capture tools, ffmpeg, gh >= 2.103.2, or the app cannot run, the pull request stays ready with the explicit limitation under ## Evidence, and thirdshift setup checks browser, ffmpeg, and gh readiness ahead of time.

On Claude and Grok, a Session's completion line survives later background-task notifications. A later reply carrying a completion line takes precedence.

Command records and Session traces retain each run's Process name, whether it is Built-in or Custom, and its file's SHA-256 hash. Each child Ticket run records its selected Process separately from its parent, defaulting to ticket-run. A run awaiting a Built-in file keeps its run-type name without a hash. Status, the Console, the Activity log and Run notifications keep their existing names.

A session Step in a Custom process gets the same single Resume as a Ticket run when background work was killed as its turn ended. If the Resume ends the same way, a progress line names the work and the following Steps decide the outcome. A later Process failure names the killed work ahead of the failing Step. Resumes do not count against the Repair cap. Claude Code stops background work, a review sub-agent included, 10 minutes after the session's last turn; that stop counts as killed work too, and the review procedure tells the session to wait for its reviewers before ending its turn.

Inside the opening agent session
  1. ImplementRead the issue and repo instructions; test first where possible
  2. ReviewIndependent Standards and Spec reviewers inspect the change
  3. PublishAddress findings, commit, push and open the pull request

The Standards axis checks repository coding standards and code smells. The Spec axis checks the change against the issue. For findings that say behavior is wrong, the implementing agent must run the reviewer's reproducer before deciding: a demonstrated failure gets fixed with its test kept; a declined finding needs evidence that exercises it. Skipped findings go in the pull request's Unaddressed findings section, and decisions for the Day shift get a linked triage issue.

These are agent reviews, followed by deterministic Git and CI checks in Delivery. They do not guarantee correctness or replace your judgment. You can inspect the exact prompts and Factory skills, including the review procedure.

04 / From a published change to a checked result

Deliver against the latest Base branch

A running Command whose own GitHub call hits primary quota exhaustion waits until reset plus one minute and a random 0–60 seconds, then retries. If the quota has already reset, with at least 500 left, it records no wait and retries once, immediately. CI watch and Delivery share a two-hour total cap with child Ticket runs. A secondary limit gets up to five retries, 60 seconds apart. During a primary wait, status, show and the Console show Quota wait until <time>; Slow timing includes the wait. Stop interrupts ordinary waits; Claim ending and other completion work still finish within the cap. The Run notification totals primary waits in one Waited <duration> for the GitHub quota (<resource>) line. Waiting itself adds no agent-failed; agent sessions' own gh calls are unchanged.

A pull request existing is not the finish line. Delivery runs the opening session, then keeps the captured pull request mergeable and checks CI. This orchestration is thirdshift's code; a Repair is another agent session started when the branch needs work.

A configured Sign-off hold leaves a mergeable PR ready for review after a Ticket, Spec or Fix run when the named check is its only red check and the current PR carries the hold label. The Inbox names the check and label, and a requested Self-merge waits for the Day shift. User config

For an existing open pull request, thirdshift fix <PR URL or number> starts a Fix run directly at Delivery. Ready and draft PRs by Trusted accounts are accepted, with or without closing issues. It uses the PR's own Base branch, reserves the PR while running and gives each Repair trusted PR and linked-issue context. It stops before using a linked closing issue, including when started as a Pass, unless that issue's author is a Trusted account and no account that is not one has edited its title or body. The usual merge, Base fix, Harness and email defaults apply; failure preserves work and offers thirdshift fix again.

Self-merge requires recorded agent authorship or review of the adopted head. Without it, a Fix Pass, even with merge, or a targeted Fix run asked to merge only by merge.always, still repairs the PR and checks CI, then finishes successfully Ready for review (exit 0) and logs the hold. An explicit thirdshift fix <PR> merge still fails with the hold and leaves the repaired PR ready for review.

With no PR target, thirdshift fix [base <branch>] [--author <login>] is a Pass. Without --author, it first checks the Base branch's origin tip: a failed first push attempt gets one failed-jobs re-run, then PR selection continues without waiting. Persistent or non-rerunnable failures get a CI-fix session on fix-<base>-<short-sha> and a repair PR targeting the Base branch, treating every red check as its own; that Fix run ends the Pass. Existing PRs from that branch prevent duplicates, failed drafts included. Merge and email policy apply, and Self-merge closes the Base branch's CI-red reports and Base fix issues.

Use thirdshift fix base master no-merge merge-base-fix to Self-merge only a newly authored Base branch CI repair and leave selected PRs ready for review, even with merge.always = true. merge-base-fix (also --merge-base-fix) changes that new repair's merge permission alone; the usual Delivery and Self-merge gates still apply. Selected PRs follow merge, no-merge and the User config. An existing repair PR selected later or retried gains no permission from its branch name or this word; request fix <PR> merge explicitly. The word is rejected outside a Fix Pass. Omission preserves existing behavior, --author still skips Base branch maintenance, and a Ticket run's base-fix still always merges.

Otherwise the Pass selects an eligible open, non-draft, same-repository PR targeting the selected Base branch. A Merge conflict or CI red on the current head comes first, lowest PR number first. With behind <n> or the repository’s fix.behind setting, PRs at least that many commits behind also qualify, furthest behind first. The Pass skips a PR held only by a Sign-off hold even when it meets the behind threshold. A Merge conflict or other settled CI red keeps it eligible, and the held check stays out of the Repair's failure list. It skips untrusted authors and in-progress PRs, passing over busy reservations and head branches already checked out locally. Local occupancy reasons name the PR and occupying path on stderr and, when no candidate can be taken, in the Activity log. The check preserves occupied worktrees; an explicit PR target still fails and names the occupying path. At the Command limit or with no eligible PR left, it records a skip, exits successfully and sends no Run notification. Later Passes skip PRs left as drafts. A closing-issue trust stop keeps unpublished Repair work local and leaves the PR in its current state.

A Fix Pass checks every linked closing issue before and after reserving the PR. An in-progress Claim on a Spec or standalone Ticket run's issue, including on another host, makes it skip the PR and name the claimed issue on stderr. It can adopt the PR on a later Pass after the Claim ends. Unreadable links or labels fail closed; explicit PR targets keep their existing behavior. Once the Pass has selected a pull request, an untrusted author of a linked closing issue, or any title or body edit by an account that is not a Trusted account, stops the Fix run before the issue is used and does not take the next candidate.

A Fix run's Self-merge needs recorded agent authorship or review covering the exact adopted head, written by the GitHub account thirdshift acts as. Completed Ticket, Spec and Base CI Deliveries record their delivered heads for later Fix runs. Without that evidence the repaired PR stays ready for review; run thirdshift review <PR URL> before retrying Self-merge.

Pending or re-running Base branch checks, an occupied CI reservation, or an existing repair branch or PR skip only Base branch maintenance and leave PR selection available. Stderr and the Activity log record the reason, including when no eligible PR is found. Failed opening Base CI sessions publish preserved work as draft repair PRs with a Fix Recovery command; an existing repair branch also prevents another attempt if PR creation failed.

A Base branch CI-fix session that commits nothing ends successfully without pushing a repair branch or opening a PR. Stderr and the Activity log name the Base branch and commit where it found nothing to change. A local Git ref in the Launch repository remembers that attempt; later Passes there skip that CI-fix and continue PR selection. It requests no further Check re-run.

Fix CI sessions keep command and test logs in the worktree's Git-excluded .validation-logs/ directory, which cleanup discards. They reproduce with a failing test file or filter before a full suite, without full-suite debug output or sleep-and-tail polling loops. Review sessions check whether the PR is open at most once, immediately before a multi-minute validation suite; thirdshift also checks its state around the session and before Delivery.

The Repair loop, after the opening session publishes
  1. Merge in the Base branchBring the latest upstream changes into the Issue branch; never rebase
  2. Push and watch CI on this headCheck mergeability and whether the Base branch moved while checks ran
  3. Reach a checked pull requestMergeable, with green CI, no checks or a Sign-off hold
Conflict or the branch's own CI failure?Start a Repair to resolve or fix it.Then return to merging the Base branch ↑
Base branch moved during CI?A Self-merge reconciles the new upstream state. A pull request left for review can stop if it still merges cleanly and CI is green or waiting on a Sign-off hold.Otherwise return to merging the Base branch ↑

Before Self-merge, thirdshift checks whether the watched head contains the current Base branch. When Base advances, it merges Base in and watches CI on the new head. If the previous head had checks, Self-merge requires green CI on the updated head. A Base branch with a GitHub merge queue can use the queue's own combined checks.

Repair and upstream-move budgets keep the loop bounded. If a CI-fix Repair leaves the same failing head, that head gets one Check re-run; if its own checks stay red, the Ticket run fails rather than spending more Repairs on unchanged code.

An Inherited failure is a check that also failed under the same name on the Base branch commit last merged in. thirdshift does not ask a Repair to fix that on this Issue branch. It fails the Ticket run, or, when allowed, starts a separate Base fix and waits before trying again. Before it creates that Base fix, it confirms this pull request is still open. A closed or merged pull request, or one that cannot be read, fails the Ticket run and writes no Base fix issue.

An optional Security review runs after the opening session, including each Ticket, after the Spec review for a Spec PR, and after a Review run addresses its Standards and Spec findings. On a Review run, security-review or [security] review = true asks for it, no-security-review overrides the setting, and --recommend-only skips it. Its fixes are pushed with the others and unfixed introduced Security findings appear in the comment. It uses the User config's security.harness when set, and the Command's Harness otherwise. Preflight checks its Harness; an unavailable review Harness falls back to the default Harness. A failure to start before the first turn can also trigger that fallback once. A review with configured routes moves to the next available route after a Harness error. A plan-limited or unstartable security.harness gives way to [security] routes, else [harness] routes, else the default Harness. The review fixes reproduced vulnerabilities introduced by this change; an introduced finding left unfixed holds Self-merge. Security review details.

Start work labels repositories by Fleet machine. Choose that machine's Cron jobs for Run now, or its User config and Update links for administration. Each control uses that machine's current run or admin scopes for the person signed in. The owning machine does the work and names the person and calling Console in its Activity log. The CLI's start <owner/repo> <issue>, config and update accept --machine <name>, acting as the token holder.

Choose Fleet schedules on Cron jobs, or thirdshift cronjobs --fleet [--json], for repository headings containing each machine's recognized Command kinds, original schedules and commands. On the page, each repository and Other for unknown entries starts folded closed on every load or reload. Expand or collapse headings independently by pointer or keyboard, with or without JavaScript; several groups can stay open during a visit. Machine statuses stay visible, including successful empty inventories, unavailable, refused, incompatible and link-only machines. Each owning machine resolves its repositories and authorizes reads. Scheduling remains with cron, in its original time zone; Last fired observations and Run now controls remain in the individual machine views.

05 / The result and your next move

Know what comes back

A client with run can start Ticket, Spec, Architect, Pickup, Security, Review, Fix, Custom process, skill, Scoring, Triage and Experiment runs with structured JSON at POST /api/v1/runs. Passes keep cron's skip gates, including the Command limit; triage takes Report text in the request. GET /api/v1/launch-directories and thirdshift launch-directories --json list the known repositories from cron plus User config's launch_directories. Starts run detached through Console restarts; their Activity log names who asked, and the Console log records each start attempt. Experiment starts put the CLI options in an experiment object, including candidate, baseline and the suite list; OpenAPI lists every option.

Release starts use command: "release" and require admin scope for the thirdshift repository. Omit version for a Pass; optionally pin bump to major, minor or patch, or supply an explicit version instead. Administrators see a separate Start Release run control. POST /api/v1/start aliases the same start handler; narrowed viewers and run-only tokens cannot start releases.

Use thirdshift console scopes --email <address> --scopes read from the serving machine's shell to narrow a Console account. An address absent from console.address_scopes has all five scopes. A token can name a person in X-Thirdshift-Person; the owning machine requires that address on its sign-in list and applies the intersection of their scopes. The page hides unauthorized controls, and refused API calls name the missing scope. No page or API route writes the sign-in list or address scopes.

The Console's read views are also available as JSON under /api/v1, authenticated by scoped bearer tokens or the page's sign-in session. The machine's owner creates, lists and revokes tokens through console token; tokens require HTTPS except for direct localhost connections. console whoami and its API twin report machine and caller identity. Each response equals its CLI twin's --json output. The read scope shows Security run rows and stages; details, findings and Security Session traces need security. With act, clients can POST Stop, Dismissal and Undo, eval judgments, Theme selection and hidden sections. Other-account Commands remain read-only. API changes record the caller, endpoint and outcome in the Console log; token Stops and Dismissals name the holder in the Activity log. /api/v1/openapi.json and thirdshift console openapi describe the served routes, their scopes and CLI twins. Failed tokens and passwords share a per-address slowdown and cool-down; a refusal includes a retry time. Console API.

Pair machines from the shell with thirdshift console fleet add <name> <address>, giving the token through standard input. Pairing verifies the other machine before saving its identity and scopes; tokens stay in owner-only Credentials. console fleet list --json shows saved version and last contact, and console fleet remove <name> removes both entry and token. All Fleet entries appear as header links; an entry without a token is link-only. Fleet.

To let a machine report outward, create a report token for its Fleet name on the watching Console (console token create <machine> --scopes report) and save it on that machine with thirdshift console report add <name> <address>. That token uploads only its holder's own Run metrics summary and Plan usage, which the machine pushes after every Command; every other endpoint refuses it. Reporting outward.

Open Plan usage (g then p) for a compact By Harness summary of all five subscriptions at the top, without machine names. It shows each account's Plan windows and restrictions, including model groups when reported. Grok has no usage read, so its windows come from running sessions. The summary uses the freshest observation when no identity is reported. Choose Fleet, This machine or one machine to scope both that summary and the detailed sections below.

thirdshift status combines the local Inbox with each live Fleet entry's Inbox, preserving the owning machine's groups and account tags. Rows name their machine, and active runs show a Fleet total and per-machine counts. status --machine <name> selects another machine; the local hostname behaves like plain status. Each remote read has a three-second timeout, with failures reported beside the other machines' results.

Stop, Dismiss and Undo on a remote row go to its owning machine, using the signed-in person's effective scopes there. Stop asks for confirmation; the owning machine's answer or refusal is shown. Other-account Commands remain read-only. The shell equivalents are stop <command> --machine <name> and dismiss <command> --machine <name> [--undo], attributed to the token's holder. Processes, Dismissals and Activity log entries stay on the owning machine.

The Console merges every Fleet machine into those Inbox groups, with machine tags, answer ages, a Fleet active-run total and per-machine counts. The per-machine lines sit under Fleet machines, folded closed on every load; open it by pointer or keyboard, with or without JavaScript, and live updates keep it as you left it. A page subscription starts independent reads every 15 seconds; with no page open there are none. Remote answers and errors stay in memory. After 60 seconds without a good answer, the machine is unreachable and its last rows turn grey. Refused tokens and older Consoles show their own status and a link. The Machine filter stays in ?machine=<name>; without it, every machine shows. Needs you counts and browser notifications cover the Fleet, including on phones. Remote Command details open in place with child Ticket runs, stages, Waterfall, Command logs and Session traces, fetched live and never saved on the caller. A Security run needs security on that machine; a refusal names the missing scope and machine. Remote rows and views also link to their owning Console. Use show or logs with --machine <name> for the owning machine's JSON.

Monitor with email off: the Console's Command details shows the saved Run notification's subject and body below its facts, locally and across the Fleet. thirdshift show <command> and its JSON/API view carry the same text. Security notifications require the security scope.

In the Console's Pages navigation, Start work lets a person with run choose a known repository, issue number or URL and shared options. Review the request and its Harness before confirming Start now. Run now on Cron jobs confirms each recognizable Pass with its CLI arguments and reports a Command or skip reason. Both controls require JavaScript. Issue starts and Run now require run. The Start work page also offers Release starts to administrators.

thirdshift config [key [value]] [--json] reads or changes the User config with the same validation and comment preservation as Setup. The Console's User config page shows values and defaults: editable with admin, read-only with read. Saving returns to that setting and confirms the key, saved value and machine, including Fleet machines, with or without JavaScript. Export endpoints stay redacted. Its API twins at /api/v1/config require admin; changes record the caller, key and old and new values in the Console log. With admin, Update thirdshift shows current and latest versions and installs the release before the Console restarts; the API also imports Theme JSON and private Eval replay data. The sign-in list and address scopes stay under shell control. Machine administration.

Ready for review

The usual successful result: an open, mergeable pull request into the Base branch with green CI, no checks or a Sign-off hold. You review the diff, tests and Unaddressed findings before merging.

Merged, when requested

thirdshift merge <Issue URL> or an authorized merge label on the issue requests a Ticket run that Self-merges. merge.label_from in User config lists the logins that may apply that label. thirdshift merges the exact head whose CI it watched. Foreign commits on the Issue branch are reconciled and their resulting changes reviewed first. Required human reviews can still block Self-merge, leaving the pull request ready for review.

Failed ticket run, with work preserved

Unfinished work is committed and pushed; an open pull request normally becomes a draft. If pushing fails, the Worktree and local Issue branch are kept. Rerun the same Issue URL to continue. A stopped or failed run may need Day shift attention before scheduled Pickup takes it again.

Ordinary cleanup removes the factory-owned Worktree and local Issue branch after work reaches origin; the remote work remains available for review or continuation. Cleanup retains resources when ownership or preservation is uncertain. A successful Self-merge also deletes the remote Issue branch and closes the issue. A merge refused by repository policy can fail the Ticket run while leaving the pull request ready.

If a Harness reports exhausted usage, the saved or emailed Run notification highlights it near the failure cause. For a Spec run it names the affected Tickets, while keeping each Ticket's error and any provider-reported reset time in the details. Retry the Recovery command when usage is available.

You can watch progress without interrupting the agent:

thirdshift status
thirdshift show https://github.com/acme/widgets/issues/7
thirdshift logs https://github.com/acme/widgets/issues/7 --follow

Use thirdshift status --group needs-you to focus on the Commands that need your attention. Repeat --group for several Inbox groups. The Console can copy each group's command from its heading, including the selected Machine.

Fleet metrics show each machine's unreadable OS accounts beside its status, including in cached and pushed summaries, so omitted Other-account Commands stay visible.

When a Ticket run, Review run, Triage run or Fix run ends, its Command record keeps its Run metrics: outcome, Repairs, CI rounds, Unaddressed findings by Standards, Spec and Security from Delivery's final PR body, minutes in each stage and in total, and each stage's time against its Usual range. The Unaddressed findings counts include the Security review; a Triage run, which has no Delivery, leaves them missing. Each Session stage also keeps the review's Standards and Spec finding counts from its summary: actionable findings, including findings later fixed. Declined or accepted observations that require no change are excluded; a review with no actionable findings records zero. Missing counts stay missing. Ticket runs and Base fixes keep their own. Read them with thirdshift show <Issue URL> --json. thirdshift metrics <command> [--json] shows one Ticket run with its children, or one Review run, Triage run or Fix run, and thirdshift metrics [--json], or the Console's Metrics page, shows trends by repository, Harness, Model, Effort, Command kind and kind of session, plus how each work Command kind ended: Succeeded, Failed (died records included), Paused or Stopped, with success rate over Succeeded + Failed only. Four groups pair that yield with kept pull-request survival, post-merge quality (confirmed Bug origins by merge, calibrated weekly Scores) and Needs you and Stop counts, efficiency measured on Succeeded Commands only with the time and spend wasted on failed, crashed and stopped ones, and stage bottlenecks with per-Session friction. Each shows a sparkline and, for a bounded window, its change from the window before. Pass-through Pickup runs and skipped Passes are left out, and readable Other-account Commands are tagged by OS account. Pick a --window of 7d, 30d, 12w or all, or --grain day|week with --from and --through dates; a bounded window is compared with the one before it. Narrow trends with repeatable --repo, --kind, --harness, --model, --version and --account. Each Command record keeps the thirdshift version that started it, recovered from Session traces for older records, and the Metrics timeline marks the buckets where it changed. A failed Command also records the stage it stopped at and whether it was held, waiting, crashed or failed its stage; Where runs failed groups Failed Commands that way and links each group to History. With a paired Fleet, thirdshift metrics --fleet [--json] and the Metrics page's default Fleet view add each machine's outcomes, changes and Where runs failed, each Command counted once where it ran; pick This machine or one machine (--machine <name>) to narrow it. A machine that stops answering keeps its last-read summary, marked cached with its last-seen time. A machine that sleeps or sits behind NAT pushes its own summary with thirdshift metrics --push, and after every Command once a report destination is saved; it shows read-only, marked reported with its age, and a failed push only warns. Past records are computed when read, with missing signals left missing. Every signal stays separate.

Session traces add tokens by observed Model (input, output, cache read and cache write), cost only where the Harness reports it, and counts of tool errors, permission denials, killed work and repeated calls to the same tool with the same input in one session. Run metrics sum them by session kind. Weekly Session trends also split by the Harness version recorded in each trace. Past Ticket runs gain these signals when metrics read their converted traces; absent traces stay missing.

When metrics are read, confirmed Bug origins count against the Ticket run that introduced each bug, even if confirmed after it ended. The local Scoring data covers both hosts; metrics match only this machine's Ticket runs and add the counts to their start weeks in weekly Ticket run trends. Rejected and unsettled origins count for nothing, and corrections use the settled pull request.

Every Ticket run checks its sessions' shell commands against a code-owned list of destructive-command patterns: force pushes, shared-branch history rewrites and recursive deletes outside the Worktree. Matches stay with their original command in Run metrics. These flags are advisory and never block or fail a Ticket run; weekly Session trends count them.

Run metrics and Experiments share Session usage rules. Partial totals replace only reported fields, preserving known input, cache counts and cost. Input includes cache reads and writes. A reported Session cost wins; otherwise each Model's reported cost replaces its call costs. Missing measurements stay missing, and saved completion metrics stay fixed.

CLI log following and the Console keep reading through the captured writer's exit, including final output written after a Command's outcome is recorded. An exact Session trace finishes when its writer exits or its owning record moves to a later Session.

The Console shows its Fleet's Commands, opening on its Inbox. Beside the CLI, you can watch their stages and logs there. Open Command details for a Ticket run's metrics, including available historical signals and late Bug-origin confirmations; unavailable signals say Missing. Lanes cards and Stages headers show recorded issue titles, falling back to pull-request titles, and link the run's PR beside its issue. Without either title, they keep a Custom process's Process label or show (title unavailable). Stages keeps each Spec run with its Ticket runs, newest-started groups first, filling the window's width beside any open Command details: scroll right for older runs, or switch from All runs to By repository for one grid per repository, each folded to its name and run count until opened. When a later Command takes up an issue, the earlier row stays in Resolved for inbox.days from that Command's start, saying why it left.

Every Inbox group starts open, except Done and Resolved, which sit folded below Working in Overview, and folds or opens from its heading by click, Enter or Space. Its heading and count stay visible, and counts and active runs include folded rows. Each browser keeps independent group choices through live updates, folder changes and reloads when storage is available. Keyboard row navigation skips folded rows; every Theme shares these controls on desktop and phone.

A later Command on the same pull request, as on the same issue, takes up an earlier row waiting in Ready for review or Needs you. This includes a Fix run on a pull request with no linked issue: the earlier row says “taken up by a later Command started at <time>”. Ready for review rows with CI red or Merge conflict offer Start Fix run when the owning machine currently permits run and knows the repository's Launch directory. Confirm the pull request, repository and machine to start there using its User config and CLI defaults; Cancel or Escape starts nothing. Other-account Commands stay read-only. Copy fix command remains on the row and in Command details: thirdshift fix <PR URL>. Copy it and run it from a clone of the repository.

Every Console tab title names its host; the Inbox also keeps its Needs you count through live updates.

Click the serving machine's name in the Console header to return to Overview (/?section=overview) from another page or section, clearing any machine filter.

Done rows identify their Command kind, such as Ticket run, and Custom processes by their process name. The kind and outcome remain visible on desktop and phone, with or without JavaScript, in every Theme and across the Fleet. In Overview and the Done folder, an Architect run’s header links to the GitHub issue its Architecture review reached. Older records use the issue from a direct Ticket or Spec dispatch when available. Without an issue, the header shows the repository and Command label.

A Spec's Inbox row shows its last recorded Ticket progress, such as 2 / 5 Tickets complete, on desktop and phone. A Pass that dispatched the Spec carries that count on its visible row. All Tickets complete can still leave Spec review or Delivery running.

The Console and status show the serving OS account's Commands by default. thirdshift console other-accounts readable, or a comma-separated list of local account names, adds readable Other-account Commands with their owner shown. They appear in Needs you and its tab count, but have no Stop, Requeue, Dismiss or Undo. Those actions apply only to the serving account's Commands. Grant read access with filesystem permissions or ACLs; thirdshift never grants access. Account visibility.

Ready for review counts validated pull requests after Machine and Repository filtering. Each PR heading links to GitHub and shows its title, including for Review runs without an issue. Expand a grouped PR to inspect each contributing Command's checks, details and logs. Titles come from the batched GitHub refresh and update on open pages. Until a title is known, the PR link stays usable with “(title unavailable)”. Without a PR, rows use their issue subject and title, or the Command subject when neither exists. Activating the link opens GitHub without opening Details.

Command details opens with the Command's issue subject linked to the issue and its full title, above Stop and Dismiss. Long titles wrap; an unknown title says “(title unavailable)”. A Command without an issue shows its Command subject alone. The recorded issue title is also in thirdshift show <command> --json.

An ended, unsuccessful Command shows its full failure reason immediately below that heading, before the controls, with URLs as links. When its own cause is absent, it uses the first cause from failed dispatched work. Successful or live Commands, and those with no cause, show no reason. The cause also stays in the facts list.

A dispatched Security fix shows a “Fixes advisory” line for each finding it addresses: the title links to the advisory, followed by its severity or “ungraded”. The parent Security run shows “Fix dispatched for advisory” for the same finding. These links survive failed or interrupted fixes. thirdshift show <command> --json exposes the list as security_fix_findings; older records have no list and show no advisory line.

Command details and thirdshift show <command> --json read historical Session signals only for that Command and its nested work. The CLI and Console reuse derived signals while each Session trace is unchanged, including across process restarts, reading it again after an append, replacement or binary update. If a details request has not finished within 10 seconds, the pane says “Details unavailable. Reload to try again.”

The Console reads ready rows' pull requests and Needs you rows' issues and pull requests from GitHub in the background once a minute, even with no pages open. A changed answer wakes open Inbox pages; an unchanged answer leaves them idle. thirdshift status uses the same kept answer and reads GitHub itself only when it is missing or five minutes old. An ended Needs you row leaves once its issue closes or its pull request merges; a Triage row also leaves when needs-triage is removed. Architect and Security runs use the issue and pull request of the Spec run or Ticket run they dispatched. A pull request closed unmerged leaves a failure waiting while its issue is open. GitHub settlement does not move live Silent or step-2 Slow rows. A Slow run stays in Working or Landing until its stage reaches both twice the top of its Usual range and at least five minutes past it; only then does it enter Needs you, count toward notifications and use the urgent favicon. A merged or closed pull request takes its row out of Ready for review. Each exit says why, with Resolved counted from when GitHub shows it settled. Rows GitHub can speak for keep waiting however old they are. Reopening brings back a row still in Done or Resolved; History keeps the last facts and is not read again. Dismissals hold through GitHub changes; Undo uses GitHub's latest kept facts. Rows with no issue or pull request, no Command record, no read yet or nothing GitHub can find still age out, straight to History.

When GitHub cannot answer, each row keeps the group its last facts give it; a row never read still goes by age. After five minutes without a good read, the Console and status warn with the last-answer time and latest failure. A successful read clears that warning. With fewer than 500 GraphQL points or 500 REST requests left, both skip reads until that quota resets and say why, leaving the rest to the factory. status --json gives the last-answer time and latest failure. These limits are fixed, with no User config settings.

Ready for review rows show the pull request's latest head CI as CI green, CI red, CI pending, No CI checks or CI unknown, in text and colour. The same batched read refreshes these labels and pushes changes to open pages; failed reads keep the last answer with the existing freshness warning. status shows the same label, and status --json includes github_ci when read.

A green result carries a warning when its head is behind the Base branch. The warning counts first-parent commits on Base since the branches' merge base, and clears when the head contains the current Base. status shows the same warning, and status --json includes github_stale_ci when the warning applies.

A conflicting pull request keeps its Ready for review row and adds a separate Merge conflict pill beside CI, including green CI. Unknown or mergeable pull requests show no conflict pill. Mergeability changes update open pages through the same kept GitHub answer. status prints the conflict label; status --json includes github_mergeable. show --json includes cached GitHub facts and observation times, even when stale, without making a network request.

By default, Ready for review shows all rows for the selected Machine and Repository, most recent first. Under Sort, Oldest first puts the earliest completions first, CI green first brings pull requests with green CI to the top, and CI red or Merge conflict first brings those problems to the top. Choose Hide CI red or Merge conflict under Show to hide those problems, including pull requests with both green CI and a Merge conflict. Click Apply to use your choices in Overview or the Ready for review folder. The Console keeps the chosen view through live updates.

status --json also gives each row's kept GitHub facts and when they were read. History keeps those observation times with its facts. A dismissed row stays in Resolved for inbox.days from its dismissal; a later GitHub settlement does not extend it.

Each Needs you row has a Copy button to share its problem with an agent. It copies the machine, Command, state, cause, issue title and run details, with issue, pull request and Console log links and the thirdshift show '<command>' --json command. If the browser cannot use the clipboard, a dialog selects the text for copying by keyboard and keeps it through live updates.

For this machine on localhost, start the Console with:

thirdshift console --no-sign-in

The Inbox's Machine and Repository filters narrow every section and its count, including Done. Repository choices follow the Machine selection, including Fleet rows. Section links preserve both choices; Every repository clears the repository filter. These page filters work without JavaScript.

Above its groups, the Inbox counts the active runs, such as 2 active runs: each Command with live work counts once, wherever its row sits, so a Spec run's Tickets and the run a Pass dispatched are part of that one. The Repository filter leaves this count unchanged for the chosen Machine or Fleet. thirdshift status shows the same count.

The Inbox and thirdshift status show when each repository's Pickup, Architect and Security Pass last fired, including repeated skips with the same reason. The Inbox offers retained skipped Pass reasons under Last recorded skipped Passes, folded closed on each page load, including while Commands are running. Open it to read the full reasons and links, by keyboard or without JavaScript; live updates refresh the messages and keep your open or closed state. With no recorded skipped Passes, no empty disclosure appears. When no Commands are running, the Inbox also points to work waiting for you. Each skipped or last-fired Pass bullet in that idle notice starts with its recorded date and time. Repeated skips advance the last-fired time while the reason keeps its Activity log time. Cron jobs and thirdshift cronjobs group this account's schedules alphabetically by repository, keeping crontab order within each group and unresolved entries under Other. Literal Launch directories resolve through their GitHub origins on the owning machine, without executing cron text. The page gives each repository its own heading and terminal block, with highlighted schedules and horizontal scrolling for long lines. The Run now controls and independent last-fired observations follow below.

Ended rows show the recorded finish in the machine's time zone, to the minute, and an explicit age, such as Ended 2026-10-23 19:03 EDT · 52 min ago. Every date and time the Console shows reads the same way. The age means time since finish, not run duration. Nested Ticket runs and History show each Command's own finish; an unavailable finish says End time unknown.

For a server, thirdshift console install prints an installation script to read and run with sudo, putting its Console behind a sign-in. The script checks that the Console is active and answering on its localhost port before setting up the proxy; failed startup prints recent journal lines and exits nonzero. On an SELinux-enforcing host it also warns that SELinux can block the Console. Console installation and machine status.

The Console's Resources page and thirdshift resources show available memory, free disk space and one-minute CPU load. Below the notification control, the Console's host indicator shows whether those limits allow another session and links to Resources. It refreshes every ten seconds while visible and says when limits are off or measurements are unavailable. [resources] limits in the User config make each new session wait while the host is busy; sessions already running continue. Memory and load limits are optional; the disk limit waits below 5120 MB free by default, so a full disk delays sessions instead of failing them. The indicator does not reserve capacity. [pass] command_limit, 1 by default, sets how many Commands may run on one repository on the machine before a Pass there is skipped; see the Command limit.

A signed-in Console account can Stop a live Command or Requeue it for Pickup. Command details shows the Stop CLI on one line, like Dismiss and Show, with a Copy CLI button that copies the full command even when the line is cut off. Hover for the full text. The CLI does the same:

thirdshift stop <command>
thirdshift stop <command> --requeue

Stop waits for cleanup and leaves the issue for the Day shift, labelled needs-triage. With --requeue, it releases the Claim and puts ready-for-agent back so Pickup can continue the work. Stopping a Command.

A row in Needs you or Ready for review that asks nothing more can be Dismissed instead, live ones included. With permission, use Dismiss on the row for a Command or in Command details. In a grouped PR, Dismiss and Undo apply to the chosen Command on its owning machine. The PR stays visible while another Command waits. With JavaScript, d dismisses the selected Command. On a standalone inline row, Dismiss hides it during the save and restores it with an error if the save fails. An inline dismissal shows a temporary notice, “Dismissed <subject> · Undo”, whose Undo restores that Command’s row. The notice stays while hovered, focused, saving or showing an error. Without JavaScript, rows keep their full Dismiss form. A dismissed row also offers Undo in Command details. In Command details, both buttons immediately show pending feedback and stay disabled while saving, including through live updates; a failed request shows its error and lets you retry. The CLI forms appear beside the buttons in Command details: thirdshift dismiss <command> and thirdshift dismiss <command> --undo. Every open page updates, and the Activity log names the account's email and the Console. Nothing else changes: the Command keeps running and nothing is written to GitHub. Dismissing a row.

Slow becoming Silent, Silent becoming Slow, or a live Command dying, failing or ending ready brings a dismissed row back. A dismissed Security failure returns as a Finding only while GitHub still shows its findings waiting. One paginated REST list per repository with such a Security run reads the private records, respecting the quota reserve. A Finding leaves saying “findings triaged” once all its records are triaged: draft advisories without severity and open security-finding issues labelled needs-triage still wait; records closed by a merged fix do not. The kept answer holds waiting flags, never titles, severities or write-ups. Dismissing again adds the new kind; another Ticket going Silent in the same Spec run does not repeat a kind already dismissed.

Inbox Command rows offer Copy in Overview and individual folders. Open a grouped PR in Ready for review to copy an individual Command's context. It copies the rendered section, owning machine, Command, repository, title, state, available CI and Merge conflict facts, and absolute links for sharing with an agent. Fleet show commands include --machine. Mouse and keyboard activation leave Command details as they are; clipboard failures open a selectable snapshot that survives live updates.

Command details shows the last five lines of recent Command output above Full Command log, updating as output arrives. The small preview helps assess a Slow run without leaving its details.

The Command log records the whole command; a Session trace records each agent session, and the Activity log records starts and outcomes per repository. Export a Command's whole Trace for another tool with thirdshift logs <command> --export <dir>. Optional email notifications report how the Ticket run ended. Set email.to_by_repo in the User config to route different repositories on one host to different inboxes; an explicit email address on the command wins, and email.to is the fallback. Email setup and routing. Inspecting logs and exporting Traces.

06 / The same primitive, composed

Scale one Ticket run into a Spec run

When the Issue URL has Tickets as GitHub sub-issues, thirdshift starts a Spec run. GitHub's “blocked by” links determine when a Ticket can start. Independent Tickets can run in parallel, each in its own Worktree; a blocked Ticket waits for its prerequisites to land.

Example dependency graph: A and B are independent; C needs both
Ticket A / Ticket runWorktree + Issue branch AMerge its PR into the Spec branch ↓
Ticket B / Ticket runWorktree + Issue branch BMerge its PR into the Spec branch ↓
  1. Ticket C / Ticket runStarts after A and B land; merges its PR into the Spec branch ↓
  2. Spec review + DeliveryReview the whole Spec branch against the Spec and Base branch
  3. Spec PR → Base branchOne combined pull request for you to review, or to merge when requested

Each Ticket gets a Ticket run that Self-merges into the Spec branch, not directly into main. The Spec PR gathers the result into the Base branch. Child Ticket runs verify any rendered UI changes locally in their Worktree without calling gh or uploading attachments, while the combined Spec review captures and attaches unified Before and After Visual evidence when writing the Spec PR body. A Ticket closing means its work landed on the Spec branch; the whole Spec has not shipped yet.

A failed Ticket stops only its dependents; other reachable Tickets can still run. Tickets marked for human work or triage also hold their dependents. An incomplete Spec leaves a draft Spec PR with a Tickets checklist. A Spec run that is only waiting, with no failed or interrupted Ticket and every undone Ticket gated, blocked behind gated Tickets or outside work, or outside the Spec's repository, puts ready-for-agent back on its Spec instead of agent-failed, unless someone other than a Trusted account or the Spec's authorized author edited it since its last Trusted labelling, which leaves needs-triage, and comments on the Spec naming each undone Ticket and what it waits on. Pickup continues it once a Ticket can start; a blocking cycle is a failure. A handed-back Spec with every Ticket closed can also be taken when its latest Spec branch is on origin, with no PR or an open PR: it goes straight to Spec review and Delivery without running a Ticket again. Its usual Ready issue gates still apply; Architect gives it priority even while it settles. A Spec PR closed, merged or retargeted mid-run starts no further Ticket, holds the Self-merge of a running Ticket started after it opened, and ends the Spec run without a Recovery command. An Unready Ticket's checklist and Command log line name its open blockers, marking those outside the Spec and those labelled ready-for-agent; outside blockers are reported but never run. Rerunning continues existing branches. Spec run controls and limits.

07 / Where the next issue comes from

Choose how the next work starts

Every Pass checks the machine's GitHub Quota wait, then the quota, before other GitHub work or taking a Command-limit slot. It skips during a wait or below 500 REST requests or GraphQL points, with no stdout or Run notification. Pickup, Architect, Security, Triage without input, Review with --author, Fix without a pull request and issue-less Custom processes all follow this rule, from cron or by hand. The Activity log records each kind's changed reason; status and the Inbox show the wait beside last-fired Passes until reset. Budget Pass frequency per GitHub user across all hosts and repositories sharing that user's quota. After the quota, a Pass reads this machine's Plan usage, refreshing a stale Claude, Codex, Muse or agy snapshot with its non-billed read, and skips the same way when every route its sessions may take is held, with a banner in status and the Inbox naming the held routes and the earliest reset.

Review Passes (review --author) and Fix Passes skip release-* pull requests targeting main, leaving their version-only heads to the Release run. Explicit thirdshift fix <pr-url> --no-merge --no-base-fix still repairs those pull requests.

Review Passes recognize reviewed and pushed heads only in comments by the GitHub account thirdshift acts as. When an upper pull request lacks Review run fixes delivered to its base, its comment says it needs updating before merge; the author updates the stack.

A Review Pass also checks the base Spec's issue when the PR targets an Issue branch, including numbered continuations. An in-progress Claim or issue reservation skips the PR with a line naming that Spec. When GitHub links no closing issue, local closing references in the body (Closes #7, Fixes #7, Resolves #7) get the same hold checks, so Ticket PRs into a non-default Spec branch stay with their Spec run.

A Review retry recovers its clean retained checkout only after verifying ownership, the same captured PR head and descendant commits. Other local conflicts stay preserved: author Passes notify once per state and scan later waiting pull requests; explicit PR targets fail with recovery advice.

Review runs and pull-request Custom processes record their target PR URL and title before the first session starts. It appears in thirdshift status and the Command log while running, and Command log and Session trace pages show the selected Command's GitHub issue or pull request link and title below the page heading (including a Pickup or Pass run's opened pull requests). Live Fix and Review targets appear as clickable PR #number links beside their repository and run type in compact Working rows, including Overview, on desktop and phone. Local and Fleet rows show explicit and Pass-selected targets alike. A Base branch CI repair shows its exact selected Base branch before publication, then keeps it beside the PR link; older records without a target keep their Command label.

Addressing Review runs and pull-request Custom processes watch checks and commit statuses after publishing, on the exact delivered head even when no fixes were pushed. They wait for pending CI before reporting ready; absent CI passes after the grace period. The branch's own failures allow up to five CI-fix Repairs, or a lower Custom-process cap, each validating and publishing its final commit before another CI watch. An unchanged Repair gets one eligible Check re-run, then stops if still red. Inherited failures, failed observations and unresolved red CI end failed with check evidence in the comment and Run notification. Concurrent PR changes stop Delivery; a final conflict requires an author update. Every linked closing issue (retaining previously linked ones during the run) is checked against untrusted title or body edits before writing .thirdshift-review-input.md, before and after each Step, session, Repair and Resume, before Delivery pushes or comments, and through any Self-merge, without drafting the pull request. It also stops before using a linked closing issue, including when started as a Pass, unless that issue's author is a Trusted account and no account that is not one has edited its title or body. Without Self-merge, Review never merges or rebases the author's branch or stack or replaces the PR. --recommend-only starts no CI-fix Repairs or branch changes.

Add merge or --merge to thirdshift review <PR URL> or review --author <login> for a Self-merge after Delivery. [review] merge = true opts this machine in; the default is false, no-merge overrides it, and merge.always does not apply. Self-merge uses the Fix run’s exact reviewed-head and CI gates and merge-time Repair loop. Required reviews, open PR bases and failed or incomplete Security reviews leave the PR ready with a logged hold: an author Pass exits 0, a targeted merge request exits non-zero. Successful merges report merged, close linked closing issues and delete the branch. --recommend-only with merge is an argument error. Review Self-merge.

In compact Needs you rows, including Overview, Review and Triage headers open the recorded PR directly, falling back to the recorded issue. This works on desktop and phone, locally and across the Fleet. An existing-issue Triage run retains its explicit or Pass-selected issue even after failure. Older records and Report-based Triage without a target keep their repository and Command label.

After addressing findings, every Review run's session runs final validation from the repository's agent instructions and extra commands configured per repository in review.commands_by_repo in the User config. Its comment says what ran, passed, failed or could not run, with reasons. A suite invalid from a worktree is not run against the branch, never passing. With no list, repository final validation still runs. --recommend-only validates after reviewing too. If a later Step commits more changes, Delivery repeats validation on the final head before pushing and reports those results. When that report includes private Security review material, the comment says the results were withheld instead of quoting the session.

thirdshift review --author <login> is a Pass for cron: it takes that author's lowest-numbered eligible open pull request, one per invocation. Reviewed or pushed heads and in-progress pull requests are skipped, as are bases that are open pull requests not yet reviewed at their current head. A linked closing issue's in-progress Claim or issue reservation also holds its PR, including during Ticket or Spec Delivery on another machine. The Pass logs the holding issue and tries the next candidate. Once the Pass has selected a pull request, an untrusted author of a linked closing issue, or any title or body edit by an account that is not a Trusted account, stops the Review run before the issue is used and does not take the next candidate. A later Pass can take the PR after a Claim or reservation ends. The owning host releases orphaned reservations on proof of death; untestable reservations that blocked work and have been held over a day wait in Needs you with an exact release command. Explicit PR URLs keep their existing behavior. At the Command limit, or with none waiting, it skips without a session or notification. Review runs reserve their pull request with in-progress, remove it when they end, and leave closed pull requests for the Sweep to clear after a crash.

thirdshift review <PR URL> starts a Review run on an existing pull request. It refuses forks, drafts, closed or merged pull requests and authors who are not Trusted accounts before starting a session. The Standards and Spec review uses the pull request's own base and head branch, linked closing issues as its Spec or explicitly the body alone, and only Trusted-account comments. It addresses findings under the Ticket run's rules, commits fixes and pushes to the PR branch without force. Its comment lists fixes and every Unaddressed finding; the hidden marker names the reviewed head and the head after a push. A departure explained only by the PR body is left unaddressed with that reason and no triage issue. If the branch moves before the push, the comment describes the proposed fixes and says nothing was pushed. --recommend-only posts findings and changes no branch. The Run notification names the Review run; a successful run stays in Ready for review until the pull request is merged or closed. thirdshift process show review-run prints its file, ready to copy into a Custom process with a pull-request worktree and start with pull-request <PR URL>. Review runs.

A Custom process can use fix-findings → close-findings to fix reproduced Security findings and close only merged fixes whose proof-of-concept passes against the merged Base branch. The Steps keep private records and the Security run’s fixing and closing permissions. fix-findings can select a child Ticket Process with process; it defaults to ticket-run. Failed fixes and failed rechecks stay with the Day shift. Their sessions and the Ticket runs they start stay off any configured OTLP endpoint, as a Security run's do. The Built-in Security run still fixes at most one finding per invocation.

A direct Issue URL starts work you have already chosen. Other commands find work, then dispatch the same Ticket run or Spec run you just followed. Each invocation makes one pass; your operating system's scheduler starts the next one.

To run one skill directly, use thirdshift skill <skill> [issue <issue>]. It starts one headless session on your default Harness, Model and Effort in a temporary worktree at your checkout's committed HEAD, and prints the final message. Worktrees with local work are kept. Standalone skills.

thirdshift process is experimental, beside thirdshift skill. It runs the Steps in ~/.thirdshift/processes/<name>.toml, a skill session, a command, or a catalogue Step. delivery publishes the Issue branch. run-published-issue starts a Ticket run or a Spec run on the issue the session Step before it published. Its optional process = "<name>" setting selects the child Ticket Process, defaulting to ticket-run; it must exist and declare an Issue-branch worktree. An issue with Tickets still starts a Spec run. Consecutive Steps can run together, each in a throwaway worktree the file names, and the last finished Step's result is printed. An optional Step can fail without stopping the process. thirdshift process <name> issue <issue> gives the process an issue, so each session Step works from that issue. One Issue-branch worktree plus delivery publishes a ready-for-review pull request from that Issue branch and then removes the Claim. A self-merge Step directly after it merges when merge or the User config asks, and a file can only tighten limits. With no issue, and neither an Issue-branch nor a Spec-branch worktree, it is a Pass and skips while the repository is at its Command limit, without an Architect run's Ready-issue or Architect-idea gates. With an issue, it is not a Pass. Status, the Console and the Activity log list it as Process <name>, and a failed one is in Needs you. It sends a Run notification under the same email rules as a Ticket run, except a skipped Process sends none. Custom processes.

A Step may name its own Harness, Model and Effort. Each omitted setting inherits the Command's resolved value, including --harness and User config choices. process check prints each choice, its origin and whether the Harness starts. thirdshift process list lists Processes and marks Built-in processes; process show <name> prints a Process file exactly, ready to save under a new Custom process name. The compiled-in ticket-run file runs implement → security-review → delivery → self-merge. Ticket runs execute it by default, including those started by Spec, Architect and Security runs, inheriting the Command's Harness, Model and Effort, Child asks and Limits. The Security review and Self-merge still run only when asked. Inspect it with thirdshift process show ticket-run, or check it with thirdshift process check ticket-run issue <issue>.

Spec runs execute the compiled-in spec-run file: land-tickets → spec-review → security-review → delivery → self-merge, on a spec-branch worktree. Every starter uses it: an Issue URL, Pickup, Architect and Security runs, and run-published-issue. Dispatch, the Claim, Child asks and Limits stay in front of the file. The run keeps its sessions, progress lines and Spec run name, and records the compiled file's hash. Inspect it with thirdshift process show spec-run or validate it with thirdshift process check spec-run issue <spec>; its name is reserved against Custom processes.

Security runs execute the compiled-in security-run file: security-audit → reproduce-findings → fix-findings → close-findings. The Command limit, the lock of its kind and Ready-issue, failed-fix and unchanged-Base skip gates stay before the file, followed by a check that the repository has Issues turned on: with Issues off, the run fails before any session and says to turn them on or remove its Security schedule. An earlier reproduced finding awaiting an allowed fix makes the first two Steps skip. The run fixes at most one finding and closes only that finding after its fix merges and its proof passes. Sessions, progress, logs, Run notifications and the Security run name stay the same, with the compiled file's hash recorded. Inspect it with thirdshift process show security-run or validate it with thirdshift process check security-run; its name is reserved against Custom processes. A copy under a new name follows the Command limit without a lock of a kind and can fix several findings.

Pickup has no Built-in process file. It selects and reserves a Ready issue, then dispatches ticket-run or spec-run.

Pickup and Triage Passes accept repeatable skip-author <login> / --skip-author <login> words on each cron line. They pass over that author's issues, even for Trusted accounts, logging why and matching case-insensitively. A skipped Spec author excludes the whole Spec; a Spec run dispatched by Pickup also stops before a skipped author's Ticket, with the same failure handling as an untrusted author. Explicit Issue URL runs keep the usual trust checks.

Architect runs execute the compiled-in architect-run file: architecture-review → run-published-issue, after their Command limit, the lock of their kind and open-plan, waiting-idea and Ready-or-settling-issue gates. The review Step owns its session, conclusion and labels, ending successfully on an idea in the repository at origin, or with --plan-only. An idea outside that repository is refused before it is viewed or labelled. Otherwise the next Step runs the plan. Read it with thirdshift process show architect-run, or validate it with thirdshift process check architect-run. A copy under a new Custom process name follows the Command limit without a lock of a kind. The Architect run's name, progress, logs and Run notification stay the same, with the compiled file's hash retained in its records and Session traces.

A Custom process can use a spec-branch worktree and land-tickets to run a Spec's Tickets in dependency order, up to spec.parallel at once, with the same refusal checks and failure accounting as a Spec run. The first landing opens a draft Spec PR with its Tickets checklist; the Step's process setting chooses every child Ticket's Process. An Issue-branch file refuses Specs, a Spec-branch file requires one, and a file cannot declare both. Both require an issue and make the Claim before the worktree; a draft Spec PR keeps its Claim.

After land-tickets, spec-review reviews the whole Spec branch against the Base branch with the Spec run's prompt and report contract. Follow it with security-review, delivery and self-merge on the same worktree. Delivery restores the Tickets checklist and leaves the Spec PR ready, removing its Claim; Self-merge merges only when asked. Security review runs only when the command or User config asks, and a refused or incomplete review holds the merge. Each Step takes its own Harness, Model and Effort.

Add catalogue = "implement" on the Issue-branch worktree before delivery to use the Ticket run's fresh or Continuation implementation session. It diagnoses ordinary bug issues first; Flaky-test Tickets use recorded evidence directly. When a bug is not reproduced, the Process ends successfully with triage notes and needs-info, skips later Steps and cleans up the Claim and worktree.

A Custom process can run security-audit → reproduce-findings: audit the Base branch in a throwaway worktree, record findings privately, then reproduce and score each at its audited commit. Both required Steps run outside parallel groups with their own Harness, Model and Effort. Repeated findings keep completed reproductions and the Day shift's grades. With security-fix or the User config allowing fixes, each Step skips when a recorded finding is eligible for an unattended fix, unless the repository has issues turned off and so cannot hold one. The Steps publish no findings, and their traces stay local even with OTLP configured. Security runs execute security-run after their existing skip gates.

Use architecture-review → run-published-issue to review the Base branch and build a Strong Architect plan. The review owns a fresh throwaway worktree, the plan checks and the plan-or-idea labels. An Architect idea in the repository at origin, or the command's --plan-only, ends successfully, skips later Steps and records why. An idea outside that repository is refused before it is viewed or labelled. Each Step can choose its own Harness, Model and Effort. The Architect run's skip gates stay outside the Step.

Add security-review after editing the Issue branch and before delivery for the Ticket run's Security review. It runs when security-review or the User config asks, and no-security-review skips it. Its configured Harness can fall back to the default; a Harness the Step names explicitly must start before any session. A refused or incomplete review leaves the PR ready and holds a following Self-merge.

With no issue or --file, thirdshift triage [base <branch>] runs as a Pass when stdin is a terminal or empty at EOF, including cron. After the Command limit, Sweep and pickup.failure_limit, it selects an open needs-triage issue in pickup.order. It passes over conflicting triage states, Claims, failures, parent Specs with sub-issues and untrusted authors or edits. An origin reservation and fresh state/trust check precede in-place triage; reserved or stale candidates give way to the next. Skips exit zero, send no Run notification and record a deduplicated Activity log reason, honouring activity.quiet_skips.

A Triage run starts with a Report: pipe it into thirdshift triage, or add --file report.txt. It investigates read-only in a throwaway worktree and searches the repository's open issues before filing. An issue already covering the Report receives a comment quoting the Report and its source with new investigation evidence, without label changes. Otherwise, thirdshift files each separate problem as a cross-linked issue with an AI-generated disclaimer, a collapsed verbatim Report and its source, one category and one state label. thirdshift replaces recommended ready-for-agent with needs-triage unless --allow-ready-for-agent or the User config permits it. thirdshift setup asks whether Triage runs may file ready-for-agent issues by default; the initial answer is No, and rerunning Setup keeps the saved answer as the default. Confirmation needing credentials or production access goes to ready-for-human with a reason, and a wontfix issue is closed once filed. Use --recommend-only to write nothing to GitHub and name any issue it would comment on; it still makes filing's checks, so it fails wherever filing would. The investigation and every filed or commented-on issue link go to stdout and the Run notification. It starts no Ticket run and is never skipped for the Command limit.

After filing completes, the final progress lines on stderr list every issue filed or commented on, one link per line. The Run notification includes the same readable list, plus the investigation, issue titles with category and state, comment target URLs and any questionnaires. It omits the full recommendation JSON and issue and comment bodies; stdout keeps the full result as one JSON object. If publication fails partway, links to completed writes still appear after the failure diagnostics and in the notification.

thirdshift triage <Issue URL or number> [base <branch>] instead updates that open issue in place. The Base branch defaults to the checked-out branch. A Trusted-account author and title/body edit history are required; the session receives the issue with only Trusted-account comments. An origin reservation spans its in-progress Claim and cleanup. Publication preserves existing category labels, posts one AI-attributed comment, applies the resulting triage state and closes wontfix. Readiness without permission becomes ready-for-human. Failure uses ready-for-human and agent-failed; Stop uses ready-for-human, or needs-triage with --requeue, without a failure label. --recommend-only validates without reserving or publishing. This mode cannot be combined with --file.

For a Report or an existing issue, the session receives available repository category labels, excluding triage states and factory labels. It must recommend one, even when publication will preserve an existing issue's current category; any other category gets the one correction turn. A Security finding keeps its security-finding label and gains the recommended repository category when it has none.

An invalid recommendation gets one correction turn using the original instructions, rejected output and validation error, without repeating the investigation. It keeps the same worktree and launch policy. The initial and correction Session traces and Model evidence stay separate. Validation still precedes publication; a second invalid recommendation fails with retained-analysis diagnostics. Harness execution and GitHub or publication failures get no correction turn.

Every input mode accepts base <branch>, including piped Reports and --file; it defaults to the checked-out Base branch. An existing security-finding issue's Run notification carries its recorded title and link and any author trust audit, even on failure. Private investigation, questionnaires and failure diagnostics remain in the issue or local output and logs.

Before an existing-issue session starts, thirdshift downloads up to ten unique HTTPS images from the trusted body and comments on github.com or *.githubusercontent.com. Each has a 20 MiB limit and 30-second timeout; failures warn and investigation continues. The issue file lists original URLs and local paths under .thirdshift-issue-images/, readable with --read-machine too.

trust.authors adds named authors for existing-issue Triage, Pickup, Spec and Issue URL runs. Use repeatable trust-author <login> words on a Pickup or Triage Pass or --trust-author <login> on an Issue URL. The exception covers the issue author's own edits and comments. Triage applies ready-for-human when its recommended role is disallowed. See Named authors.

Bubblewrap isolates Triage sessions from the operator's GitHub login and confines writes to the worktree and private Command scratch. triage.read_token_file lets each session read GitHub with a short-lived token minted by the fleet's GitHub App. By default the session also sees the Harness files and required system paths. --read-machine or triage.read_machine adds read-only host access with the GitHub CLI config, SSH directory, Git credential stores, fleet App directory, configured token files and Credentials file masked. Network access stays available for the Harness. If Bubblewrap or Linux user namespaces are unavailable, Triage passes over issues that depend on named-author trust. Reports and issues trusted by repository membership can continue without filesystem isolation.

For needs-info, the embedded thirdshift-to-questionnaire skill writes a questionnaire addressed to whoever has the answer. It appears in the issue and as readable text in the Run notification, ready for the Day shift to forward. Other outcomes, including ready-for-human, get none; the issue body describes any needed decision or operator action. Empty or whitespace-only questionnaires count as absent. thirdshift never contacts a reporter outside the repository. With --recommend-only, the questionnaire stays in the proposal and notification.

Different entry points, the same implementation and Delivery
Pickup runTakes the lowest-numbered eligible Ready issue by default, labelled ready-for-agent
Architect runReviews architecture; a strong recommendation becomes an Architect plan, otherwise an idea waits for triage
Security runAudits and reproduces findings; records them privately, dispatches fixes only when allowed, and closes a finding its fix merged after its proof-of-concept test passes, unless closing is turned off

Eligible work ↓ Ticket run or Spec run ↓ reviewed pull request

Pickup respects issue readiness, open blockers and the Failure limit: it takes nothing while three open issues, or pickup.failure_limit, carry agent-failed from a failed run, and pull requests waiting for review never count. A run that failed because the host ran out of disk space is no failure of its issue: it puts ready-for-agent back without agent-failed, even with work on origin, and says to free disk space. A Paused Command, which no route had Plan usage left for, is none either: it puts ready-for-agent back the same way, unless an untrusted edit leaves needs-triage or it is a Security fix. Any other failed run with work on origin, or a failed Security fix, swaps in-progress for agent-failed and, unless it is a Security fix, posts its Recovery on the issue as a generated comment without local paths or the continue command; putting ready-for-agent back, taking agent-failed off or closing the issue ends the failure, and the Sweep takes in-progress off any open issue that still carries both. Before choosing work, it re-runs failed jobs of the Base branch's latest push CI once, immediately. Green on re-run files a Flaky-test Ticket using the recorded failure as evidence, without requiring reproduction on demand. Red again files an ordinary bug Ticket after 30 minutes from the re-run's completion. Its title, body and later comments leave job names and log lines out, and it waits until you write the task and apply ready-for-agent. An open CI-red Ticket in needs-info does not block a new report; another open CI-red Ticket receives new failing commits as comments. CI read failures warn and let Pickup continue; red Base CI does not hold Self-merges. Architect and Security runs yield to ready human-shaped work. Gates can skip a pass without failure, and unresolved plans, ideas or findings can leave the next decision with the Day shift. This is scheduled CLI work on your machine, using your authenticated tools.

When a Security run fails before its audit starts, its requested Run notification names a fixed Cause for Base branch preparation failures, such as Base branch not found, and points to stderr on the host at the command's start time for diagnostics. Security run notifications.

Before dispatch, Pickup reserves its selected issue on origin and checks that it is still Ready. Competing Pickup runs on two machines cannot take the same issue: only the reservation's owner can dispatch it, and the other moves on to the next Ready issue in its order. An Architect run takes the same reservation for the plan it dispatches, and a Security run for its fix, before marking it ready, so a Pickup run beside either never takes it. The reservation's commit message records its host, launch path, process and start time. Before choosing work, every scheduled Pass releases its own orphaned origin reservations only on local proof of death: a missing PID, a process started after the reservation, or a host boot after it. Failed probes count as alive, and an exact observed-SHA lease protects a new owner. Stderr and Activity record the release. A reservation no host can test that blocked work and has been held over a day appears in Needs you with owner, age, blocked work and a release command. The Day shift confirms death before releasing it by hand; no reservation expires on a timer. Pickup's reservation and readiness checks.

Scoring runs sample merged factory pull requests across the GitHub owners in [scoring]. Start one with thirdshift score; thirdshift scores --json lists samples by week. Scoring excludes pull requests without an originating issue. Each retained pull request gets a blind packet with historical issue text, the merged diff, pull request, CI names and conclusions, and repository files at the merge. If Scoring cannot build a packet, it logs the reason and skips that pull request. Attribution lines are removed from the text and repository files; Git metadata is removed. Its Command appears in the Inbox and can be Stopped. A Grader on a different Model scores Correct, Scoped, Tested, Honest and Standards in the Experiment sandbox, with the repository read-only. Each Score has a reason. A Claude or Codex quota window at 85%, or a Claude rejection, stops grading. A Claude warning with no readable utilization also stops grading. The next Scoring run finishes pending packets without repeating completed Scores. Every closed bug except a Security fix also gets a Bug-origin proposal, whoever fixed it. A sandboxed session reads the fix and earlier history, naming a commit only with evidence; GitHub maps it to pull requests and their Runs. The first proposal run backfills all closed bugs. Read them with thirdshift bug-origins [issue] --json, then settle one with --confirm, --correct <pull request> or --none. A confirmed origin counts against its retained Ticket run in show --json and proposes a code-review Eval task holding the historical PR diff and a draft catch criterion. Rejected and unsettled origins count for nothing; proposed Eval tasks need explicit approval before Experiments can use them. The same quota stop during Bug-origin analysis stops Scoring without advancing its window.

Scoring samples, Bug-origin proposals and settlements, and Run metrics share retained pull-request attribution. Matching ignores ASCII letter case and trailing slashes. Latest means chronological RFC 3339 time, including UTC offsets, then greatest lexical record path and Command name for ties; invalid times sort before valid ones. Saved local record-path/name pairs select that exact Command under the matching pull request. Missing or mismatched local identities count for nothing; only absent or cross-host attribution selects the latest local Command, so Continuations never multiply a count.

The first run also draws 20 historical pull requests for your Scores, spread across Harnesses and Models. Later runs mark two per week. Enter yours with thirdshift scores <pull request> --mine: all five pass/fail answers and reasons are saved before the model's Scores appear, including in ordinary CLI views. Add --json to return the saved result as JSON. Text and JSON views show each revealed criterion as calibrated when at least 18 of the last 20 paired Scores agree; an uncalibrated criterion leaves the others alone.

You can also enter your five Scores on the Console's Scores page, beside the weekly sample and criterion calibration. The model's Scores stay hidden until yours are saved. The Bug origins page offers the CLI's Confirm, Correct and Reject actions for proposed and settled origins. Both pages work on a phone; reload to see changes made elsewhere.

For offline Eval data, thirdshift evals list lists private suites and proposed Eval tasks, evals touched selects suites by their declared dependencies, and evals prepare prepares approved Eval tasks for inspection at a detached base with the reviewed patch staged. Spec-review repositories get a local bare origin. Before launching an Arm, complete Trial preparation creates the requested branches and synthetic reviewed commit, publishes Spec-review refs to that origin and excludes the issue input, all under isolated Git settings before publishing the repository. evals prepare-arms caches each Arm's build by commit and records its Harness's real path and version before Trials, keeping symlink updates from switching the Harness between Arms. On the host holding #429's private material, evals import-replays imports its manifests and grading files into the code-review and Spec-review suites, including their Trial inputs. Rerunning adds missing Eval tasks and completes missing Trial inputs, preserving local edits. These commands start no agent sessions. Eval task commands and format.

evals propose-process <repository> drafts proposed process Eval tasks from merged Tickets with separate test files, showing bug or feature kind, source size, shared fakes and selectors. After Day-shift approval, evals prepare screens every fail-to-pass selector at the base and merge with network access and refuses changed inline Rust tests by file. Process repositories expose only the base and Ticket inputs. Their suite runs three Trials per Eval task and declares its Factory skill and Built-in process dependencies.

Experiments, including release Experiments, name approved Eval tasks missing Trial inputs before building either Arm. Before each Trial's session, the host prepares its repository's pinned Rust toolchain and listed components. Trials with the same pin share preparation; an installation failure makes the Trial void with session_unavailable. Spec review Trials keep the production prompt, with no PR service: gh calls fail in the sandbox and only their reports are graded.

For an A/A Experiment, select one commit and matching Harness, Model and Effort flags for both Arms, with suites named by --suite. Separate Trials measure how often identical Arms disagree and reach the ordinary Verdict. After completion, thirdshift experiments <id> --record-difficulty replaces each Eval task's Difficulty with its pooled non-void Trials from both Arms. thirdshift evals lists the readings and whether each is discriminating: between 0.15 and 0.95 inclusive, over at least 6 Trials. Fewer Trials or no reading means unmeasured. A/A command example.

Before the first Trial the Bar fixes each suite's discriminating list from recorded Difficulty. Only listed tasks enter intervals, required rechecks and predictions; other approved tasks run and are graded as measurement, reported per task. experiments <id> and its JSON show judged, measurement-only and void-dropped counts, plus judged tasks measured on another setup. An empty judged list is inconclusive. A changed list or changed Difficulty for a retained task refuses resume after the first Trial, including readings that stay inside the band; older Experiments keep their stored Bar, method and Verdict.

thirdshift experiment runs Code review, Spec review and process Trials. A Code review uses the production review skill on the historical diff, retaining both reports without fixing or publishing anything. The code-review suite runs three Trials per Arm per Eval task and reports pass^3, the share where all three passed; the Spec-review suite runs one. Experiments.

Editing a Custom process or its home skills starts a new Experiment with separate estimate history. Unchanged inputs resume their frozen Experiment. Process grading shares one Bar timeout across snapshot preparation and all test selectors.

Process Trials run each Arm's Built-in or Custom process at the task's base commit, stopping before its first publishing Step. --baseline-process and --candidate-process accept a name or .toml file, defaulting to ticket-run. Preparation freezes the Process and its referenced home skills, including helper files, by SHA-256 and records each Step's Harness, Model and Effort. Every Trial gets fresh copies; a frozen-file mismatch stops the Experiment before the next Trial and names the file. They publish nothing and create no factory runs. Steps and sessions appear under the Experiment in its Trial Peek and Trace. A delivered Trial passes only when its code Grader passes both fail-to-pass and pass-to-pass selectors. It grades the final commit with the reference fix’s tests and changed shared fakes overlaid, replacing Trial edits to those files. Python selectors search the repository after the standard library, so a committed module cannot replace one. Checks run offline in bwrap under the Bar’s timeout. Stopped-to-ask counts as failed, and the outcome counts appear beside the Verdict.

Once Baseline Trial k and Candidate Trial k both finish, base-tests and cross-tests run each Arm's new test files offline on the unchanged base and against the other Arm's final commit, when the Eval task's process_grading.new_tests says how. They are evidence, never Scores: a cross-test failure is a disagreement to look into. Experiment JSON keeps them under pairs.

A Grader panel, when the Bar names seats with --panel-seat, then reads each pair blind in both presentation orders: the Ticket, both diffs, the Pair evidence and a rubric. Each seat rates each side, calls it ready to merge or not and gives a preference, with a call that flips with the order counted as a tie. One vote per family by default, or per Model; a seat from an Arm's family doesn't vote while another family sits. Experiment JSON keeps every seat's calls and the panel's result under panel, beside the Verdict unless the Bar counts them. The estimate before the Trials lists each seat's expected cost, priced from the frozen table; panel spend is reported apart from the Arms and never counts toward an Arm's cost or the cost ceiling. --panel-spending-limit pauses grading once a run's panel sessions reach it, and a resume continues from the calls already made. Before estimating or starting paid work, resume decodes every expected saved panel call; an unreadable or malformed call names its pair, seat and order and stops even behind an earlier missing order or with --yes.

Each such pair can be read blind on its own Console page or with thirdshift experiments <id> --pair <pair-id>. The page shows the Ticket, its numbered acceptance checklist and both changes side by side, code before tests, with their evidence, on sides drawn for the pair from the Bar's seed and with no Arm, Harness, Model or model call. The reader seals a merge call per side, then gives a preference (A, B, tie or both bad) and optionally the rubric. Records are append-only and attributed. Only after the preference does the page show which Arm made each side and the Grader panel's calls. People's calls, people–people and people–panel agreement show beside the Verdict.

The Bar fixes who decides before the first Trial: the panel and the people are each off, beside or counted (--panel, --people). Named readers get queues drawn by pair from the Bar's seed, with a set overlap; a shared pair is ready only if every reader says so. When counted, a Trial passes only if its code Grader passes and its pair is called ready. People counted on a sample decide on the sampled pairs alone. With both counted the panel stands in on unread pairs: a voting panel spanning too few families is refused at start, and people–panel agreement below the Bar's level makes the Verdict inconclusive. The Verdict waits on people while a reader has pairs to call.

thirdshift experiment <candidate> first shows its remaining Trials, their worst-case session-minutes and an estimate from this machine’s earlier Trials, and asks on a terminal unless given --yes. It then builds the Baseline and Candidate Arms and runs their Trials with two workers, keeping the Bar fixed. Code Graders score mechanical checks, then fresh model Graders score written criteria from one blind packet per Eval task. Scores retain reasons, wrong findings and borderline marks; the paired Verdict shows each suite's interval with each Arm's minutes, tokens by Model, reported cost and Void causes. Trial and model Grader Session traces and code Grader spans join the Command's Trace. Void Trials retry fresh up to twice; an exhausted task drops out of both Arms, and more than a tenth of judged tasks dropped in suites that are not advisory makes the overall Verdict inconclusive. Repeated Trial-only memory-cap stops appear as an Arm finding. A Claude or Codex quota window at 85%, or a Claude rejection, pauses new Trials and makes any Trial cut short void. A Claude warning with no readable utilization also pauses the Experiment. The same command resumes paused or interrupted work. Ordinary Runs keep running at warnings. thirdshift experiments [id] --json lists or shows saved results. --name names an Experiment, and thirdshift experiments <id> --name renames it in any state without touching the Bar; an unnamed one reads “A/A at <ref>”, “Release <ref>” or what changed between its Arms. A pass goes in Done; a fail or inconclusive Verdict goes in Needs you. A plan-limit stop records a Paused Command in Needs you with its Harness, stopping window, utilization and reset time when reported, and a copyable resume command. Starting the same Experiment takes that pause out of Needs you. Scoring uses the same paused outcome and reset details; its next Command finishes pending work without repeating Scores. Experiments accept Stop. Trials and model Graders run in bwrap sandboxes with provider-only networks. Model Graders see only their blind packets; Code Graders run offline with report packets and a private grading repository. Graders cannot read raw Trial logs, Arm mappings or the Experiment’s other files. Experiment commands.

Provider capacity and overload errors void a Trial with rate_limit and pause the Experiment. Start the same Experiment again to retry under its saved Bar.

A suite with fewer than 20 discriminating Eval tasks is an Advisory suite: it keeps its Verdict and intervals, but cannot pass or block a release. The Bar saves this minimum before the first Trial; --min-discriminating-tasks sets it for one Experiment, and changing it refuses resume. Only suites that are not advisory decide the overall Verdict, Void dropout guard and required rechecks. When every suite is advisory, the Verdict is inconclusive. CLI text, JSON and the Console mark Advisory suites; the Console also shows judged and measurement counts. The Experiment result lists each Advisory suite and its Verdict. With --with-experiment, a Release run needs a terminal override when the overall Verdict is fail or inconclusive, including when all suites are advisory. Saved Experiments without the minimum keep their original Bar and Verdict.

Each process Trial's Session traces are checked for the real fix's identifiers. Pending hits hold the Verdict for your decision in the Console or with thirdshift experiments <id> --leak <hit-id> confirm|dismiss --reason '…'. Dismissals keep the Trial and remain auditable; confirmation makes it Void. Decisions retain the reviewer, time and reason.

Optional --cost-ceiling and --time-ceiling fix Candidate/Baseline ratio limits in the Bar before Trials. Both default off; a paired median above either ceiling fails the Experiment. The Verdict also reports credibly cheaper or faster Candidates, or higher cost or time, alongside the unchanged quality decision.

Every Pass skips across repositories while an Experiment of the same OS account is live on this machine, including nightly Security and a Custom process with no issue; the Activity log names the Experiment. Manually targeted Commands still run and warn that they compete with its Trials. On start or resume, an Experiment waits for other live Commands before building Arms or starting Trials. Its log, status and the Console show the wait and the remaining Commands. Stop interrupts the wait cleanly. --no-wait starts immediately and records the competing Command count beside the Verdict. Existing Runs finish and other machines carry on.

Either Arm can name an outside workflow with --baseline-runner or --candidate-runner, requiring --suite on process suites. Candidate runner selection omits the candidate commit and defaults a native Baseline to HEAD; two Custom runners need no thirdshift checkout or build. Preparation freezes argv, mapped files and HOME skill trees, records dirty Git provenance and pins declared Harness binaries. One Trial-wide sandbox and memory scope enclose the runner and all its children. Fresh HOME holds mapped files and declared logins, with Trials-only declared provider keys, a provider-only HTTPS proxy and PATH wrappers disabling Harness web search. Missing credentials void the Trial as session_unavailable; declared provider families count in Grader panel voting and stand-in checks. The runner receives request.json, commits HEAD and writes result.json. Uncommitted files are diagnostics; missing results, crashes, invalid Void claims or committed git_exclude paths fail the Trial. Custom runner sessions stream live through record_command --role or import from output_dir/sessions.json into standard OTLP traces, priced from frozen Experiment prices and available in Trial Peek and Waterfall. Quota warnings pause the Experiment; web-search tool calls and missing session accounting void the Trial. thirdshift evals check-runner reports every manifest, file, Harness, login, [providers] key and unpriced role problem before an Experiment; with --suite and --task it runs one dry-run Trial through the same sandboxed execution, outside Experiment storage, also at POST /api/v1/evals/check-runner. Custom runner commands.

Experiment JSON identifies its documented result contract with format: 13, adding nullable commit and Harness plus Custom runner name and digest. Console OpenAPI describes those Setups, and POST /api/v1/start accepts baseline_runner and candidate_runner with the CLI's validation. Experiment comparisons and Trial Peek show runner identity, Git HEAD and dirty state, and declared roles. Blind pairwise review reveals those details only after the preference is submitted. The Experiment results format covers retained Trial files, Suspended time, leak decisions, pair evidence, the Grader panel's calls, people's blind pairwise calls, Scores, recheck history, suite Verdicts and the Bar.

Review commits, local-origin pushes and repository reports do not void a Trial. Changing its issue text, declared inputs or commits under review does. Review Trials' mechanical checks grade a private copy of the prepared repository captured before the session.

The Console's Experiments list groups Running, Needs you and Done, newest first. Open one to watch Trials fill in, then see the Verdict by suite. The page compares Arms, folds the Bar and opens a Trial or Eval task in the Peek with Grader reasons and links to Session logs or Session traces. Details stays beside the Trials grid as you scroll on desktop and opens at the bottom on phones. Rechecks stay in the CLI, with copyable commands and a filter for their Eval tasks.

The Bar has a pass level and a fail level, 70% and 95% by default. Set them with --pass-level and --fail-level before the first Trial. Each metric fails if its interval at the fail level is wholly below zero; otherwise it passes if its interval at the pass level sits above the margin, and is otherwise inconclusive. A pass whose pass-level interval lies wholly below zero is marked worse, within the margin, without changing the decision. The Verdict shows both intervals, and the forecast uses the same decision. Saved Experiments retain their original Bar and Verdict, including the older rule that a pass also reach zero. At the 70% default, a simulated A/A Experiment passes about 67% of the time on today's 10 code-review Eval tasks and 56% on 30 Spec-review tasks; reaching 80% needs about 20 and about 80 tasks.

Proposed Eval tasks appear on the Experiments list and, for its suites, on each Experiment page. Approve one there or with thirdshift evals approve <suite> <task> --json to change its state in its suite, preserving its inputs. Approval starts no work and affects future Experiments; existing Experiments keep their fixed Eval tasks on resume. Unapproved proposals never run.

Each Trial and each Grader runs in its own memory-capped scope and raises its OOM score to give way before the factory. The User config defaults to 1 GiB for throttling, 2 GiB for killing and 1 GiB of swap per scope. Enable lingering once with loginctl enable-linger <user>; an Experiment stops before dispatch if it cannot reach the systemd user manager.

A Verdict stays waiting on rechecks until you have checked every borderline Score and every decisive Score, whose flip would change the Verdict. The pending list gives Trial IDs for thirdshift recheck <id> <trial> pass|fail --reason '…'. The JSON view names each decisive flip and the provisional Verdict it gives. thirdshift recheck <id> --pending lists all pending Scores and a fingerprint; thirdshift recheck <id> --batch <fingerprint> pass|fail --reason '…' records one decision and reason for that reviewed list in one locked save, refusing a changed list. Your latest decision feeds the calculation; the Grader's Score and your timestamped history remain. Each recheck updates the pending list and the latest invocation's Command outcome and Inbox group. A confirmed pass moves from Needs you to Done.

thirdshift release [<version> | --major | --minor | --patch] [--with-experiment] [--review] starts a Release run on Linux from a clone of thirdshift. With no version it is a Pass over shipped changes, skipping quietly during an Experiment, Quota wait or held release lock, when nothing shipped changed, or when all eligible main push CI is non-green. Skips keep a deduplicated Activity log reason and Cron jobs' last-fired time. One sandboxed, traced Session chooses minor or patch and writes the summary; invalid selection falls back to patch, while bump flags pin the level. The running binary uses freshly fetched green origin/main in detached temporary worktrees, pushes the bump branch, waits for PR checks, tags its validated head, waits for publication and merges the bump PR. It leaves the Launch directory alone and stops before updating local binaries. Releases have their own local lock and origin reservation outside the Command limit; Console Start accepts Version, Bump and a release Experiment checkbox under admin. Unfinished exact-bump branches and ready PRs resume automatically; draft PRs, non-bump commits and unverifiable publication checks quietly block a Pass. Failed unpublished tags recover from newer green main content; published Releases never move. One targeted Fix run can repair bump CI or a conflict. --with-experiment pins content and gates on touched Eval suites; --review offers terminal summary acceptance, editing or cancellation. Working shows live runs; published and merged runs reach Done and link both their bump PR and Release v<version>, while failures and publication without merge reach Needs you (linking both once published) and email under email-unless-merged.

Schedule a Release Pass with thirdshift release from this repository, using cron or a systemd timer. It quietly skips when nothing shipped or release work waits on the Day shift. For an on-demand Command, use thirdshift release 0.4.0 to cut or resume that version, or pin the bump with --major, --minor or --patch. One fresh-home sandboxed Session chooses minor or patch and writes the summary when no bump is pinned. The Release run selects green shipped content, validates the bump PR, publishes its tag, waits for the release workflow and merges the PR. It leaves the Launch directory alone and never updates the installed binary. Releasing.

Experiments are off by default. Add --with-experiment on each invocation to run or resume the Experiment against the previous release. Pending rechecks and decisions wait; fail or inconclusive requires a terminal override. --review also requires a terminal and offers accept, edit or cancel before pushing. Unfinished exact-bump releases resume; unpublished failed tags can be recovered, while published tags never move. Live Release runs appear in Working, merged ones in Done, and failures in Needs you, including a published release whose bump PR could not merge. Once published, a Release run records its Release URL, links both the bump PR and Release v<version> on its Inbox row, and lists the Release URL after the PR URL in its Run notification. Run notifications follow the same outcomes. thirdshift stop releases the locks and live label.

While waiting for release PR checks, a Merge conflict or completed failing CI starts at most one targeted thirdshift fix <PR URL> --no-merge --no-base-fix. Missing workflows have a five-minute startup grace period, as does GitHub's mergeability report after checks pass; queued and running CI keep waiting. A repaired or externally updated head must still be an exact version bump. A changed content base refreshes the requested Experiment, summary and version diff. A failed Fix, another blockage or more than five head changes stops before tagging with recovery instructions. The Release run owns tagging, publication and merging.

Architect runs every few minutes and Security runs on a schedule, with fixing allowed, started by your operating system.

Next: inspect every prompt and skill, see a real Ticket run's recorded output, see the architecture in six figures, use the manual for installation, commands and configuration, or watch the explainer videos.