Skip to content

v0.1.17

Choose a tag to compare

@github-actions github-actions released this 06 Oct 06:16
· 593 commits to main since this release

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_chars only seeds a new board). Read it with swarm config board.message_max_chars, change it online with swarm config board.message_max_chars 500 (50 to 4000; --save also 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: text column, a replaceable NOT VALID check and a board_meta row, converted online in one quick, retried ALTER; SQLite: a trigger and a board_meta table). 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.
  • watch defaults to 10-second periodic refreshes ([board] watch_interval_s); notifications and snapshot misses coalesce for watch_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 coding bank (default_bank), rather than creating a bank per job; missing banks require explicit --create-bank.
  • Recall uses recall_banks (default coding and hermes) 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 learn retains them with provenance and --list-banks lists choices.
  • swarm deactivate --delete-bank deletes 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.