Repository navigation
v0.1.17
What's changed
Added
- The board message length is configurable: one cap per board, stored in the board so every client and host agrees (
[board] message_max_charsonly seeds a new board). Read it withswarm config board.message_max_chars, change it online withswarm config board.message_max_chars 500(50 to 4000;--savealso writes the config file). Lowering it never cuts or refuses messages already stored; it applies to new posts. The start hook shows the live cap.
Changed
- Schema 15: the cap moves from the
varchar(N)column / table CHECK into the board (Postgres:textcolumn, a replaceableNOT VALIDcheck and aboard_metarow, converted online in one quick, retriedALTER; SQLite: a trigger and aboard_metatable). Boards keep the cap they enforced and every message. - Linux tool hooks skip Python while the board is unchanged and contact is not due (
[hook] hook_min_interval_s, default 15 seconds). Shared message notifications invalidate read stamps; notifier failures fall back to cursor reads. Start, stop and session-stop hooks keep their behavior. watchdefaults to 10-second periodic refreshes ([board] watch_interval_s); notifications and snapshot misses coalesce forwatch_min_redraw_s(default 2 seconds), including compact panes. Keys still render immediately from cached data.- PostgreSQL watch snapshots use one statement with grouped message counts. Schema 15 replaces correlated status counts and adds message/agent indexes (automatic migration).
- Hindsight writes default to the existing
codingbank (default_bank), rather than creating a bank per job; missing banks require explicit--create-bank. - Recall uses
recall_banks(defaultcodingandhermes) plus an explicit project bank, with deduplication, bounded whole-fact caches and isolated bank failures. - Job completion instructions require distilled learnings in the best-matching existing bank;
swarm learnretains them with provenance and--list-bankslists choices. swarm deactivate --delete-bankdeletes an explicit project bank only after successful learning retention elsewhere.
Fixed
- Postgres schema setup allows cumulative lock waits within a separate 60s query budget and preserves the original connection failure when cleanup fails.
- Timing tests use controlled clocks and synchronization, with isolated fixtures and hook spool assertions independent of IO time; test-only stress tooling helps reproduce scheduling failures.
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.