Onboarding: phase 2, the daily loop and rollback¶
The second half of the onboarding runbook: from 2 engineers on 1 repo to 6 on 3. Then the team's daily loop, and how to back out.
Phase 2: 6 engineers, 3 repos (weeks 3–4)¶
- Steps 2 and 3 for the four new engineers.
- The per-repo checklist (4–7) for repos 2 and 3, each ending with
hangar repo checkgreen and its hours recorded. - Check the team features, all shipped with the adopt & capture release; the first three are on by default:
- inbox DMs for questions and approvals, and the per-person digest at 10:15 and 16:00 (#157, #158). They are on
for everyone with a linked Slack account (step 2);
hangar person set <id> --dm offopts out; - review-aware admission: new jobs wait as
awaiting_capacitypast 5 open agent PRs per reviewer (#159;HANGAR_PERSON_MAX_OPEN_AGENT_PRS, or--max-open-agent-prsper repo, review capacity); - the self-approval rule (#160, the default
low_risk_with_ai_review): a requester's own approval lands only a low-risk PR with an independent AI review; - the AI first-pass review (#161) is off until
hangar repo set <repo> --ai-review hangar. Turn it on for each repo where people approve their own docs and test PRs; - steer classes (#162): start a follow-up with
fix:,redirect:orinfo:; only corrections count in the weekly metrics and the Friday queue (classifying steers); - run capture: on in the GKE deploy, where
deploy/gke/up.shsetsHANGAR_OUTBOX_URL(#273). Elsewhere it is off until that is set (run capture; operating it: the outbox runbook).
- inbox DMs for questions and approvals, and the per-person digest at 10:15 and 16:00 (#157, #158). They are on
for everyone with a linked Slack account (step 2);
- The weekly adoption metrics start counting active delegators (#168;
hangar metrics weekly, metrics.md). - Once the last 14 days' agent PR yield is at least 60% (
hangar metrics weekly), consider the overnight lane. That is one Spot node 01:00–10:00 (~$87 a month). Evening tickets of the repos set toovernight: trueare then PRs by the 10:00 triage (the overnight lane). - Below 60% the lane only adds to the morning's review queue, and
hangar power overnight onrefuses.
The daily loop¶
| When | What | Where |
|---|---|---|
| Any time | An agent's question or approval reaches its person in a Slack DM within a minute, linked to the thread, ticket or PR to answer in | landing.md, delivery; hangar person set <id> --dm … |
| 10:00–10:20 | Triage: each engineer clears their inbox (PRs to review, questions, approvals, failed jobs). Questions and approvals clear when answered; ack the rest in the console or with POST /api/inbox/{id}/ack. The 10:15 Slack digest lists it, questions first; reviews are a count and a link to GitHub's review queue |
hangar inbox (landing.md §7) |
| 10:20 | Standup, with the bot's line at 10:18 ET: yesterday's merged and abandoned agent PRs (by reason), review wait p50, top failure; Mondays, last week's summary | HANGAR_STANDUP_CHANNEL (metrics.md) |
| 16:00 | The afternoon digest catches what came in since | Slack DM (team.md) |
| Friday, 30 min | Harness review: label the first failure on failed or abandoned jobs, until 20 candidate tasks | hangar review queue (harness-review.md) |
Sandboxes power on at 09:50 ET, so work queued overnight starts before triage. The digests and DMs come from the control plane, which stays up while the pools are off. A 10:15 digest sent before power-up finished says "sandboxes not up yet".
Each engineer needs their Slack account linked (hangar person link <id> slack T…/U…); hangar doctor lists anyone
the inbox can't reach.
Rollback¶
From lightest to heaviest:
- Stop landing on a repo: a person merges again.
hangar repo set acme/app --land manual
- Stop the Jira door: remove the project from
HANGAR_JIRA'sprojects(hangar config set jira '{…}'without it). Issues moved to Ready for agent then start nothing. - Stop all agent work for a while: after the power-down (01:00), hold the power schedule so the sandbox pools
stay down; jobs queue and wait.
hangar power release(orhangar power up) ends it.
hangar power hold --days 2
Nothing here deletes work: jobs, sessions and their PRs stay as they are.