bullswarm 0.38.18 → 0.38.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.38.20 — prove a run with --check; no blind retry after no file changed
6
+
7
+ - `bullswarm run --check '<cmd>'` (up to 5, with an optional `--check-timeout <seconds>`): a single-step run can now be proven by a command. Each check is a command evidence item on the run's step, run read-only in `--add-dir` after the worker; exit 0 gives the verdict `proof: proven by command`, a failure is `failed-evidence` with the one same-pool retry, and `--dry-run` lists the checks. In the 2026-11-07 weekly review, 132 of 134 build steps that had no check came from `bullswarm run`, which had no way to declare one. A run without `--check` is unchanged.
8
+ - failure rule: a build or chore step that fails `not-produced` because it changed no file ("no file changed"; a declared path missing or not written still retries) is no longer retried automatically on the same pool. It goes to the caller at once through the same needs-you path an `outside:` blocker uses (status `failed`, `willRetry: false`), and its why ends `· retry skipped: a step that changed no file rarely does on a rerun`. Evidence, from real run records 2026-10-03..11-07: after a build or chore attempt failed `not-produced` with no `outside:` blocker, the same-pool retry succeeded 1 time in 12 (7 of 7 failed again in the last week), each costing a full worker run. A `failed-evidence` same-pool retry succeeded 13 of 25 times and keeps its retry; process, schema, semantic, quota, auth and refusal rules are unchanged, and `step rerun` still reruns such a step on request.
9
+
10
+ ## 0.38.19 — who launched it: caller identity on runs and assignments
11
+
12
+ Why: a run and an in-flight assignment did not say who started them, so a reader watching several terminals could not tell which pane or Claude Code session had asked for the work.
13
+
14
+ - caller identity: a new run (`bullswarm run`, and `bullswarm workflow goal` where goal.json is first written) records who launched it in `caller.json` beside goal.json: `{"schemaVersion": "bullswarm.workflow.caller.v1", "caller": {"herdrPane", "claudeSession", "cwd"}, "recordedAt"}`. Every record in `~/.bullswarm/assignments/` carries the same `caller` object: the run's recorded caller for a workflow step, this process otherwise. Only two environment variables are read, `HERDR_PANE_ID` and `CLAUDE_CODE_SESSION_ID`; a pane not shaped like `w6:p1` or a session that is not a UUID is recorded as null, and no other env value is read or recorded. A detached `workflow goal` passes the launching directory through its request file, so `cwd` is where the caller ran the command, not the goal's `--cwd`. `bullswarm assignments` prints `caller=<pane>` when a pane is known and `--json` carries the whole object; `workflow runs show` prints `# caller pane … · session … · cwd …` and `--json` has `caller` (null for a run started before this change).
15
+
5
16
  ## 0.38.18 — one shared status-line cache for pools, workflow runs and assignments
6
17
 
7
18
  Why: every Claude session's mod ran `bullswarm pools --json` on its own timer. On 2026-10-20 there were 11 at once, each a 260-345 MB node process (about 3 GB together), on a Mac close to running out of swap.