advance-work-from-plan
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.
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-15
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- advance-work-from-plan
- description
- 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.
03 SKILL.md 正文
Advance Work From Plan
This 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/ ledger — sustaining development velocity and enforcing finite-time convergence.
1 — Orient & Discover Environment
- Git Check: Run:
git fetch origin git checkout <active-branch> # linux-next, windows-next, or osx-next per host table git pull --ff-only origin <active-branch> scripts/check-committable-branch.sh git merge --no-edit origin/linux-next # platform branches: BEFORE §2.0, not only before push<active-branch>is where you START and where the plan-only lane writes (claims, events, handoffs). Your CODE goes to a work ref,work/<order>, created after the claim (§3) and pushed as often as you like without a gate (§6; methodologywork_ref_lane, 1315-4a7j / 1317-9ugn). Thescripts/check-committable-branch.shline is the executable Committable Branch Guard (order 476, pinned bylitmus:committable-branch-guard-shape): it prints one verdict line and exits0only when HEAD is on a committable branch (any named branch exceptmain). Onblocked:committable-cycle-on-main(or any otherblocked:*verdict — detached HEAD, non-repo) do NOT claim, commit, or push anything this cycle:mainadvances only via PR (breach record 34e60965,plan/issues/main-branch-direct-push-guard-2026-07-24.md). Switch to your host's canonical branch or run the cycle read-only.
1b. Acquire the checkout lock — BEFORE any committable work (orders 873-zcim, 1091-zh6d):
```bash
TILLANDSIAS_CYCLE_HOLDER_PID=$PPID scripts/cycle-checkout-lock.sh acquire \
--lane prompt --source "<how this cycle was launched, one line>"
```
**`TILLANDSIAS_CYCLE_HOLDER_PID=$PPID` MUST BE ON THE COMMAND LINE, in
YOUR shell.** It anchors liveness to the agent-harness process that spans
the whole cycle. Evaluated inside the script instead, `$PPID` is the tool
shell that invoked it — which dies the moment your tool call returns, so
the lock stale-reaps immediately, every later lane reads
`ok:checkout-lock:free`, and the verdict you got still said `acquired`.
Measured on yoga 2026-09-06, direct and via `bash -c`: both anchor on the
dying shell.
Since order 1098-q7bk the script **refuses** that path rather than warning
about it: an invocation with neither `TILLANDSIAS_CYCLE_HOLDER_PID` nor a
harness-exported `CLAUDE_PID` answers `refused:checkout-lock:no-holder-pid`
and exits 2, taking no lock. **A refusal means you do NOT hold the
checkout** — supply the variable and acquire again; do not proceed as if
you did. Under a claude harness `CLAUDE_PID` is exported and the bare line
acquires cleanly, so this refusal is the cron/codex/opencode path; the
command line above is correct under every backend.
On `skip:overlap-lock-held:<holder>` **DO NOT PROCEED.** The verdict names
who holds the checkout (lane, pid, start, source). Report it as the cycle's
final output and exit — that is the designed outcome, not a failure, and it
is recorded outside the checkout in
`~/.cache/tillandsias/overlap-refusals.jsonl` so a refused-for-overlap
cycle is distinguishable from one that ran and found nothing. Do not retry
in a loop; the next scheduled fire retries on its own clock.
**WHY THIS SECTION EXISTS: it did not, and every worker host paid for it.**
The lock instruction lived only in `skills/meta-orchestration` — one host,
four-hourly — while THIS skill is the lane every host runs to drain plan
work. Measured on yoga 2026-09-06: a full night of cycles on one checkout,
eight lands, `./build.sh --check` runs of six to seven minutes, and the
lock taken ZERO times, because nothing here mentioned it. A sibling lane
firing into that checkout mid-gate produces a red with no discoverable
cause. Same shape as 943-7dn5, where `--emit-flow` lived in the
coordinator skill and the flow log was fed only when a session happened to
run it: **anything the worker loop must do belongs in the worker skill.**
Release at §7 Finalization, after the cycle's last commit lands:
```bash
TILLANDSIAS_CYCLE_HOLDER_PID=$PPID scripts/cycle-checkout-lock.sh release
```
A second agent NEVER works in a locked checkout (873-zcim criterion 4).
The sanctioned path for concurrent work on one host is a separate git
worktree or a clean temp clone.
-
Instrument check:
scripts/cycle-preflight.shmust answerok:before you select work — selecting with an unverified instrument is the one failure the loop cannot reason its way out of, because the tool it would reason WITH is the stale thing. Its<plan>segment names which instrument you are running on (order 1004-ws5q):rebuilt— cargo present, instrument built or confirmed current.existing— no cargo, but a runnable binary resolved. A legitimate cycle: a host doing compile-free work keeps its slot. Before 1004-ws5q preflight declared the COMPILER absent without ever looking for a BINARY, and a floor-tier release smoke that compiles nothing lost a 4h slot with a healthy instrument on disk (pirria, 2026-09-04).skipped— the build step was skipped viaCYCLE_PREFLIGHT_SKIP_BUILD=1.blocked:preflight:plan:cargo-absent— no cargo AND no runnable binary. Terminal: there is no instrument, so do not start the cycle.
CYCLE_PREFLIGHT_SKIP_BUILD=1is for compile-free work on a host that cannot compile, and nothing else. It is not a way past a red build on a host that can compile — that is a broken instrument. Since 1004-ws5q a host with no cargo but a working binary getsexistingwithout the variable, so needing it at all should now be rare. Onosx-next/windows-next, mergeorigin/linux-nextHERE, before the selector runs, not only before the push. The selector and everyplan_*read answer from the WORKTREE ledger, and on a platform branch the worktree is current only after that merge: between the pull and the merge it still carries the trunk's state as of your last merge. MEASURED on tlatoanis-macbook-air 2026-09-04:osx-nextwas up to date, the selector returned 1001-q3zf as its p1 top pick,plan_statusagreed it wasready, and the host claimed it — a packet the coordinator had closed on the trunk an hour earlier. The post-merge fold exposed it, the unpushed claim was dropped, and the re-run selector returned a different batch. This is the same ordering rule the meta-orchestration skill states for the overlap check ("AFTER THE MERGE, NOT BEFORE"), applied to selection. The pre-push merge (§6) still applies; this is the earlier one. 1b. Snapshot the startup boundary NOW — before any guard that writes. Right after the pull and the branch guard, before the credential guard, the daily-maintenance body, the capability-row republish, or any edit:boundary_dir="$(mktemp -d "${TMPDIR:-/tmp}/meta-orchestration-boundary.XXXXXX")" scripts/meta-orchestration-worktree-guard.sh snapshot "$boundary_dir"scripts/finalize-cycle.sh(§7) refuses without it, and the fleet heartbeat reads a host that commits without attesting as WEDGED. The order is the whole rule, learned three times on 2026-09-04: yoga landed a cycle unattested because no snapshot was taken; lenovinha and yolanda snapshotted AFTER a preamble guard had already written a fragment (a capability row), so the guard's baseline carried their own dirt and the finalize verify refused, correctly. A boundary taken after the work is the "compare a tree against itself" proof the guard exists to forbid — never re-snapshot to obtain a marker; report the cycle as landed-but-unattested and take the boundary first next time. -
Host and Identity: Identify your platform (
linux,windows,macos,forge), your agent name, and your intended capabilities (rust,podman,docs,testing, etc.). -
Host Detection Table:
uname/$OS / env Platform Name Canonical Branch Inside Forge forgelinux-nextLinux linuxlinux-nextmacOS macososx-nextWindows windowswindows-nextPASS YOUR PRECISE ROLE TO THE SELECTOR, not just the platform (order 1115-yvrq). On Linux, say
linux-immutableorlinux-mutable— a read-only/usr(Fedora Silverblue, bootc) is immutable; anything you candnf installinto is mutable.scripts/host-capability-probe.shreports it if you are unsure.pickup_roleon a packet means REQUIRES, not authored-on (coordinator ruling, macuahuitl, 2026-09-06). The specific satisfies the general, so a precise role costs you nothing and gains correctness: an immutable host passinglinux-immutableis offered every packet asking forlinux, and is NOT offered the ones needing a writable/usr. Measured on yoga 2026-09-06 — 301 rows either way, and the one packet it cannot do (1025-a896, an investigation needingdnf) drops out.Passing the bare platform still works and is still correct for a host that genuinely has no sub-role; it simply cannot express a requirement it does not have.
-
Create Agent ID: Do NOT hand-compose it — call the canonical helper (order 756-hn3a; contract:
methodology/distributed-work.yaml→agent_identity_contract):agent_id="$(scripts/agent-identity.sh id <backend>)" || exit 1 # backend: claude|codex|opencode|geminiIt resolves
<platform>-<workstation>-<backend>-<utc-timestamp>from stable sources (TILLANDSIAS_AGENT_ID taken whole; else TILLANDSIAS_WORKSTATION → HOSTNAME → /etc/hostname → node-name probe), sanitizes once, and REFUSES (refused:agent-identity:empty-<component>, non-zero, empty stdout) instead of minting an incomplete ID. On refusal do NOT claim, append, or push anything — a prose recipe on a hostname-less forge wrote leaseforge--codex-20260815t162555z(EMPTY workstation) while HOSTNAME sat unread in its environment. -
Orient via MCP — do NOT read whole ledgers. This is a rule, not a suggestion. Canonical:
methodology/distributed-work.yaml→mcp_first_read_path.The files this step used to tell you to read are
plan/index.yaml(31,678 lines),plan/loop_status.md(7,875 lines),plan.yaml, and two methodology files — imported in full to extract what amounts to a paragraph. That import is permanent for the rest of your session, it is the single largest consumer of orchestrator context in the loop, and every agent on every host pays it again every cycle.Ask instead, and stop when you have the answer:
You need Ask the operator's active theme plan_answer "what is the current Direction?"what to work on plan_next <role>/plan_ready <role>(then §2.0)one packet's state plan_status <id|order>why something is stuck plan_blocked_by/plan_blocked_on/plan_closurea methodology rule methodology_ask "<question>"/methodology_patha spec's content spec_answerrepo/code navigation project-info:search_code,grep_code,find_files,file_summary,read_fileconversational/synthesis status question Local Experts mode ( expert-serve) — same citations-or-typed-refusal contract asspec_answerEvery answer is CITED. Keep the citations — §5 and §7 need them.
Fall back to the filesystem for exactly three reasons, and say which:
- Unavailable — MCP absent, erroring, or answering
confidence=unsupported. Fall back and keep going; a degraded read path is never a blocked cycle. Note it in your loop-status entry, so an expert that systematically refuses becomes visible instead of being quietly routed around (order 531: launch state truthfully reportedexperts: readywhile every answer was unsupported). - Verification — before anything irreversible (commit, status flip, delete, release) that rests on an MCP answer, read the cited span to confirm it. The span, not the file. Cited is not the same as checked.
- Not exposed — no tool covers it. Read it directly, and if the loop needs it repeatedly, file a packet: a recurring direct read is a missing tool, not a habit.
- Unavailable — MCP absent, erroring, or answering
-
Direction still binds. However you obtained it, reduce your packet selection against the operator-owned
## Directiontheme rather than inventing new direction, and cite it in your work-queue ledger entry (order 381).
2 — Discover Work & Select Shaped Packet
2.0 — Run the batch selector FIRST (cycle triage)
scripts/select-work-batch.sh <linux|macos|windows|any> [--budget N] [--seed S]
# <role> is the PICKUP ROLE, not the host kind: a Silverblue host passes `linux`,
# not `linux-immutable` (which the selector refuses as bad-role; pirria 2026-09-23).
This decides what THIS cycle takes, which flat ranking does not. It emits one
cohesive, budgeted batch drawn from a single epic (release_target), the
triage: coverage line, and the frontier it considered:
batch: epic=forge-local-experts-milestone role=linux release=v0.5 size=3 budget=3 score=19.728 seed=host-20260809 pick=1/3
packet 394 plan-methodology-experts-rung1 p1
...
triage: eligible=140 grouped=60 ungrouped=80 epics=6
frontier 19.728 forge-local-experts-milestone packets=41 blocking=10 neglect=4.7
Work the batch in the order printed, then stop — do not top up from another
epic. Record the printed seed in your loop-status entry so the selection can
be replayed.
Three things about it that are easy to get wrong:
- It is minimax, not priority-first. Epics are scored by residual
(
2*urgency + 1.5*blocking + neglect), because ranking by p0 alone is the anti-patternconvergence.yamlnames: raising average convergence by improving low-risk obligations while a high-risk maximum residual remains unresolved. The p0-first agent keeps finding p0s. - The entropy is score-weighted, and that is deliberate. Choice is spread over the top-3 epics so nothing starves and two concurrent hosts do not collide, but weighted so the largest residual still wins most of the time (~9 in 12). Predictable drain is a property of batch SIZE — fixed absolutely by the budget — never of always picking the same work.
ungrouped=Non the triage line is a defect signal, not decoration. It counts eligible packets with norelease_target. When it is large, the epic tier is not doing its job; file/assign coverage rather than shrugging. It was 80 of 140 on 2026-08-09.
Budgets: autonomous/pairing 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).
Tier (trims 2026-09-27, umbrella 1437-62g8): a session STATES the model tier
it runs at, --tier <haiku|sonnet|opus> or TILLANDSIAS_MODEL_TIER
(1437-vdz5). The tier is a FLOOR and an UNTAGGED row is opus (operator
2026-09-27: "No size tags get Opus"): a haiku caller's pool is exactly the
rows whose implementer_tier is haiku and it refuses
refused:no-tier-work:model-tier=haiku rather than draining the general
queue; a sonnet caller takes sonnet rows, then haiku, never untagged; an opus
caller takes opus and untagged rows first, then sonnet, then haiku.
--tier-any is for an orchestrator picking for its delegates
(/haiku-orchestrate, 1443-hbgt).
Until 1437-khnx projects the field, the tier is two lines inside the packet's
notes: (size: S|M|L, implementer_tier: …) and the selector cannot see
it — read them by eye. A cheaper packet runs in-session through
scripts/claude-delegate.sh implement <order> (1437-yjf6, edits bounded to
owned_files, no commit) with this session verifying and committing, or in
a dedicated ./repeat --model haiku session (1437-m5yx). Canonical:
methodology/distributed-work.yaml → cycle_batch_triage.model_tier_routing.
If the selector refuses (refused:no-eligible-work, refused:no-plan-binary),
fall back to the manual ranking below — which is also the rationale the selector
automates. Canonical: methodology/distributed-work.yaml → cycle_batch_triage.
2.1 — Manual ranking (fallback, and the rationale)
- Walk the Graph: Read (via
project-plan/project-infoMCP tools or direct file inspection), in order:plan/index.yaml— packet index + selection policy (plan_query/plan_ready).plan/issues/<host>-next-*work-queue*.md— your host's queue (e.g.linux-next-work-queue-*,osx-next-work-queue-*,windows-next-work-queue-*).plan/issues/forge-diagnostics-automation-2026-05-27.mdandplan/issues/cross-host-blocker-roundup-*.md— high-impact packets.- (Linux only)
plan/issues/linux-headless-spec-gaps-2026-05-27.md— diagnostics + headless backlog. - Any other
plan/issues/*.mdreferencing your host or "any host".
- Filter Eligible Packets: Find tasks where:
owner_hostmatches your platform (e.g.forge), isany, or is a forge diagnostics task (e.g.,forge-improvements/*orsmoke-finding/forge-*).statusisready,pending(if dependencies are unblocked), orfailed-retryable.capability_tagsintersect with your capabilities.- There is no active unexpired lease.
- Selection Priority (Top Wins):
-
Release-targeted packets FIRST: packets carrying
release_target: <milestone-packet-id>outrank the general backlog (canonical:methodology/distributed-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 akind: milestonepacket for implementation — milestones hold criteria; claim their children (ambitious_milestone_reduction.milestone_packet_semantics). -
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-validationorder 554,forge-local-experts-milestoneorder 391). -
If running on
forgehost: Prioritize forge diagnostics, toolchain improvements, and onboarding tasks (e.g.forge-improvements/proposals/andsmoke-finding/forge-*packets) to unblock other builders. -
Diagnostics-driven container-start verification (USER PRIORITY, linux runtime-host today): work that strengthens the
--diagnostics→ annex → distill → litmus chain. Seescripts/forge-diagnostics-annex.sh,scripts/distill-forge-diagnostics.sh,openspec/litmus-tests/litmus-forge-diagnostics-e2e.yaml,methodology/forge-diagnostics.yamlpiggyback_protocol. -
Spec gap fills:
openspec/specs/<spec>/spec.mdrequirements without implementation coverage. Focus onheadless-mode,podman-idiomatic-patterns,runtime-diagnostics-stream,logging-accountability,observability-metrics. -
Drift-protection litmus: instant-phase tests pinning surfaces that recent work added (formatter literals, env-var contracts, public API names, unit-test names).
-
Clippy / idiomatic-podman hardening.
-
Version-aware release ordering (The Tlatoāni 2026-07-17; canonical:
methodology/distributed-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 carrydesired_release: vX.Y(its ship-bucket, distinct from the milestonerelease_target). After the milestone preference, prefer packets targeting the ACTIVE release (v0.5; seeplan/loop_status.md) over later-release ones — concentrate effort on shipping the current bundle. Cross-platform deps are gated by release order (dependent'sdesired_release>= its upstream's). A packet that must slip to a later release: file aprogressnote proposing the slip; the coordinator ratifies. Unmarked open packets default to the active release. -
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. Citepacket_idin anything durable. Canonical:methodology/distributed-work.yaml→order_id_allocation.READ THE
filed sinceLINE next-order PRINTS ON STDERR BEFORE YOU WRITE THE FRAGMENT (1163-3krg). Minting is already a read of the current fold — the next prefix is one above the highest order present — so the tool has necessarily observed every row filed since you last looked, and it now says so instead of handing the answer back as a bare number. MEASURED 2026-09-13: lenovinha filed and claimed 1158-y3ad at 15:49Z, the coordinator filed 1160-nvzs — the same defect — at 16:05Z, and next-order minted 1160 BECAUSE 1158 and 1159 were in that fold. The tool that filed the duplicate had already read the answer. stdout is unchanged (order: $(tillandsias-plan next-order)still composes); the report is on stderr, and--since <order>sets the baseline explicitly when the default — the highest order THIS WORKSTATION filed — is not what you mean. A duplicate is filed by not looking, not by choosing the wrong number. -
In-forge self-service (canonical:
methodology/distributed-work.yaml→in_forge_agent_self_service): if you are running INSIDE the forge and hit a missing tool/capability/fix, unblock your FUTURE launches by filing in the SHARED CHECKOUT (the forge is rebuilt from sources each launch): a capability/tool proposal →plan/forge-improvements/proposals/<date>-<slug>.md; a forge bug → aplan/issues/packetcapability_tags: [forge, …]owner_host: linux|any. If the packet isforge-tagged/anyand fits the forge budget, just do it. Always shaped + verifiable + pushed (a finding that dies with the container is lost). -
A LARGE packet is ELIGIBLE — size is not a skip reason (The Tlatoāni 2026-07-17; canonical:
methodology/distributed-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 + aprogressevent withpartial_artifact_refsand an updatednext_action; (b) split — decompose into smallerreadychild packets at ownership/dependency/evidence 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/superseded, retire it (obsolete/tombstone) per the freshness class. A near-obsolete-looking packet is a signal to AUDIT it, not to implement it as busywork.
-
- Long-running packets (
multi_cycle: true): claims are CYCLE-SCOPED — you claim one session's slice, not the packet. Areadymulti_cycle packet with prior progress events is claimable (that's the design, not a stale lease). Canonical rules:methodology/distributed-work.yaml→long_running_packets. - Constraint: ONE logical commit per batch/cycle. 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/pairing 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/distributed-work.yamlworker_agent_protocol.forge_cycle_budget.) - Standing FRESHNESS audit class (order 372, methodology
component_freshness): each cycle, after worker drain, pick ONE component thefreshness-advisoryCI 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/tuned, update stamp), or obsoleted (delete/tombstone 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=<id> date=<ISO> verdict=<...> scope=<one-line>stamp (grammar in methodology.yaml).scripts/freshness-inventory.shemits the coverage report + the top stale components each./build.sh --cirun. - Delegate Parallelizable Research — inside the sub-agent budget (operator directive 2026-09-11; packet 1119-6wn6; canonical rules in
skills/meta-orchestration/SKILL.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 passmodelandeffortexplicitly: haiku/low for lookups, sonnet/medium for summaries and prose, opus/medium 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'stokens:line.
3 — Claim the Lease
-
Claim by flipping status, and push it BEFORE the work.
scripts/check-claims-across-branches.sh <packet-id> # FIRST. see below tillandsias-plan set-field <packet-id> status in_progress \ --host "$(hostname -s)" --reason "claimed for cycle <UTC ts> by $agent_id" git add plan/index.d/ git commit -m "claim(<packet-id>): <host>" # the fragment and NOTHING else git push origin <active-branch> # ON A PLATFORM BRANCH (osx-next, windows-next) THIS IS NOT YET A CLAIM — # nobody on trunk can see it until the relay. Push the fragment to trunk # too (1153-j2nm); no build stamp is needed, the plan-only lane takes it: scripts/push-plan-fragments-to-trunk.sh # -> ok:fragments-on-trunk:<sha>:<n> # THEN THE WORK REF (1317-9ugn). The claim is on trunk; the code goes here: git switch -c work/<order> origin/linux-next # named by the order, started from trunkThe work ref is where you commit and push for the rest of the cycle: no gate stamp, no trunk merge, the fast deciders WARN and nothing refuses (
warn:pre-push:…). Only the claim and the events go to<active-branch>through the plan-only lane. The order of the whole flow, from join-the-fleet §3: claim by order →git switch -c work/<order>fromorigin/linux-next→ commit and push towork/<order>freely → open the PR (draft until the closure evidence is on the row) → the landing queue integrates once → close by order after the landing proves.push-plan-fragments-to-trunk.shbuilds one commit parented onorigin/linux-nextcarrying only the NEW fragment files (temporary index and plumbing — your worktree, index and branch are untouched) and pushes it torefs/heads/linux-nextthrough this checkout's own pre-push hook. Your platform branch keeps its copy; the relay merges the identical file clean.refused:fragments-to-trunk:trunk-fold:…means a fragment names a packet trunk has never seen (you filed it on this branch): run it without arguments so the filing rides along. The control, from any trunk checkout aftergit pull:scripts/check-claim-confirmed.sh <order> --host <host>→ok:claim-confirmed(1370-tjme;refused:claim-lostnames the earlier claimant, and you yield).YOUR FOLD DOES NOT SHOW OTHER HOSTS' CLAIMS, and the gap is measured in HOURS, not seconds (1034-whsp). A claim lands on the claimant's PLATFORM branch. It reaches a trunk host only when the coordinator relays that branch into
linux-next— unless it was pushed to trunk with the helper above, which is why that line is not optional. Measured on tlatoanis-macbook-air 2026-09-05:claim push, claim-only diff, platform branch 12.0s osx-next→linux-nextrelay gaps, last 919m – 2h02m time since the last relay, when this was written 6h28m this host's own claims still unseen on linux-next1h55m, 2h11m At that moment
origin/linux-nextfolded 1034-whsp toreadywhile the claiming host held itin_progress. A second host reading its own fold is reading a state that can be hours stale, and 814-iyu7 (two hosts, 1009-gccx, claims 5m14s apart) is what that costs.So
check-claims-across-branches.shfolds every sibling branch's ledger and exits 1 withclaimed-elsewhere:<packet>:<branch>. One fetch, ~1s. It is NOT a lock: two hosts claiming inside the same fetch still collide, and the timestamp rule below still arbitrates. It turns an hours-wide race into a seconds-wide one.blocked:from it means STOP — it could not see the siblings, which is not the same as nobody holding the packet.The claim commit must contain the claim fragment and NOTHING else (1034-whsp, yoga): anything else in the outgoing diff takes the push off the plan-only lane and onto a full gate, ~250s instead of ~6.5s. Note that on a platform branch the pre-push gate will first demand a merge of
origin/linux-next; that is expected, and the lane is merge-aware, so re-push after merging rather than reaching for--no-verify.$agent_idis the §1.4 helper output (scripts/agent-identity.sh id <backend>) — if the helper refused, there is no identity to claim with, and nothing may be appended or pushed.This is the whole separation mechanism, and it is the ONLY one.
plan_next/plan_ready/select-work-batch.shfilter tounleased, and leased means exactlystatus: in_progress. Nothing else — not aclaimevent, not a lease ID, not a work-queue line — hides a packet from another host.Push it BEFORE the work, not with it. An unpushed claim separates nobody, and neither does one that lands after you have already spent the cycle implementing.
CORRECTED 2026-08-31 (order 943-unii). This step used to say "Emit Claim Event: append a
claimevent … usingtillandsias-plan append-event <packet-id> claim …", committed and pushed WITH the cycle's work. That recipe changes no status, so a packet claimed that way staysreadyand stays offered to every other host. It is an AUDIT RECORD, not a claim.Measured on the live ledger: packet 245 carried 43 claim events and was still returned by
ready linux.expire-claimsreportedin_progress=0fleet-wide on 2026-08-19 — nothing had ever been claimed at all. On 2026-08-18 two hosts implemented 798-tk7b six minutes apart, ~4h duplicated (order 814-iyu7); that is the failure this recipe left open, and one worker host followed it for nineteen consecutive cycles without claiming anything.Verified again when this correction was written, on this repository:
set-field … in_progressmoved the selector'seligiblecount 174 → 173 and dropped the packet out of bothready linuxand the printed batch, in the same command. That is the positive control — the mechanism was never broken, it was simply not being invoked.methodology/distributed-work.yaml("aclaimevent changes status from ready to in_progress") andskills/meta-orchestration/SKILL.md("Cycle batch triage") both already specified the recipe above. This section was the outlier, and it was the one every worker host runs every cycle. -
Optionally add a narrative
claimevent too — useful, never sufficient:tillandsias-plan append-event <packet-id> claim "<what this cycle intends>" \ --ts "<ISO-8601-UTC>" --agent "$agent_id" --host "<host>"If
append-eventrefuses withpacket_id not found, the packet lives only in a fragment and that command cannot see it (600-c266) — write the event block by hand in your own fragment, keyed underevents:. Astatuschange is different: never hand-author it, always usetillandsias-plan set-field(see §7.2), because a hand-written fragment that re-declares the packet underpackets:with a new status is a G-Set no-op — it parses, validates, passestillandsias-plan check, reads correctly in review, and the fold discards it (635-i6vm). -
Collisions are arbitrated by TIMESTAMP, not by push rejection.
The ledger is a CRDT, so two hosts can both claim in the same window and both pushes can succeed. On your next fetch, if another host's claim for that order carries an EARLIER timestamp (ties broken by lexicographically smaller hostname), you lost: release yours back to
readyand take the next batch item.Losing the race is normal and cheap. Both hosts writing is fine; both hosts continuing is the defect, and is precisely 814-iyu7. A rejected push is a weaker and later signal than the timestamp — a push can succeed and still have lost — so do not wait for one.
PUSH THE CLAIM ALONE, AND FIRST. A claim is invisible to every other host until it lands, so the claim commit must contain the claim fragment and NOTHING else: no scaffolding, no ledger tidy-up, no scripts. Anything else in the outgoing diff takes the push off the plan-only lane and onto the full gate, and the window where two hosts both read
readyis exactly that long.MEASURED on yoga 2026-09-05, GNU grep, per push attempt:
condition cost retry loop alone, no hooks 18–56ms claim-only push, gate stamp valid ~6.5s claim-only push, stamp stale (the rebase) ~14.1s a push the plan-only lane REFUSES a full gate, ~250s The retry loop was never the cost. A rebase under a moving trunk invalidates the stamp, so the middle row is the normal case during exactly the window when collisions happen — and four attempts of it is about a minute of invisibility, not the ten minutes of 1034-whsp. That incident required at least one attempt on the bottom row, which the plan-only lane now prevents for a claim-only diff (1056-5344, 1060-7mmm, 1013-xm63 hardened that lane on 2026-09-05). Keep the claim commit clean and you stay off the bottom row.
WHEN YOU DISCOVER A LANDED DUPLICATE — you lost even if the rule says you won. The timestamp rule decides who CONTINUES, never who overwrites a landed, measured result. If the other host has already landed the work:
- Concede. Do not re-land, do not revert theirs. Re-landing is the duplication the rule exists to prevent, one step later.
- Record YOUR measurement on the packet as a second observation. Two hosts measuring the same change independently is worth more than the hours it cost, and it is the only salvage available.
- Say plainly in the event that you lost the race and on what timestamp, so the next reader does not reconstruct it from commit order — which is the weaker signal, and can disagree.
Yoga did exactly this on 1009-gccx: its claim was 5m14s EARLIER and it still conceded, because lenovinha had landed and measured. That reading is the ruling, not a courtesy.
-
Release on exit — a CLAIM is released unconditionally, a ROW is closed.
These are two different operations on the same field and the difference is the whole of this step. FINISHED work moves to its TERMINAL status (§7.2). Only work you did NOT finish goes back to
ready, in the same cycle you abandon it.PUT FIRST THE BLOCK WHOSE MIS-COPY FAILS LOUD — that is why the terminal form is above the release form, and it is a SAFETY property rather than a style choice, so do not reorder these on frequency. Copying
readyonto finished work is SILENT: the row advertises completed work to the whole fleet and nothing objects. Copyingcompletedonto unfinished work is REFUSED by 650-dq6u, which wants a SHA and a named check result and cannot be satisfied by fabrication. Frequency argues the other way and frequency is the trap: MEASURED on macbookair 2026-09-15 and reproduced independently on macuahuitl over all 76host: macosfragments, cycle-end writes runready12 tocompleted3, because a host draining multi-slice packets mostly ends unfinished. A future editor who finds that ratio and helpfully reverses these two blocks would be right about the frequency and wrong about the risk.FINISHED — the row is closed, and the gate will not let you fake it:
tillandsias-plan set-field <packet-id> status completed \ --evidence "<sha> + <named check and its result>" \ --reason "closed at cycle end: <what the evidence shows>"UNFINISHED — the claim is released, and the row stays open honestly:
tillandsias-plan set-field <packet-id> status ready \ --reason "released unclaimed at cycle end: <what remains>"Leaving it
in_progresshides it fromreadyAND from burndown until the 24h reaper — 21 packets were stranded that way on 2026-08-09 (641-e2qa). Claiming is only safe because releasing is unconditional. A cycle that claims and then exits without either completing or releasing has taken work away from the fleet and given nothing back.BUT
readyIS NOT THE RELEASE VALUE — IT IS THE UNFINISHED VALUE. MEASURED on macbookair 2026-09-15: this step's heading read "Release on exit, unconditionally", they applied it literally to work that was finished AND LANDED, and flipped 1201-t6ms fromin_progressback toready. The qualifier was already in the body — it is the sentence above — but the IMPERATIVE IS WHAT GETS APPLIED, and "unconditionally" is exactly the word that makes a reader skip the distinction underneath it. The row then advertised finished work to the whole fleet throughplan_nextuntil the coordinator's stale-ready sweep surfaced it (stale-candidate:1201-t6ms). That is the mirror of the 641-e2qa stranding this step exists to prevent: one hides finished work as unfinished, the other offers it as available, and both cost a host a cycle. Ask which of the two states you are in before you write the field, and note that a row with claimable work REMAINING is correctlyreadyand correctly claimed-and-released at once — those are not in tension.A RULE WRITTEN FROM ONE FAILURE MODE READS AS ABSOLUTE ABOUT THE OTHER (macbookair, 2026-09-15). That is why "unconditionally" was written here by someone who was also being careful: this step was built from 641-e2qa, saw only the stranding direction, and stated its remedy without a boundary. What is being corrected is not carelessness — it is a structure that DEFEATS care, which is the only kind of correction worth making to a rule that careful people were already following.
-
The reaper is a backstop for a dead host, not your return path.
A claim with no event by cycle end is reclaimable after 24h by
scripts/reclaim-stranded-claims.sh— read the verb: reclaimable, not reclaimed. The TTL is 24h (TTL_HOURS=24, "the fleet claim TTL";expire-claimsreportsttl_hours=24). No automation runs either tool: the reaper has no caller outside its own source and fixture, andbuild.shonly shape-checksexpire-claims --list-live.THAT IS DELIBERATE, NOT A GAP.
skills/meta-orchestration/SKILL.mdgives the coordinator a per-cycle stranded sweep that REPORTS and does not reap, and says why: "Advisory, never a gate… Do not bulk-close what it reports. Closing a packet requires checking its exit criteria against the tree; guessing marks unfinished work done, which is strictly worse than leaving it stranded." A packet legitimately in flight is indistinguishable from one abandoned an hour ago, so the discrimination is human judgement by design.Which is exactly why step 4 is yours. If hosts released on exit, the reaper would have nothing to find; the 3-of-5 stranded rate measured on 2026-08-30 is a symptom of hosts not releasing, not of a reaper that fails to run.
3.1 — The positive control on the claim (2026-09-13)
A claim is a PUSHED status flip. Nothing else separates hosts: not the claim
event, not a message to the coordinator, not a division of work agreed with a
peer. lenovinha's 1130-8zxn sat ready on every other host's plan_next for
hours while the fix was finished on lenovinha, because the claim was an
append-event (943-unii) and then an unpushed flip — "the cycle felt claimed"
while the one mechanical signal a selector reads was absent. yoga and yolanda
skipped it on direct knowledge, which does not scale.
After the flip is PUSHED, run the control:
git pull && scripts/check-claim-confirmed.sh <order> --host <your-host> # ok:claim-confirmed:<order>:<host>@<ts>
refused:no-live-claim means the claim did not take (unpushed, wrong field,
refused by the ladder): fix that before starting the work.
refused:claim-lost:…:earlier=<host>@<ts> means another host claimed first
by claim-event ts: yield and take the next item (1370-tjme). The former
control, next <role> | grep -c <order> → 0, printed 0 for the loser of a
race too, because any host's claim hides the row. A host whose push is blocked reports the blocker with the
committed SHA and the coordinator pushes the flip on its behalf.
4 — Host Write Scope & Unblock-with-NOOP
Each host has a primary write scope. You can READ everything; you should normally only WRITE within your scope:
| Host | Primary write scope |
|---|---|
| Linux | crates/tillandsias-{headless,podman,control-wire,core,metrics,logging,vault-client}/, scripts/forge-diagnostics-*, scripts/distill-*, images/, openspec/litmus-tests/, most plan/issues/ |
| macOS | crates/tillandsias-macos-tray/, crates/tillandsias-vm-layer/src/{vz,transport_macos,materialize/macos}.rs, scripts/install-macos*, scripts/build-macos* |
| Windows | crates/tillandsias-windows-tray/, crates/tillandsias-vm-layer/src/{wsl,materialize/windows}.rs, scripts/install-windows*, scripts/tray-diagnose.ps1, host-shell pty windows files |
Cross-host shared scope (any host may write, but COORDINATE via the ledger first): crates/tillandsias-control-wire/ (wire format — WIRE_VERSION must not break), crates/tillandsias-host-shell/, methodology/, openspec/specs/, top-level docs.
Unblock-with-NOOP Rule
If your work needs a function/type/file 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:
// PLEASE REVIEW: <sibling-host> — minimal stub to unblock <your-work>.
// Owner: replace with the real implementation and add a brief
// `// DEPRECATED: superseded by <new-name>` comment here for one
// release cycle so callers can migrate.
pub fn placeholder() -> Result<(), String> {
// TODO(<sibling-host>): implement
Err("not yet implemented".to_string())
}
Cite the unblock in your commit body (unblock-noop: <path>:<line>) so the sibling host can find it on their next cycle. Keep the stub tiny — one function, one error, no business logic.
5 — Execute + Verify
cargo fmt --all
./build.sh --check
cargo test -p <crate-you-touched> # targeted, fast
./build.sh --test # cross-cutting changes only
Hard rules:
-
Detach any gate longer than a couple of minutes from the harness, and never launch one by hand inside a WSL distro. The harness reaps its own
run_in_backgroundwaiters under memory pressure: on macuahuitl two polling loops were killed mid-./build.sh --checkwith "the system is running low on memory" whilefreeshowed 53 GiB — thesetsid nohupjob survived both, a Monitor task on the same log survived. Launch it detached from a script FILE and watch the log with Monitor, never a background shell. THE DETACH FORM IS PLATFORM-SPECIFIC —setsidDOES NOT EXIST ON macOS (macneo, 2026-09-15, where the prescribed line failed outright on both Macs in the fleet):# The gate script writes its OWN log (so the Monitor sees it grow), and the # agent door writes ONE JSON verdict to a separate status file (1260-2qgi). # <script-file>: exec ./build.sh --check > gate.log 2>&1 # linux setsid nohup tillandsias-plan run --json --timeout-ms 5400000 -- bash <script-file> \ < /dev/null > gate.status 2>&1 & # macos — no setsid; disown detaches from the job table nohup tillandsias-plan run --json --timeout-ms 5400000 -- bash <script-file> \ < /dev/null > gate.status 2>&1 & disownTHE VERDICT IS
statusIN gate.status, NEVER AN INTEGER YOU COMPOSED (methodology/convergence.yaml -> status_channel_policy, 1260-2qgi). The old recipe ended the script withecho "rc=$?", and that line lied twice: a gate KILLED mid-run printedrc=137, an integer indistinguishable from a red, and$?after a pipe was the LAST stage's (a failed push read as 0). The door's record is"status":"exited"withcodefor a real exit, andsignaled/timed_out/spawn_failed/no_status/policy_denied, withcodenull, when no exit status exists. Those are ABSENT, not red: re-run, never report green, never push on them. A gate.status with NO record means the door itself died, which is also absent.--timeout-msIS NOT OPTIONAL: the door's default deadline is 300 s, which would kill every full gate at five minutes. 0 means no deadline; the explicit ceiling above is the safer choice, so a wedged gate still ends.Both load-bearing details are unchanged on either platform: a script FILE rather than an inline command (an inline one re-exposes the sibling-match trap, where a pgrep/kill pattern carried in the same command matches itself; the door refuses command strings anyway), and a log the Monitor can watch. This recipe was written from Linux measurements and prescribed fleet-wide for weeks before a Mac ran it — a remedy measured on one regime is a property of that regime until a second one executes it. On Windows invoke from Git Bash so
with-wsl2-builder.shre-execs and exports its ext4CARGO_TARGET_DIR; esme launched inside the distro to dodge the reaper, compiled against./targeton drvfs for 4050 s, and published a false ERROR and a tier ratio that were both the bypass (drill: plan/issues/fleet-restart-2026-09-12.md, The agent harness kills its own background waiters under memory pressure during a gate). -
Poll the detached gate log's mtime, not only for a verdict token. macbookair reported a dead land as "slow" twice before adopting this: a hung gate never prints
ok:orrefused:, so "still gating" and "dead" are indistinguishable to a watcher that greps only for those. Watch the log under Monitor and report STALL when it goes five minutes without advancing. Before relaunching, look for a surviving process — killing the host-side wrapper reaps only the wrapper, and the container-sidebuild.shoutlives it (drill: plan/issues/fleet-restart-2026-09-12.md, Watch a gate for a stall, not only for a verdict). -
Never bypass the idiomatic-podman layer. The test
idiomatic_podman_launch_paths_do_not_bypass_shared_layerenforces routing throughPodmanClient— no directCommand::new("podman")in production launch paths. -
Develop THROUGH the idiomatic layers — no ssh/root/side channels into the guest. The control wire /
--diagnose/ ExecOneShot / PTY-attach (+TILLANDSIAS_PTY_DEBUGtee) 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/forge is a finding, not a tool. Canonical:methodology/multi-host-development.yamlidiomatic_layers_for_agents(The Tlatoāni, 2026-07-10, order 271). -
Container security flags are non-negotiable:
--cap-drop=ALL,--security-opt=no-new-privileges,--userns=keep-id,--rm. -
Pre-commit hooks and release signing are not optional.
-
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(usingscripts/with-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. -
Check and test with the gate's feature set, and quote the set beside the count.
cargo check -p tillandsias-headless --features traydoes NOT compile the vsock surfaces (vsock_server.rs, vsock_client.rs, the control_dispatch.rs arms behindlisten-vsock); on 2026-09-04 macbookair spent six rounds getting truthful zero-error results about code the check was not compiling, and every "588 passed" it reported that day was the same suite under--features tray— the gate's set,--features tray,listen-vsock, runs 635. A count whose denominator depends on flags nobody states is not falsifiable; "635 passed under tray,listen-vsock" is. Use the gate's set, and write the set next to the number in every claim. -
cargo test -p <crate> <filter>takes a substring, not a regex."a|b"matches neitheranorb: a falsification pass on macbookair (2026-09-12) selected ZERO tests with a regex-shaped filter and still printedtest result: ok. Quote the selection beside every targeted-test claim — read theN passed; M filtered outline, or list the tests first — so a zero cannot hide behind a green (drill: plan/issues/fleet-restart-2026-09-12.md, First autonomous-drain stories). -
./build.sh --checkruns no litmus (748-tkjx); run the bound spec before landing on any surface a litmus covers. On 2026-09-04 lenovinha ran the gate four times green over gate-stamp.sh and landed a change whose guard,litmus:mode-only-regression-gate, states in its own arm text why that exact change deadlocked every Windows host once (889-8tcb); the daily release gate and the coordinator's union litmus were the first places it could go red. "My gate was green" is evidence about the gate's lane, not about the change:scripts/run-litmus-test.sh --diff-scope origin/linux-next --compact(or the bound spec by name) before the land, not after. -
The gate pass token gates the STAMP, never the PUSH (1039-b64k). A push needs a stamp whose digest matches the tree being pushed; the pre-push hook calls
gate-stamp.sh verify, which compares recorded-vs-computed digest and nothing else.<git-dir>/tillandsias-gate-pass-tokenis minted by a greenbuild.shand consumed bygate-stamp.sh write, so an unearned stamp is impossible by accident (940-f77j) — but no branch of the hook reads it. Two consequences worth knowing before you debug a refused push: a memoised gate mints no token and writes no stamp and still pushes fine, because the existing stamp covers the unchanged tree; and a fix that adds or moves the token cannot affect a push at all. 1039-b64k was filed with a remedy resting on the opposite belief, and the remedy was dropped once the push path was actually read rather than inferred from the packet. -
After a gate run, rebuild before exercising a feature-gated path (1031-q4pb).
./build.sh --checkrebuildstarget/debug/tillandsiasWITHOUT--features tray, so a control arm that drives a#[cfg(feature = "tray")]surface after a gate is exercising a binary in which the code under test does not exist. On 2026-09-04 that turned a working control into a hang; had the absent path fallen through to success instead, it would have been a green arm for absent code.cargo build -p <crate> --features <feature>immediately before the arm, every time — a gate silently replaces the binary. -
Read a file's own comments before concluding a failure is novel (yolanda, 2026-09-04). yolanda spent ~40 minutes and four gate runs rediscovering the Windows drvfs deadlock from scratch — the mechanism, the memo amplifier, and the measurement — all of which were already written eighty lines above the line being debugged, in
gate-stamp.sh'scompute, from order 889-8tcb. They had read the file three times during the diagnosis, each time for a different question, and never the paragraph directly above the suspicious line. A file that has been bitten before usually says so, and this project records that more reliably than most. (The defect being rediscovered was lenovinha's 1034-ihxw, landed against that same warning — so the two halves of this lesson are one event.) -
Quoted history lives in comments; guards scan declarations. A codebase that explains itself contains the strings it forbids (a doc comment names the identifier it replaced, a narrowing quotes the sentence it narrowed), so a class guard that scans for a bare substring fails on its own file the day it is written. Scan declarations (
pub old_name:,fn old_name) and assemble the needles at runtime (format!("pub vm_{}_live:", "owner")) so the guard cannot match its own source; keep the quoted history where it explains the change. Named by macneo on 980-ja2m, 2026-09-04, after its first class guard went red on its own doc comments. -
A gate run silently replaces the binary without the tray feature.
./build.sh --checkrebuildstarget/debug/tillandsiaswithout--features tray; every order-505 site and much of the tray surface is#[cfg(feature = "tray")], so a control arm run after a gate can exercise a binary in which the code under test does not exist. On 2026-09-04 lenovinha's arms hung against such a binary, which was luck: an absent path falling through to success is a green arm for absent code. Build with the feature set the change needs (cargo build --features tray,listen-vsock) immediately before any live control arm, and quote the feature set beside the arm. -
A control variable set outside the builder does not reach cargo inside it.
scripts/with-tillandsias-builder.shforwards onlyTILLANDSIAS_*,LITMUS_*,FORGE_*,NIX_*,CONTAINER_HOSTandDOCKER_HOSTinto the toolbox, andwith-wsl2-builder.shforwards onlyTILLANDSIAS_*across wsl.exe; on 2026-09-05CARGO_BUILD_JOBS=10was UNSET inside the builder on both Linux and Windows, so a "ten-job arm" ran at twenty and would have reported a confident null. A build setting must be applied inside the build scripts, or forwarded by name with a probe that proves it arrived (with-tillandsias-builder.sh bash -c 'echo ${VAR:-UNSET}') before any measurement is read. -
A stamp-dependent litmus arm must declare its skip to the harness, or it is red on every merged union.
expected_behavioris an exact match; a test that honestly printsskip: no warm stampunder 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/291 on the union). Split the arm: the invariance half with no precondition, which can never skip; the memo half under asuccess_patternregex that admits the ok form and a self-namingskip:<order>:<reason>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). -
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. -
Under the relay protocol,
git pull --rebaseon linux-next fuses the two lanes. (Since 1315-4a7j awork/<order>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 towork/<order>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/index.d/), which is correct; the refusal's output offersgit push --no-verify, which would push the violation through. Never use it. After awork/push, reset local linux-next toorigin/linux-nextbefore 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 thework/ref is safe on origin (lenovinha, 2026-09-05, 1059-pb2j). -
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: agit reset --hardplaced 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 awork/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. -
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
cpoverwrote 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 barestatmtime is local time and sent a pristine-clone probe eight hours from the event. -
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 <sha>), rebuild the branch onorigin/<branch>, re-apply only the fragments, then push (yolanda, 1055-6yp8 close, 2026-09-05). And a terminal event needs the status transition with it: acompletedevent beside statusreadyfolds as ready and the packet stays claimable forever; the fragment-status-loss guard catches it, andset-field --evidenceis the path that derives the rung from the status. -
A binding assembled from a variable is invisible to every name-based scan. Wiring fixtures into
build.shwithfor f in a b c; do _run bash "$DIR/test-${f}.sh"; doneruns them correctly and leaves the orphan count unchanged: the bound-or-retired guard, agrepfor 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). -
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.
-
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 twounscoreable: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.
6 — Commit, Push & Checkpoint
-
Durable Checkpointing: At meaningful milestones (every 30–45 minutes), write an
agent_status_packetas aprogressorcheckpointevent to aplan/index.d/fragment viatillandsias-plan append-event <packet-id> progress ...or fragment file, and push it through the plan-only lane (scripts/push-plan-fragments-to-trunk.sh) — the fragment lives on trunk, not on the work ref.- Schema requirement: Include current plan, touched files, partial evidence, and next checkpoint.
-
targeted git add, then push the WORK REF (1317-9ugn; methodology
work_ref_lane):git add <specific-files> # NEVER `git add -A` (cross-host churn) git commit -m "<slice-message>" # cite trace + plan packet + any unblock-noop git push -u origin work/<order> # ungated: no stamp, no trunk merge, the deciders warnPush after every commit if you like. A work ref never races anyone: the "remote moved, retrying" loop belongs to pushes at the shared branch, and a work ref has one writer. If the hook prints
warn:pre-push:<decider>:the decider found something you will have to fix before the landing; fix it in the next commit, the push already went through.MIGRATION, NOT ENFORCEMENT (operator, 2026-09-20): a gated push straight to
<active-branch>still lands today, and the hook's refusals carry the same affordance join-the-fleet §3 teaches; it will be refused later, oncescripts/lua/check-landing-provenance.luameasures that most landings arrive through the queue, and that flip is the operator's decision on a number.
Integration Verification Gate (run ONCE per unit of work, BEFORE the PR leaves draft)
This gate is non-negotiable. The shared trunk has been broken twice by agents
pushing an un-revalidated post-integration tree: a duplicate #[test] definition
(E0428) and an orphan >>>>>>> conflict marker left inside plan/index.yaml.
./build.sh --check alone does NOT catch the YAML class — plan//openspec/
files are data, not compiled. The landing queue re-runs the gate at FULL on
the merged candidate (1316-bnzt), so this run is what keeps your PR from being
evicted, not what lands it. A merge of trunk into the work ref is only "done"
when ALL of these pass on the merged tree:
# Bring trunk into the WORK REF by MERGE. Never rebase a pushed ref, and never
# rebase/cherry-pick published commits across branches (integration_strategy in
# methodology/multi-host-development.yaml). `git config rerere.enabled true`
# (join-the-fleet §1) replays a resolution you already made.
git fetch origin && git merge --no-edit origin/linux-next
# 1. No conflict markers survived the resolution (the orphan-marker bug).
# Markers are EXACTLY 7 chars then space/EOL — do not match `=` separator lines:
git grep -nE '^(<<<<<<<|=======|>>>>>>>)( |$)' && { echo "CONFLICT MARKER PRESENT"; exit 1; } || true
# 2. Every touched YAML still parses (the broken-plan/index.yaml bug — `build
# --check` does NOT validate data files, so this step is what catches it):
# PICK THE VALIDATOR THAT EXISTS WHERE YOU ARE. `ruby` is NOT in the forge
# image; `yq` is. Hosts usually have both. `python3` is present in the forge
# and is FORBIDDEN for committed automation (tlatoani_hard_no_python) — its
# presence is not permission, and it is the trap this fallback chain exists
# to keep you out of.
# ORDER 560: the plan binary is the validator every regime already has
# (Windows hosts have no ruby and often no yq). It must parse THE FILE:
# `tillandsias-plan check` ignores its argument and exits 0 on a malformed
# file, so a yamlcheck built on it can never fail. Resolved through the
# shared probe, because the binary is usually not on PATH.
_yc_plan="$( . scripts/plan-binary-probe.sh 2>/dev/null && resolve_plan_binary 2>/dev/null )" || _yc_plan=""
if command -v tillandsias-policy >/dev/null 2>&1; then
yamlcheck() { tillandsias-policy validate-yaml "$1"; }
elif [ -n "$_yc_plan" ]; then
yamlcheck() { "$_yc_plan" validate-yaml "$1" >/dev/null; }
elif command -v yq >/dev/null 2>&1; then
yamlcheck() { yq . "$1" >/dev/null; }
elif command -v ruby >/dev/null 2>&1; then
yamlcheck() { ruby -ryaml -e "YAML.load_file('$1')"; }
else
echo "no sanctioned YAML validator available — do NOT substitute python3"; exit 1
fi
for y in $(git diff --name-only origin/linux-next..HEAD | grep -E '\.ya?ml$'); do
yamlcheck "$y" || { echo "INVALID YAML: $y"; exit 1; }
done
# 3. Code still compiles — clippy + cargo catch the duplicate-item E0428 directly
# (also pinned by litmus:no-duplicate-rust-item-defs in the --ci-full suite):
./build.sh --check
# Only now: push the work ref, open the PR as a draft, and mark it ready once
# the closure evidence is on the row. The landing queue integrates it ONCE.
git push origin work/<order>
gh pr create --base linux-next --head work/<order> --draft --fill
gh pr ready <pr-number> # after the row carries the closure evidence
If any step fails, FIX it in the next commit — never mark ready a tree that
failed this gate. A candidate that fails at the landing is evicted and costs
the queue a full gate; the gate here is the price of a landing that goes
through first time. If your host's token cannot open pull requests (the fleet's
fine-grained token lacks "Pull requests: write" as of 2026-09-20 — an operator
ask), push the work ref and send the coordinator its SHA: the relay lane lands
it exactly as the queue would. Close by order only after the merge is on
origin/linux-next.
- Durable Ledger Update: Write a one-line outcome to your host's work-queue ledger (
plan/issues/<host>-next-work-queue-*.md):- 2026-MM-DDTHH:MMZ <commit-sha> <one-line summary>
Defer Rule
If the 2h integration cron fired in the last 10 min (check the latest ### Cycle timestamp in plan/issues/multi-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.
7 — Submit Completion or Yield
Submit Completion
Long-running packets (multi_cycle: true with verification_required):
you MUST NOT emit completed or flip status to done yourself, even with
every exit criterion implemented. Instead: append a progress event stating
implementation-complete, set phase: verification, update
progress_summary and plan/long-running.md in the same commit, and leave
status ready. The packet closes only when every agent named in
verification_required has emitted passing verified-by events
(methodology/distributed-work.yaml → long_running_packets).
-
Cycle Metrics: Run
scripts/cycle-metrics.shand include its output in your completion report. Readverdictfirst — it names the cycle's weakest point.attention:expert-answered-nothing-check-base-branchmeans the expert ARTIFACT is wrong (order 531), not that the questions were hard; check the base branch before trusting any expert answer from this cycle. Reportexperts_substitutionasunknown— it is not derivable in-repo and must never be estimated. Pass--cycle-start <your Start-Of-Cycle UTC>sorepeat:measures this cycle, and readskippable:(printed right aftertiming:) alongsideverdict:— it names the expensive, outcome-invariant steps this host keeps paying (order 1001-q3zf); quotesaved_ms_upperas the bound it is. 0b. Emit this cycle's flow record — EVERY cycle, on EVERY host. Right after the metrics run above and before Finalization commits:scripts/cycle-metrics.sh --emit-flow \ host=<this-host> \ batch_epic=<from select-work-batch `batch: epic=`> \ batch_seed=<from `batch: seed=`> \ batch_size=<from `batch: size=`> \ budget=<from `batch: budget=`> \ claimed=<packets this cycle claimed> \ completed=<packets this cycle completed> \ filed=<new packets/issues this cycle filed> \ commits=<from cycle-metrics `repo: commits_this_cycle=`> \ plan_open=<open packet count> plan_total=<total packet count>Best-effort by construction: the emit never fails the cycle it measures (
methodology/agent-observability.yaml), so a full disk or a read-only path costs a record and nothing else.THIS INSTRUCTION USED TO EXIST ONLY IN
skills/meta-orchestration— the coordinator's skill, which one host runs on a schedule — and was absent from THIS skill, which every worker host runs every cycle (943-7dn5). The emitter shipped and passed its fixture; the CALL was never wired. Measured on yoga 2026-09-06: 20 records, all from sessions that happened to run the coordinator skill, newest 44h old, with 953 settled commits landed since.overhead_ratiois what 689-zwzm gates its concurrency ramp on, and a ramp gated on a metric nothing feeds either never lifts or lifts because the absence reads as calm.scripts/check-cycle-flow-log-fresh.shrefuses a log that no cycle has fed while commits kept landing. It is bound tolitmus:cycle-flow-telemetry-shaperather than to./build.sh --check, because every host's log is stale today and a blocking gate step would refuse the whole fleet's landings at once. -
Full Verification: Run the full validation litmus on your platform to confirm zero-drift compliance.
-
Close the packet — BOTH the event and the status transition.
LAND THE CODE FIRST, then close with the SHA the landing printed.
scripts/land-on-platform-branch.shfetches, integrates onto origin and REWRITES your commit, so a SHA captured before it is the pre-rebase local one and never exists upstream.ok:land:<sha>is the only SHA that exists.Never read a land or gate verdict through a pipe. The shape above —
landed="$(scripts/land-on-platform-branch.sh | sed -n '…')"— reportssed's exit status, not the land script's. Three false claims in one hour on two Windows hosts came from exactly this shape (2026-09-12): yolanda readland-on-platform-branch.sh | tail -25as exit 0 and told two parties the land tool reports success over a refused gate. It had exited 3 and named its gate log, and esme was about to file a row against the tool for the bug its own header exists to prevent. Capture first, then parse:land_out="$(scripts/land-on-platform-branch.sh 2>&1)"; land_rc=$? landed="$(printf '%s\n' "$land_out" | sed -n 's/^ok:land:\([0-9a-f]*\):.*/\1/p')" [ "$land_rc" -eq 0 ] && [ -n "$landed" ] || { echo "land refused (rc=$land_rc): $land_out"; exit 1; } tillandsias-plan set-field <packet-id> status completed \ --evidence "$landed" \ --reason "<what shipped, validation log paths>"${PIPESTATUS[0]}is not wrong, it is fragile: any intervening command resets the array, anda=$?is the command everyone writes beside it. Pinned bylitmus:land-verdict-through-a-pipe(drill: plan/issues/fleet-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).Then commit and push the ledger fragment (step 3), which takes the plan-only lane. This inverts the old step 2/step 4 order for the CODE commit only — every other ledger write keeps the 3c ordering.
A
scripts/gate-steps.d/NNN-*.stepprefix is ALLOCATED BY THE LAND TOOL, not chosen by you (1162-qbrx). Pick the slot you mean between its neighbours and land withscripts/land-on-platform-branch.sh: after its own integrate and before the gate it runsscripts/allocate-gate-step-prefix.sh --base origin/<branch> --commit, which moves a step THIS push adds — and only that — to the smallest free integer below the next occupied prefix when the integrate brought in a sibling's step with the same number, and commits the rename (gate-step-prefix: 280-<order>.step -> 281-<order>.step (280 taken by …)). The old advice, "choose the prefix after the integrate", cannot close this race because the window is the gate itself: MEASURED 2026-09-13, lenovinha's 280 followed it exactly and still collided against yoga's 900-z3kv landing mid-gate (215, 255 and 280 that night, each a full re-gate; yoga's 205 the day before). Hand-rolled push? Run the allocator yourself after your merge, before your gate. Arefused:gate-step-prefix:no-gapmeans every integer up to the next occupied prefix is taken — renumber by hand so the step keeps its place. Existing steps are never renumbered.ORDER 1024-c3h3. This step used to run before the landing, and the evidence refs were systematically wrong for every host that followed it: lenovinha measured four of four closures citing ghosts on 2026-09-04 (5326cb97d, d2ce890b2, 89f6960d2, 4aaa24ba2, while the code landed as dcc50ff27, a20540d33, 42930b71c, 00549903c), and yoga's 1011-d578 cited 677c30527 the same way. A reader running the obvious check (
git merge-base --is-ancestor <sha> origin/<branch>) gets NO and cannot tell "the code never landed" from "the ref was captured too early" — two conditions needing opposite responses. That is 881-29me's shape with a SHA instead of a line number: cite what survives the operation.If you cannot capture the landed SHA, cite by content the rebase preserves (the commit subject, a test name, a verdict line) and say that is what you did. A wrong SHA is worse than no SHA, because it looks checkable.
An event alone does not close a packet. This step used to read "append a
completedevent … or by writing an append-only fragment file setting statusdone", and both of those branches are broken — which is why three hosts left finished work claimable on 2026-08-09:append-eventlocates packets by their item prefix inplan/index.yamland is blind to fragment-only packets (600-c266). It refuses them outright.- Hand-writing a fragment that re-declares the packet under
packets:with a new status is a G-Set no-op. It parses, validates, passestillandsias-plan check, reads correctly in review — and the fold throws it away. 11 of 21 completions were discarded that way (635-i6vm). - Writing only a
type: completedevent leaves the status untouched. macOS did this after a 5/5-PASS validation with an evidence file; the packet was still being handed out as work hours later.
set-fieldresolves against the folded ledger, writes the LWW channel correctly, refuses an unknown reference, and reports a no-op instead of writing one. Add a narrativeprogress/completedevent too if the detail is worth keeping — but the status transition is what actually closes it. -
Commit & Push Ledger: the final plan fragments go to trunk through the plan-only lane (
scripts/push-plan-fragments-to-trunk.sh), never onto the work ref; on a platform branch commit them toorigin/<active-branch>as well. -
Attest: with every commit pushed (the work ref:
git log origin/work/<order>..HEADempty), runscripts/finalize-cycle.sh <active-branch>(verify boundary, record, land, re-verify, derive theMO-FULL:marker — never type it). It needs the §1 step 1b snapshot; without one the honest exit is landed-but-unattested, stated in the loop-status entry's first line. Write that entry withtillandsias-plan loop-status-append --host <host> --ts <cycle-start-UTC> --backfill < fragment.md— or--file fragment.md, or a bare path, all three of which now work. Order 1004-8vkv fixed what this line used to warn about: a path argument was silently dropped and the command then blocked forever on an inherited socket stdin (lenovinha, 2026-09-04, 26 minutes). A stdin with nothing writing to it is now refused in 5s naming both explicit forms, and an empty read saysread 0 bytesinstead of blaming your fragment's headings.
Mandatory Exit Discipline
A successful invocation MUST NOT exit with local-only work:
- If implementation is complete, update the owning plan item status and append a completion event with evidence before the final commit.
- If implementation is incomplete but coherent, commit a checkpoint and append a progress event with remaining work and the next action.
- If implementation is blocked, append a blocked/failed event with the exact blocker and smallest next diagnostic command.
- Push every checkpoint/completion to the appropriate remote branch before returning success.
- Before final success, verify
git status --short --branchis clean and not ahead of upstream. If not, finish the commit/push or mark the plan item blocked with the reason.
Yield & Triage (Failure/Blockage)
- Emit Blocked or Failed Event: If you encounter an unresolvable error, blocker, or spec gap:
- Append a
blockedorfailedevent toevents:detailing the exact reason, the named blocker, and the smallest next diagnostic command. - Flip status to
blockedorfailed(withretryable: true|false). - Push the event through the plan-only lane (
scripts/push-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.
- Append a
- Fallback Selection: Release your local lease, select your named fallback task, and begin the loop fresh.
Hard Guardrails
-
NEVER
git push --force. -
NEVER push directly to
main— use PRs. Checkplan/issues/cross-host-blocker-roundup-*.mdfor the active<host>-next → mainPR number before opening a duplicate. -
NEVER push to a sibling host's branch (linux MUST NOT push to
osx-nextorwindows-next). -
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.
-
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 commonmerge-basewithlinux-next. If drift exceeds 5 commits, you MUST immediately halt feature work and run a pull-integration and merge pass. -
NEVER skip hooks or signing.
-
release.ymlisworkflow_dispatchonly — never auto-trigger. (The oldrecipe-publish.ymlrootfs workflow was removed in the 2026-06 Fedora pivot.) -
NEVER resolve cross-host plan conflicts by deletion — tombstone or supersede only.
-
When the worktree is dirty, only stage
plan/files explicitly by path. Implementation code from a previous (uncommitted) iteration is NOT yours to touch. -
AND BEFORE YOU LEAVE IT ALONE, COPY IT (orders 872-c9nd, 1102-93ng). Run this the moment you find startup dirt, before refusing and before any other detector:
scripts/salvage-dirty-worktree.sh <slug> # -> ok:salvaged:<ref>:<sha>Quote the
ok:salvaged:<ref>:<sha>verdict in your cycle report — that ref is the only durable record that the work existed.CHECK THE VERDICT — THERE ARE THREE, NOT TWO (order 1103-i7xq):
verdict what you have ok:salvaged:<ref>:<sha>the copy is on origin; it survives a re-clone ok:salvaged-local:<ref>:<sha>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 <ref>ok:salvage-not-neededthe 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/<order>ref needs the full gate;pre-push-local-gate.shinstead exempts a push in which EVERY ref isrefs/heads/salvage/*, sogit push origin HEAD:refs/heads/salvage/<host>/<yyyymmdd>-<order>lands the commit ungated. Verify bygit merge-base --is-ancestor <sha> <remote-ref>and by content on the remote, never by the push's exit codefail:salvage:<reason>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 The middle row exists because the salvage used to push the commit straight to origin and create no local ref, so a failed push left nothing at all — on exactly the hosts most likely to strand work, the ones that cannot push.
yolanda measured the fourth row on 2026-09-12: clean tree, finished unpushed commit, red gate —
ok:salvage-not-needed, rc 0, nothing preserved, which is exactly the state this rationale was written for (drill: plan/issues/fleet-restart-2026-09-12.md, The salvage script covers the dirty tree, not the unpushed commit).It cannot touch the worktree. The script works through a temporary index and git plumbing only, so it is safe to run on dirt you have just been forbidden to alter. "Refuse" and "copy" are not in tension; the copy is what makes the refusal survivable.
WHY THE OTHER HALF IS NOT ENOUGH, and this skill only ever had the other half: refusing protects the work from YOU. It does not protect it from a fresh clone. On 2026-08-24 three consecutive cycles refused a dirty tree, each writing more careful prose about the diff than the last, and then the checkout was re-cloned. Four hours of finished work was unrecoverable and the untracked file's name appears in no commit on any branch. Every one of those cycles obeyed the rule it had been given.
This does NOT license committing, discarding, restoring, resetting or cleaning unknown dirt. Treat every recorded path as immutable sibling or operator work unless the operator identifies it as disposable in the current prompt. Salvage, then refuse, then report both.
-
Treat every local-only commit as volatile. If it matters, push it before ending; if it cannot be pushed after three retries, file a blocked event.
How Orchestrators Steer this Skill
The canonical file lives at skills/advance-work-from-plan/SKILL.md.
Each agent runtime (.claude/, .opencode/, .codex/, .gemini/, .github/) accesses it via a symlink under its skills/ directory, so there is exactly one source of truth.
To steer remote agent work between iterations, an orchestrator can:
- Edit the priority list in §2 to elevate a packet for the next cycle.
- Tighten or loosen the defer rule in §6.
- Add a new host row to §1 (e.g. when a freebsd-host comes online).
- Drop or extend the unblock-with-NOOP rule in §4.
04 同仓库更多 Skills
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.
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/tillandsias --opencode` with ONE short fixed smoke prompt (run the credential guard, reply with a fixed token; never the /meta-orchestration loop, 1941-smkp). Every issue observed — by this skill's agent during install/reset/init, or by the agent's one turn inside the forge — is filed as a plan/issues work packet for later pickup by /advance-work-from-plan.
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 /project-discipline for instructions" resolves here. Works for any project in a Tillandsias forge, not only Tillandsias.
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/issues/probe-macos-tray-on-windows-findings-<DATE>.md.
multihost-orchestration
Compatibility alias for the canonical coordinate-multihost-work skill.
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.