coordinate-multihost-work
Coordinate Tillandsias Linux, Windows, and macOS implementation agents by auditing shared plan/methodology ledgers, analyzing sibling branch git history, reconciling stale work queues, mediating concurrent conflicts or thrashing, tracking convergence velocity metrics, enforcing finite-time convergence guarantees, and pushing coordination updates. Designed to run hourly to ensure continuous cooperation and unblocking.
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-15
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- coordinate-multihost-work
- description
- Coordinate Tillandsias Linux, Windows, and macOS implementation agents by auditing shared plan/methodology ledgers, analyzing sibling branch git history, reconciling stale work queues, mediating concurrent conflicts or thrashing, tracking convergence velocity metrics, enforcing finite-time convergence guarantees, and pushing coordination updates. Designed to run hourly to ensure continuous cooperation and unblocking.
03 SKILL.md 正文
Coordinate Multi-Host Work
Run a short, durable coordination pass for the Tillandsias Linux, Windows, and macOS implementation agents. The goal is to keep agents unblocked, ensure their sibling ./plan states cooperate, and strictly guarantee convergence on the specs in finite time.
Core Rule
Do coordination, spec, plan, methodology, and cheatsheet work. Do not change implementation code unless the blocker is clearly a small coordination-side fix required to unblock agents. Respect dirty worktree changes you did not make.
This skill is also the active runtime orchestrator. If a sibling branch has eligible code ahead of linux-next, pull/merge what can be merged, then start or monitor the full runtime litmus run.
Before a successful exit, push every coordination update to origin/linux-next.
The local worktree must be clean and not ahead of upstream. If a push cannot be
completed after three fetch/rebase retries, record the failed push as a blocker
via tillandsias-plan loop-status-append and stop.
Start Of Loop & Sibling Git History Audit
- Fetch & Inspect: Run
git fetch origin. - Track Sibling Branch Progress: Fetch and inspect the heads and git commit history of the platform branches:
- Compare
origin/linux-next,origin/windows-next, andorigin/osx-nextagainstorigin/main. - Read the git commit log of the last 10 commits on sibling branches to detect concurrent plan or code modifications that might not yet be integrated.
- Compare
- Clean Checkouts: Prefer
linux-nextfor shared coordination files. If already on another branch, do not discard local changes; switch only when clean or safe. - Fetch & Reconcile Ledgers: Fast-forward/pull the latest
origin/linux-nextbefore editing. If the remote advanced, fresh-read the changed files:methodology.yamlmethodology/distributed-work.yamlmethodology/convergence.yamlplan.yamlplan/index.yaml(or viatillandsias-plan query/project-planMCP tools)plan/loop_status.md(or viatillandsias-plan loop-statusfolded view)- Read the
## Directionsection ofplan/loop_status.md(operator-owned thematic direction) and reduce cross-host coordination priorities against it; cite the direction in coordination ledger entries (order 381). - active
plan/issues/*work-queue* - active
plan/issues/*blocker* - active
plan/issues/multi-host-integration-loop-*.md
A Trunk-Only Claim Check Is Wrong For Every Platform Host
Before calling any packet unclaimed, fold the sibling branches:
scripts/check-claims-across-branches.sh --batch <id>... # or a single <id>
tillandsias-plan ready, status and expire-claims all read the fold of
this branch. A macOS or Windows host claims on osx-next or windows-next,
and that claim reaches trunk only when the coordinator relays the branch. So a
packet claimed correctly, with the status flipped and the claim pushed FIRST,
still reads ready on trunk for as long as the relay takes.
MEASURED by macbookair 2026-09-05: the relay gap ran 19 minutes to 2h02m, with two of their own claims unseen on trunk for 1h55m and 2h11m. So a host doing exactly the right thing and a host that claimed nothing at all are INDISTINGUISHABLE from trunk, for hours, and no amount of care on the coordinator's part closes that by looking harder.
The same cycle, this coordinator told that host "nothing has arrived, which is
exactly what that discipline looks like from outside." It was not: the claim had
landed on osx-next twenty minutes earlier. --batch returned
claimed-elsewhere:1082-9rub:osx-next in about a second.
That is order 1034-whsp's subject arriving in the coordinator's own routine, and the remedy is mechanical rather than attentional: run the cross-branch check on every candidate before routing it, and never report a packet as unclaimed on the strength of a trunk read.
Since 1153-j2nm the gap has a second, shorter remedy on the CLAIMANT's side:
scripts/push-plan-fragments-to-trunk.sh pushes a platform host's new
fragments to origin/linux-next at claim time through the plan-only lane
(no stamp; the worktree and branch are untouched; the relay merges the
identical file clean). Tell a platform host that claims by message to run
it, and when the cross-branch check reports claimed-elsewhere:<order>:<branch>,
relay the fragment or ask the host to push it — the check remains the
coordinator's control, because a host can still claim without the helper.
Is Any Host's Work Stranded — RUN THE SCRIPT, DO NOT RETYPE THE QUERY
scripts/salvage-audit.sh # or --branch <ref> --pattern refs/heads/work/*
Order 1226-jb8y. Reports each salvage/work ref that holds content not on the
branch, and for every differing file WHICH SIDE IS AHEAD. Only
ref-may-be-AHEAD and ABSENT lines are relay candidates; a
<branch>-is-AHEAD line means the branch moved past a stale snapshot.
BEFORE CONCLUDING A HOST'S WORK IS UNREACHABLE, RUN THIS. On 2026-09-16 macbookair's finished work sat on origin for hours — 872-c9nd's net had pushed it — while two hosts reasoned about escape routes and neither queried the refs.
It is a script because the question has three parts and every one-command
shortcut answers a different one. Ancestry is not integration: a ref relayed
by cherry-pick is never an ancestor and is fully landed. git diff A...B
overcounts by listing what B changed since the merge base, including files A
added independently — six fragments read as differing and all six were
byte-identical. git diff A B overcounts far worse by counting the branch's own
progress: 526, 2009 and 2061 files against a truth of 3, 0 and 0. And "differs"
is not "outstanding" — a file the branch touched after the snapshot is the
branch moving on.
Which PACKETS are stranded — the same refs, read as ledger writes
scripts/check-stranded-plan-writes.sh # or --from <saved salvage-audit transcript>
Order 1232-av4p. The audit above lists FILES; the dangerous subset is invisible
in a file list — a status: write that exists only on a salvage or work ref,
for a packet trunk reads differently. That is how a forge session nobody could
message closed EIGHT packets onto a salvage ref while plan_next kept offering
them (2026-09-16), and how 1430-9227 found a never-landed fragment that would
have flipped 437. Each candidate fragment is folded INTO A SCRATCH COPY OF
TRUNK'S LEDGER with the real plan binary, so the verdict is the fold's, not a
string comparison:
stranded:would-change:<order>:<id>:…— relaying this fragment WOULD change what trunk says. Decide: relay it, refuse it on the row, or re-verify the row against trunk and close it on trunk evidence.stranded:superseded:…— the ref's write lost to a later trunk write (an old claim for a packet since completed). Relaying it changes nothing; no action.
A would-change line is a question for the coordinator, never an action: the
eight 2026-09-16 rows were re-verified and relayed hunk by hunk (1425-t9v9), not
flipped by relaying their implemented writes.
Which Hosts Are Active — RUN THE SCRIPT, DO NOT RETYPE THE QUERY
scripts/fleet-activity.sh --since 3.hours # or --since 24.hours, --ref <branch>
Order 1223-wzc4. It reports one row per HOST with plan-only and code counts, and a separate UNATTRIBUTED BUCKET row for addresses that name no host.
This is a script for the same reason the loop-status metrics audit is. The
recipe was recorded as drill prose in one pass and retyped WRONG two passes
later — %ae was used and then ${e%%@*} printed, stripping the domain, which
is the only part that names the host, so two different hosts both rendered as
tlatoani. Three corrections travel with the file and none of them survives
paraphrase: count by EMAIL not name (author name maps to four addresses for one
name); derive the host from the DOMAIN under every convention the fleet uses,
including <Host>.local, not one hard-coded suffix; and report an address that
names no host as a BUCKET, never as a host row (1012-hu7d).
It cannot answer idleness and says so on every run. A host absent from the window landed nothing in the window — mid-analysis, gating, blocked and asleep are indistinguishable from here. Idleness is established by ASKING.
Active Coordination & Mediation Audit
In every hourly pass, the orchestrator MUST actively analyze concurrent work and evidence to detect and mediate four critical multi-host alignment problems:
1. Deadlocks (Mutual Waiting)
- Detection: Sibling A is blocked on Sibling B's interface/API, while Sibling B is blocked on Sibling A's implementation, configuration, or environment.
- Mediation:
- Immediately break the deadlock by defining a minimal, mock-based interface contract or declaring one host as the primary driver.
- Repin the blocker to a simplified mock task and update both queues to proceed independently.
2. Wrong-Direction Progress (Spec/Methodology Divergence)
- Detection: A sibling is implementing code or plans that deviate from active specs, bypass reverse-proxy constraints, or violate the nonblocking/yield-returning policy.
- Mediation:
- Freeze the sibling's current lease.
- Document the spec gap or divergence via
tillandsias-plan loop-status-appendand the host's queue file. - Force-assign a corrective "Spec Alignment & Litmus Verification" packet as the next primary task.
Establish blast radius before broadcasting a land-blocker. Where a failure
was found is not where it bites: a guard shipped in 68d404947 failed
test-cycle-flow-emit-idempotency.sh, and the coordinator relayed a
land-blocker reading to six hosts before checking that the fixture's only
caller is a litmus test outside both --check and the land path — no host
was actually blocked, and the alarm had to be un-told within the hour. Before
declaring or relaying a blocker, name the gate that actually runs the failing
step (the divergence file, or one grep for the caller) and state the radius
(--check, land path, litmus/--ci-full) in the broadcast (drill: plan/issues/fleet-restart-2026-09-12.md, Refusing a caller that had not asked the question).
3. Thrashing (Undo-Loops / Write-Write Collisions)
- Detection: Sibling A and Sibling B are repeatedly overwriting each other's changes, reverting each other's plan notes, or fighting over shared files.
- Mediation:
- Freeze both active leases.
- Perform a git history analysis (
git log -p -n 5 <shared-file>) to pinpoint the root conflict. - Enforce the CRDT semantic-merge policy: plan updates are semantic upserts keyed by stable IDs. If code is thrashed, assign a single synchronous conflict-resolution wave to one host and keep the other host on a separate, independent fallback path.
Repeated attempts-exhausted refusals across hosts, with no content
conflict, are trunk-churn thrashing — not stale claims. A two-fix land from
macuahuitl was refused three times against an ~8 min gate while origin moved
every ~2.5 min; yoga lost two more attempts at ~4 min on the same trunk.
Under a declared ten-minute fleet-wide quiet the same land passed on attempt
- Mediate churn as you would a real collision: declare the quiet, then assign a landing order per branch for its duration — one host at a time, each messaging its SHA to the next — instead of a free-for-all. The loser is not the slowest host; it is whoever pushes last against a moving base, and it pays a full gate for nothing (drill: plan/issues/fleet-restart-2026-09-12.md, A push quiet is an instrument, and one was enough).
4. Divergent Branch Paths (Branch Drift)
- Detection: Sibling branch (
windows-nextorosx-next) is accumulating independent commits that are not integrated intolinux-next.- Measure branch drift count:
git rev-list --count origin/linux-next..origin/<sibling-branch>. - Trigger Alert if commit count > $D_{max} = 5$ commits.
- Measure branch drift count:
- Mediation:
- Freeze the diverging sibling branch's write leases.
- Force-assign a primary "Sibling Integration" task to that host: it
merges
origin/linux-next(andorigin/main) into its own branch and resolves there — never rebases/cherry-picks published commits across branches (that remints hashes and re-creates duplication; seemethodology/multi-host-development.yamlintegration_strategy). - Trigger the synchronous orchestrator merge of the converged sibling
branch into
linux-nextand run the litmus suite + Integration Verification Gate before push.
Velocity & Finite-Time Convergence Guarantee
To guarantee convergence in finite time, the orchestrator MUST track and enforce the strictly positive lower bound of convergence velocity and upper bounds on commit rates:
- Compute Residual CORRECTNESS Debt ($\mathcal{R}$):
- $\mathcal{R}$ is measured by the total count of residual named CentiColon obligations plus the number of unimplemented MUST requirements across active specs: $$\mathcal{R} = N_{CentiColons} + N_{UnimplementedSpecs} + N_{OpenIssues}$$
- Calculate Convergence Velocity ($\mathcal{V}_c$):
- Compare the current $\mathcal{R}$ with the $\mathcal{R}$ from the previous 3 coordination cycles: $$\mathcal{V}c = \frac{\mathcal{R}{t-3} - \mathcal{R}_t}{\Delta t}$$
- Enforce Minimum Velocity ($\mathcal{V}_{min}$):
- If $\mathcal{R} > 0$ and $\mathcal{V}c$ falls below $\mathcal{V}{min} = 1$ correctness unit / hour, trigger a High-Velocity Alignment Event:
- Reduce TTL: Automatically shrink the lease TTL from 4 hours to 1 hour to force faster heartbeats and rapid handoffs.
- Freeze Feature Work: Prohibit all new exploratory feature work or optional P3 optimizations.
- Force Blocker Defusal: Force all active hosts to focus strictly on:
- Resolving the root blocker in the blocking tree.
- Writing focused litmus tests to prove the boundary of the failing contract.
- Completing outstanding verification tasks.
- If $\mathcal{R} > 0$ and $\mathcal{V}c$ falls below $\mathcal{V}{min} = 1$ correctness unit / hour, trigger a High-Velocity Alignment Event:
- Enforce Maximum Velocity Cap ($C_{max}$ / Thrashing Prevention):
- Detection: If a host's commit rate exceeds $C_{max} = 2$ commits/hour while convergence velocity remains zero or negative ($\mathcal{V}_c \le 0$), a Thrashing Violation is declared.
- Actions: Enforce a mandatory 1-hour commit cooldown (blocking remote pushes) and a Claim Freeze forcing the host to integrate
linux-nextand verify first.
Carried-Obligation Burndown — RUN THE SCRIPT EACH PASS (order 1577-57u3)
A carried obligation (methodology/convergence.yaml → carried_obligations)
moves to a stricter stage only on a MEASURED stall, and only by the operator.
Each pass, run:
tillandsias-plan script run scripts/lua/check-carried-obligations.lua -- --burndown
It prints one line per backlog, read from the Carried: trailers the land
queue writes on every land commit (1577-568c):
burndown:<backlog>:count=<n>:stage=<s>:window=<k>:paid=<p>:waived=<v>:silent=<q>:trigger=<fired|clear>
trigger=clear: nothing to do. A short window (kbelowwindow_size) is clear by construction. Landings before 1577-568c carry no trailer.trigger=fired: the counter did not descend across the lastwindow_sizedue landings. Put ONE plain ask in the operator queue carrying the line's numbers (paid, waived, silent, count at both ends, on stderr) and the proposed next stage. If most waivers citeblocked-by:, propose promoting those rows instead (triggers.gentle_to_enforced). Never editstage:yourself: a stage move is a bar raise (governance).
Stale Ready Rows: Surface, Never Close (order 1144-jfr5)
Before shaping work, run the first-pass reconciliation and carry its candidates into the handoff:
scripts/check-stale-ready-rows.sh # stale-candidate:<order>:<n>:<sha> … then ok:stale-ready-rows:<c>/<ready>:pass=cites-order
and the landed-work-ref pass beside it (1934-mxxc, report-only Lua):
TILLANDSIAS_PLAN_BIN=<plan> tillandsias-plan script run scripts/lua/check-ready-rows-with-landed-work.lua
# ready row with a landed work/<order> ref: <sha> kind=<kind> … then advisory:ready-rows-with-landed-work:<n>
It catches the shape the first pass cannot: a row whose land(N): work/<order>
merged while nobody cited the order in a work-commit subject, or nobody moved
the row (measured 2026-10-31 on calmecacpilli: 81 rows, 8 confirmed landed ports).
The same rule applies: a landed ref is not completion; verify, then close with evidence.
A candidate is a ready row whose order a landed commit SUBJECT cites as
work (fix(, feat(, close(, test(, record(, style(, docs(,
refactor(). MEASURED on the first run (2026-09-13): 93 of 509 ready rows.
That list is evidence somebody believed they were working the row; it is
NOT a verdict — e357f3f87 cited three orders and completed two, a row can be
ready on purpose after a release (1141-vf9w), and a trend-closure or
multi_cycle row is cited by every slice while correctly staying ready
(1135-z8gn). The pass reports the count and up to five candidates it hands
to a host WITH the exit criteria to verify by execution; it never sets a
status itself. The fuzzier owned_files pass the row also asks for is not
built yet.
Three rules learned on 2026-09-13, each from a wasted cycle:
- A hand-off is a claim flip on trunk. Handing a candidate by message
separates nobody: 1140-d6ni was handed to yolanda at 12:11Z, closed by them
on windows-next at 12:20Z, and closed again from scratch by yoga at 13:45Z
from a plan_next that still offered it. Every hand-off ends with
set-field <order> status in_progress --host <host> --evidence … --reason "handed by the coordinator …"pushed through the plan-only lane, and the controltillandsias-plan next <role> | grep -c <order>→ 0. - Correcting a long-form field:
--append, not a rewrite (1151-td46).next_action,context,notes,deliverable,verifiable_closureand their siblings are SHARED PROSE on a channel that replaces wholesale, so a host fixing one sentence deletes whatever other hosts wrote there. Measured on esme 2026-09-13 while attaching evidence to 793-zumy: three load-bearing warnings dropped in one write — a verification-debt note, "DO NOT MOVE legacy_tier WITHOUT TELLING YOGA", and the hwfp-v2 field list — restored only because the tool happened to echo the old value's tail. set-field now REFUSES a value that drops old lines and prints each one;--appendkeeps them all and adds yours under a dated attribution line, and--replaceis for when you have read the listed lines and they should go. Note the rule is LINE-EXACT: editing someone else's sentence in place counts as dropping it, which is the case this exists for. - A closure on a platform branch is invisible until the relay. The check
prints
closed-on:<branch>for a candidate whose packet carries a terminal status in a sibling branch's unrelayed fragments; never hand those — relay them. - Print the folded title, never the base fragment's. An amended row keeps
its original title in the immutable base;
tillandsias-plan status <order>folds it. 1140-d6ni's base title was the claim its own amendments retracted.
Shape & Assign Actionable Work
-
Construct the Blocking Tree: For every blocked item, trace its chain to find "root blockers" (items with the longest downstream chains or longest block durations). Prioritize root blockers above all else.
-
Unblocking Prioritization:
- Root blockers that unlock another host's ready items.
- Active deadlocks/thrashing mediation tasks.
- Failed-retryable work with narrow diagnostic chains.
- Ready leaf work in the owning host queue.
-
No Idle Hosts: Every active host MUST have at least one claimed or ready unblocked primary packet, plus one named independent fallback packet (e.g. in packaging, docs-distillation, or CI testing) so that a host never sits idle when its primary path is gated.
-
A host waiting for remote integration MUST be assigned an independent fallback unless all eligible work is blocked.
-
Under a fast-moving trunk, assign floor-tier hosts by relay-ref, not direct land. esme merged trunk at 09:13, gated green for 39 minutes, and was refused at 09:52 on containment: the stamp was valid, the merge premise under it was not. A green gate on that tier is 21-25 minutes at best, so against a trunk moving every few minutes the platform branch lands only in the gaps. Shape the assignment as: push the gated tree to
work/<order>and name a specific fast host to merge it into the platform branch on its next land — tens of minutes of exposure become a seconds-long merge. Plan-only pushes are the exception; they stay on the host's own push path (drill: plan/issues/fleet-restart-2026-09-12.md, The floor-tier treadmill, measured). -
Assign Stable Work Items: Each assignment must specify:
id,owner_host,status, dependencies, owned files, next concrete action, expected evidence, andagent_status_packetexpectations. -
Cross-host recurrence audit (order 1001-q3zf). The meta-orchestration handoff REQUIRES pasting the cycle-metrics output verbatim, which is how the
recur:andskippable:lines are meant to reachplan/loop_status.d/. That is a rule, not an observed behaviour: on 2026-09-04 only 17 of 353 loop_status entries carried atiming:line, none carriedrecur:, and the newest entry of every host had none. So the audit has two outcomes and BOTH are findings. Once per pass, read the NEWEST entry per host — the host set is derived from the file names, not a roster that goes stale, and the grep is token-anchored because entries arrive bare, as- recur:bullets, and inline inside backticked prose joined by·or|, so a^recur:grep undercounts. The stem is everything after the<timestamp>z-[<8hex>-]prefix, NOT the text after the last dash: session stems carry dashes of their own (lenovinha-tillandsias-forge,macuahuitl-tillandsias-forge, and a bareforge), and a last-dash split collapsed all three into oneforgerow that read only lenovinha's newest entry while macuahuitl's five entries got no row at all (adversarial review, 2026-09-04) — a dropped host under-counts the two-or-more-hosts trigger below. Files that do not carry the prefix (the README) are not hosts and are skipped:scripts/loop-status-metrics-audit.shRUN THE SCRIPT. DO NOT RETYPE THE LOOP. The audit used to live here as an inline bash block carrying two hard-won fixes in its comments, and on 2026-09-05 the coordinator typed it from memory instead of running it. The paraphrase dropped both fixes and two figures filed into packet 1074-96z9 came out of the wrong entry. A corrected instrument that lives in prose gets retyped, and a retyped command is a new command with none of the corrections. The loop is now
scripts/loop-status-metrics-audit.shand the two fixes travel with it:- Sort by NAME, never by mtime. After a merge or a checkout every
file's mtime is the checkout time.
ls -tread yoga's 09:30Z backfill as newer than its 11:29Z entry (2026-09-04T12:09Z) and selected the older entry for four of thirteen stems (2026-09-05T18:52Z). Entry names begin with a UTC stamp, so a reverse lexical sort IS newest-first. - Anchor on
skippable: candidates=and take the FIRST match. A handoff that pastes the verbatim block and then DISCUSSES it has two lines beginningskippable:, andtail -1takes the prose one. That reported esmeraldinha as not pasting when it was pasting AND interpreting — the instrument penalising the extra work.
The script prints one row per stem, reports platform-label stems as
unattributed-bucket <name> entries=<n>(order 1012-hu7d — never read a bucket as a host, and never read a host as silent because its entries sit in one), and ends withrows=<n> stems=<n>. Those two numbers must be equal; it exits non-zero and printsviolation:dropped-stemif they are not, because a dropped stem under-counts the two-or-more-hosts trigger below. The stem is everything after the<timestamp>z-[<8hex>-]prefix, NOT the text after the last dash: session stems carry dashes of their own and a last-dash split once collapsed three stems into oneforgerow.An empty result for a host means THAT HOST IS NOT PASTING its cycle-metrics — route it as a plain ask to that host ("paste the cycle-metrics output verbatim in your handoff"); never read silence as "no candidates". Parse a present entry FROM THE RIGHT — step names contain colons; the step is everything before the first
:runs=. When the SAME step topsskippable:on two or more hosts, file ONE packet to memoise or skip it, citing each host'sruns=,avg_ms=,fail_pct=andsaved_ms_upper=(a bound, and say so: the log carries no input identity, so nobody can claim a run would have hit a cache). Never act on one host's reading alone — attach the regime; a step that is invariant on a fat host may be the one that fails on a floor host. Ifrecur:shows a step's cumulative total rising cycle over cycle on every host whileskippable:never names it, that is the outcome-varying repeat the tree-digest rung (named in the 1001-q3zf packet's next_action) exists to measure; do not guess at it. - Sort by NAME, never by mtime. After a merge or a checkout every
file's mtime is the checkout time.
-
Every dispatch MUST carry the credential preflight (order 982-sguu). A dispatched task is an entry path into committable work that does NOT pass through the meta-orchestration loop, so it skips that loop's Start-of-Cycle credential check. Name this in the message and require it before the host starts:
scripts/check-credential-channel.sh # blocked:* -> stop and report, do not workWHY THIS IS HERE AND NOT LEFT TO THE HOST. On 2026-09-03 I dispatched a floor host a diagnosis ask and told it to skip the loop as a one-off. It spent about ninety minutes producing measurements and discovered by a FAILED PUSH, after all the work was done, that its upstream refuses writes. Every layer of 756-2jnj behaved correctly; the host simply never went through the door the guard is nailed to. That is the 2026-08-15 "detection too late" shape the guard was built to eliminate, reproduced through a different entry path, and the coordinator caused it.
The guard has ONE production caller in the whole tree (
scripts/forge-validate.sh) and is otherwise a manual step named only in the meta-orchestration skill.scripts/cycle-preflight.shdoes NOT run it — it only mentions it in a comment explaining why it does not duplicate the message. So a host that never enters the loop never runs it at all.A
blocked:*verdict means STOP AND REPORT, not work-then-discover. The cost of skipping this is one host-cycle of finished work that cannot be landed, and the coordinator then has to relay it by hand.Any credential-helper probe the coordinator hands to a host MUST redirect stdout. On 2026-09-12 the coordinator's own probe line, handed to macneo, had no redirect: on success it printed the operator's PAT into the transcript and forced a rotation. The rc is the signal; stdout is the secret. Any probe dispatched with the preflight is written `… get
/dev/null; echo rc=$?`, and a probe line already sent without the redirect is corrected in place and the leak reported to the operator (drill: plan/issues/fleet-restart-2026-09-12.md, macneo can push again; the probe leaked the token).
Landing Queue (order 1316-bnzt) — one serialized landing per pass
The work-ref flow (work_ref_lane, 1315-4a7j; join-the-fleet §3) moves the
trunk race from every push to one landing. The coordinator is the queue's
runner. Once per pass, from a CLEAN tree and never while a gate is running
(the dry run merges on a detached HEAD and restores through a trap):
scripts/land-queue.sh --dry-run # the candidates, in PR-number order, and the tier each would pay
scripts/land-queue.sh --limit 1 # land ONE; the next pass lands the next
Every candidate pays the FULL tier until 765-xpct's selector activates (the
operator approved the light and scoped tiers on 2026-09-20; the selector is
that row's work, not this script's). An empty queue is honest while the
fleet's token cannot open pull requests ("Pull requests: write" is missing
from the fine-grained token as of 2026-09-20 — an operator ask, never routed
through a peer's working token): until then hosts push work/<order> and
send the SHA, and the relay lane (relay-one / relay-many, bundled, one gate
per pass) lands it exactly as the queue would. A fixture arriving through a
Windows salvage snapshot has no exec bit (1321-2ixp); the relay lane fixes the
mode in a fixup commit before the gate, so a test -x red never reaches the
release tier from that path again.
The relay lane's preflight is ONE command (1437-664a, landed):
scripts/relay-preflight.sh work/<a> work/<b> … (merge onto relay/<utc>,
cycle-preflight, the full decider list, cargo fmt --check, touched
fixtures, touched crates' tests, and the SCOPED covering litmus from
litmus-covering-specs.sh --relay-scope origin/linux-next, 1437-yfuh),
printing one verdict line; --plan prints the selection without running
and must be byte-identical across two runs. Running every covering spec is
the --all-covering opt-in, not the default: declared matches and
instant/quick command matches run per relay; long, e2e, non-pre-build and
over-cap specs are named as deferred and run in the daily cut's
check:litmus-pre-build. Canonical:
methodology/multi-host-development.yaml → pull_merge_cadence.relay_preflight.
Rulings 2026-09-27: the per-layer table (work-ref / relay / cut) is
methodology/ci.yaml → integration_layers (1443-b85g); the land tool
itself is being redesigned in Lua by a separate design and
relay-preflight.sh may be superseded by it — do not redesign the land
tool from this skill.
Integration And Runtime Executor
Run this before ending the loop whenever origin/windows-next or origin/osx-next is not an ancestor of origin/linux-next, or whenever the latest integrated code has not yet been exercised by the full runtime litmus.
-
Check Active Async Run: Read
plan/localwork/runtime-litmus/current. If alive, record "validation still running" as a## Cycleentry inplan/loop_status.d/(viatillandsias-plan loop-status-append) and wait. -
Merge Sibling Branches: If clean, attempt a real merge of sibling platform branches in a fresh worktree.
-
Litmus On The MERGED UNION, before anything heavy (order 754-kptj):
scripts/run-litmus-test.sh --phase pre-build --size instant --compact # or, scoped to what the merge actually changed: scripts/run-litmus-test.sh --diff-scope origin/linux-next --compactRecord the
PASS:/FAIL:counts and the pass rate as a line in the cycle handoff, the same way the guard verdicts are recorded.Why this step exists, and why it is here rather than later. Litmus never ran on the merged union until the release path needed it. On 2026-08-15 the coordinator merged both sibling branches, each green on its own
--checkgate (which runs no litmus at all, 748-tkjx), and the UNION failed 9 litmus steps — discovered insidemerge-to-main-and-releaseSTEP 3 while the operator was waiting on a promotion. Each branch was honestly green; nobody had run the thing they became together.Two caveats that must travel with this step, or it will mislead:
--diff-scopefails CLOSED. An unannotated test, an unresolvable base, a clean tree, or a full-run anchor older than 24h each escalate to a FULL run rather than skipping. That is the safe direction, but it means the scoped form is not reliably the cheap form.- A run that actually SKIPPED something blocks
build.shfrom writing a gate stamp. So this pass informs the coordinator; it does not substitute for the release gate below.
-
Heavy Runtime Litmus: Run the full runtime check on the merged code:
./build.sh --ci-full --installtillandsias --debug --inittillandsias --cloud 8007342/tillandsias --opencode --diagnostics --prompt "$LITMUS_PROMPT"
-
Resolve & Push: Commit and push successful merges to
origin/linux-next. On push rejection, fetch, rebase coordination files, and retry up to 3 times.
Loop Status Cache & Reporting
Maintain the loop-status quick-start cache (under 80 lines per entry) as
## Cycle entries: write each entry as a NEW fragment with
tillandsias-plan loop-status-append --host <host> --ts <ISO> --file fragment.md
(< fragment.md and a bare path also work; order 1004-8vkv), and read the
folded view with tillandsias-plan loop-status — NEVER edit the shared
plan/loop_status.md directly, or a concurrent host's status write conflicts
for the same reason the old monolithic ledger did (packet 582-nqw5):
LastExecutionTimein UTC- Brief summary of this loop (including current Convergence Velocity $\mathcal{V}_c$ and active conflict resolution)
- High-Velocity Alignment Event status (Active/Inactive)
- Expected outcomes for the next loop
- Active Assignment Board (Linux, Windows, macOS primary + fallback)
- Stale or pending pings
Validation And Commit
- Validate touched YAML files (
plan.yaml,plan/index.yaml,methodology/**) with a focused parser check. - Commit and push all coordination updates to
origin/linux-nextimmediately before ending the loop.
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.