[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD6EGC1XYCYGJHP3DZYWTG":3,"skill-same:01M6AD6EGC1XYCYGJHP3DZYWTG":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":17,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6AD6EGC1XYCYGJHP3DZYWTG","autonomous-delivery","多通道自主交付协调","Runs long-lived delivery as a coordinator with parallel lanes. Sets authority and pacing dials up front, keeps lanes alive and fed, lands work through a single-writer release train, and reports status only when something changed. Runs only on `\u002Flever deliver`, \"\u002Fautonomous-delivery\" or an explicit request to run multi-hour, overnight or multi-lane delivery (\"run this overnight\", \"keep N streams going\", \"don't stop until it ships\"), or to re-arm an existing run after a restart.","作为协调者通过并行通道（lane）运行长时间持续的开发交付。预先设置权限和节奏参数（dials），保持各通道活跃并持续供给任务，通过单写入者（single-writer）发布列车（release train）落地工作成果，并仅在发生变化时报告状态。仅在用户调用 `\u002Flever deliver`、`\u002Fautonomous-delivery`，或明确提出运行数小时、隔夜或多通道交付的请求（如“隔夜运行此任务”、“保持 N 个流持续运行”、“发布前不停歇”）时运行，或在重启后重新激活（re-arm）已有运行时运行。","github\u002Flever","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD6AQD82NPA8BVHR3MZKS2",292,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fautonomous-delivery\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C78XMS93X21V52649FP9VH","发布经理","PROFESSION","适用职业",[31,32,33,34],"autonomous delivery","status","run","release","2026-11-10 10:12:30",false,"---\nname: autonomous-delivery\nuser-invocable: false\ndescription: Runs long-lived delivery as a coordinator with parallel lanes. Sets authority and pacing dials up front, keeps lanes alive and fed, lands work through a single-writer release train, and reports status only when something changed. Runs only on `\u002Flever deliver`, \"\u002Fautonomous-delivery\" or an explicit request to run multi-hour, overnight or multi-lane delivery (\"run this overnight\", \"keep N streams going\", \"don't stop until it ships\"), or to re-arm an existing run after a restart.\n---\n\n# Autonomous delivery (v3)\n\n**Organize the work, keep it moving, and keep improving how it is organized.** This is the coordination skill for [build mode](..\u002F..\u002Fdocs\u002Fmodes.md): large new work where the process is to file issues, let independent sessions work them in parallel, then merge and deploy. There may be no metric to climb, and that's fine. When a lane does have a measurable signal, that lane runs [`find-the-loop`](..\u002Ffind-the-loop\u002FSKILL.md). A coordinator holds your intent, splits it into lanes, and delegates each lane to a child session that owns an outcome. Children may run their own workers. The coordinator optimizes for **verified outcomes per hour**, not agent activity. Quality and throughput are joint goals, and you never buy speed by weakening the outcome. For a delivery mandate, the outcome is **working behavior observed on the real path**, not source code or an open PR.\n\nA skill is not authorization. But existing delegation *is* authority within its scope, and it doesn't need to be requested again at every step.\n\nVersion 3 builds on the [public autonomous-delivery skill, v2.1](https:\u002F\u002Fgist.github.com\u002FEvanBoyle\u002F8c1a97f682d92dab8c09d0e1ea73f4a0) (MIT). It keeps the adaptive orchestrator-worker pattern and adds the rules that weeks of real unattended runs forced into existence. Dials are set up front. Stalled children are restarted automatically. The watchdog metric is time since last merge. Wakes with nothing new stay silent. A stuck lane gets re-planned after two hours. Releases have one writer. The backlog never runs dry. Constraints that agents invent come with a source and an expiry.\n\nWorked examples, templates and the full list of changes since v2.1 are in [`reference.md`](reference.md).\n\n## When to use\n\n- The work spans hours or days, or must keep running while you're away.\n- There are more than about three independent units of work, or you said \"parallelize\", \"lanes\", \"orchestrator\", \"keep N going\".\n- You're resuming a run after a restart, sleep or outage. Re-invoking re-arms it with the stored dials.\n\n**Don't use it for:**\n- A small or tightly coupled change. One agent is the right organization; just do it.\n- Driving one PR to landed. Use [`pr-shepherd`](..\u002Fpr-shepherd\u002FSKILL.md).\n- Turning an intent into a brief. Use [`brief`](..\u002Fbrief\u002FSKILL.md) first and hand the result to this skill.\n\n## Steps\n\n### 0. Start from intent and current state (every session, and after long gaps)\n\nLong-running coordinators fall behind. At session start and after any long gap:\n- Refresh from the remote default branch and **re-read this skill** and the repo's runbooks, so you don't act on stale rules.\n- Read the live state before acting: open issues and PRs, their discussion, existing owners, and what is actually deployed.\n- Separate requirements from assumptions. An old checkout, a historical receipt or an idle session does not change the user's delegation.\n\n### 1. Setup interview (once)\n\nAsk only for the dials the prompt didn't already answer, in **one** message that takes under a minute. Offer a preset. Store the answers in the ledger header ([`templates\u002Fledger.md`](..\u002F..\u002Ftemplates\u002Fledger.md)). Echo the contract back in one line, for example: `Overnight preset · L2 (your dial; ceiling L4) · standard spend · 3–5 lanes · refill when idle · sweep 30m · report 08:30 PT`. When re-invoked, read the stored dials and continue without asking again.\n\n| Dial | `pair` (you're here) | `overnight` (you're away until a set time) | `unattended` (ongoing, no end time) |\n|---|---|---|---|\n| Autonomy | your dial (unchanged) | your dial (unchanged) | your dial (unchanged) |\n| [Spend](..\u002F..\u002Fdocs\u002Fspend.md) | your tier | your tier; offer `max` for a deadline push | your tier, premium for judgment only |\n| Lanes (min–max), capped by your tier | 1–3 | 3–5 | 5–8 |\n| Idle policy | wait for events | refill from the backlog | refill from the backlog |\n| Liveness sweep | off (events only) | every 30 min | every 15 min |\n| Stall threshold (time since last merge) | report only | 2 h → act | 45 min in active hours → act |\n| Stuck rule | 2 h → re-plan and ask | 2 h → re-plan with a rubber duck | 2 h → re-plan with a rubber duck |\n| Status | at milestones | once, at your wake time | daily digest plus milestones |\n| Human-only questions | ask now | queue for the morning report | queue for the daily digest |\n| Budget stop | none | report at 80% | hard stop at 80%; won't start without a finite budget |\n| Self-edit of this skill | off | propose | propose |\n\nPresets change pacing, parallelism and spend. They never change autonomy. Lane counts and sweeps stay inside your spend tier's caps ([`docs\u002Fspend.md`](..\u002F..\u002Fdocs\u002Fspend.md)), and a preset never switches your tier without asking.\n\nThe autonomy level is resolved per [`docs\u002Fautonomy.md`](..\u002F..\u002Fdocs\u002Fautonomy.md): your latest explicit word (dial file, kickoff or chat), capped by `.github\u002Flever.yml` and GitHub. If the prompt already said \"then merge\" or \"hand off to the owning team\", that is the answer. Don't ask again. Silence is not a grant. Without an explicit merge grant from you, work at L2 at most.\n\n`unattended` has no end time, so it needs a finite budget before it starts: `budgets:` in `.github\u002Flever.yml`, a cap in your spend dial, or a number you give in the setup answer. No budget, no start. Say so in one line.\n\n**Owner directive format.** When the operator changes direction mid-run, record it as: `outcomes (priority, label rule, cap) · workers: N · merge authority: \u003Cwho> · release owner: \u003Cwho> · tracking: \u003Cissue> · until: \u003Ccondition>`. A newer directive supersedes older ones and any repo doc that conflicts with it, except `.github\u002Flever.yml`, rulesets and CODEOWNERS, which change only by PR. Fix a conflicting doc in a follow-up PR rather than obeying it.\n\n### 2. Plan lanes, not documents\n\n1. Turn the goal into outcomes, each with an observable done-when and a feedback loop (use [`find-the-loop`](..\u002Ffind-the-loop\u002FSKILL.md) for any lane without one).\n2. Build the dependency graph. Group units with no mutual dependency into a batch, and mark a batch ready only when its inputs exist.\n3. Give each outcome **one owner** and a human-friendly milestone label (never a bare PR number or SHA). Treat shared files, APIs, fixtures and quotas as dependencies, even when the features sound independent.\n4. Set the merge order up front: foundation first, leaves last, smallest reviewable PRs. Use [`landing-plan`](..\u002Flanding-plan\u002FSKILL.md) for batches.\n5. A markdown plan is enough. Append superseding direction instead of rewriting history. Reconcile the graph after each batch.\n\n**Fit the organization to the work.** A small fix or one tightly coupled investigation stays with one worker. Independent outcomes get separate owners. A large domain can get its own orchestrator when its local decisions would overload you. `max_lanes` is a cap, not a quota. Don't create agents to review each other just to satisfy process, and collapse layers that only relay messages.\n\n**Parallel by default.** When the user raises a new outcome mid-stream, start a new dedicated owner for it right away and keep current work moving. Don't queue independent investigations, fixes or experiments behind a release or another lane unless they really share a resource. The user should never have to say \"in parallel\".\n\n**Claim before you write.** Find or create a tracking issue for each outcome, labelled `lever` and assigned to the outcome owner, with lanes as sub-issues ([`docs\u002Ftracking.md`](..\u002F..\u002Fdocs\u002Ftracking.md)). Given `#issue`, resume from it: the brief, the lanes and the status section are the state. Write yourself into its marker as coordinator. If the marker names another coordinator, stay read-only and say who's driving. Take over only on an explicit handoff, or a stale marker per [`docs\u002Ftracking.md`](..\u002F..\u002Fdocs\u002Ftracking.md), and re-read the marker right before each write. If it isn't yours anymore, back off. Check assignees, linked PRs and active sessions before claiming. Assignment is not an atomic lock: if two owners claim the same thing, reconcile instead of starting a second writer.\n\n### 3. Delegate with an envelope\n\nEach child gets a standalone brief ([`templates\u002Fbrief.md`](..\u002F..\u002Ftemplates\u002Fbrief.md); see the envelope in [`reference.md`](reference.md)) with the user's words verbatim, the outcome and its done-when, the feedback loop, the files it owns, its slice of the shared budget, and the inherited autonomy level. Its **escalation target is the parent, not the human**, and it runs in autopilot, never waiting on a human prompt.\n\n**Every constraint carries provenance and an expiry:**\n\n```\nconstraint | source (operator | repo | platform | agent:\u003Clane>) | set | expires | why\n```\n\n- Operator, repo and platform constraints hold until they expire. Descendants inherit them and can only narrow them.\n- An agent-sourced constraint applies only inside the subtree that created it. It expires when that assignment ends, or after `agent_constraint_ttl`. It never becomes a project-wide rule.\n- A constraint with no source is not real. Drop it.\n\n\"Narrow, never widen\" on its own drives authority toward zero down a three-level tree, because every layer adds a gate and nobody clears them.\n\n**Handoff message.** A worker finishing a PR sends one line: `READY \u003Cpr> \u003Chead-sha>`. The receiver **re-runs the gate itself** on that head: open, not draft, mergeable, every required check green on that exact SHA, zero unresolved threads, and diff reviewed. It merges with an expected-head guard. A worker's claim is evidence level *claimed*, never *green*.\n\nModel choice: give the coordinator strong reasoning, give well-scoped implementation fast capable workers, and save the strongest reasoning for hard diagnosis and stuck lanes. Respect your stated model preferences.\n\n### 3a. Each lane runs the shortest evidence-driven loop\n\nStart from a concrete hypothesis. Inspect the evidence, make the smallest coherent change, run focused checks and the required CI, land at the resolved level, exercise the real path, inspect the result, and iterate.\n\n- **Keep verification proportionate.** For behavior changes, run focused tests, the required CI and a bounded real-path smoke test. For docs-only changes, check sources, links and consistency, plus required CI; don't redeploy. Don't make exhaustive scans, unchanged reruns or new verification machinery a prerequisite. Broaden only when the evidence demands it, and say what each check does and doesn't prove.\n- **Check the diagnosis against raw evidence** before acting on it, and confirm a measurement script counts what it claims to.\n- **Reproduce off production** before spending live attempts. A default-off flag in source may never have been turned on in the live system, so read the live configuration.\n- **Treat a deploy as an experiment.** After a release or a flag flip, compare load, latency and error rates against the pre-change baseline right away. Roll back or adjust quickly when they regress.\n\n### 4. Run the loop: events first, a sweep as backstop, silent when nothing changed\n\nHandle child completions and GitHub events as they arrive: reconcile, unblock, route each merged SHA to the release owner, and start the next ready lane. When the sweep fires (`sweep_interval`, or a scheduled `\u002Flever deliver #\u003Cissue>`), check the marker is still yours, then:\n\n1. **Liveness, recursively.** Find every descendant that is interrupted or idle with unfinished work and **rekick it automatically**. The rekick message carries what changed and what's expected, never a bare \"continue\". The user should never have to ask for this. If a child doesn't move after two rekicks, apply the takeover protocol (step 9). If your host can resume children natively, use that; if it can't, file the gap as a product bug rather than writing more prompt. Judge liveness by the last turn or tool timestamp, not by a busy flag. A session can show busy with no turn running. **If a deploy or restart takes down the host your sessions run on, resuming yourself and your children is the last step of that deploy**, not something the human notices later.\n2. **Watchdog metric: time since last merge.** Compare it to `stall_threshold`. If it's over, name the binding constraint (empty backlog, CI, review, quota, permission, a stuck lane) and act on it.\n3. **Green but not landed.** Hand each such PR to `pr-shepherd`.\n4. **Lane count below the minimum.** Refill (step 6).\n5. **Budget burn.** Check API calls, CI minutes and credits against their caps.\n\nKeep one short current-state checkpoint per lane: owner, outcome, evidence, blocker, next action. Store historical receipts separately; they are evidence, not current restrictions. Don't re-read unchanged ledgers, and don't ask owners for generic status when no decision depends on it. Busy doesn't prove progress, silence doesn't prove a stall, and idle doesn't mean complete or safe to archive.\n\nIf nothing changed since the last watermark, end the wake silently: no message, and no task invented to justify the wake. Never sleep or poll inside a turn. Give the waiting agent other work instead.\n\n### 5. Land and release on a train\n\nPer-PR landing belongs to `pr-shepherd`, at the resolved level. **After a merge, release and the next implementation run in parallel**: hand the exact merged SHA to the release owner and pick up the next ready work immediately. Don't serialize the team behind deployment, and don't create a second deployer. At L5, **one release-owner lane is the only writer of releases**. Other lanes send it merged SHAs. The release owner:\n- ships the latest default-branch head whose **post-merge CI** is green (PR CI isn't enough), batching everything merged since the last release, not one release per PR;\n- records any change between the selected target and a newer head, rather than silently swapping targets;\n- deploys;\n- runs a post-deploy check against a baseline;\n- rolls back on regression.\n\nNever redeploy unchanged source just to look busy, and never waive CI or compatibility checks to simulate continuous deployment. Use expand → migrate → contract for format changes. Use maintenance windows only for breaking changes or data migrations. Report merge→production latency.\n\n**Pick the release target once per train.** Late retargets (\"final target update\", \"revert\", \"ship whichever goes green first\") cost a full re-plan each. Batch everything merged since the last release, and change target only for a regression.\n\n### 6. Never idle (when `idle_policy = refill`)\n\n\"Nothing to do\" is not a valid end state for an ongoing mandate. Keep `min_lanes` busy. When the ready pool runs low, draw from the standing backlog you agreed in setup:\n- failing or flaky tests;\n- audits against a reference;\n- tool-failure and error-log triage;\n- performance regressions;\n- a backlog re-plan.\n\nRun standing lanes **on change**, not on a timer. Revisit affected user journeys after meaningful UI or contract changes and releases, comparing them against agreed reference behavior: loading, error and empty states, accessibility, responsive layout. When you triage tool or error failures, keep the observation window and its limits: failure-only samples can't give you a failure rate, and missing logs don't prove success. Never replay a real mutation to test a hypothesis. Reuse existing findings, and don't re-audit unchanged surfaces.\n\nYou can also file new, independently mergeable work with [`keep-the-pool-full`](..\u002Fkeep-the-pool-full\u002FSKILL.md). Refilling counts as a change, so it isn't a silent wake. For finite work with `idle_policy = wait`, stop when the outcome is verified.\n\n### 7. Stuck rule: two hours without meaningful progress means re-plan\n\nIf a lane has gone `stuck_threshold` without meaningful progress:\n1. Stop polishing the blocked approach.\n2. Do a back-of-the-envelope check: at the current rate, when does this finish? If the answer is absurd, the plan is wrong.\n3. Write a **simpler** recovery plan and rubber-duck it with a different strong model ([`cross-model-review`](..\u002Fcross-model-review\u002FSKILL.md)).\n4. Pick one, record why in the ledger, and continue. Don't spend another two hours on the same approach.\n\n### 8. Ask once, completely, then keep working\n\nA question that truly needs a human states:\n- what is blocked, and why;\n- the exact URL or command;\n- your recommended answer;\n- what happens if the answer is no.\n\nDo the work yourself through APIs and tools whenever a route exists. Never make manual testing, a human sign-in or a settings click a prerequisite when there's an automated way. If a setting really is UI-only, give the exact URL and paste-ready values once, then continue.\n\nAsk it once. In `overnight` or `unattended` mode, put it in the next status report instead of interrupting. Keep working on everything that doesn't depend on the answer. An automatic \"user unavailable\" reply is not new evidence, so don't ask again. Never ask for permission the level already grants. Never invent an approval step, an exact-GO phrase, a lock or a preflight.\n\n### 9. Takeover protocol (interrupted or orphaned work)\n\n1. Find the work: the branch, PR, child session, or ledger entry.\n2. Read the **live** state: head SHA, CI on that head, open threads, and any external write that timed out (its outcome is unknown, not failed).\n3. Claim it explicitly in the ledger and on the PR or issue, so there is exactly one writer.\n4. Continue from that evidence, not from memory or a stale plan. Never reset or rewrite another owner's ref. Preserve their work.\n5. Stop or archive the previous owner once the handoff is confirmed.\n\nWhen a worker fails permanently, start **exactly one** replacement per issue. It continues the same branch and PR after reading the predecessor's handoff. Never start a fresh branch, and never start two replacements.\n\n### 10. Report through the progress contract\n\nUse [`progress-contract`](..\u002Fprogress-contract\u002FSKILL.md) and [`templates\u002Fstatus-digest.md`](..\u002F..\u002Ftemplates\u002Fstatus-digest.md).\n- Put the dials in force at the top.\n- Report each milestone label with its state, ETA in your timezone, and evidence level (claimed \u003C pushed \u003C green \u003C merged \u003C deployed \u003C measured).\n- Show metrics as `x → y (Δz%)`, with merged count, time since last merge, and the previous ETA vs. actual.\n- List human-only items.\n- Stay silent when nothing changed.\n\nBefore you go offline, or at the end of the absence window:\n- push all branches;\n- put status and next steps in draft PR or issue bodies ([`templates\u002Fhandoff.md`](..\u002F..\u002Ftemplates\u002Fhandoff.md));\n- make sure every active lane has an issue.\n\n### 11. Reflect, and remove the process you invented\n\nAt meaningful points (after a batch lands, after a stall, at each digest), ask whether this organization is producing verified outcomes faster. Then:\n- **Remove the process you invented.** List the active constraints. Drop agent-sourced ones that have expired or have no source and that block the goal. Say so in the next status.\n- Compare ETA vs. actual, and stall minutes. Make one workflow change at a time (split, merge or re-scope lanes; change concurrency or model tier) and keep it or revert it on evidence.\n- When a correction repeats, route it to a durable layer with [`steer-once`](..\u002Fsteer-once\u002FSKILL.md). Don't just apologise and carry on.\n- When several variants of a prompt, definition or config are plausible, compare them as paired arms against a control ([`experiment-arms`](..\u002Fexperiment-arms\u002FSKILL.md)), not one before\u002Fafter change at a time. Search on replayed or seeded tasks, then confirm the winner on live work.\n- **Evolve this skill through review.** After meaningful lessons, revise this SKILL.md through an issue and a reviewed PR, with the evidence in the PR. Update or remove the rule; don't append incident history. Keep SHAs, session IDs and live state out of it. Retire guidance that no longer earns its cost.\n\n### 12. Move lanes to the cloud, one at a time\n\nThe long-term direction is for repeatable lanes (review, CI repair, issue repro, status, next-work pickup) to run as Copilot Automations, while the local coordinator moves toward supervision and exceptions. You don't need a hierarchy or cross-session messaging first. Start with independent jobs that read durable inputs (issues, PRs, artifacts) and write durable outputs (reviews, labels, PRs). Use [`automate-it`](..\u002Fautomate-it\u002FSKILL.md) for each one.\n\nMove **one bounded lane at a time**, under explicit ownership:\n1. Establish what the hosted run can actually do: tools, permissions, trigger, durable checkpoint, acceptance evidence, and the escalation path.\n2. Qualify it on observed hosted outputs. Local and hosted workers must never compete for the same issue, PR, queue or release.\n3. Record the cutover and stop the local predecessor's writes. Keep release as one serialized lane across both places.\n4. Declare it migrated only after it has produced outputs **and** kept picking up next work from events, with no local prompting, over an agreed observation window. One good run isn't a migration.\n\nRules:\n- One improver with a global view owns changes to automation definitions. Other lanes propose; they don't rewrite themselves.\n- A sent message isn't proof the next owner acted. Confirm delivery *and* consumption before depending on a handoff.\n- Treat automation-wide stalls (lanes idle, triggers unmatched, schedules skipped) as delivery outages, not background noise.\n- Judge the move by **valuable PRs landed through it**, not by the number of lanes or runs.\n\n## Dials\n\n| Dial | Default | Options |\n|---|---|---|\n| `preset` | `pair` | `pair`, `overnight`, `unattended`, custom |\n| `autonomy` | Resolved per [`docs\u002Fautonomy.md`](..\u002F..\u002Fdocs\u002Fautonomy.md) | L0–L5, capped by the repo ceiling |\n| `min_lanes` \u002F `max_lanes` | 1 \u002F 3 | integers; depth ≤ 3 |\n| `idle_policy` | `wait` | `wait`, `refill`, `stop` |\n| `standing_backlog` | none | list of recurring lane types |\n| `sweep_interval` | off | minutes |\n| `stall_threshold` | 2 h, report only | duration; report or act |\n| `stuck_threshold` | 2 h | duration; escalation models |\n| `agent_constraint_ttl` | end of assignment | duration |\n| `absence_window` | none | until a time, N hours, or indefinite |\n| `status` | milestones; your timezone | cadence, horizon, channel |\n| `human_questions` | ask now | ask now, queue for the next report |\n| `budget` | `budgets:` in your repo's `.github\u002Flever.yml`, then your spend tier | API calls per merged PR, CI minutes, credits; stop at a percentage. Required for `unattended` |\n| `release` | none | none, train (single writer), per merge |\n| `self_edit` | off | off, propose, commit (through the level) |\n\n## Outputs\n\n- **Ledger:** the dials header, current state first, owners, decisions with their constraint provenance, and evidence links. Rotate it when it grows.\n- **GitHub artifacts** a person can resume from: an issue per lane, PRs with status in the body, and flake issues.\n- **Status digests** (silent when unchanged) and a morning or end-of-run report.\n\n## This skill's own feedback loop\n\n- **Watchdog:** time since last merge, and stall minutes per night. Target: no window over `stall_threshold` without a named cause.\n- **Throughput:** merges per hour, and merge→production median.\n- **Human load:** rekick requests (target 0), \"why did you stop\" nudges (target 0), and status asks as a share of your messages.\n- **Forecast quality:** ETA error per digest.\n- **Bureaucracy:** gate and waiting language in agent messages.\n\n## Failure modes it prevents\n\n- Zero merges overnight because nobody noticed a stall.\n- You restarting children by hand.\n- Coordinators that stop at a milestone.\n- Polling chatter on every wake.\n- Two hours polishing a dead approach.\n- Concurrent releases from several lanes.\n- Authority eroded by inherited gates nobody remembers adding.\n- Questions to an absent human that block every lane.\n\n## Boundaries that adaptation never changes\n\n- **Authority:** a skill grants no permissions. Act within the resolved level, the host's rules, and the budget. A planning request is not permission to merge, deploy, spend money or set up a recurring schedule.\n- **Data:** don't send private code, credentials, logs or conversations anywhere unauthorized. Never borrow credentials from another session. Idle doesn't mean disposable, so preserve checkouts and saved work.\n- **Effects:** keep one owner for each shared mutable resource. Before retrying a write that timed out, reconcile what actually happened.\n- **Evidence:** match each claim to the evidence level you actually reached. Report what failed and what you couldn't check.\n\n## Why this exists\n\n- What's possible: a single coordinator can run for **days to weeks**, steering **10s to 100s** of child sessions through **1,000s** of cross-session messages and scheduled wakeups, with a human typing a **low single-digit %** of the turns. At that scale, status or ETA requests become the largest category of what the human types, which is why `progress-contract` exists.\n- The human was the watchdog. Morning messages read \"no merged commits in 19 hours\" and \"nothing merged for 8 hours\", and there were at least 7 \"rekick your children\" requests. Hours since last merge was computed by hand for two weeks before it became a sweep.\n- Agents invented approval gates, preflights and locks, and then waited on them. After about 200 of the user's own corrections were compressed into this skill's rules, \"why did you stop\" nudges went from 27 to 0, and gate language in agent messages from 31% to 3%.\n- Merge authority changed four times in two weeks, depending on repo and task. That's why it is a dial.\n- \"If we get stuck for more than two hours, create and rubber-duck a plan\" came out of a migration that dragged on for two days.\n","# Autonomous delivery (v3)\n\n**Organize the work, keep it moving, and keep improving how it is organized.** This is the coordination skill for [build mode](..\u002F..\u002Fdocs\u002Fmodes.md): large new work where the process is to file issues, let independent sessions work them in parallel, then merge and deploy. There may be no metric to climb, and that's fine. When a lane does have a measurable signal, that lane runs [`find-the-loop`](..\u002Ffind-the-loop\u002FSKILL.md). A coordinator holds your intent, splits it into lanes, and delegates each lane to a child session that owns an outcome. Children may run their own workers. The coordinator optimizes for **verified outcomes per hour**, not agent activity. Quality and throughput are joint goals, and you never buy speed by weakening the outcome. For a delivery mandate, the outcome is **working behavior observed on the real path**, not source code or an open PR.\n\nA skill is not authorization. But existing delegation *is* authority within its scope, and it doesn't need to be requested again at every step.\n\nVersion 3 builds on the [public autonomous-delivery skill, v2.1](https:\u002F\u002Fgist.github.com\u002FEvanBoyle\u002F8c1a97f682d92dab8c09d0e1ea73f4a0) (MIT). It keeps the adaptive orchestrator-worker pattern and adds the rules that weeks of real unattended runs forced into existence. Dials are set up front. Stalled children are restarted automatically. The watchdog metric is time since last merge. Wakes with nothing new stay silent. A stuck lane gets re-planned after two hours. Releases have one writer. The backlog never runs dry. Constraints that agents invent come with a source and an expiry.\n\nWorked examples, templates and the full list of changes since v2.1 are in [`reference.md`](reference.md).\n\n## When to use\n\n- The work spans hours or days, or must keep running while you're away.\n- There are more than about three independent units of work, or you said \"parallelize\", \"lanes\", \"orchestrator\", \"keep N going\".\n- You're resuming a run after a restart, sleep or outage. Re-invoking re-arms it with the stored dials.\n\n**Don't use it for:**\n- A small or tightly coupled change. One agent is the right organization; just do it.\n- Driving one PR to landed. Use [`pr-shepherd`](..\u002Fpr-shepherd\u002FSKILL.md).\n- Turning an intent into a brief. Use [`brief`](..\u002Fbrief\u002FSKILL.md) first and hand the result to this skill.\n\n## Steps\n\n### 0. Start from intent and current state (every session, and after long gaps)\n\nLong-running coordinators fall behind. At session start and after any long gap:\n- Refresh from the remote default branch and **re-read this skill** and the repo's runbooks, so you don't act on stale rules.\n- Read the live state before acting: open issues and PRs, their discussion, existing owners, and what is actually deployed.\n- Separate requirements from assumptions. An old checkout, a historical receipt or an idle session does not change the user's delegation.\n\n### 1. Setup interview (once)\n\nAsk only for the dials the prompt didn't already answer, in **one** message that takes under a minute. Offer a preset. Store the answers in the ledger header ([`templates\u002Fledger.md`](..\u002F..\u002Ftemplates\u002Fledger.md)). Echo the contract back in one line, for example: `Overnight preset · L2 (your dial; ceiling L4) · standard spend · 3–5 lanes · refill when idle · sweep 30m · report 08:30 PT`. When re-invoked, read the stored dials and continue without asking again.\n\n| Dial | `pair` (you're here) | `overnight` (you're away until a set time) | `unattended` (ongoing, no end time) |\n|---|---|---|---|\n| Autonomy | your dial (unchanged) | your dial (unchanged) | your dial (unchanged) |\n| [Spend](..\u002F..\u002Fdocs\u002Fspend.md) | your tier | your tier; offer `max` for a deadline push | your tier, premium for judgment only |\n| Lanes (min–max), capped by your tier | 1–3 | 3–5 | 5–8 |\n| Idle policy | wait for events | refill from the backlog | refill from the backlog |\n| Liveness sweep | off (events only) | every 30 min | every 15 min |\n| Stall threshold (time since last merge) | report only | 2 h → act | 45 min in active hours → act |\n| Stuck rule | 2 h → re-plan and ask | 2 h → re-plan with a rubber duck | 2 h → re-plan with a rubber duck |\n| Status | at milestones | once, at your wake time | daily digest plus milestones |\n| Human-only questions | ask now | queue for the morning report | queue for the daily digest |\n| Budget stop | none | report at 80% | hard stop at 80%; won't start without a finite budget |\n| Self-edit of this skill | off | propose | propose |\n\nPresets change pacing, parallelism and spend. They never change autonomy. Lane counts and sweeps stay inside your spend tier's caps ([`docs\u002Fspend.md`](..\u002F..\u002Fdocs\u002Fspend.md)), and a preset never switches your tier without asking.\n\nThe autonomy level is resolved per [`docs\u002Fautonomy.md`](..\u002F..\u002Fdocs\u002Fautonomy.md): your latest explicit word (dial file, kickoff or chat), capped by `.github\u002Flever.yml` and GitHub. If the prompt already said \"then merge\" or \"hand off to the owning team\", that is the answer. Don't ask again. Silence is not a grant. Without an explicit merge grant from you, work at L2 at most.\n\n`unattended` has no end time, so it needs a finite budget before it starts: `budgets:` in `.github\u002Flever.yml`, a cap in your spend dial, or a number you give in the setup answer. No budget, no start. Say so in one line.\n\n**Owner directive format.** When the operator changes direction mid-run, record it as: `outcomes (priority, label rule, cap) · workers: N · merge authority: \u003Cwho> · release owner: \u003Cwho> · tracking: \u003Cissue> · until: \u003Ccondition>`. A newer directive supersedes older ones and any repo doc that conflicts with it, except `.github\u002Flever.yml`, rulesets and CODEOWNERS, which change only by PR. Fix a conflicting doc in a follow-up PR rather than obeying it.\n\n### 2. Plan lanes, not documents\n\n1. Turn the goal into outcomes, each with an observable done-when and a feedback loop (use [`find-the-loop`](..\u002Ffind-the-loop\u002FSKILL.md) for any lane without one).\n2. Build the dependency graph. Group units with no mutual dependency into a batch, and mark a batch ready only when its inputs exist.\n3. Give each outcome **one owner** and a human-friendly milestone label (never a bare PR number or SHA). Treat shared files, APIs, fixtures and quotas as dependencies, even when the features sound independent.\n4. Set the merge order up front: foundation first, leaves last, smallest reviewable PRs. Use [`landing-plan`](..\u002Flanding-plan\u002FSKILL.md) for batches.\n5. A markdown plan is enough. Append superseding direction instead of rewriting history. Reconcile the graph after each batch.\n\n**Fit the organization to the work.** A small fix or one tightly coupled investigation stays with one worker. Independent outcomes get separate owners. A large domain can get its own orchestrator when its local decisions would overload you. `max_lanes` is a cap, not a quota. Don't create agents to review each other just to satisfy process, and collapse layers that only relay messages.\n\n**Parallel by default.** When the user raises a new outcome mid-stream, start a new dedicated owner for it right away and keep current work moving. Don't queue independent investigations, fixes or experiments behind a release or another lane unless they really share a resource. The user should never have to say \"in parallel\".\n\n**Claim before you write.** Find or create a tracking issue for each outcome, labelled `lever` and assigned to the outcome owner, with lanes as sub-issues ([`docs\u002Ftracking.md`](..\u002F..\u002Fdocs\u002Ftracking.md)). Given `#issue`, resume from it: the brief, the lanes and the status section are the state. Write yourself into its marker as coordinator. If the marker names another coordinator, stay read-only and say who's driving. Take over only on an explicit handoff, or a stale marker per [`docs\u002Ftracking.md`](..\u002F..\u002Fdocs\u002Ftracking.md), and re-read the marker right before each write. If it isn't yours anymore, back off. Check assignees, linked PRs and active sessions before claiming. Assignment is not an atomic lock: if two owners claim the same thing, reconcile instead of starting a second writer.\n\n### 3. Delegate with an envelope\n\nEach child gets a standalone brief ([`templates\u002Fbrief.md`](..\u002F..\u002Ftemplates\u002Fbrief.md); see the envelope in [`reference.md`](reference.md)) with the user's words verbatim, the outcome and its done-when, the feedback loop, the files it owns, its slice of the shared budget, and the inherited autonomy level. Its **escalation target is the parent, not the human**, and it runs in autopilot, never waiting on a human prompt.\n\n**Every constraint carries provenance and an expiry:**\n\n```\nconstraint | source (operator | repo | platform | agent:\u003Clane>) | set | expires | why\n```\n\n- Operator, repo and platform constraints hold until they expire. Descendants inherit them and can only narrow them.\n- An agent-sourced constraint applies only inside the subtree that created it. It expires when that assignment ends, or after `agent_constraint_ttl`. It never becomes a project-wide rule.\n- A constraint with no source is not real. Drop it.\n\n\"Narrow, never widen\" on its own drives authority toward zero down a three-level tree, because every layer adds a gate and nobody clears them.\n\n**Handoff message.** A worker finishing a PR sends one line: `READY \u003Cpr> \u003Chead-sha>`. The receiver **re-runs the gate itself** on that head: open, not draft, mergeable, every required check green on that exact SHA, zero unresolved threads, and diff reviewed. It merges with an expected-head guard. A worker's claim is evidence level *claimed*, never *green*.\n\nModel choice: give the coordinator strong reasoning, give well-scoped implementation fast capable workers, and save the strongest reasoning for hard diagnosis and stuck lanes. Respect your stated model preferences.\n\n### 3a. Each lane runs the shortest evidence-driven loop\n\nStart from a concrete hypothesis. Inspect the evidence, make the smallest coherent change, run focused checks and the required CI, land at the resolved level, exercise the real path, inspect the result, and iterate.\n\n- **Keep verification proportionate.** For behavior changes, run focused tests, the required CI and a bounded real-path smoke test. For docs-only changes, check sources, links and consistency, plus required CI; don't redeploy. Don't make exhaustive scans, unchanged reruns or new verification machinery a prerequisite. Broaden only when the evidence demands it, and say what each check does and doesn't prove.\n- **Check the diagnosis against raw evidence** before acting on it, and confirm a measurement script counts what it claims to.\n- **Reproduce off production** before spending live attempts. A default-off flag in source may never have been turned on in the live system, so read the live configuration.\n- **Treat a deploy as an experiment.** After a release or a flag flip, compare load, latency and error rates against the pre-change baseline right away. Roll back or adjust quickly when they regress.\n\n### 4. Run the loop: events first, a sweep as backstop, silent when nothing changed\n\nHandle child completions and GitHub events as they arrive: reconcile, unblock, route each merged SHA to the release owner, and start the next ready lane. When the sweep fires (`sweep_interval`, or a scheduled `\u002Flever deliver #\u003Cissue>`), check the marker is still yours, then:\n\n1. **Liveness, recursively.** Find every descendant that is interrupted or idle with unfinished work and **rekick it automatically**. The rekick message carries what changed and what's expected, never a bare \"continue\". The user should never have to ask for this. If a child doesn't move after two rekicks, apply the takeover protocol (step 9). If your host can resume children natively, use that; if it can't, file the gap as a product bug rather than writing more prompt. Judge liveness by the last turn or tool timestamp, not by a busy flag. A session can show busy with no turn running. **If a deploy or restart takes down the host your sessions run on, resuming yourself and your children is the last step of that deploy**, not something the human notices later.\n2. **Watchdog metric: time since last merge.** Compare it to `stall_threshold`. If it's over, name the binding constraint (empty backlog, CI, review, quota, permission, a stuck lane) and act on it.\n3. **Green but not landed.** Hand each such PR to `pr-shepherd`.\n4. **Lane count below the minimum.** Refill (step 6).\n5. **Budget burn.** Check API calls, CI minutes and credits against their caps.\n\nKeep one short current-state checkpoint per lane: owner, outcome, evidence, blocker, next action. Store historical receipts separately; they are evidence, not current restrictions. Don't re-read unchanged ledgers, and don't ask owners for generic status when no decision depends on it. Busy doesn't prove progress, silence doesn't prove a stall, and idle doesn't mean complete or safe to archive.\n\nIf nothing changed since the last watermark, end the wake silently: no message, and no task invented to justify the wake. Never sleep or poll inside a turn. Give the waiting agent other work instead.\n\n### 5. Land and release on a train\n\nPer-PR landing belongs to `pr-shepherd`, at the resolved level. **After a merge, release and the next implementation run in parallel**: hand the exact merged SHA to the release owner and pick up the next ready work immediately. Don't serialize the team behind deployment, and don't create a second deployer. At L5, **one release-owner lane is the only writer of releases**. Other lanes send it merged SHAs. The release owner:\n- ships the latest default-branch head whose **post-merge CI** is green (PR CI isn't enough), batching everything merged since the last release, not one release per PR;\n- records any change between the selected target and a newer head, rather than silently swapping targets;\n- deploys;\n- runs a post-deploy check against a baseline;\n- rolls back on regression.\n\nNever redeploy unchanged source just to look busy, and never waive CI or compatibility checks to simulate continuous deployment. Use expand → migrate → contract for format changes. Use maintenance windows only for breaking changes or data migrations. Report merge→production latency.\n\n**Pick the release target once per train.** Late retargets (\"final target update\", \"revert\", \"ship whichever goes green first\") cost a full re-plan each. Batch everything merged since the last release, and change target only for a regression.\n\n### 6. Never idle (when `idle_policy = refill`)\n\n\"Nothing to do\" is not a valid end state for an ongoing mandate. Keep `min_lanes` busy. When the ready pool runs low, draw from the standing backlog you agreed in setup:\n- failing or flaky tests;\n- audits against a reference;\n- tool-failure and error-log triage;\n- performance regressions;\n- a backlog re-plan.\n\nRun standing lanes **on change**, not on a timer. Revisit affected user journeys after meaningful UI or contract changes and releases, comparing them against agreed reference behavior: loading, error and empty states, accessibility, responsive layout. When you triage tool or error failures, keep the observation window and its limits: failure-only samples can't give you a failure rate, and missing logs don't prove success. Never replay a real mutation to test a hypothesis. Reuse existing findings, and don't re-audit unchanged surfaces.\n\nYou can also file new, independently mergeable work with [`keep-the-pool-full`](..\u002Fkeep-the-pool-full\u002FSKILL.md). Refilling counts as a change, so it isn't a silent wake. For finite work with `idle_policy = wait`, stop when the outcome is verified.\n\n### 7. Stuck rule: two hours without meaningful progress means re-plan\n\nIf a lane has gone `stuck_threshold` without meaningful progress:\n1. Stop polishing the blocked approach.\n2. Do a back-of-the-envelope check: at the current rate, when does this finish? If the answer is absurd, the plan is wrong.\n3. Write a **simpler** recovery plan and rubber-duck it with a different strong model ([`cross-model-review`](..\u002Fcross-model-review\u002FSKILL.md)).\n4. Pick one, record why in the ledger, and continue. Don't spend another two hours on the same approach.\n\n### 8. Ask once, completely, then keep working\n\nA question that truly needs a human states:\n- what is blocked, and why;\n- the exact URL or command;\n- your recommended answer;\n- what happens if the answer is no.\n\nDo the work yourself through APIs and tools whenever a route exists. Never make manual testing, a human sign-in or a settings click a prerequisite when there's an automated way. If a setting really is UI-only, give the exact URL and paste-ready values once, then continue.\n\nAsk it once. In `overnight` or `unattended` mode, put it in the next status report instead of interrupting. Keep working on everything that doesn't depend on the answer. An automatic \"user unavailable\" reply is not new evidence, so don't ask again. Never ask for permission the level already grants. Never invent an approval step, an exact-GO phrase, a lock or a preflight.\n\n### 9. Takeover protocol (interrupted or orphaned work)\n\n1. Find the work: the branch, PR, child session, or ledger entry.\n2. Read the **live** state: head SHA, CI on that head, open threads, and any external write that timed out (its outcome is unknown, not failed).\n3. Claim it explicitly in the ledger and on the PR or issue, so there is exactly one writer.\n4. Continue from that evidence, not from memory or a stale plan. Never reset or rewrite another owner's ref. Preserve their work.\n5. Stop or archive the previous owner once the handoff is confirmed.\n\nWhen a worker fails permanently, start **exactly one** replacement per issue. It continues the same branch and PR after reading the predecessor's handoff. Never start a fresh branch, and never start two replacements.\n\n### 10. Report through the progress contract\n\nUse [`progress-contract`](..\u002Fprogress-contract\u002FSKILL.md) and [`templates\u002Fstatus-digest.md`](..\u002F..\u002Ftemplates\u002Fstatus-digest.md).\n- Put the dials in force at the top.\n- Report each milestone label with its state, ETA in your timezone, and evidence level (claimed \u003C pushed \u003C green \u003C merged \u003C deployed \u003C measured).\n- Show metrics as `x → y (Δz%)`, with merged count, time since last merge, and the previous ETA vs. actual.\n- List human-only items.\n- Stay silent when nothing changed.\n\nBefore you go offline, or at the end of the absence window:\n- push all branches;\n- put status and next steps in draft PR or issue bodies ([`templates\u002Fhandoff.md`](..\u002F..\u002Ftemplates\u002Fhandoff.md));\n- make sure every active lane has an issue.\n\n### 11. Reflect, and remove the process you invented\n\nAt meaningful points (after a batch lands, after a stall, at each digest), ask whether this organization is producing verified outcomes faster. Then:\n- **Remove the process you invented.** List the active constraints. Drop agent-sourced ones that have expired or have no source and that block the goal. Say so in the next status.\n- Compare ETA vs. actual, and stall minutes. Make one workflow change at a time (split, merge or re-scope lanes; change concurrency or model tier) and keep it or revert it on evidence.\n- When a correction repeats, route it to a durable layer with [`steer-once`](..\u002Fsteer-once\u002FSKILL.md). Don't just apologise and carry on.\n- When several variants of a prompt, definition or config are plausible, compare them as paired arms against a control ([`experiment-arms`](..\u002Fexperiment-arms\u002FSKILL.md)), not one before\u002Fafter change at a time. Search on replayed or seeded tasks, then confirm the winner on live work.\n- **Evolve this skill through review.** After meaningful lessons, revise this SKILL.md through an issue and a reviewed PR, with the evidence in the PR. Update or remove the rule; don't append incident history. Keep SHAs, session IDs and live state out of it. Retire guidance that no longer earns its cost.\n\n### 12. Move lanes to the cloud, one at a time\n\nThe long-term direction is for repeatable lanes (review, CI repair, issue repro, status, next-work pickup) to run as Copilot Automations, while the local coordinator moves toward supervision and exceptions. You don't need a hierarchy or cross-session messaging first. Start with independent jobs that read durable inputs (issues, PRs, artifacts) and write durable outputs (reviews, labels, PRs). Use [`automate-it`](..\u002Fautomate-it\u002FSKILL.md) for each one.\n\nMove **one bounded lane at a time**, under explicit ownership:\n1. Establish what the hosted run can actually do: tools, permissions, trigger, durable checkpoint, acceptance evidence, and the escalation path.\n2. Qualify it on observed hosted outputs. Local and hosted workers must never compete for the same issue, PR, queue or release.\n3. Record the cutover and stop the local predecessor's writes. Keep release as one serialized lane across both places.\n4. Declare it migrated only after it has produced outputs **and** kept picking up next work from events, with no local prompting, over an agreed observation window. One good run isn't a migration.\n\nRules:\n- One improver with a global view owns changes to automation definitions. Other lanes propose; they don't rewrite themselves.\n- A sent message isn't proof the next owner acted. Confirm delivery *and* consumption before depending on a handoff.\n- Treat automation-wide stalls (lanes idle, triggers unmatched, schedules skipped) as delivery outages, not background noise.\n- Judge the move by **valuable PRs landed through it**, not by the number of lanes or runs.\n\n## Dials\n\n| Dial | Default | Options |\n|---|---|---|\n| `preset` | `pair` | `pair`, `overnight`, `unattended`, custom |\n| `autonomy` | Resolved per [`docs\u002Fautonomy.md`](..\u002F..\u002Fdocs\u002Fautonomy.md) | L0–L5, capped by the repo ceiling |\n| `min_lanes` \u002F `max_lanes` | 1 \u002F 3 | integers; depth ≤ 3 |\n| `idle_policy` | `wait` | `wait`, `refill`, `stop` |\n| `standing_backlog` | none | list of recurring lane types |\n| `sweep_interval` | off | minutes |\n| `stall_threshold` | 2 h, report only | duration; report or act |\n| `stuck_threshold` | 2 h | duration; escalation models |\n| `agent_constraint_ttl` | end of assignment | duration |\n| `absence_window` | none | until a time, N hours, or indefinite |\n| `status` | milestones; your timezone | cadence, horizon, channel |\n| `human_questions` | ask now | ask now, queue for the next report |\n| `budget` | `budgets:` in your repo's `.github\u002Flever.yml`, then your spend tier | API calls per merged PR, CI minutes, credits; stop at a percentage. Required for `unattended` |\n| `release` | none | none, train (single writer), per merge |\n| `self_edit` | off | off, propose, commit (through the level) |\n\n## Outputs\n\n- **Ledger:** the dials header, current state first, owners, decisions with their constraint provenance, and evidence links. Rotate it when it grows.\n- **GitHub artifacts** a person can resume from: an issue per lane, PRs with status in the body, and flake issues.\n- **Status digests** (silent when unchanged) and a morning or end-of-run report.\n\n## This skill's own feedback loop\n\n- **Watchdog:** time since last merge, and stall minutes per night. Target: no window over `stall_threshold` without a named cause.\n- **Throughput:** merges per hour, and merge→production median.\n- **Human load:** rekick requests (target 0), \"why did you stop\" nudges (target 0), and status asks as a share of your messages.\n- **Forecast quality:** ETA error per digest.\n- **Bureaucracy:** gate and waiting language in agent messages.\n\n## Failure modes it prevents\n\n- Zero merges overnight because nobody noticed a stall.\n- You restarting children by hand.\n- Coordinators that stop at a milestone.\n- Polling chatter on every wake.\n- Two hours polishing a dead approach.\n- Concurrent releases from several lanes.\n- Authority eroded by inherited gates nobody remembers adding.\n- Questions to an absent human that block every lane.\n\n## Boundaries that adaptation never changes\n\n- **Authority:** a skill grants no permissions. Act within the resolved level, the host's rules, and the budget. A planning request is not permission to merge, deploy, spend money or set up a recurring schedule.\n- **Data:** don't send private code, credentials, logs or conversations anywhere unauthorized. Never borrow credentials from another session. Idle doesn't mean disposable, so preserve checkouts and saved work.\n- **Effects:** keep one owner for each shared mutable resource. Before retrying a write that timed out, reconcile what actually happened.\n- **Evidence:** match each claim to the evidence level you actually reached. Report what failed and what you couldn't check.\n\n## Why this exists\n\n- What's possible: a single coordinator can run for **days to weeks**, steering **10s to 100s** of child sessions through **1,000s** of cross-session messages and scheduled wakeups, with a human typing a **low single-digit %** of the turns. At that scale, status or ETA requests become the largest category of what the human types, which is why `progress-contract` exists.\n- The human was the watchdog. Morning messages read \"no merged commits in 19 hours\" and \"nothing merged for 8 hours\", and there were at least 7 \"rekick your children\" requests. Hours since last merge was computed by hand for two weeks before it became a sweep.\n- Agents invented approval gates, preflights and locks, and then waited on them. After about 200 of the user's own corrections were compressed into this skill's rules, \"why did you stop\" nudges went from 27 to 0, and gate language in agent messages from 31% to 3%.\n- Merge authority changed four times in two weeks, depending on repo and task. That's why it is a dial.\n- \"If we get stuck for more than two hours, create and rubber-duck a plan\" came out of a migration that dragged on for two days.\n",{"name":5,"description":7,"user-invocable":36},"main","f859d0aa2be96981157ee0480655c84877e3cd98","skills\u002Fautonomous-delivery",15,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-06 22:44:16",{"source":9,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add github\u002Flever --skill autonomous-delivery",{"tool":55,"command":56},"bunx","bunx skills add github\u002Flever --skill autonomous-delivery",{"tool":58,"command":59},"pnpm","pnpm dlx skills add github\u002Flever --skill autonomous-delivery","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fautonomous-delivery\u002FSKILL.md",true,[63],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"reference.md","REFERENCE","参考文档",7158,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fautonomous-delivery\u002Freference.md",[70,97,116,136,152,171],{"skillNo":71,"name":72,"nameZh":73,"description":74,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":76,"categories":77,"keywords":84,"publishedAt":35},"01M6AD7862D8WH4576CB754ZQ5","steer-once","重复纠正根因修复","Turn a correction you keep repeating into a durable fix: mine your corrections, classify them, choose the cheapest layer that would have prevented them (instruction, skill, lint\u002FCI check, test, automation, or product bug report), open a PR with an evidence block, then re-measure after K days and keep, escalate or revert. Opens PRs, so it runs only on `\u002Flever steer` or an explicit ask (\"mine my corrections\", \"why do I keep telling you X\", \"didn't I give you a skill for this\"), or when prompt-mirror reports the same correction class in 3+ sessions and you say go.","将你反复重复的纠正转化为持久性修复：挖掘你的各类纠正并分类，选择能够预防这些纠正的最低成本层级（指令、技能、lint\u002FCI 检查、测试、自动化或产品 bug 报告），提交一个带证据块的 PR，然后在 K 天后重新度量，并决定保留、升级或回滚。由于会创建 PR，因此仅在 `\u002Flever steer` 或明确要求（“挖掘我的纠正”“为什么我总跟你说 X”“我不是给过你一个技能来做这个吗”），或当 prompt-mirror 在 3 个及以上会话中报告同一类纠正且你表示同意时才运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fsteer-once\u002FSKILL.md",[78,81],{"categoryNo":79,"categoryName":80,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":82,"categoryName":83,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[85,86,87,88,89,90,91,92,93,94,95,96],"steer once","go","automation","test","sessions","pr","bug report","lint","report","product","ci","lever",{"skillNo":98,"name":99,"nameZh":100,"description":101,"descriptionZh":102,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":103,"categories":104,"keywords":111,"publishedAt":35},"01M6AD767J9CB04Y0FY7JFSKJJ","run-health-review","自动化运行健康审查","Stall watchdog and automation health review. Pulls recent runs, merges, no-op rate, failures, rate-limit hits and stuck PRs; classifies each stall; proposes exactly one change or \"no change\"; and takes over orphaned work. Use when unattended delivery stalled (\"why did it stall overnight\", \"no merges in N hours\", \"it was fast the first few days, now slow\"), when an automation fails or its output drops, when rate limits or quotas are hit, or on a schedule while agents run unattended.","停滞监视器与自动化健康审查。拉取近期运行、合并、无操作率、失败、速率限制命中以及卡住的 PR；对每种停滞进行分类；只提出一项变更或“不变更”；并接管被遗弃的工作。当无人值守交付停滞（“为什么一夜之间就卡住了”“N 小时没有合并”“前几天还很快，现在变慢了”）、某个自动化失败或其产出下降、遭遇速率限制或配额用尽，或在 agent 无人值守运行期间按计划执行时使用。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Frun-health-review\u002FSKILL.md",[105,108],{"categoryNo":106,"categoryName":107,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD3B3T8FK02S5JVCZA1M","运维监控与告警",{"categoryNo":109,"categoryName":110,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",[112,33,113,87,114,115],"review","run health review","change","fast",{"skillNo":117,"name":118,"nameZh":119,"description":120,"descriptionZh":121,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":122,"categories":123,"keywords":130,"publishedAt":35},"01M6AD746F7K4FQG99EE8CZ6DT","refactor-pipeline","大规模代码重构流水线","Runs a huge, mechanical refactor (crate or package splits, module extraction, API migrations, dead-code removal) as three independent lanes, producer, packager and shepherd, that coordinate only through git and a PR stack. It pushes branches and opens PRs, so it runs only on `\u002Flever refactor` or an explicit ask (\"split this crate\", \"break up this monolith\", \"this module is huge, cut it down\", \"migrate every caller\").","以三个独立通道——生产者（producer）、打包者（packager）和牧羊人（shepherd）——运行大规模的机械式重构（crate 或 package 拆分、模块提取、API 迁移、死代码删除），这些通道仅通过 git 和 PR 栈进行协调。它会推送分支并创建 PR，因此仅在 `\u002Flever refactor` 或明确要求（“拆分此 crate”“拆分这个单体”“这个模块太大了，把它精简一下”“迁移所有调用方”）时运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Frefactor-pipeline\u002FSKILL.md",[124,127],{"categoryNo":125,"categoryName":126,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":128,"categoryName":129,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BT7QVANT4709358VEJK53E","代码实现",[131,132,133,96,134,90,135],"refactor pipeline","extraction","code","package","git",{"skillNo":137,"name":138,"nameZh":139,"description":140,"descriptionZh":141,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":142,"categories":143,"keywords":148,"publishedAt":35},"01M6AD72CGZ51VEDN1PZZPB7VB","prompt-mirror","Copilot 提示词习惯分析","Mine your own local Copilot session history and return a scorecard of how you direct agents, plus three suggestions illustrated with your own before\u002Fafter messages. It reads your private history, so it runs only on `\u002Flever mirror` or an explicit ask (\"how am I prompting?\", \"coach me\", \"mine my sessions\", \"what do I keep repeating?\", a weekly self-retro).","挖掘本地 Copilot 会话历史，返回一份关于你如何指导智能体的评分卡，并附上三条建议，用你自己的前后对比消息加以说明。由于它读取你的私有历史，因此仅在 `\u002Flever mirror` 或明确请求（“我的提示词水平如何？”、“指导我改进”、“挖掘我的会话”、“我总是在重复什么？”、每周自我复盘）时运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-mirror\u002FSKILL.md",[144,145],{"categoryNo":125,"categoryName":126,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":146,"categoryName":147,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C7EDVFXM320A73X49K3FEZ","提示词分析与优化",[149,89,150,151,96],"prompt mirror","copilot","messages",{"skillNo":153,"name":154,"nameZh":155,"description":156,"descriptionZh":157,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":158,"categories":159,"keywords":166,"publishedAt":35},"01M6AD70V6MPP4EE686C6TR4MG","progress-contract","长时任务进度契约跟踪","Pushes progress on long-running or delegated work so the human never has to poll. It publishes milestones with ETAs and the evidence each needs, sends reports only when something meaningful changed, labels every claim with an evidence level, logs ETA accuracy, watches time since last merge, and audits \"done\" against evidence before declaring it. Use for any delegated, multi-hour or overnight run, when a brief sets a report contract, or when the user asks \"status?\", \"ETA?\", \"where are we?\", \"what happened overnight?\", \"hour by hour\" or \"are you done?\".","推动长时间运行或委派的任务进展，让人类无需轮询。它会发布带有 ETA 及各自所需证据的里程碑，仅在发生重大变化时发送报告，为每项声明标注证据等级，记录 ETA 准确性，监控距上次合并的时间，并在宣布“完成”之前依据证据对“完成”状态进行审计。适用于任何委派的、耗时数小时或通宵运行的任务，当任务简报设定了报告契约时，或当用户询问“状态如何？”、“预计何时完成？”、“我们进行到哪了？”、“昨晚发生了什么？”、“逐小时汇报”或“你完成了吗？”时。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fprogress-contract\u002FSKILL.md",[160,163],{"categoryNo":161,"categoryName":162,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C31AVFVV99RWJEGF9PS85F","项目经理",{"categoryNo":164,"categoryName":165,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C6Y8SPQXYX4HP4KTNCEXME","项目进度跟踪与状态报告",[167,33,168,32,93,169,170],"progress contract","merge","logs","brief",{"skillNo":172,"name":173,"nameZh":174,"description":175,"descriptionZh":176,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":177,"categories":178,"keywords":183,"publishedAt":35},"01M6AD6YMC170PX6A5VWDE4T2B","pr-shepherd","PR 落地合并驱动","Drives an open pull request to landed through an event-driven loop. On each wake it does one batched read, fixes root causes of red required checks, dispositions every review thread, and lands at the level set by the autonomy dial. It pushes and can merge, so it runs only on `\u002Flever shepherd`, a hand-off from a lever coordinator, a PR labeled for shepherding, or an explicit ask (\"monitor CI until green\", \"push fixes until green\", \"resolve the review threads\", \"merge when green\", \"babysit this PR\", \"shepherd","通过事件驱动循环推动开放的拉取请求直至落地。每次唤醒时执行一次批量读取，修复红色必填检查的根本原因，处理每一条审查讨论线程，并按照自主性拨盘设定的级别执行落地。由于它会推送代码并可能执行合并，因此仅在 `\u002Flever shepherd`、来自 lever 协调器的移交、被标记为 shepherding 的 PR，或明确请求（“监控 CI 直至通过”、“推送修复直到通过”、“解决审查讨论线程”、“通过即合并”、“照看这个 PR”、“shepherd”）时运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fpr-shepherd\u002FSKILL.md",[179,180],{"categoryNo":125,"categoryName":126,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":181,"categoryName":182,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[90,184,168,185,186,187,188,95,189,96,112],"pr shepherd","pull request","monitor","pull","push","autonomy dial"]