/roundhouse:fleet-agentsfrom roundhouse
Inventory and reconcile Codex and Claude runtimes, safe settings, plugins, standalone skills, skills-cli provenance, JSM-managed skills, and logical capabilities across machines. Use when agent tooling, Remote Control defaults, models, updates, or skills are missing, duplicated, stale, or inconsistent.
Ships in roundhouse. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Set SKILL_DIR to the absolute directory containing this loaded SKILL.md and
CLI="$SKILL_DIR/../../scripts/roundhouse"; the shell working directory
is not the skill directory. Collect --section agents --section auth when
evaluating capability readiness; provider-only inventory may collect just
agents. Windows tasks must pass -AllowAuthVerify for the combined readiness
check. Compare
runtime versions, plugin name/version/manager, standalone skill hashes and
origins, skills-cli lock metadata, JSM provenance, and configured logical
capabilities. Read "$SKILL_DIR/../../references/agent-settings-and-auth.md"
before auditing agent settings, runtime installation, model policy, or Remote
Control. Treat the same capability delivered as a plugin and a standalone
skill as equivalent only when the config says so; report duplicate providers.
Use manager-native ownership:
npx skills check or npx skills update and retain
.agents/.skill-lock.json provenance.Fleet-wide desired state — plugins with enabled state, MCP servers, skills,
agents, hooks, packages, projects, and harness config keys — lives in the
fleet store, a jj repository whose design is
docs/specs/2026-08-06-dsc-storage-design-v2.md. The store is the source of
truth; every command below reads or writes it and nothing else.
Desired state lives here; root-touching authority lives with the privilege
broker per docs/specs/2026-08-06-unattended-privileged-updates.md. That
seam is unchanged by the storage design and must not change without
cross-checking the sibling spec.
The store is four layers of plain YAML, folded low to high, last wins:
fleet.yaml → os/<platform>.yaml → groups/<group>.yaml (in the host's
own groups: order) → hosts/<name>.yaml. Every tier also accepts a
directory (hosts/vireo/skills.yaml), merged in filename order after the
flat file. definitions.yaml maps an item to its per-manager package name and
is the only place an exception belongs. Everything else in the tree —
applied/, journal/, alerts/, findings/, proposals/, upstreams/,
lineage/ — is evidence a host publishes about itself, never desired
state, and is never hand-edited to change what a machine wants.
Editing is editing a file. Open the layer file, change the value, save. There is no commit step and no "forgot to push":
@ and signs it with this
host's own node key — the one the roster lists by value. There is no CA and
no certificate.main, never
@. The working copy is a workbench, not the reviewed line.yq -e '.'. If
they parse, it describes @ and moves main to it. If they do not, it
refuses to promote, alerts with yq's own message and line, and converges
from the last good main. A broken file never becomes the reviewed line.applied/<host>.yaml → journal/<host>/<date>.yaml →
describe → move main → push → land @ on the pushed commit.A host with no override for that item is a no-op for it. That is the layering working, not a propagation failure.
Report drift rather than reverting it: for a config_files key marked
managed, the run reports the value on disk and changes nothing. Keys
marked unmanaged are not compared, not reported, and not read.
Two scheduled jobs per host run them, installed by
roundhouse fleet-schedule install (see roundhouse:fleet-update):
| Command | Default | Does | |
|---|---|---|---|
| Fast | roundhouse fleet-run --fast | 20 min ± 5 jitter | poll floor (with the plugin upstream probe), fetch, reconcile, promote gate, refresh of moved plugin marketplaces, review → apply → journal, publish, peer nudge |
| Full | roundhouse fleet-run --full | 12 h ± 90 min jitter | everything fast does, plus a refresh of every plugin marketplace, re-seed, promotion proposals, unpinned package updates, and fleet-doctor |
The poll floor is one incremental fetch into a private ref and a tree
compare: a fast run exits early when the desired-state paths at the fetched
remote head (fleet.yaml, definitions.yaml, definitions/, fleet/, os/,
groups/, hosts/, trust/) match those of the reference this host last
converged from, the fetched head descends from what it converged on, and it
has nothing to push, a clean @, no heartbeat owed, no item waiting on canary
evidence, no retry owed (a failed apply, an unreadable identity, or a
fleet-review verdict not yet acted on), and no plugin marketplace whose
upstream moved. Peers' record commits (journal,
alerts, applied/) no longer force a full pass; the floor's fetch does not
move main@origin, so the next full pass still signature-gates everything
that arrived. Jitter is seeded from the host
name, never the clock, so the offsets are stable and the fleet does not
re-synchronise on the same minute. The push nudge is an opportunistic
accelerator only — it carries no data, says "go look", and the peer then runs
its ordinary fast path with every gate. It is sent only when the publish
changed desired state — never for a records-only one. Turn it off with push_nudge: false
and the fleet still converges at poll speed; nothing depends on it.
Triggers. The nudge sends the peer roundhouse fleet-trigger --fast over
SSH and returns; the pass never runs inside that channel. Every trigger does
the same three things: touch the dirty stamp (store.run/dirty-stamp), start
the scheduled job (launchctl kickstart gui/$UID/com.novotnyllc.roundhouse.fleet-fast
on macOS, systemctl --user start --no-block roundhouse-fleet-fast.service on
Linux), and return. Only when the job is known installed and enabled but its
scheduler cannot be reached (a Mac over SSH with nobody at the console, whose
job was last seen loaded; a Linux user manager that does not linger) does it
start a detached nohup roundhouse fleet-run --fast instead. A job the
operator disabled or unloaded, a host with no job, or one taken off the
schedule with fleet-schedule uninstall is stamped and nothing is started.
On macOS the disabled flag cannot be read without a console session, so a raw
launchctl disable/bootout is honoured over SSH only once a pass has seen
it; fleet-schedule uninstall is the supported hard stop. A host still on the
legacy single-plist job reports no fleet-fast job to fleet-trigger (nudges
only stamp there) until fleet-schedule install runs on it.
A pass that finds the stamp moved since it began
converges again in-process before it releases the lock (at most three extra
passes), so a trigger that lands mid-pass is never lost. One that lands after
the last comparison but before the lock is released — when a systemd start
of the still-active oneshot queues nothing — is caught by one more comparison
once the lock is free: the run takes the lock back in-process (non-blocking)
and converges again, at most twice — never a detached pass, which the
scheduler would kill with the job's process group. If another run holds the
lock by then, that run sees the stamp. One that lands after even that last
comparison, while the job is still exiting, is the trigger's to catch: while
its job runs with no lock held, the trigger returns at once and leaves a
detached waiter that starts the job when it ends or a run takes the lock (at
most thirty seconds), and only if the operator has not stopped the job in the
meantime. A signal (SIGTERM from the scheduler,
SIGINT to the group) ends the run after the pass it interrupts, releases the
lock and starts nothing further; a pass that is cut short still records the
items it already applied.
roundhouse fleet-trigger [--fast|--full] # stamp, kick the scheduled job, return
roundhouse fleet-schedule install # write and load this host's two jobs (idempotent)
roundhouse fleet-schedule status # installed / enabled / loaded, and whether the definition matches
roundhouse fleet-schedule uninstall # unload and remove them
install and uninstall change this host, so each rides the sealed-plan
pipeline (as launcher-install does): the collector observes the jobs, the
plan names the exact files and launchctl/systemctl --user commands with
the observed definition hashes and job states as its precondition,
apply-plan rechecks that precondition immediately before mutating, and
status verifies the result. status itself is read-only and unsealed. See
roundhouse:fleet-update for the steps.
fleet-schedule install is the only path that enables a job. A pass checks its
own jobs every time and never re-enables, loads or rewrites one: a job the
operator disabled raises a schedule-disabled alert, and a job that went
missing on a host that is scheduled raises schedule-missing, and a job whose
definition is no longer what install writes now — the cadence policy changed
since the install, or the file was edited by hand — raises schedule-drift,
each one keyed alert for as long as it lasts, cleared by the check itself once
it ends.
Externally scheduled hosts. A host with no launchd or systemd user
manager (a container whose PID 1 is tini, a box that pauses when idle) sets
"scheduler": "external" on its own transport: "local" entry in
config.json; the default is "native". Its passes are started by something
outside roundhouse running roundhouse fleet-run --fast and
roundhouse fleet-run --full. fleet-schedule install and status then
install and read nothing and say the host is externally scheduled
(uninstall still removes jobs the host had before), the pass's own check
raises no schedule alert there and clears any it left, and fleet-doctor
and fleet-readiness report an ok schedule row saying so.
Heartbeats. Every pass records a host-local heartbeat
(store.run/alive). The outcome: alive journal record is published at most
every heartbeat_publish_hours (default 6), and always after a pass that applied
or satisfied an item, and at a canary's evidence deadline
(applied_at + canary_wait_hours), so the canary gate never waits on a
throttled record. Every pass keeps one keyed stale-host alert per other
enrolled host that has published no heartbeat within liveness_alert_hours
(default 12, never less than twice heartbeat_publish_hours), naming its last
published heartbeat, and clears it when the peer is heard from again. Both keys are ordinary store policy;
0 turns the throttle or the alert off.
A host file may set the same liveness_alert_hours key in
hosts/<name>.yaml as a per-host override of that store policy. The value is
a positive integer (a host fact, not a category). Omitted or a non-positive
or non-integer value keeps the policy, and hosts that do not set it are
unchanged. Peers read that host's window from the signed store when they
check it, so one reviewed edit covers the fleet: an externally scheduled
host whose routine is weekday-only can cover the weekend gap without
widening the window for everyone else.
Plugins are always current, from every marketplace, in both harnesses,
and never wait on the canary (plugins.* and definitions.plugins.* skip
the gate; review, holds, the identity proof and the removal cap still apply).
The fast pass's poll floor asks each plugin marketplace's upstream for its
head with a read-only, bounded git ls-remote (in parallel; an unreachable
one reads as unmoved), against the head this host last refreshed it at
(store.run/plugin-currency/). A moved marketplace, or every marketplace on
the full pass, is handled BEFORE the item loop:
claude plugin update. It never installs, enables or
removes one. Directory and URL sources have no head to ask and refresh on
the full pass only.codex-plugin-hooks.mjs sync, an app server held open until each
moved marketplace records the probed head and its enabled installed plugins
are reinstalled at that revision's catalog identity, at most 30s) and
remembers the head only once Codex reached both. A Claude marketplace's
head is remembered only once every update from it converged. Per-plugin holds were never enforceable on
the Codex side and are not attempted.modified one is re-trusted at its new hash only when, inside the one
app server session that writes the trust, the copy is still at the
expected SHA, its tree is byte-identical to Claude's verified install, and
every hook hash is unchanged since it was listed. Hooks of third-party
Codex plugins that change upstream stay untrusted until the operator
approves them (roundhouse approve-codex-plugin-hooks PLUGIN@MARKETPLACE),
as Codex itself leaves them.The canary gate (§10.1) times its wait from the first record of the canary's
latest clean run of applied/satisfied evidence — the records after
its newest held or reverted for the item — so one transient hold no longer
voids the evidence for good, and a later withdrawal still withdraws it.
An unpinned package is kept current by the full pass — that is what anyone
gets by doing nothing. A version: key in definitions.yaml opts one
package out, and the full pass skips it rather than quietly undoing the pin.
The scheduled run reviews and applies on its own. These verbs are for a human
or an agent driving one item deliberately. Every one of them writes into the
working copy and stops — no describe, no bookmark move, no push. The next
run publishes what they wrote through the ordinary gates, which is what keeps
the supervised surface from being a second, unreviewed path onto main.
roundhouse fleet-explain [HOST] ITEM # provenance: every layer's opinion, and which wins
roundhouse fleet-review ITEM pass|hold REASON
roundhouse fleet-apply ITEM # refuses without a passing review at the current digest
roundhouse fleet-pending # every open alert, from every host
roundhouse fleet-hold ITEM REASON # the fleet-visible refusal
roundhouse fleet-accept SLUG # accept a promotion proposal
roundhouse fleet-finding SLUG SUMMARY [QUOTE]
roundhouse fleet-journal ENTRY.json|-
roundhouse fleet-lock / fleet-unlock # the run-lock, by hand
Two rules make this surface safe, and neither is a formality:
fleet-review ITEM hold REASON stops this
host converging that exact value, and the scheduled run honours it ahead of
every other gate. Edit the item and the hold does not carry over — the new
value has never been reviewed by anyone. A stale pass fails exactly like an
absent one, so fleet-apply cannot ride yesterday's approval.fleet-review ITEM hold is a
local decision; fleet-hold ITEM REASON writes the alert every host sees.
They are two verbs so that a local refusal does not shout at the fleet.Verdicts are host-local (store.run/verdicts/) and never replicated: a
fleet-writable verdict would put a consent-shaped artifact on a shared surface.
Alerts have no state machine — resolving one is rm on the file. An alert is
keyed, not stamped: one file per key at alerts/<host>/<kind>--<key>.yaml,
where the key is the alert's items joined by commas, or its slug when it names
no item; <kind>.yaml when that slug is the kind itself. Both parts are
URI-encoded, so an item such as config_files.~/.claude/settings.json stays one
path component (config_files.~%2F.claude%2Fsettings.json). For a
condition alert, at is when it was first seen: a condition that is
still true on the next pass rewrites nothing, and a change in what the alert
says rewrites it with the same at. An event alert takes at from its
latest occurrence: each raise rewrites it, so it ages from the last time
it happened.
How an alert ENDS depends on its kind, and what it is keyed by on its scope,
from one table (fleet_alert_lifecycle_rows in lib/fleet-alerts.sh):
| Lifecycle | Scope | Kinds | Ends |
|---|---|---|---|
| condition | store | removal-cap, integrity-store-wide, materialization, rollback, layer-parse, unknown-category, unknown-store-dir, ssh-render, inventory-timeout, stale-host (per silent peer), schedule-disabled, schedule-missing and schedule-drift (per job) | the check sets or clears it every pass it runs (fleet_alert_set); never ages |
| condition | item | integrity, config-key-collision, chezmoi-coownership, package-hold, enabled-but-untrusted, record-write, identity-unavailable, uninstall-deferred, package-deferred, runtime-hold, node-runtime-unverified | the end-of-pass sweep (fleet_alert_sweep) clears it when the pass checked the item and did not raise it, or when the item has left the fold; an item the pass skipped (held, waiting on its canary) keeps it; never ages |
| event | store or item | lock-takeover, canary-override, conflict, hold, store-moved, remote-posture, bootstrap-seed, join-unverified, roster-change, and any kind not listed | ages out by its latest at after the evidence retention window |
stale-host clears when the peer publishes a heartbeat again, or leaves the
roster or the enrolled hosts; schedule-disabled and schedule-missing clear
when the job is re-enabled or reinstalled, and schedule-drift when the job is
reinstalled or the policy changed back; all three clear when the host is taken
off the schedule with fleet-schedule uninstall. A pass that cannot fold the
store's policy leaves schedule-drift as it stands.
inventory-timeout is raised by the full pass's seed, one per manager
(inventory-timeout--packages-homebrew.yaml, --agents-jsm, …), when the
collector had to stop that manager's query: every package and agent manager
query is bounded (about a minute for a listing, longer only for a real
install), and one that hangs makes that manager's inventory unknown for the
pass instead of stalling it. The next pass whose query answers clears it.
rm on the file still resolves any alert by hand; a condition alert that is
removed while its condition holds is raised again on the next pass.
Three verbs that publish rather than stopping at the working copy, because
their whole effect is on replicated records. Each takes the run lock, refuses
while main is diverged or while the working copy carries anything other than
this host's own records, and commits through the same publish path the run
uses (first-push gate, redaction sweep, conflict guards).
roundhouse fleet-compact-alerts # one-time: this host's stamped alerts -> one keyed file per alert
roundhouse fleet-age-evidence [--dry-run]
# trim this host's evidence past retention, now
roundhouse fleet-disown [--dry-run] [--host-only] [ITEM...]
# stop managing items without uninstalling them
fleet-compact-alerts collapses the stamped alert files an older build wrote
(alerts/<this host>/<stamp>-<slug>.yaml) to the keyed form, keeping the latest
record per key. Run it once on each host after that host has this build:
it touches only its own host's directory (a host may not write another's
alerts/), leaves any file it cannot parse where it is, reads in batches (it is
built for tens of thousands of files), and is idempotent — a second run finds
nothing to do.
fleet-age-evidence runs the full pass's evidence aging by hand, and
--dry-run prints what it would trim without changing anything. Aging covers
this host's own journal/, alerts/ and findings/ only. Journal records age
one by one, by their own at, past evidence_retention_days (default 90,
floor 7). A day file is rewritten with what remains, or removed when nothing
does. A record something still reads is never aged:
applied and satisfied record per (item, digest),
which carry canary evidence, rule-5 times and the revert signature;held or reverted record newer than the item's oldest evidence;alive record, and the newest record of any kind;--now overrides from the last 30 days (fleet_journal_override_window_days), which doctor counts.Run fleet-age-evidence --dry-run before the first full pass on a new build:
that pass trims every record past retention that nothing reads.
fleet-disown removes items from applied/<this host>.yaml without
uninstalling them and journals each one disowned — not reverted, because
nothing was withdrawn, and outside the removal cap, because nothing is removed.
The item becomes unmanaged: neither removed nor spread. --host-only selects
every owned item that only this host's own layer asks for — owned, and absent
from the fold of fleet.yaml, os/, groups/ and definitions — which is
the set a retired host-layer machine snapshot leaves behind; disown them
before deleting that layer, or the next run reads each one as a removal.
--dry-run prints the selection and changes nothing. A named item this host
does not own is refused, and one still in the layers is disowned but reported,
because the next run adopts it again.
fleet-finding and fleet-hold pass every replicated field through the
redaction floor, and a field that trips it is refused rather than silently
redacted: the remedy for a published secret cannot un-publish it.
The full pass re-seeds (upsert, never remove) and looks for items whose value
is identical in every enrolled host file. Unanimity is the bar: a 3-of-5
majority is normal curation for this fleet, not drift, and produces no proposal
and no alert. A unanimous item becomes a proposals/<slug>.yaml suggesting the
move up a layer. Ignoring a proposal does nothing. fleet-accept SLUG makes
the two ordinary edits for you — write the value at the target layer, drop it
from each host file that carried it — and the item's digest is unchanged by
construction, so no host re-reviews anything. Promotion moves where a value
is written, never what it is.
Neither re-seeding nor promotion writes the agent keys. Seeding skips plugins
and skills (packages, platform and groups seed as before, and
package_managers refreshes from the host's own config.json), and promotion
never proposes a plugins.* or skills.* item: a machine snapshot in the
narrowest layer re-added every retired plugin and overrode every change made
anywhere else. Agent items are edited in the layer
that declares them.
Two hosts editing different layer files is not a conflict; jj merges them. A real conflict is two hosts changing the same value, and the posture is:
outcome: resolved record, and re-reviewed by every host like any other
change. Do not hand-resolve by picking a side in the file and pushing; edit
the value you actually want and let it flow through the gates.Held items are journaled as held. Nothing is ever applied because it was
confusing. An item this design has no state-alignment verb for — an
agents, mcp_servers or projects entry, a package desired disabled —
journals satisfied instead: it resolved, it was reviewed, and there was
nothing to do here or on any other host. That is a distinct record from held
so an audit can tell no-op-because-correct from no-op-because-blocked, and it is
the one non-applied outcome the canary gate accepts as evidence — gating peers
on an applied record that can never be written would hold the item forever and
buy nothing. An item a host tried and could not apply, or that a gate
refused, still journals held and still blocks downstream.
A Claude plugin whose desired state is absent — the scalar or
{state: absent} — is a tombstone, and the run uninstalls it with
claude plugin uninstall --scope user --keep-data NAME@MARKETPLACE, verifies it is gone from
installed_plugins.json, forgets any applied/ record, and journals applied.
Where it is not installed it journals satisfied once and then stays quiet. An
uninstall that would remove something counts toward the removal cap like any
other removal. An enabled plugin is not pulled out from under a live
session: while a claude process runs the uninstall journals held for up to
24 hours from this host's first deferral, then proceeds; a disabled plugin goes
immediately. absent for any other category is still held.
roundhouse fleet-rollback ITEM [--now]
Rollback is not a special path. It creates a signed revert commit on
main that flows through the same review, canary and apply gates as any other
change — which is why it can be trusted: there is no privileged undo code path
that has never been exercised. The revert rolls back the layers only;
journal/, applied/, alerts/ and the other evidence directories are
restored, because reversing them would delete evidence peers have already seen
and make the host disown what it installed.
--now is the only canary bypass in the design, and it is bound rather than
being a flag that turns a gate off: two independent checks about history
must both pass, both before the bookmark moves, and the override is signed,
journaled and alerted so fleet-doctor counts it. A bypass nobody counts is a
bypass that becomes routine.
Rollback is honest per category: reverting a projects entry stops managing
the project, it does not restore repository state; mcp_servers and hooks
are reversible for configuration only — removing one stops it firing, it
does not undo what it already did. Reverting runtimes.node switches the fnm
default back the same way it moved forward, when that switch succeeds: the
older version is still installed (none is ever removed), and every installed
global is carried to it at its current version. If the switch holds (an
unpinnable global, an undeclared required hook, or a global inventory whose
detail is unknown), the runtime stays where it is until that is resolved.
The store carries trust/signers.yaml, a plain hand-editable list of which
machine key may write. A change to that file counts only if it is signed by a
key the file already trusted one commit earlier, so membership can only ever
be extended by a current member, and the chain traces back to a genesis commit
whose id every host pins. There is no CA, no certificate, no authority key,
and nothing anyone has to keep safe beyond the ordinary per-machine key each
host already holds.
Reading the roster at the current head would be circular — the file being verified supplies the keys that verify it — so an attacker who lands one commit replacing the whole roster with their own key would write something self-consistent that passes. Evaluating at the parents is not circular. That single ordering rule is the load-bearing part.
Two membership classes, and the class is the security boundary, not the TTL:
durable | ephemeral (leaf) | |
|---|---|---|
Fleet-shared layers, definitions.yaml, lineage/, proposals/, checkpoints/ | write | refused |
Own host-keyed paths (journal/<self>/, applied/<self>.yaml, alerts/<self>/, findings/<self>/) | write | write |
| Another member's host-keyed paths | refused | refused |
trust/signers.yaml — i.e. sponsoring | write | refused |
Leaves may not sponsor, and that is the whole anti-explosion rule: a
40-container burst produces 40 leaves, all one hop under one durable sponsor, so
every lineage question is a yq select and never a graph walk.
sponsor: and enrolled_by: are cleanup metadata and nothing else. No
verification path reads them, and a sponsor's departure cannot invalidate its
leaves — auto-invalidating them would turn one machine's removal into a
fleet-wide outage.
fleet-init and fleet-enroll are two commands on purpose: init leaves the
repository with no [signing] block at all, and enroll adds it only once the
key that satisfies it exists. A repo configured to sign with a key that is not
there does not merely fail to sign — jj git init --colocate dies and the repo
is never created.
fleet-enroll is keygen plus roster registration: no certificate request, no
authority to contact, no sudo, no ceremony.
Host 1 — the host that creates the store:
gh repo create <owner>/fleet-store --private # the hub is transport, not authority
roundhouse fleet-init # jj git init --colocate, repo config, scaffold
# NO [signing] yet, and NO store id yet
roundhouse fleet-enroll # mint the node key, user.email = its principal,
# write [signing], then write trust/signers.yaml
# listing that key and commit it SELF-SIGNED.
# THAT COMMIT IS THE GENESIS, and it REPORTS the
# store id — which does not exist before it.
roundhouse fleet-set-remote <url> # adds origin. fleet-init creates the store
# but no remote, so this is the step that gives
# the store one — it MOVES an existing remote and
# ADDS a missing one.
roundhouse fleet-verify-remote # REQUIRED before the first push
roundhouse fleet-seed # discovery -> hosts/<name>.yaml + applied/<name>.yaml,
# packages plus this machine's platform and groups
# from config.json — never plugins or skills
$EDITOR fleet.yaml # lift the commonalities
roundhouse fleet-doctor # every check must pass before host 2
roundhouse fleet-run --fast # the first convergence
The ordering is not stylistic: [signing] must follow key existence, and the
genesis commit id cannot be reported before the roster commit that is the
genesis. So fleet-init cannot be the step that names store_id.
Hosts 2..N — one instruction, on a machine you already have:
roundhouse fleet-add wren
That is the whole bootstrap. wren is the roster identity — the config
machine name every host-keyed path and every signature is checked against — and
the transport is resolved separately from that machine's configured
ssh_alias, so a machine reachable as claires-mac-mini is still mac-mini in
the roster and needs no hand-added SSH Host block. The agent reaches it over
the existing SSH lane the fleet already uses to run commands there, resolves
roundhouse on the far side (a launcher on PATH if there is one, otherwise the
plugin cache under ~/.claude or ~/.codex — no shim to install), installs
prerequisites, runs fleet-init, has wren mint a key, reads the key and a
roundhouse-enroll possession proof back over the same channel, hands wren the
remote URL and store_id over that channel, commits the roster line, and pushes.
Nothing is run on any other host, and no human touches any other host.
Before it records anything, fleet-add settles §10.6 for the store remote: if
the remote answers unauthenticated reads it refuses and records nothing — no
roster edit, no alert, no identity written on the newcomer. Once the roster line
is published it has the newcomer run its own visibility probe over the same
channel. Posture is host-local and keyed on the URL that host resolves, so the
probe runs there rather than being copied from the sponsor.
fleet-add bootstraps the durable store for the newcomer. On a genuinely
fresh host it validates the identity, resolves the far-side CLI, runs the
remote fleet-init/fleet-enroll bootstrap, and clones with
jj git clone --colocate <remote> ~/.config/roundhouse/store; after the
sponsor's roster commit is published, the host fetches that exact enrollment
ancestry, advances main, creates its working-copy child, and runs
fleet-seed. The sponsor also seeds hosts/<name>.yaml from config.json, so
there is no manual clone or hand-authored host-facts step.
If identity validation, CLI resolution, or the initial clone/bootstrap fails,
fleet-add exits before recording the roster line: fix the host-side cause and
rerun it, backing up stale identity material rather than deleting it. If the
roster commit is already published but the host cannot fetch the enrollment
head or seed, fleet-add exits nonzero, writes a bootstrap-seed alert, and
prints the recovery path — verify the remote, fetch the published head, then
rerun fleet-seed. Do not manually clone a second store, move main, or
force an abandoned reviewed ref. For a host that already carries a same-genesis
store, a re-add reuses it only after exact identity checks and still requires
the fetched enrollment ancestry before seeding.
Enrollment is two-sided and needs no bearer credential: an enrolled host supplies authorization (its roster key makes the commit ratchet-valid) and the channel supplies identity binding (the key was generated on, and read back from, a machine that host could reach at the name the instruction gave). Neither side alone enrols. The channel introduces no new trust assumption — the fleet already grants SSH-to-a-named-host full code execution.
roundhouse fleet-join REMOTE is the fallback when the instruction lands on the
newcomer instead. It clones the private store with the owner's gh credential,
checks genesis == store_id, mints a key and writes joins/<host>.yaml. That
commit signs as unknown, and that is correct — the newcomer is not trusted
yet. An enrolled host then SSHes to the address, confirms the same pubkey is on
that machine, and commits the roster line. joins/ is inert by construction:
never applied, only read as a hint. The hub is the outer boundary and never the
authorization — if hub-push alone could enrol, one stolen token would escalate
from noisy nuisance to total compromise.
roundhouse fleet-add --ephemeral --job JOB --ttl HOURS NAME enrols a leaf. A
sandbox is not discovered over a channel, it is instantiated by its sponsor,
which is why channel_auth: runtime is the strongest binding in the system:
there is no first-contact window to MITM.
store_id is data, not a human step. It is the genesis commit id —
unforgeable rather than merely secret, because knowing it does not let anyone
produce a store with that genesis. It is an output of setup, reported upward to
the orchestrator or into the session transcript, and from then on it travels down
the instruction chain or is read back over the enrollment channel. A human
pasting it is one of several ways that datum can travel, never a required one.
Soak, by class. A durable enrollment waits 24 h before its fleet-layer
writes land — 72 h when the channel was tofu (genuine first contact, where
the host key was unknown). A leaf waits none, because a class that cannot
write fleet layers has nothing to delay. Evidence paths are live immediately, so
a newcomer converges, applies and reports at once; it just cannot change fleet
policy on its first day. Every roster change alerts on every host and leads the
recap, and leaf enrollments are audit-only — paging on 40 a day trains you to
ignore the one that matters.
fleet-verify-remote is not optional and not a formality: the first push
refuses without it, by design. It probes the remote with every credential path
closed and takes a three-way verdict — only an authentication refusal proves
the remote is gated. A remote that answers unauthenticated reads is public and is
refused; an unreachable remote is inconclusive and never
satisfies the gate, because a failed probe is not evidence of privacy. Host 1
runs it by hand, in the runbook order above; hosts 2..N have fleet-add run it
for them over the enrollment channel.
roundhouse fleet-set-remote URL moves the store to a new remote. It writes the
move alert before the push so a crash between the two still leaves the store
carrying the record of how it got where it went, rolls that alert back if the
push fails so origin is never left claiming a move that did not happen, and
invalidates the visibility posture afterwards so the next push must re-verify.
roundhouse fleet-remove wren # retire; --burn adds the KRL lever
roundhouse fleet-renew NAME [HOURS] # same key, fresh window
roundhouse fleet-reparent # adopt orphaned leaves
roundhouse fleet-reconstitute HOST # new hardware, new key, one commit
Revocation lives in the chain, and position in history decides validity.
fleet-remove wren moves wren's block to retired: with revoked_at_commit,
retires the leaves wren sponsored in the same commit, deletes hosts/wren.yaml
and appends the lineage/ record. It propagates through the ordinary store path
within one fast interval, on every host, with no per-host step and no
checklist. Then:
unknown → held.Expiry, retirement and suspension are the same rule: freeze at position in
history. A stopped container is not a security event — its window lapses,
every commit it already made stays good, and restarting it is one field
(fleet-renew) or one block (fleet-add --ephemeral with the same key).
Identity continuity is free because the key never changed.
The KRL is the emergency lever, not the default. It is retroactive and
total: adding a key to it flips every commit that key ever made to bad and
holds every item resolved from every file those commits touched. On a fleet where
any durable host may edit any shared layer, revoking one machine that way is a
self-inflicted fleet outage that only a full re-commit of every layer file
clears. Use it only when the instruction is genuinely "burn its history too" —
fleet-remove HOST --burn prints the out-of-band procedure and does not run it.
The in-band lever bites first and bites everywhere; the KRL is the deliberate
second one.
The two trust-mutating delegated verbs accept an optional one-use receipt:
roundhouse fleet-remove HOST --burn --authority-receipt receipt_<32 lowercase hex>
roundhouse fleet-reroot --authority-receipt receipt_<32 lowercase hex>
The receipt is a JSON file at the host-local, owner-only
<instance-root>/authority-receipts/<receipt-id>.json. Its v1 contract is:
{
"schema": "roundhouse/authority-receipt/v1",
"receiptId": "receipt_<32 lowercase hex>",
"authorityId": "bounded opaque id",
"action": {"checkpoint": "<selected checkpoint commit>", "command": "fleet-reroot"},
"actionDigest": "sha256:<64 lowercase hex>",
"objectiveDigest": "sha256:<64 lowercase hex>",
"instructionDigest": "sha256:<64 lowercase hex>",
"issuedAt": "UTC ISO-8601 instant",
"expiresAt": "UTC ISO-8601 instant",
"source": "explicit_user_instruction"
}
For fleet-remove --burn, action is exactly
{"burn":true,"command":"fleet-remove","target":"HOST"}. Roundhouse
canonicalizes that object as compact sorted-key JSON, verifies the digest,
checks the exact command/target, timestamps, schema, owner-only non-symlink
file and fixed receipt reference, then atomically consumes the file before
the roster or archive operation. A supplied invalid or replayed receipt
refuses; no receipt preserves the existing deliberate, instruction-driven
behavior, with owner confirmation expected in the invoking session. --burn
still prints the burn procedure rather than executing it. The receipt verifier
does not claim to authenticate the originating user turn or the attestor:
Railyard owns that minting boundary.
Railyard follow-up: its trusted in-process user-turn-attestor must mint and
bind the exact Roundhouse action/objective/instruction digests, write the
owner-only artifact, and return only the opaque receipt ID. Raw JSON, an
environment variable, or a caller Boolean must not mint one. Its tests should
cover expiry, action/target drift, tampering, replay, and public-CLI forgery;
cross-host use needs a signed/MACed artifact and trust anchor rather than a
cooperative private file.
roundhouse fleet-checkpoint # signed roster+state snapshot, tagged
roundhouse fleet-reroot # MANDATORY archive ref, then a new root
A checkpoint is an ordinary commit containing one record, ratchet-valid like
anything else — signed by a durable member, verified against the roster at its
parent. No new trust rule, no new signature type, no quorum. It is tagged,
because jj's default immutable set is trunk() | tags() | untracked_remote_bookmarks(),
so a tag makes the commit and all its ancestors immutable for free. A
bookmark does not do this.
The archive ref is part of the protocol, not hygiene. A re-root is
byte-for-byte indistinguishable from a rollback attack except by the archive: a
host offline across one finds its monotonic reviewed-ref is not an ancestor of
the new root, which the rollback rule says to treat as an attack, hold and alert.
That behaviour is correct and is not softened. fleet-reroot refuses to proceed
if local main has advanced beyond the selected checkpoint or if the archive
ref does not publish. Take another checkpoint first; a sibling-diverged local
line and jj's empty working-copy child are the supported recovery shape.
Three things would grow forever and each gets its own lever: expired leaf
entries are pruned on the existing 12 h full pass; evidence (journal/,
alerts/, findings/) ages out on a retention window on the same pass; history
is bounded by checkpoint + re-root, which stays deliberate and instruction-driven
because it rewrites what every clone starts from. Evidence retention is
deliberately decoupled from trust checkpointing — a canary window is hours, a
trust checkpoint is months.
Stated plainly, because a trust model that hides its floor is worse than one that names it. Authority reduces to two things: custody of the owner's GitHub account, and the integrity of whatever session was told to do the work. Everything else is blast-radius engineering on top of those two.
channel_auth, given the 72 h soak, and made loud.hold, and a
held item is an unavailable item. A leaf's write to a fleet-shared layer is
refused at verification on every host — but the refused commit still exists in
the history every host fetches, so it degrades what it touched until a durable
member supersedes the file. The hold is narrowed to only the items whose
values that commit actually changed, so a leaf can no longer freeze a file by
brushing against it. This design buys integrity and attribution, not
availability.roundhouse fleet-adopt-pin PLUGIN PIN.json gates roundhouse updating
itself separately from ordinary convergence, because the code that decides
whether an update is safe is the code being updated. Every other plugin rides
the ordinary review, canary and apply gates; a second gate in front of them
would be a second policy to keep in step with the first.
Before a fleet-wide operation, run roundhouse fleet-readiness [HOST]...; it reports per-host jj/yq, roundhouse PATH, SSH-name resolution, and verified-private remote rows. Chezmoi is not a prerequisite.
roundhouse fleet-doctor runs at the end of every full pass and on demand.
Its rows are advisory — a failing row reports, it does not abort a convergence
that already happened. One row compares the overlapping facts between
config.json's machine entry and hosts/<name>.yaml: platform and groups
only. config.json stays hand-edited and host-local for the privilege lane;
hosts/<name>.yaml is the desired-state representation. Unifying them is a
separate project, not a doctor row.
The item-type reference below describes what the harnesses themselves can do, not what any store commands.
Aligning enabled/disabled state uses manager-native commands where they
exist and reviewed config edits where they do not. The verbs below
are verified against claude 2.1.222 / codex-cli 0.146.0 by reading each
harness's own plugin --help: Claude has enable and disable
subcommands, Codex's plugin command has only add, list, marketplace,
and remove — no state verbs at all, so Codex plugin state is a config
edit. Re-check plugin --help when a harness version moves; a verb that
disappeared must fall back to the config-edit path, never be guessed at.
| Item type | Claude | Codex |
|---|---|---|
| Plugins | claude plugin enable|disable PLUGIN@MARKETPLACE --scope user (verbs exist) | no enable/disable verb — state is the [plugins."PLUGIN@MARKETPLACE"] enabled key in ~/.codex/config.toml, edited under review |
| Standalone skills | no enable/disable verb — presence only; state is a reviewed config edit | no enable/disable verb — presence only; state is a reviewed config edit |
| Hooks | no verb; enablement is a reviewed config edit | no verb; enablement is the hooks.state."HOOK-KEY".enabled config surface — the sibling trusted_hash leaf is host-local trust and is never synced |
| MCP servers | reviewed config edit | reviewed config edit |
Presence for manager-installed items is always the manager's own install/remove command; only state falls back to config edits.
Codex-side freshness (verified against codex-rs commit 728e25cb, 2026-08-04):
Codex auto-upgrades source_type = "git" marketplaces at startup, but never
runs git fetch/pull against source_type = "local" marketplaces — for a
local-checkout marketplace, whoever refreshes it owns pulling that checkout
current; Codex will not. Observed against codex-cli 0.160.0 (2026-10-02, an
isolated CODEX_HOME): starting an app server — initialize alone — fetches
each Git marketplace in the background and reinstalls the installed plugins
at the new revision, with no completion notification, and is cut off if the
server closes first; codex plugin marketplace upgrade does the same
reinstall; the CLI codex plugin list does neither. There is no catalog-only
refresh: whenever Codex starts, installed copies follow the marketplace. That
is why codex-plugin-hooks.mjs update refuses (exit non-zero, nothing
written) when Codex advances the copy under its own trust snapshot rather
than report trust it did not carry. The 3h remote-catalog TTL is
catalog-metadata-only, and nothing gives local marketplaces any freshness
guarantee.
An explicit request to update or refresh one named marketplace plugin is
mutation authorization for that marketplace's already-installed plugins on the
requested hosts and applicable harnesses. A marketplace upgrade and its plugin
updates are one operation: after refreshing the catalog, update every installed
plugin owned by that marketplace, not only the plugin that prompted the refresh.
Do not install other catalog entries that were not already installed. Do not require a
fleet-wide inventory/readiness matrix or a sealed-plan round trip for this
routine path. Resolve every target
from ROUNDHOUSE_CONFIG, falling back to
${XDG_CONFIG_HOME:-$HOME/.config}/roundhouse/config.json, and use each
target's configured local, ssh, or codex-remote-control transport. Never
guess an SSH alias or substitute WSL for native Windows.
Before changing a target, capture a bounded agents inventory and freeze a
de-duplicated set of every installed plugin owned by the marketplace. Treat the
two harnesses independently and refresh each available, applicable runtime.
For Claude, compare the marketplace entry's resolved source SHA with the
installed plugin's gitCommitSha as well as its version: the same version with
new bytes is stale and must reinstall, while matching version and SHA is a
no-op. A catalog entry that states no version is compared by SHA alone. A
relative-source entry ("source": "./plugin", as impeccable, last30days and
most of claude-plugins-official publish) has no SHA of its own: its identity
is the marketplace checkout's commit (git HEAD, or the .gcs-sha marker of
an archive download), and an installed copy whose bytes are identical to the
checkout's keeps its recorded SHA, so a marketplace commit that did not touch
the plugin does not demand an update.
The scheduled run applies the same comparison, after refreshing the
marketplace first (see Plugins are always current above). When it cannot
prove an installed plugin's identity — no catalog entry, or an entry with no
SHA — it first repairs the marketplace, once per marketplace per pass, and asks again;
only then does the plugin hold, as
installed marketplace identity unavailable (REASON). An unregistered
marketplace is registered from its extraKnownMarketplaces declaration. A
registered one is refreshed (claude plugin marketplace update) from its own
registered source and is never re-added: every claude plugin marketplace add
declares the marketplace in some settings scope (--scope user|project|local,
and no flag only registers), so a re-add would write a declaration this host
never made. A registered source that differs from the declared one is a
same-name repoint and holds without a refresh.
For local execution set TARGET_CLI="$CLI" and verify the loaded executor. For
SSH, use the configured alias and target login shell ($SHELL -lc), resolve the
target's installed Roundhouse version from its active Codex plugin
record, and set TARGET_CLI to that target cache's
roundhouse/VERSION/scripts/roundhouse; never send or interpolate
the controller's SKILL_DIR or CLI. Require "$TARGET_CLI" verify-executor
to pass before using it.
Codex follows its own startup sync. Every Codex app server start fetches
Codex's Git marketplaces and reinstalls the plugins installed from them, so
there is no catalog-only refresh and no per-plugin hold on the Codex side.
Do not run codex plugin marketplace upgrade followed by
update-codex-plugin: the upgrade has already reinstalled the plugins, so the
helper's trust snapshot sees their changed hooks as modified, and
update-codex-plugin now refuses (exit non-zero, nothing written) rather
than report trust it did not carry. To bring a host's Codex plugins current,
trigger Codex's own sync and wait for it:
codex plugin marketplace list --json
node "$(dirname "$TARGET_CLI")/codex-plugin-hooks.mjs" sync ROOT REVISION [ROOT REVISION ...]
codex plugin list --json
where each ROOT is a Git marketplace's root from the listing and REVISION
its upstream head (git ls-remote). The helper holds a Codex app server open
until each root records its revision and every enabled plugin installed from
it is at that revision's catalog identity (30s at most; Codex records the
revision before it reinstalls), and exits 75 for any it did not reach. The
helper is the verified target's own, beside "$TARGET_CLI"; never send the
controller's SKILL_DIR copy over SSH. An enabled install from an unpinned
remote catalog entry, or one the catalog no longer lists (removed or renamed
upstream), carries no identity to wait on: sync holds the server open for a
short grace and reports the root unconfirmed, and the pass does not remember
its head, so every fast pass syncs it again. sync reads the
catalog from each layout Codex supports (.agents/plugins/marketplace.json,
.agents/plugins/api_marketplace.json, .claude-plugin/marketplace.json,
.cursor-plugin/marketplace.json).
Hook trust then follows two rules:
modified hook's existing trust to its new hash. A hook that was
never trusted, a one-byte difference, or a missing Claude install refuses,
and the item holds, naming the cause. An approval that fails transiently (an
app server or plugin list that failed or timed out) holds as transient, so
the next fast pass retries it. Both caches are sealed first (group/other
write removed, up to the harness home); a cache root that is a symlink or
owned by another user, or a symlink inside it that resolves outside it,
refuses."$TARGET_CLI" approve-codex-plugin-hooks PLUGIN@MARKETPLACE (see Codex hook approval below).update-codex-plugin remains as a command but has no remaining correct use
for carrying trust across an upstream change: an app server start inside it
advances the copy before its snapshot, so at best it is a no-op reinstall of
an already current copy.
For Claude, run only this target-native sequence, substituting the authorized marketplace and each installed plugin ID:
claude plugin list --json
claude plugin marketplace update MARKETPLACE
claude plugin update EACH_INSTALLED_PLUGIN@MARKETPLACE --scope user
Require every frozen ID to end in the exact @MARKETPLACE suffix and attempt
every ID even if another update fails. Do not add IDs that appear only after the
catalog refresh. Update roundhouse@novotnyllc last when present, then
recapture inventory and re-resolve its installed executor. Do not synchronize
unrelated marketplaces, runtimes, settings, skills, provenance, or
configuration. Manager output is progress evidence, not post-state. Recapture
the bounded agents inventory after each harness attempt. Require every
frozen marketplace plugin record to remain installed with its enabled state
and Claude scope preserved; require every
outside-marketplace record to be unchanged. Report before/after versions per
plugin, and any Codex hooks left untrusted. A failure in one plugin or harness does not erase other evidence or
stop the remaining marketplace plugins from being attempted.
Plugin dependencies belong to the workflow that declares them. Execute only the user-authorized desired state supplied by that owner, using each target's native plugin manager and the same verification and hook-trust checks as other plugin changes. Do not infer dependencies from the presence of another plugin or reinstall a removed plugin merely because a workflow previously used it.
The only pre-helper fallback is a separately approved self-update of
roundhouse@novotnyllc from an integrity-verified release that lacks
codex-plugin-hooks.mjs sync: run exactly
codex plugin add roundhouse@novotnyllc --json, recapture inventory, reload the new
target-native plugin, and require its integrity verification before any other
mutation. Never use that raw-add fallback for another plugin or once the
helper command is available.
For a native-Windows target with a configured wsl_interop_via sibling,
prefer the WSL interop lane for this whole routine: SSH to the sibling,
cd /mnt/c first — skipping it does NOT fail: cmd silently falls back to
C:\Windows with rc=0 and only a stderr warning, so relative paths target
the wrong directory invisibly — and run each Windows command through
/mnt/c/Windows/System32/cmd.exe /c "..." — cmd starts faster than
PowerShell, has fewer quoting layers through the ssh-to-interop chain, and
resolves the CLIs' native executables directly. When a command genuinely needs
PowerShell, never pass the script through the quoting chain — the double
bash parse eats $env: and quotes silently (observed: $env:USERPROFILE
resolving against the WSL-side cwd). Instead encode it on the WSL side and
pass one opaque token:
PS_B64=$(printf %s '<script>' | iconv -t UTF-16LE | base64 -w0) then
/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -NoProfile -EncodedCommand "$PS_B64" — still from a /mnt/c working directory.
The harness CLIs, plugin commands, and the hook-approval helper all execute
as native Windows processes, and their results are native evidence. WSL is
purely the launcher: the Windows process knows nothing about WSL, so never
hand it a WSL-side path — Windows commands operate on Windows files, with
Windows-side variables written cmd-style (%USERPROFILE%, which bash
passes through unexpanded). For the rare file that must cross the boundary,
stage it under /mnt/c or translate with wslpath -w.
Interop hygiene, each verified live: launch with stdin redirected
(</dev/null — cmd silently consumes inherited stdin, starving any
surrounding read loop); strip CRLF before comparing or parsing native
output (| tr -d '\r' — most Windows tools emit CRLF; the harness CLIs
emit clean LF); never nest quotes inside the cmd /c payload — cmd's own
quote-stripping mangles them regardless of escaping, so arguments with
spaces go through %VAR% expansion or the -EncodedCommand hatch; cmd
expands an undefined %VAR% to its literal self with rc=0, so echo-verify
a variable before anything destructive; and never run a bare CLI name in
the WSL shell expecting the Windows one — sshd sessions get no Windows
PATH entries, so claude resolves to the WSL-side install and yields WSL
evidence mislabeled as native. Only the full-path cmd.exe wrapper produces
native evidence. Fall back to codex-remote-control only when WSL is
absent or unreachable, or the work needs the Desktop app surface.
For a configured codex-remote-control target, follow the routine-refresh
path in "$SKILL_DIR/../../references/codex-remote-control.md", using a visible
native task and native PowerShell. Choose the task's model and reasoning
effort per railyard:model-routing and pass them through the task tool's own
controls, as that reference describes; Roundhouse keeps no model policy of its
own. Lazy-discover the task-control app tools before declaring them
unavailable.
A harness that cannot drive the Codex task surface (Claude Code) is not
blocked from the declarative half: stage the marketplace desired-record and
profile bundles onto the Windows target through the enrolled windows-sftp
lane ("$SKILL_DIR/../../references/windows-sftp.md"), which any harness can
drive over SSH/SFTP. The broker's scheduled task picks up a committed slot
within one minute. Only the in-session convergence — installing plugin caches
and re-approving hook trust against the staged desired-record — still
requires the visible Codex task or an operator at the machine.
Use the sealed-plan reconciliation path below instead when the request includes broad drift, runtime or settings changes, provenance repair, provider conversion, ambiguous plugin/marketplace/host scope, or any mutation beyond the explicit named-plugin refresh.
Default to a plan listing exact host, harness, manager, source, current version
or hash, and desired action. Seal it with
"$CLI" seal-plan DRAFT SNAPSHOT PLAN. Before apply, require exact scope,
recapture inventory, and require
"$CLI" verify-preconditions PLAN CURRENT-SNAPSHOT to succeed. Obtain
separate user approval and execute only the exact sealed argv. Do not silently
convert a standalone skill into a plugin or vice versa. For a local target use
"$CLI" apply-plan PLAN PLAN-ID OUTPUT; for SSH use
"$CLI" apply-ssh-plan PLAN PLAN-ID OUTPUT; Windows with a wsl_interop_via
sibling uses "$CLI" apply-interop-plan PLAN PLAN-ID OUTPUT, otherwise the
native worker contract in the remote-control reference. Apply recaptures trusted preflight
itself. Preserve its authoritative partial output when an operation or
postcondition fails.
The executor supports exact codex update and claude update runtime updates,
plus updates for skills-cli, JSM, and Claude plugins.
Codex replacement uses the native idempotent codex plugin add PLUGIN@MARKETPLACE --json operation through the same hook-preserving wrapper.
An already-current runtime is a successful
no-op after it remains present in post-inventory. For a missing runtime, use the
official installer interactively or delegate a manager-owned install to
fleet-update; downloaded installer pipelines, removals, and provider
conversion are unsupported by sealed plans.
Configured agent_artifacts may declare an allowlisted settings object for a
JSON or TOML config file. Inventory emits one agent_setting record per key,
including observed value, desired value, presence, and in_sync; it never emits
unlisted config fields. Reconcile the owning file through
agent-utilities:fleet-chezmoi when chezmoi is present. Do not write Claude Desktop internal state or undocumented Codex
Desktop preferences. Claude's supported Remote Control default lives in the
shared Code settings file; the invoking agent must check Codex Desktop host
enablement manually.
Codex hook approval is target-local state, not a portable settings allowlist.
After the user explicitly approves the current hooks for one exact plugin and
host scope, local runs
"$CLI" approve-codex-plugin-hooks PLUGIN@MARKETPLACE; SSH runs the same command
through the previously resolved and verified "$TARGET_CLI" in the target login
shell. Native Windows uses the integrity-gated -ApproveCodexPluginHooks path
in "$SKILL_DIR/../../references/codex-remote-control.md". Each path discovers
hooks with a fresh Codex app server, writes only matching trusted_hash leaves,
preserves disabled and unrelated hook state, and verifies every current matching
hook is trusted. Never copy the complete [hooks.state] table between hosts.
Later updates inherit approval only for the same stable hook keys; new hooks
require a new explicit approval.
Use local/SSH execution where configured. SSH uses bounded connection and
keepalive timeouts and must match the configured native hostname/user before
mutation. Run every SSH operation through the target user's configured login
shell ($SHELL -lc) so user-level paths such as $HOME/.local/bin are
available. Never use raw non-login SSH command execution or infer that tooling
is absent from its restricted PATH. For Windows Codex tasks read and follow
"$SKILL_DIR/../../references/codex-remote-control.md"; its explicit routine
named-plugin path may run the native Claude CLI in the visible native PowerShell
task, with model and effort chosen per railyard:model-routing. Outside
that narrow path, Claude reports the transport control surface as unsupported
rather than using WSL. Re-inventory after changes and report
unresolved provenance as unknown, not guessed.
Use "$CLI" privilege-status HOST SNAPSHOT before proposing protected profile
work. The only agent-content action is the readiness-advertised
profile.apply-managed-bundle.v1 or read-only
profile.inventory-managed-state.v1 in windows-user-s4u-v1. Build identical
Codex/Claude bytes with "$CLI" profile-bundle SPEC SOURCE-ROOT OUTPUT; include
only bounded config scalars, standalone-skill files, agent definitions, and
local marketplace desired records already authorized by the protected entry
map. Never copy credentials, secret-backed templates, installed plugin caches,
agent internal state, startup tasks, or arbitrary paths. A staged plugin
desired record is manager_activation_pending until the next ordinary user
session lets its manager activate it; logged-off S4U success is not plugin
activation evidence.
The shared protected lifecycle vocabulary is prepare-privilege-identity,
prepare-privilege-enrollment, verify-privilege-plan,
submit-privilege-plan, lookup-privilege-result,
preview-privilege-upgrade, and preview-privilege-revocation. Preserve every
readiness/result state without fallback, including
unsupported_security_boundary, partial, and stale.
Never ask for or relay a sudo or Administrator password; stop at the local human
password/UAC boundary.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 skills in this plugin
/fleet-authAudit and deliberately reconcile configured authentication artifacts across machines without exposing secrets. Use for Codex auth.json, xurl auth.yml, GitHub or tool sessions, matching credential hashes, native auth health, reauthentication, or encrypted credential installation./fleet-hostsAdd a host to the fleet or remove one, end to end: config entry, SSH reachability, the privilege lane's one-time OS approval, target prerequisites (agent harnesses, plugins, tmux/jq), and readiness verification. Use when the user says to add, enroll, onboard, remove, retire, or decommission a machine./fleet-inventoryInventory and compare a configured fleet of macOS, Linux, WSL, and Windows machines. Use for packages, agent runtimes, allowlisted Claude/Codex settings, plugins, standalone skills and provenance, auth-file or native session status, projects, startup tasks, SHA-256 comparisons, install-time inference, or human and JSONL status reports.roundhouse@novotnyllc is listed by novotnyllc/marketplace — review the source before installing
npx claudepluginhub novotnyllc/marketplace --plugin roundhouse