[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H5XVJ34X1HQVJ089GPEPAP":3,"skill-same:01M6H5XVJ34X1HQVJ089GPEPAP":63},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6H5XVJ34X1HQVJ089GPEPAP","advance-work-from-plan",null,"Discover, claim, implement, checkpoint, and complete units of work from the shared plan ledger based on host capabilities and lease rules, complementary to multihost-orchestration.","8007342\u002Ftillandsias","8007342","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F162944123?v=4","01M6H5SFAKAV1RH8MY0C9X2SZZ","Tlatoāni","01M6H5SFF2BBW9HGM3DXAZ84TG",6,"GPL-3.0","https:\u002F\u002Fgithub.com\u002F8007342\u002Ftillandsias\u002Fblob\u002Fmain\u002Fskills\u002Fadvance-work-from-plan\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"plan","advance","work","advance work from plan","implement","orchestration","capabilities","checkpoint","Rules","units","claim","shared","discover","host","complete","ledger","2026-11-10 10:12:30",false,"---\nname: advance-work-from-plan\ndescription: Discover, claim, implement, checkpoint, and complete units of work from the shared plan ledger based on host capabilities and lease rules, complementary to multihost-orchestration.\n---\n\n# Advance Work From Plan\n\nThis skill is the recurring scheduled execution loop for worker agents. It allows any agent on any host to autonomously select, claim, implement, checkpoint, and complete shaped work from the shared `plan\u002F` ledger — sustaining development velocity and enforcing finite-time convergence.\n\n---\n\n## 1 — Orient & Discover Environment\n\n1.  **Git Check**: Run:\n    ```bash\n    git fetch origin\n    git checkout \u003Cactive-branch>  # linux-next, windows-next, or osx-next per host table\n    git pull --ff-only origin \u003Cactive-branch>\n    scripts\u002Fcheck-committable-branch.sh\n    git merge --no-edit origin\u002Flinux-next   # platform branches: BEFORE §2.0, not only before push\n    ```\n    `\u003Cactive-branch>` is where you START and where the plan-only lane writes\n    (claims, events, handoffs). Your CODE goes to a work ref, `work\u002F\u003Corder>`,\n    created after the claim (§3) and pushed as often as you like without a\n    gate (§6; methodology `work_ref_lane`, 1315-4a7j \u002F 1317-9ugn).\n    The `scripts\u002Fcheck-committable-branch.sh` line is the executable Committable Branch Guard (order 476,\n    pinned by `litmus:committable-branch-guard-shape`): it prints one verdict\n    line and exits `0` only when HEAD is on a committable branch (any named\n    branch except `main`). On `blocked:committable-cycle-on-main` (or any\n    other `blocked:*` verdict — detached HEAD, non-repo) do NOT claim,\n    commit, or push anything this cycle: `main` advances only via PR\n    (breach record 34e60965,\n    `plan\u002Fissues\u002Fmain-branch-direct-push-guard-2026-07-24.md`). Switch to\n    your host's canonical branch or run the cycle read-only.\n\n1b. **Acquire the checkout lock — BEFORE any committable work** (orders\n    873-zcim, 1091-zh6d):\n\n    ```bash\n    TILLANDSIAS_CYCLE_HOLDER_PID=$PPID scripts\u002Fcycle-checkout-lock.sh acquire \\\n        --lane prompt --source \"\u003Chow this cycle was launched, one line>\"\n    ```\n\n    **`TILLANDSIAS_CYCLE_HOLDER_PID=$PPID` MUST BE ON THE COMMAND LINE, in\n    YOUR shell.** It anchors liveness to the agent-harness process that spans\n    the whole cycle. Evaluated inside the script instead, `$PPID` is the tool\n    shell that invoked it — which dies the moment your tool call returns, so\n    the lock stale-reaps immediately, every later lane reads\n    `ok:checkout-lock:free`, and the verdict you got still said `acquired`.\n    Measured on yoga 2026-09-06, direct and via `bash -c`: both anchor on the\n    dying shell.\n\n    Since order 1098-q7bk the script **refuses** that path rather than warning\n    about it: an invocation with neither `TILLANDSIAS_CYCLE_HOLDER_PID` nor a\n    harness-exported `CLAUDE_PID` answers `refused:checkout-lock:no-holder-pid`\n    and exits 2, taking no lock. **A refusal means you do NOT hold the\n    checkout** — supply the variable and acquire again; do not proceed as if\n    you did. Under a claude harness `CLAUDE_PID` is exported and the bare line\n    acquires cleanly, so this refusal is the cron\u002Fcodex\u002Fopencode path; the\n    command line above is correct under every backend.\n\n    On `skip:overlap-lock-held:\u003Cholder>` **DO NOT PROCEED.** The verdict names\n    who holds the checkout (lane, pid, start, source). Report it as the cycle's\n    final output and exit — that is the designed outcome, not a failure, and it\n    is recorded outside the checkout in\n    `~\u002F.cache\u002Ftillandsias\u002Foverlap-refusals.jsonl` so a refused-for-overlap\n    cycle is distinguishable from one that ran and found nothing. Do not retry\n    in a loop; the next scheduled fire retries on its own clock.\n\n    **WHY THIS SECTION EXISTS: it did not, and every worker host paid for it.**\n    The lock instruction lived only in `skills\u002Fmeta-orchestration` — one host,\n    four-hourly — while THIS skill is the lane every host runs to drain plan\n    work. Measured on yoga 2026-09-06: a full night of cycles on one checkout,\n    eight lands, `.\u002Fbuild.sh --check` runs of six to seven minutes, and the\n    lock taken ZERO times, because nothing here mentioned it. A sibling lane\n    firing into that checkout mid-gate produces a red with no discoverable\n    cause. Same shape as 943-7dn5, where `--emit-flow` lived in the\n    coordinator skill and the flow log was fed only when a session happened to\n    run it: **anything the worker loop must do belongs in the worker skill.**\n\n    Release at §7 Finalization, after the cycle's last commit lands:\n\n    ```bash\n    TILLANDSIAS_CYCLE_HOLDER_PID=$PPID scripts\u002Fcycle-checkout-lock.sh release\n    ```\n\n    A second agent NEVER works in a locked checkout (873-zcim criterion 4).\n    The sanctioned path for concurrent work on one host is a separate git\n    worktree or a clean temp clone.\n\n2.  **Instrument check**: `scripts\u002Fcycle-preflight.sh` must answer `ok:` before\n    you select work — selecting with an unverified instrument is the one\n    failure the loop cannot reason its way out of, because the tool it would\n    reason WITH is the stale thing. Its `\u003Cplan>` segment names which instrument\n    you are running on (order 1004-ws5q):\n\n    - `rebuilt` — cargo present, instrument built or confirmed current.\n    - `existing` — **no cargo, but a runnable binary resolved.** A legitimate\n      cycle: a host doing compile-free work keeps its slot. Before 1004-ws5q\n      preflight declared the COMPILER absent without ever looking for a\n      BINARY, and a floor-tier release smoke that compiles nothing lost a 4h\n      slot with a healthy instrument on disk (pirria, 2026-09-04).\n    - `skipped` — the build step was skipped via `CYCLE_PREFLIGHT_SKIP_BUILD=1`.\n    - `blocked:preflight:plan:cargo-absent` — no cargo AND no runnable binary.\n      Terminal: there is no instrument, so do not start the cycle.\n\n    **`CYCLE_PREFLIGHT_SKIP_BUILD=1` is for compile-free work on a host that\n    cannot compile, and nothing else.** It is not a way past a red build on a\n    host that can compile — that is a broken instrument. Since 1004-ws5q a host\n    with no cargo but a working binary gets `existing` without the variable, so\n    needing it at all should now be rare.\n    **On `osx-next` \u002F `windows-next`, merge `origin\u002Flinux-next` HERE, before the\n    selector runs, not only before the push.** The selector and every\n    `plan_*` read answer from the WORKTREE ledger, and on a platform branch the\n    worktree is current only after that merge: between the pull and the merge\n    it still carries the trunk's state as of your last merge. MEASURED on\n    tlatoanis-macbook-air 2026-09-04: `osx-next` was up to date, the selector\n    returned 1001-q3zf as its p1 top pick, `plan_status` agreed it was `ready`,\n    and the host claimed it — a packet the coordinator had closed on the trunk\n    an hour earlier. The post-merge fold exposed it, the unpushed claim was\n    dropped, and the re-run selector returned a different batch. This is the\n    same ordering rule the meta-orchestration skill states for the overlap\n    check (\"AFTER THE MERGE, NOT BEFORE\"), applied to selection. The pre-push\n    merge (§6) still applies; this is the earlier one.\n1b. **Snapshot the startup boundary NOW — before any guard that writes.**\n    Right after the pull and the branch guard, before the credential guard,\n    the daily-maintenance body, the capability-row republish, or any edit:\n    ```bash\n    boundary_dir=\"$(mktemp -d \"${TMPDIR:-\u002Ftmp}\u002Fmeta-orchestration-boundary.XXXXXX\")\"\n    scripts\u002Fmeta-orchestration-worktree-guard.sh snapshot \"$boundary_dir\"\n    ```\n    `scripts\u002Ffinalize-cycle.sh` (§7) refuses without it, and the fleet\n    heartbeat reads a host that commits without attesting as WEDGED. The\n    order is the whole rule, learned three times on 2026-09-04: yoga landed a\n    cycle unattested because no snapshot was taken; lenovinha and yolanda\n    snapshotted AFTER a preamble guard had already written a fragment (a\n    capability row), so the guard's baseline carried their own dirt and the\n    finalize verify refused, correctly. A boundary taken after the work is\n    the \"compare a tree against itself\" proof the guard exists to forbid —\n    never re-snapshot to obtain a marker; report the cycle as\n    landed-but-unattested and take the boundary first next time.\n2.  **Host and Identity**: Identify your platform (`linux`, `windows`, `macos`, `forge`), your agent name, and your intended capabilities (`rust`, `podman`, `docs`, `testing`, etc.).\n3.  **Host Detection Table**:\n    | uname\u002F$OS \u002F env | Platform Name | Canonical Branch |\n    |-----------------|---------------|------------------|\n    | Inside Forge    | `forge`       | `linux-next`     |\n    | Linux           | `linux`       | `linux-next`     |\n    | macOS           | `macos`       | `osx-next`       |\n    | Windows         | `windows`     | `windows-next`   |\n\n    **PASS YOUR PRECISE ROLE TO THE SELECTOR, not just the platform** (order\n    1115-yvrq). On Linux, say `linux-immutable` or `linux-mutable` — a\n    read-only `\u002Fusr` (Fedora Silverblue, bootc) is immutable; anything you can\n    `dnf install` into is mutable. `scripts\u002Fhost-capability-probe.sh` reports\n    it if you are unsure.\n\n    `pickup_role` on a packet means **REQUIRES**, not authored-on (coordinator\n    ruling, macuahuitl, 2026-09-06). The specific satisfies the general, so a\n    precise role costs you nothing and gains correctness: an immutable host\n    passing `linux-immutable` is offered every packet asking for `linux`, and\n    is NOT offered the ones needing a writable `\u002Fusr`. Measured on yoga\n    2026-09-06 — 301 rows either way, and the one packet it cannot do\n    (1025-a896, an investigation needing `dnf`) drops out.\n\n    Passing the bare platform still works and is still correct for a host that\n    genuinely has no sub-role; it simply cannot express a requirement it does\n    not have.\n4.  **Create Agent ID**: Do NOT hand-compose it — call the canonical helper\n    (order 756-hn3a; contract: `methodology\u002Fdistributed-work.yaml` →\n    `agent_identity_contract`):\n    ```bash\n    agent_id=\"$(scripts\u002Fagent-identity.sh id \u003Cbackend>)\" || exit 1   # backend: claude|codex|opencode|gemini\n    ```\n    It resolves `\u003Cplatform>-\u003Cworkstation>-\u003Cbackend>-\u003Cutc-timestamp>` from\n    stable sources (TILLANDSIAS_AGENT_ID taken whole; else\n    TILLANDSIAS_WORKSTATION → HOSTNAME → \u002Fetc\u002Fhostname → node-name probe),\n    sanitizes once, and REFUSES (`refused:agent-identity:empty-\u003Ccomponent>`,\n    non-zero, empty stdout) instead of minting an incomplete ID. On refusal\n    do NOT claim, append, or push anything — a prose recipe on a\n    hostname-less forge wrote lease `forge--codex-20260815t162555z` (EMPTY\n    workstation) while HOSTNAME sat unread in its environment.\n5.  **Orient via MCP — do NOT read whole ledgers.** This is a rule, not a\n    suggestion. Canonical: `methodology\u002Fdistributed-work.yaml` →\n    `mcp_first_read_path`.\n\n    The files this step used to tell you to read are `plan\u002Findex.yaml` (31,678\n    lines), `plan\u002Floop_status.md` (7,875 lines), `plan.yaml`, and two methodology\n    files — imported in full to extract what amounts to a paragraph. That import\n    is permanent for the rest of your session, it is the single largest\n    consumer of orchestrator context in the loop, and every agent on every host\n    pays it again every cycle.\n\n    Ask instead, and stop when you have the answer:\n\n    | You need | Ask |\n    |---|---|\n    | the operator's active theme | `plan_answer \"what is the current Direction?\"` |\n    | what to work on | `plan_next \u003Crole>` \u002F `plan_ready \u003Crole>` (then §2.0) |\n    | one packet's state | `plan_status \u003Cid\\|order>` |\n    | why something is stuck | `plan_blocked_by` \u002F `plan_blocked_on` \u002F `plan_closure` |\n    | a methodology rule | `methodology_ask \"\u003Cquestion>\"` \u002F `methodology_path` |\n    | a spec's content | `spec_answer` |\n    | repo\u002Fcode navigation | `project-info`: `search_code`, `grep_code`, `find_files`, `file_summary`, `read_file` |\n    | conversational\u002Fsynthesis status question | Local Experts mode (`expert-serve`) — same citations-or-typed-refusal contract as `spec_answer` |\n\n    Every answer is CITED. Keep the citations — §5 and §7 need them.\n\n    **Fall back to the filesystem for exactly three reasons, and say which:**\n\n    - **Unavailable** — MCP absent, erroring, or answering\n      `confidence=unsupported`. Fall back and *keep going*; a degraded read path\n      is never a blocked cycle. Note it in your loop-status entry, so an expert\n      that systematically refuses becomes visible instead of being quietly\n      routed around (order 531: launch state truthfully reported `experts:\n      ready` while every answer was unsupported).\n    - **Verification** — before anything irreversible (commit, status flip,\n      delete, release) that rests on an MCP answer, read the **cited span** to\n      confirm it. The span, not the file. Cited is not the same as checked.\n    - **Not exposed** — no tool covers it. Read it directly, and if the loop\n      needs it repeatedly, file a packet: a recurring direct read is a missing\n      tool, not a habit.\n\n6.  **Direction still binds.** However you obtained it, reduce your packet\n    selection against the operator-owned `## Direction` theme rather than\n    inventing new direction, and cite it in your work-queue ledger entry\n    (order 381).\n\n---\n\n## 2 — Discover Work & Select Shaped Packet\n\n### 2.0 — Run the batch selector FIRST (cycle triage)\n\n```bash\nscripts\u002Fselect-work-batch.sh \u003Clinux|macos|windows|any> [--budget N] [--seed S]\n# \u003Crole> is the PICKUP ROLE, not the host kind: a Silverblue host passes `linux`,\n# not `linux-immutable` (which the selector refuses as bad-role; pirria 2026-09-23).\n```\n\nThis decides **what THIS cycle takes**, which flat ranking does not. It emits one\ncohesive, budgeted batch drawn from a single epic (`release_target`), the\n`triage:` coverage line, and the `frontier` it considered:\n\n```\nbatch: epic=forge-local-experts-milestone role=linux release=v0.5 size=3 budget=3 score=19.728 seed=host-20260809 pick=1\u002F3\npacket  394  plan-methodology-experts-rung1  p1\n...\ntriage: eligible=140 grouped=60 ungrouped=80 epics=6\nfrontier 19.728  forge-local-experts-milestone  packets=41 blocking=10 neglect=4.7\n```\n\nWork the batch **in the order printed**, then stop — do not top up from another\nepic. Record the printed `seed` in your loop-status entry so the selection can\nbe replayed.\n\nThree things about it that are easy to get wrong:\n\n- **It is minimax, not priority-first.** Epics are scored by residual\n  (`2*urgency + 1.5*blocking + neglect`), because ranking by p0 alone is the\n  anti-pattern `convergence.yaml` names: *raising average convergence by\n  improving low-risk obligations while a high-risk maximum residual remains\n  unresolved.* The p0-first agent keeps finding p0s.\n- **The entropy is score-weighted, and that is deliberate.** Choice is spread\n  over the top-3 epics so nothing starves and two concurrent hosts do not\n  collide, but weighted so the largest residual still wins most of the time\n  (~9 in 12). Predictable drain is a property of batch SIZE — fixed absolutely\n  by the budget — never of always picking the same work.\n- **`ungrouped=N` on the triage line is a defect signal, not decoration.** It\n  counts eligible packets with no `release_target`. When it is large, the epic\n  tier is not doing its job; file\u002Fassign coverage rather than shrugging. It was\n  80 of 140 on 2026-08-09.\n\nBudgets: autonomous\u002Fpairing forge sessions = adaptive 4 packets (configurable 3-6 via `--budget N` or `TILLANDSIAS_CYCLE_BUDGET`), unattended litmus step runs = 1 packet, non-forge hosts = 6 (order 707-3x9d).\n\nTier (trims 2026-09-27, umbrella 1437-62g8): a session STATES the model tier\nit runs at, `--tier \u003Chaiku|sonnet|opus>` or `TILLANDSIAS_MODEL_TIER`\n(1437-vdz5). The tier is a FLOOR and an UNTAGGED row is opus (operator\n2026-09-27: \"No size tags get Opus\"): a haiku caller's pool is exactly the\nrows whose `implementer_tier` is haiku and it refuses\n`refused:no-tier-work:model-tier=haiku` rather than draining the general\nqueue; a sonnet caller takes sonnet rows, then haiku, never untagged; an opus\ncaller takes opus and untagged rows first, then sonnet, then haiku.\n`--tier-any` is for an orchestrator picking for its delegates\n(`\u002Fhaiku-orchestrate`, 1443-hbgt).\nUntil 1437-khnx projects the field, the tier is two lines inside the packet's\n`notes:` (`size: S|M|L`, `implementer_tier: …`) and the selector cannot see\nit — read them by eye. A cheaper packet runs in-session through\n`scripts\u002Fclaude-delegate.sh implement \u003Corder>` (1437-yjf6, edits bounded to\n`owned_files`, no commit) with this session verifying and committing, or in\na dedicated `.\u002Frepeat --model haiku` session (1437-m5yx). Canonical:\n`methodology\u002Fdistributed-work.yaml` → `cycle_batch_triage.model_tier_routing`.\n\nIf the selector refuses (`refused:no-eligible-work`, `refused:no-plan-binary`),\nfall back to the manual ranking below — which is also the rationale the selector\nautomates. Canonical: `methodology\u002Fdistributed-work.yaml` → `cycle_batch_triage`.\n\n### 2.1 — Manual ranking (fallback, and the rationale)\n\n1.  **Walk the Graph**: Read (via `project-plan` \u002F `project-info` MCP tools or direct file inspection), in order:\n    -   `plan\u002Findex.yaml` — packet index + selection policy (`plan_query` \u002F `plan_ready`).\n    -   `plan\u002Fissues\u002F\u003Chost>-next-*work-queue*.md` — your host's queue (e.g. `linux-next-work-queue-*`, `osx-next-work-queue-*`, `windows-next-work-queue-*`).\n    -   `plan\u002Fissues\u002Fforge-diagnostics-automation-2026-05-27.md` and `plan\u002Fissues\u002Fcross-host-blocker-roundup-*.md` — high-impact packets.\n    -   (Linux only) `plan\u002Fissues\u002Flinux-headless-spec-gaps-2026-05-27.md` — diagnostics + headless backlog.\n    -   Any other `plan\u002Fissues\u002F*.md` referencing your host or \"any host\".\n2.  **Filter Eligible Packets**: Find tasks where:\n    -   `owner_host` matches your platform (e.g. `forge`), is `any`, or is a forge diagnostics task (e.g., `forge-improvements\u002F*` or `smoke-finding\u002Fforge-*`).\n    -   `status` is `ready`, `pending` (if dependencies are unblocked), or `failed-retryable`.\n    -   `capability_tags` intersect with your capabilities.\n    -   There is no active unexpired lease.\n3.  **Selection Priority (Top Wins)**:\n    -   **Release-targeted packets FIRST**: packets carrying `release_target: \u003Cmilestone-packet-id>` outrank the general backlog (canonical: `methodology\u002Fdistributed-work.yaml` → `release_aware_packets`). A host with no eligible targeted work falls back to the priorities below — targeting concentrates effort, it never idles a host. Never claim a `kind: milestone` packet for implementation — milestones hold criteria; claim their children (`ambitious_milestone_reduction.milestone_packet_semantics`).\n    -   **Active Release Packets (`desired_release: v0.5`)**: Prioritize open work targeting the active release minor (`v0.5`) over future releases (`v0.6+`) to concentrate effort on shipping current milestones (e.g. `harness-mcp-expert-validation` order 554, `forge-local-experts-milestone` order 391).\n    -   **If running on `forge` host**: Prioritize forge diagnostics, toolchain improvements, and onboarding tasks (e.g. `forge-improvements\u002Fproposals\u002F` and `smoke-finding\u002Fforge-*` packets) to unblock other builders.\n    -   **Diagnostics-driven container-start verification** (USER PRIORITY, linux runtime-host today): work that strengthens the `--diagnostics` → annex → distill → litmus chain. See `scripts\u002Fforge-diagnostics-annex.sh`, `scripts\u002Fdistill-forge-diagnostics.sh`, `openspec\u002Flitmus-tests\u002Flitmus-forge-diagnostics-e2e.yaml`, `methodology\u002Fforge-diagnostics.yaml` piggyback_protocol.\n    -   **Spec gap fills**: `openspec\u002Fspecs\u002F\u003Cspec>\u002Fspec.md` requirements without implementation coverage. Focus on `headless-mode`, `podman-idiomatic-patterns`, `runtime-diagnostics-stream`, `logging-accountability`, `observability-metrics`.\n    -   **Drift-protection litmus**: instant-phase tests pinning surfaces that recent work added (formatter literals, env-var contracts, public API names, unit-test names).\n    -   **Clippy \u002F idiomatic-podman hardening**.\n    -   **Version-aware release ordering** (The Tlatoāni 2026-07-17; canonical: `methodology\u002Fdistributed-work.yaml` → `version_aware_release_planning`). Releases are sequential numbered bundles (v0.3 → v0.4 → …), stability-gated not time-gated; \"release X\" is the CalVer Minor. Every open packet should carry `desired_release: vX.Y` (its ship-bucket, distinct from the milestone `release_target`). After the milestone preference, prefer packets targeting the **ACTIVE release** (`v0.5`; see `plan\u002Floop_status.md`) over later-release ones — concentrate effort on shipping the current bundle. Cross-platform deps are gated by release order (dependent's `desired_release` >= its upstream's). A packet that must slip to a later release: file a `progress` note proposing the slip; the coordinator ratifies. Unmarked open packets default to the active release.\n    -   **Filing a new packet? Mint its order, never pick one**: run `tillandsias-plan next-order` (→ `581-k3f9`). Computing \"the next free order\" from the ledger reads a snapshot that is stale the moment another host commits, so concurrent filers collide deterministically — twice on 2026-07-31, with six collisions still at HEAD. The minted token is PERMANENT: never renumber it, because order tokens leak into code comments, `@trace order:` headers, and commit messages, and a pushed commit message cannot be corrected. A prefix shared by two packets is normal, not a defect. Cite `packet_id` in anything durable. Canonical: `methodology\u002Fdistributed-work.yaml` → `order_id_allocation`.\n\n        **READ THE `filed since` LINE next-order PRINTS ON STDERR BEFORE YOU\n        WRITE THE FRAGMENT (1163-3krg).** Minting is already a read of the\n        current fold — the next prefix is one above the highest order present —\n        so the tool has necessarily observed every row filed since you last\n        looked, and it now says so instead of handing the answer back as a bare\n        number. MEASURED 2026-09-13: lenovinha filed and claimed 1158-y3ad at\n        15:49Z, the coordinator filed 1160-nvzs — the same defect — at 16:05Z,\n        and next-order minted 1160 BECAUSE 1158 and 1159 were in that fold. The\n        tool that filed the duplicate had already read the answer. stdout is\n        unchanged (`order: $(tillandsias-plan next-order)` still composes); the\n        report is on stderr, and `--since \u003Corder>` sets the baseline explicitly\n        when the default — the highest order THIS WORKSTATION filed — is not\n        what you mean. A duplicate is filed by not looking, not by choosing the\n        wrong number.\n    -   **In-forge self-service** (canonical: `methodology\u002Fdistributed-work.yaml` → `in_forge_agent_self_service`): if you are running INSIDE the forge and hit a missing tool\u002Fcapability\u002Ffix, unblock your FUTURE launches by filing in the SHARED CHECKOUT (the forge is rebuilt from sources each launch): a capability\u002Ftool proposal → `plan\u002Fforge-improvements\u002Fproposals\u002F\u003Cdate>-\u003Cslug>.md`; a forge bug → a `plan\u002Fissues\u002F` packet `capability_tags: [forge, …]` `owner_host: linux|any`. If the packet is `forge`-tagged\u002F`any` and fits the forge budget, just do it. Always shaped + verifiable + pushed (a finding that dies with the container is lost).\n    -   **A LARGE packet is ELIGIBLE — size is not a skip reason** (The Tlatoāni 2026-07-17; canonical: `methodology\u002Fdistributed-work.yaml` → `large_packet_is_eligible_work`). Do NOT scan a queue of big packets, judge them all \"too large\", and reach for an old, small, near-obsolete task instead — that inverts the queue's value order and churns work that later specs will supersede. Rank by VALUE and RELEVANCE, never by smallness: a large, fresh, release-targeted packet OUTRANKS a small, stale one. When you claim a packet you cannot finish this cycle, end in ONE of three valid outcomes, each a complete successful cycle: **(a) partial slice** — smallest vertical slice under a verifiable constraint + a `progress` event with `partial_artifact_refs` and an updated `next_action`; **(b) split** — decompose into smaller `ready` child packets at ownership\u002Fdependency\u002Fevidence boundaries (`split_into`), the shaping commit IS the cycle's output (this generalizes the forge-only order-264 split rule to every host); **(c) audit-dispose** — if it is stale\u002Fsuperseded, retire it (obsolete\u002Ftombstone) per the freshness class. A near-obsolete-looking packet is a signal to AUDIT it, not to implement it as busywork.\n4.  **Long-running packets** (`multi_cycle: true`): claims are CYCLE-SCOPED — you claim one session's slice, not the packet. A `ready` multi_cycle packet with prior progress events is claimable (that's the design, not a stale lease). Canonical rules: `methodology\u002Fdistributed-work.yaml` → `long_running_packets`.\n5.  **Constraint**: ONE logical commit per batch\u002Fcycle. If an individual slice estimates >2h, split it and ship the first half. (Unattended litmus-hosted sessions (`TILLANDSIAS_LITMUS_STEP`) drain **at most ONE packet per session** to fit the 600s timeout; autonomous\u002Fpairing forge cycles execute **adaptive batches of 3–6 packets** to maximize the work-to-orchestration ratio. Decided by The Tlatoāni, order 707-3x9d; canonical: `methodology\u002Fdistributed-work.yaml` `worker_agent_protocol.forge_cycle_budget`.)\n6.  **Standing FRESHNESS audit class** (order 372, methodology `component_freshness`): each cycle, after worker drain, pick ONE component the `freshness-advisory` CI phase flagged as stale (or any unstamped component) and re-validate it against the audit question — *last properly looked at and confirmed still meaningful, useful, efficient, sound, and complete?* End in exactly one disposition: **refreshed** (re-validated, update its `# freshness:` stamp), **updated** (fixed\u002Ftuned, update stamp), or **obsoleted** (delete\u002Ftombstone with a same-commit removal of dependents). Apply the **discard-over-repair bias**: discard a stale component rather than repair it when a fresh implementation would be better. Record a `# freshness: auditor=\u003Cid> date=\u003CISO> verdict=\u003C...> scope=\u003Cone-line>` stamp (grammar in methodology.yaml). `scripts\u002Ffreshness-inventory.sh` emits the coverage report + the top stale components each `.\u002Fbuild.sh --ci` run.\n6.  **Delegate Parallelizable Research — inside the sub-agent budget** (operator directive 2026-09-11; packet 1119-6wn6; canonical rules in `skills\u002Fmeta-orchestration\u002FSKILL.md` → \"Sub-agent and token budget\"): Use sub-agents for file inventories, grep searches, ancestry checks and diff summaries, but keep ownership of specs, verification, and commits — and pass `model` and `effort` explicitly: haiku\u002Flow for lookups, sonnet\u002Fmedium for summaries and prose, opus\u002Fmedium for judgment; at most 8 per cycle and 3 concurrent; never the main model's tier for fan-out or refuters; never an agent for a read the plan experts answer. Measured 2026-09-11: a 42-agent sweep at the main tier cost 4.48M tokens in 21 minutes. Report the spend in the handoff's `tokens:` line.\n\n---\n\n## 3 — Claim the Lease\n\n1.  **Claim by flipping status, and push it BEFORE the work.**\n\n    ```bash\n    scripts\u002Fcheck-claims-across-branches.sh \u003Cpacket-id>   # FIRST. see below\n    tillandsias-plan set-field \u003Cpacket-id> status in_progress \\\n        --host \"$(hostname -s)\" --reason \"claimed for cycle \u003CUTC ts> by $agent_id\"\n    git add plan\u002Findex.d\u002F\n    git commit -m \"claim(\u003Cpacket-id>): \u003Chost>\"   # the fragment and NOTHING else\n    git push origin \u003Cactive-branch>\n    # ON A PLATFORM BRANCH (osx-next, windows-next) THIS IS NOT YET A CLAIM —\n    # nobody on trunk can see it until the relay. Push the fragment to trunk\n    # too (1153-j2nm); no build stamp is needed, the plan-only lane takes it:\n    scripts\u002Fpush-plan-fragments-to-trunk.sh        # -> ok:fragments-on-trunk:\u003Csha>:\u003Cn>\n    # THEN THE WORK REF (1317-9ugn). The claim is on trunk; the code goes here:\n    git switch -c work\u002F\u003Corder> origin\u002Flinux-next     # named by the order, started from trunk\n    ```\n\n    The work ref is where you commit and push for the rest of the cycle: no\n    gate stamp, no trunk merge, the fast deciders WARN and nothing refuses\n    (`warn:pre-push:…`). Only the claim and the events go to `\u003Cactive-branch>`\n    through the plan-only lane. The order of the whole flow, from\n    join-the-fleet §3: claim by order → `git switch -c work\u002F\u003Corder>` from\n    `origin\u002Flinux-next` → commit and push to `work\u002F\u003Corder>` freely → open the\n    PR (draft until the closure evidence is on the row) → the landing queue\n    integrates once → close by order after the landing proves.\n\n    `push-plan-fragments-to-trunk.sh` builds one commit parented on\n    `origin\u002Flinux-next` carrying only the NEW fragment files (temporary index\n    and plumbing — your worktree, index and branch are untouched) and pushes\n    it to `refs\u002Fheads\u002Flinux-next` through this checkout's own pre-push hook.\n    Your platform branch keeps its copy; the relay merges the identical file\n    clean. `refused:fragments-to-trunk:trunk-fold:…` means a fragment names a\n    packet trunk has never seen (you filed it on this branch): run it without\n    arguments so the filing rides along. The control, from any trunk checkout\n    after `git pull`: `scripts\u002Fcheck-claim-confirmed.sh \u003Corder> --host \u003Chost>`\n    → `ok:claim-confirmed` (1370-tjme; `refused:claim-lost` names the earlier\n    claimant, and you yield).\n\n    **YOUR FOLD DOES NOT SHOW OTHER HOSTS' CLAIMS, and the gap is measured in\n    HOURS, not seconds** (1034-whsp). A claim lands on the claimant's PLATFORM\n    branch. It reaches a trunk host only when the coordinator relays that branch\n    into `linux-next` — unless it was pushed to trunk with the helper above,\n    which is why that line is not optional. Measured on tlatoanis-macbook-air 2026-09-05:\n\n    | | |\n    |---|---|\n    | claim push, claim-only diff, platform branch | **12.0s** |\n    | `osx-next` → `linux-next` relay gaps, last 9 | **19m – 2h02m** |\n    | time since the last relay, when this was written | **6h28m** |\n    | this host's own claims still unseen on `linux-next` | **1h55m, 2h11m** |\n\n    At that moment `origin\u002Flinux-next` folded 1034-whsp to `ready` while the\n    claiming host held it `in_progress`. A second host reading its own fold is\n    reading a state that can be hours stale, and 814-iyu7 (two hosts, 1009-gccx,\n    claims 5m14s apart) is what that costs.\n\n    So `check-claims-across-branches.sh` folds every sibling branch's ledger and\n    exits 1 with `claimed-elsewhere:\u003Cpacket>:\u003Cbranch>`. **One fetch, ~1s.** It is\n    NOT a lock: two hosts claiming inside the same fetch still collide, and the\n    timestamp rule below still arbitrates. It turns an hours-wide race into a\n    seconds-wide one. `blocked:` from it means STOP — it could not see the\n    siblings, which is not the same as nobody holding the packet.\n\n    **The claim commit must contain the claim fragment and NOTHING else**\n    (1034-whsp, yoga): anything else in the outgoing diff takes the push off the\n    plan-only lane and onto a full gate, ~250s instead of ~6.5s. Note that on a\n    platform branch the pre-push gate will first demand a merge of\n    `origin\u002Flinux-next`; that is expected, and the lane is merge-aware, so\n    re-push after merging rather than reaching for `--no-verify`.\n\n    `$agent_id` is the §1.4 helper output (`scripts\u002Fagent-identity.sh id\n    \u003Cbackend>`) — if the helper refused, there is no identity to claim with, and\n    nothing may be appended or pushed.\n\n    **This is the whole separation mechanism, and it is the ONLY one.**\n    `plan_next` \u002F `plan_ready` \u002F `select-work-batch.sh` filter to `unleased`,\n    and *leased* means exactly `status: in_progress`. Nothing else — not a\n    `claim` event, not a lease ID, not a work-queue line — hides a packet from\n    another host.\n\n    **Push it BEFORE the work, not with it. An unpushed claim separates\n    nobody**, and neither does one that lands after you have already spent the\n    cycle implementing.\n\n    CORRECTED 2026-08-31 (order 943-unii). This step used to say *\"Emit Claim\n    Event: append a `claim` event … using `tillandsias-plan append-event\n    \u003Cpacket-id> claim …`\"*, committed and pushed WITH the cycle's work. That\n    recipe changes no status, so a packet claimed that way stays `ready` and\n    stays offered to every other host. It is an AUDIT RECORD, not a claim.\n\n    Measured on the live ledger: packet 245 carried **43** claim events and was\n    still returned by `ready linux`. `expire-claims` reported `in_progress=0`\n    fleet-wide on 2026-08-19 — nothing had ever been claimed at all. On\n    2026-08-18 two hosts implemented 798-tk7b six minutes apart, ~4h duplicated\n    (order 814-iyu7); that is the failure this recipe left open, and one worker\n    host followed it for nineteen consecutive cycles without claiming anything.\n\n    Verified again when this correction was written, on this repository:\n    `set-field … in_progress` moved the selector's `eligible` count 174 → 173\n    and dropped the packet out of both `ready linux` and the printed batch, in\n    the same command. That is the positive control — the mechanism was never\n    broken, it was simply not being invoked.\n\n    `methodology\u002Fdistributed-work.yaml` (*\"a `claim` event changes status from\n    ready to in_progress\"*) and `skills\u002Fmeta-orchestration\u002FSKILL.md` (*\"Cycle\n    batch triage\"*) both already specified the recipe above. This section was\n    the outlier, and it was the one every worker host runs every cycle.\n\n2.  **Optionally add a narrative `claim` event too** — useful, never sufficient:\n\n    ```bash\n    tillandsias-plan append-event \u003Cpacket-id> claim \"\u003Cwhat this cycle intends>\" \\\n        --ts \"\u003CISO-8601-UTC>\" --agent \"$agent_id\" --host \"\u003Chost>\"\n    ```\n\n    If `append-event` refuses with `packet_id not found`, the packet lives only\n    in a fragment and that command cannot see it (600-c266) — write the event\n    block by hand in your own fragment, keyed under `events:`. **A `status`\n    change is different: never hand-author it, always use `tillandsias-plan\n    set-field`** (see §7.2), because a hand-written fragment that re-declares\n    the packet under `packets:` with a new status is a G-Set no-op — it parses,\n    validates, passes `tillandsias-plan check`, reads correctly in review, and\n    the fold discards it (635-i6vm).\n\n3.  **Collisions are arbitrated by TIMESTAMP, not by push rejection.**\n\n    The ledger is a CRDT, so two hosts can both claim in the same window and\n    both pushes can succeed. On your next fetch, if another host's claim for\n    that order carries an EARLIER timestamp (ties broken by lexicographically\n    smaller hostname), **you lost**: release yours back to `ready` and take the\n    next batch item.\n\n    Losing the race is normal and cheap. Both hosts writing is fine; both hosts\n    *continuing* is the defect, and is precisely 814-iyu7. A rejected push is a\n    weaker and later signal than the timestamp — a push can succeed and still\n    have lost — so do not wait for one.\n\n    **PUSH THE CLAIM ALONE, AND FIRST.** A claim is invisible to every other\n    host until it lands, so the claim commit must contain the claim fragment and\n    NOTHING else: no scaffolding, no ledger tidy-up, no scripts. Anything else in\n    the outgoing diff takes the push off the plan-only lane and onto the full\n    gate, and the window where two hosts both read `ready` is exactly that long.\n\n    MEASURED on yoga 2026-09-05, GNU grep, per push attempt:\n\n    | condition                                  | cost   |\n    |--------------------------------------------|--------|\n    | retry loop alone, no hooks                 | 18–56ms |\n    | claim-only push, gate stamp valid          | ~6.5s  |\n    | claim-only push, stamp stale (the rebase)  | ~14.1s |\n    | a push the plan-only lane REFUSES          | a full gate, ~250s |\n\n    The retry loop was never the cost. A rebase under a moving trunk invalidates\n    the stamp, so the middle row is the normal case during exactly the window\n    when collisions happen — and four attempts of it is about a minute of\n    invisibility, not the ten minutes of 1034-whsp. That incident required at\n    least one attempt on the bottom row, which the plan-only lane now prevents\n    for a claim-only diff (1056-5344, 1060-7mmm, 1013-xm63 hardened that lane on\n    2026-09-05). Keep the claim commit clean and you stay off the bottom row.\n\n    **WHEN YOU DISCOVER A LANDED DUPLICATE — you lost even if the rule says you\n    won.** The timestamp rule decides who CONTINUES, never who overwrites a\n    landed, measured result. If the other host has already landed the work:\n\n    - Concede. Do not re-land, do not revert theirs. Re-landing is the\n      duplication the rule exists to prevent, one step later.\n    - Record YOUR measurement on the packet as a second observation. Two hosts\n      measuring the same change independently is worth more than the hours it\n      cost, and it is the only salvage available.\n    - Say plainly in the event that you lost the race and on what timestamp, so\n      the next reader does not reconstruct it from commit order — which is the\n      weaker signal, and can disagree.\n\n    Yoga did exactly this on 1009-gccx: its claim was 5m14s EARLIER and it still\n    conceded, because lenovinha had landed and measured. That reading is the\n    ruling, not a courtesy.\n\n4.  **Release on exit — a CLAIM is released unconditionally, a ROW is closed.**\n\n    These are two different operations on the same field and the difference is\n    the whole of this step. FINISHED work moves to its TERMINAL status (§7.2).\n    Only work you did NOT finish goes back to `ready`, **in the same cycle you\n    abandon it**.\n\n    **PUT FIRST THE BLOCK WHOSE MIS-COPY FAILS LOUD** — that is why the\n    terminal form is above the release form, and it is a SAFETY property rather\n    than a style choice, so do not reorder these on frequency. Copying `ready`\n    onto finished work is SILENT: the row advertises completed work to the whole\n    fleet and nothing objects. Copying `completed` onto unfinished work is\n    REFUSED by 650-dq6u, which wants a SHA and a named check result and cannot\n    be satisfied by fabrication. Frequency argues the other way and frequency is\n    the trap: MEASURED on macbookair 2026-09-15 and reproduced independently on\n    macuahuitl over all 76 `host: macos` fragments, cycle-end writes run `ready`\n    12 to `completed` 3, because a host draining multi-slice packets mostly ends\n    unfinished. A future editor who finds that ratio and helpfully reverses\n    these two blocks would be right about the frequency and wrong about the\n    risk.\n\n    FINISHED — the row is closed, and the gate will not let you fake it:\n\n    ```bash\n    tillandsias-plan set-field \u003Cpacket-id> status completed \\\n        --evidence \"\u003Csha> + \u003Cnamed check and its result>\" \\\n        --reason \"closed at cycle end: \u003Cwhat the evidence shows>\"\n    ```\n\n    UNFINISHED — the claim is released, and the row stays open honestly:\n\n    ```bash\n    tillandsias-plan set-field \u003Cpacket-id> status ready \\\n        --reason \"released unclaimed at cycle end: \u003Cwhat remains>\"\n    ```\n\n    Leaving it `in_progress` hides it from `ready` AND from burndown until the\n    24h reaper — 21 packets were stranded that way on 2026-08-09 (641-e2qa).\n    **Claiming is only safe because releasing is unconditional.** A cycle that\n    claims and then exits without either completing or releasing has taken work\n    away from the fleet and given nothing back.\n\n    **BUT `ready` IS NOT THE RELEASE VALUE — IT IS THE UNFINISHED VALUE.**\n    MEASURED on macbookair 2026-09-15: this step's heading read \"Release on\n    exit, unconditionally\", they applied it literally to work that was finished\n    AND LANDED, and flipped 1201-t6ms from `in_progress` back to `ready`. The\n    qualifier was already in the body — it is the sentence above — but the\n    IMPERATIVE IS WHAT GETS APPLIED, and \"unconditionally\" is exactly the word\n    that makes a reader skip the distinction underneath it. The row then\n    advertised finished work to the whole fleet through `plan_next` until the\n    coordinator's stale-ready sweep surfaced it (`stale-candidate:1201-t6ms`).\n    That is the mirror of the 641-e2qa stranding this step exists to prevent:\n    one hides finished work as unfinished, the other offers it as available,\n    and both cost a host a cycle. Ask which of the two states you are in before\n    you write the field, and note that a row with claimable work REMAINING is\n    correctly `ready` and correctly claimed-and-released at once — those are\n    not in tension.\n\n    **A RULE WRITTEN FROM ONE FAILURE MODE READS AS ABSOLUTE ABOUT THE OTHER**\n    (macbookair, 2026-09-15). That is why \"unconditionally\" was written here by\n    someone who was also being careful: this step was built from 641-e2qa, saw\n    only the stranding direction, and stated its remedy without a boundary.\n    What is being corrected is not carelessness — it is a structure that\n    DEFEATS care, which is the only kind of correction worth making to a rule\n    that careful people were already following.\n\n5.  **The reaper is a backstop for a dead host, not your return path.**\n\n    A claim with no event by cycle end is *reclaimable* after **24h** by\n    `scripts\u002Freclaim-stranded-claims.sh` — read the verb: reclaim**able**, not\n    reclaimed. The TTL is 24h (`TTL_HOURS=24`, \"the fleet claim TTL\";\n    `expire-claims` reports `ttl_hours=24`). **No automation runs either tool:**\n    the reaper has no caller outside its own source and fixture, and `build.sh`\n    only shape-checks `expire-claims --list-live`.\n\n    THAT IS DELIBERATE, NOT A GAP. `skills\u002Fmeta-orchestration\u002FSKILL.md` gives\n    the coordinator a per-cycle stranded sweep that REPORTS and does not reap,\n    and says why: *\"Advisory, never a gate… Do not bulk-close what it reports.\n    Closing a packet requires checking its exit criteria against the tree;\n    guessing marks unfinished work done, which is strictly worse than leaving it\n    stranded.\"* A packet legitimately in flight is indistinguishable from one\n    abandoned an hour ago, so the discrimination is human judgement by design.\n\n    Which is exactly why step 4 is yours. If hosts released on exit, the reaper\n    would have nothing to find; the 3-of-5 stranded rate measured on 2026-08-30\n    is a symptom of hosts not releasing, not of a reaper that fails to run.\n\n### 3.1 — The positive control on the claim (2026-09-13)\n\nA claim is a PUSHED status flip. Nothing else separates hosts: not the claim\nevent, not a message to the coordinator, not a division of work agreed with a\npeer. lenovinha's 1130-8zxn sat `ready` on every other host's plan_next for\nhours while the fix was finished on lenovinha, because the claim was an\n`append-event` (943-unii) and then an unpushed flip — \"the cycle felt claimed\"\nwhile the one mechanical signal a selector reads was absent. yoga and yolanda\nskipped it on direct knowledge, which does not scale.\n\nAfter the flip is PUSHED, run the control:\n\n```bash\ngit pull && scripts\u002Fcheck-claim-confirmed.sh \u003Corder> --host \u003Cyour-host>   # ok:claim-confirmed:\u003Corder>:\u003Chost>@\u003Cts>\n```\n\n`refused:no-live-claim` means the claim did not take (unpushed, wrong field,\nrefused by the ladder): fix that before starting the work.\n`refused:claim-lost:…:earlier=\u003Chost>@\u003Cts>` means another host claimed first\nby claim-event `ts`: yield and take the next item (1370-tjme). The former\ncontrol, `next \u003Crole> | grep -c \u003Corder>` → 0, printed 0 for the loser of a\nrace too, because any host's claim hides the row. A host whose push is blocked reports the blocker with the\ncommitted SHA and the coordinator pushes the flip on its behalf.\n\n## 4 — Host Write Scope & Unblock-with-NOOP\n\nEach host has a primary write scope. You can READ everything; you should normally only WRITE within your scope:\n\n| Host    | Primary write scope |\n|---------|---------------------|\n| Linux   | `crates\u002Ftillandsias-{headless,podman,control-wire,core,metrics,logging,vault-client}\u002F`, `scripts\u002Fforge-diagnostics-*`, `scripts\u002Fdistill-*`, `images\u002F`, `openspec\u002Flitmus-tests\u002F`, most `plan\u002Fissues\u002F` |\n| macOS   | `crates\u002Ftillandsias-macos-tray\u002F`, `crates\u002Ftillandsias-vm-layer\u002Fsrc\u002F{vz,transport_macos,materialize\u002Fmacos}.rs`, `scripts\u002Finstall-macos*`, `scripts\u002Fbuild-macos*` |\n| Windows | `crates\u002Ftillandsias-windows-tray\u002F`, `crates\u002Ftillandsias-vm-layer\u002Fsrc\u002F{wsl,materialize\u002Fwindows}.rs`, `scripts\u002Finstall-windows*`, `scripts\u002Ftray-diagnose.ps1`, host-shell pty windows files |\n\nCross-host shared scope (any host may write, but COORDINATE via the ledger first): `crates\u002Ftillandsias-control-wire\u002F` (wire format — WIRE_VERSION must not break), `crates\u002Ftillandsias-host-shell\u002F`, `methodology\u002F`, `openspec\u002Fspecs\u002F`, top-level docs.\n\n### Unblock-with-NOOP Rule\nIf your work needs a function\u002Ftype\u002Ffile that lives in a sibling-owned scope and doesn't exist yet, you MAY add a **minimal stub** there to unblock yourself. Mark it explicitly:\n```rust\n\u002F\u002F PLEASE REVIEW: \u003Csibling-host> — minimal stub to unblock \u003Cyour-work>.\n\u002F\u002F Owner: replace with the real implementation and add a brief\n\u002F\u002F `\u002F\u002F DEPRECATED: superseded by \u003Cnew-name>` comment here for one\n\u002F\u002F release cycle so callers can migrate.\npub fn placeholder() -> Result\u003C(), String> {\n    \u002F\u002F TODO(\u003Csibling-host>): implement\n    Err(\"not yet implemented\".to_string())\n}\n```\nCite the unblock in your commit body (`unblock-noop: \u003Cpath>:\u003Cline>`) so the sibling host can find it on their next cycle. Keep the stub tiny — one function, one error, no business logic.\n\n---\n\n## 5 — Execute + Verify\n\n```bash\ncargo fmt --all\n.\u002Fbuild.sh --check\ncargo test -p \u003Ccrate-you-touched>      # targeted, fast\n.\u002Fbuild.sh --test                       # cross-cutting changes only\n```\n\nHard rules:\n- **Detach any gate longer than a couple of minutes from the harness, and\n  never launch one by hand inside a WSL distro.** The harness reaps its own\n  `run_in_background` waiters under memory pressure: on macuahuitl two\n  polling loops were killed mid-`.\u002Fbuild.sh --check` with \"the system is\n  running low on memory\" while `free` showed 53 GiB — the `setsid nohup` job\n  survived both, a Monitor task on the same log survived. Launch it detached\n  from a script FILE and watch the log with Monitor, never a background shell.\n  **THE DETACH FORM IS PLATFORM-SPECIFIC — `setsid` DOES NOT EXIST ON macOS**\n  (macneo, 2026-09-15, where the prescribed line failed outright on both Macs\n  in the fleet):\n\n  ```bash\n  # The gate script writes its OWN log (so the Monitor sees it grow), and the\n  # agent door writes ONE JSON verdict to a separate status file (1260-2qgi).\n  #   \u003Cscript-file>:  exec .\u002Fbuild.sh --check > gate.log 2>&1\n  # linux\n  setsid nohup tillandsias-plan run --json --timeout-ms 5400000 -- bash \u003Cscript-file> \\\n      \u003C \u002Fdev\u002Fnull > gate.status 2>&1 &\n  # macos — no setsid; disown detaches from the job table\n  nohup tillandsias-plan run --json --timeout-ms 5400000 -- bash \u003Cscript-file> \\\n      \u003C \u002Fdev\u002Fnull > gate.status 2>&1 & disown\n  ```\n\n  THE VERDICT IS `status` IN gate.status, NEVER AN INTEGER YOU COMPOSED\n  (methodology\u002Fconvergence.yaml -> status_channel_policy, 1260-2qgi). The old\n  recipe ended the script with `echo \"rc=$?\"`, and that line lied twice: a gate\n  KILLED mid-run printed `rc=137`, an integer indistinguishable from a red,\n  and `$?` after a pipe was the LAST stage's (a failed push read as 0). The\n  door's record is `\"status\":\"exited\"` with `code` for a real exit, and\n  `signaled` \u002F `timed_out` \u002F `spawn_failed` \u002F `no_status` \u002F `policy_denied`,\n  with `code` null, when no exit status exists. Those are ABSENT, not red:\n  re-run, never report green, never push on them. A gate.status with NO record\n  means the door itself died, which is also absent.\n\n  `--timeout-ms` IS NOT OPTIONAL: the door's default deadline is 300 s, which\n  would kill every full gate at five minutes. 0 means no deadline; the\n  explicit ceiling above is the safer choice, so a wedged gate still ends.\n\n  Both load-bearing details are unchanged on either platform: a script FILE\n  rather than an inline command (an inline one re-exposes the sibling-match\n  trap, where a pgrep\u002Fkill pattern carried in the same command matches itself;\n  the door refuses command strings anyway), and a log the Monitor can watch. This recipe was written\n  from Linux measurements and prescribed fleet-wide for weeks before a Mac ran\n  it — a remedy measured on one regime is a property of that regime until a\n  second one executes it. On Windows invoke from Git Bash so `with-wsl2-builder.sh`\n  re-execs and exports its ext4 `CARGO_TARGET_DIR`; esme launched inside the\n  distro to dodge the reaper, compiled against `.\u002Ftarget` on drvfs for\n  4050 s, and published a false ERROR and a tier ratio that were both the\n  bypass (drill: plan\u002Fissues\u002Ffleet-restart-2026-09-12.md, The agent harness kills its own background waiters under memory pressure during a gate).\n- **Poll the detached gate log's mtime, not only for a verdict token.**\n  macbookair reported a dead land as \"slow\" twice before adopting this: a\n  hung gate never prints `ok:` or `refused:`, so \"still gating\" and \"dead\"\n  are indistinguishable to a watcher that greps only for those. Watch the log\n  under Monitor and report STALL when it goes five minutes without\n  advancing. Before relaunching, look for a surviving process — killing the\n  host-side wrapper reaps only the wrapper, and the container-side\n  `build.sh` outlives it (drill: plan\u002Fissues\u002Ffleet-restart-2026-09-12.md, Watch a gate for a stall, not only for a verdict).\n- **Never bypass the idiomatic-podman layer.** The test `idiomatic_podman_launch_paths_do_not_bypass_shared_layer` enforces routing through `PodmanClient` — no direct `Command::new(\"podman\")` in production launch paths.\n- **Develop THROUGH the idiomatic layers — no ssh\u002Froot\u002Fside channels into the guest.** The control wire \u002F `--diagnose` \u002F ExecOneShot \u002F PTY-attach (+`TILLANDSIAS_PTY_DEBUG` tee) surfaces are the ONLY sanctioned guest access, for forensics and debugging exactly as for runtime. A task the layer cannot do is a product gap: file a packet extending the layer instead of side-stepping. Root exec anywhere in guest\u002Fforge is a finding, not a tool. Canonical: `methodology\u002Fmulti-host-development.yaml` `idiomatic_layers_for_agents` (The Tlatoāni, 2026-07-10, order 271).\n- **Container security flags are non-negotiable**: `--cap-drop=ALL`, `--security-opt=no-new-privileges`, `--userns=keep-id`, `--rm`.\n- **Pre-commit hooks and release signing** are not optional.\n- **Acquire the smoke lock for source-mutating migrations**: Destructive, file-moving, or source-mutating directory migrations (e.g., file-restructuring tasks) MUST run under the shared smoke lock `build-install-smoke-e2e` (using `scripts\u002Fwith-smoke-lock.sh`) or a corresponding lease, so that concurrent E2E gates do not read or execute from a half-migrated or half-restructured tree.\n\n- **Check and test with the gate's feature set, and quote the set beside the\n  count.** `cargo check -p tillandsias-headless --features tray` does NOT\n  compile the vsock surfaces (vsock_server.rs, vsock_client.rs, the\n  control_dispatch.rs arms behind `listen-vsock`); on 2026-09-04 macbookair\n  spent six rounds getting truthful zero-error results about code the check was\n  not compiling, and every \"588 passed\" it reported that day was the same suite\n  under `--features tray` — the gate's set, `--features tray,listen-vsock`, runs\n  635. A count whose denominator depends on flags nobody states is not\n  falsifiable; \"635 passed under tray,listen-vsock\" is. Use the gate's set, and\n  write the set next to the number in every claim.\n\n- **`cargo test -p \u003Ccrate> \u003Cfilter>` takes a substring, not a regex.** `\"a|b\"`\n  matches neither `a` nor `b`: a falsification pass on macbookair (2026-09-12)\n  selected ZERO tests with a regex-shaped filter and still printed `test\n  result: ok`. Quote the selection beside every targeted-test claim — read the\n  `N passed; M filtered out` line, or list the tests first — so a zero cannot\n  hide behind a green (drill: plan\u002Fissues\u002Ffleet-restart-2026-09-12.md, First autonomous-drain stories).\n\n- **`.\u002Fbuild.sh --check` runs no litmus (748-tkjx); run the bound spec before\n  landing on any surface a litmus covers.** On 2026-09-04 lenovinha ran the\n  gate four times green over gate-stamp.sh and landed a change whose guard,\n  `litmus:mode-only-regression-gate`, states in its own arm text why that exact\n  change deadlocked every Windows host once (889-8tcb); the daily release gate\n  and the coordinator's union litmus were the first places it could go red.\n  \"My gate was green\" is evidence about the gate's lane, not about the change:\n  `scripts\u002Frun-litmus-test.sh --diff-scope origin\u002Flinux-next --compact` (or the\n  bound spec by name) before the land, not after.\n\n- **The gate pass token gates the STAMP, never the PUSH (1039-b64k).** A push\n  needs a *stamp* whose digest matches the tree being pushed; the pre-push hook\n  calls `gate-stamp.sh verify`, which compares recorded-vs-computed digest and\n  nothing else. `\u003Cgit-dir>\u002Ftillandsias-gate-pass-token` is minted by a green\n  `build.sh` and consumed by `gate-stamp.sh write`, so an unearned stamp is\n  impossible by accident (940-f77j) — but no branch of the hook reads it. Two\n  consequences worth knowing before you debug a refused push: a **memoised**\n  gate mints no token and writes no stamp and still pushes fine, because the\n  existing stamp covers the unchanged tree; and a fix that adds or moves the\n  token cannot affect a push at all. 1039-b64k was filed with a remedy resting\n  on the opposite belief, and the remedy was dropped once the push path was\n  actually read rather than inferred from the packet.\n\n- **After a gate run, rebuild before exercising a feature-gated path\n  (1031-q4pb).** `.\u002Fbuild.sh --check` rebuilds `target\u002Fdebug\u002Ftillandsias`\n  WITHOUT `--features tray`, so a control arm that drives a `#[cfg(feature =\n  \"tray\")]` surface after a gate is exercising a binary in which the code under\n  test does not exist. On 2026-09-04 that turned a working control into a hang;\n  had the absent path fallen through to success instead, it would have been a\n  green arm for absent code. `cargo build -p \u003Ccrate> --features \u003Cfeature>`\n  immediately before the arm, every time — a gate silently replaces the binary.\n\n- **Read a file's own comments before concluding a failure is novel\n  (yolanda, 2026-09-04).** yolanda spent ~40 minutes and four gate runs\n  rediscovering the Windows drvfs deadlock from scratch — the mechanism, the\n  memo amplifier, and the measurement — all of which were already written eighty\n  lines above the line being debugged, in `gate-stamp.sh`'s `compute`, from\n  order 889-8tcb. They had read the file three times during the diagnosis, each\n  time for a different question, and never the paragraph directly above the\n  suspicious line. A file that has been bitten before usually says so, and this\n  project records that more reliably than most. (The defect being rediscovered\n  was lenovinha's 1034-ihxw, landed against that same warning — so the two\n  halves of this lesson are one event.)\n\n- **Quoted history lives in comments; guards scan declarations.** A codebase\n  that explains itself contains the strings it forbids (a doc comment names the\n  identifier it replaced, a narrowing quotes the sentence it narrowed), so a\n  class guard that scans for a bare substring fails on its own file the day it\n  is written. Scan declarations (`pub old_name:`, `fn old_name`) and assemble\n  the needles at runtime (`format!(\"pub vm_{}_live:\", \"owner\")`) so the guard\n  cannot match its own source; keep the quoted history where it explains the\n  change. Named by macneo on 980-ja2m, 2026-09-04, after its first class guard\n  went red on its own doc comments.\n\n- **A gate run silently replaces the binary without the tray feature.**\n  `.\u002Fbuild.sh --check` rebuilds `target\u002Fdebug\u002Ftillandsias` without `--features\n  tray`; every order-505 site and much of the tray surface is\n  `#[cfg(feature = \"tray\")]`, so a control arm run after a gate can exercise a\n  binary in which the code under test does not exist. On 2026-09-04 lenovinha's\n  arms hung against such a binary, which was luck: an absent path falling\n  through to success is a green arm for absent code. Build with the feature\n  set the change needs (`cargo build --features tray,listen-vsock`) immediately\n  before any live control arm, and quote the feature set beside the arm.\n\n- **A control variable set outside the builder does not reach cargo inside it.**\n  `scripts\u002Fwith-tillandsias-builder.sh` forwards only `TILLANDSIAS_*`, `LITMUS_*`,\n  `FORGE_*`, `NIX_*`, `CONTAINER_HOST` and `DOCKER_HOST` into the toolbox, and\n  `with-wsl2-builder.sh` forwards only `TILLANDSIAS_*` across wsl.exe; on\n  2026-09-05 `CARGO_BUILD_JOBS=10` was UNSET inside the builder on both Linux and\n  Windows, so a \"ten-job arm\" ran at twenty and would have reported a confident\n  null. A build setting must be applied inside the build scripts, or forwarded by\n  name with a probe that proves it arrived (`with-tillandsias-builder.sh bash -c\n  'echo ${VAR:-UNSET}'`) before any measurement is read.\n\n- **A stamp-dependent litmus arm must declare its skip to the harness, or it is red on every merged union.** `expected_behavior` is an exact match; a test that honestly prints `skip: no warm stamp` under it reads as a wrong answer, and a merged union has by definition changed since the last gate, so the red recurs in every coordinate cycle (1036-e5w9's closure, 2026-09-05: 290\u002F291 on the union). Split the arm: the invariance half with no precondition, which can never skip; the memo half under a `success_pattern` regex that admits the ok form and a self-naming `skip:\u003Corder>:\u003Creason>` token; and a control that would go red if the memo were made to refuse always. Never widen the expectation until the skip passes: that is a green that asserts nothing (1041-up99).\n\n- **On Windows, name the runner beside a test count: native cargo or the gate's WSL re-exec.** A `cfg(all(test, unix))` module reports \"7 passed\" natively while three of its tests are broken, because the broken ones were never compiled; only the WSL re-exec runs them (972-umik commit B, 2026-09-05). Windows-native cargo output is not evidence about a unix-cfg module. And a litmus verdict from a Windows host before df5708607 (1049-s35z) is unearned: CRLF from jq.exe made bound tests unfindable, and the runner counted the skips as PASS.\n\n- **Under the relay protocol, `git pull --rebase` on linux-next fuses the two lanes.** (Since 1315-4a7j a `work\u002F\u003Corder>` ref is UNGATED — it is where a host works, not a gated hand-off; the lane separation below still holds, and the coordinator's relay still lands a work ref a host cannot open a PR for.) A slow-gate host pushes code to `work\u002F\u003Corder>` for the coordinator to relay-land and pushes ledger fragments directly through the plan-only lane. If both commits exist on the same local linux-next, a rebase carries the code into the \"plan-only\" push and the hook refuses it (`plan-only lane: not applicable — … outside plan\u002Findex.d\u002F`), which is correct; the refusal's output offers `git push --no-verify`, which would push the violation through. Never use it. After a `work\u002F` push, reset local linux-next to `origin\u002Flinux-next` before starting plan-only work, so the lanes never share a branch; if they already do, reset to trunk and cherry-pick the fragment commit alone after confirming the `work\u002F` ref is safe on origin (lenovinha, 2026-09-05, 1059-pb2j).\n\n- **Relay-lane order is fetch, rebase, gate, push; and never sequence a destructive git command after a push in the same block.** Gating before the rebase invalidates the stamp and the hook refuses correctly (lenovinha, 2026-09-05). And `git push && …` is not enough when the push is refused by a hook that exits non-zero only sometimes: a `git reset --hard` placed after a push in one block ran on a refused push and discarded a commit that existed nowhere else, recovered from the reflog. Under the relay protocol a `work\u002F` push is followed by a reset to keep the lanes apart, which makes this likelier: read the push's verdict line, then reset in a separate command.\n\n- **Ledger prose is data, and the shell will execute it if you let it.** On 2026-09-05 a host wrote an event whose prose quoted a litmus line in backticks; the write path command-substituted them and a truncated two-argument `cp` overwrote a gate instrument in the working tree, silently (1063-363b, reframed). Write every event summary to a file through a quoted heredoc and pass `--summary-file`; never an inline `--summary \"…\"` or an unquoted heredoc; quote a shell fragment whole or describe it in words. And report every timestamp to a peer in UTC with the Z (`date -u`, `stat --time-style=+%FT%TZ`): a bare `stat` mtime is local time and sent a pristine-clone probe eight hours from the event.\n- **A ledger-only push from a platform branch is only ledger-only if the outgoing diff says so.** The lane judges the diff against the remote, not your last commit: an unpushed set that still carries code already relayed to trunk is declined, correctly. Before a plan-only push, confirm the code is safe on origin (`git branch -r --contains \u003Csha>`), rebuild the branch on `origin\u002F\u003Cbranch>`, re-apply only the fragments, then push (yolanda, 1055-6yp8 close, 2026-09-05). And a terminal event needs the status transition with it: a `completed` event beside status `ready` folds as ready and the packet stays claimable forever; the fragment-status-loss guard catches it, and `set-field --evidence` is the path that derives the rung from the status.\n\n- **A binding assembled from a variable is invisible to every name-based scan.** Wiring fixtures into `build.sh` with `for f in a b c; do _run bash \"$DIR\u002Ftest-${f}.sh\"; done` runs them correctly and leaves the orphan count unchanged: the bound-or-retired guard, a `grep` for the fixture's name, and a human all fail to find the reference. A binding nobody can find is the defect the wiring was meant to fix, in a tidier form. Write the literal path once per fixture, and re-count after wiring rather than assuming it worked (lenovinha, 1063-nraf, 2026-09-05: 26 orphans stayed 26 through a loop and dropped to 15 with literal names).\n- **A green exit code is not evidence that a fixture belongs in a gate.** Of 26 orphaned fixtures, 20 passed locally and 11 of those were still unsafe to bind; an adversarial second read reversed four dispositions from the first read, every one toward caution. Run each fixture, hand the exit codes to the reader as evidence, then have a second reader attack the proposal with the burden on the proposer, and retire only on pins-nothing or duplicate-entrypoint, never on subject-is-gone.\n\n- **Never amend a landed fragment, not even to satisfy a guard — write a correction fragment.** A fragment is append-only and immutable once written, and the author may still be holding it: on 2026-09-05 the coordinator added a missing `unscoreable:` block to three landed fragments after checking origin and finding no conflict, while their author did the same on their own host; git combined both additively, each file gained two `unscoreable:` keys, the fragments stopped parsing and their events orphaned. Checking trunk is not a safeguard, because trunk is the relay-interval-stale view (1034-whsp measured 19 minutes to two hours). A correction fragment composes under the CRDT; an in-place amendment cannot. When a guard's shape forces the in-place edit — it reads the declaring fragment's bytes rather than the folded packet — that is a defect in the guard and it is filed, not worked around.\n\n---\n\n## 6 — Commit, Push & Checkpoint\n\n1.  **Durable Checkpointing**: At meaningful milestones (every 30–45 minutes), write an `agent_status_packet` as a `progress` or `checkpoint` event to a `plan\u002Findex.d\u002F` fragment via `tillandsias-plan append-event \u003Cpacket-id> progress ...` or fragment file, and push it through the plan-only lane (`scripts\u002Fpush-plan-fragments-to-trunk.sh`) — the fragment lives on trunk, not on the work ref.\n    -   *Schema requirement*: Include current plan, touched files, partial evidence, and next checkpoint.\n2.  **targeted git add, then push the WORK REF** (1317-9ugn; methodology `work_ref_lane`):\n    ```bash\n    git add \u003Cspecific-files>      # NEVER `git add -A` (cross-host churn)\n    git commit -m \"\u003Cslice-message>\"   # cite trace + plan packet + any unblock-noop\n    git push -u origin work\u002F\u003Corder>   # ungated: no stamp, no trunk merge, the deciders warn\n    ```\n    Push after every commit if you like. A work ref never races anyone: the\n    \"remote moved, retrying\" loop belongs to pushes at the shared branch, and a\n    work ref has one writer. If the hook prints `warn:pre-push:\u003Cdecider>:` the\n    decider found something you will have to fix before the landing; fix it in\n    the next commit, the push already went through.\n\n    MIGRATION, NOT ENFORCEMENT (operator, 2026-09-20): a gated push straight to\n    `\u003Cactive-branch>` still lands today, and the hook's refusals carry the same\n    affordance join-the-fleet §3 teaches; it will be refused later, once\n    `scripts\u002Flua\u002Fcheck-landing-provenance.lua` measures that most landings arrive\n    through the queue, and that flip is the operator's decision on a number.\n\n### Integration Verification Gate (run ONCE per unit of work, BEFORE the PR leaves draft)\n\nThis gate is **non-negotiable**. The shared trunk has been broken twice by agents\npushing an un-revalidated post-integration tree: a duplicate `#[test]` definition\n(E0428) and an orphan `>>>>>>>` conflict marker left inside `plan\u002Findex.yaml`.\n`.\u002Fbuild.sh --check` alone does NOT catch the YAML class — `plan\u002F`\u002F`openspec\u002F`\nfiles are data, not compiled. The landing queue re-runs the gate at FULL on\nthe merged candidate (1316-bnzt), so this run is what keeps your PR from being\nevicted, not what lands it. A merge of trunk into the work ref is only \"done\"\nwhen ALL of these pass on the merged tree:\n\n```bash\n# Bring trunk into the WORK REF by MERGE. Never rebase a pushed ref, and never\n# rebase\u002Fcherry-pick published commits across branches (integration_strategy in\n# methodology\u002Fmulti-host-development.yaml). `git config rerere.enabled true`\n# (join-the-fleet §1) replays a resolution you already made.\ngit fetch origin && git merge --no-edit origin\u002Flinux-next\n\n# 1. No conflict markers survived the resolution (the orphan-marker bug).\n#    Markers are EXACTLY 7 chars then space\u002FEOL — do not match `=` separator lines:\ngit grep -nE '^(\u003C\u003C\u003C\u003C\u003C\u003C\u003C|=======|>>>>>>>)( |$)' && { echo \"CONFLICT MARKER PRESENT\"; exit 1; } || true\n\n# 2. Every touched YAML still parses (the broken-plan\u002Findex.yaml bug — `build\n#    --check` does NOT validate data files, so this step is what catches it):\n#    PICK THE VALIDATOR THAT EXISTS WHERE YOU ARE. `ruby` is NOT in the forge\n#    image; `yq` is. Hosts usually have both. `python3` is present in the forge\n#    and is FORBIDDEN for committed automation (tlatoani_hard_no_python) — its\n#    presence is not permission, and it is the trap this fallback chain exists\n#    to keep you out of.\n#    ORDER 560: the plan binary is the validator every regime already has\n#    (Windows hosts have no ruby and often no yq). It must parse THE FILE:\n#    `tillandsias-plan check` ignores its argument and exits 0 on a malformed\n#    file, so a yamlcheck built on it can never fail. Resolved through the\n#    shared probe, because the binary is usually not on PATH.\n_yc_plan=\"$( . scripts\u002Fplan-binary-probe.sh 2>\u002Fdev\u002Fnull && resolve_plan_binary 2>\u002Fdev\u002Fnull )\" || _yc_plan=\"\"\nif command -v tillandsias-policy >\u002Fdev\u002Fnull 2>&1; then\n  yamlcheck() { tillandsias-policy validate-yaml \"$1\"; }\nelif [ -n \"$_yc_plan\" ]; then\n  yamlcheck() { \"$_yc_plan\" validate-yaml \"$1\" >\u002Fdev\u002Fnull; }\nelif command -v yq >\u002Fdev\u002Fnull 2>&1; then\n  yamlcheck() { yq . \"$1\" >\u002Fdev\u002Fnull; }\nelif command -v ruby >\u002Fdev\u002Fnull 2>&1; then\n  yamlcheck() { ruby -ryaml -e \"YAML.load_file('$1')\"; }\nelse\n  echo \"no sanctioned YAML validator available — do NOT substitute python3\"; exit 1\nfi\nfor y in $(git diff --name-only origin\u002Flinux-next..HEAD | grep -E '\\.ya?ml$'); do\n  yamlcheck \"$y\" || { echo \"INVALID YAML: $y\"; exit 1; }\ndone\n\n# 3. Code still compiles — clippy + cargo catch the duplicate-item E0428 directly\n#    (also pinned by litmus:no-duplicate-rust-item-defs in the --ci-full suite):\n.\u002Fbuild.sh --check\n\n# Only now: push the work ref, open the PR as a draft, and mark it ready once\n# the closure evidence is on the row. The landing queue integrates it ONCE.\ngit push origin work\u002F\u003Corder>\ngh pr create --base linux-next --head work\u002F\u003Corder> --draft --fill\ngh pr ready \u003Cpr-number>        # after the row carries the closure evidence\n```\n\nIf any step fails, FIX it in the next commit — **never mark ready a tree that\nfailed this gate.** A candidate that fails at the landing is evicted and costs\nthe queue a full gate; the gate here is the price of a landing that goes\nthrough first time. If your host's token cannot open pull requests (the fleet's\nfine-grained token lacks \"Pull requests: write\" as of 2026-09-20 — an operator\nask), push the work ref and send the coordinator its SHA: the relay lane lands\nit exactly as the queue would. Close by order only after the merge is on\n`origin\u002Flinux-next`.\n\n3.  **Durable Ledger Update**: Write a one-line outcome to your host's work-queue ledger (`plan\u002Fissues\u002F\u003Chost>-next-work-queue-*.md`):\n    ```\n    - 2026-MM-DDTHH:MMZ  \u003Ccommit-sha>  \u003Cone-line summary>\n    ```\n\n### Defer Rule\nIf the 2h integration cron fired in the last 10 min (check the latest `### Cycle` timestamp in `plan\u002Fissues\u002Fmulti-host-integration-loop-2026-05-24.md`), write a no-op ledger entry and exit. The cron's writes need to settle before another work commit lands.\n\n---\n\n## 7 — Submit Completion or Yield\n\n### Submit Completion\n\n**Long-running packets** (`multi_cycle: true` with `verification_required`):\nyou MUST NOT emit `completed` or flip status to `done` yourself, even with\nevery exit criterion implemented. Instead: append a `progress` event stating\nimplementation-complete, set `phase: verification`, update\n`progress_summary` and `plan\u002Flong-running.md` in the same commit, and leave\nstatus `ready`. The packet closes only when every agent named in\n`verification_required` has emitted passing `verified-by` events\n(`methodology\u002Fdistributed-work.yaml` → `long_running_packets`).\n\n0.  **Cycle Metrics**: Run `scripts\u002Fcycle-metrics.sh` and include its output in\n    your completion report. Read `verdict` first — it names the cycle's weakest\n    point. `attention:expert-answered-nothing-check-base-branch` means the\n    expert ARTIFACT is wrong (order 531), not that the questions were hard;\n    check the base branch before trusting any expert answer from this cycle.\n    Report `experts_substitution` as `unknown` — it is not derivable in-repo and\n    must never be estimated. Pass `--cycle-start \u003Cyour Start-Of-Cycle UTC>` so\n    `repeat:` measures this cycle, and read `skippable:` (printed right after\n    `timing:`) alongside `verdict:` — it names the expensive, outcome-invariant\n    steps this host keeps paying (order 1001-q3zf); quote `saved_ms_upper` as\n    the bound it is.\n0b. **Emit this cycle's flow record — EVERY cycle, on EVERY host.** Right after\n    the metrics run above and before Finalization commits:\n    ```bash\n    scripts\u002Fcycle-metrics.sh --emit-flow \\\n      host=\u003Cthis-host> \\\n      batch_epic=\u003Cfrom select-work-batch `batch: epic=`> \\\n      batch_seed=\u003Cfrom `batch: seed=`> \\\n      batch_size=\u003Cfrom `batch: size=`> \\\n      budget=\u003Cfrom `batch: budget=`> \\\n      claimed=\u003Cpackets this cycle claimed> \\\n      completed=\u003Cpackets this cycle completed> \\\n      filed=\u003Cnew packets\u002Fissues this cycle filed> \\\n      commits=\u003Cfrom cycle-metrics `repo: commits_this_cycle=`> \\\n      plan_open=\u003Copen packet count> plan_total=\u003Ctotal packet count>\n    ```\n    Best-effort by construction: the emit never fails the cycle it measures\n    (`methodology\u002Fagent-observability.yaml`), so a full disk or a read-only path\n    costs a record and nothing else.\n\n    **THIS INSTRUCTION USED TO EXIST ONLY IN `skills\u002Fmeta-orchestration`** — the\n    coordinator's skill, which one host runs on a schedule — and was absent\n    from THIS skill, which every worker host runs every cycle (943-7dn5). The\n    emitter shipped and passed its fixture; the CALL was never wired. Measured\n    on yoga 2026-09-06: 20 records, all from sessions that happened to run the\n    coordinator skill, newest 44h old, with 953 settled commits landed since.\n    `overhead_ratio` is what 689-zwzm gates its concurrency ramp on, and a ramp\n    gated on a metric nothing feeds either never lifts or lifts because the\n    absence reads as calm.\n\n    `scripts\u002Fcheck-cycle-flow-log-fresh.sh` refuses a log that no cycle has fed\n    while commits kept landing. It is bound to `litmus:cycle-flow-telemetry-shape`\n    rather than to `.\u002Fbuild.sh --check`, because every host's log is stale today\n    and a blocking gate step would refuse the whole fleet's landings at once.\n\n1.  **Full Verification**: Run the full validation litmus on your platform to confirm zero-drift compliance.\n2.  **Close the packet — BOTH the event and the status transition.**\n\n    **LAND THE CODE FIRST, then close with the SHA the landing printed.**\n    `scripts\u002Fland-on-platform-branch.sh` fetches, integrates onto origin and\n    REWRITES your commit, so a SHA captured before it is the pre-rebase local\n    one and never exists upstream. `ok:land:\u003Csha>` is the only SHA that exists.\n\n    **Never read a land or gate verdict through a pipe.** The shape above —\n    `landed=\"$(scripts\u002Fland-on-platform-branch.sh | sed -n '…')\"` — reports\n    `sed`'s exit status, not the land script's. Three false claims in one\n    hour on two Windows hosts came from exactly this shape (2026-09-12):\n    yolanda read `land-on-platform-branch.sh | tail -25` as exit 0 and told\n    two parties the land tool reports success over a refused gate. It had\n    exited 3 and named its gate log, and esme was about to file a row\n    against the tool for the bug its own header exists to prevent. Capture\n    first, then parse:\n\n    ```bash\n    land_out=\"$(scripts\u002Fland-on-platform-branch.sh 2>&1)\"; land_rc=$?\n    landed=\"$(printf '%s\\n' \"$land_out\" | sed -n 's\u002F^ok:land:\\([0-9a-f]*\\):.*\u002F\\1\u002Fp')\"\n    [ \"$land_rc\" -eq 0 ] && [ -n \"$landed\" ] || { echo \"land refused (rc=$land_rc): $land_out\"; exit 1; }\n    tillandsias-plan set-field \u003Cpacket-id> status completed \\\n      --evidence \"$landed\" \\\n      --reason \"\u003Cwhat shipped, validation log paths>\"\n    ```\n\n    `${PIPESTATUS[0]}` is not wrong, it is fragile: any intervening command\n    resets the array, and `a=$?` is the command everyone writes beside it.\n    Pinned by `litmus:land-verdict-through-a-pipe` (drill: plan\u002Fissues\u002Ffleet-restart-2026-09-12.md, What the pipe-verdict fixture found — extends the coordinator's rule entry below, which named this fixture as its follow-up).\n\n    Then commit and push the ledger fragment (step 3), which takes the\n    plan-only lane. **This inverts the old step 2\u002Fstep 4 order for the CODE\n    commit only** — every other ledger write keeps the 3c ordering.\n\n    **A `scripts\u002Fgate-steps.d\u002FNNN-*.step` prefix is ALLOCATED BY THE LAND\n    TOOL, not chosen by you (1162-qbrx).** Pick the slot you mean between its\n    neighbours and land with `scripts\u002Fland-on-platform-branch.sh`: after its\n    own integrate and before the gate it runs\n    `scripts\u002Fallocate-gate-step-prefix.sh --base origin\u002F\u003Cbranch> --commit`,\n    which moves a step THIS push adds — and only that — to the smallest free\n    integer below the next occupied prefix when the integrate brought in a\n    sibling's step with the same number, and commits the rename\n    (`gate-step-prefix: 280-\u003Corder>.step -> 281-\u003Corder>.step (280 taken by\n    …)`). The old advice, \"choose the prefix after the integrate\", cannot\n    close this race because the window is the gate itself: MEASURED\n    2026-09-13, lenovinha's 280 followed it exactly and still collided\n    against yoga's 900-z3kv landing mid-gate (215, 255 and 280 that night,\n    each a full re-gate; yoga's 205 the day before). Hand-rolled push? Run\n    the allocator yourself after your merge, before your gate. A\n    `refused:gate-step-prefix:no-gap` means every integer up to the next\n    occupied prefix is taken — renumber by hand so the step keeps its place.\n    Existing steps are never renumbered.\n\n    ORDER 1024-c3h3. This step used to run before the landing, and the evidence\n    refs were systematically wrong for every host that followed it: lenovinha\n    measured four of four closures citing ghosts on 2026-09-04 (5326cb97d,\n    d2ce890b2, 89f6960d2, 4aaa24ba2, while the code landed as dcc50ff27,\n    a20540d33, 42930b71c, 00549903c), and yoga's 1011-d578 cited 677c30527 the\n    same way. A reader running the obvious check\n    (`git merge-base --is-ancestor \u003Csha> origin\u002F\u003Cbranch>`) gets NO and **cannot\n    tell \"the code never landed\" from \"the ref was captured too early\"** — two\n    conditions needing opposite responses. That is 881-29me's shape with a SHA\n    instead of a line number: cite what survives the operation.\n\n    If you cannot capture the landed SHA, cite by content the rebase preserves\n    (the commit subject, a test name, a verdict line) and say that is what you\n    did. A wrong SHA is worse than no SHA, because it looks checkable.\n\n    An event alone does **not** close a packet. This step used to read *\"append\n    a `completed` event … or by writing an append-only fragment file setting\n    status `done`\"*, and **both of those branches are broken** — which is why\n    three hosts left finished work claimable on 2026-08-09:\n\n    - `append-event` locates packets by their item prefix in `plan\u002Findex.yaml`\n      and is blind to fragment-only packets (600-c266). It refuses them outright.\n    - Hand-writing a fragment that re-declares the packet under `packets:` with\n      a new status is a **G-Set no-op**. It parses, validates, passes\n      `tillandsias-plan check`, reads correctly in review — and the fold throws\n      it away. 11 of 21 completions were discarded that way (635-i6vm).\n    - Writing only a `type: completed` event leaves the status untouched. macOS\n      did this after a 5\u002F5-PASS validation with an evidence file; the packet was\n      still being handed out as work hours later.\n\n    `set-field` resolves against the folded ledger, writes the LWW channel\n    correctly, refuses an unknown reference, and reports a no-op instead of\n    writing one. Add a narrative `progress`\u002F`completed` event too if the detail\n    is worth keeping — but the status transition is what actually closes it.\n3.  **Commit & Push Ledger**: the final plan fragments go to trunk through the plan-only lane (`scripts\u002Fpush-plan-fragments-to-trunk.sh`), never onto the work ref; on a platform branch commit them to `origin\u002F\u003Cactive-branch>` as well.\n4.  **Attest**: with every commit pushed (the work ref: `git log origin\u002Fwork\u002F\u003Corder>..HEAD` empty), run `scripts\u002Ffinalize-cycle.sh \u003Cactive-branch>`\n    (verify boundary, record, land, re-verify, derive the `MO-FULL:` marker —\n    never type it). It needs the §1 step 1b snapshot; without one the honest\n    exit is landed-but-unattested, stated in the loop-status entry's first\n    line. Write that entry with `tillandsias-plan loop-status-append --host \u003Chost>\n    --ts \u003Ccycle-start-UTC> --backfill \u003C fragment.md` — or `--file fragment.md`, or\n    a bare path, all three of which now work. Order 1004-8vkv fixed what this\n    line used to warn about: a path argument was silently dropped and the\n    command then blocked forever on an inherited socket stdin (lenovinha,\n    2026-09-04, 26 minutes). A stdin with nothing writing to it is now refused\n    in 5s naming both explicit forms, and an empty read says `read 0 bytes`\n    instead of blaming your fragment's headings.\n\n### Mandatory Exit Discipline\n\nA successful invocation MUST NOT exit with local-only work:\n\n- If implementation is complete, update the owning plan item status and append a\n  completion event with evidence before the final commit.\n- If implementation is incomplete but coherent, commit a checkpoint and append a\n  progress event with remaining work and the next action.\n- If implementation is blocked, append a blocked\u002Ffailed event with the exact\n  blocker and smallest next diagnostic command.\n- Push every checkpoint\u002Fcompletion to the appropriate remote branch before\n  returning success.\n- Before final success, verify `git status --short --branch` is clean and not\n  ahead of upstream. If not, finish the commit\u002Fpush or mark the plan item\n  blocked with the reason.\n\n### Yield & Triage (Failure\u002FBlockage)\n1.  **Emit Blocked or Failed Event**: If you encounter an unresolvable error, blocker, or spec gap:\n    -   Append a `blocked` or `failed` event to `events:` detailing the exact reason, the named blocker, and the smallest next diagnostic command.\n    -   Flip status to `blocked` or `failed` (with `retryable: true|false`).\n    -   Push the event through the plan-only lane (`scripts\u002Fpush-plan-fragments-to-trunk.sh`) so the Orchestrator can audit and reschedule it; push the work ref too, so the partial code is on origin.\n2.  **Fallback Selection**: Release your local lease, select your named fallback task, and begin the loop fresh.\n\n---\n\n## Hard Guardrails\n\n- NEVER `git push --force`.\n- NEVER push directly to `main` — use PRs. Check `plan\u002Fissues\u002Fcross-host-blocker-roundup-*.md` for the active `\u003Chost>-next → main` PR number before opening a duplicate.\n- NEVER push to a sibling host's branch (linux MUST NOT push to `osx-next` or `windows-next`).\n- **Velocity Limit Compliance ($C_{max}$)**: Do not push more than **2 commits per hour** if convergence velocity remains zero or negative ($\\mathcal{V}_c \\le 0$). High-frequency pushing without progress causes thrashing and triggers a 1-hour cooldown.\n- **Branch Drift Compliance ($D_{max}$)**: Do not allow your platform branch (`windows-next`, `osx-next`) to drift more than **$D_{max} = 5$ commits** ahead of the common `merge-base` with `linux-next`. If drift exceeds 5 commits, you MUST immediately halt feature work and run a pull-integration and merge pass.\n- NEVER skip hooks or signing.\n- `release.yml` is `workflow_dispatch` only — never auto-trigger. (The old `recipe-publish.yml` rootfs workflow was removed in the 2026-06 Fedora pivot.)\n- NEVER resolve cross-host plan conflicts by deletion — tombstone or supersede only.\n- When the worktree is dirty, only stage `plan\u002F` files explicitly by path. Implementation code from a previous (uncommitted) iteration is NOT yours to touch.\n- **AND BEFORE YOU LEAVE IT ALONE, COPY IT** (orders 872-c9nd, 1102-93ng).\n  Run this the moment you find startup dirt, before refusing and before any\n  other detector:\n\n  ```bash\n  scripts\u002Fsalvage-dirty-worktree.sh \u003Cslug>     # -> ok:salvaged:\u003Cref>:\u003Csha>\n  ```\n\n  Quote the `ok:salvaged:\u003Cref>:\u003Csha>` verdict in your cycle report — that ref\n  is the only durable record that the work existed.\n\n  **CHECK THE VERDICT — THERE ARE THREE, NOT TWO** (order 1103-i7xq):\n\n  | verdict | what you have |\n  |---|---|\n  | `ok:salvaged:\u003Cref>:\u003Csha>` | the copy is on origin; it survives a re-clone |\n  | `ok:salvaged-local:\u003Cref>:\u003Csha>` | the copy is in THIS repo only — the push failed. It survives a re-clone **only if someone pushes that ref**. Say so in your report and push it when the credential works: `git push origin \u003Cref>` |\n  | `ok:salvage-not-needed` | **the dangerous one.** The script protects a DIRTY worktree, not an unpushed COMMIT: a clean tree with a finished unpushed commit and a red gate returns this, rc 0, with NOTHING preserved — exactly the state the salvage rationale above was written for. A first push of a `work\u002F\u003Corder>` ref needs the full gate; `pre-push-local-gate.sh` instead exempts a push in which EVERY ref is `refs\u002Fheads\u002Fsalvage\u002F*`, so `git push origin HEAD:refs\u002Fheads\u002Fsalvage\u002F\u003Chost>\u002F\u003Cyyyymmdd>-\u003Corder>` lands the commit ungated. Verify by `git merge-base --is-ancestor \u003Csha> \u003Cremote-ref>` and by content on the remote, never by the push's exit code |\n  | `fail:salvage:\u003Creason>` | there is **no copy**. Do not proceed to a refusal on the strength of one. A dangling symlink in the tree produces this rather than a skip |\n\n  The middle row exists because the salvage used to push the commit straight\n  to origin and create no local ref, so a failed push left nothing at all — on\n  exactly the hosts most likely to strand work, the ones that cannot push.\n\n  yolanda measured the fourth row on 2026-09-12: clean tree, finished\n  unpushed commit, red gate — `ok:salvage-not-needed`, rc 0, nothing\n  preserved, which is exactly the state this rationale was written for\n  (drill: plan\u002Fissues\u002Ffleet-restart-2026-09-12.md, The salvage script covers the dirty tree, not the unpushed commit).\n\n  **It cannot touch the worktree.** The script works through a temporary index\n  and git plumbing only, so it is safe to run on dirt you have just been\n  forbidden to alter. \"Refuse\" and \"copy\" are not in tension; the copy is what\n  makes the refusal survivable.\n\n  **WHY THE OTHER HALF IS NOT ENOUGH, and this skill only ever had the other\n  half:** refusing protects the work from YOU. It does not protect it from a\n  fresh clone. On 2026-08-24 three consecutive cycles refused a dirty tree,\n  each writing more careful prose about the diff than the last, and then the\n  checkout was re-cloned. Four hours of finished work was unrecoverable and the\n  untracked file's name appears in no commit on any branch. Every one of those\n  cycles obeyed the rule it had been given.\n\n  This does NOT license committing, discarding, restoring, resetting or\n  cleaning unknown dirt. Treat every recorded path as immutable sibling or\n  operator work unless the operator identifies it as disposable in the current\n  prompt. Salvage, then refuse, then report both.\n- Treat every local-only commit as volatile. If it matters, push it before\n  ending; if it cannot be pushed after three retries, file a blocked event.\n\n---\n\n## How Orchestrators Steer this Skill\n\nThe canonical file lives at `skills\u002Fadvance-work-from-plan\u002FSKILL.md`.\nEach agent runtime (`.claude\u002F`, `.opencode\u002F`, `.codex\u002F`, `.gemini\u002F`, `.github\u002F`) accesses it via a symlink under its `skills\u002F` directory, so there is exactly one source of truth.\n\nTo steer remote agent work between iterations, an orchestrator can:\n- Edit the priority list in §2 to elevate a packet for the next cycle.\n- Tighten or loosen the defer rule in §6.\n- Add a new host row to §1 (e.g. when a freebsd-host comes online).\n- Drop or extend the unblock-with-NOOP rule in §4.\n","# Advance Work From Plan\n\nThis skill is the recurring scheduled execution loop for worker agents. It allows any agent on any host to autonomously select, claim, implement, checkpoint, and complete shaped work from the shared `plan\u002F` ledger — sustaining development velocity and enforcing finite-time convergence.\n\n---\n\n## 1 — Orient & Discover Environment\n\n1.  **Git Check**: Run:\n    ```bash\n    git fetch origin\n    git checkout \u003Cactive-branch>  # linux-next, windows-next, or osx-next per host table\n    git pull --ff-only origin \u003Cactive-branch>\n    scripts\u002Fcheck-committable-branch.sh\n    git merge --no-edit origin\u002Flinux-next   # platform branches: BEFORE §2.0, not only before push\n    ```\n    `\u003Cactive-branch>` is where you START and where the plan-only lane writes\n    (claims, events, handoffs). Your CODE goes to a work ref, `work\u002F\u003Corder>`,\n    created after the claim (§3) and pushed as often as you like without a\n    gate (§6; methodology `work_ref_lane`, 1315-4a7j \u002F 1317-9ugn).\n    The `scripts\u002Fcheck-committable-branch.sh` line is the executable Committable Branch Guard (order 476,\n    pinned by `litmus:committable-branch-guard-shape`): it prints one verdict\n    line and exits `0` only when HEAD is on a committable branch (any named\n    branch except `main`). On `blocked:committable-cycle-on-main` (or any\n    other `blocked:*` verdict — detached HEAD, non-repo) do NOT claim,\n    commit, or push anything this cycle: `main` advances only via PR\n    (breach record 34e60965,\n    `plan\u002Fissues\u002Fmain-branch-direct-push-guard-2026-07-24.md`). Switch to\n    your host's canonical branch or run the cycle read-only.\n\n1b. **Acquire the checkout lock — BEFORE any committable work** (orders\n    873-zcim, 1091-zh6d):\n\n    ```bash\n    TILLANDSIAS_CYCLE_HOLDER_PID=$PPID scripts\u002Fcycle-checkout-lock.sh acquire \\\n        --lane prompt --source \"\u003Chow this cycle was launched, one line>\"\n    ```\n\n    **`TILLANDSIAS_CYCLE_HOLDER_PID=$PPID` MUST BE ON THE COMMAND LINE, in\n    YOUR shell.** It anchors liveness to the agent-harness process that spans\n    the whole cycle. Evaluated inside the script instead, `$PPID` is the tool\n    shell that invoked it — which dies the moment your tool call returns, so\n    the lock stale-reaps immediately, every later lane reads\n    `ok:checkout-lock:free`, and the verdict you got still said `acquired`.\n    Measured on yoga 2026-09-06, direct and via `bash -c`: both anchor on the\n    dying shell.\n\n    Since order 1098-q7bk the script **refuses** that path rather than warning\n    about it: an invocation with neither `TILLANDSIAS_CYCLE_HOLDER_PID` nor a\n    harness-exported `CLAUDE_PID` answers `refused:checkout-lock:no-holder-pid`\n    and exits 2, taking no lock. **A refusal means you do NOT hold the\n    checkout** — supply the variable and acquire again; do not proceed as if\n    you did. Under a claude harness `CLAUDE_PID` is exported and the bare line\n    acquires cleanly, so this refusal is the cron\u002Fcodex\u002Fopencode path; the\n    command line above is correct under every backend.\n\n    On `skip:overlap-lock-held:\u003Cholder>` **DO NOT PROCEED.** The verdict names\n    who holds the checkout (lane, pid, start, source). Report it as the cycle's\n    final output and exit — that is the designed outcome, not a failure, and it\n    is recorded outside the checkout in\n    `~\u002F.cache\u002Ftillandsias\u002Foverlap-refusals.jsonl` so a refused-for-overlap\n    cycle is distinguishable from one that ran and found nothing. Do not retry\n    in a loop; the next scheduled fire retries on its own clock.\n\n    **WHY THIS SECTION EXISTS: it did not, and every worker host paid for it.**\n    The lock instruction lived only in `skills\u002Fmeta-orchestration` — one host,\n    four-hourly — while THIS skill is the lane every host runs to drain plan\n    work. Measured on yoga 2026-09-06: a full night of cycles on one checkout,\n    eight lands, `.\u002Fbuild.sh --check` runs of six to seven minutes, and the\n    lock taken ZERO times, because nothing here mentioned it. A sibling lane\n    firing into that checkout mid-gate produces a red with no discoverable\n    cause. Same shape as 943-7dn5, where `--emit-flow` lived in the\n    coordinator skill and the flow log was fed only when a session happened to\n    run it: **anything the worker loop must do belongs in the worker skill.**\n\n    Release at §7 Finalization, after the cycle's last commit lands:\n\n    ```bash\n    TILLANDSIAS_CYCLE_HOLDER_PID=$PPID scripts\u002Fcycle-checkout-lock.sh release\n    ```\n\n    A second agent NEVER works in a locked checkout (873-zcim criterion 4).\n    The sanctioned path for concurrent work on one host is a separate git\n    worktree or a clean temp clone.\n\n2.  **Instrument check**: `scripts\u002Fcycle-preflight.sh` must answer `ok:` before\n    you select work — selecting with an unverified instrument is the one\n    failure the loop cannot reason its way out of, because the tool it would\n    reason WITH is the stale thing. Its `\u003Cplan>` segment names which instrument\n    you are running on (order 1004-ws5q):\n\n    - `rebuilt` — cargo present, instrument built or confirmed current.\n    - `existing` — **no cargo, but a runnable binary resolved.** A legitimate\n      cycle: a host doing compile-free work keeps its slot. Before 1004-ws5q\n      preflight declared the COMPILER absent without ever looking for a\n      BINARY, and a floor-tier release smoke that compiles nothing lost a 4h\n      slot with a healthy instrument on disk (pirria, 2026-09-04).\n    - `skipped` — the build step was skipped via `CYCLE_PREFLIGHT_SKIP_BUILD=1`.\n    - `blocked:preflight:plan:cargo-absent` — no cargo AND no runnable binary.\n      Terminal: there is no instrument, so do not start the cycle.\n\n    **`CYCLE_PREFLIGHT_SKIP_BUILD=1` is for compile-free work on a host that\n    cannot compile, and nothing else.** It is not a way past a red build on a\n    host that can compile — that is a broken instrument. Since 1004-ws5q a host\n    with no cargo but a working binary gets `existing` without the variable, so\n    needing it at all should now be rare.\n    **On `osx-next` \u002F `windows-next`, merge `origin\u002Flinux-next` HERE, before the\n    selector runs, not only before the push.** The selector and every\n    `plan_*` read answer from the WORKTREE ledger, and on a platform branch the\n    worktree is current only after that merge: between the pull and the merge\n    it still carries the trunk's state as of your last merge. MEASURED on\n    tlatoanis-macbook-air 2026-09-04: `osx-next` was up to date, the selector\n    returned 1001-q3zf as its p1 top pick, `plan_status` agreed it was `ready`,\n    and the host claimed it — a packet the coordinator had closed on the trunk\n    an hour earlier. The post-merge fold exposed it, the unpushed claim was\n    dropped, and the re-run selector returned a different batch. This is the\n    same ordering rule the meta-orchestration skill states for the overlap\n    check (\"AFTER THE MERGE, NOT BEFORE\"), applied to selection. The pre-push\n    merge (§6) still applies; this is the earlier one.\n1b. **Snapshot the startup boundary NOW — before any guard that writes.**\n    Right after the pull and the branch guard, before the credential guard,\n    the daily-maintenance body, the capability-row republish, or any edit:\n    ```bash\n    boundary_dir=\"$(mktemp -d \"${TMPDIR:-\u002Ftmp}\u002Fmeta-orchestration-boundary.XXXXXX\")\"\n    scripts\u002Fmeta-orchestration-worktree-guard.sh snapshot \"$boundary_dir\"\n    ```\n    `scripts\u002Ffinalize-cycle.sh` (§7) refuses without it, and the fleet\n    heartbeat reads a host that commits without attesting as WEDGED. The\n    order is the whole rule, learned three times on 2026-09-04: yoga landed a\n    cycle unattested because no snapshot was taken; lenovinha and yolanda\n    snapshotted AFTER a preamble guard had already written a fragment (a\n    capability row), so the guard's baseline carried their own dirt and the\n    finalize verify refused, correctly. A boundary taken after the work is\n    the \"compare a tree against itself\" proof the guard exists to forbid —\n    never re-snapshot to obtain a marker; report the cycle as\n    landed-but-unattested and take the boundary first next time.\n2.  **Host and Identity**: Identify your platform (`linux`, `windows`, `macos`, `forge`), your agent name, and your intended capabilities (`rust`, `podman`, `docs`, `testing`, etc.).\n3.  **Host Detection Table**:\n    | uname\u002F$OS \u002F env | Platform Name | Canonical Branch |\n    |-----------------|---------------|------------------|\n    | Inside Forge    | `forge`       | `linux-next`     |\n    | Linux           | `linux`       | `linux-next`     |\n    | macOS           | `macos`       | `osx-next`       |\n    | Windows         | `windows`     | `windows-next`   |\n\n    **PASS YOUR PRECISE ROLE TO THE SELECTOR, not just the platform** (order\n    1115-yvrq). On Linux, say `linux-immutable` or `linux-mutable` — a\n    read-only `\u002Fusr` (Fedora Silverblue, bootc) is immutable; anything you can\n    `dnf install` into is mutable. `scripts\u002Fhost-capability-probe.sh` reports\n    it if you are unsure.\n\n    `pickup_role` on a packet means **REQUIRES**, not authored-on (coordinator\n    ruling, macuahuitl, 2026-09-06). The specific satisfies the general, so a\n    precise role costs you nothing and gains correctness: an immutable host\n    passing `linux-immutable` is offered every packet asking for `linux`, and\n    is NOT offered the ones needing a writable `\u002Fusr`. Measured on yoga\n    2026-09-06 — 301 rows either way, and the one packet it cannot do\n    (1025-a896, an investigation needing `dnf`) drops out.\n\n    Passing the bare platform still works and is still correct for a host that\n    genuinely has no sub-role; it simply cannot express a requirement it does\n    not have.\n4.  **Create Agent ID**: Do NOT hand-compose it — call the canonical helper\n    (order 756-hn3a; contract: `methodology\u002Fdistributed-work.yaml` →\n    `agent_identity_contract`):\n    ```bash\n    agent_id=\"$(scripts\u002Fagent-identity.sh id \u003Cbackend>)\" || exit 1   # backend: claude|codex|opencode|gemini\n    ```\n    It resolves `\u003Cplatform>-\u003Cworkstation>-\u003Cbackend>-\u003Cutc-timestamp>` from\n    stable sources (TILLANDSIAS_AGENT_ID taken whole; else\n    TILLANDSIAS_WORKSTATION → HOSTNAME → \u002Fetc\u002Fhostname → node-name probe),\n    sanitizes once, and REFUSES (`refused:agent-identity:empty-\u003Ccomponent>`,\n    non-zero, empty stdout) instead of minting an incomplete ID. On refusal\n    do NOT claim, append, or push anything — a prose recipe on a\n    hostname-less forge wrote lease `forge--codex-20260815t162555z` (EMPTY\n    workstation) while HOSTNAME sat unread in its environment.\n5.  **Orient via MCP — do NOT read whole ledgers.** This is a rule, not a\n    suggestion. Canonical: `methodology\u002Fdistributed-work.yaml` →\n    `mcp_first_read_path`.\n\n    The files this step used to tell you to read are `plan\u002Findex.yaml` (31,678\n    lines), `plan\u002Floop_status.md` (7,875 lines), `plan.yaml`, and two methodology\n    files — imported in full to extract what amounts to a paragraph. That import\n    is permanent for the rest of your session, it is the single largest\n    consumer of orchestrator context in the loop, and every agent on every host\n    pays it again every cycle.\n\n    Ask instead, and stop when you have the answer:\n\n    | You need | Ask |\n    |---|---|\n    | the operator's active theme | `plan_answer \"what is the current Direction?\"` |\n    | what to work on | `plan_next \u003Crole>` \u002F `plan_ready \u003Crole>` (then §2.0) |\n    | one packet's state | `plan_status \u003Cid\\|order>` |\n    | why something is stuck | `plan_blocked_by` \u002F `plan_blocked_on` \u002F `plan_closure` |\n    | a methodology rule | `methodology_ask \"\u003Cquestion>\"` \u002F `methodology_path` |\n    | a spec's content | `spec_answer` |\n    | repo\u002Fcode navigation | `project-info`: `search_code`, `grep_code`, `find_files`, `file_summary`, `read_file` |\n    | conversational\u002Fsynthesis status question | Local Experts mode (`expert-serve`) — same citations-or-typed-refusal contract as `spec_answer` |\n\n    Every answer is CITED. Keep the citations — §5 and §7 need them.\n\n    **Fall back to the filesystem for exactly three reasons, and say which:**\n\n    - **Unavailable** — MCP absent, erroring, or answering\n      `confidence=unsupported`. Fall back and *keep going*; a degraded read path\n      is never a blocked cycle. Note it in your loop-status entry, so an expert\n      that systematically refuses becomes visible instead of being quietly\n      routed around (order 531: launch state truthfully reported `experts:\n      ready` while every answer was unsupported).\n    - **Verification** — before anything irreversible (commit, status flip,\n      delete, release) that rests on an MCP answer, read the **cited span** to\n      confirm it. The span, not the file. Cited is not the same as checked.\n    - **Not exposed** — no tool covers it. Read it directly, and if the loop\n      needs it repeatedly, file a packet: a recurring direct read is a missing\n      tool, not a habit.\n\n6.  **Direction still binds.** However you obtained it, reduce your packet\n    selection against the operator-owned `## Direction` theme rather than\n    inventing new direction, and cite it in your work-queue ledger entry\n    (order 381).\n\n---\n\n## 2 — Discover Work & Select Shaped Packet\n\n### 2.0 — Run the batch selector FIRST (cycle triage)\n\n```bash\nscripts\u002Fselect-work-batch.sh \u003Clinux|macos|windows|any> [--budget N] [--seed S]\n# \u003Crole> is the PICKUP ROLE, not the host kind: a Silverblue host passes `linux`,\n# not `linux-immutable` (which the selector refuses as bad-role; pirria 2026-09-23).\n```\n\nThis decides **what THIS cycle takes**, which flat ranking does not. It emits one\ncohesive, budgeted batch drawn from a single epic (`release_target`), the\n`triage:` coverage line, and the `frontier` it considered:\n\n```\nbatch: epic=forge-local-experts-milestone role=linux release=v0.5 size=3 budget=3 score=19.728 seed=host-20260809 pick=1\u002F3\npacket  394  plan-methodology-experts-rung1  p1\n...\ntriage: eligible=140 grouped=60 ungrouped=80 epics=6\nfrontier 19.728  forge-local-experts-milestone  packets=41 blocking=10 neglect=4.7\n```\n\nWork the batch **in the order printed**, then stop — do not top up from another\nepic. Record the printed `seed` in your loop-status entry so the selection can\nbe replayed.\n\nThree things about it that are easy to get wrong:\n\n- **It is minimax, not priority-first.** Epics are scored by residual\n  (`2*urgency + 1.5*blocking + neglect`), because ranking by p0 alone is the\n  anti-pattern `convergence.yaml` names: *raising average convergence by\n  improving low-risk obligations while a high-risk maximum residual remains\n  unresolved.* The p0-first agent keeps finding p0s.\n- **The entropy is score-weighted, and that is deliberate.** Choice is spread\n  over the top-3 epics so nothing starves and two concurrent hosts do not\n  collide, but weighted so the largest residual still wins most of the time\n  (~9 in 12). Predictable drain is a property of batch SIZE — fixed absolutely\n  by the budget — never of always picking the same work.\n- **`ungrouped=N` on the triage line is a defect signal, not decoration.** It\n  counts eligible packets with no `release_target`. When it is large, the epic\n  tier is not doing its job; file\u002Fassign coverage rather than shrugging. It was\n  80 of 140 on 2026-08-09.\n\nBudgets: autonomous\u002Fpairing forge sessions = adaptive 4 packets (configurable 3-6 via `--budget N` or `TILLANDSIAS_CYCLE_BUDGET`), unattended litmus step runs = 1 packet, non-forge hosts = 6 (order 707-3x9d).\n\nTier (trims 2026-09-27, umbrella 1437-62g8): a session STATES the model tier\nit runs at, `--tier \u003Chaiku|sonnet|opus>` or `TILLANDSIAS_MODEL_TIER`\n(1437-vdz5). The tier is a FLOOR and an UNTAGGED row is opus (operator\n2026-09-27: \"No size tags get Opus\"): a haiku caller's pool is exactly the\nrows whose `implementer_tier` is haiku and it refuses\n`refused:no-tier-work:model-tier=haiku` rather than draining the general\nqueue; a sonnet caller takes sonnet rows, then haiku, never untagged; an opus\ncaller takes opus and untagged rows first, then sonnet, then haiku.\n`--tier-any` is for an orchestrator picking for its delegates\n(`\u002Fhaiku-orchestrate`, 1443-hbgt).\nUntil 1437-khnx projects the field, the tier is two lines inside the packet's\n`notes:` (`size: S|M|L`, `implementer_tier: …`) and the selector cannot see\nit — read them by eye. A cheaper packet runs in-session through\n`scripts\u002Fclaude-delegate.sh implement \u003Corder>` (1437-yjf6, edits bounded to\n`owned_files`, no commit) with this session verifying and committing, or in\na dedicated `.\u002Frepeat --model haiku` session (1437-m5yx). Canonical:\n`methodology\u002Fdistributed-work.yaml` → `cycle_batch_triage.model_tier_routing`.\n\nIf the selector refuses (`refused:no-eligible-work`, `refused:no-plan-binary`),\nfall back to the manual ranking below — which is also the rationale the selector\nautomates. Canonical: `methodology\u002Fdistributed-work.yaml` → `cycle_batch_triage`.\n\n### 2.1 — Manual ranking (fallback, and the rationale)\n\n1.  **Walk the Graph**: Read (via `project-plan` \u002F `project-info` MCP tools or direct file inspection), in order:\n    -   `plan\u002Findex.yaml` — packet index + selection policy (`plan_query` \u002F `plan_ready`).\n    -   `plan\u002Fissues\u002F\u003Chost>-next-*work-queue*.md` — your host's queue (e.g. `linux-next-work-queue-*`, `osx-next-work-queue-*`, `windows-next-work-queue-*`).\n    -   `plan\u002Fissues\u002Fforge-diagnostics-automation-2026-05-27.md` and `plan\u002Fissues\u002Fcross-host-blocker-roundup-*.md` — high-impact packets.\n    -   (Linux only) `plan\u002Fissues\u002Flinux-headless-spec-gaps-2026-05-27.md` — diagnostics + headless backlog.\n    -   Any other `plan\u002Fissues\u002F*.md` referencing your host or \"any host\".\n2.  **Filter Eligible Packets**: Find tasks where:\n    -   `owner_host` matches your platform (e.g. `forge`), is `any`, or is a forge diagnostics task (e.g., `forge-improvements\u002F*` or `smoke-finding\u002Fforge-*`).\n    -   `status` is `ready`, `pending` (if dependencies are unblocked), or `failed-retryable`.\n    -   `capability_tags` intersect with your capabilities.\n    -   There is no active unexpired lease.\n3.  **Selection Priority (Top Wins)**:\n    -   **Release-targeted packets FIRST**: packets carrying `release_target: \u003Cmilestone-packet-id>` outrank the general backlog (canonical: `methodology\u002Fdistributed-work.yaml` → `release_aware_packets`). A host with no eligible targeted work falls back to the priorities below — targeting concentrates effort, it never idles a host. Never claim a `kind: milestone` packet for implementation — milestones hold criteria; claim their children (`ambitious_milestone_reduction.milestone_packet_semantics`).\n    -   **Active Release Packets (`desired_release: v0.5`)**: Prioritize open work targeting the active release minor (`v0.5`) over future releases (`v0.6+`) to concentrate effort on shipping current milestones (e.g. `harness-mcp-expert-validation` order 554, `forge-local-experts-milestone` order 391).\n    -   **If running on `forge` host**: Prioritize forge diagnostics, toolchain improvements, and onboarding tasks (e.g. `forge-improvements\u002Fproposals\u002F` and `smoke-finding\u002Fforge-*` packets) to unblock other builders.\n    -   **Diagnostics-driven container-start verification** (USER PRIORITY, linux runtime-host today): work that strengthens the `--diagnostics` → annex → distill → litmus chain. See `scripts\u002Fforge-diagnostics-annex.sh`, `scripts\u002Fdistill-forge-diagnostics.sh`, `openspec\u002Flitmus-tests\u002Flitmus-forge-diagnostics-e2e.yaml`, `methodology\u002Fforge-diagnostics.yaml` piggyback_protocol.\n    -   **Spec gap fills**: `openspec\u002Fspecs\u002F\u003Cspec>\u002Fspec.md` requirements without implementation coverage. Focus on `headless-mode`, `podman-idiomatic-patterns`, `runtime-diagnostics-stream`, `logging-accountability`, `observability-metrics`.\n    -   **Drift-protection litmus**: instant-phase tests pinning surfaces that recent work added (formatter literals, env-var contracts, public API names, unit-test names).\n    -   **Clippy \u002F idiomatic-podman hardening**.\n    -   **Version-aware release ordering** (The Tlatoāni 2026-07-17; canonical: `methodology\u002Fdistributed-work.yaml` → `version_aware_release_planning`). Releases are sequential numbered bundles (v0.3 → v0.4 → …), stability-gated not time-gated; \"release X\" is the CalVer Minor. Every open packet should carry `desired_release: vX.Y` (its ship-bucket, distinct from the milestone `release_target`). After the milestone preference, prefer packets targeting the **ACTIVE release** (`v0.5`; see `plan\u002Floop_status.md`) over later-release ones — concentrate effort on shipping the current bundle. Cross-platform deps are gated by release order (dependent's `desired_release` >= its upstream's). A packet that must slip to a later release: file a `progress` note proposing the slip; the coordinator ratifies. Unmarked open packets default to the active release.\n    -   **Filing a new packet? Mint its order, never pick one**: run `tillandsias-plan next-order` (→ `581-k3f9`). Computing \"the next free order\" from the ledger reads a snapshot that is stale the moment another host commits, so concurrent filers collide deterministically — twice on 2026-07-31, with six collisions still at HEAD. The minted token is PERMANENT: never renumber it, because order tokens leak into code comments, `@trace order:` headers, and commit messages, and a pushed commit message cannot be corrected. A prefix shared by two packets is normal, not a defect. Cite `packet_id` in anything durable. Canonical: `methodology\u002Fdistributed-work.yaml` → `order_id_allocation`.\n\n        **READ THE `filed since` LINE next-order PRINTS ON STDERR BEFORE YOU\n        WRITE THE FRAGMENT (1163-3krg).** Minting is already a read of the\n        current fold — the next prefix is one above the highest order present —\n        so the tool has necessarily observed every row filed since you last\n        looked, and it now says so instead of handing the answer back as a bare\n        number. MEASURED 2026-09-13: lenovinha filed and claimed 1158-y3ad at\n        15:49Z, the coordinator filed 1160-nvzs — the same defect — at 16:05Z,\n        and next-order minted 1160 BECAUSE 1158 and 1159 were in that fold. The\n        tool that filed the duplicate had already read the answer. stdout is\n        unchanged (`order: $(tillandsias-plan next-order)` still composes); the\n        report is on stderr, and `--since \u003Corder>` sets the baseline explicitly\n        when the default — the highest order THIS WORKSTATION filed — is not\n        what you mean. A duplicate is filed by not looking, not by choosing the\n        wrong number.\n    -   **In-forge self-service** (canonical: `methodology\u002Fdistributed-work.yaml` → `in_forge_agent_self_service`): if you are running INSIDE the forge and hit a missing tool\u002Fcapability\u002Ffix, unblock your FUTURE launches by filing in the SHARED CHECKOUT (the forge is rebuilt from sources each launch): a capability\u002Ftool proposal → `plan\u002Fforge-improvements\u002Fproposals\u002F\u003Cdate>-\u003Cslug>.md`; a forge bug → a `plan\u002Fissues\u002F` packet `capability_tags: [forge, …]` `owner_host: linux|any`. If the packet is `forge`-tagged\u002F`any` and fits the forge budget, just do it. Always shaped + verifiable + pushed (a finding that dies with the container is lost).\n    -   **A LARGE packet is ELIGIBLE — size is not a skip reason** (The Tlatoāni 2026-07-17; canonical: `methodology\u002Fdistributed-work.yaml` → `large_packet_is_eligible_work`). Do NOT scan a queue of big packets, judge them all \"too large\", and reach for an old, small, near-obsolete task instead — that inverts the queue's value order and churns work that later specs will supersede. Rank by VALUE and RELEVANCE, never by smallness: a large, fresh, release-targeted packet OUTRANKS a small, stale one. When you claim a packet you cannot finish this cycle, end in ONE of three valid outcomes, each a complete successful cycle: **(a) partial slice** — smallest vertical slice under a verifiable constraint + a `progress` event with `partial_artifact_refs` and an updated `next_action`; **(b) split** — decompose into smaller `ready` child packets at ownership\u002Fdependency\u002Fevidence boundaries (`split_into`), the shaping commit IS the cycle's output (this generalizes the forge-only order-264 split rule to every host); **(c) audit-dispose** — if it is stale\u002Fsuperseded, retire it (obsolete\u002Ftombstone) per the freshness class. A near-obsolete-looking packet is a signal to AUDIT it, not to implement it as busywork.\n4.  **Long-running packets** (`multi_cycle: true`): claims are CYCLE-SCOPED — you claim one session's slice, not the packet. A `ready` multi_cycle packet with prior progress events is claimable (that's the design, not a stale lease). Canonical rules: `methodology\u002Fdistributed-work.yaml` → `long_running_packets`.\n5.  **Constraint**: ONE logical commit per batch\u002Fcycle. If an individual slice estimates >2h, split it and ship the first half. (Unattended litmus-hosted sessions (`TILLANDSIAS_LITMUS_STEP`) drain **at most ONE packet per session** to fit the 600s timeout; autonomous\u002Fpairing forge cycles execute **adaptive batches of 3–6 packets** to maximize the work-to-orchestration ratio. Decided by The Tlatoāni, order 707-3x9d; canonical: `methodology\u002Fdistributed-work.yaml` `worker_agent_protocol.forge_cycle_budget`.)\n6.  **Standing FRESHNESS audit class** (order 372, methodology `component_freshness`): each cycle, after worker drain, pick ONE component the `freshness-advisory` CI phase flagged as stale (or any unstamped component) and re-validate it against the audit question — *last properly looked at and confirmed still meaningful, useful, efficient, sound, and complete?* End in exactly one disposition: **refreshed** (re-validated, update its `# freshness:` stamp), **updated** (fixed\u002Ftuned, update stamp), or **obsoleted** (delete\u002Ftombstone with a same-commit removal of dependents). Apply the **discard-over-repair bias**: discard a stale component rather than repair it when a fresh implementation would be better. Record a `# freshness: auditor=\u003Cid> date=\u003CISO> verdict=\u003C...> scope=\u003Cone-line>` stamp (grammar in methodology.yaml). `scripts\u002Ffreshness-inventory.sh` emits the coverage report + the top stale components each `.\u002Fbuild.sh --ci` run.\n6.  **Delegate Parallelizable Research — inside the sub-agent budget** (operator directive 2026-09-11; packet 1119-6wn6; canonical rules in `skills\u002Fmeta-orchestration\u002FSKILL.md` → \"Sub-agent and token budget\"): Use sub-agents for file inventories, grep searches, ancestry checks and diff summaries, but keep ownership of specs, verification, and commits — and pass `model` and `effort` explicitly: haiku\u002Flow for lookups, sonnet\u002Fmedium for summaries and prose, opus\u002Fmedium for judgment; at most 8 per cycle and 3 concurrent; never the main model's tier for fan-out or refuters; never an agent for a read the plan experts answer. Measured 2026-09-11: a 42-agent sweep at the main tier cost 4.48M tokens in 21 minutes. Report the spend in the handoff's `tokens:` line.\n\n---\n\n## 3 — Claim the Lease\n\n1.  **Claim by flipping status, and push it BEFORE the work.**\n\n    ```bash\n    scripts\u002Fcheck-claims-across-branches.sh \u003Cpacket-id>   # FIRST. see below\n    tillandsias-plan set-field \u003Cpacket-id> status in_progress \\\n        --host \"$(hostname -s)\" --reason \"claimed for cycle \u003CUTC ts> by $agent_id\"\n    git add plan\u002Findex.d\u002F\n    git commit -m \"claim(\u003Cpacket-id>): \u003Chost>\"   # the fragment and NOTHING else\n    git push origin \u003Cactive-branch>\n    # ON A PLATFORM BRANCH (osx-next, windows-next) THIS IS NOT YET A CLAIM —\n    # nobody on trunk can see it until the relay. Push the fragment to trunk\n    # too (1153-j2nm); no build stamp is needed, the plan-only lane takes it:\n    scripts\u002Fpush-plan-fragments-to-trunk.sh        # -> ok:fragments-on-trunk:\u003Csha>:\u003Cn>\n    # THEN THE WORK REF (1317-9ugn). The claim is on trunk; the code goes here:\n    git switch -c work\u002F\u003Corder> origin\u002Flinux-next     # named by the order, started from trunk\n    ```\n\n    The work ref is where you commit and push for the rest of the cycle: no\n    gate stamp, no trunk merge, the fast deciders WARN and nothing refuses\n    (`warn:pre-push:…`). Only the claim and the events go to `\u003Cactive-branch>`\n    through the plan-only lane. The order of the whole flow, from\n    join-the-fleet §3: claim by order → `git switch -c work\u002F\u003Corder>` from\n    `origin\u002Flinux-next` → commit and push to `work\u002F\u003Corder>` freely → open the\n    PR (draft until the closure evidence is on the row) → the landing queue\n    integrates once → close by order after the landing proves.\n\n    `push-plan-fragments-to-trunk.sh` builds one commit parented on\n    `origin\u002Flinux-next` carrying only the NEW fragment files (temporary index\n    and plumbing — your worktree, index and branch are untouched) and pushes\n    it to `refs\u002Fheads\u002Flinux-next` through this checkout's own pre-push hook.\n    Your platform branch keeps its copy; the relay merges the identical file\n    clean. `refused:fragments-to-trunk:trunk-fold:…` means a fragment names a\n    packet trunk has never seen (you filed it on this branch): run it without\n    arguments so the filing rides along. The control, from any trunk checkout\n    after `git pull`: `scripts\u002Fcheck-claim-confirmed.sh \u003Corder> --host \u003Chost>`\n    → `ok:claim-confirmed` (1370-tjme; `refused:claim-lost` names the earlier\n    claimant, and you yield).\n\n    **YOUR FOLD DOES NOT SHOW OTHER HOSTS' CLAIMS, and the gap is measured in\n    HOURS, not seconds** (1034-whsp). A claim lands on the claimant's PLATFORM\n    branch. It reaches a trunk host only when the coordinator relays that branch\n    into `linux-next` — unless it was pushed to trunk with the helper above,\n    which is why that line is not optional. Measured on tlatoanis-macbook-air 2026-09-05:\n\n    | | |\n    |---|---|\n    | claim push, claim-only diff, platform branch | **12.0s** |\n    | `osx-next` → `linux-next` relay gaps, last 9 | **19m – 2h02m** |\n    | time since the last relay, when this was written | **6h28m** |\n    | this host's own claims still unseen on `linux-next` | **1h55m, 2h11m** |\n\n    At that moment `origin\u002Flinux-next` folded 1034-whsp to `ready` while the\n    claiming host held it `in_progress`. A second host reading its own fold is\n    reading a state that can be hours stale, and 814-iyu7 (two hosts, 1009-gccx,\n    claims 5m14s apart) is what that costs.\n\n    So `check-claims-across-branches.sh` folds every sibling branch's ledger and\n    exits 1 with `claimed-elsewhere:\u003Cpacket>:\u003Cbranch>`. **One fetch, ~1s.** It is\n    NOT a lock: two hosts claiming inside the same fetch still collide, and the\n    timestamp rule below still arbitrates. It turns an hours-wide race into a\n    seconds-wide one. `blocked:` from it means STOP — it could not see the\n    siblings, which is not the same as nobody holding the packet.\n\n    **The claim commit must contain the claim fragment and NOTHING else**\n    (1034-whsp, yoga): anything else in the outgoing diff takes the push off the\n    plan-only lane and onto a full gate, ~250s instead of ~6.5s. Note that on a\n    platform branch the pre-push gate will first demand a merge of\n    `origin\u002Flinux-next`; that is expected, and the lane is merge-aware, so\n    re-push after merging rather than reaching for `--no-verify`.\n\n    `$agent_id` is the §1.4 helper output (`scripts\u002Fagent-identity.sh id\n    \u003Cbackend>`) — if the helper refused, there is no identity to claim with, and\n    nothing may be appended or pushed.\n\n    **This is the whole separation mechanism, and it is the ONLY one.**\n    `plan_next` \u002F `plan_ready` \u002F `select-work-batch.sh` filter to `unleased`,\n    and *leased* means exactly `status: in_progress`. Nothing else — not a\n    `claim` event, not a lease ID, not a work-queue line — hides a packet from\n    another host.\n\n    **Push it BEFORE the work, not with it. An unpushed claim separates\n    nobody**, and neither does one that lands after you have already spent the\n    cycle implementing.\n\n    CORRECTED 2026-08-31 (order 943-unii). This step used to say *\"Emit Claim\n    Event: append a `claim` event … using `tillandsias-plan append-event\n    \u003Cpacket-id> claim …`\"*, committed and pushed WITH the cycle's work. That\n    recipe changes no status, so a packet claimed that way stays `ready` and\n    stays offered to every other host. It is an AUDIT RECORD, not a claim.\n\n    Measured on the live ledger: packet 245 carried **43** claim events and was\n    still returned by `ready linux`. `expire-claims` reported `in_progress=0`\n    fleet-wide on 2026-08-19 — nothing had ever been claimed at all. On\n    2026-08-18 two hosts implemented 798-tk7b six minutes apart, ~4h duplicated\n    (order 814-iyu7); that is the failure this recipe left open, and one worker\n    host followed it for nineteen consecutive cycles without claiming anything.\n\n    Verified again when this correction was written, on this repository:\n    `set-field … in_progress` moved the selector's `eligible` count 174 → 173\n    and dropped the packet out of both `ready linux` and the printed batch, in\n    the same command. That is the positive control — the mechanism was never\n    broken, it was simply not being invoked.\n\n    `methodology\u002Fdistributed-work.yaml` (*\"a `claim` event changes status from\n    ready to in_progress\"*) and `skills\u002Fmeta-orchestration\u002FSKILL.md` (*\"Cycle\n    batch triage\"*) both already specified the recipe above. This section was\n    the outlier, and it was the one every worker host runs every cycle.\n\n2.  **Optionally add a narrative `claim` event too** — useful, never sufficient:\n\n    ```bash\n    tillandsias-plan append-event \u003Cpacket-id> claim \"\u003Cwhat this cycle intends>\" \\\n        --ts \"\u003CISO-8601-UTC>\" --agent \"$agent_id\" --host \"\u003Chost>\"\n    ```\n\n    If `append-event` refuses with `packet_id not found`, the packet lives only\n    in a fragment and that command cannot see it (600-c266) — write the event\n    block by hand in your own fragment, keyed under `events:`. **A `status`\n    change is different: never hand-author it, always use `tillandsias-plan\n    set-field`** (see §7.2), because a hand-written fragment that re-declares\n    the packet under `packets:` with a new status is a G-Set no-op — it parses,\n    validates, passes `tillandsias-plan check`, reads correctly in review, and\n    the fold discards it (635-i6vm).\n\n3.  **Collisions are arbitrated by TIMESTAMP, not by push rejection.**\n\n    The ledger is a CRDT, so two hosts can both claim in the same window and\n    both pushes can succeed. On your next fetch, if another host's claim for\n    that order carries an EARLIER timestamp (ties broken by lexicographically\n    smaller hostname), **you lost**: release yours back to `ready` and take the\n    next batch item.\n\n    Losing the race is normal and cheap. Both hosts writing is fine; both hosts\n    *continuing* is the defect, and is precisely 814-iyu7. A rejected push is a\n    weaker and later signal than the timestamp — a push can succeed and still\n    have lost — so do not wait for one.\n\n    **PUSH THE CLAIM ALONE, AND FIRST.** A claim is invisible to every other\n    host until it lands, so the claim commit must contain the claim fragment and\n    NOTHING else: no scaffolding, no ledger tidy-up, no scripts. Anything else in\n    the outgoing diff takes the push off the plan-only lane and onto the full\n    gate, and the window where two hosts both read `ready` is exactly that long.\n\n    MEASURED on yoga 2026-09-05, GNU grep, per push attempt:\n\n    | condition                                  | cost   |\n    |--------------------------------------------|--------|\n    | retry loop alone, no hooks                 | 18–56ms |\n    | claim-only push, gate stamp valid          | ~6.5s  |\n    | claim-only push, stamp stale (the rebase)  | ~14.1s |\n    | a push the plan-only lane REFUSES          | a full gate, ~250s |\n\n    The retry loop was never the cost. A rebase under a moving trunk invalidates\n    the stamp, so the middle row is the normal case during exactly the window\n    when collisions happen — and four attempts of it is about a minute of\n    invisibility, not the ten minutes of 1034-whsp. That incident required at\n    least one attempt on the bottom row, which the plan-only lane now prevents\n    for a claim-only diff (1056-5344, 1060-7mmm, 1013-xm63 hardened that lane on\n    2026-09-05). Keep the claim commit clean and you stay off the bottom row.\n\n    **WHEN YOU DISCOVER A LANDED DUPLICATE — you lost even if the rule says you\n    won.** The timestamp rule decides who CONTINUES, never who overwrites a\n    landed, measured result. If the other host has already landed the work:\n\n    - Concede. Do not re-land, do not revert theirs. Re-landing is the\n      duplication the rule exists to prevent, one step later.\n    - Record YOUR measurement on the packet as a second observation. Two hosts\n      measuring the same change independently is worth more than the hours it\n      cost, and it is the only salvage available.\n    - Say plainly in the event that you lost the race and on what timestamp, so\n      the next reader does not reconstruct it from commit order — which is the\n      weaker signal, and can disagree.\n\n    Yoga did exactly this on 1009-gccx: its claim was 5m14s EARLIER and it still\n    conceded, because lenovinha had landed and measured. That reading is the\n    ruling, not a courtesy.\n\n4.  **Release on exit — a CLAIM is released unconditionally, a ROW is closed.**\n\n    These are two different operations on the same field and the difference is\n    the whole of this step. FINISHED work moves to its TERMINAL status (§7.2).\n    Only work you did NOT finish goes back to `ready`, **in the same cycle you\n    abandon it**.\n\n    **PUT FIRST THE BLOCK WHOSE MIS-COPY FAILS LOUD** — that is why the\n    terminal form is above the release form, and it is a SAFETY property rather\n    than a style choice, so do not reorder these on frequency. Copying `ready`\n    onto finished work is SILENT: the row advertises completed work to the whole\n    fleet and nothing objects. Copying `completed` onto unfinished work is\n    REFUSED by 650-dq6u, which wants a SHA and a named check result and cannot\n    be satisfied by fabrication. Frequency argues the other way and frequency is\n    the trap: MEASURED on macbookair 2026-09-15 and reproduced independently on\n    macuahuitl over all 76 `host: macos` fragments, cycle-end writes run `ready`\n    12 to `completed` 3, because a host draining multi-slice packets mostly ends\n    unfinished. A future editor who finds that ratio and helpfully reverses\n    these two blocks would be right about the frequency and wrong about the\n    risk.\n\n    FINISHED — the row is closed, and the gate will not let you fake it:\n\n    ```bash\n    tillandsias-plan set-field \u003Cpacket-id> status completed \\\n        --evidence \"\u003Csha> + \u003Cnamed check and its result>\" \\\n        --reason \"closed at cycle end: \u003Cwhat the evidence shows>\"\n    ```\n\n    UNFINISHED — the claim is released, and the row stays open honestly:\n\n    ```bash\n    tillandsias-plan set-field \u003Cpacket-id> status ready \\\n        --reason \"released unclaimed at cycle end: \u003Cwhat remains>\"\n    ```\n\n    Leaving it `in_progress` hides it from `ready` AND from burndown until the\n    24h reaper — 21 packets were stranded that way on 2026-08-09 (641-e2qa).\n    **Claiming is only safe because releasing is unconditional.** A cycle that\n    claims and then exits without either completing or releasing has taken work\n    away from the fleet and given nothing back.\n\n    **BUT `ready` IS NOT THE RELEASE VALUE — IT IS THE UNFINISHED VALUE.**\n    MEASURED on macbookair 2026-09-15: this step's heading read \"Release on\n    exit, unconditionally\", they applied it literally to work that was finished\n    AND LANDED, and flipped 1201-t6ms from `in_progress` back to `ready`. The\n    qualifier was already in the body — it is the sentence above — but the\n    IMPERATIVE IS WHAT GETS APPLIED, and \"unconditionally\" is exactly the word\n    that makes a reader skip the distinction underneath it. The row then\n    advertised finished work to the whole fleet through `plan_next` until the\n    coordinator's stale-ready sweep surfaced it (`stale-candidate:1201-t6ms`).\n    That is the mirror of the 641-e2qa stranding this step exists to prevent:\n    one hides finished work as unfinished, the other offers it as available,\n    and both cost a host a cycle. Ask which of the two states you are in before\n    you write the field, and note that a row with claimable work REMAINING is\n    correctly `ready` and correctly claimed-and-released at once — those are\n    not in tension.\n\n    **A RULE WRITTEN FROM ONE FAILURE MODE READS AS ABSOLUTE ABOUT THE OTHER**\n    (macbookair, 2026-09-15). That is why \"unconditionally\" was written here by\n    someone who was also being careful: this step was built from 641-e2qa, saw\n    only the stranding direction, and stated its remedy without a boundary.\n    What is being corrected is not carelessness — it is a structure that\n    DEFEATS care, which is the only kind of correction worth making to a rule\n    that careful people were already following.\n\n5.  **The reaper is a backstop for a dead host, not your return path.**\n\n    A claim with no event by cycle end is *reclaimable* after **24h** by\n    `scripts\u002Freclaim-stranded-claims.sh` — read the verb: reclaim**able**, not\n    reclaimed. The TTL is 24h (`TTL_HOURS=24`, \"the fleet claim TTL\";\n    `expire-claims` reports `ttl_hours=24`). **No automation runs either tool:**\n    the reaper has no caller outside its own source and fixture, and `build.sh`\n    only shape-checks `expire-claims --list-live`.\n\n    THAT IS DELIBERATE, NOT A GAP. `skills\u002Fmeta-orchestration\u002FSKILL.md` gives\n    the coordinator a per-cycle stranded sweep that REPORTS and does not reap,\n    and says why: *\"Advisory, never a gate… Do not bulk-close what it reports.\n    Closing a packet requires checking its exit criteria against the tree;\n    guessing marks unfinished work done, which is strictly worse than leaving it\n    stranded.\"* A packet legitimately in flight is indistinguishable from one\n    abandoned an hour ago, so the discrimination is human judgement by design.\n\n    Which is exactly why step 4 is yours. If hosts released on exit, the reaper\n    would have nothing to find; the 3-of-5 stranded rate measured on 2026-08-30\n    is a symptom of hosts not releasing, not of a reaper that fails to run.\n\n### 3.1 — The positive control on the claim (2026-09-13)\n\nA claim is a PUSHED status flip. Nothing else separates hosts: not the claim\nevent, not a message to the coordinator, not a division of work agreed with a\npeer. lenovinha's 1130-8zxn sat `ready` on every other host's plan_next for\nhours while the fix was finished on lenovinha, because the claim was an\n`append-event` (943-unii) and then an unpushed flip — \"the cycle felt claimed\"\nwhile the one mechanical signal a selector reads was absent. yoga and yolanda\nskipped it on direct knowledge, which does not scale.\n\nAfter the flip is PUSHED, run the control:\n\n```bash\ngit pull && scripts\u002Fcheck-claim-confirmed.sh \u003Corder> --host \u003Cyour-host>   # ok:claim-confirmed:\u003Corder>:\u003Chost>@\u003Cts>\n```\n\n`refused:no-live-claim` means the claim did not take (unpushed, wrong field,\nrefused by the ladder): fix that before starting the work.\n`refused:claim-lost:…:earlier=\u003Chost>@\u003Cts>` means another host claimed first\nby claim-event `ts`: yield and take the next item (1370-tjme). The former\ncontrol, `next \u003Crole> | grep -c \u003Corder>` → 0, printed 0 for the loser of a\nrace too, because any host's claim hides the row. A host whose push is blocked reports the blocker with the\ncommitted SHA and the coordinator pushes the flip on its behalf.\n\n## 4 — Host Write Scope & Unblock-with-NOOP\n\nEach host has a primary write scope. You can READ everything; you should normally only WRITE within your scope:\n\n| Host    | Primary write scope |\n|---------|---------------------|\n| Linux   | `crates\u002Ftillandsias-{headless,podman,control-wire,core,metrics,logging,vault-client}\u002F`, `scripts\u002Fforge-diagnostics-*`, `scripts\u002Fdistill-*`, `images\u002F`, `openspec\u002Flitmus-tests\u002F`, most `plan\u002Fissues\u002F` |\n| macOS   | `crates\u002Ftillandsias-macos-tray\u002F`, `crates\u002Ftillandsias-vm-layer\u002Fsrc\u002F{vz,transport_macos,materialize\u002Fmacos}.rs`, `scripts\u002Finstall-macos*`, `scripts\u002Fbuild-macos*` |\n| Windows | `crates\u002Ftillandsias-windows-tray\u002F`, `crates\u002Ftillandsias-vm-layer\u002Fsrc\u002F{wsl,materialize\u002Fwindows}.rs`, `scripts\u002Finstall-windows*`, `scripts\u002Ftray-diagnose.ps1`, host-shell pty windows files |\n\nCross-host shared scope (any host may write, but COORDINATE via the ledger first): `crates\u002Ftillandsias-control-wire\u002F` (wire format — WIRE_VERSION must not break), `crates\u002Ftillandsias-host-shell\u002F`, `methodology\u002F`, `openspec\u002Fspecs\u002F`, top-level docs.\n\n### Unblock-with-NOOP Rule\nIf your work needs a function\u002Ftype\u002Ffile that lives in a sibling-owned scope and doesn't exist yet, you MAY add a **minimal stub** there to unblock yourself. Mark it explicitly:\n```rust\n\u002F\u002F PLEASE REVIEW: \u003Csibling-host> — minimal stub to unblock \u003Cyour-work>.\n\u002F\u002F Owner: replace with the real implementation and add a brief\n\u002F\u002F `\u002F\u002F DEPRECATED: superseded by \u003Cnew-name>` comment here for one\n\u002F\u002F release cycle so callers can migrate.\npub fn placeholder() -> Result\u003C(), String> {\n    \u002F\u002F TODO(\u003Csibling-host>): implement\n    Err(\"not yet implemented\".to_string())\n}\n```\nCite the unblock in your commit body (`unblock-noop: \u003Cpath>:\u003Cline>`) so the sibling host can find it on their next cycle. Keep the stub tiny — one function, one error, no business logic.\n\n---\n\n## 5 — Execute + Verify\n\n```bash\ncargo fmt --all\n.\u002Fbuild.sh --check\ncargo test -p \u003Ccrate-you-touched>      # targeted, fast\n.\u002Fbuild.sh --test                       # cross-cutting changes only\n```\n\nHard rules:\n- **Detach any gate longer than a couple of minutes from the harness, and\n  never launch one by hand inside a WSL distro.** The harness reaps its own\n  `run_in_background` waiters under memory pressure: on macuahuitl two\n  polling loops were killed mid-`.\u002Fbuild.sh --check` with \"the system is\n  running low on memory\" while `free` showed 53 GiB — the `setsid nohup` job\n  survived both, a Monitor task on the same log survived. Launch it detached\n  from a script FILE and watch the log with Monitor, never a background shell.\n  **THE DETACH FORM IS PLATFORM-SPECIFIC — `setsid` DOES NOT EXIST ON macOS**\n  (macneo, 2026-09-15, where the prescribed line failed outright on both Macs\n  in the fleet):\n\n  ```bash\n  # The gate script writes its OWN log (so the Monitor sees it grow), and the\n  # agent door writes ONE JSON verdict to a separate status file (1260-2qgi).\n  #   \u003Cscript-file>:  exec .\u002Fbuild.sh --check > gate.log 2>&1\n  # linux\n  setsid nohup tillandsias-plan run --json --timeout-ms 5400000 -- bash \u003Cscript-file> \\\n      \u003C \u002Fdev\u002Fnull > gate.status 2>&1 &\n  # macos — no setsid; disown detaches from the job table\n  nohup tillandsias-plan run --json --timeout-ms 5400000 -- bash \u003Cscript-file> \\\n      \u003C \u002Fdev\u002Fnull > gate.status 2>&1 & disown\n  ```\n\n  THE VERDICT IS `status` IN gate.status, NEVER AN INTEGER YOU COMPOSED\n  (methodology\u002Fconvergence.yaml -> status_channel_policy, 1260-2qgi). The old\n  recipe ended the script with `echo \"rc=$?\"`, and that line lied twice: a gate\n  KILLED mid-run printed `rc=137`, an integer indistinguishable from a red,\n  and `$?` after a pipe was the LAST stage's (a failed push read as 0). The\n  door's record is `\"status\":\"exited\"` with `code` for a real exit, and\n  `signaled` \u002F `timed_out` \u002F `spawn_failed` \u002F `no_status` \u002F `policy_denied`,\n  with `code` null, when no exit status exists. Those are ABSENT, not red:\n  re-run, never report green, never push on them. A gate.status with NO record\n  means the door itself died, which is also absent.\n\n  `--timeout-ms` IS NOT OPTIONAL: the door's default deadline is 300 s, which\n  would kill every full gate at five minutes. 0 means no deadline; the\n  explicit ceiling above is the safer choice, so a wedged gate still ends.\n\n  Both load-bearing details are unchanged on either platform: a script FILE\n  rather than an inline command (an inline one re-exposes the sibling-match\n  trap, where a pgrep\u002Fkill pattern carried in the same command matches itself;\n  the door refuses command strings anyway), and a log the Monitor can watch. This recipe was written\n  from Linux measurements and prescribed fleet-wide for weeks before a Mac ran\n  it — a remedy measured on one regime is a property of that regime until a\n  second one executes it. On Windows invoke from Git Bash so `with-wsl2-builder.sh`\n  re-execs and exports its ext4 `CARGO_TARGET_DIR`; esme launched inside the\n  distro to dodge the reaper, compiled against `.\u002Ftarget` on drvfs for\n  4050 s, and published a false ERROR and a tier ratio that were both the\n  bypass (drill: plan\u002Fissues\u002Ffleet-restart-2026-09-12.md, The agent harness kills its own background waiters under memory pressure during a gate).\n- **Poll the detached gate log's mtime, not only for a verdict token.**\n  macbookair reported a dead land as \"slow\" twice before adopting this: a\n  hung gate never prints `ok:` or `refused:`, so \"still gating\" and \"dead\"\n  are indistinguishable to a watcher that greps only for those. Watch the log\n  under Monitor and report STALL when it goes five minutes without\n  advancing. Before relaunching, look for a surviving process — killing the\n  host-side wrapper reaps only the wrapper, and the container-side\n  `build.sh` outlives it (drill: plan\u002Fissues\u002Ffleet-restart-2026-09-12.md, Watch a gate for a stall, not only for a verdict).\n- **Never bypass the idiomatic-podman layer.** The test `idiomatic_podman_launch_paths_do_not_bypass_shared_layer` enforces routing through `PodmanClient` — no direct `Command::new(\"podman\")` in production launch paths.\n- **Develop THROUGH the idiomatic layers — no ssh\u002Froot\u002Fside channels into the guest.** The control wire \u002F `--diagnose` \u002F ExecOneShot \u002F PTY-attach (+`TILLANDSIAS_PTY_DEBUG` tee) surfaces are the ONLY sanctioned guest access, for forensics and debugging exactly as for runtime. A task the layer cannot do is a product gap: file a packet extending the layer instead of side-stepping. Root exec anywhere in guest\u002Fforge is a finding, not a tool. Canonical: `methodology\u002Fmulti-host-development.yaml` `idiomatic_layers_for_agents` (The Tlatoāni, 2026-07-10, order 271).\n- **Container security flags are non-negotiable**: `--cap-drop=ALL`, `--security-opt=no-new-privileges`, `--userns=keep-id`, `--rm`.\n- **Pre-commit hooks and release signing** are not optional.\n- **Acquire the smoke lock for source-mutating migrations**: Destructive, file-moving, or source-mutating directory migrations (e.g., file-restructuring tasks) MUST run under the shared smoke lock `build-install-smoke-e2e` (using `scripts\u002Fwith-smoke-lock.sh`) or a corresponding lease, so that concurrent E2E gates do not read or execute from a half-migrated or half-restructured tree.\n\n- **Check and test with the gate's feature set, and quote the set beside the\n  count.** `cargo check -p tillandsias-headless --features tray` does NOT\n  compile the vsock surfaces (vsock_server.rs, vsock_client.rs, the\n  control_dispatch.rs arms behind `listen-vsock`); on 2026-09-04 macbookair\n  spent six rounds getting truthful zero-error results about code the check was\n  not compiling, and every \"588 passed\" it reported that day was the same suite\n  under `--features tray` — the gate's set, `--features tray,listen-vsock`, runs\n  635. A count whose denominator depends on flags nobody states is not\n  falsifiable; \"635 passed under tray,listen-vsock\" is. Use the gate's set, and\n  write the set next to the number in every claim.\n\n- **`cargo test -p \u003Ccrate> \u003Cfilter>` takes a substring, not a regex.** `\"a|b\"`\n  matches neither `a` nor `b`: a falsification pass on macbookair (2026-09-12)\n  selected ZERO tests with a regex-shaped filter and still printed `test\n  result: ok`. Quote the selection beside every targeted-test claim — read the\n  `N passed; M filtered out` line, or list the tests first — so a zero cannot\n  hide behind a green (drill: plan\u002Fissues\u002Ffleet-restart-2026-09-12.md, First autonomous-drain stories).\n\n- **`.\u002Fbuild.sh --check` runs no litmus (748-tkjx); run the bound spec before\n  landing on any surface a litmus covers.** On 2026-09-04 lenovinha ran the\n  gate four times green over gate-stamp.sh and landed a change whose guard,\n  `litmus:mode-only-regression-gate`, states in its own arm text why that exact\n  change deadlocked every Windows host once (889-8tcb); the daily release gate\n  and the coordinator's union litmus were the first places it could go red.\n  \"My gate was green\" is evidence about the gate's lane, not about the change:\n  `scripts\u002Frun-litmus-test.sh --diff-scope origin\u002Flinux-next --compact` (or the\n  bound spec by name) before the land, not after.\n\n- **The gate pass token gates the STAMP, never the PUSH (1039-b64k).** A push\n  needs a *stamp* whose digest matches the tree being pushed; the pre-push hook\n  calls `gate-stamp.sh verify`, which compares recorded-vs-computed digest and\n  nothing else. `\u003Cgit-dir>\u002Ftillandsias-gate-pass-token` is minted by a green\n  `build.sh` and consumed by `gate-stamp.sh write`, so an unearned stamp is\n  impossible by accident (940-f77j) — but no branch of the hook reads it. Two\n  consequences worth knowing before you debug a refused push: a **memoised**\n  gate mints no token and writes no stamp and still pushes fine, because the\n  existing stamp covers the unchanged tree; and a fix that adds or moves the\n  token cannot affect a push at all. 1039-b64k was filed with a remedy resting\n  on the opposite belief, and the remedy was dropped once the push path was\n  actually read rather than inferred from the packet.\n\n- **After a gate run, rebuild before exercising a feature-gated path\n  (1031-q4pb).** `.\u002Fbuild.sh --check` rebuilds `target\u002Fdebug\u002Ftillandsias`\n  WITHOUT `--features tray`, so a control arm that drives a `#[cfg(feature =\n  \"tray\")]` surface after a gate is exercising a binary in which the code under\n  test does not exist. On 2026-09-04 that turned a working control into a hang;\n  had the absent path fallen through to success instead, it would have been a\n  green arm for absent code. `cargo build -p \u003Ccrate> --features \u003Cfeature>`\n  immediately before the arm, every time — a gate silently replaces the binary.\n\n- **Read a file's own comments before concluding a failure is novel\n  (yolanda, 2026-09-04).** yolanda spent ~40 minutes and four gate runs\n  rediscovering the Windows drvfs deadlock from scratch — the mechanism, the\n  memo amplifier, and the measurement — all of which were already written eighty\n  lines above the line being debugged, in `gate-stamp.sh`'s `compute`, from\n  order 889-8tcb. They had read the file three times during the diagnosis, each\n  time for a different question, and never the paragraph directly above the\n  suspicious line. A file that has been bitten before usually says so, and this\n  project records that more reliably than most. (The defect being rediscovered\n  was lenovinha's 1034-ihxw, landed against that same warning — so the two\n  halves of this lesson are one event.)\n\n- **Quoted history lives in comments; guards scan declarations.** A codebase\n  that explains itself contains the strings it forbids (a doc comment names the\n  identifier it replaced, a narrowing quotes the sentence it narrowed), so a\n  class guard that scans for a bare substring fails on its own file the day it\n  is written. Scan declarations (`pub old_name:`, `fn old_name`) and assemble\n  the needles at runtime (`format!(\"pub vm_{}_live:\", \"owner\")`) so the guard\n  cannot match its own source; keep the quoted history where it explains the\n  change. Named by macneo on 980-ja2m, 2026-09-04, after its first class guard\n  went red on its own doc comments.\n\n- **A gate run silently replaces the binary without the tray feature.**\n  `.\u002Fbuild.sh --check` rebuilds `target\u002Fdebug\u002Ftillandsias` without `--features\n  tray`; every order-505 site and much of the tray surface is\n  `#[cfg(feature = \"tray\")]`, so a control arm run after a gate can exercise a\n  binary in which the code under test does not exist. On 2026-09-04 lenovinha's\n  arms hung against such a binary, which was luck: an absent path falling\n  through to success is a green arm for absent code. Build with the feature\n  set the change needs (`cargo build --features tray,listen-vsock`) immediately\n  before any live control arm, and quote the feature set beside the arm.\n\n- **A control variable set outside the builder does not reach cargo inside it.**\n  `scripts\u002Fwith-tillandsias-builder.sh` forwards only `TILLANDSIAS_*`, `LITMUS_*`,\n  `FORGE_*`, `NIX_*`, `CONTAINER_HOST` and `DOCKER_HOST` into the toolbox, and\n  `with-wsl2-builder.sh` forwards only `TILLANDSIAS_*` across wsl.exe; on\n  2026-09-05 `CARGO_BUILD_JOBS=10` was UNSET inside the builder on both Linux and\n  Windows, so a \"ten-job arm\" ran at twenty and would have reported a confident\n  null. A build setting must be applied inside the build scripts, or forwarded by\n  name with a probe that proves it arrived (`with-tillandsias-builder.sh bash -c\n  'echo ${VAR:-UNSET}'`) before any measurement is read.\n\n- **A stamp-dependent litmus arm must declare its skip to the harness, or it is red on every merged union.** `expected_behavior` is an exact match; a test that honestly prints `skip: no warm stamp` under it reads as a wrong answer, and a merged union has by definition changed since the last gate, so the red recurs in every coordinate cycle (1036-e5w9's closure, 2026-09-05: 290\u002F291 on the union). Split the arm: the invariance half with no precondition, which can never skip; the memo half under a `success_pattern` regex that admits the ok form and a self-naming `skip:\u003Corder>:\u003Creason>` token; and a control that would go red if the memo were made to refuse always. Never widen the expectation until the skip passes: that is a green that asserts nothing (1041-up99).\n\n- **On Windows, name the runner beside a test count: native cargo or the gate's WSL re-exec.** A `cfg(all(test, unix))` module reports \"7 passed\" natively while three of its tests are broken, because the broken ones were never compiled; only the WSL re-exec runs them (972-umik commit B, 2026-09-05). Windows-native cargo output is not evidence about a unix-cfg module. And a litmus verdict from a Windows host before df5708607 (1049-s35z) is unearned: CRLF from jq.exe made bound tests unfindable, and the runner counted the skips as PASS.\n\n- **Under the relay protocol, `git pull --rebase` on linux-next fuses the two lanes.** (Since 1315-4a7j a `work\u002F\u003Corder>` ref is UNGATED — it is where a host works, not a gated hand-off; the lane separation below still holds, and the coordinator's relay still lands a work ref a host cannot open a PR for.) A slow-gate host pushes code to `work\u002F\u003Corder>` for the coordinator to relay-land and pushes ledger fragments directly through the plan-only lane. If both commits exist on the same local linux-next, a rebase carries the code into the \"plan-only\" push and the hook refuses it (`plan-only lane: not applicable — … outside plan\u002Findex.d\u002F`), which is correct; the refusal's output offers `git push --no-verify`, which would push the violation through. Never use it. After a `work\u002F` push, reset local linux-next to `origin\u002Flinux-next` before starting plan-only work, so the lanes never share a branch; if they already do, reset to trunk and cherry-pick the fragment commit alone after confirming the `work\u002F` ref is safe on origin (lenovinha, 2026-09-05, 1059-pb2j).\n\n- **Relay-lane order is fetch, rebase, gate, push; and never sequence a destructive git command after a push in the same block.** Gating before the rebase invalidates the stamp and the hook refuses correctly (lenovinha, 2026-09-05). And `git push && …` is not enough when the push is refused by a hook that exits non-zero only sometimes: a `git reset --hard` placed after a push in one block ran on a refused push and discarded a commit that existed nowhere else, recovered from the reflog. Under the relay protocol a `work\u002F` push is followed by a reset to keep the lanes apart, which makes this likelier: read the push's verdict line, then reset in a separate command.\n\n- **Ledger prose is data, and the shell will execute it if you let it.** On 2026-09-05 a host wrote an event whose prose quoted a litmus line in backticks; the write path command-substituted them and a truncated two-argument `cp` overwrote a gate instrument in the working tree, silently (1063-363b, reframed). Write every event summary to a file through a quoted heredoc and pass `--summary-file`; never an inline `--summary \"…\"` or an unquoted heredoc; quote a shell fragment whole or describe it in words. And report every timestamp to a peer in UTC with the Z (`date -u`, `stat --time-style=+%FT%TZ`): a bare `stat` mtime is local time and sent a pristine-clone probe eight hours from the event.\n- **A ledger-only push from a platform branch is only ledger-only if the outgoing diff says so.** The lane judges the diff against the remote, not your last commit: an unpushed set that still carries code already relayed to trunk is declined, correctly. Before a plan-only push, confirm the code is safe on origin (`git branch -r --contains \u003Csha>`), rebuild the branch on `origin\u002F\u003Cbranch>`, re-apply only the fragments, then push (yolanda, 1055-6yp8 close, 2026-09-05). And a terminal event needs the status transition with it: a `completed` event beside status `ready` folds as ready and the packet stays claimable forever; the fragment-status-loss guard catches it, and `set-field --evidence` is the path that derives the rung from the status.\n\n- **A binding assembled from a variable is invisible to every name-based scan.** Wiring fixtures into `build.sh` with `for f in a b c; do _run bash \"$DIR\u002Ftest-${f}.sh\"; done` runs them correctly and leaves the orphan count unchanged: the bound-or-retired guard, a `grep` for the fixture's name, and a human all fail to find the reference. A binding nobody can find is the defect the wiring was meant to fix, in a tidier form. Write the literal path once per fixture, and re-count after wiring rather than assuming it worked (lenovinha, 1063-nraf, 2026-09-05: 26 orphans stayed 26 through a loop and dropped to 15 with literal names).\n- **A green exit code is not evidence that a fixture belongs in a gate.** Of 26 orphaned fixtures, 20 passed locally and 11 of those were still unsafe to bind; an adversarial second read reversed four dispositions from the first read, every one toward caution. Run each fixture, hand the exit codes to the reader as evidence, then have a second reader attack the proposal with the burden on the proposer, and retire only on pins-nothing or duplicate-entrypoint, never on subject-is-gone.\n\n- **Never amend a landed fragment, not even to satisfy a guard — write a correction fragment.** A fragment is append-only and immutable once written, and the author may still be holding it: on 2026-09-05 the coordinator added a missing `unscoreable:` block to three landed fragments after checking origin and finding no conflict, while their author did the same on their own host; git combined both additively, each file gained two `unscoreable:` keys, the fragments stopped parsing and their events orphaned. Checking trunk is not a safeguard, because trunk is the relay-interval-stale view (1034-whsp measured 19 minutes to two hours). A correction fragment composes under the CRDT; an in-place amendment cannot. When a guard's shape forces the in-place edit — it reads the declaring fragment's bytes rather than the folded packet — that is a defect in the guard and it is filed, not worked around.\n\n---\n\n## 6 — Commit, Push & Checkpoint\n\n1.  **Durable Checkpointing**: At meaningful milestones (every 30–45 minutes), write an `agent_status_packet` as a `progress` or `checkpoint` event to a `plan\u002Findex.d\u002F` fragment via `tillandsias-plan append-event \u003Cpacket-id> progress ...` or fragment file, and push it through the plan-only lane (`scripts\u002Fpush-plan-fragments-to-trunk.sh`) — the fragment lives on trunk, not on the work ref.\n    -   *Schema requirement*: Include current plan, touched files, partial evidence, and next checkpoint.\n2.  **targeted git add, then push the WORK REF** (1317-9ugn; methodology `work_ref_lane`):\n    ```bash\n    git add \u003Cspecific-files>      # NEVER `git add -A` (cross-host churn)\n    git commit -m \"\u003Cslice-message>\"   # cite trace + plan packet + any unblock-noop\n    git push -u origin work\u002F\u003Corder>   # ungated: no stamp, no trunk merge, the deciders warn\n    ```\n    Push after every commit if you like. A work ref never races anyone: the\n    \"remote moved, retrying\" loop belongs to pushes at the shared branch, and a\n    work ref has one writer. If the hook prints `warn:pre-push:\u003Cdecider>:` the\n    decider found something you will have to fix before the landing; fix it in\n    the next commit, the push already went through.\n\n    MIGRATION, NOT ENFORCEMENT (operator, 2026-09-20): a gated push straight to\n    `\u003Cactive-branch>` still lands today, and the hook's refusals carry the same\n    affordance join-the-fleet §3 teaches; it will be refused later, once\n    `scripts\u002Flua\u002Fcheck-landing-provenance.lua` measures that most landings arrive\n    through the queue, and that flip is the operator's decision on a number.\n\n### Integration Verification Gate (run ONCE per unit of work, BEFORE the PR leaves draft)\n\nThis gate is **non-negotiable**. The shared trunk has been broken twice by agents\npushing an un-revalidated post-integration tree: a duplicate `#[test]` definition\n(E0428) and an orphan `>>>>>>>` conflict marker left inside `plan\u002Findex.yaml`.\n`.\u002Fbuild.sh --check` alone does NOT catch the YAML class — `plan\u002F`\u002F`openspec\u002F`\nfiles are data, not compiled. The landing queue re-runs the gate at FULL on\nthe merged candidate (1316-bnzt), so this run is what keeps your PR from being\nevicted, not what lands it. A merge of trunk into the work ref is only \"done\"\nwhen ALL of these pass on the merged tree:\n\n```bash\n# Bring trunk into the WORK REF by MERGE. Never rebase a pushed ref, and never\n# rebase\u002Fcherry-pick published commits across branches (integration_strategy in\n# methodology\u002Fmulti-host-development.yaml). `git config rerere.enabled true`\n# (join-the-fleet §1) replays a resolution you already made.\ngit fetch origin && git merge --no-edit origin\u002Flinux-next\n\n# 1. No conflict markers survived the resolution (the orphan-marker bug).\n#    Markers are EXACTLY 7 chars then space\u002FEOL — do not match `=` separator lines:\ngit grep -nE '^(\u003C\u003C\u003C\u003C\u003C\u003C\u003C|=======|>>>>>>>)( |$)' && { echo \"CONFLICT MARKER PRESENT\"; exit 1; } || true\n\n# 2. Every touched YAML still parses (the broken-plan\u002Findex.yaml bug — `build\n#    --check` does NOT validate data files, so this step is what catches it):\n#    PICK THE VALIDATOR THAT EXISTS WHERE YOU ARE. `ruby` is NOT in the forge\n#    image; `yq` is. Hosts usually have both. `python3` is present in the forge\n#    and is FORBIDDEN for committed automation (tlatoani_hard_no_python) — its\n#    presence is not permission, and it is the trap this fallback chain exists\n#    to keep you out of.\n#    ORDER 560: the plan binary is the validator every regime already has\n#    (Windows hosts have no ruby and often no yq). It must parse THE FILE:\n#    `tillandsias-plan check` ignores its argument and exits 0 on a malformed\n#    file, so a yamlcheck built on it can never fail. Resolved through the\n#    shared probe, because the binary is usually not on PATH.\n_yc_plan=\"$( . scripts\u002Fplan-binary-probe.sh 2>\u002Fdev\u002Fnull && resolve_plan_binary 2>\u002Fdev\u002Fnull )\" || _yc_plan=\"\"\nif command -v tillandsias-policy >\u002Fdev\u002Fnull 2>&1; then\n  yamlcheck() { tillandsias-policy validate-yaml \"$1\"; }\nelif [ -n \"$_yc_plan\" ]; then\n  yamlcheck() { \"$_yc_plan\" validate-yaml \"$1\" >\u002Fdev\u002Fnull; }\nelif command -v yq >\u002Fdev\u002Fnull 2>&1; then\n  yamlcheck() { yq . \"$1\" >\u002Fdev\u002Fnull; }\nelif command -v ruby >\u002Fdev\u002Fnull 2>&1; then\n  yamlcheck() { ruby -ryaml -e \"YAML.load_file('$1')\"; }\nelse\n  echo \"no sanctioned YAML validator available — do NOT substitute python3\"; exit 1\nfi\nfor y in $(git diff --name-only origin\u002Flinux-next..HEAD | grep -E '\\.ya?ml$'); do\n  yamlcheck \"$y\" || { echo \"INVALID YAML: $y\"; exit 1; }\ndone\n\n# 3. Code still compiles — clippy + cargo catch the duplicate-item E0428 directly\n#    (also pinned by litmus:no-duplicate-rust-item-defs in the --ci-full suite):\n.\u002Fbuild.sh --check\n\n# Only now: push the work ref, open the PR as a draft, and mark it ready once\n# the closure evidence is on the row. The landing queue integrates it ONCE.\ngit push origin work\u002F\u003Corder>\ngh pr create --base linux-next --head work\u002F\u003Corder> --draft --fill\ngh pr ready \u003Cpr-number>        # after the row carries the closure evidence\n```\n\nIf any step fails, FIX it in the next commit — **never mark ready a tree that\nfailed this gate.** A candidate that fails at the landing is evicted and costs\nthe queue a full gate; the gate here is the price of a landing that goes\nthrough first time. If your host's token cannot open pull requests (the fleet's\nfine-grained token lacks \"Pull requests: write\" as of 2026-09-20 — an operator\nask), push the work ref and send the coordinator its SHA: the relay lane lands\nit exactly as the queue would. Close by order only after the merge is on\n`origin\u002Flinux-next`.\n\n3.  **Durable Ledger Update**: Write a one-line outcome to your host's work-queue ledger (`plan\u002Fissues\u002F\u003Chost>-next-work-queue-*.md`):\n    ```\n    - 2026-MM-DDTHH:MMZ  \u003Ccommit-sha>  \u003Cone-line summary>\n    ```\n\n### Defer Rule\nIf the 2h integration cron fired in the last 10 min (check the latest `### Cycle` timestamp in `plan\u002Fissues\u002Fmulti-host-integration-loop-2026-05-24.md`), write a no-op ledger entry and exit. The cron's writes need to settle before another work commit lands.\n\n---\n\n## 7 — Submit Completion or Yield\n\n### Submit Completion\n\n**Long-running packets** (`multi_cycle: true` with `verification_required`):\nyou MUST NOT emit `completed` or flip status to `done` yourself, even with\nevery exit criterion implemented. Instead: append a `progress` event stating\nimplementation-complete, set `phase: verification`, update\n`progress_summary` and `plan\u002Flong-running.md` in the same commit, and leave\nstatus `ready`. The packet closes only when every agent named in\n`verification_required` has emitted passing `verified-by` events\n(`methodology\u002Fdistributed-work.yaml` → `long_running_packets`).\n\n0.  **Cycle Metrics**: Run `scripts\u002Fcycle-metrics.sh` and include its output in\n    your completion report. Read `verdict` first — it names the cycle's weakest\n    point. `attention:expert-answered-nothing-check-base-branch` means the\n    expert ARTIFACT is wrong (order 531), not that the questions were hard;\n    check the base branch before trusting any expert answer from this cycle.\n    Report `experts_substitution` as `unknown` — it is not derivable in-repo and\n    must never be estimated. Pass `--cycle-start \u003Cyour Start-Of-Cycle UTC>` so\n    `repeat:` measures this cycle, and read `skippable:` (printed right after\n    `timing:`) alongside `verdict:` — it names the expensive, outcome-invariant\n    steps this host keeps paying (order 1001-q3zf); quote `saved_ms_upper` as\n    the bound it is.\n0b. **Emit this cycle's flow record — EVERY cycle, on EVERY host.** Right after\n    the metrics run above and before Finalization commits:\n    ```bash\n    scripts\u002Fcycle-metrics.sh --emit-flow \\\n      host=\u003Cthis-host> \\\n      batch_epic=\u003Cfrom select-work-batch `batch: epic=`> \\\n      batch_seed=\u003Cfrom `batch: seed=`> \\\n      batch_size=\u003Cfrom `batch: size=`> \\\n      budget=\u003Cfrom `batch: budget=`> \\\n      claimed=\u003Cpackets this cycle claimed> \\\n      completed=\u003Cpackets this cycle completed> \\\n      filed=\u003Cnew packets\u002Fissues this cycle filed> \\\n      commits=\u003Cfrom cycle-metrics `repo: commits_this_cycle=`> \\\n      plan_open=\u003Copen packet count> plan_total=\u003Ctotal packet count>\n    ```\n    Best-effort by construction: the emit never fails the cycle it measures\n    (`methodology\u002Fagent-observability.yaml`), so a full disk or a read-only path\n    costs a record and nothing else.\n\n    **THIS INSTRUCTION USED TO EXIST ONLY IN `skills\u002Fmeta-orchestration`** — the\n    coordinator's skill, which one host runs on a schedule — and was absent\n    from THIS skill, which every worker host runs every cycle (943-7dn5). The\n    emitter shipped and passed its fixture; the CALL was never wired. Measured\n    on yoga 2026-09-06: 20 records, all from sessions that happened to run the\n    coordinator skill, newest 44h old, with 953 settled commits landed since.\n    `overhead_ratio` is what 689-zwzm gates its concurrency ramp on, and a ramp\n    gated on a metric nothing feeds either never lifts or lifts because the\n    absence reads as calm.\n\n    `scripts\u002Fcheck-cycle-flow-log-fresh.sh` refuses a log that no cycle has fed\n    while commits kept landing. It is bound to `litmus:cycle-flow-telemetry-shape`\n    rather than to `.\u002Fbuild.sh --check`, because every host's log is stale today\n    and a blocking gate step would refuse the whole fleet's landings at once.\n\n1.  **Full Verification**: Run the full validation litmus on your platform to confirm zero-drift compliance.\n2.  **Close the packet — BOTH the event and the status transition.**\n\n    **LAND THE CODE FIRST, then close with the SHA the landing printed.**\n    `scripts\u002Fland-on-platform-branch.sh` fetches, integrates onto origin and\n    REWRITES your commit, so a SHA captured before it is the pre-rebase local\n    one and never exists upstream. `ok:land:\u003Csha>` is the only SHA that exists.\n\n    **Never read a land or gate verdict through a pipe.** The shape above —\n    `landed=\"$(scripts\u002Fland-on-platform-branch.sh | sed -n '…')\"` — reports\n    `sed`'s exit status, not the land script's. Three false claims in one\n    hour on two Windows hosts came from exactly this shape (2026-09-12):\n    yolanda read `land-on-platform-branch.sh | tail -25` as exit 0 and told\n    two parties the land tool reports success over a refused gate. It had\n    exited 3 and named its gate log, and esme was about to file a row\n    against the tool for the bug its own header exists to prevent. Capture\n    first, then parse:\n\n    ```bash\n    land_out=\"$(scripts\u002Fland-on-platform-branch.sh 2>&1)\"; land_rc=$?\n    landed=\"$(printf '%s\\n' \"$land_out\" | sed -n 's\u002F^ok:land:\\([0-9a-f]*\\):.*\u002F\\1\u002Fp')\"\n    [ \"$land_rc\" -eq 0 ] && [ -n \"$landed\" ] || { echo \"land refused (rc=$land_rc): $land_out\"; exit 1; }\n    tillandsias-plan set-field \u003Cpacket-id> status completed \\\n      --evidence \"$landed\" \\\n      --reason \"\u003Cwhat shipped, validation log paths>\"\n    ```\n\n    `${PIPESTATUS[0]}` is not wrong, it is fragile: any intervening command\n    resets the array, and `a=$?` is the command everyone writes beside it.\n    Pinned by `litmus:land-verdict-through-a-pipe` (drill: plan\u002Fissues\u002Ffleet-restart-2026-09-12.md, What the pipe-verdict fixture found — extends the coordinator's rule entry below, which named this fixture as its follow-up).\n\n    Then commit and push the ledger fragment (step 3), which takes the\n    plan-only lane. **This inverts the old step 2\u002Fstep 4 order for the CODE\n    commit only** — every other ledger write keeps the 3c ordering.\n\n    **A `scripts\u002Fgate-steps.d\u002FNNN-*.step` prefix is ALLOCATED BY THE LAND\n    TOOL, not chosen by you (1162-qbrx).** Pick the slot you mean between its\n    neighbours and land with `scripts\u002Fland-on-platform-branch.sh`: after its\n    own integrate and before the gate it runs\n    `scripts\u002Fallocate-gate-step-prefix.sh --base origin\u002F\u003Cbranch> --commit`,\n    which moves a step THIS push adds — and only that — to the smallest free\n    integer below the next occupied prefix when the integrate brought in a\n    sibling's step with the same number, and commits the rename\n    (`gate-step-prefix: 280-\u003Corder>.step -> 281-\u003Corder>.step (280 taken by\n    …)`). The old advice, \"choose the prefix after the integrate\", cannot\n    close this race because the window is the gate itself: MEASURED\n    2026-09-13, lenovinha's 280 followed it exactly and still collided\n    against yoga's 900-z3kv landing mid-gate (215, 255 and 280 that night,\n    each a full re-gate; yoga's 205 the day before). Hand-rolled push? Run\n    the allocator yourself after your merge, before your gate. A\n    `refused:gate-step-prefix:no-gap` means every integer up to the next\n    occupied prefix is taken — renumber by hand so the step keeps its place.\n    Existing steps are never renumbered.\n\n    ORDER 1024-c3h3. This step used to run before the landing, and the evidence\n    refs were systematically wrong for every host that followed it: lenovinha\n    measured four of four closures citing ghosts on 2026-09-04 (5326cb97d,\n    d2ce890b2, 89f6960d2, 4aaa24ba2, while the code landed as dcc50ff27,\n    a20540d33, 42930b71c, 00549903c), and yoga's 1011-d578 cited 677c30527 the\n    same way. A reader running the obvious check\n    (`git merge-base --is-ancestor \u003Csha> origin\u002F\u003Cbranch>`) gets NO and **cannot\n    tell \"the code never landed\" from \"the ref was captured too early\"** — two\n    conditions needing opposite responses. That is 881-29me's shape with a SHA\n    instead of a line number: cite what survives the operation.\n\n    If you cannot capture the landed SHA, cite by content the rebase preserves\n    (the commit subject, a test name, a verdict line) and say that is what you\n    did. A wrong SHA is worse than no SHA, because it looks checkable.\n\n    An event alone does **not** close a packet. This step used to read *\"append\n    a `completed` event … or by writing an append-only fragment file setting\n    status `done`\"*, and **both of those branches are broken** — which is why\n    three hosts left finished work claimable on 2026-08-09:\n\n    - `append-event` locates packets by their item prefix in `plan\u002Findex.yaml`\n      and is blind to fragment-only packets (600-c266). It refuses them outright.\n    - Hand-writing a fragment that re-declares the packet under `packets:` with\n      a new status is a **G-Set no-op**. It parses, validates, passes\n      `tillandsias-plan check`, reads correctly in review — and the fold throws\n      it away. 11 of 21 completions were discarded that way (635-i6vm).\n    - Writing only a `type: completed` event leaves the status untouched. macOS\n      did this after a 5\u002F5-PASS validation with an evidence file; the packet was\n      still being handed out as work hours later.\n\n    `set-field` resolves against the folded ledger, writes the LWW channel\n    correctly, refuses an unknown reference, and reports a no-op instead of\n    writing one. Add a narrative `progress`\u002F`completed` event too if the detail\n    is worth keeping — but the status transition is what actually closes it.\n3.  **Commit & Push Ledger**: the final plan fragments go to trunk through the plan-only lane (`scripts\u002Fpush-plan-fragments-to-trunk.sh`), never onto the work ref; on a platform branch commit them to `origin\u002F\u003Cactive-branch>` as well.\n4.  **Attest**: with every commit pushed (the work ref: `git log origin\u002Fwork\u002F\u003Corder>..HEAD` empty), run `scripts\u002Ffinalize-cycle.sh \u003Cactive-branch>`\n    (verify boundary, record, land, re-verify, derive the `MO-FULL:` marker —\n    never type it). It needs the §1 step 1b snapshot; without one the honest\n    exit is landed-but-unattested, stated in the loop-status entry's first\n    line. Write that entry with `tillandsias-plan loop-status-append --host \u003Chost>\n    --ts \u003Ccycle-start-UTC> --backfill \u003C fragment.md` — or `--file fragment.md`, or\n    a bare path, all three of which now work. Order 1004-8vkv fixed what this\n    line used to warn about: a path argument was silently dropped and the\n    command then blocked forever on an inherited socket stdin (lenovinha,\n    2026-09-04, 26 minutes). A stdin with nothing writing to it is now refused\n    in 5s naming both explicit forms, and an empty read says `read 0 bytes`\n    instead of blaming your fragment's headings.\n\n### Mandatory Exit Discipline\n\nA successful invocation MUST NOT exit with local-only work:\n\n- If implementation is complete, update the owning plan item status and append a\n  completion event with evidence before the final commit.\n- If implementation is incomplete but coherent, commit a checkpoint and append a\n  progress event with remaining work and the next action.\n- If implementation is blocked, append a blocked\u002Ffailed event with the exact\n  blocker and smallest next diagnostic command.\n- Push every checkpoint\u002Fcompletion to the appropriate remote branch before\n  returning success.\n- Before final success, verify `git status --short --branch` is clean and not\n  ahead of upstream. If not, finish the commit\u002Fpush or mark the plan item\n  blocked with the reason.\n\n### Yield & Triage (Failure\u002FBlockage)\n1.  **Emit Blocked or Failed Event**: If you encounter an unresolvable error, blocker, or spec gap:\n    -   Append a `blocked` or `failed` event to `events:` detailing the exact reason, the named blocker, and the smallest next diagnostic command.\n    -   Flip status to `blocked` or `failed` (with `retryable: true|false`).\n    -   Push the event through the plan-only lane (`scripts\u002Fpush-plan-fragments-to-trunk.sh`) so the Orchestrator can audit and reschedule it; push the work ref too, so the partial code is on origin.\n2.  **Fallback Selection**: Release your local lease, select your named fallback task, and begin the loop fresh.\n\n---\n\n## Hard Guardrails\n\n- NEVER `git push --force`.\n- NEVER push directly to `main` — use PRs. Check `plan\u002Fissues\u002Fcross-host-blocker-roundup-*.md` for the active `\u003Chost>-next → main` PR number before opening a duplicate.\n- NEVER push to a sibling host's branch (linux MUST NOT push to `osx-next` or `windows-next`).\n- **Velocity Limit Compliance ($C_{max}$)**: Do not push more than **2 commits per hour** if convergence velocity remains zero or negative ($\\mathcal{V}_c \\le 0$). High-frequency pushing without progress causes thrashing and triggers a 1-hour cooldown.\n- **Branch Drift Compliance ($D_{max}$)**: Do not allow your platform branch (`windows-next`, `osx-next`) to drift more than **$D_{max} = 5$ commits** ahead of the common `merge-base` with `linux-next`. If drift exceeds 5 commits, you MUST immediately halt feature work and run a pull-integration and merge pass.\n- NEVER skip hooks or signing.\n- `release.yml` is `workflow_dispatch` only — never auto-trigger. (The old `recipe-publish.yml` rootfs workflow was removed in the 2026-06 Fedora pivot.)\n- NEVER resolve cross-host plan conflicts by deletion — tombstone or supersede only.\n- When the worktree is dirty, only stage `plan\u002F` files explicitly by path. Implementation code from a previous (uncommitted) iteration is NOT yours to touch.\n- **AND BEFORE YOU LEAVE IT ALONE, COPY IT** (orders 872-c9nd, 1102-93ng).\n  Run this the moment you find startup dirt, before refusing and before any\n  other detector:\n\n  ```bash\n  scripts\u002Fsalvage-dirty-worktree.sh \u003Cslug>     # -> ok:salvaged:\u003Cref>:\u003Csha>\n  ```\n\n  Quote the `ok:salvaged:\u003Cref>:\u003Csha>` verdict in your cycle report — that ref\n  is the only durable record that the work existed.\n\n  **CHECK THE VERDICT — THERE ARE THREE, NOT TWO** (order 1103-i7xq):\n\n  | verdict | what you have |\n  |---|---|\n  | `ok:salvaged:\u003Cref>:\u003Csha>` | the copy is on origin; it survives a re-clone |\n  | `ok:salvaged-local:\u003Cref>:\u003Csha>` | the copy is in THIS repo only — the push failed. It survives a re-clone **only if someone pushes that ref**. Say so in your report and push it when the credential works: `git push origin \u003Cref>` |\n  | `ok:salvage-not-needed` | **the dangerous one.** The script protects a DIRTY worktree, not an unpushed COMMIT: a clean tree with a finished unpushed commit and a red gate returns this, rc 0, with NOTHING preserved — exactly the state the salvage rationale above was written for. A first push of a `work\u002F\u003Corder>` ref needs the full gate; `pre-push-local-gate.sh` instead exempts a push in which EVERY ref is `refs\u002Fheads\u002Fsalvage\u002F*`, so `git push origin HEAD:refs\u002Fheads\u002Fsalvage\u002F\u003Chost>\u002F\u003Cyyyymmdd>-\u003Corder>` lands the commit ungated. Verify by `git merge-base --is-ancestor \u003Csha> \u003Cremote-ref>` and by content on the remote, never by the push's exit code |\n  | `fail:salvage:\u003Creason>` | there is **no copy**. Do not proceed to a refusal on the strength of one. A dangling symlink in the tree produces this rather than a skip |\n\n  The middle row exists because the salvage used to push the commit straight\n  to origin and create no local ref, so a failed push left nothing at all — on\n  exactly the hosts most likely to strand work, the ones that cannot push.\n\n  yolanda measured the fourth row on 2026-09-12: clean tree, finished\n  unpushed commit, red gate — `ok:salvage-not-needed`, rc 0, nothing\n  preserved, which is exactly the state this rationale was written for\n  (drill: plan\u002Fissues\u002Ffleet-restart-2026-09-12.md, The salvage script covers the dirty tree, not the unpushed commit).\n\n  **It cannot touch the worktree.** The script works through a temporary index\n  and git plumbing only, so it is safe to run on dirt you have just been\n  forbidden to alter. \"Refuse\" and \"copy\" are not in tension; the copy is what\n  makes the refusal survivable.\n\n  **WHY THE OTHER HALF IS NOT ENOUGH, and this skill only ever had the other\n  half:** refusing protects the work from YOU. It does not protect it from a\n  fresh clone. On 2026-08-24 three consecutive cycles refused a dirty tree,\n  each writing more careful prose about the diff than the last, and then the\n  checkout was re-cloned. Four hours of finished work was unrecoverable and the\n  untracked file's name appears in no commit on any branch. Every one of those\n  cycles obeyed the rule it had been given.\n\n  This does NOT license committing, discarding, restoring, resetting or\n  cleaning unknown dirt. Treat every recorded path as immutable sibling or\n  operator work unless the operator identifies it as disposable in the current\n  prompt. Salvage, then refuse, then report both.\n- Treat every local-only commit as volatile. If it matters, push it before\n  ending; if it cannot be pushed after three retries, file a blocked event.\n\n---\n\n## How Orchestrators Steer this Skill\n\nThe canonical file lives at `skills\u002Fadvance-work-from-plan\u002FSKILL.md`.\nEach agent runtime (`.claude\u002F`, `.opencode\u002F`, `.codex\u002F`, `.gemini\u002F`, `.github\u002F`) accesses it via a symlink under its `skills\u002F` directory, so there is exactly one source of truth.\n\nTo steer remote agent work between iterations, an orchestrator can:\n- Edit the priority list in §2 to elevate a packet for the next cycle.\n- Tighten or loosen the defer rule in §6.\n- Add a new host row to §1 (e.g. when a freebsd-host comes online).\n- Drop or extend the unblock-with-NOOP rule in §4.\n",{"name":5,"description":7},"main","bf1668fd1df1b3363b826d083f060234cd2e1d0c","skills\u002Fadvance-work-from-plan",0,"https:\u002F\u002Fgithub.com\u002F8007342\u002Ftillandsias","https:\u002F\u002Fgithub.com\u002F8007342","https:\u002F\u002Ftlatoani.net","I used to be a software engineer.","2026-11-15 01:25:25",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add 8007342\u002Ftillandsias --skill advance-work-from-plan",{"tool":55,"command":56},"bunx","bunx skills add 8007342\u002Ftillandsias --skill advance-work-from-plan",{"tool":58,"command":59},"pnpm","pnpm dlx skills add 8007342\u002Ftillandsias --skill advance-work-from-plan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F8007342\u002Ftillandsias\u002Fblob\u002Fmain\u002Fskills\u002Fadvance-work-from-plan\u002FSKILL.md",true,[],[64,92,116,135,156,168],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":35},"01M6H60M8Y949GNECQVKAYFNH3","start-a-new-project","Use when the user wants to start a new project, asks how to begin, or is in an empty or nearly empty repository (\"how do I start?\", \"I want to build an app\", \"help me set up a new project\"). Guides them, in plain language, to describe the app as specs first (spec-driven development with OpenSpec), recommends Flutter (and the Flame engine for games and graphics), and sets up specs, a plan folder for longer work, and a README. Works for any project, not only Tillandsias.","MIT","https:\u002F\u002Fgithub.com\u002F8007342\u002Ftillandsias\u002Fblob\u002Fmain\u002Fskills\u002Fstart-a-new-project\u002FSKILL.md",[],[72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91],"start","new project","project","start a new project","development","SET","flutter","README","use","only","up","openspec","do","as","app","how to","flame","games","spec-driven","for",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":35},"01M6H60EXYDCPSD1QGC89HM0ZC","smoke-curl-install-and-test-e2e","Clean-room end-to-end smoke test of a PUBLISHED release. Curl-installs the latest release binary from GitHub, does a full `podman system reset --force`, runs `tillandsias --debug --init` from a pristine state, and (if init is clean) launches `tillandsias --cloud 8007342\u002Ftillandsias --opencode` with ONE short fixed smoke prompt (run the credential guard, reply with a fixed token; never the \u002Fmeta-orchestration loop, 1941-smkp). Every issue observed — by this skill's agent during install\u002Freset\u002Finit, or by the agent's one turn inside the forge — is filed as a plan\u002Fissues work packet for later pickup by \u002Fadvance-work-from-plan.","https:\u002F\u002Fgithub.com\u002F8007342\u002Ftillandsias\u002Fblob\u002Fmain\u002Fskills\u002Fsmoke-curl-install-and-test-e2e\u002FSKILL.md",[],[99,100,101,102,103,104,24,105,106,107,108,109,110,19,21,111,112,113,114,115],"test","e2e","curl","install","smoke","smoke curl install and test e2e","init","podman","issues","forge","Meta","loop","short","never","clean","end","reset",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":35},"01M6H609K8BAW74S59C68QRKC3","project-discipline","How THIS project wants its branches and pushes shaped — read its branch-discipline level (0 push to main freely; 1 integration branch + pull requests; 2 work refs into the integration branch), the drift between what it declares and what its history shows, which hooks it has installed, how to raise it, and the work format each hook refusal asks for. Every refusal that says \"use \u002Fproject-discipline for instructions\" resolves here. Works for any project in a Tillandsias forge, not only Tillandsias.","https:\u002F\u002Fgithub.com\u002F8007342\u002Ftillandsias\u002Fblob\u002Fmain\u002Fskills\u002Fproject-discipline\u002FSKILL.md",[],[123,74,124,125,126,127,108,128,21,129,80,81,130,40,131,132,87,133,134,91],"discipline","project discipline","pull requests","pull","push","history","branch","hooks","branches","drift","requests","which",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":35},"01M6H605G5NAKPP1RE10T3716W","probe-macos-tray-on-windows","Daily cross-platform health probe — compiles the macos-tray crate from the local Windows host. Expected to succeed as a stub (the crate is fully cfg-gated for non-macOS); a build failure here means a shared module or crate broke for everyone. Files structured findings to plan\u002Fissues\u002Fprobe-macos-tray-on-windows-findings-\u003CDATE>.md.","https:\u002F\u002Fgithub.com\u002F8007342\u002Ftillandsias\u002Fblob\u002Fmain\u002Fskills\u002Fprobe-macos-tray-on-windows\u002FSKILL.md",[],[142,143,144,145,107,146,147,19,148,149,150,151,152,30,153,154,85,32,91,155],"macos","windows","probe","probe macos tray on windows","CFG","health","daily","files","build","gated","local","platform","module","expected",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":35},"01M6H603KPFQJNC7WWD6X5Q4AA","multihost-orchestration","Compatibility alias for the canonical coordinate-multihost-work skill.","https:\u002F\u002Fgithub.com\u002F8007342\u002Ftillandsias\u002Fblob\u002Fmain\u002Fskills\u002Fmultihost-orchestration\u002FSKILL.md",[],[24,163,21,164,165,166,167,91],"multihost orchestration","compatibility","coordinate","alias","canonical",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":35},"01M6H5ZXRBC66CSA5N28HP2BY7","meta-orchestration","Host-aware Tillandsias recurring runtime loop: sync remote state, drain claimable plan work, run eligible e2e smoke gates, coordinate integrations on mutable Linux, release when warranted, update plan, commit, and push before exit.","https:\u002F\u002Fgithub.com\u002F8007342\u002Ftillandsias\u002Fblob\u002Fmain\u002Fskills\u002Fmeta-orchestration\u002FSKILL.md",[],[24,109,175,176,177,178,179,180,181,127,110,19,182,21,183,103,184,165,32,185],"meta orchestration","commit","sync","run","update","release","state","integrations","recurring","exit","remote"]