[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EQYZAFBV6M4KYK6M3MWV2A":3,"skill-same:01M7EQYZAFBV6M4KYK6M3MWV2A":109},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":46},"01M7EQYZAFBV6M4KYK6M3MWV2A","home",null,"Make this thread the home for the repo it runs in - read where things stand, plan work with the user, and hand each task to a crewmate thread. A home runs until it is archived with \u002Fhandoff. Use when the user invokes \u002Fhome or $home, opens a new thread to continue work in a repo, or asks to pick up where the last thread left off.","JoshuaHayesWasHere\u002Fjstack","JoshuaHayesWasHere","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78288453?v=4","01M7EQPZP0GDYN3SYY9SZZHFJE","Joshua Hayes","01M7EQPZPQKJDZR99NG512A8X2",1,"MIT","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: home\ndescription: Make this thread the home for the repo it runs in - read where things stand, plan work with the user, and hand each task to a crewmate thread. A home runs until it is archived with \u002Fhandoff. Use when the user invokes \u002Fhome or $home, opens a new thread to continue work in a repo, or asks to pick up where the last thread left off.\nuser-invocable: true\ndisable-model-invocation: true\ncard: \"Run the pipeline | 1 | Makes this thread the repo's home. It reads what jbus holds, plans with the operator, writes each brief and launches its crewmate. It does none of the work. | Reach for it when you start or continue work in a repo. | op: the operator; cmd: the start hook\"\n---\n\n# home\n\nThere are no subagents doing the work.\nEach task is one ordinary thread, and its pull request gets one review, by a reviewer in a new thread that the crewmate launches (`pr-review`).\nA pushed fix gets one scoped review, and that is the last: nothing loops.\nThe repo's own checks and its CI decide whether the work is good.\n\n## Where a home's state lives\n\n```sh\nR=$(basename \"$(dirname \"$(git rev-parse --path-format=absolute --git-common-dir)\")\")\nH=~\u002F.local\u002Fstate\u002Fhome\u002F$R\nT=$(realpath ~\u002F.claude\u002Fskills\u002Fhome\u002F..\u002F..\u002Ftemplates)\nwhose() { if [ -z \"${1}\" ]; then echo \"$H\"; else uv run --project \"$T\u002F..\u002Fsource\" jbus home --directory \"${1}\"; fi; }\nwas_home() { for f in \"${1}\"\u002Flog\u002F*.md \"${1}\u002Fhandoff.md\"; do if [ -f \"$f\" ]; then sed -n 's\u002F^Was home:[[:space:]]*\\([^[:space:]]*\\).*\u002F\\1\u002Fp' \"$f\" | head -n 1; fi; done | tail -n 1; }\nif [ -n \"${ZSH_VERSION:-}\" ]; then emulate sh; fi\n```\n\nThat is **the block at the top**.\nEvery block below is sh, and its last line makes zsh read them so: without it zsh stops a call at a pattern that matches no file.\n`$R` is the repo's name, the same from the main checkout and from any worktree of it.\n`$H` is the repo's state directory, which every home of the repo shares.\n`whose` prints the directory of the home a brief or a request is, by the one rule `jmerge`, jbus and every thread ask (`jbus home`, \"Merging a pull request that is ready\"): a block below asks it whether one is this home's.\n`was_home` prints the id of the last thread that was the home of a directory, from the `Was home:` line of its last note: the one an older handoff left as `handoff.md`, or else the newest in its `log\u002F`.\n\n`$T` is the `templates\u002F` directory of the repo this skill lives in. Each template there is the one copy of its text: read it when a step names it, not before.\n\nA repo has one root home, and may have scoped homes beside it, each for one goal.\nA scope is a directory under `$H` that holds a `plan.md`, and never `asked`, `tasks`, `scouts`, `reports` or `log`.\n`$M` is this home's own directory: `$H` for the root home, `$H\u002F\u003Cscope>` for a scoped one.\n**The block that finds this home** sets it, from the one `home-id` that holds this thread's id:\n\n```sh\nME='\u003CthreadId>'\nM=\ncase $ME in\n'') M=$H ;;\n*'\u003C'* | *'>'*) ;;\n*)\n    for f in \"$H\"\u002Fhome-id \"$H\"\u002F*\u002Fhome-id; do\n        if [ -f \"$f\" ] && [ \"$(awk 'NF {print $(1); exit}' \"$f\")\" = \"$ME\" ]; then\n            M=$(dirname \"$f\")\n            break\n        fi\n    done ;;\nesac\nif [ -z \"$M\" ]; then\n    echo \"no home: thread $ME is no home of $R now, its id is in no home-id under $H. Nothing is written.\"\n    exit 1\nfi\n```\n\nRun it after the block at the top, in the same call as each block below that names `$M`, with this thread's id in place of `\u003CthreadId>`: the id step 3 of \"When a home starts\" put on disk.\nIn a session with no tool that gives the id, put nothing in its place: that home is the root's.\nOn `no home:` the call stops there.\nThis thread was archived, or another home took its place: write nothing, and tell the user.\nA message that reaches such a thread is not its to act on, whoever sent it: run the block under \"After the handoff\" in `$T\u002F..\u002Fskills\u002Fhandoff\u002FSKILL.md` and do what it prints.\n\n| File | Holds | Size |\n|---|---|---|\n| `$M\u002Fhandoff.md` | The note a home left when a handoff still started the next home, where one is left. A start reads it, and the archive moves it to `log\u002F`. | Ten lines, and its gates |\n| `$M\u002Fplan.md` | The work this home has planned: one entry per task, each with a \"Done when\" list. | Open tasks only |\n| `$M\u002Fblockers.json` | Each blocker this home briefed a fix of, with each fix queued for it, which `jbus queue add` counts against the retry cap and writes: never by hand (\"Clearing its own blockers\"). | One entry per blocker |\n| `$M\u002Fhome-id` | This home's thread id. A scout, a crewmate or a reviewer reads it each time it sends: a scoped home's for a brief or a request that names its scope, and the root home's only for one whose `Home:` line is `root` (or that has none) from before the root queued every row in a child. | One line |\n| `$H\u002Fhome-thread` | The sweep switch, and not this home's id: an id in it has the home run `jmerge --sweep` at its start (\"Who sweeps\"). It decides nothing of the merge. Set by hand only: no skill and no script writes it. | Empty, or one line |\n| `$M\u002Fread-seen` | The Result and Report headings step 4 of a start has shown this home, one a line, so each is shown once. | One line per heading |\n| `$M\u002Ftold` | Each decision and stop a turn's end told the user, one a line, so each is told once, and each `local` one is shown on status until a `cleared local` line ends it (\"How a turn ends\"). | One line per decision or stop |\n| `$M\u002Fmerge-seen` | The last line of `$H\u002Fmerge.log` this home has read, so that each `merged` line of jbus's is relayed once (\"Merging a pull request that is ready\"). | One line |\n| `$M\u002Flog\u002F` | The note of each home archived here, dated, with what it had out and its `Was home:` line, and older notes. A start reads only the last `Was home:` line (\"The home before this one\"). | Unbounded |\n| `$M\u002Fplan-archived.md` | An archived scope's plan, moved out of `plan.md` so that no home, jbus or tree counts the scope. `\u002Fhome \u003Cscope>` moves it back. | Open tasks only |\n| `$H\u002Ffresh-check` | The repo's check command, which CI's check is the check of record for (a crewmate runs it once, but in a repo whose check selects its tests only its touched check, `PART=touched`), and the line `jbus queue add` holds a brief's check line to. | One line |\n| `$M\u002Fprefix` | A scoped home's slug prefix, such as `ux-`: each of its briefs and requests starts with it, and no other home's does. Written once, when the root home makes the scope. | One line |\n| `$H\u002Fstanding.md` | None. A standing rule of the user's, or a fact a thread would otherwise relearn, is code, a config key, the text of the skill step that needs it, or a queued row, and never a line in a file a thread reads at its start: not here, and not in Claude Code's auto-memory. `jbus rules` lists each such file, and jbus wakes the root home for each until it is gone. | Absent |\n| `$H\u002Ftasks\u002F\u003Cslug>.md` | A crewmate's brief, and its result, whichever home wrote it. | One page |\n| `$H\u002Fscouts\u002F\u003Cslug>.md` | A scout's request, and its report, whichever home wrote it. | One page |\n| `$H\u002Freports\u002F` | The visuals a scout or a home makes for the user. | Unbounded |\n| `$H\u002Fmerge.log` | Every line `jmerge` printed, dated: what it merged, each with the command that opens its revert, what waits and is held, and what it swept. | Unbounded |\n| `$H\u002Fmerge-off` | Present when the automatic merge is switched off for the repo: `jmerge` merges nothing here. `\u002Fnohome merge` makes it and `\u002Fnohome merge on` removes it. | Empty |\n\n## Carry on\n\nProceed on reversible work without asking: do it, and write down what you did and why.\nOnly the cases of `$T\u002Fgates.md` are never done on a default: deleting data (`deletes data`), a force-push to a shared branch (`rewrites history`), spending money (`spends money`), a deploy and a message to a customer or to anyone outside (`touches prod or real users`), changing access or secrets (`changes access or secrets`), and publishing a release or a package (`publishes`).\nThis home runs no such command itself: the door goes in a row whose brief has `Holds: \u003Cthe case>`, and the user's own go in T3 Code opens it for that row's crew (\"Gates\").\nWhat the user's global instructions or the repo's own instructions tell a thread to confirm first is a gate too: one of the cases of `$T\u002Fgates.md` holds as above, and any other acts at once on the default that it is not done.\nWhen in doubt, act and write down what you did.\nWhere no rule or script decides, weigh the work by jstack's vision and the user's judgment in `features\u002Fhome\u002Fdocs\u002Fvision.md`.\n\nFor a home, reversible work is the plan, the briefs, the launches and the merge of what is ready. A question only the user can answer does not hold any of it up: \"Gates\". Planning with the user is not such a question: what the work is for comes from them.\n\n## How a turn ends\n\nA turn ends with no message to the user unless it asks a decision that is theirs or reports a stop nothing else can clear.\nA turn the user started with a question (status, why, where, what) answers it in full, and is the one turn this section does not end.\nA number in a reply names its window and the command or file it came from, and \"today\" starts at the user's local midnight, as in the view's \"Merged today\".\nA claim that a rule, a fix or a setting is in force or not is read that turn in the repo, the queue or the plan's Decisions, or said as \"not checked\".\nA reply names a row, a report or a rule in words the user has seen, and gives a term its context or leaves it out, in `\u002Fketchup`'s voice.\nA Result whose change shows in a UI is told as fixed only after this home read each png it names, and a shot that still shows the fault is told as not fixed, whatever its probe printed (Josh, 2026-10-31: \"verify with screenshots first next time\").\nA visual opens with one line of what it shows and its shape, in the user's words of the ask, such as \"six flow diagrams, top down\".\nBefore it shows a visual, this home looks at its render, the preview's picture, and redraws one that shows other than that line.\nA reply with a visual ends with its file's path.\nEvery other turn ends here, one the user started with an instruction (\"launch it\") too.\n\nWrite each thing the turn did as one line, its kind first:\n\n- `decision \u003Ckey>: \u003Cthe question and the default taken>`: the user has to decide it.\n- `stop \u003Ckey>: \u003Cwhat stopped and why>`: the work cannot go on, and nothing but the user can clear it.\n- `merged:`, `launched:`, `handled:`, `parked:` or `waits:`, then what it was: these are told on status only.\n- `cleared local \u003Cslug>: \u003Chow it ended>`: a `local` decision or stop this home told has ended.\n\nThe key names a decision or a stop so the same one has the same key on every turn:\n\n- `question \u003Cn>`: a question jbus holds, by its number (`jbus gate`, \"Show the open ones\").\n- `jbus`: an event jbus's wake carried, and the rest of the line is its line as jbus sent it, word for word.\n- `local \u003Cslug>`: one jbus does not hold, by the slug it is about: a gate jbus could not take, or a stop this home found, such as a launch this session has no tool for.\n\nA `decision` is only what the user alone can decide, so four things are never one.\nA command for the user to paste is none: offer to run it, as an option the user picks, and hand over only a step no agent can take, such as a sudo password, saying why.\nA finished or superseded row is none: once nothing of it is left to land, remove it with `jbus queue remove` on a message of the user's that covers it.\nA go the user already gave is none: record that message with `jbus word --from \"$ME\"` and approve the row on it, and never pass on jbus's `approve` line for work they approved.\nA waiver of a `Done when` line is the root's: a scoped home sends it with `jbus stop --kind decision` on its row, with its pick and evidence, and the root waives it with `jbus waive --as root` or flags the user (\"Judge a waiver\").\nA waiver the user is asked is asked once, naming each row by its slug and the numbers of its lines, as `alpha: lines 2 and 3`.\nTheir plain reply (\"yes\") is the waiver: bind it with `jbus waive \u003Cslug> \u003Cline number>... --message \u003Cthread id>\u002Flast` for each row, which checks the reply and the ask and writes the `Waived:` lines; never ask for exact words.\nA reply jbus refuses (not the user's own, said before the ask, or to an ask that did not name the row and its lines) is asked again in one plain sentence.\nA row this home would advise against is none: never pass on jbus's `approve` line for it.\nRemove it with `jbus queue remove \u003Cslug> --message \u003Cthread id>\u002F\u003Cmessage id>` on the user's standing word for such rows (Josh, 2026-11-07), its id from `jbus thread --said 'just drop it in the future'`.\nThen write `handled: dropped \u003Cslug>: \u003Cwhy>`, and say the same where you list what waits on the user.\nA blocker `jbus tidy blockers` prints as `decision` is jbus's own, and its wake brings it: write no line for it until then.\nA wait, a hold and a stalled thread are no stop while jbus or a thread is at work on them: jbus lists each on \"Needs you\".\nRows held by one reason that no thread works on for 30 minutes are a stop: jbus wakes their home once with the reason, the rows and the hold's age, and lists the hold on \"Needs you\" until it clears or a thread takes it up.\n\nRun this in one call with the block at the top and the block that finds this home, with the turn's lines in place of the line in angle brackets:\n\n```sh\nthe_turn() {\n    cat \u003C\u003C 'THE_TURN_ENDS_HERE'\n\u003Cwhat this turn did, one line each>\nTHE_TURN_ENDS_HERE\n}\nthe_turn | uv run --project \"$T\u002F..\u002Fsource\" jbus told \"${M:?run the block that finds this home first}\"\n```\n\nOn `silent`, end the turn and write nothing more: no recap, no acknowledgment, no line saying nothing changed.\nOn `say:`, tell the user each line after `say: `, in its order, and nothing else.\nOn `refused:`, nothing is marked told: mend the line it names and run the block again.\nA decision or a stop is told once, by its key, and `jbus told` keeps its line in `$M\u002Ftold`.\nA `question \u003Cn>` or `jbus` one is in jbus's list of what waits on the user from then on, and is shown again only when the user asks for status.\nA `local \u003Cslug>` one is in no list of jbus's, so status shows it from `$M\u002Ftold` (\"When a thread sends a message\") until it ends.\nWhen it ends (the gate is answered, the stack lands, the tool is there), write `cleared local \u003Cslug>: \u003Chow it ended>` as a line of that turn: it is quiet, it takes that slug's lines out of `$M\u002Ftold`, and the same stop coming back later is told again.\n\n## When a home starts\n\nAt every home's start, whether the user typed `\u002Fhome` or the session-start hook started it, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fwhen-a-home-starts.md` now.\n\nWhen `\u002Fhome` is typed in a thread that runs in no git repo, as T3 Code's \"No project\" at `~\u002F.t3\u002Fscratch`, it is a scratch home: read `$T\u002F..\u002Fskills\u002Fhome\u002Fa-scratch-home.md` now, in place of the file above and the rest of this skill.\n\nA project that `jbus project close` closed (its name under `closed` in `jbus status`) has no home to start until `jbus project open \u003Cname>`: tell the user so, and start nothing.\n\n## Planning\n\nPlanning is a conversation with the user. Its result goes in `plan.md`, not in this thread's memory.\n\nWhen the shape of the work is not settled (more than one task, or a design choice the user has not made), plan by the grilling skill: read `$T\u002F..\u002Fskills\u002Fgrilling\u002FSKILL.md` and work its rounds before writing an entry. A single task the user has already described in full needs no round.\n\n- One entry per task. A task is one pull request's worth of work. If it is larger, split it before anything starts.\n  `jbus queue add` warns of a brief whose **Done when** list has 5 or more items (``warning: \u003Cslug>'s brief's Done when: lists \u003Cn> items``), since such a brief took a second review round about twice as often as one of 1 or 2.\n  On it, split the row: one brief per pull request's worth, the rest on a brief with a `Follows: \u003Cslug>` line or queued with `--depends`.\n  Never join two items into one line to get under 5: that keeps the size and hides it.\n- Every entry has a **Done when** list: checks a person or a command can run. It is the stopping rule. Without one, do not start.\n- A UI change's **Done when** asks for a check a command runs, a test or a live read of the data the UI draws, at the real Safari viewport (iPhone landscape about 844x300, portrait about 390x664, which Categories' `~\u002Fcategories-playtest\u002Flib.mjs` exports as `SAFARI`), and for a probe that fails on main, the old code, before it passes on the branch.\n  A shot is evidence in the Result, never a **Done when** line: `jbus queue add` refuses a **Done when** item that asks for a screenshot, a shot or a recording as proof.\n- Record a decision the user makes in the entry it belongs to, in their words, above its `Done when:` list.\n  A line added inside that list, or a changed heading, voids the entry's go and every row under it waits for the user again: after a plan edit, `jbus plan` says `go void` for such an entry.\n- Write no status in an entry, and change none by hand. An entry has a `Stage:` line, which says where the planning is: `proposed`, `planned`, `parked` or `scouting`. Once a brief of the entry is queued, its status is counted from its queue rows by `jbus plan`, and the `Stage:` line is not read.\n- No row is queued outside an entry: a task that fits no open entry gets an entry of its own first, one heading and its `Done when:` list.\n- Queue each brief of an entry with `jbus queue add --entry \u003Centry>`, in a repo `jbus plan` answers for and in no other, where the brief's slug is not the entry's own: an entry is often several briefs, and the column is how a row is counted for its entry.\n  `jbus queue add --from` refuses a new row that names no open entry of its home's plan, unless its brief has a `Follows:` line, and queues nothing: write the entry, or give the right `--entry`, and add it again.\n  The root home queues by its own skill's \"Queueing a row in a child\", which adds `--for \u003Cchild>`.\n- An entry gets one go, before it has a row, and no row of it is asked a go of its own.\n  The root home gives it, on the user's standing word for goes, or asks the user where only they can give it (its skill, \"Give an entry its go\").\n  A scoped home asks the root for it with `jbus stop --kind go --entry \u003Centry>` (\"Escalating to the root\" in `scoped-homes.md`), for each entry that waits for a go, in the turn it plans the entry.\n  It holds no ask back until other work lands: such a wait goes on the entry's `Builds on:` line, which jbus reads, and an ask held in prose is one no pass knows of.\n  A go the user gives a home in its own thread is recorded in the turn they give it, before anything else in that turn: one `jbus plan go \u003Centry> --message \u003Cthread>\u002Flast` for each entry their message names, every entry of a batch go included, with `--scope \u003Cscope>` in a scoped home.\n  A go cites only the message that gave it: an entry that message does not name waits for the user's next word, or the root's go on a standing word, and is never recorded later on that message.\n  Once the go holds, the home briefs the entry and queues its first row, a scout's first if the entry needs design: until a row is queued, each jbus pass wakes the home with the entry and the time since the go (`owed \u003Centry>`).\n  Each later row of the entry is approved by that go as it is queued, and nobody is asked for it.\n  Under `go = \"silence\"` park each pick as a gate instead (\"The user's word, carried by jbus\" says how).\n\nAn entry has the shape of `$T\u002Fplan-entry.md`: read it before writing the first one.\n\nWhen `jbus plan` prints `finished: close it` for an entry, run `jbus plan close \u003Centry>` (a scoped home adds `--scope \u003Cscope>`). It moves the entry's section, as it is, from `plan.md` to `plan-done.md` beside it, and is refused while a row of the entry is not over. An entry leaves `plan.md` this way and no other: none is deleted by hand, and `plan-done.md` is never read at a start.\n\nA plan of several entries that the user approves in one go runs as a queue, by the playbook `autopilot-full` or `orchestrate`, and the home schedules nothing for it: jbus's pass merges, launches, and nudges a home that stays quiet with work out.\n\n## The home does not do the work\n\nA home plans, hands out, and keeps the record. Every task is done by a **crewmate**: a separate thread, in its own worktree, that the user can open, watch and steer. The home does not edit the repo, run its checks, or read a crewmate's diff.\n\nThe home does no research of its own: it reads only its state directory, `$H`. Not the code, not the docs, not a diff. What it needs to know from those, a scout finds out.\n\n## The root home\n\nThe root runs the whole pipeline for the user and builds nothing; a scoped home lands one goal in depth, owns its crews, and escalates to the root what it may not decide alone.\nWhen step 1 of \"When a home starts\" printed `root`, and on each turn of the root home after: read `$T\u002F..\u002Fskills\u002Froot\u002FSKILL.md` now.\nIt holds the root's goal and its steps, and the sections of this skill that it names are the ones the root shares with every home.\n\n## Sending a scout\n\nBefore writing a brief, when a task may need research first, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fsending-a-scout.md` now.\n\nA typed ask for several scouts at once, \"N scouts\" or \"swarm this\", is the user's approval to swarm: read `$T\u002F..\u002Fskills\u002Fswarm\u002FSKILL.md` and do what it says, since swarm never loads by itself.\n\n## A playbook of the home's own\n\nA row `the home` runs, in what the block in \"Handing a task to a crewmate\" that prints a row for each playbook prints, is steps for this thread: how to run a queue of tasks, not how to do one. Its name is kept on a `Playbook:` line in the head of `$M\u002Fplan.md`, above the first `## ` heading, so the next home works by it too. Open it when a home starts with that line in its plan, and when you take one up. Run this after the block at the top and the block that finds this home, with the playbook's name in place of `\u003Cname>`, or with nothing in its place to take the name the plan has:\n\n```sh\nname='\u003Cname>'\nuv run --project \"$T\u002F..\u002Fsource\" jbus playbook home \"$M\u002Fplan.md\" --name \"$name\"\n```\n\nIt prints nothing when the name is `none`, or when none is given and the plan's head has no `Playbook:` line: go on with no playbook.\nOn `no playbook`, do the same, and tell the user what it printed.\nOn `not the home's`, the file is for a crewmate or a scout: do the same again, and put its name on a brief or a request instead.\nWhen its first line is a path, read that file now.\nWork its numbered steps in order.\nReport a step you do not do as `skip: \u003Creason>`.\nA path the playbook names is from `$T\u002F..`, the repo this skill lives in, also when the work is in another repo.\nA line under the path, `asks of its brief:`, is a line to write in each brief the playbook has you hand out.\nThe playbook adds to this skill and does not replace it: where the two disagree, this skill wins, and you say so to the user.\n\n## Handing a task to a crewmate\n\nBefore a task goes to a crewmate, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fhanding-a-task-to-a-crewmate.md` now.\n\n## When a thread sends a message\n\nWhen a thread this home sent out sends it a message, when the user asks for status or runs `\u002Fketchup`, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fwhen-a-thread-sends-a-message.md` now.\n\n## Clearing its own blockers\n\nEach time this home wakes, at its start and on a thread's message, and when a step elsewhere names this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fclearing-its-own-blockers.md` now, and run its block.\n\n## What waits on the user\n\njbus holds the one list of what only the user can do, and `jbus needs` prints it: each open gate that holds, each row waiting on the user's word and each pull request `jmerge` holds for it, with what it holds and the reply that answers it.\nIt leaves out a refused go and a row this home can clear by itself, which are this home's to fix.\nA status reply, a `\u002Fketchup` in a home, and any turn a wake started that tells the user something, open with what this block prints, as it prints it, before anything else.\nThe list comes from jbus and never from this home's memory of what it asked.\nRun it in one call with the block at the top:\n\n```sh\nif command -v jbus > \u002Fdev\u002Fnull; then\n    uv run --project \"$T\u002F..\u002Fsource\" jbus needs\nelse\n    echo \"no jbus: jbus is not installed here, so what waits on the user is not known\"\nfi\n```\n\nIt names every project of jbus's config, since the user asks every home the same question.\nA line `nothing waits on \u003Cuser> in any project` opens the reply as it is, and a `not known:` line, which comes first, says which project no pass has listed yet.\nA start's `## waiting on you` part, from step 4 of \"When a home starts\", is the same list for this home's project, with a count for each other project.\n\n## Gates\n\nAt the start, on status, whenever a gate is asked, shown or closed, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fgates.md` now.\n\n**Move the ones a file still has** at the start, before the open ones are shown, when `$M\u002Fgates.md` exists: read `$T\u002F..\u002Fskills\u002Fhome\u002Fmove-the-ones-a-file-still-has.md` now, and run its block in the same call as the block that reads jbus. Its \"the end of this section\" is the end of \"Gates\".\n\n## The user's word, carried by jbus\n\nWhen a message says it is the user's word carried by jbus, when this home records the user's word or a plan entry's go, approves a row on a pick in a question box or on a standing rule, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fusers-word-carried-by-jbus.md` now.\n\n## Merging a pull request that is ready\n\nAt every home's start (step 5), on a `fixed and green` line, and whenever a pull request may be ready to merge: read `$T\u002F..\u002Fskills\u002Fhome\u002Fmerging-a-pull-request-that-is-ready.md` now.\n\n## Picking up a thread that stopped\n\nA thread that stopped with its task unfinished is picked up, not started over: a turn a T3 Code restart cancelled, one that failed at the plan's limit, one jbus's nudge names.\nIts worktree and its brief hold what it did, and `jbus thread \u003Cslug>` what it last said.\nThe playbook `session-pickup` has the steps: open it with the block of \"A playbook of the home's own\".\nIt ends in one of two calls.\n\n`jbus` tries once first, by the wait's age (`jbus.clock`).\nA pull request whose review is not written while its reviewer's thread is not at work gets that reviewer sent its line again; one that waits on its crew gets the crew one carry-on; a crew that ended with no Result has its two carry-ons.\nAfter the second miss `jbus` sends this home one line that names the slug, the pull request and the thread, and the user is not told: that line is the home's cue to pick the thread up as this section says.\n`jbus` interrupts no hung turn, so an interrupt, where one is needed, is the home's.\n\nA thread whose last turn failed on a usage limit, the text `You've hit your weekly limit · resets \u003Ctime>` or its 5-hour twin, is not carried on in place: its instance is capped until that reset, and the same message fails again.\n`jbus` moves it: its pass writes the cap to the ledger of the instance it ran on, moves the thread to the first instance of its role's pool with headroom, only its `instanceId` changed (`t3_thread_configure`), and sends one carry-on; where every instance is capped it logs one quiet `stall` and waits for the first reset.\nDo the same by hand only where no `jbus` runs: read the thread with `t3_thread_configure` and only its `threadId`, call it again with that selection and the next instance's `instanceId`, then send the carry-on below.\nNever send a plain carry-on to a thread that failed on a limit.\n\nA message first, when the thread can still take one: `t3_thread_send` to the id on the brief's `Thread:` line, one line, to carry on from its brief and its worktree and to redo nothing that is there.\n\nA new thread on the same worktree when it cannot: the send fails, the thread is archived or gone, or it was sent that message once and jbus's next nudge names it again.\nFind the worktree whose branch is the slug with `git worktree list --porcelain`, from the main checkout.\nWith none, there is nothing to pick up: launch from step 2 of \"Handing a task to a crewmate\".\nAdd one line to the brief, above its first `## ` heading, so the new thread knows it resumes: `Resume: \u003Cdate>, the thread before this one stopped. Its work is in this worktree and in the last Result below: redo nothing that is there, and carry on from \u003Cthe resume point>`.\nThe crew skill reads the brief at its start, and a brief is trusted.\nBefore the launch, run `uv run --project \"$T\u002F..\u002Fsource\" jroles crew` with the block at the top.\nA JSON object it prints is the `\u003Cmodel selection>`, with the instance of the pool it chose as its `instanceId`: launch with it as printed.\nWhen it prints nothing, or a line on stderr that says why the map gives no model, leave `modelSelection` out, and tell the user that line.\nWhen it exits 75 and prints no JSON, every instance of the role's pool is capped until the time on stderr: make no launch, and say that line.\nThen, on `go` from `room`, the `t3-code` server's `t3_thread_launch` (if your harness defers it, load it first), with the project and modes left out:\n\n```json\n{\n  \"title\": \"crew: \u003Cslug>\",\n  \"workspaceStrategy\": {\"type\": \"existing_worktree\", \"worktreePath\": \"\u003Cthat worktree>\", \"branch\": \"\u003Cslug>\"},\n  \"message\": \"\u002Fcrew \u003Cslug>\",\n  \"modelSelection\": \u003Cmodel selection>\n}\n```\n\nPut the new thread's id on the brief's `Thread:` line with the block of step 3 of \"Handing a task to a crewmate\", which takes the old line's place, and give the user the link. One writer per worktree: never launch on a worktree whose last thread is `running`.\n\n## Scoped homes\n\nWhen this is a scoped home, at its start, when it escalates to the root and when the root's reply reaches it; when this is the root home and a step of its skill names this section; or when the user asks for a home scoped to one goal: read `$T\u002F..\u002Fskills\u002Fhome\u002Fscoped-homes.md` now.\n\n## When to archive\n\nRead `$T\u002F..\u002Fskills\u002Fhandoff\u002FSKILL.md` and do its steps, then stop working in this thread, only when the user says so: they type `\u002Fhandoff`, choose Archive on the home in the jstack tree, or say to archive or close this home.\nA home is never archived for its context: a thread that grows long is compacted by its harness and goes on as the same home, since everything it needs is on disk and in jbus.\n","# home\n\nThere are no subagents doing the work.\nEach task is one ordinary thread, and its pull request gets one review, by a reviewer in a new thread that the crewmate launches (`pr-review`).\nA pushed fix gets one scoped review, and that is the last: nothing loops.\nThe repo's own checks and its CI decide whether the work is good.\n\n## Where a home's state lives\n\n```sh\nR=$(basename \"$(dirname \"$(git rev-parse --path-format=absolute --git-common-dir)\")\")\nH=~\u002F.local\u002Fstate\u002Fhome\u002F$R\nT=$(realpath ~\u002F.claude\u002Fskills\u002Fhome\u002F..\u002F..\u002Ftemplates)\nwhose() { if [ -z \"${1}\" ]; then echo \"$H\"; else uv run --project \"$T\u002F..\u002Fsource\" jbus home --directory \"${1}\"; fi; }\nwas_home() { for f in \"${1}\"\u002Flog\u002F*.md \"${1}\u002Fhandoff.md\"; do if [ -f \"$f\" ]; then sed -n 's\u002F^Was home:[[:space:]]*\\([^[:space:]]*\\).*\u002F\\1\u002Fp' \"$f\" | head -n 1; fi; done | tail -n 1; }\nif [ -n \"${ZSH_VERSION:-}\" ]; then emulate sh; fi\n```\n\nThat is **the block at the top**.\nEvery block below is sh, and its last line makes zsh read them so: without it zsh stops a call at a pattern that matches no file.\n`$R` is the repo's name, the same from the main checkout and from any worktree of it.\n`$H` is the repo's state directory, which every home of the repo shares.\n`whose` prints the directory of the home a brief or a request is, by the one rule `jmerge`, jbus and every thread ask (`jbus home`, \"Merging a pull request that is ready\"): a block below asks it whether one is this home's.\n`was_home` prints the id of the last thread that was the home of a directory, from the `Was home:` line of its last note: the one an older handoff left as `handoff.md`, or else the newest in its `log\u002F`.\n\n`$T` is the `templates\u002F` directory of the repo this skill lives in. Each template there is the one copy of its text: read it when a step names it, not before.\n\nA repo has one root home, and may have scoped homes beside it, each for one goal.\nA scope is a directory under `$H` that holds a `plan.md`, and never `asked`, `tasks`, `scouts`, `reports` or `log`.\n`$M` is this home's own directory: `$H` for the root home, `$H\u002F\u003Cscope>` for a scoped one.\n**The block that finds this home** sets it, from the one `home-id` that holds this thread's id:\n\n```sh\nME='\u003CthreadId>'\nM=\ncase $ME in\n'') M=$H ;;\n*'\u003C'* | *'>'*) ;;\n*)\n    for f in \"$H\"\u002Fhome-id \"$H\"\u002F*\u002Fhome-id; do\n        if [ -f \"$f\" ] && [ \"$(awk 'NF {print $(1); exit}' \"$f\")\" = \"$ME\" ]; then\n            M=$(dirname \"$f\")\n            break\n        fi\n    done ;;\nesac\nif [ -z \"$M\" ]; then\n    echo \"no home: thread $ME is no home of $R now, its id is in no home-id under $H. Nothing is written.\"\n    exit 1\nfi\n```\n\nRun it after the block at the top, in the same call as each block below that names `$M`, with this thread's id in place of `\u003CthreadId>`: the id step 3 of \"When a home starts\" put on disk.\nIn a session with no tool that gives the id, put nothing in its place: that home is the root's.\nOn `no home:` the call stops there.\nThis thread was archived, or another home took its place: write nothing, and tell the user.\nA message that reaches such a thread is not its to act on, whoever sent it: run the block under \"After the handoff\" in `$T\u002F..\u002Fskills\u002Fhandoff\u002FSKILL.md` and do what it prints.\n\n| File | Holds | Size |\n|---|---|---|\n| `$M\u002Fhandoff.md` | The note a home left when a handoff still started the next home, where one is left. A start reads it, and the archive moves it to `log\u002F`. | Ten lines, and its gates |\n| `$M\u002Fplan.md` | The work this home has planned: one entry per task, each with a \"Done when\" list. | Open tasks only |\n| `$M\u002Fblockers.json` | Each blocker this home briefed a fix of, with each fix queued for it, which `jbus queue add` counts against the retry cap and writes: never by hand (\"Clearing its own blockers\"). | One entry per blocker |\n| `$M\u002Fhome-id` | This home's thread id. A scout, a crewmate or a reviewer reads it each time it sends: a scoped home's for a brief or a request that names its scope, and the root home's only for one whose `Home:` line is `root` (or that has none) from before the root queued every row in a child. | One line |\n| `$H\u002Fhome-thread` | The sweep switch, and not this home's id: an id in it has the home run `jmerge --sweep` at its start (\"Who sweeps\"). It decides nothing of the merge. Set by hand only: no skill and no script writes it. | Empty, or one line |\n| `$M\u002Fread-seen` | The Result and Report headings step 4 of a start has shown this home, one a line, so each is shown once. | One line per heading |\n| `$M\u002Ftold` | Each decision and stop a turn's end told the user, one a line, so each is told once, and each `local` one is shown on status until a `cleared local` line ends it (\"How a turn ends\"). | One line per decision or stop |\n| `$M\u002Fmerge-seen` | The last line of `$H\u002Fmerge.log` this home has read, so that each `merged` line of jbus's is relayed once (\"Merging a pull request that is ready\"). | One line |\n| `$M\u002Flog\u002F` | The note of each home archived here, dated, with what it had out and its `Was home:` line, and older notes. A start reads only the last `Was home:` line (\"The home before this one\"). | Unbounded |\n| `$M\u002Fplan-archived.md` | An archived scope's plan, moved out of `plan.md` so that no home, jbus or tree counts the scope. `\u002Fhome \u003Cscope>` moves it back. | Open tasks only |\n| `$H\u002Ffresh-check` | The repo's check command, which CI's check is the check of record for (a crewmate runs it once, but in a repo whose check selects its tests only its touched check, `PART=touched`), and the line `jbus queue add` holds a brief's check line to. | One line |\n| `$M\u002Fprefix` | A scoped home's slug prefix, such as `ux-`: each of its briefs and requests starts with it, and no other home's does. Written once, when the root home makes the scope. | One line |\n| `$H\u002Fstanding.md` | None. A standing rule of the user's, or a fact a thread would otherwise relearn, is code, a config key, the text of the skill step that needs it, or a queued row, and never a line in a file a thread reads at its start: not here, and not in Claude Code's auto-memory. `jbus rules` lists each such file, and jbus wakes the root home for each until it is gone. | Absent |\n| `$H\u002Ftasks\u002F\u003Cslug>.md` | A crewmate's brief, and its result, whichever home wrote it. | One page |\n| `$H\u002Fscouts\u002F\u003Cslug>.md` | A scout's request, and its report, whichever home wrote it. | One page |\n| `$H\u002Freports\u002F` | The visuals a scout or a home makes for the user. | Unbounded |\n| `$H\u002Fmerge.log` | Every line `jmerge` printed, dated: what it merged, each with the command that opens its revert, what waits and is held, and what it swept. | Unbounded |\n| `$H\u002Fmerge-off` | Present when the automatic merge is switched off for the repo: `jmerge` merges nothing here. `\u002Fnohome merge` makes it and `\u002Fnohome merge on` removes it. | Empty |\n\n## Carry on\n\nProceed on reversible work without asking: do it, and write down what you did and why.\nOnly the cases of `$T\u002Fgates.md` are never done on a default: deleting data (`deletes data`), a force-push to a shared branch (`rewrites history`), spending money (`spends money`), a deploy and a message to a customer or to anyone outside (`touches prod or real users`), changing access or secrets (`changes access or secrets`), and publishing a release or a package (`publishes`).\nThis home runs no such command itself: the door goes in a row whose brief has `Holds: \u003Cthe case>`, and the user's own go in T3 Code opens it for that row's crew (\"Gates\").\nWhat the user's global instructions or the repo's own instructions tell a thread to confirm first is a gate too: one of the cases of `$T\u002Fgates.md` holds as above, and any other acts at once on the default that it is not done.\nWhen in doubt, act and write down what you did.\nWhere no rule or script decides, weigh the work by jstack's vision and the user's judgment in `features\u002Fhome\u002Fdocs\u002Fvision.md`.\n\nFor a home, reversible work is the plan, the briefs, the launches and the merge of what is ready. A question only the user can answer does not hold any of it up: \"Gates\". Planning with the user is not such a question: what the work is for comes from them.\n\n## How a turn ends\n\nA turn ends with no message to the user unless it asks a decision that is theirs or reports a stop nothing else can clear.\nA turn the user started with a question (status, why, where, what) answers it in full, and is the one turn this section does not end.\nA number in a reply names its window and the command or file it came from, and \"today\" starts at the user's local midnight, as in the view's \"Merged today\".\nA claim that a rule, a fix or a setting is in force or not is read that turn in the repo, the queue or the plan's Decisions, or said as \"not checked\".\nA reply names a row, a report or a rule in words the user has seen, and gives a term its context or leaves it out, in `\u002Fketchup`'s voice.\nA Result whose change shows in a UI is told as fixed only after this home read each png it names, and a shot that still shows the fault is told as not fixed, whatever its probe printed (Josh, 2026-10-31: \"verify with screenshots first next time\").\nA visual opens with one line of what it shows and its shape, in the user's words of the ask, such as \"six flow diagrams, top down\".\nBefore it shows a visual, this home looks at its render, the preview's picture, and redraws one that shows other than that line.\nA reply with a visual ends with its file's path.\nEvery other turn ends here, one the user started with an instruction (\"launch it\") too.\n\nWrite each thing the turn did as one line, its kind first:\n\n- `decision \u003Ckey>: \u003Cthe question and the default taken>`: the user has to decide it.\n- `stop \u003Ckey>: \u003Cwhat stopped and why>`: the work cannot go on, and nothing but the user can clear it.\n- `merged:`, `launched:`, `handled:`, `parked:` or `waits:`, then what it was: these are told on status only.\n- `cleared local \u003Cslug>: \u003Chow it ended>`: a `local` decision or stop this home told has ended.\n\nThe key names a decision or a stop so the same one has the same key on every turn:\n\n- `question \u003Cn>`: a question jbus holds, by its number (`jbus gate`, \"Show the open ones\").\n- `jbus`: an event jbus's wake carried, and the rest of the line is its line as jbus sent it, word for word.\n- `local \u003Cslug>`: one jbus does not hold, by the slug it is about: a gate jbus could not take, or a stop this home found, such as a launch this session has no tool for.\n\nA `decision` is only what the user alone can decide, so four things are never one.\nA command for the user to paste is none: offer to run it, as an option the user picks, and hand over only a step no agent can take, such as a sudo password, saying why.\nA finished or superseded row is none: once nothing of it is left to land, remove it with `jbus queue remove` on a message of the user's that covers it.\nA go the user already gave is none: record that message with `jbus word --from \"$ME\"` and approve the row on it, and never pass on jbus's `approve` line for work they approved.\nA waiver of a `Done when` line is the root's: a scoped home sends it with `jbus stop --kind decision` on its row, with its pick and evidence, and the root waives it with `jbus waive --as root` or flags the user (\"Judge a waiver\").\nA waiver the user is asked is asked once, naming each row by its slug and the numbers of its lines, as `alpha: lines 2 and 3`.\nTheir plain reply (\"yes\") is the waiver: bind it with `jbus waive \u003Cslug> \u003Cline number>... --message \u003Cthread id>\u002Flast` for each row, which checks the reply and the ask and writes the `Waived:` lines; never ask for exact words.\nA reply jbus refuses (not the user's own, said before the ask, or to an ask that did not name the row and its lines) is asked again in one plain sentence.\nA row this home would advise against is none: never pass on jbus's `approve` line for it.\nRemove it with `jbus queue remove \u003Cslug> --message \u003Cthread id>\u002F\u003Cmessage id>` on the user's standing word for such rows (Josh, 2026-11-07), its id from `jbus thread --said 'just drop it in the future'`.\nThen write `handled: dropped \u003Cslug>: \u003Cwhy>`, and say the same where you list what waits on the user.\nA blocker `jbus tidy blockers` prints as `decision` is jbus's own, and its wake brings it: write no line for it until then.\nA wait, a hold and a stalled thread are no stop while jbus or a thread is at work on them: jbus lists each on \"Needs you\".\nRows held by one reason that no thread works on for 30 minutes are a stop: jbus wakes their home once with the reason, the rows and the hold's age, and lists the hold on \"Needs you\" until it clears or a thread takes it up.\n\nRun this in one call with the block at the top and the block that finds this home, with the turn's lines in place of the line in angle brackets:\n\n```sh\nthe_turn() {\n    cat \u003C\u003C 'THE_TURN_ENDS_HERE'\n\u003Cwhat this turn did, one line each>\nTHE_TURN_ENDS_HERE\n}\nthe_turn | uv run --project \"$T\u002F..\u002Fsource\" jbus told \"${M:?run the block that finds this home first}\"\n```\n\nOn `silent`, end the turn and write nothing more: no recap, no acknowledgment, no line saying nothing changed.\nOn `say:`, tell the user each line after `say: `, in its order, and nothing else.\nOn `refused:`, nothing is marked told: mend the line it names and run the block again.\nA decision or a stop is told once, by its key, and `jbus told` keeps its line in `$M\u002Ftold`.\nA `question \u003Cn>` or `jbus` one is in jbus's list of what waits on the user from then on, and is shown again only when the user asks for status.\nA `local \u003Cslug>` one is in no list of jbus's, so status shows it from `$M\u002Ftold` (\"When a thread sends a message\") until it ends.\nWhen it ends (the gate is answered, the stack lands, the tool is there), write `cleared local \u003Cslug>: \u003Chow it ended>` as a line of that turn: it is quiet, it takes that slug's lines out of `$M\u002Ftold`, and the same stop coming back later is told again.\n\n## When a home starts\n\nAt every home's start, whether the user typed `\u002Fhome` or the session-start hook started it, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fwhen-a-home-starts.md` now.\n\nWhen `\u002Fhome` is typed in a thread that runs in no git repo, as T3 Code's \"No project\" at `~\u002F.t3\u002Fscratch`, it is a scratch home: read `$T\u002F..\u002Fskills\u002Fhome\u002Fa-scratch-home.md` now, in place of the file above and the rest of this skill.\n\nA project that `jbus project close` closed (its name under `closed` in `jbus status`) has no home to start until `jbus project open \u003Cname>`: tell the user so, and start nothing.\n\n## Planning\n\nPlanning is a conversation with the user. Its result goes in `plan.md`, not in this thread's memory.\n\nWhen the shape of the work is not settled (more than one task, or a design choice the user has not made), plan by the grilling skill: read `$T\u002F..\u002Fskills\u002Fgrilling\u002FSKILL.md` and work its rounds before writing an entry. A single task the user has already described in full needs no round.\n\n- One entry per task. A task is one pull request's worth of work. If it is larger, split it before anything starts.\n  `jbus queue add` warns of a brief whose **Done when** list has 5 or more items (``warning: \u003Cslug>'s brief's Done when: lists \u003Cn> items``), since such a brief took a second review round about twice as often as one of 1 or 2.\n  On it, split the row: one brief per pull request's worth, the rest on a brief with a `Follows: \u003Cslug>` line or queued with `--depends`.\n  Never join two items into one line to get under 5: that keeps the size and hides it.\n- Every entry has a **Done when** list: checks a person or a command can run. It is the stopping rule. Without one, do not start.\n- A UI change's **Done when** asks for a check a command runs, a test or a live read of the data the UI draws, at the real Safari viewport (iPhone landscape about 844x300, portrait about 390x664, which Categories' `~\u002Fcategories-playtest\u002Flib.mjs` exports as `SAFARI`), and for a probe that fails on main, the old code, before it passes on the branch.\n  A shot is evidence in the Result, never a **Done when** line: `jbus queue add` refuses a **Done when** item that asks for a screenshot, a shot or a recording as proof.\n- Record a decision the user makes in the entry it belongs to, in their words, above its `Done when:` list.\n  A line added inside that list, or a changed heading, voids the entry's go and every row under it waits for the user again: after a plan edit, `jbus plan` says `go void` for such an entry.\n- Write no status in an entry, and change none by hand. An entry has a `Stage:` line, which says where the planning is: `proposed`, `planned`, `parked` or `scouting`. Once a brief of the entry is queued, its status is counted from its queue rows by `jbus plan`, and the `Stage:` line is not read.\n- No row is queued outside an entry: a task that fits no open entry gets an entry of its own first, one heading and its `Done when:` list.\n- Queue each brief of an entry with `jbus queue add --entry \u003Centry>`, in a repo `jbus plan` answers for and in no other, where the brief's slug is not the entry's own: an entry is often several briefs, and the column is how a row is counted for its entry.\n  `jbus queue add --from` refuses a new row that names no open entry of its home's plan, unless its brief has a `Follows:` line, and queues nothing: write the entry, or give the right `--entry`, and add it again.\n  The root home queues by its own skill's \"Queueing a row in a child\", which adds `--for \u003Cchild>`.\n- An entry gets one go, before it has a row, and no row of it is asked a go of its own.\n  The root home gives it, on the user's standing word for goes, or asks the user where only they can give it (its skill, \"Give an entry its go\").\n  A scoped home asks the root for it with `jbus stop --kind go --entry \u003Centry>` (\"Escalating to the root\" in `scoped-homes.md`), for each entry that waits for a go, in the turn it plans the entry.\n  It holds no ask back until other work lands: such a wait goes on the entry's `Builds on:` line, which jbus reads, and an ask held in prose is one no pass knows of.\n  A go the user gives a home in its own thread is recorded in the turn they give it, before anything else in that turn: one `jbus plan go \u003Centry> --message \u003Cthread>\u002Flast` for each entry their message names, every entry of a batch go included, with `--scope \u003Cscope>` in a scoped home.\n  A go cites only the message that gave it: an entry that message does not name waits for the user's next word, or the root's go on a standing word, and is never recorded later on that message.\n  Once the go holds, the home briefs the entry and queues its first row, a scout's first if the entry needs design: until a row is queued, each jbus pass wakes the home with the entry and the time since the go (`owed \u003Centry>`).\n  Each later row of the entry is approved by that go as it is queued, and nobody is asked for it.\n  Under `go = \"silence\"` park each pick as a gate instead (\"The user's word, carried by jbus\" says how).\n\nAn entry has the shape of `$T\u002Fplan-entry.md`: read it before writing the first one.\n\nWhen `jbus plan` prints `finished: close it` for an entry, run `jbus plan close \u003Centry>` (a scoped home adds `--scope \u003Cscope>`). It moves the entry's section, as it is, from `plan.md` to `plan-done.md` beside it, and is refused while a row of the entry is not over. An entry leaves `plan.md` this way and no other: none is deleted by hand, and `plan-done.md` is never read at a start.\n\nA plan of several entries that the user approves in one go runs as a queue, by the playbook `autopilot-full` or `orchestrate`, and the home schedules nothing for it: jbus's pass merges, launches, and nudges a home that stays quiet with work out.\n\n## The home does not do the work\n\nA home plans, hands out, and keeps the record. Every task is done by a **crewmate**: a separate thread, in its own worktree, that the user can open, watch and steer. The home does not edit the repo, run its checks, or read a crewmate's diff.\n\nThe home does no research of its own: it reads only its state directory, `$H`. Not the code, not the docs, not a diff. What it needs to know from those, a scout finds out.\n\n## The root home\n\nThe root runs the whole pipeline for the user and builds nothing; a scoped home lands one goal in depth, owns its crews, and escalates to the root what it may not decide alone.\nWhen step 1 of \"When a home starts\" printed `root`, and on each turn of the root home after: read `$T\u002F..\u002Fskills\u002Froot\u002FSKILL.md` now.\nIt holds the root's goal and its steps, and the sections of this skill that it names are the ones the root shares with every home.\n\n## Sending a scout\n\nBefore writing a brief, when a task may need research first, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fsending-a-scout.md` now.\n\nA typed ask for several scouts at once, \"N scouts\" or \"swarm this\", is the user's approval to swarm: read `$T\u002F..\u002Fskills\u002Fswarm\u002FSKILL.md` and do what it says, since swarm never loads by itself.\n\n## A playbook of the home's own\n\nA row `the home` runs, in what the block in \"Handing a task to a crewmate\" that prints a row for each playbook prints, is steps for this thread: how to run a queue of tasks, not how to do one. Its name is kept on a `Playbook:` line in the head of `$M\u002Fplan.md`, above the first `## ` heading, so the next home works by it too. Open it when a home starts with that line in its plan, and when you take one up. Run this after the block at the top and the block that finds this home, with the playbook's name in place of `\u003Cname>`, or with nothing in its place to take the name the plan has:\n\n```sh\nname='\u003Cname>'\nuv run --project \"$T\u002F..\u002Fsource\" jbus playbook home \"$M\u002Fplan.md\" --name \"$name\"\n```\n\nIt prints nothing when the name is `none`, or when none is given and the plan's head has no `Playbook:` line: go on with no playbook.\nOn `no playbook`, do the same, and tell the user what it printed.\nOn `not the home's`, the file is for a crewmate or a scout: do the same again, and put its name on a brief or a request instead.\nWhen its first line is a path, read that file now.\nWork its numbered steps in order.\nReport a step you do not do as `skip: \u003Creason>`.\nA path the playbook names is from `$T\u002F..`, the repo this skill lives in, also when the work is in another repo.\nA line under the path, `asks of its brief:`, is a line to write in each brief the playbook has you hand out.\nThe playbook adds to this skill and does not replace it: where the two disagree, this skill wins, and you say so to the user.\n\n## Handing a task to a crewmate\n\nBefore a task goes to a crewmate, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fhanding-a-task-to-a-crewmate.md` now.\n\n## When a thread sends a message\n\nWhen a thread this home sent out sends it a message, when the user asks for status or runs `\u002Fketchup`, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fwhen-a-thread-sends-a-message.md` now.\n\n## Clearing its own blockers\n\nEach time this home wakes, at its start and on a thread's message, and when a step elsewhere names this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fclearing-its-own-blockers.md` now, and run its block.\n\n## What waits on the user\n\njbus holds the one list of what only the user can do, and `jbus needs` prints it: each open gate that holds, each row waiting on the user's word and each pull request `jmerge` holds for it, with what it holds and the reply that answers it.\nIt leaves out a refused go and a row this home can clear by itself, which are this home's to fix.\nA status reply, a `\u002Fketchup` in a home, and any turn a wake started that tells the user something, open with what this block prints, as it prints it, before anything else.\nThe list comes from jbus and never from this home's memory of what it asked.\nRun it in one call with the block at the top:\n\n```sh\nif command -v jbus > \u002Fdev\u002Fnull; then\n    uv run --project \"$T\u002F..\u002Fsource\" jbus needs\nelse\n    echo \"no jbus: jbus is not installed here, so what waits on the user is not known\"\nfi\n```\n\nIt names every project of jbus's config, since the user asks every home the same question.\nA line `nothing waits on \u003Cuser> in any project` opens the reply as it is, and a `not known:` line, which comes first, says which project no pass has listed yet.\nA start's `## waiting on you` part, from step 4 of \"When a home starts\", is the same list for this home's project, with a count for each other project.\n\n## Gates\n\nAt the start, on status, whenever a gate is asked, shown or closed, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fgates.md` now.\n\n**Move the ones a file still has** at the start, before the open ones are shown, when `$M\u002Fgates.md` exists: read `$T\u002F..\u002Fskills\u002Fhome\u002Fmove-the-ones-a-file-still-has.md` now, and run its block in the same call as the block that reads jbus. Its \"the end of this section\" is the end of \"Gates\".\n\n## The user's word, carried by jbus\n\nWhen a message says it is the user's word carried by jbus, when this home records the user's word or a plan entry's go, approves a row on a pick in a question box or on a standing rule, and when a step elsewhere names a step of this section: read `$T\u002F..\u002Fskills\u002Fhome\u002Fusers-word-carried-by-jbus.md` now.\n\n## Merging a pull request that is ready\n\nAt every home's start (step 5), on a `fixed and green` line, and whenever a pull request may be ready to merge: read `$T\u002F..\u002Fskills\u002Fhome\u002Fmerging-a-pull-request-that-is-ready.md` now.\n\n## Picking up a thread that stopped\n\nA thread that stopped with its task unfinished is picked up, not started over: a turn a T3 Code restart cancelled, one that failed at the plan's limit, one jbus's nudge names.\nIts worktree and its brief hold what it did, and `jbus thread \u003Cslug>` what it last said.\nThe playbook `session-pickup` has the steps: open it with the block of \"A playbook of the home's own\".\nIt ends in one of two calls.\n\n`jbus` tries once first, by the wait's age (`jbus.clock`).\nA pull request whose review is not written while its reviewer's thread is not at work gets that reviewer sent its line again; one that waits on its crew gets the crew one carry-on; a crew that ended with no Result has its two carry-ons.\nAfter the second miss `jbus` sends this home one line that names the slug, the pull request and the thread, and the user is not told: that line is the home's cue to pick the thread up as this section says.\n`jbus` interrupts no hung turn, so an interrupt, where one is needed, is the home's.\n\nA thread whose last turn failed on a usage limit, the text `You've hit your weekly limit · resets \u003Ctime>` or its 5-hour twin, is not carried on in place: its instance is capped until that reset, and the same message fails again.\n`jbus` moves it: its pass writes the cap to the ledger of the instance it ran on, moves the thread to the first instance of its role's pool with headroom, only its `instanceId` changed (`t3_thread_configure`), and sends one carry-on; where every instance is capped it logs one quiet `stall` and waits for the first reset.\nDo the same by hand only where no `jbus` runs: read the thread with `t3_thread_configure` and only its `threadId`, call it again with that selection and the next instance's `instanceId`, then send the carry-on below.\nNever send a plain carry-on to a thread that failed on a limit.\n\nA message first, when the thread can still take one: `t3_thread_send` to the id on the brief's `Thread:` line, one line, to carry on from its brief and its worktree and to redo nothing that is there.\n\nA new thread on the same worktree when it cannot: the send fails, the thread is archived or gone, or it was sent that message once and jbus's next nudge names it again.\nFind the worktree whose branch is the slug with `git worktree list --porcelain`, from the main checkout.\nWith none, there is nothing to pick up: launch from step 2 of \"Handing a task to a crewmate\".\nAdd one line to the brief, above its first `## ` heading, so the new thread knows it resumes: `Resume: \u003Cdate>, the thread before this one stopped. Its work is in this worktree and in the last Result below: redo nothing that is there, and carry on from \u003Cthe resume point>`.\nThe crew skill reads the brief at its start, and a brief is trusted.\nBefore the launch, run `uv run --project \"$T\u002F..\u002Fsource\" jroles crew` with the block at the top.\nA JSON object it prints is the `\u003Cmodel selection>`, with the instance of the pool it chose as its `instanceId`: launch with it as printed.\nWhen it prints nothing, or a line on stderr that says why the map gives no model, leave `modelSelection` out, and tell the user that line.\nWhen it exits 75 and prints no JSON, every instance of the role's pool is capped until the time on stderr: make no launch, and say that line.\nThen, on `go` from `room`, the `t3-code` server's `t3_thread_launch` (if your harness defers it, load it first), with the project and modes left out:\n\n```json\n{\n  \"title\": \"crew: \u003Cslug>\",\n  \"workspaceStrategy\": {\"type\": \"existing_worktree\", \"worktreePath\": \"\u003Cthat worktree>\", \"branch\": \"\u003Cslug>\"},\n  \"message\": \"\u002Fcrew \u003Cslug>\",\n  \"modelSelection\": \u003Cmodel selection>\n}\n```\n\nPut the new thread's id on the brief's `Thread:` line with the block of step 3 of \"Handing a task to a crewmate\", which takes the old line's place, and give the user the link. One writer per worktree: never launch on a worktree whose last thread is `running`.\n\n## Scoped homes\n\nWhen this is a scoped home, at its start, when it escalates to the root and when the root's reply reaches it; when this is the root home and a step of its skill names this section; or when the user asks for a home scoped to one goal: read `$T\u002F..\u002Fskills\u002Fhome\u002Fscoped-homes.md` now.\n\n## When to archive\n\nRead `$T\u002F..\u002Fskills\u002Fhandoff\u002FSKILL.md` and do its steps, then stop working in this thread, only when the user says so: they type `\u002Fhandoff`, choose Archive on the home in the jstack tree, or say to archive or close this home.\nA home is never archived for its context: a thread that grows long is compacted by its harness and goes on as the same home, since everything it needs is on disk and in jbus.\n",{"card":24,"name":5,"description":7,"user-invocable":25,"disable-model-invocation":25},"Run the pipeline | 1 | Makes this thread the repo's home. It reads what jbus holds, plans with the operator, writes each brief and launches its crewmate. It does none of the work. | Reach for it when you start or continue work in a repo. | op: the operator; cmd: the start hook",true,"main","daff051d2674b46e2eb8a333bbd3f3e40f8d1cea","features\u002Fhome\u002Fskills\u002Fhome",0,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere","Software Engineer @ Markel\r\n","2026-11-15 11:25:06",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":25},[36,39,42],{"tool":37,"command":38},"npx","npx skills add JoshuaHayesWasHere\u002Fjstack --skill home",{"tool":40,"command":41},"bunx","bunx skills add JoshuaHayesWasHere\u002Fjstack --skill home",{"tool":43,"command":44},"pnpm","pnpm dlx skills add JoshuaHayesWasHere\u002Fjstack --skill home","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002FSKILL.md",[47,53,57,61,65,69,73,77,81,85,89,93,97,101,105],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"a-scratch-home.md","REFERENCE","参考文档",3626,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fa-scratch-home.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"clearing-its-own-blockers.md",4334,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fclearing-its-own-blockers.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"gates.md",13638,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fgates.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"handing-a-task-to-a-crewmate.md",30005,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fhanding-a-task-to-a-crewmate.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"merging-a-pull-request-that-is-ready.md",15847,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fmerging-a-pull-request-that-is-ready.md",{"path":70,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":71,"sourceHtmlUrl":72},"move-the-ones-a-file-still-has.md",2554,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fmove-the-ones-a-file-still-has.md",{"path":74,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":75,"sourceHtmlUrl":76},"playbooks\u002Fautopilot-full.md",4828,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fplaybooks\u002Fautopilot-full.md",{"path":78,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":79,"sourceHtmlUrl":80},"playbooks\u002Fmulti-phase-plan.md",4922,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fplaybooks\u002Fmulti-phase-plan.md",{"path":82,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":83,"sourceHtmlUrl":84},"playbooks\u002Forchestrate.md",5323,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fplaybooks\u002Forchestrate.md",{"path":86,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":87,"sourceHtmlUrl":88},"playbooks\u002Fsession-pickup.md",4572,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fplaybooks\u002Fsession-pickup.md",{"path":90,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":91,"sourceHtmlUrl":92},"scoped-homes.md",7108,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fscoped-homes.md",{"path":94,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":95,"sourceHtmlUrl":96},"sending-a-scout.md",5385,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fsending-a-scout.md",{"path":98,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":99,"sourceHtmlUrl":100},"users-word-carried-by-jbus.md",16767,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fusers-word-carried-by-jbus.md",{"path":102,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":103,"sourceHtmlUrl":104},"when-a-home-starts.md",20626,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fwhen-a-home-starts.md",{"path":106,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":107,"sourceHtmlUrl":108},"when-a-thread-sends-a-message.md",13740,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fhome\u002Fwhen-a-thread-sends-a-message.md",[110,117,124,131,138,145],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M7ERF9GXMY62V7QTVAR6G8DG","no-key","A skill its skills.json lists as hidden that a model may still call by itself, kept broken so the lint is seen to catch it.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ftesting\u002Ftests\u002Ffixtures\u002Fskills\u002Fno-key\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M7ERF83ZG3XKJ2SB8MJHCZ8H","fake-skill","A FAKE skill in a FAKE tree, named for its folder until the test renames the folder.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ftesting\u002Ftests\u002Ffixtures\u002Fskills\u002Fnamed-tree\u002Fskills\u002Ffake-skill\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":19},"01M7ERF698RV4VF8QCDF8H8DA4","extra-key","A skill its skills.json does not list as hidden that a model still cannot call, kept broken so the lint is seen to catch it.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ftesting\u002Ftests\u002Ffixtures\u002Fskills\u002Fextra-key\u002FSKILL.md",[],[],{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":19},"01M7ERF2V8N73X9T0Y9PJ4SFV6","unslop","Cut AI tells from writing. Use when the user says text reads like AI, asks to unslop it, or before prose ships to people.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fwriting\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":19},"01M7EREWM67WX934XKABM4XCSZ","technical-writing","Write or review docs, READMEs, RFCs, PR descriptions and commit messages to a layered standard: Diataxis structure, Google developer style, STE rules and Global English.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fwriting\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":146,"name":147,"nameZh":6,"description":148,"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},"01M7EREMHJS9JY10AM5EKVX3GP","why","Find why code is the way it is, from its history and every evidence source this session can query, with citations. Use for 'why does X work this way', 'why did we pick Y', regressions and postmortems. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fwhy\u002FSKILL.md",[],[]]