Repository navigation
v0.3.3
What's changed
Removed
- Seats are gone. Drive jobs run named launches (
swarm run --job J --name N --role R --brief B), concurrency is per job, agents share a workdir, roles are prompt text; the seat vocabulary is renamed to launches everywhere (the credential jail remains).
Fixed (drive: jobs no longer get stuck)
- An interrupted or exhausted launch is re-queued; a judge that ends without a verdict is re-queued and then escalated (
DRIVER-ESCALATE), never closed "mechanical: unreachable" (F03). - A re-queue restarts the attempt counter, a reopen starts a new generation and queues the lead, and every skipped launch says why (
DRIVER-SKIP) (F03b). - The lead's
swarm doneis recognised as a hand-off; a rulingnot_metkeeps the job active and re-queues the lead; the judge Stop hook no longer blocks on a false "board unavailable"; the codex command is configurable and refused up front when missing (F03c). - A driver step exception escalates instead of scheduling a ruling; tracebacks go to
driver.log; hand-offs without an artifact are tolerated (F03d). - A job with no landing destination completes on
met;meton unlanded work is never unreachable; a person can always complete a met job (F03e). - Budget, session, wall-clock and attempt exhaustion escalate and hold for a person instead of ruling unreachable; an unchanged head is never re-ruled (F03f).
- The learnings hold survives a budget hold; launch homes carry the standing-rules cache (F03g).
- A same-sha hand-off is "no progress", the goal judge runs once per head, and a hand-off no longer cancels the lead's engineers (F03h).
swarm pause/swarm resumekeep the drive ledger consistent; stale resume handles are dropped; the judge backoff holds only the judge (F03i).- Seeded cache directories are 0700 and repaired; fix rounds never target the judge; the per-head judge cap covers fix rounds (F03j).
- Ruling holds are distinct from budget holds, stale ruling deadlines clear, and engineers run after a per-head ruling (F03k).
- A
metverdict clears every hold; every hold is visible aswaiting on:inswarm status;settle_haltsaves a fresh ledger (F03l).
Added
swarm await --job J: the orchestrator's wake-up. It blocks until something needs the orchestrating session and prints one line per item (kind, key, age, action), then exits: an open question or blocker (answer Q492), a post addressed to the orchestrator or its role, a BRANCH READY, INFRA REQUEST, VERDICT or ORDER post, or a job state change.--onceprints the open items without blocking;--timeout Sexits with no items after S seconds;--poll S(default 5) sets the check interval;--remind S(default 60) reports an open item again once it was last reported S seconds ago, so a dropped wake-up comes back on the next call. Items collapse by key (one per question, per branch@sha) and stay open until resolved, not merely read. The await keeps its own cursor per (job, session) in the board's metadata, so it never consumes the messages areador another await would see.- The orchestrator is woken for its own job. An orchestrating session that activated a non-drive job is told on each tool call, until it runs one, to start
swarm await --job Jas a background command; one await runs per session and job, and it is restarted after each exit.swarm doctorshowsorchestrator wake: armedorNOT ARMEDper owned job. - PM-STALL: a job never silently waits on its orchestrator. A blocker or a message addressed to the orchestrator (or its role,
@PM) that stays unhandled for[job] orchestrator_stall_minutes(default 5, 0 = off) gets aPM-STALL <item> age=<m>board post, once, then again every that many minutes while it is unhandled.[job] notify_on_stall = truealso tells the person through[notify](push_url, ortelegram_tokenandtelegram_chat).swarm statusandswarm watchshowwaiting on ORCHESTRATOR since <age>, distinct from a wait on a person. - Seat continuity.
swarm activateon a closed job puts the reopening session back on the board in its previous role (for example project_manager) under its previous name.swarm post --to @PM(or any@role) with nobody in the seat is queued instead of refused and delivered to the next holder that joins.swarm join --judgeand the spawn and seat-request paths refuse a second judge withjudge seat held by <name> (joined <age> ago), and the not-met brief names a judge that still holds the seat. - Stale blockers are flagged.
swarm blockersmarks an open blockerPOSSIBLY STALEwhen its subject is resolved: its PR landed or merged, or a later message names the same branch with another sha.blocker resolvetakes several ids in one call (nothing is resolved if one id is unknown). swarm answerworks for the orchestrating session without a join. The session that owns an open job (its activation marker is bound to it) answers as its previous board name, else asorchestrator, instead of failing with "no active board identity".- Addressed posts are delivered whole. A
--topost longer than the board's message cap keeps its head on the board and puts the full text in a file under the swarm data dir (~/.local/share/swarm/posts/<job>/), named in the message. Broadcasts keep the cap.
Changed
- Memory: no periodic recall, no timed reminder. An agent gets one start recall, scoped to its job's subject tags and topic; after that it asks with
swarm recall "<query>", which searches every subject (--tags/--banknarrow it). Migration:[hindsight] recall_minutesandremember_nudge_minutesare gone; configs that still have them keep working (the keys are ignored), delete them. - Memory tags are subjects, never ids. A job carries subject tags (
swarm activate --tags swarm,astro-loom;swarm job tags --job J --add/--remove/--set, any time, posted on the board);swarm rememberandswarm learnstamp exactly those (plus--tags), read at the moment they run. The job, agent, session and host go into metadata only;job:/agent:tags are no longer written. Memories already stored are not rewritten. - Learnings are mandatory. An agent cannot stop normally until it stored a memory or declared none (
swarm remember --none "<reason>"): the stop is blocked once. Agents that end abnormally are marked unharvested, with no LLM call.swarm deactivateis refused until every agent is harvested and something was stored (swarm learn --job J --harvest, thenswarm learn ... -or--none); a person may waive it with--no-learn "<reason>". Drive jobs run the step through alearnerseat before they close.
Full changelog: https://github.com/fcarucci/Swarm/blob/main/CHANGELOG.md
Install
curl -fsSL https://raw.githubusercontent.com/fcarucci/Swarm/main/install.sh | bash
Upgrade every host that shares a board together (swarm upgrade); see README.md, Upgrading.