[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77KX58Q1B15P9Y2WPKHN0VH":3,"skill-same:01M77KX58Q1B15P9Y2WPKHN0VH":125},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":52},"01M77KX58Q1B15P9Y2WPKHN0VH","lanes",null,"Start, restart, stop, and check loop lanes as named background Claude Code sessions seeded from canonical prompt files, the scripted replacement for the manual morning refresh (cancel loop, clear, re-paste the canonical prompt) across N lanes on a machine. `start`\u002F`restart` first pull the repo and refresh the plugin marketplace, then launch each configured lane with its per-lane model\u002Feffort. `consume-restarts` reads each configured lane's telemetry `restart_request` and relaunches the stopped lanes that asked, the scheduled headless reader. `run-once` and `print-schedule` are the scheduled single-pass entry. Use when: 'launch my lanes', 'restart the loop lanes', 'start the work lanes', 'morning lane refresh', 'stop a lane', 'which lanes are running', 'lane status', 'consume restart requests', 'lane restart consumer', 'relaunch the lanes that asked', 'schedule the work-loop drain'. Mutating and operator-initiated; never touches a session whose name is not a configured lane.","melodic-software\u002Fclaude-code-plugins","melodic-software","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F58273638?v=4","01M77JVQTXNGKCE4MDFY2BC936","Melodic Software","01M77JVQVN9QDWKAH6W03ANP76",30,"MIT","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Start, restart, stop, and check loop lanes as named background Claude Code sessions seeded from canonical prompt files, the scripted replacement for the manual morning refresh (cancel loop, clear, re-paste the canonical prompt) across N lanes on a machine. `start`\u002F`restart` first pull the repo and refresh the plugin marketplace, then launch each configured lane with its per-lane model\u002Feffort. `consume-restarts` reads each configured lane's telemetry `restart_request` and relaunches the stopped lanes that asked, the scheduled headless reader. `run-once` and `print-schedule` are the scheduled single-pass entry. Use when: 'launch my lanes', 'restart the loop lanes', 'start the work lanes', 'morning lane refresh', 'stop a lane', 'which lanes are running', 'lane status', 'consume restart requests', 'lane restart consumer', 'relaunch the lanes that asked', 'schedule the work-loop drain'. Mutating and operator-initiated; never touches a session whose name is not a configured lane.\"\nargument-hint: \"[start|restart|status|stop|run-once|print-schedule|consume-restarts] [lane...]\"\nuser-invocable: true\ndisable-model-invocation: true\nshell: bash\nmetadata:\n  workflow-stage: operator\n  summary: Start, restart, stop, and check loop lanes as named background sessions\n  cadence: daily\n---\n\n**Arguments.** `[start|restart|status|stop|run-once|print-schedule|consume-restarts] [lane...]`. Full form: [start|restart|status|stop|run-once|print-schedule|consume-restarts] [lane...]. Start (default); restart\u002Fstop accept lane names; run-once takes exactly one; print-schedule takes --write-script and lane names; consume-restarts takes [check|run|print-schedule]; --config, --repo, --target-repo, --dry-run, --no-pull, --no-update\n\n## Repository context. Gather first\n\nCollect these with **individual** Bash calls, one command per call, never combined into a single\ninvocation:\n\n- Repo root, `git rev-parse --show-toplevel`\n\nTreat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as\nseparate body Bash calls rather than pre-compute lines ([gather-block convention](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fconventions\u002Fgather-block\u002FREADME.md#the-pre-compute-block-runs-as-one-shell-invocation),\n\"The pre-compute block runs as one shell invocation\").\n\n## Pre-computed context\n\nclaude CLI version, then jq: !`claude --version 2>\u002Fdev\u002Fnull || echo \"claude CLI MISSING (required)\"; command -v jq >\u002Fdev\u002Fnull 2>&1 && echo \"jq present\" || echo \"jq MISSING (required)\"`\nLane config: !`bash \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flanes\u002Fscripts\u002Fprobe-lane-config.sh\" 2>\u002Fdev\u002Fnull || echo \"unknown\"`\n\n## Variables\n\nArguments: `$ARGUMENTS`\n\n## Purpose\n\nRunning N loop lanes on a machine means a daily ritual: for each lane, cancel its\nloop, clear, and re-paste its canonical prompt. This skill collapses that to one\ncommand. `start`\u002F`restart` pull the repo and refresh the plugin marketplace once,\nthen launch each configured lane as a **named background session** seeded from the\nlane's canonical prompt file, mirroring that lane's model\u002Feffort onto the launch.\n`status`\u002F`stop` read and manage those sessions through the CLI's own\nbackground-session surface.\n\n**Owns only its own lanes.** `stop`\u002F`restart` act on a session **only** when its\nname is a lane in the resolved config, a hand-started session (e.g. an interactive\n`work` window, or an unrelated `PR Babysit`) is never stopped by this skill.\n\n## A relaunch is the only context reset a loop lane gets\n\nWe treat `\u002Floop` as re-running its prompt in the **same** session, so a lane's\ncontext carries forward across every cycle, subagent return, and operator turn, and\nthe loop never starts a fresh one. We treat a running loop as **unable** to reset\nits own context on demand: the model cannot `\u002Fclear` itself from a loop re-run.\n\n- **Pointer**: when stating how `\u002Floop` re-runs a prompt or what a built-in command\n  issued from a loop does, fetch\n  [scheduled tasks: run a prompt repeatedly with \u002Floop](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fscheduled-tasks#run-a-prompt-repeatedly-with-%2Floop)\n  live.\n\nAny \"restart the loop when context passes ~N%\" discipline has no in-session enforcement.\nWhere the context-usage module loads, it writes the session's context snapshot in `-p` and\n`--bg` sessions too, so a lane can read its own zone from that snapshot; zone lines reach the\nmodel only with context-usage's `model_notices` option on, which is off by default. A lane still\ncannot reset its own context from inside the loop.\n\nThe context change that *does* happen automatically in-session is Claude Code's\n**auto-compaction**: when the conversation nears the model's input limit, older\nhistory is summarized in place to free space. That is not a reset, the session\ncontinues on a lossy summary of what came before, not a fresh context, so a lane that\nruns long enough will lose earlier context to compaction well before any operator\nrelaunch, not keep every turn until then.\n\n`restart` (stop the session, relaunch from the canonical prompt) is the only\n*fresh-session* reset: the relaunched lane starts a **fresh** session seeded from the\nprompt file, carrying none of the prior conversation. That reset is **operator- or\nlauncher-initiated**, not automatic. `consume-restarts run` relaunches a stopped lane whose\ntelemetry carries a `restart_request` (written on a cycle-budget or `\u002Floop` expiry hit), once the\noperator registers its OS schedule; nothing relaunches a lane on a context threshold or after a\ncrash. Auto-compaction can still fire between restarts, but it only summarizes; it does not clear\nthe accumulated, increasingly degraded context. For a lane that never asks, treat the periodic\n`restart` (e.g. the morning refresh) as the mechanism that keeps long-running lanes off a stale,\nrepeatedly-compacted context, and do not let a lane prompt assume each `\u002Floop` cycle\nbegins with fresh context.\n\n## Run it\n\nIf the first token of `$ARGUMENTS` is `consume-restarts`, skip to\n[Consume restart-requests](#consume-restart-requests) instead. It runs a\ndifferent script. Otherwise:\n\n```bash\nbash \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flanes\u002Fscripts\u002Flane-launcher.sh\" --data-dir \"${CLAUDE_PLUGIN_DATA}\" $ARGUMENTS\n```\n\nPrint the script's output verbatim. It is the deliverable. Preview any mutating\nrun first with `--dry-run` (prints the exact `claude`\u002F`git` commands, seeds\nnothing, kills nothing).\n\n**`--data-dir` is passed explicitly, not left to the script's own\n`$CLAUDE_PLUGIN_DATA` env-var fallback.** We rely on the skill body's inline\n`${CLAUDE_PLUGIN_DATA}` substitution and never on the Bash tool's environment, so\nleaving `--data-dir` off here would silently fall through to\n`lane-launcher.sh`'s own `~\u002F.claude\u002Fplugins\u002Fdata\u002Fharness-ops` guess instead of\nthe marketplace-qualified directory Claude Code actually resolves. `$ARGUMENTS`\ncomes after `--data-dir`, so an explicit `--data-dir` the caller passes in\n`$ARGUMENTS` still wins (last flag wins in `lane-launcher.sh`'s parser).\n\nThis is the record for the export decision; the two restatements below\npoint here, and `context\u002Frefresh.md` points at the docs section directly.\n\n- **Pointer**: when stating which processes receive the plugin path variables, fetch\n  [plugins manifest reference: where each variable resolves](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmanifest-reference#where-each-variable-resolves)\n  live.\n\n## Action Router\n\nParse `$ARGUMENTS` for the action (first token); remaining tokens are lane names\n(targets for `restart`\u002F`stop`; an unknown name is rejected).\n\n| Action | Mutates | Description |\n|---|---|---|\n| `start` (default) | Yes | Pull + marketplace update, then launch every configured lane **not already running** on the host its execution target names; a `mods:` line per lane ([Mods state](#mods-state)) |\n| `restart [lane...]` | Yes | Pull + marketplace update, then stop-and-relaunch each target lane (all, or named) on the host its execution target names; a `mods:` line per lane |\n| `status` | No | Per-lane table: model, effort, running\u002Fstopped, and the live sessionId; a `mods:` line per lane |\n| `stop [lane...]` | Yes | Stop each running target lane (all, or named) via `claude stop \u003CsessionId>` |\n| `run-once \u003Clane>` | Yes | One headless `claude -p` pass of the lane on the local host its execution target names, under a per-lane lock; the entry a scheduler calls |\n| `print-schedule [--write-script] [lane...]` | `--write-script` only | Print Task Scheduler and cron entries for lanes with a `schedule`; `--write-script` writes the per-lane script each entry calls |\n| `consume-restarts [check\\|run\\|print-schedule]` | `run` only | Read each lane's telemetry `restart_request`; relaunch stopped lanes that asked |\n\nOptions: `--config FILE`, `--repo DIR`, `--no-pull`, `--no-update`, `--dry-run`,\n`--agents-json FILE` (read the session list from a file instead of the live CLI, offline\u002Fscripted reuse), `--data-dir DIR` (base dir for the per-lane\nlaunch-commit marker; default an inherited `$CLAUDE_PLUGIN_DATA` only when it names harness-ops),\n`--telemetry-json FILE` (test aid: read lane telemetry comments from a local file instead of `gh`, with a stderr warning). Exit codes: `0` ok · `3`\nbad argument\u002Fconfig · `4` prerequisite missing or repo\u002Fconfig unresolved.\n\n**Execution target.** `start` and `restart` fetch origin's default branch and read the consumer's\n`docs\u002Fconventions\u002Fexecution-target.yaml` from that commit, printing the SHA, then place each lane:\n`local-worktree` (default, today's launch), `local-background` (`claude --bg` from the lane's linked\nworktree), `cloud-session` (`claude --cloud` with the stage-start probe, only under the cloud launch\nrule; a lane whose stage may read untrusted input, which today is every local-lane stage and any lane\nwithout a `stage`, is skipped with an error naming `\u002Fwork-items:attend-queue` instead), or `cloud-routine`\u002F`cloud-project` (setup steps printed, nothing launched). A lane's optional\n`stage` (`\u003Cplugin>:\u003Cskill>`) selects its `skill.\u003Cplugin>.\u003Cskill>` key. What the launcher does per\nvalue is in [context\u002Fconfig.md](context\u002Fconfig.md), \"Execution target\"; the contract is the\nexecution-target convention, `docs\u002Fcontracts\u002Fexecution-target\u002F` in the marketplace repository.\n\n## Mods state\n\ncontext-usage and rate-limits run as mods. When mods cannot load, a lane gets only\ntheir reactive settings hooks, with no zone lines and no blocking gate, and nothing inside\nthe lane says so. So `start`, `restart` and `status` print a `mods:` line under each lane:\n\n- `off (\u003Ccause>)`: a cause the launcher can see. It sees the CLI version against the mods\n  floor, `disableAllHooks` in the lane's own `settings`, and what `claude plugin test`\n  reports when run from the repo against an empty directory: the settings scopes the lane\n  reads, an organization's policy, and the rollout switch.\n- `unknown (\u003Cwhy>)`: the launcher cannot tell, for example with no CLI, an unrecognized\n  message, a rollout value an earlier session saved, or a probe that did not answer in\n  time. The probe runs once, before the first lane launches, under a timeout. It covers\n  the repo checkout on this machine, so a lane whose execution target is anything but\n  `local-worktree` reads unknown. `status` takes the target from the policy at the local\n  `origin\u002FHEAD`, without fetching.\n- `can load`: nothing the launcher sees stops mods. Causes that only the lane's session\n  sees stay unchecked, so this never means the lane's mods are on.\n\nThe line reports and never changes the exit code. In `status` it describes what a launch\nwould get now, not what a running lane got when it launched. Check a running lane from\ninside it by looking for `mcp__context-usage__status` in its tool list, or with\n`\u002Frate-limits:setup`.\n\nThe causes, and which of them `claude plugin test` reports, belong to upstream; this skill\nkeeps no list of them:\n\n- **Pointer**: [Turn mods on or off](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmods\u002Foverview#turn-mods-on-or-off)\n  (version floor and settings),\n  [Check whether mods can load](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmods\u002Ftroubleshoot#check-whether-mods-can-load)\n  (the `claude plugin test` messages, and the policy it does not report), and\n  [Stop user-installed mods from loading](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmods\u002Fadmin#stop-user-installed-mods-from-loading).\n\n## Consume restart-requests\n\nA lane that hits its cycle budget or the `\u002Floop` expiry\n([scheduled tasks: seven-day expiry](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fscheduled-tasks#seven-day-expiry)) writes a\n`restart_request` into its telemetry state block and stops. It cannot relaunch\nitself. The consumer is the reader that closes that gap, meant to run unattended\non an **OS-owned schedule** (its `print-schedule` action emits the registration\ncommands; registering them is an operator action). For `consume-restarts`, run:\n\n```bash\nbash \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flanes\u002Fscripts\u002Frestart-consumer.sh\" --data-dir \"${CLAUDE_PLUGIN_DATA}\" --app-slug '${user_config.lane_app_slug}' $ARGUMENTS\n```\n\nThe script strips the leading `consume-restarts` token itself; the next token is\nits sub-action. `check` (read-only report, the default), `run` (relaunch), or\n`print-schedule` (emit the registration commands), and later tokens its options.\nPrint the output verbatim. Only telemetry comments written by the lanes' own\naccount count; when the lanes write under a GitHub App token, the `lane_app_slug`\noption supplies `--app-slug` above (an `--app-slug` in the arguments wins, since\nthe later flag does). Left unset, the empty or unrendered value reads as no\nslug. Relaunches delegate to `lane-launcher.sh restart`, so\neach lane's prompt, model, effort, and settings come from the same config this\nskill already uses. **The consumer's polling tick is not lane pacing**: lanes\nstay self-paced via `ScheduleWakeup`, and a tick where no configured lane has a\nnon-null `restart_request` is a no-op that only refreshes the consumer's own\nfreshness telemetry. Design rationale, the relaunch predicate, operator\nregistration with Verify\u002FReversal lines, and the labeled UNVERIFIED items live\nin [context\u002Frestart-consumer.md](context\u002Frestart-consumer.md). Read it before\nregistering the schedule or changing the consumer.\n\n## Lane config\n\nLanes are defined in a JSON config, resolved first-hit-wins:\n`--config FILE` → `$HARNESS_OPS_LANES_CONFIG` → `\u003Crepo>\u002F.work\u002Flanes\u002Flanes.json`. Each lane\ncarries a `name`, a `prompt` file path, a required `effort`, and optional `model`\u002F`settings`\n(a session-only `claude --settings` override, e.g. opting the lane into the\n`autonomy` plugin's lane-stop gate), `stage` (the stage skill, for the execution target) and\n`telemetry` (the lane's telemetry binding), and `schedule` (`every_minutes`, for\n`print-schedule`; \"Scheduled runs\" in the config contract covers `run-once` and the entries). The full\nschema, resolution rules, and the prompt-storage seam live in\n[context\u002Fconfig.md](context\u002Fconfig.md). Read it before authoring a config.\n\n**`lanes\u002F` is this skill's reserved concern home.** The config and the lane prompt\nfiles live inside `\u003Crepo>\u002F.work\u002Flanes\u002F`, a reserved first-level name under the\nmemory root, not as bare files at the root itself. Lanes **hardcodes the literal\n`.work` root**: it does not resolve a repointed memory root, and a\nconsumer that has repointed it elsewhere must pass `--config` or set\n`$HARNESS_OPS_LANES_CONFIG`. That is a stated carve-out, not an oversight. The\nlauncher is an operator script invoked outside a session (an OS schedule, a bare\nshell), where no skill body is loaded to resolve the setting for it, and the\nescape hatch is what covers the remaining case.\n\n**Compatibility with the pre-move layout.** A checkout whose config is still the\nbare `\u003Crepo>\u002F.work\u002Flanes.json` keeps working: when the `lanes\u002F` home holds no\nconfig, the launcher reads the old path and prints a one-line deprecation\nwarning naming the move. Only the **default** falls back, so `--config` and\n`$HARNESS_OPS_LANES_CONFIG` keep meaning exactly what they say. A config resolved\nat the old path also keeps the old `prompt_dir` default (`.work`), so prompts\nthat never moved still resolve. Move both into `.work\u002Flanes\u002F` to clear the\nwarning; the fallback is temporary.\n\n**Prompt storage is sanctioned, not durable.** Prompt files live in `prompt_dir`,\ndefault `.work\u002Flanes`. That is a sanctioned placement, and it is still\n**session-local**: the memory root does not travel between machines, so a fresh\nmachine has no prompts until they are authored there or `prompt_dir` points at a\ncommitted directory. The launcher resolves the prompt dir in exactly one place\n(`resolve_prompt_dir` in the script), so repointing it is a one-line change.\n\n## Mid-session staleness & restart cadence\n\nA **running** lane keeps the skill versions it loaded at launch: a fix merged to a\nplugin the lane runs does **not** reach that lane mid-session. This is not a missing\nfeature to build around. We treat it as Claude Code behavior; the record with\nits three citations is [context\u002Frefresh.md](context\u002Frefresh.md), \"Empirical\nanswer: no true mid-session hot-reload for a running loop lane\". Restart is the honest\nrefresh mechanism, the same `restart` that clears context bloat. Detect an\nunconsumed self-fix with a read-only git probe against the repo's default branch,\nthen restart that lane at its next cycle boundary. The probe reads the launch\ncommit `lane-launcher.sh` records per lane at `start`\u002F`restart`\n(`${CLAUDE_PLUGIN_DATA}\u002Flanes\u002F\u003Crepo-key>\u002F\u003Clane>-launch-commit`; the data\ndirectory is plugin-wide, so `\u003Crepo-key>`, a digest of the repo's canonical\npath, keeps a conventional `work` lane in two different checkouts from sharing\none marker). No manual fill-in needed.\nFull reasoning, the probe, and the cadence live in\n[context\u002Frefresh.md](context\u002Frefresh.md). Read it before answering \"why is my\nmerged fix not live in the lane?\" or setting a restart frequency.\n\n**Carry this line into that probe**. It is the `data_dir` assignment\n`context\u002Frefresh.md` deliberately leaves unresolved, because only skill content\n(this file) substitutes the placeholder:\n\n```bash\ndata_dir=\"${CLAUDE_PLUGIN_DATA}\"\n```\n\nCopy it as it renders **here**, already substituted to an absolute path. Writing\nthe placeholder, or a `${CLAUDE_PLUGIN_DATA:-…}` env fallback, inside\n`context\u002Frefresh.md` would not work: that file is read raw, and we never rely on\nthe Bash tool's environment for `CLAUDE_PLUGIN_DATA` (the record for that\ndecision is the `--data-dir` note above). The probe would then\nread the unqualified `~\u002F.claude\u002Fplugins\u002Fdata\u002Fharness-ops` guess, find no marker,\nand skip the staleness check silently.\n\n## Verified CLI surface\n\nThe launcher shells out only to primitives this machine's `claude` reports.\nVerified 2026-09-06 against Claude Code 2.1.263, by reading `claude --help`,\n`claude agents --help`, and `claude plugin marketplace --help`; `--permission-mode\nauto` re-verified 2026-09-27 against Claude Code 2.1.283, by running `claude --bg\n-n \u003Ctest-name> --permission-mode auto \"\u003Cprompt>\"` and confirming `auto` is a\nlisted `--permission-mode` choice. Its accepted values are read live from the\n`--permission-mode` row of\n[CLI reference: CLI flags](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcli-reference#cli-flags)\n(as of 2026-11-10). Recheck when the CLI's major or\nminor version moves, or a release note names background sessions, the\n`agents` command, `plugin marketplace`, or `--permission-mode`. The primitives:\n`claude --bg -n \u003Cname> --permission-mode auto [--permission-prompts none]\n[--model M] [--effort E] [--settings JSON] \"\u003Cprompt>\"` (launch a named\nbackground session, return immediately; `--permission-mode auto` is what makes\nan unattended lane run past its first permission prompt instead of stalling\nunder a machine's Manual default; `--permission-prompts none` is added when\n`claude --version` is at least 2.1.259, and older CLIs reject it, so it is\nomitted there (see the Record below); `--settings`\naccepts inline JSON and applies session-only, per the CLI reference),\n`claude -p` with the same flags in place of `--bg -n \u003Cname>` (`run-once`: one\nprint-mode pass that returns when it ends),\n`claude agents --json` (list active sessions: pid, cwd, kind, startedAt,\nsessionId, name, status),\n`claude stop \u003CsessionId>` (stop one session; conversation kept, resumable with\n`claude attach`), and `claude plugin marketplace update`. There is no\n`claude agents stop` verb. Stop resolves the sessionId from `agents --json` and\nonly for a configured lane name.\n\n**Record.** Claim: an unattended lane launches with `--permission-mode auto`, and\nwith `--permission-prompts none` when `claude --version` is at least 2.1.259.\nThe flag is documented for print mode and unattended runs; whether a `--bg` lane\nhonors it, and so denies a prompt that would have asked a person, is not probed.\nBasis:\n\u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fheadless#turn-off-permission-prompts-in-unattended-runs>\nand the `--permission-prompts` row of\n\u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcli-reference> (the row says print mode). A\nprobe on Claude Code 2.1.282 showed only that `--bg` accepts the flag together\nwith `--permission-mode auto` and backgrounds a session, which was then stopped.\nAs of: 2026-09-28. Recheck: the CLI flag row stops listing `none`, a `--bg`\nlaunch rejects the flag, a release note changes what `none` denies, or a probe of\na `--bg` lane whose prompt would ask (`AskUserQuestion` or a `permissions.ask`\nrule) records what the lane does.\n\n## Spoke paths\n\nThe `context\u002F` files write this skill's directory as `\u003Cskill-dir>`, which is `${CLAUDE_SKILL_DIR}`.\nPut that path in place of the placeholder before running a command or writing it into a brief. Those\nfiles arrive through the Read tool as plain bytes, so a `${…}` token in them would reach the Bash\ntool unsubstituted, and the Bash tool's environment has no `CLAUDE_SKILL_DIR` to expand it from.\nBasis: the plugins reference,\n\u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmanifest-reference#where-each-variable-resolves>.\n\n## Gotchas\n\n- **No durable prompt home.** `.work\u002Flanes` is a sanctioned home, not a durable one:\n  the memory root is session-local, so a fresh machine or session has no prompts\n  until they are authored there, or `prompt_dir` is pointed at a committed directory.\n- **Do not resume a lane with `claude --resume \u003Csession-id> --bg`.** Restart\n  stops the running session and launches a fresh `--bg` seed. A resume under\n  `--bg` continues that session's own id when nothing else is running it, and\n  announces a copy when something is. A lane's contract is the canonical prompt\n  file, not the previous transcript.\n  - **Claim:** decline `claude --resume \u003Csession-id> --bg` as a lane restart.\n  - **Basis:** \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fchangelog> Claude Code 2.1.257,\n    the `--resume` plus `--bg` item (continues under its own id, and a copy is\n    announced), and the lanes launcher, which always passes a fresh prompt.\n- **Name is the identity.** Lanes are matched by session `name` **and** `kind:\n  background`: every lane is launched with `--bg`, so an interactive window sharing\n  a lane name is never matched or stopped. Two lanes must not share a name; a\n  hand-started *background* session sharing a lane name would still be treated as\n  that lane, so keep lane names distinct from ad-hoc background session names.\n- **`start` is idempotent-ish, `restart` is not.** `start` skips a lane already\n  running; `restart` always stops-and-relaunches (discarding the running lane's\n  in-flight conversation). Use `start` for \"bring up whatever is down\".\n- **A missing\u002Fempty prompt file skips that lane** (with an error) rather than\n  launching an empty session. `status` flags `[prompt MISSING]`.\n- **The launch-commit marker is per-machine and best-effort.** It lives under\n  `${CLAUDE_PLUGIN_DATA}` (a per-machine dir, not synced), so a lane restarted\n  on a different machine has no marker there yet. A write failure only warns:\n  it never fails an already-launched (or already-stopped-and-relaunched) lane,\n  so a missing marker means \"never started here via `lane-launcher.sh`\", not\n  \"launcher broken\". A (re)start that *cannot* record its commit also deletes\n  any marker the previous launch left, so \"missing\" always beats a stale commit\n  the probe would otherwise trust.\n- **A lane name must be a single path component.** It is the marker's filename,\n  so config preflight exits `3` on a name containing `\u002F` or `\\`, or equal to `.`\n  or `..`. Otherwise two distinct lanes could share one marker.\n\n## Per-cycle deterministic scripts\n\nTwo lane-cycle mechanics need no reasoning, so they are scripted here and a lane\nprompt references the script instead of re-deriving the work every cycle. Both\nfollow `lane-launcher.sh`'s conventions (jq CRLF wrapper, the `--help` header as\nthe full contract, explicit exit codes). The header is the source of truth for\neach, the summary below is a pointer, not a copy.\n\n- **`scripts\u002Fmachine-behavior.sh`**. Emits the lane's MACHINE-BEHAVIOR block (gh\n  identity, clone path, worktree inventory, installed plugin versions) as a\n  verbatim-printable text block. Pure environment inspection: it emits only\n  mechanically unambiguous facts and deliberately does NOT compute \"deviations\n  from standing rules\". That stays a model judgment made by reading these facts\n  against the prose rules. Plugin versions are the INSTALLED runtime versions,\n  which per [context\u002Frefresh.md](context\u002Frefresh.md) can lag repo HEAD mid-session\n  (the honest number for a running lane). `--plugin \u003Cid>` (repeatable) scopes the\n  block to the plugins a lane runs.\n\n- **`scripts\u002Ftelemetry-upsert.sh`**. Maintains exactly ONE marker-identified\n  telemetry comment on a tracking issue, editing it in place instead of posting a\n  second. Given `--issue N --marker STR --body-file PATH`, it writes a\n  machine-detectable sentinel as the comment's first line, finds that sentinel\n  across all comments and PATCHes it, adopting or creating a comment when none\n  carries it. Pass `--app-slug '${user_config.lane_app_slug}'` on every call, so\n  under a GitHub App installation token the adoption fallback reads comments\n  written by `SLUG[bot]`; the script reads an empty or unrendered value as no\n  slug. A body file must sit in this plugin's data dir, `${CLAUDE_PLUGIN_DATA}`,\n  passed as `--body-dir`; any other dir, `\u002F` or the home dir is refused, and a\n  body generated in memory goes on stdin as `--body-file -`. Every body is leak\n  scanned and withheld on a hit. With no resolvable\n  write identity it writes nothing and exits 4. The marker grammar, the `\u003Clane>@\u003Cinstance>` writer-identity rule,\n  the body-file containment and size limits, the pre-write and read-back checks,\n  and every exit code are in the script's `--help` header. Two rules the caller\n  must follow: pass the body as file contents or on stdin (see \"Never pass a body\n  as an `@path` string\" below), and lead the body with a telemetry key such as\n  `lane:` rather than a GitHub @mention, because a body whose first line begins\n  with `@` is rejected.\n\n### Never pass a body as an `@path` string\n\n**Applies to every telemetry or comment write a lane makes**. Through\n`telemetry-upsert.sh` or through the `gh api` upsert a lane inlines, since an\ninstalled plugin cannot invoke a sibling plugin's script.\n\nPass the body as file contents (`--body-file PATH`) or pipe it (`--body-file -`).\n**Never interpolate an `@path` string into a body value**: we treat\n`gh issue comment --body @path` and `gh api -f body=@path` as sending the literal text\n`@path`. Read a body from a file with `gh issue comment --body-file` or\n`gh api -F`\u002F`--field key=@path`; which flags read a file is read live from the\n[gh api](https:\u002F\u002Fcli.github.com\u002Fmanual\u002Fgh_api) and\n[gh issue comment](https:\u002F\u002Fcli.github.com\u002Fmanual\u002Fgh_issue_comment) manual pages.\n\nThe failure is invisible from the outside: the comment's timestamp still\nmoves, so any check keying on `updatedAt` reads the lane as **fresh** while it\ncarries no data. (The reader `\u002Fwork-items:morning-brief` is not that check: it parses `lane:` and `last-cycle:` out of the body, so a degraded comment makes\nthe lane vanish from its report rather than look healthy. What a degraded body\ndeceives is any consumer that keys on the comment's timestamp instead of reading\nits body.)\n\n`telemetry-upsert.sh` refuses such a body before it writes anything and re-reads\nwhat landed afterward. An inlined upsert encodes three checks itself: a\npre-write gate (empty, leading `@`, not sentinel-prefixed, or under a 16-byte\npayload floor measured below the sentinel line → skip the cycle, no API call), a\ncheck of the write's own exit status (a failed write leaves the previous cycle's\nbody in place, which a read-back running regardless would accept), and a\npost-write read-back of what the write stored. What an inline block does NOT\nreplicate: the 64 KiB cap, the body-file containment checks, retries, and this\nscript's distinct non-zero exit codes, an inline branch always exits 0 and\nreports through stderr. It also inherits this script's own limits: a PATCH that\nsucceeds while storing the previous body still verifies, and the read-back proves\n*some* well-formed telemetry is present, not *this* cycle's.\n\n## Cross-references\n\n- [context\u002Frefresh.md](context\u002Frefresh.md). Read it when a fix has merged to a plugin a\n  lane is running on and you must decide whether to restart that lane: the git staleness\n  probe and the restart cadence.\n- `\u002Fharness-ops:plugins`, the authoritative, richer plugin-fleet sync (scope\n  divergence, new-catalog installs). This skill's marketplace refresh is the light\n  `claude plugin marketplace update` step of a launch, not a substitute.\n- `\u002Fwork-items:morning-brief`. Reads the loop-lane **telemetry** (per-lane\n  last-cycle freshness). This skill starts\u002Fstops the lanes that emit it.\n","**Arguments.** `[start|restart|status|stop|run-once|print-schedule|consume-restarts] [lane...]`. Full form: [start|restart|status|stop|run-once|print-schedule|consume-restarts] [lane...]. Start (default); restart\u002Fstop accept lane names; run-once takes exactly one; print-schedule takes --write-script and lane names; consume-restarts takes [check|run|print-schedule]; --config, --repo, --target-repo, --dry-run, --no-pull, --no-update\n\n## Repository context. Gather first\n\nCollect these with **individual** Bash calls, one command per call, never combined into a single\ninvocation:\n\n- Repo root, `git rev-parse --show-toplevel`\n\nTreat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as\nseparate body Bash calls rather than pre-compute lines ([gather-block convention](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fconventions\u002Fgather-block\u002FREADME.md#the-pre-compute-block-runs-as-one-shell-invocation),\n\"The pre-compute block runs as one shell invocation\").\n\n## Pre-computed context\n\nclaude CLI version, then jq: !`claude --version 2>\u002Fdev\u002Fnull || echo \"claude CLI MISSING (required)\"; command -v jq >\u002Fdev\u002Fnull 2>&1 && echo \"jq present\" || echo \"jq MISSING (required)\"`\nLane config: !`bash \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flanes\u002Fscripts\u002Fprobe-lane-config.sh\" 2>\u002Fdev\u002Fnull || echo \"unknown\"`\n\n## Variables\n\nArguments: `$ARGUMENTS`\n\n## Purpose\n\nRunning N loop lanes on a machine means a daily ritual: for each lane, cancel its\nloop, clear, and re-paste its canonical prompt. This skill collapses that to one\ncommand. `start`\u002F`restart` pull the repo and refresh the plugin marketplace once,\nthen launch each configured lane as a **named background session** seeded from the\nlane's canonical prompt file, mirroring that lane's model\u002Feffort onto the launch.\n`status`\u002F`stop` read and manage those sessions through the CLI's own\nbackground-session surface.\n\n**Owns only its own lanes.** `stop`\u002F`restart` act on a session **only** when its\nname is a lane in the resolved config, a hand-started session (e.g. an interactive\n`work` window, or an unrelated `PR Babysit`) is never stopped by this skill.\n\n## A relaunch is the only context reset a loop lane gets\n\nWe treat `\u002Floop` as re-running its prompt in the **same** session, so a lane's\ncontext carries forward across every cycle, subagent return, and operator turn, and\nthe loop never starts a fresh one. We treat a running loop as **unable** to reset\nits own context on demand: the model cannot `\u002Fclear` itself from a loop re-run.\n\n- **Pointer**: when stating how `\u002Floop` re-runs a prompt or what a built-in command\n  issued from a loop does, fetch\n  [scheduled tasks: run a prompt repeatedly with \u002Floop](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fscheduled-tasks#run-a-prompt-repeatedly-with-%2Floop)\n  live.\n\nAny \"restart the loop when context passes ~N%\" discipline has no in-session enforcement.\nWhere the context-usage module loads, it writes the session's context snapshot in `-p` and\n`--bg` sessions too, so a lane can read its own zone from that snapshot; zone lines reach the\nmodel only with context-usage's `model_notices` option on, which is off by default. A lane still\ncannot reset its own context from inside the loop.\n\nThe context change that *does* happen automatically in-session is Claude Code's\n**auto-compaction**: when the conversation nears the model's input limit, older\nhistory is summarized in place to free space. That is not a reset, the session\ncontinues on a lossy summary of what came before, not a fresh context, so a lane that\nruns long enough will lose earlier context to compaction well before any operator\nrelaunch, not keep every turn until then.\n\n`restart` (stop the session, relaunch from the canonical prompt) is the only\n*fresh-session* reset: the relaunched lane starts a **fresh** session seeded from the\nprompt file, carrying none of the prior conversation. That reset is **operator- or\nlauncher-initiated**, not automatic. `consume-restarts run` relaunches a stopped lane whose\ntelemetry carries a `restart_request` (written on a cycle-budget or `\u002Floop` expiry hit), once the\noperator registers its OS schedule; nothing relaunches a lane on a context threshold or after a\ncrash. Auto-compaction can still fire between restarts, but it only summarizes; it does not clear\nthe accumulated, increasingly degraded context. For a lane that never asks, treat the periodic\n`restart` (e.g. the morning refresh) as the mechanism that keeps long-running lanes off a stale,\nrepeatedly-compacted context, and do not let a lane prompt assume each `\u002Floop` cycle\nbegins with fresh context.\n\n## Run it\n\nIf the first token of `$ARGUMENTS` is `consume-restarts`, skip to\n[Consume restart-requests](#consume-restart-requests) instead. It runs a\ndifferent script. Otherwise:\n\n```bash\nbash \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flanes\u002Fscripts\u002Flane-launcher.sh\" --data-dir \"${CLAUDE_PLUGIN_DATA}\" $ARGUMENTS\n```\n\nPrint the script's output verbatim. It is the deliverable. Preview any mutating\nrun first with `--dry-run` (prints the exact `claude`\u002F`git` commands, seeds\nnothing, kills nothing).\n\n**`--data-dir` is passed explicitly, not left to the script's own\n`$CLAUDE_PLUGIN_DATA` env-var fallback.** We rely on the skill body's inline\n`${CLAUDE_PLUGIN_DATA}` substitution and never on the Bash tool's environment, so\nleaving `--data-dir` off here would silently fall through to\n`lane-launcher.sh`'s own `~\u002F.claude\u002Fplugins\u002Fdata\u002Fharness-ops` guess instead of\nthe marketplace-qualified directory Claude Code actually resolves. `$ARGUMENTS`\ncomes after `--data-dir`, so an explicit `--data-dir` the caller passes in\n`$ARGUMENTS` still wins (last flag wins in `lane-launcher.sh`'s parser).\n\nThis is the record for the export decision; the two restatements below\npoint here, and `context\u002Frefresh.md` points at the docs section directly.\n\n- **Pointer**: when stating which processes receive the plugin path variables, fetch\n  [plugins manifest reference: where each variable resolves](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmanifest-reference#where-each-variable-resolves)\n  live.\n\n## Action Router\n\nParse `$ARGUMENTS` for the action (first token); remaining tokens are lane names\n(targets for `restart`\u002F`stop`; an unknown name is rejected).\n\n| Action | Mutates | Description |\n|---|---|---|\n| `start` (default) | Yes | Pull + marketplace update, then launch every configured lane **not already running** on the host its execution target names; a `mods:` line per lane ([Mods state](#mods-state)) |\n| `restart [lane...]` | Yes | Pull + marketplace update, then stop-and-relaunch each target lane (all, or named) on the host its execution target names; a `mods:` line per lane |\n| `status` | No | Per-lane table: model, effort, running\u002Fstopped, and the live sessionId; a `mods:` line per lane |\n| `stop [lane...]` | Yes | Stop each running target lane (all, or named) via `claude stop \u003CsessionId>` |\n| `run-once \u003Clane>` | Yes | One headless `claude -p` pass of the lane on the local host its execution target names, under a per-lane lock; the entry a scheduler calls |\n| `print-schedule [--write-script] [lane...]` | `--write-script` only | Print Task Scheduler and cron entries for lanes with a `schedule`; `--write-script` writes the per-lane script each entry calls |\n| `consume-restarts [check\\|run\\|print-schedule]` | `run` only | Read each lane's telemetry `restart_request`; relaunch stopped lanes that asked |\n\nOptions: `--config FILE`, `--repo DIR`, `--no-pull`, `--no-update`, `--dry-run`,\n`--agents-json FILE` (read the session list from a file instead of the live CLI, offline\u002Fscripted reuse), `--data-dir DIR` (base dir for the per-lane\nlaunch-commit marker; default an inherited `$CLAUDE_PLUGIN_DATA` only when it names harness-ops),\n`--telemetry-json FILE` (test aid: read lane telemetry comments from a local file instead of `gh`, with a stderr warning). Exit codes: `0` ok · `3`\nbad argument\u002Fconfig · `4` prerequisite missing or repo\u002Fconfig unresolved.\n\n**Execution target.** `start` and `restart` fetch origin's default branch and read the consumer's\n`docs\u002Fconventions\u002Fexecution-target.yaml` from that commit, printing the SHA, then place each lane:\n`local-worktree` (default, today's launch), `local-background` (`claude --bg` from the lane's linked\nworktree), `cloud-session` (`claude --cloud` with the stage-start probe, only under the cloud launch\nrule; a lane whose stage may read untrusted input, which today is every local-lane stage and any lane\nwithout a `stage`, is skipped with an error naming `\u002Fwork-items:attend-queue` instead), or `cloud-routine`\u002F`cloud-project` (setup steps printed, nothing launched). A lane's optional\n`stage` (`\u003Cplugin>:\u003Cskill>`) selects its `skill.\u003Cplugin>.\u003Cskill>` key. What the launcher does per\nvalue is in [context\u002Fconfig.md](context\u002Fconfig.md), \"Execution target\"; the contract is the\nexecution-target convention, `docs\u002Fcontracts\u002Fexecution-target\u002F` in the marketplace repository.\n\n## Mods state\n\ncontext-usage and rate-limits run as mods. When mods cannot load, a lane gets only\ntheir reactive settings hooks, with no zone lines and no blocking gate, and nothing inside\nthe lane says so. So `start`, `restart` and `status` print a `mods:` line under each lane:\n\n- `off (\u003Ccause>)`: a cause the launcher can see. It sees the CLI version against the mods\n  floor, `disableAllHooks` in the lane's own `settings`, and what `claude plugin test`\n  reports when run from the repo against an empty directory: the settings scopes the lane\n  reads, an organization's policy, and the rollout switch.\n- `unknown (\u003Cwhy>)`: the launcher cannot tell, for example with no CLI, an unrecognized\n  message, a rollout value an earlier session saved, or a probe that did not answer in\n  time. The probe runs once, before the first lane launches, under a timeout. It covers\n  the repo checkout on this machine, so a lane whose execution target is anything but\n  `local-worktree` reads unknown. `status` takes the target from the policy at the local\n  `origin\u002FHEAD`, without fetching.\n- `can load`: nothing the launcher sees stops mods. Causes that only the lane's session\n  sees stay unchecked, so this never means the lane's mods are on.\n\nThe line reports and never changes the exit code. In `status` it describes what a launch\nwould get now, not what a running lane got when it launched. Check a running lane from\ninside it by looking for `mcp__context-usage__status` in its tool list, or with\n`\u002Frate-limits:setup`.\n\nThe causes, and which of them `claude plugin test` reports, belong to upstream; this skill\nkeeps no list of them:\n\n- **Pointer**: [Turn mods on or off](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmods\u002Foverview#turn-mods-on-or-off)\n  (version floor and settings),\n  [Check whether mods can load](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmods\u002Ftroubleshoot#check-whether-mods-can-load)\n  (the `claude plugin test` messages, and the policy it does not report), and\n  [Stop user-installed mods from loading](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmods\u002Fadmin#stop-user-installed-mods-from-loading).\n\n## Consume restart-requests\n\nA lane that hits its cycle budget or the `\u002Floop` expiry\n([scheduled tasks: seven-day expiry](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fscheduled-tasks#seven-day-expiry)) writes a\n`restart_request` into its telemetry state block and stops. It cannot relaunch\nitself. The consumer is the reader that closes that gap, meant to run unattended\non an **OS-owned schedule** (its `print-schedule` action emits the registration\ncommands; registering them is an operator action). For `consume-restarts`, run:\n\n```bash\nbash \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flanes\u002Fscripts\u002Frestart-consumer.sh\" --data-dir \"${CLAUDE_PLUGIN_DATA}\" --app-slug '${user_config.lane_app_slug}' $ARGUMENTS\n```\n\nThe script strips the leading `consume-restarts` token itself; the next token is\nits sub-action. `check` (read-only report, the default), `run` (relaunch), or\n`print-schedule` (emit the registration commands), and later tokens its options.\nPrint the output verbatim. Only telemetry comments written by the lanes' own\naccount count; when the lanes write under a GitHub App token, the `lane_app_slug`\noption supplies `--app-slug` above (an `--app-slug` in the arguments wins, since\nthe later flag does). Left unset, the empty or unrendered value reads as no\nslug. Relaunches delegate to `lane-launcher.sh restart`, so\neach lane's prompt, model, effort, and settings come from the same config this\nskill already uses. **The consumer's polling tick is not lane pacing**: lanes\nstay self-paced via `ScheduleWakeup`, and a tick where no configured lane has a\nnon-null `restart_request` is a no-op that only refreshes the consumer's own\nfreshness telemetry. Design rationale, the relaunch predicate, operator\nregistration with Verify\u002FReversal lines, and the labeled UNVERIFIED items live\nin [context\u002Frestart-consumer.md](context\u002Frestart-consumer.md). Read it before\nregistering the schedule or changing the consumer.\n\n## Lane config\n\nLanes are defined in a JSON config, resolved first-hit-wins:\n`--config FILE` → `$HARNESS_OPS_LANES_CONFIG` → `\u003Crepo>\u002F.work\u002Flanes\u002Flanes.json`. Each lane\ncarries a `name`, a `prompt` file path, a required `effort`, and optional `model`\u002F`settings`\n(a session-only `claude --settings` override, e.g. opting the lane into the\n`autonomy` plugin's lane-stop gate), `stage` (the stage skill, for the execution target) and\n`telemetry` (the lane's telemetry binding), and `schedule` (`every_minutes`, for\n`print-schedule`; \"Scheduled runs\" in the config contract covers `run-once` and the entries). The full\nschema, resolution rules, and the prompt-storage seam live in\n[context\u002Fconfig.md](context\u002Fconfig.md). Read it before authoring a config.\n\n**`lanes\u002F` is this skill's reserved concern home.** The config and the lane prompt\nfiles live inside `\u003Crepo>\u002F.work\u002Flanes\u002F`, a reserved first-level name under the\nmemory root, not as bare files at the root itself. Lanes **hardcodes the literal\n`.work` root**: it does not resolve a repointed memory root, and a\nconsumer that has repointed it elsewhere must pass `--config` or set\n`$HARNESS_OPS_LANES_CONFIG`. That is a stated carve-out, not an oversight. The\nlauncher is an operator script invoked outside a session (an OS schedule, a bare\nshell), where no skill body is loaded to resolve the setting for it, and the\nescape hatch is what covers the remaining case.\n\n**Compatibility with the pre-move layout.** A checkout whose config is still the\nbare `\u003Crepo>\u002F.work\u002Flanes.json` keeps working: when the `lanes\u002F` home holds no\nconfig, the launcher reads the old path and prints a one-line deprecation\nwarning naming the move. Only the **default** falls back, so `--config` and\n`$HARNESS_OPS_LANES_CONFIG` keep meaning exactly what they say. A config resolved\nat the old path also keeps the old `prompt_dir` default (`.work`), so prompts\nthat never moved still resolve. Move both into `.work\u002Flanes\u002F` to clear the\nwarning; the fallback is temporary.\n\n**Prompt storage is sanctioned, not durable.** Prompt files live in `prompt_dir`,\ndefault `.work\u002Flanes`. That is a sanctioned placement, and it is still\n**session-local**: the memory root does not travel between machines, so a fresh\nmachine has no prompts until they are authored there or `prompt_dir` points at a\ncommitted directory. The launcher resolves the prompt dir in exactly one place\n(`resolve_prompt_dir` in the script), so repointing it is a one-line change.\n\n## Mid-session staleness & restart cadence\n\nA **running** lane keeps the skill versions it loaded at launch: a fix merged to a\nplugin the lane runs does **not** reach that lane mid-session. This is not a missing\nfeature to build around. We treat it as Claude Code behavior; the record with\nits three citations is [context\u002Frefresh.md](context\u002Frefresh.md), \"Empirical\nanswer: no true mid-session hot-reload for a running loop lane\". Restart is the honest\nrefresh mechanism, the same `restart` that clears context bloat. Detect an\nunconsumed self-fix with a read-only git probe against the repo's default branch,\nthen restart that lane at its next cycle boundary. The probe reads the launch\ncommit `lane-launcher.sh` records per lane at `start`\u002F`restart`\n(`${CLAUDE_PLUGIN_DATA}\u002Flanes\u002F\u003Crepo-key>\u002F\u003Clane>-launch-commit`; the data\ndirectory is plugin-wide, so `\u003Crepo-key>`, a digest of the repo's canonical\npath, keeps a conventional `work` lane in two different checkouts from sharing\none marker). No manual fill-in needed.\nFull reasoning, the probe, and the cadence live in\n[context\u002Frefresh.md](context\u002Frefresh.md). Read it before answering \"why is my\nmerged fix not live in the lane?\" or setting a restart frequency.\n\n**Carry this line into that probe**. It is the `data_dir` assignment\n`context\u002Frefresh.md` deliberately leaves unresolved, because only skill content\n(this file) substitutes the placeholder:\n\n```bash\ndata_dir=\"${CLAUDE_PLUGIN_DATA}\"\n```\n\nCopy it as it renders **here**, already substituted to an absolute path. Writing\nthe placeholder, or a `${CLAUDE_PLUGIN_DATA:-…}` env fallback, inside\n`context\u002Frefresh.md` would not work: that file is read raw, and we never rely on\nthe Bash tool's environment for `CLAUDE_PLUGIN_DATA` (the record for that\ndecision is the `--data-dir` note above). The probe would then\nread the unqualified `~\u002F.claude\u002Fplugins\u002Fdata\u002Fharness-ops` guess, find no marker,\nand skip the staleness check silently.\n\n## Verified CLI surface\n\nThe launcher shells out only to primitives this machine's `claude` reports.\nVerified 2026-09-06 against Claude Code 2.1.263, by reading `claude --help`,\n`claude agents --help`, and `claude plugin marketplace --help`; `--permission-mode\nauto` re-verified 2026-09-27 against Claude Code 2.1.283, by running `claude --bg\n-n \u003Ctest-name> --permission-mode auto \"\u003Cprompt>\"` and confirming `auto` is a\nlisted `--permission-mode` choice. Its accepted values are read live from the\n`--permission-mode` row of\n[CLI reference: CLI flags](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcli-reference#cli-flags)\n(as of 2026-11-10). Recheck when the CLI's major or\nminor version moves, or a release note names background sessions, the\n`agents` command, `plugin marketplace`, or `--permission-mode`. The primitives:\n`claude --bg -n \u003Cname> --permission-mode auto [--permission-prompts none]\n[--model M] [--effort E] [--settings JSON] \"\u003Cprompt>\"` (launch a named\nbackground session, return immediately; `--permission-mode auto` is what makes\nan unattended lane run past its first permission prompt instead of stalling\nunder a machine's Manual default; `--permission-prompts none` is added when\n`claude --version` is at least 2.1.259, and older CLIs reject it, so it is\nomitted there (see the Record below); `--settings`\naccepts inline JSON and applies session-only, per the CLI reference),\n`claude -p` with the same flags in place of `--bg -n \u003Cname>` (`run-once`: one\nprint-mode pass that returns when it ends),\n`claude agents --json` (list active sessions: pid, cwd, kind, startedAt,\nsessionId, name, status),\n`claude stop \u003CsessionId>` (stop one session; conversation kept, resumable with\n`claude attach`), and `claude plugin marketplace update`. There is no\n`claude agents stop` verb. Stop resolves the sessionId from `agents --json` and\nonly for a configured lane name.\n\n**Record.** Claim: an unattended lane launches with `--permission-mode auto`, and\nwith `--permission-prompts none` when `claude --version` is at least 2.1.259.\nThe flag is documented for print mode and unattended runs; whether a `--bg` lane\nhonors it, and so denies a prompt that would have asked a person, is not probed.\nBasis:\n\u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fheadless#turn-off-permission-prompts-in-unattended-runs>\nand the `--permission-prompts` row of\n\u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcli-reference> (the row says print mode). A\nprobe on Claude Code 2.1.282 showed only that `--bg` accepts the flag together\nwith `--permission-mode auto` and backgrounds a session, which was then stopped.\nAs of: 2026-09-28. Recheck: the CLI flag row stops listing `none`, a `--bg`\nlaunch rejects the flag, a release note changes what `none` denies, or a probe of\na `--bg` lane whose prompt would ask (`AskUserQuestion` or a `permissions.ask`\nrule) records what the lane does.\n\n## Spoke paths\n\nThe `context\u002F` files write this skill's directory as `\u003Cskill-dir>`, which is `${CLAUDE_SKILL_DIR}`.\nPut that path in place of the placeholder before running a command or writing it into a brief. Those\nfiles arrive through the Read tool as plain bytes, so a `${…}` token in them would reach the Bash\ntool unsubstituted, and the Bash tool's environment has no `CLAUDE_SKILL_DIR` to expand it from.\nBasis: the plugins reference,\n\u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmanifest-reference#where-each-variable-resolves>.\n\n## Gotchas\n\n- **No durable prompt home.** `.work\u002Flanes` is a sanctioned home, not a durable one:\n  the memory root is session-local, so a fresh machine or session has no prompts\n  until they are authored there, or `prompt_dir` is pointed at a committed directory.\n- **Do not resume a lane with `claude --resume \u003Csession-id> --bg`.** Restart\n  stops the running session and launches a fresh `--bg` seed. A resume under\n  `--bg` continues that session's own id when nothing else is running it, and\n  announces a copy when something is. A lane's contract is the canonical prompt\n  file, not the previous transcript.\n  - **Claim:** decline `claude --resume \u003Csession-id> --bg` as a lane restart.\n  - **Basis:** \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fchangelog> Claude Code 2.1.257,\n    the `--resume` plus `--bg` item (continues under its own id, and a copy is\n    announced), and the lanes launcher, which always passes a fresh prompt.\n- **Name is the identity.** Lanes are matched by session `name` **and** `kind:\n  background`: every lane is launched with `--bg`, so an interactive window sharing\n  a lane name is never matched or stopped. Two lanes must not share a name; a\n  hand-started *background* session sharing a lane name would still be treated as\n  that lane, so keep lane names distinct from ad-hoc background session names.\n- **`start` is idempotent-ish, `restart` is not.** `start` skips a lane already\n  running; `restart` always stops-and-relaunches (discarding the running lane's\n  in-flight conversation). Use `start` for \"bring up whatever is down\".\n- **A missing\u002Fempty prompt file skips that lane** (with an error) rather than\n  launching an empty session. `status` flags `[prompt MISSING]`.\n- **The launch-commit marker is per-machine and best-effort.** It lives under\n  `${CLAUDE_PLUGIN_DATA}` (a per-machine dir, not synced), so a lane restarted\n  on a different machine has no marker there yet. A write failure only warns:\n  it never fails an already-launched (or already-stopped-and-relaunched) lane,\n  so a missing marker means \"never started here via `lane-launcher.sh`\", not\n  \"launcher broken\". A (re)start that *cannot* record its commit also deletes\n  any marker the previous launch left, so \"missing\" always beats a stale commit\n  the probe would otherwise trust.\n- **A lane name must be a single path component.** It is the marker's filename,\n  so config preflight exits `3` on a name containing `\u002F` or `\\`, or equal to `.`\n  or `..`. Otherwise two distinct lanes could share one marker.\n\n## Per-cycle deterministic scripts\n\nTwo lane-cycle mechanics need no reasoning, so they are scripted here and a lane\nprompt references the script instead of re-deriving the work every cycle. Both\nfollow `lane-launcher.sh`'s conventions (jq CRLF wrapper, the `--help` header as\nthe full contract, explicit exit codes). The header is the source of truth for\neach, the summary below is a pointer, not a copy.\n\n- **`scripts\u002Fmachine-behavior.sh`**. Emits the lane's MACHINE-BEHAVIOR block (gh\n  identity, clone path, worktree inventory, installed plugin versions) as a\n  verbatim-printable text block. Pure environment inspection: it emits only\n  mechanically unambiguous facts and deliberately does NOT compute \"deviations\n  from standing rules\". That stays a model judgment made by reading these facts\n  against the prose rules. Plugin versions are the INSTALLED runtime versions,\n  which per [context\u002Frefresh.md](context\u002Frefresh.md) can lag repo HEAD mid-session\n  (the honest number for a running lane). `--plugin \u003Cid>` (repeatable) scopes the\n  block to the plugins a lane runs.\n\n- **`scripts\u002Ftelemetry-upsert.sh`**. Maintains exactly ONE marker-identified\n  telemetry comment on a tracking issue, editing it in place instead of posting a\n  second. Given `--issue N --marker STR --body-file PATH`, it writes a\n  machine-detectable sentinel as the comment's first line, finds that sentinel\n  across all comments and PATCHes it, adopting or creating a comment when none\n  carries it. Pass `--app-slug '${user_config.lane_app_slug}'` on every call, so\n  under a GitHub App installation token the adoption fallback reads comments\n  written by `SLUG[bot]`; the script reads an empty or unrendered value as no\n  slug. A body file must sit in this plugin's data dir, `${CLAUDE_PLUGIN_DATA}`,\n  passed as `--body-dir`; any other dir, `\u002F` or the home dir is refused, and a\n  body generated in memory goes on stdin as `--body-file -`. Every body is leak\n  scanned and withheld on a hit. With no resolvable\n  write identity it writes nothing and exits 4. The marker grammar, the `\u003Clane>@\u003Cinstance>` writer-identity rule,\n  the body-file containment and size limits, the pre-write and read-back checks,\n  and every exit code are in the script's `--help` header. Two rules the caller\n  must follow: pass the body as file contents or on stdin (see \"Never pass a body\n  as an `@path` string\" below), and lead the body with a telemetry key such as\n  `lane:` rather than a GitHub @mention, because a body whose first line begins\n  with `@` is rejected.\n\n### Never pass a body as an `@path` string\n\n**Applies to every telemetry or comment write a lane makes**. Through\n`telemetry-upsert.sh` or through the `gh api` upsert a lane inlines, since an\ninstalled plugin cannot invoke a sibling plugin's script.\n\nPass the body as file contents (`--body-file PATH`) or pipe it (`--body-file -`).\n**Never interpolate an `@path` string into a body value**: we treat\n`gh issue comment --body @path` and `gh api -f body=@path` as sending the literal text\n`@path`. Read a body from a file with `gh issue comment --body-file` or\n`gh api -F`\u002F`--field key=@path`; which flags read a file is read live from the\n[gh api](https:\u002F\u002Fcli.github.com\u002Fmanual\u002Fgh_api) and\n[gh issue comment](https:\u002F\u002Fcli.github.com\u002Fmanual\u002Fgh_issue_comment) manual pages.\n\nThe failure is invisible from the outside: the comment's timestamp still\nmoves, so any check keying on `updatedAt` reads the lane as **fresh** while it\ncarries no data. (The reader `\u002Fwork-items:morning-brief` is not that check: it parses `lane:` and `last-cycle:` out of the body, so a degraded comment makes\nthe lane vanish from its report rather than look healthy. What a degraded body\ndeceives is any consumer that keys on the comment's timestamp instead of reading\nits body.)\n\n`telemetry-upsert.sh` refuses such a body before it writes anything and re-reads\nwhat landed afterward. An inlined upsert encodes three checks itself: a\npre-write gate (empty, leading `@`, not sentinel-prefixed, or under a 16-byte\npayload floor measured below the sentinel line → skip the cycle, no API call), a\ncheck of the write's own exit status (a failed write leaves the previous cycle's\nbody in place, which a read-back running regardless would accept), and a\npost-write read-back of what the write stored. What an inline block does NOT\nreplicate: the 64 KiB cap, the body-file containment checks, retries, and this\nscript's distinct non-zero exit codes, an inline branch always exits 0 and\nreports through stderr. It also inherits this script's own limits: a PATCH that\nsucceeds while storing the previous body still verifies, and the read-back proves\n*some* well-formed telemetry is present, not *this* cycle's.\n\n## Cross-references\n\n- [context\u002Frefresh.md](context\u002Frefresh.md). Read it when a fix has merged to a plugin a\n  lane is running on and you must decide whether to restart that lane: the git staleness\n  probe and the restart cadence.\n- `\u002Fharness-ops:plugins`, the authoritative, richer plugin-fleet sync (scope\n  divergence, new-catalog installs). This skill's marketplace refresh is the light\n  `claude plugin marketplace update` step of a launch, not a substitute.\n- `\u002Fwork-items:morning-brief`. Reads the loop-lane **telemetry** (per-lane\n  last-cycle freshness). This skill starts\u002Fstops the lanes that emit it.\n",{"shell":24,"metadata":25,"description":7,"argument-hint":29,"user-invocable":30,"disable-model-invocation":30},"bash",{"cadence":26,"summary":27,"workflow-stage":28},"daily","Start, restart, stop, and check loop lanes as named background sessions","operator","[start|restart|status|stop|run-once|print-schedule|consume-restarts] [lane...]",true,"main","5aff8ba54896bc54fd0eb46e4a954099449cf67d","plugins\u002Fharness-ops\u002Fskills\u002Flanes",7,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins","https:\u002F\u002Fgithub.com\u002Fmelodic-software","https:\u002F\u002Fmelodicsoftware.com","Independent software studio building developer tools, automation, and application services, with roots in music.","2026-11-15 05:15:06",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":30},[42,45,48],{"tool":43,"command":44},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill lanes",{"tool":46,"command":47},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill lanes",{"tool":49,"command":50},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill lanes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002FSKILL.md",[53,59,63,67,71,77,81,85,89,93,97,101,105,109,113,117,121],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"context\u002Fconfig.md","REFERENCE","参考文档",16999,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fcontext\u002Fconfig.md",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"context\u002Frefresh.md",9280,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fcontext\u002Frefresh.md",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"context\u002Frestart-consumer.md",16953,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fcontext\u002Frestart-consumer.md",{"path":68,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":69,"sourceHtmlUrl":70},"evals\u002Fevals.json",10963,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fevals\u002Fevals.json",{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"scripts\u002Flane-launcher.sh","SCRIPT","脚本",103343,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Flane-launcher.sh",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Flane-launcher.test.sh",122938,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Flane-launcher.test.sh",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Flib\u002Fparse-concern-value.sh",5082,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Flib\u002Fparse-concern-value.sh",{"path":86,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":87,"sourceHtmlUrl":88},"scripts\u002Flib\u002Ftelemetry-body-gate.sh",9441,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Flib\u002Ftelemetry-body-gate.sh",{"path":90,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Flib\u002Fyaml-subset.awk",9901,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Flib\u002Fyaml-subset.awk",{"path":94,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":95,"sourceHtmlUrl":96},"scripts\u002Fmachine-behavior.sh",10548,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Fmachine-behavior.sh",{"path":98,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":99,"sourceHtmlUrl":100},"scripts\u002Fmachine-behavior.test.sh",10369,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Fmachine-behavior.test.sh",{"path":102,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":103,"sourceHtmlUrl":104},"scripts\u002Fprobe-lane-config.sh",3263,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Fprobe-lane-config.sh",{"path":106,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Fprobe-lane-config.test.sh",10203,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Fprobe-lane-config.test.sh",{"path":110,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Frestart-consumer.sh",65299,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Frestart-consumer.sh",{"path":114,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":115,"sourceHtmlUrl":116},"scripts\u002Frestart-consumer.test.sh",61570,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Frestart-consumer.test.sh",{"path":118,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":119,"sourceHtmlUrl":120},"scripts\u002Ftelemetry-upsert.sh",28534,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Ftelemetry-upsert.sh",{"path":122,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":123,"sourceHtmlUrl":124},"scripts\u002Ftelemetry-upsert.test.sh",47456,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-ops\u002Fskills\u002Flanes\u002Fscripts\u002Ftelemetry-upsert.test.sh",[126,133,140,147,152,159],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M7DYYDG31B9YX7N9MB9QW2GW","track","Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsession-flow\u002Fevals\u002Frecall-still-reports-reopened-bug\u002Fwork-items-stub\u002Fskills\u002Ftrack\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":19},"01M7DYXVBAVG3NV30PA7GKW9Q6","reviewer-media","Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from \u002Freview:explain-change's digest, has \u002Fexplainer-video:produce render it and hands the manifest to \u002Fsource-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Freviewer-media\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":19},"01M7DYRZ5YD44AMYH26YR25GZ8","route","Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-pin-without-override\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":148,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":19},"01M7DYRTVT4FWTGDJY0HCCFJMZ","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-override-from-route\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":19},"01M7DYNZC8PNW3T27V2ADKECKJ","principles","Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is \u002Farchitecture:improve.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fskills\u002Fprinciples\u002FSKILL.md",[],[],{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":19},"01M7DYNMCZNEWBFHV9KTSS6H60","write","Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fevals\u002Fdeepening-defect-goes-to-bugs-write\u002Fbugs-stub\u002Fskills\u002Fwrite\u002FSKILL.md",[],[]]