bullswarm 0.32.1 → 0.33.1
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 +405 -1
- package/README.md +71 -13
- package/data/openrouter-benchmarks.json +10559 -10335
- package/data/plan-prices.json +156 -0
- package/docs/design/dashboard-prototype.html +914 -0
- package/docs/design/owner-review-2026-09-18/budget-page-current-0.33.1.png +0 -0
- package/docs/design/owner-review-2026-09-18/budget-page-target-0.33.1.png +0 -0
- package/docs/design/owner-review-2026-09-18/budget.jpeg +0 -0
- package/docs/design/owner-review-2026-09-18/history-unknown-project.jpeg +0 -0
- package/docs/design/owner-review-2026-09-18/home-licence-today-missing-codex-0.33.1.png +0 -0
- package/docs/design/owner-review-2026-09-18/home-phone-landscape.jpeg +0 -0
- package/docs/design/owner-review-2026-09-18/home-phone-portrait.jpeg +0 -0
- package/docs/design/owner-review-2026-09-18/round2-budget-codex-row.png +0 -0
- package/docs/design/owner-review-2026-09-18/round2-budget-phone.jpeg +0 -0
- package/docs/design/owner-review-2026-09-18/round2-help-tab.png +0 -0
- package/docs/design/owner-review-2026-09-18/round2-models-lines.png +0 -0
- package/docs/design/owner-review-2026-09-18/round2-runs-duration-cut.png +0 -0
- package/docs/design/owner-review-2026-09-18/round2-trends-30d-horizontal-split.png +0 -0
- package/docs/design/owner-review-2026-09-18/round2-trends-desktop.png +0 -0
- package/docs/design/owner-review-2026-09-18/round2-trends-phone.png +0 -0
- package/docs/design/owner-review-2026-09-18/run-page-budget.jpeg +0 -0
- package/docs/design/owner-review-2026-09-18/run-plan-strip-desktop-0.33.1.png +0 -0
- package/docs/design/owner-review-2026-09-18/runs-list.jpeg +0 -0
- package/docs/design/owner-review-2026-09-18/stats-models-stacked-bars-0.33.1.png +0 -0
- package/docs/design/owner-review-2026-09-18/stats-pools.jpeg +0 -0
- package/docs/design/owner-review-2026-09-18/stats-trends-spent.jpeg +0 -0
- package/docs/design/prototype-frames/README.md +12 -0
- package/docs/design/prototype-frames/budget-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/budget-120.txt +40 -0
- package/docs/design/prototype-frames/budget-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/budget-55.txt +26 -0
- package/docs/design/prototype-frames/fleet-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/fleet-120.txt +40 -0
- package/docs/design/prototype-frames/fleet-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/fleet-55.txt +26 -0
- package/docs/design/prototype-frames/help-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/help-120.txt +40 -0
- package/docs/design/prototype-frames/help-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/help-55.txt +26 -0
- package/docs/design/prototype-frames/history-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/history-120.txt +40 -0
- package/docs/design/prototype-frames/history-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/history-55.txt +26 -0
- package/docs/design/prototype-frames/home-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/home-120.txt +40 -0
- package/docs/design/prototype-frames/home-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/home-55.txt +26 -0
- package/docs/design/prototype-frames/run-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/run-120.txt +40 -0
- package/docs/design/prototype-frames/run-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/run-55.txt +26 -0
- package/docs/design/prototype-frames/stats-models-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/stats-models-120.txt +40 -0
- package/docs/design/prototype-frames/stats-models-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/stats-models-55.txt +26 -0
- package/docs/design/prototype-frames/stats-overview-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/stats-overview-120.txt +40 -0
- package/docs/design/prototype-frames/stats-overview-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/stats-overview-55.txt +26 -0
- package/docs/design/prototype-frames/stats-pools-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/stats-pools-120.txt +40 -0
- package/docs/design/prototype-frames/stats-pools-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/stats-pools-55.txt +26 -0
- package/docs/design/prototype-frames/stats-projects-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/stats-projects-120.txt +40 -0
- package/docs/design/prototype-frames/stats-projects-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/stats-projects-55.txt +26 -0
- package/docs/design/prototype-frames/stats-trends-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/stats-trends-120.txt +40 -0
- package/docs/design/prototype-frames/stats-trends-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/stats-trends-55.txt +26 -0
- package/docs/design/prototype-frames/step-120.tagged.txt +40 -0
- package/docs/design/prototype-frames/step-120.txt +40 -0
- package/docs/design/prototype-frames/step-55.tagged.txt +26 -0
- package/docs/design/prototype-frames/step-55.txt +26 -0
- package/docs/design/prototype-frames-0.33.1/budget-120-v2.txt +21 -0
- package/docs/design/prototype-frames-0.33.1/budget-120-v3.txt +33 -0
- package/docs/design/prototype-frames-0.33.1/budget-120.txt +40 -0
- package/docs/design/prototype-frames-0.33.1/budget-55-v2.txt +21 -0
- package/docs/design/prototype-frames-0.33.1/budget-55-v3.txt +33 -0
- package/docs/design/prototype-frames-0.33.1/budget-55.txt +26 -0
- package/docs/design/prototype-frames-0.33.1/budget-README.md +53 -0
- package/docs/design/prototype-frames-0.33.1/home-today-120-v2.txt +11 -0
- package/docs/design/prototype-frames-0.33.1/home-today-120.txt +20 -0
- package/docs/design/prototype-frames-0.33.1/home-today-55-v2.txt +17 -0
- package/docs/design/prototype-frames-0.33.1/home-today-55.txt +34 -0
- package/docs/design/prototype-frames-0.33.1/home-today-README.md +35 -0
- package/docs/design/prototype-shots/Screenshot 2026-09-17 at 9.14.40/342/200/257AM.png +0 -0
- package/docs/design/prototype-shots/Screenshot 2026-09-17 at 9.15.23/342/200/257AM.png +0 -0
- package/docs/design/prototype-shots/Screenshot 2026-09-17 at 9.15.31/342/200/257AM.png +0 -0
- package/docs/design/prototype-shots/Screenshot 2026-09-17 at 9.15.39/342/200/257AM.png +0 -0
- package/docs/design/prototype-shots/Screenshot 2026-09-17 at 9.15.45/342/200/257AM.png +0 -0
- package/docs/design/prototype-shots/Screenshot 2026-09-17 at 9.15.50/342/200/257AM.png +0 -0
- package/docs/design/prototype-shots/Screenshot 2026-09-17 at 9.16.02/342/200/257AM.png +0 -0
- package/docs/design/prototype-shots/Screenshot 2026-09-17 at 9.16.07/342/200/257AM.png +0 -0
- package/docs/design/prototype-shots/Screenshot 2026-09-17 at 9.16.18/342/200/257AM.png +0 -0
- package/docs/design/prototype-shots/Screenshot 2026-09-17 at 9.16.23/342/200/257AM.png +0 -0
- package/docs/design/prototype-shots/Screenshot 2026-09-17 at 9.16.27/342/200/257AM.png +0 -0
- package/docs/guide/observing.md +313 -59
- package/docs/guide/routing.md +41 -9
- package/docs/plans/0.33.1.goal.txt +14 -0
- package/docs/plans/0.33.1.program.json +361 -0
- package/docs/plans/dashboard-0.33-fidelity.goal.txt +13 -0
- package/docs/plans/dashboard-0.33-fidelity.md +283 -0
- package/docs/plans/dashboard-0.33-fidelity.program.json +220 -0
- package/docs/plans/dashboard-0.33-fidelity.rev2.json +338 -0
- package/docs/plans/dashboard-0.33-review.goal.txt +10 -0
- package/docs/plans/dashboard-0.33-review.program.json +117 -0
- package/docs/plans/dashboard-0.33.goal.txt +16 -0
- package/docs/plans/dashboard-0.33.md +315 -0
- package/docs/plans/dashboard-0.33.program.json +293 -0
- package/docs/plans/fidelity.goal.txt +1 -0
- package/docs/plans/fidelity.program.json +35 -0
- package/docs/plans/handoff.goal.txt +8 -0
- package/docs/plans/handoff.program.json +117 -0
- package/docs/plans/handoff.rev2.json +136 -0
- package/docs/plans/handoff.rev3.json +165 -0
- package/docs/reference/cli.md +128 -23
- package/docs/reference/providers.md +12 -0
- package/mods/bullswarm/README.md +16 -6
- package/mods/bullswarm/hooks/pane.tsx +53 -13
- package/mods/bullswarm/hooks/register.ts +60 -4
- package/mods/bullswarm/hooks/runs.ts +49 -12
- package/package.json +1 -1
- package/skill/references/operations.md +9 -5
- package/src/cli.js +79 -5
- package/src/help.js +51 -19
- package/src/lib/agent-events.js +72 -1
- package/src/lib/assignments.js +13 -1
- package/src/lib/attempt-stream.js +233 -0
- package/src/lib/cli-flags.js +1 -0
- package/src/lib/glyphs.js +2 -0
- package/src/lib/prices.js +323 -0
- package/src/lib/probe.js +209 -0
- package/src/lib/project.js +81 -0
- package/src/lib/route.js +176 -107
- package/src/lib/spend.js +36 -1
- package/src/lib/state.js +23 -1
- package/src/lib/strategy.js +7 -0
- package/src/lib/tasks.js +148 -0
- package/src/lib/update.js +101 -22
- package/src/lib/usage-basis.js +37 -0
- package/src/lib/usage.js +110 -14
- package/src/lib/watch.js +115 -7
- package/src/meters/framework.js +7 -5
- package/src/meters/registry.js +60 -1
- package/src/provider-cli.js +28 -0
- package/src/providers/README.md +86 -0
- package/src/providers/_schema.json +29 -1
- package/src/providers/claude-code/connector.json +17 -4
- package/src/providers/claude-code/provider.mjs +113 -13
- package/src/strategy-cli.js +70 -5
- package/src/workflow/budget-model.js +833 -0
- package/src/workflow/budget-view.js +258 -0
- package/src/workflow/cli.js +4 -2
- package/src/workflow/dash-kit.js +1066 -0
- package/src/workflow/dashboard.js +3393 -363
- package/src/workflow/fleet-view.js +283 -0
- package/src/workflow/goal.js +54 -0
- package/src/workflow/history-view.js +657 -0
- package/src/workflow/history.js +318 -0
- package/src/workflow/rollup.js +496 -0
- package/src/workflow/runs-cli.js +109 -0
- package/src/workflow/stats-model.js +1048 -0
- package/src/workflow/stats-view.js +1831 -0
- package/src/workflow/status.js +5 -0
- package/src/workflow/usage-view.js +108 -156
- package/src/workflow/v2-dispatch.js +400 -29
- package/src/workflow/v2-runtime.js +152 -6
- package/src/workflow/v2-state.js +145 -1
- package/src/workflow/watch-cli.js +28 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,410 @@
|
|
|
1
1
|
# bullswarm changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 0.33.1 — say what a number is, or say you do not know
|
|
4
|
+
|
|
5
|
+
- budget: the page is the pool meters and nothing else. Every window a pool
|
|
6
|
+
reports gets its own row — a background-coloured bar whose fill says pace,
|
|
7
|
+
a white tick for how much of the window has elapsed, the used share right-
|
|
8
|
+
aligned in one column down the whole page, and a dim line under it with the
|
|
9
|
+
reset and the pace in percentage points. The `by bullswarm`, `other tools`,
|
|
10
|
+
`room for N more medium runs`, `so far ≈ $N` and `biggest` lines are gone:
|
|
11
|
+
the cost audit of 2026-09-18 traced every one of them to worker minutes
|
|
12
|
+
multiplied by a fitted rate, which produced 129% of a whole window for grok,
|
|
13
|
+
and to the byte-estimate money the same audit found 250 to 1,471 times too
|
|
14
|
+
low. Spend by run lives on Home and Stats. Credits stay with the window they
|
|
15
|
+
meter, and a pool that reports credits but no monthly window keeps them.
|
|
16
|
+
- accounts: two homes holding the same Anthropic login are now discovered as
|
|
17
|
+
one pool. Discovery deduplicated on the access-token string, but signing one
|
|
18
|
+
account in twice mints two unrelated tokens, so `~/.claude` and a
|
|
19
|
+
`~/.claude-<slug>` home on the same subscription surfaced as two pools —
|
|
20
|
+
each reporting the same usage, between them claiming twice the headroom that
|
|
21
|
+
exists, and letting routing delegate work straight back to the account
|
|
22
|
+
already running the session. Discovery now keys on the `accountUuid` that
|
|
23
|
+
`claude` records in each home's `.claude.json`, falling back to the token
|
|
24
|
+
when a home has no account recorded (a home written before the field, or one
|
|
25
|
+
whose credentials were installed by hand). `discoverClaudeConfigDirs` starts
|
|
26
|
+
at the default home, so first-wins keeps the caller's own login and drops the
|
|
27
|
+
duplicate delegate. Observed on a four-home machine where the default home
|
|
28
|
+
and one extra home were the same account: the extra pool was only absent
|
|
29
|
+
because its token had expired, and would have self-delegated the moment it
|
|
30
|
+
was refreshed. New `accountIdentity(configDir)` export.
|
|
31
|
+
- update: a global pnpm install is recognised as its own shape and upgraded with
|
|
32
|
+
`pnpm add -g`, verified through the link under the pnpm global node_modules.
|
|
33
|
+
It used to be read as an npm prefix — but pnpm's `.pnpm/<name>@<version>/`
|
|
34
|
+
is a per-version store directory, so `npm install -g --prefix` wrote into the
|
|
35
|
+
old version's folder and `bullswarm update` could never exit 0. A pnpm
|
|
36
|
+
project dependency is reported as unknown rather than upgraded globally.
|
|
37
|
+
- update: `--json` carries `verifiedAt`, the copy `after` was read from.
|
|
38
|
+
`install.root` is where the RUNNING copy was found, which pnpm leaves behind
|
|
39
|
+
on its old per-version store directory, so it cannot also mean "where
|
|
40
|
+
bullswarm lives now".
|
|
41
|
+
- workflow: a kernel that has taken SIGTERM or SIGINT can no longer write a
|
|
42
|
+
terminal lifecycle. The progress check reached `finalize()` without asking
|
|
43
|
+
whether the run had been signalled, so a run interrupted in that window was
|
|
44
|
+
recorded `cancelled` with a `finishedAt` and a result.json — terminal, and no
|
|
45
|
+
longer the resumable `interrupted` the durability contract promises. The
|
|
46
|
+
guard now sits in `finalize()` itself, the only place a lifecycle becomes
|
|
47
|
+
terminal, rather than at each call site.
|
|
48
|
+
- attempts: the prior-attempt handoff names a connector-default model as
|
|
49
|
+
`<pool> connector default` instead of `unknown`, keeps every `git diff --stat`
|
|
50
|
+
row exactly as git printed it (the first row used to lose its leading space),
|
|
51
|
+
and, when the prior pool declares no `eventStream`, says
|
|
52
|
+
`Last response events: none decoded (…)` instead of dropping the section.
|
|
53
|
+
The `watch` handoff line says `1 file`. An attempt interrupted by a kernel
|
|
54
|
+
`SIGKILL` now carries `outputFile`, `outputBytes`, `streamFile` and `diffFile`
|
|
55
|
+
after resume when those files exist on disk.
|
|
56
|
+
- attempts: every attempt now persists the event stream its connector's
|
|
57
|
+
`eventStream` adapter decodes, as `stream-<action>-attempt-<n>.jsonl` in the
|
|
58
|
+
run directory — one JSON object per line with `seq`, `at` (ISO, stamped by
|
|
59
|
+
the kernel), `source`, `providerType`, `kind`, `status`, and `summary`. A
|
|
60
|
+
`response` event keeps its text there up to the response cap; the live pane
|
|
61
|
+
keeps its 180-character summary. A connector with no `eventStream` gets a bounded plain
|
|
62
|
+
`stdout-<action>-attempt-<n>.log` instead. The JSONL file is bounded as a
|
|
63
|
+
head, one `{"truncated":true,"dropped":<n>}` marker line, and a tail; the
|
|
64
|
+
plain stdout fallback is a marker-free bounded tail. Head records are
|
|
65
|
+
appended synchronously, and an over-cap tail is flushed to `.tail` every 32
|
|
66
|
+
events or 2 seconds, whichever comes first, so a kernel `SIGKILL` can lose
|
|
67
|
+
only the unflushed tail window. Core allows 1048576 bytes per file and 64000
|
|
68
|
+
bytes per response, and a connector manifest may override either in an
|
|
69
|
+
optional `eventStream.capture` block that `bullswarm provider validate` now
|
|
70
|
+
accepts — a contributed connector takes part with no code.
|
|
71
|
+
- handoff: when an attempt ends without success and the step is retried (on
|
|
72
|
+
another pool or the same one; the schema-correction path is unchanged), the
|
|
73
|
+
task handed to the next attempt ends with a `## Prior attempt on this step`
|
|
74
|
+
block filled from on-disk facts: pool, model, start, end, duration, failure
|
|
75
|
+
kind and `why`; the files whose bytes changed inside the step's territory
|
|
76
|
+
(including new, staged, pre-dirty, and deleted files), with a `git diff
|
|
77
|
+
--stat` for tracked files and `+N lines (new)` for untracked files frozen at
|
|
78
|
+
the moment that worker exited, so a sibling's later edits are never blamed
|
|
79
|
+
on it; the path and byte count of its final or partial output; its last three
|
|
80
|
+
`response` events with timestamps, read back out of the persisted stream; the
|
|
81
|
+
stream's path, never its contents; and the sentence that the edits are
|
|
82
|
+
unverified and the new worker must report whether it kept, fixed, or reverted
|
|
83
|
+
them.
|
|
84
|
+
- attempts: the attempt record and the `attempt.finished` event now carry
|
|
85
|
+
`outputFile` with `outputBytes` whenever the file exists — including on
|
|
86
|
+
failure, where `outputFile` used to be `null` with the file sitting on disk —
|
|
87
|
+
plus `streamFile`, `diffFile`, `changedFileCount`, `lastResponse`, and
|
|
88
|
+
`handoff: { from, bytes }` on the receiving attempt. `workflow action show`
|
|
89
|
+
prints all of them, and `workflow watch` prints one line at the handoff
|
|
90
|
+
naming the file count and what the previous worker said last.
|
|
91
|
+
|
|
92
|
+
- routing: a rung that names a free model is checked for life before any work
|
|
93
|
+
is sent to it. Bullswarm sends the one-word prompt `PONG` through that pool's
|
|
94
|
+
own CLI, waits at most 30 seconds, and caches the answer per pool and model
|
|
95
|
+
for 15 minutes in `cache/free-model-probes.json`. A pool that answers is
|
|
96
|
+
dispatched to as before. A pool that does not is benched with the reason
|
|
97
|
+
(`404`, `provider error` or `timeout`), and the work falls through to the
|
|
98
|
+
metered pools — the reason reads `probe: timeout on <pool>` in `routeWhy`,
|
|
99
|
+
on `bullswarm pools` and on the Fleet page. The probe is deliberately
|
|
100
|
+
narrow: it never runs for a rung left on the CLI default, never for a paid
|
|
101
|
+
model, never asks a provider what other models it has, and never substitutes
|
|
102
|
+
a model of its own choosing.
|
|
103
|
+
- attempts: a worker that hits a provider stream error, recovers, and finishes
|
|
104
|
+
its task is no longer failed for the error. When the output it wrote is
|
|
105
|
+
usable the attempt succeeds, and the error is kept on the attempt as a note
|
|
106
|
+
(`kind: "recovered-stream-error"`) so the transport problem is still visible
|
|
107
|
+
without costing a retry.
|
|
108
|
+
- run: single `bullswarm run` tasks are visible everywhere workflow steps are.
|
|
109
|
+
Each dispatch's decision-log entry now records the task file, the output file
|
|
110
|
+
and the lane; a task in flight is read from `~/.bullswarm/assignments/*.json`
|
|
111
|
+
(source `run`). The Runs page lists in-flight tasks in its active block and
|
|
112
|
+
finished tasks as rows in the day table — glyph, lane, pool · model, ok or
|
|
113
|
+
reason, duration, time — Home's today band counts them alongside workflow
|
|
114
|
+
runs, and the Mod pane shows the task in flight instead of "No ongoing
|
|
115
|
+
workflow run". A task recorded before these fields existed still appears,
|
|
116
|
+
showing `—` for what it does not have, and is listed and counted once: the
|
|
117
|
+
day page and the task ledger both offer it, and the de-duplication used to
|
|
118
|
+
key on an `id` those rows do not have, so every one of them was drawn twice
|
|
119
|
+
and every day header double-counted them.
|
|
120
|
+
- budget: a provider's plan no longer has to be typed in. Each provider reports
|
|
121
|
+
the plan name it can detect for itself (Claude's `subscriptionType` /
|
|
122
|
+
`rateLimitTier` from `~/.claude/.credentials.json`, Codex's `plan_type`,
|
|
123
|
+
Command Code's plan, opencode's plan), and `data/plan-prices.json` maps a
|
|
124
|
+
plan name to a monthly USD figure only where a vendor page was actually read,
|
|
125
|
+
quoting its URL and the exact line the number came from. A plan with no
|
|
126
|
+
citable price stays `null` rather than guessed. Budget spends a detected
|
|
127
|
+
price exactly as it spends a declared one and labels which it is —
|
|
128
|
+
`detected` or `declared` — so an operator's own figure is never confused with
|
|
129
|
+
one bullswarm inferred. The plan table is keyed by provider, not by pool, so a
|
|
130
|
+
discovered per-account pool such as `claude-code:wati` resolves against
|
|
131
|
+
`claude-code`'s plans; it used to ask for `claude-code:wati`'s own plans and
|
|
132
|
+
find nothing, which left exactly the pools with one login per account
|
|
133
|
+
without a price.
|
|
134
|
+
- Mod: the pane's `usage` button works with no run in flight — it renders the
|
|
135
|
+
pools page instead of doing nothing — and a `run` assignment in flight is
|
|
136
|
+
shown on the otherwise-empty pane.
|
|
137
|
+
- budget: every meter window a pool actually reports is shown, not just the
|
|
138
|
+
first one: the 5-hour, 7-day and monthly windows each with their local reset
|
|
139
|
+
time and their pace. The header says how old the numbers are (`sampled 5m
|
|
140
|
+
ago`) so a stale reading cannot be mistaken for a live one.
|
|
141
|
+
- run page: attempts record how many output bytes they had written over time,
|
|
142
|
+
so the Run and Step pages draw a live output sparkline from the durable
|
|
143
|
+
record (bounded at 240 samples per attempt). The plan strip prints a pool
|
|
144
|
+
name whole or leaves it out — never `openc…`. A retry after a kernel restart
|
|
145
|
+
still receives its `## Prior attempt on this step` handoff block, rebuilt
|
|
146
|
+
from the durable attempt record rather than from the lost in-memory one. And
|
|
147
|
+
`medianMinutes` — the p50 on `strategy rungs` and the Usage page — no longer
|
|
148
|
+
counts stalled attempts, so a silence timeout cannot inflate a pool's
|
|
149
|
+
typical duration. Dispatch count and ok share are unchanged.
|
|
150
|
+
- run page: the plan section groups its steps by presentation phase instead of
|
|
151
|
+
listing them flat, and Home's licence tile lists every metered pool that did
|
|
152
|
+
work today rather than only the busiest one.
|
|
153
|
+
- stats: hovering a bar in a stacked chart labels the slice under the cursor —
|
|
154
|
+
which series, which day, and its value — and Enter pins that slice's detail
|
|
155
|
+
so it can be read without holding the cursor still.
|
|
156
|
+
- routing: the last-mile 5-hour guard is relaxed. A step may now run a pool all
|
|
157
|
+
the way to 100% of its 5-hour window, because attempt handoff briefs the
|
|
158
|
+
retry on what the stopped worker had already written, so hitting the wall
|
|
159
|
+
mid-attempt costs a handoff rather than the work. Between 75% and the wall a
|
|
160
|
+
pool is only softly penalised in the ordering while another eligible pool is
|
|
161
|
+
behind pace, and a forecast that runs past the wall sorts last but stays
|
|
162
|
+
eligible. `BURST_BLOCK_PCT` moves from 90 to 100; the reason says
|
|
163
|
+
`last mile: <pool> 94.0% of 5h, handoff covers the wall`.
|
|
164
|
+
- home: the today band is rebuilt. Finished work of today is on the left — one
|
|
165
|
+
card-style line per workflow run and per single task, with what it was for
|
|
166
|
+
and its project — and today's measured licence spend per pool is on the
|
|
167
|
+
right, with the share each pool's workflows, single runs and minutes
|
|
168
|
+
depleted. Every figure that is an estimate rather than a measurement says so.
|
|
169
|
+
- usage: attempts now record the provider's own numbers instead of inferring
|
|
170
|
+
them. An attempt keeps the token totals, the cost and the session id the
|
|
171
|
+
provider reported, Claude prompt-cache writes are priced rather than treated
|
|
172
|
+
as free, and `tokenSource` widened to name where each figure came from
|
|
173
|
+
(`provider-reported`, `transcript-summed`, `estimated:utf8-bytes/4`,
|
|
174
|
+
`unknown`). The attempt's provider conversation is durable as
|
|
175
|
+
`attempt.session` — pool, model, session id, generation, and when it was
|
|
176
|
+
opened and last used.
|
|
177
|
+
- usage: every money figure in the dashboard says what kind of figure it is —
|
|
178
|
+
measured from the provider, summed from a transcript, estimated from bytes,
|
|
179
|
+
or unknown — so a byte estimate can no longer be read as a bill. The views
|
|
180
|
+
also report how many of the attempts behind a total were measured.
|
|
181
|
+
- usage: figures recorded before this release stay byte estimates. The 0.33.2
|
|
182
|
+
reprice back-fill will recompute them from the providers' own totals, and
|
|
183
|
+
when it does the spend history will jump by roughly one to two orders of
|
|
184
|
+
magnitude. That jump is the old estimate being corrected, not new spending.
|
|
185
|
+
|
|
186
|
+
The Budget verdict redesign is not in this release: it remains prototype frames
|
|
187
|
+
under `docs/design/prototype-frames-0.33.1/` (`budget-55.txt`,
|
|
188
|
+
`budget-120.txt`, `home-today-55.txt`, `home-today-120.txt` and their READMEs),
|
|
189
|
+
drawn from the real pool figures of 2026-09-18.
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
## 0.33.0 — the dashboard release
|
|
193
|
+
|
|
194
|
+
- dashboard: the phone `Home` no longer hides data behind its width. The
|
|
195
|
+
`budget · this week` block draws every pool the desktop draws — four today —
|
|
196
|
+
or ends with `+N more` when the rows genuinely do not fit, and its names are
|
|
197
|
+
wide enough that `claude-code:wati` and `claude-code` read as two pools
|
|
198
|
+
rather than one truncated one. The by-pool, by-model and by-project lists
|
|
199
|
+
keep at least their top three rows (`+N more` for the rest) and always paint
|
|
200
|
+
the whole percentage, never `24…`. The summary figures sit one per line, so
|
|
201
|
+
`Busiest project` and `Favourite model` are whole at 55 columns, and the
|
|
202
|
+
spent tile's empty state fits the phone row.
|
|
203
|
+
- dashboard, **keys corrected**: `h` opens **Home** and `?` opens **Help**.
|
|
204
|
+
In 0.32.0 both opened Help, and an earlier 0.33.0 entry wrongly listed them
|
|
205
|
+
as unchanged. `r` `b` `s` `y` `f` keep the pages they opened. The key table,
|
|
206
|
+
the nav tail (`[Top] [End] [?.Help]`), the Help page, the README and the
|
|
207
|
+
observing guide all say the same thing, and tests pin both bindings.
|
|
208
|
+
- dashboard: a finished run the history index has not covered yet is named by
|
|
209
|
+
the project its `goal.json` working directory belongs to — the same
|
|
210
|
+
derivation `bullswarm workflow reindex` uses — instead of reading
|
|
211
|
+
`unknown project`. `unknown project` now means only what it says: no working
|
|
212
|
+
directory was recorded for that run.
|
|
213
|
+
- dashboard: the stacked column charts on `Home` (spent per day) and `Stats`
|
|
214
|
+
`Trends` are drawn to eighth-block precision. The top cell of a bar is one of
|
|
215
|
+
`▁▂▃▄▅▆▇█`, so a `≈$2.93` bar sits below its own `≈$3.00` tick instead of
|
|
216
|
+
overshooting it; the axis top and the row count are chosen together so every
|
|
217
|
+
tick label lands on a row with even spacing; and every non-zero pool slice
|
|
218
|
+
gets at least one eighth-block, smallest on top, so `codex` and
|
|
219
|
+
`command-code` appear on any day they spent anything.
|
|
220
|
+
- dashboard: `Stats` `Pools` drops the shared unlabelled “licence used per day,
|
|
221
|
+
by pool” line chart. Each pool now carries its own seven-day sparkline on its
|
|
222
|
+
own row — one glyph per day of end-of-day usage, `▏` on a day the quota
|
|
223
|
+
window rolled over — under one caption saying that a drop after `▏` is the
|
|
224
|
+
window resetting. A reset is read from the recorded `resets_at` moving, never
|
|
225
|
+
guessed from a falling reading. The row tails (`≈ $3.06 API`, `✓ 100%`) are
|
|
226
|
+
measured before the meter is sized, so nothing truncates at 170 or 200
|
|
227
|
+
columns.
|
|
228
|
+
- dashboard: `Budget` reads in plain words. Each pool is a header
|
|
229
|
+
(`name · weekly plan · resets <day time> (in Nd Nh)`) over four labelled
|
|
230
|
+
rows: `used` (the meter, a whole percent, and `N% of the window gone → on
|
|
231
|
+
track`), `by bullswarm` (this tool's share of the whole plan, with the
|
|
232
|
+
measured minutes and `other tools N%`), `room` (`about N more medium runs
|
|
233
|
+
before the reset`) and `so far` (≈ money and the two biggest workflows).
|
|
234
|
+
Figures are whole numbers. The subscription line appears only where a price
|
|
235
|
+
is declared — the `Subscription rate: —` rows are gone — and
|
|
236
|
+
`workflows 131.24% · rest 0% · workflows exceeds the reported meter` is
|
|
237
|
+
replaced by one footnote in words when the measured share exceeds the meter.
|
|
238
|
+
The page-foot notes are one short block.
|
|
239
|
+
- dashboard: **Runs and History are one page.** `Runs` opens on an `active`
|
|
240
|
+
block — every running or waiting run with its plan strip and per-step bar,
|
|
241
|
+
drawn exactly as `Home`'s running section draws it — and History's
|
|
242
|
+
day-grouped table below it: a day header with its count and ≈ total, then one
|
|
243
|
+
row per run with status glyph, short id, project, goal, duration, ≈ cost and
|
|
244
|
+
time, under the selection cursor, so `Enter` and the digits open a run and
|
|
245
|
+
older days load as the reader scrolls. The `agents` and `run it` blocks moved
|
|
246
|
+
to `Help`. The `History` tab is gone from the tab row — the tabs are Home,
|
|
247
|
+
Runs, Budget, Stats, Fleet — and **`y` jumps to the first day header** of
|
|
248
|
+
Runs. The one-second refresh keeps the table cursor where the reader put it
|
|
249
|
+
(it used to snap back to the in-flight run, so `Enter` opened the wrong
|
|
250
|
+
workflow).
|
|
251
|
+
- dashboard: the second owner-review round, from phone screenshots of the
|
|
252
|
+
0.33.0 preview. `Stats` `Models` draws stacked columns per day and model
|
|
253
|
+
instead of a three-row line chart that flattened every model under four
|
|
254
|
+
hours onto the zero line (Opus ran 29, 9, 897, 75, 278 and 686 minutes on
|
|
255
|
+
six consecutive days and showed on one). Axis labels mark the bottom of
|
|
256
|
+
their row, so a bar of 15 rises half a row above `14` instead of reading as
|
|
257
|
+
16. Phone columns are equal width and the charts use the rows the screen
|
|
258
|
+
has. A column never lays two colours side by side in one row: slices too
|
|
259
|
+
small for their own eighth merge into one grey `other` slice, counted in the
|
|
260
|
+
legend. Each pool and model keeps one colour on every page and period. Under
|
|
261
|
+
a column, totals keep one blank cell apart and a long duration falls back to
|
|
262
|
+
whole hours. `Budget`: a pool whose meter never moved during its measured
|
|
263
|
+
runs says `share unknown · meter did not move during 32 measured runs`
|
|
264
|
+
instead of `≈ 0%`; credits join the `used` row (`0 of 70 credits`); a pool
|
|
265
|
+
with nothing left says `no room left before the reset`. The Runs day table
|
|
266
|
+
never cuts a duration (`3h21m`, not `3h2…`). The tab row stays five tabs on
|
|
267
|
+
the Help page. Charts draw from fourteen hues and never give two series in
|
|
268
|
+
one chart the same colour (the 30-day Trends had three purples and the
|
|
269
|
+
Models chart seven models in two colours); slices stack smallest at the
|
|
270
|
+
bottom, biggest on top; the legend wraps to name every series instead of
|
|
271
|
+
hiding the rest behind `+N more`. The mouse now lights the clickable row
|
|
272
|
+
under the pointer in reverse video, the way the Mod pane does (a whole row
|
|
273
|
+
when it is the row's only target, just the button when several share a
|
|
274
|
+
row); the TUI asks the terminal for motion reports and releases them on the
|
|
275
|
+
way out. Only list rows light up (a run in the table, a step in a plan);
|
|
276
|
+
chart columns, tiles, meters and tabs do not, and inside a lit row only the
|
|
277
|
+
words reverse — a step's bar and the plan strip's `──○──` connectors keep
|
|
278
|
+
their colours. Home's breakdown percents sit right-aligned in one column, so `2%`
|
|
279
|
+
lines up under `19%`.
|
|
280
|
+
- dashboard, **no longer laggy**: a CPU profile of the idle TUI showed it busy
|
|
281
|
+
61% of the time. Every one-second tick re-discovered Claude accounts through
|
|
282
|
+
the macOS keychain (`security`, 100–300 ms, blocking), re-ran the pool-rename
|
|
283
|
+
migration check over the whole state.json, and on Runs re-read all 300 run
|
|
284
|
+
directories. Usage now reloads every 10 s, the keychain read is cached for a
|
|
285
|
+
minute, the migration check is remembered per file fingerprint, the run
|
|
286
|
+
catalogue rebuilds only when an active run changes or 15 s pass, and the
|
|
287
|
+
unknown-project fallback asks `git` once per working directory. Idle busy
|
|
288
|
+
share after: 14%. The painter now rewrites only the rows that changed
|
|
289
|
+
since the last frame (a spinner tick is a few dozen bytes instead of the
|
|
290
|
+
whole 120×40 screen), which is what a phone or a remote terminal feels.
|
|
291
|
+
- dashboard: no page draws an empty track where it has no data. The `Run`
|
|
292
|
+
page's budget block is titled `licence this run used`, shows whole percents
|
|
293
|
+
(`≈ 0.4% of the weekly plan`, as a one-cell `▏` sliver rather than an empty
|
|
294
|
+
bar), writes `free model · no licence meter` for an unmetered pool instead of
|
|
295
|
+
a dotted track and a `—`, and collapses to a single sentence when no pool is
|
|
296
|
+
metered. The plan strip's pool row prints the pool name alone when the cell
|
|
297
|
+
cannot hold pool and model. A paused run's live block says
|
|
298
|
+
`paused · bullswarm workflow resume <id> continues it` instead of `waiting for
|
|
299
|
+
the next dispatch`, and the ETA footnote is
|
|
300
|
+
`ETA —: <step> has no recorded duration yet` rather than
|
|
301
|
+
`N of N remaining steps recorded no expected duration`. The same rule removed
|
|
302
|
+
the dotted `meter unavailable` tracks from `Stats` `Pools`.
|
|
303
|
+
|
|
304
|
+
- dashboard: the visual-fidelity pass now composes `Home` with a four-column
|
|
305
|
+
7-day breakdown and a budget block, `Run` with a plan strip, per-step bars
|
|
306
|
+
and a `budget` / `live` / `so far` band, `Budget` with seven rows per pool
|
|
307
|
+
plus one consolidated footer, coloured stacked columns on `Stats` `Trends`,
|
|
308
|
+
and fixed columns on `History`, reducing its phone form from two rows per run
|
|
309
|
+
to one at 55 columns.
|
|
310
|
+
- dashboard: the shared palette keeps its four existing meter colours and adds
|
|
311
|
+
seven named roles, including the four-shade heat ramp; `Help` groups the `r`,
|
|
312
|
+
`b`, `s`, `y`, and `f` keys into 35 body rows at 55 columns (from about 51)
|
|
313
|
+
and drops the nonexistent `Budget` sub-tabs.
|
|
314
|
+
- dashboard: the `Run` plan strip closes a fan the way the prototype does —
|
|
315
|
+
each lower branch hangs under the `┬` that opened it, is ruled across to the
|
|
316
|
+
joint, and the last one ends in `┘` under the closing `┬`; it used to draw a
|
|
317
|
+
`┴` with nothing beneath it when the lower branch was the longer name. The
|
|
318
|
+
`Stats` `Models` footnote says `no per-model money` in words instead of
|
|
319
|
+
naming the `apiEquivalentUsd` field.
|
|
320
|
+
- dashboard: the phone layouts now put one item on one row where the page is a
|
|
321
|
+
list — `Stats` `Models`, `Stats` `Projects` (with its sparkline beside the
|
|
322
|
+
name), `Stats` `Pools`, `Fleet` and `History`, plus `Home`'s today tiles and
|
|
323
|
+
per-step bars. `Budget`'s seven-row pool block, `Home`'s `budget · this week`
|
|
324
|
+
pool and the `Runs` list keep their extra lines on purpose.
|
|
325
|
+
- dashboard: `Stats` `Models` draws a worker-minutes-per-day chart whose series
|
|
326
|
+
are coloured to match the model list beneath it, and `Stats` `Projects` draws
|
|
327
|
+
a sparkline beside every project name. At a 200-column frame a project keeps
|
|
328
|
+
name, sparkline and figures on one row, with the sparkline capped at four
|
|
329
|
+
cells per measured day so seven days read as a shape rather than a
|
|
330
|
+
frame-wide run of repeated glyphs.
|
|
331
|
+
- dashboard: `Stats` rows built from the shared `compactRow` now lay their
|
|
332
|
+
fields out on the frame minus their one-cell indent, so the last field no
|
|
333
|
+
longer lost its final character to the frame's own truncation (`p50 5…`
|
|
334
|
+
where `p50 54m` fits).
|
|
335
|
+
- dashboard: every page now composes to a 200-column frame instead of stopping
|
|
336
|
+
at the 120-column composition — measured on the real binary, the widest
|
|
337
|
+
painted row is 200 cells on every page except `Fleet`, which reaches 188.
|
|
338
|
+
- dashboard: `Run` draws a bar for the running step inside the plan strip, using
|
|
339
|
+
an empty indeterminate bar when the step recorded no expected duration, and
|
|
340
|
+
`Step` keeps its task summary short enough that the `output` and `artifacts`
|
|
341
|
+
sections both start inside a 26-row phone frame rather than below it.
|
|
342
|
+
- data: the pass keeps real figures and the `≈`/basis rule. An undeclared
|
|
343
|
+
subscription price, an expected duration, and a per-run licence draw
|
|
344
|
+
deliberately remain blank with their reasons. The months-wide heatmap does
|
|
345
|
+
not move over: `Stats` uses only history that exists and, when there are no
|
|
346
|
+
measured days, renders a blank with `No workflow history yet — the heatmap
|
|
347
|
+
has no measured days.` rather than inventing the prototype's number.
|
|
348
|
+
- docs: `README.md` and the observing guide now describe the shipped
|
|
349
|
+
composition and the same data-honesty rule, and name the three places whose
|
|
350
|
+
phone form deliberately keeps more than one row per item rather than claiming
|
|
351
|
+
a universal one-row layout.
|
|
352
|
+
|
|
353
|
+
- routing: measured pacing rates now charge timed in-flight work at the actual
|
|
354
|
+
`rate × remaining minutes` with no 3-point floor, so an expiring-soon pool
|
|
355
|
+
with a known burn rate is not demoted by a tie-breaker meant for unmeasured
|
|
356
|
+
pools. `config.inflightPenaltyPct` remains the per-agent fallback for pools
|
|
357
|
+
without a measured rate (and for in-flight records with unknown duration).
|
|
358
|
+
- workflow: every attempt record now carries `routeWhy` (the router's reason)
|
|
359
|
+
and `routeCandidates` (each pool's effective surplus, urgency state and
|
|
360
|
+
pacing forecast at pick time); `workflow action show --json` and
|
|
361
|
+
`runs result --json` print them, and older state files still load.
|
|
362
|
+
- dashboard: the full-screen surface now has eight pages — Home, Runs, Run,
|
|
363
|
+
Step, Budget, Stats, Fleet, and Help (History is the day table inside Runs,
|
|
364
|
+
see above). Home answers what happened today and what is active; Runs is the
|
|
365
|
+
active block over the day-grouped table; the integration actions sit on Help; Run
|
|
366
|
+
and Step explain a workflow and one action; Budget shows quota, measured
|
|
367
|
+
worker-time share, labelled money, fit, and biggest workflows; Stats covers
|
|
368
|
+
Overview, Trends, Pools, Models, and Projects; History is the dated timeline;
|
|
369
|
+
Fleet shows lane/provider rungs; Help names the controls. Home, Stats, and
|
|
370
|
+
History read the rollup index instead of parsing every run directory on each
|
|
371
|
+
refresh.
|
|
372
|
+
- workflow: every finished V2 run now records a per-run `rollup.json` and
|
|
373
|
+
appends an idempotent line to `~/.bullswarm/history/runs.jsonl`. On the real
|
|
374
|
+
corpus used for the release, `294` run directories yielded `181` indexed
|
|
375
|
+
finished V2 records; `105` legacy and `8` unfinished directories were left
|
|
376
|
+
out. History spans `15` recorded days, and `94` of the `188` V2 results are
|
|
377
|
+
verified.
|
|
378
|
+
- dashboard, **keys rebound** — three keys changed meaning, one is gone, and
|
|
379
|
+
seven are new. Rebound: `r` opened nothing and refreshed the view in 0.32.0
|
|
380
|
+
and now opens **Runs** (the 1 s timer refreshes, so no key needs to);
|
|
381
|
+
`b` was **move out** and now opens **Budget** (`Esc` and `←` are move out);
|
|
382
|
+
`Tab` was **next workflow** and now cycles the current page's **sub-tabs**
|
|
383
|
+
(`Shift+Tab` cycles workflows, as it did). Removed: the Usage page is
|
|
384
|
+
replaced by **Budget** (`b`) and **Fleet** (`f`), so **`u` is gone**, and
|
|
385
|
+
Usage's `l`/`p` lane/provider grouping keys are now **`Tab`** on Fleet.
|
|
386
|
+
New: `s` Stats, `y` History, `f` Fleet, `p` cycles the period, `Home` top,
|
|
387
|
+
`End` bottom, and `ctrl+s` copies the screen. Moved, not rebound: `i`, `/`
|
|
388
|
+
and `a` are **Runs-page** keys now that Home is the prototype's Home.
|
|
389
|
+
Unchanged: `1`–`9`, `Enter`/`→`/`l`, the arrows, `PgUp`, `PgDn` and `q`.
|
|
390
|
+
(Corrected: an earlier draft of this entry said `h`/`?` were unchanged. They
|
|
391
|
+
are not — `h` opened Help in 0.32.0 and now opens **Home**, and `?` alone
|
|
392
|
+
opens **Help**. `y` no longer opens a History page; it opens **Runs** at the
|
|
393
|
+
first day header of its history table. See the two entries below.)
|
|
394
|
+
- accounting: money and licence figures are either measured or carry `≈` with
|
|
395
|
+
their basis. API-equivalent estimates use the recorded per-attempt estimate;
|
|
396
|
+
a licence draw uses the measured pool rate multiplied by measured worker-
|
|
397
|
+
minutes and stays blank when no rate is available; an undeclared subscription
|
|
398
|
+
price stays null. On the release corpus, `113` of `188` V2 runs carried a
|
|
399
|
+
cost figure and the other `75` did not, so no zero was manufactured for them.
|
|
400
|
+
- workflow: `bullswarm workflow reindex [--json] [--force]` backfills finished
|
|
401
|
+
runs from their durable directories, skips legacy and unfinished runs,
|
|
402
|
+
repairs missing index entries, and can rebuild existing rollups with
|
|
403
|
+
`--force`. The JSON form reports `ok`, `indexPath`, `scanned`, `written`,
|
|
404
|
+
`skipped`, `legacy`, `unfinished`, `present`, `failed`, and `failures[]`.
|
|
405
|
+
- docs: the observing guide, README, CLI reference, command help, and Claude
|
|
406
|
+
Mod README now describe the eight pages, the full key map, the measured/
|
|
407
|
+
labelled money rule, and the Mod's smaller Run/Step/Usage-Pools surface.
|
|
4
408
|
|
|
5
409
|
## 0.32.1 — free models first, with graceful failover
|
|
6
410
|
|
package/README.md
CHANGED
|
@@ -55,9 +55,10 @@ as a Claude Mod (a plugin of TypeScript function hooks, behind
|
|
|
55
55
|
prompt, the pools named in the model's context, Claude's general-purpose
|
|
56
56
|
subagents routed to whichever pool has surplus and answered with the
|
|
57
57
|
verified output, and the verdict appended to every `bullswarm run` the model
|
|
58
|
-
runs. The Mod is the dashboard's read-only counterpart:
|
|
59
|
-
Usage
|
|
60
|
-
|
|
58
|
+
runs. The Mod is the dashboard's read-only counterpart: its pane shows Run,
|
|
59
|
+
Step, and the Usage/Pools view in the same meter colours. It does not expose
|
|
60
|
+
the dashboard's Home, Runs, Budget, Stats, Fleet, or Help pages, and
|
|
61
|
+
it has no edit or install action. See [mods/bullswarm/README.md](mods/bullswarm/README.md).
|
|
61
62
|
|
|
62
63
|
Three ways to load it:
|
|
63
64
|
|
|
@@ -83,12 +84,67 @@ over the skills-dir link, and Claude says so at startup.
|
|
|
83
84
|
Once setup is complete, bare `bullswarm` opens the dashboard on its Home page.
|
|
84
85
|
Use `bullswarm --setup` or `bullswarm setup` to open setup again, and use
|
|
85
86
|
`bullswarm workflow tui` when you want the explicit dashboard command. The
|
|
86
|
-
pages
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
87
|
+
eight pages answer different questions:
|
|
88
|
+
|
|
89
|
+
| Page | What it answers |
|
|
90
|
+
|---|---|
|
|
91
|
+
| Home | What happened today, what is verified, what measured or labelled money/licence data exists, and what is active or recent; includes pool/model/project breakdowns. |
|
|
92
|
+
| Runs | Which workflows are active or historical — one `active` block and the History day table below it — plus the product commands; the integration line and `/` filter live here, and `?` carries the agents and `run it` blocks. |
|
|
93
|
+
| Run | Where one workflow is in its plan, which workers are live or next, and its ETA and budget shares. |
|
|
94
|
+
| Step | What one action is doing: route, attempt, activity, verdict/failure, prompt, usage, events, output, and artifacts. |
|
|
95
|
+
| Budget | Pool quota windows, measured worker-minutes versus rest, measured or `≈` money, fit, and biggest workflows. |
|
|
96
|
+
| Stats | Runs, spend, worker-minutes, and verification over 7d/30d/all, by pool, model, and project. |
|
|
97
|
+
| Fleet | Lane/provider model and reasoning rungs, records, meter state, and the setup edit hand-off. |
|
|
98
|
+
| Help | Every key, click, layout rule, and dashboard command. |
|
|
99
|
+
|
|
100
|
+
The visual-fidelity pass keeps the same real numbers while composing and
|
|
101
|
+
colouring these pages like the approved prototype. At 55 columns every Home
|
|
102
|
+
today tile and per-step bar, every Stats model, project and its sparkline, every
|
|
103
|
+
Stats and Fleet pool row, and every run row in the Runs history table keeps one
|
|
104
|
+
row per item on the phone; Budget's per-pool block (a header over `used`,
|
|
105
|
+
`by bullswarm`, `room` and `so far`), Home's `budget · this week` pool (meter
|
|
106
|
+
plus a reset line, as the prototype draws it) and the Runs `active` entry are
|
|
107
|
+
the deliberate exceptions. At 200 columns every page composes to the frame
|
|
108
|
+
rather than capping at the 120-column composition. Estimated figures still
|
|
109
|
+
carry `≈` and their basis; a figure that cannot be measured is a line of words
|
|
110
|
+
saying so — no page draws an empty or dotted track for missing data.
|
|
111
|
+
|
|
112
|
+
Every page has a sticky header, a page tab row, and a sticky bottom nav. The
|
|
113
|
+
tab row is five tabs — Home, Runs, Budget, Stats, Fleet — with Run and Step
|
|
114
|
+
marking Runs, and Help shown only while it is open. The shared key table is:
|
|
115
|
+
|
|
116
|
+
| Key | Does |
|
|
117
|
+
|---|---|
|
|
118
|
+
| `r` | open Runs; the view refreshes itself, so `r` is no longer refresh |
|
|
119
|
+
| `b` | open Budget; it is no longer move-out |
|
|
120
|
+
| `s` | open Stats |
|
|
121
|
+
| `y` | open Runs at its History table (the first day header), except that it confirms a pending stop |
|
|
122
|
+
| `f` | open Fleet |
|
|
123
|
+
| `h` | open Home |
|
|
124
|
+
| `?` | open Help |
|
|
125
|
+
| `1`–`9` | open that run from the nav |
|
|
126
|
+
| `Tab` | cycle the current page's sub-tabs |
|
|
127
|
+
| `Shift+Tab` | cycle workflows |
|
|
128
|
+
| `p` | cycle the period on Home and Stats |
|
|
129
|
+
| `Esc` / `←` | move out one page, then Home |
|
|
130
|
+
| `↑`/`k`, `↓`/`j` | move one line |
|
|
131
|
+
| `Enter` / `→` / `l` | open the selected run, step, tab, or action |
|
|
132
|
+
| `PgUp` / `PgDn` | scroll one screen |
|
|
133
|
+
| `Home` / `End` | jump to the top or bottom |
|
|
134
|
+
| `ctrl+s` | copy the screen through OSC 52, falling back to `pbcopy`, `wl-copy`, or `xclip` |
|
|
135
|
+
| `q` | quit the dashboard; workflows keep running |
|
|
136
|
+
|
|
137
|
+
The 0.33.0 rebinding is deliberate: `r` no longer refreshes, `b` no longer
|
|
138
|
+
moves out, and `Tab` no longer cycles workflows. Esc/left moves out, the view
|
|
139
|
+
refreshes itself, and Shift+Tab still cycles workflows. Runs also provides `/`
|
|
140
|
+
(filter), `a` (active/all), and `i` (install); Run provides `o`, `v`, and `t`,
|
|
141
|
+
and Fleet provides `e` for setup. Click tabs, tiles, bars, runs, steps, dates,
|
|
142
|
+
or controls, or use the wheel to scroll.
|
|
143
|
+
|
|
144
|
+
Home, Runs, Budget, and Stats read a per-run rollup that every finishing
|
|
145
|
+
run appends to `~/.bullswarm/history/runs.jsonl`. After upgrading, backfill
|
|
146
|
+
the runs that finished before 0.33.0 once with `bullswarm workflow reindex`;
|
|
147
|
+
legacy runs get a minimal record and only runs still in flight are skipped.
|
|
92
148
|
|
|
93
149
|
One bounded outcome — a task with a clear finish line:
|
|
94
150
|
|
|
@@ -134,9 +190,11 @@ instead.
|
|
|
134
190
|
mechanical chores — not assigned to a fixed pool ahead of time.
|
|
135
191
|
- Among the pools that can do the work, the one furthest behind its own quota
|
|
136
192
|
pace (the most unspent surplus) wins, so quota doesn't expire unused.
|
|
137
|
-
- A pool
|
|
138
|
-
|
|
139
|
-
|
|
193
|
+
- A pool close to its rolling 5-hour usage ceiling gives way to one with
|
|
194
|
+
headroom only while another pool is actually behind its own pace — it is an
|
|
195
|
+
ordering penalty, not a cutoff. A step may run a pool all the way to 100% of
|
|
196
|
+
that window, because if the provider stops the worker at the wall the retry
|
|
197
|
+
is briefed on what it had already written.
|
|
140
198
|
- A pool whose weekly or monthly subscription window is about to reset gets
|
|
141
199
|
priority for its remaining surplus, so quota doesn't run out the clock
|
|
142
200
|
unspent.
|
|
@@ -198,7 +256,7 @@ page maps its pages, keys, and mouse controls.
|
|
|
198
256
|
| [Concepts](https://bulls-work.github.io/bullswarm/guide/concepts) | Pools, lanes, surplus, the two windows, verdicts, quarantine, and the run directory |
|
|
199
257
|
| [Run one task](https://bulls-work.github.io/bullswarm/guide/run) | Every `bullswarm run` option, and what each verdict asks you to do |
|
|
200
258
|
| [Workflows](https://bulls-work.github.io/bullswarm/guide/workflows) | Authoring the program `workflow goal` executes: territories, dependencies, integration, acceptance |
|
|
201
|
-
| [Observing runs](https://bulls-work.github.io/bullswarm/guide/observing) | `workflow watch`, the Home/Run/Step/
|
|
259
|
+
| [Observing runs](https://bulls-work.github.io/bullswarm/guide/observing) | `workflow watch`, the Home/Runs/Run/Step/Budget/Stats/Fleet/Help dashboard pages, keys, mouse, and terminal glyphs |
|
|
202
260
|
| [Routing](https://bulls-work.github.io/bullswarm/guide/routing) | How a pool is picked: pace, 5-hour headroom, urgency, load, quarantine |
|
|
203
261
|
| [CLI reference](https://bulls-work.github.io/bullswarm/reference/cli) | Every verb and nested subcommand, with its flags and defaults |
|
|
204
262
|
| [Workflow program](https://bulls-work.github.io/bullswarm/reference/program) | The `bullswarm.workflow.program.v2` document: action fields, kinds, validation rules |
|