bullswarm 0.33.1 → 0.33.2
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 +27 -0
- package/docs/design/owner-review-2026-09-19/stats-overview-current.png +0 -0
- package/docs/design/stats-frames-0.33.2/README.md +24 -0
- package/docs/design/stats-frames-0.33.2/budget-120.png +0 -0
- package/docs/design/stats-frames-0.33.2/budget-55.png +0 -0
- package/docs/design/stats-frames-0.33.2/spending-120.txt +22 -0
- package/docs/design/stats-frames-0.33.2/spending-55.txt +47 -0
- package/docs/design/stats-frames-0.33.2/stats-spending-120.png +0 -0
- package/docs/design/stats-refactor-0.33.2.md +571 -0
- package/docs/guide/observing.md +13 -10
- package/docs/plans/0.33.2-stats.goal.txt +9 -0
- package/docs/plans/0.33.2-stats.program.json +126 -0
- package/docs/reference/cli.md +2 -2
- package/package.json +1 -1
- package/src/workflow/dash-kit.js +186 -20
- package/src/workflow/dashboard.js +231 -16
- package/src/workflow/stat-kit.js +1032 -0
- package/src/workflow/stats-model.js +46 -0
- package/src/workflow/stats-view.js +455 -1742
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# bullswarm changelog
|
|
2
2
|
|
|
3
|
+
## 0.33.2 — one way to draw a chart, and every bar answers
|
|
4
|
+
|
|
5
|
+
- stats: every Stats page now uses one shared set of panels, charts, legends,
|
|
6
|
+
summary cards, and hover regions; the old page-specific chart drawing is gone.
|
|
7
|
+
- stats: Spending puts its dated chart on the left and four real-data breakdowns
|
|
8
|
+
on the right, with a By Pool or By Model switch that changes both sides.
|
|
9
|
+
- stats: the tabs are now exactly Spending, Pool, Model, and Project, with the
|
|
10
|
+
same component order and spacing on every tab.
|
|
11
|
+
- stats: every Stats bar shows its name, value, and share on hover, and a click
|
|
12
|
+
pins the label until Escape or the next click without recolouring the bar.
|
|
13
|
+
- stats: Stats fits 55, 120, and 200 columns without horizontal scrolling, and
|
|
14
|
+
the saved 55- and 120-column Spending frames use real rollup data.
|
|
15
|
+
- stats: the guide now explains the four tabs and their controls, and the full
|
|
16
|
+
test suite is required to finish twice without failures or cancellations.
|
|
17
|
+
- bars: a reading worth anything at all now draws at least a sliver instead of
|
|
18
|
+
rounding down to an empty track. On a six-cell panel bar `codex` at 4.3%,
|
|
19
|
+
`grok` at 6% and `command-code` at 1% all painted nothing, which reads as a
|
|
20
|
+
pool that was never used. The sliver is one cell in the geometry too, so it
|
|
21
|
+
answers on hover like any other bar, and a true zero is still empty.
|
|
22
|
+
- stats: the two-column layout keeps its colour. At 80 columns and up the page
|
|
23
|
+
composes the dated chart on the left and the panel grid on the right, and
|
|
24
|
+
both composition steps padded their cells through the helper that strips the
|
|
25
|
+
colour codes, so every bar came out grey while the legend beside it stayed
|
|
26
|
+
coloured — a chart titled "by pool" painted all five pools identically.
|
|
27
|
+
- stats: no two series in one chart share a hue. Colours were hashed per name,
|
|
28
|
+
which put `claude-code:wati` and `codex` on the same blue.
|
|
29
|
+
|
|
3
30
|
## 0.33.1 — say what a number is, or say you do not know
|
|
4
31
|
|
|
5
32
|
- budget: the page is the pool meters and nothing else. Every window a pool
|
|
Binary file
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Saved Spending frames
|
|
2
|
+
|
|
3
|
+
`spending-55.txt` and `spending-120.txt` are the Stats Spending tab rendered at
|
|
4
|
+
those exact widths from real rollups, with the colour codes stripped and
|
|
5
|
+
nothing else changed. They are regenerated, never transcribed:
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
cp -Rp ~/.bullswarm /tmp/bsw-frames
|
|
9
|
+
BULLSWARM_HOME=/tmp/bsw-frames node scripts/stats-frames.mjs docs/design/stats-frames-0.33.2
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
The copy matters: the generator refuses to read the live `~/.bullswarm`, and a
|
|
13
|
+
workflow writing into the live home while a frame is captured would make the
|
|
14
|
+
frame unreproducible.
|
|
15
|
+
|
|
16
|
+
Because the frames come from a real home, the figures move with the data. What
|
|
17
|
+
should not move without a code change is the layout: the 55-column frame is one
|
|
18
|
+
column of full-width panels, the 120-column frame is the dated chart on the
|
|
19
|
+
left and the two-by-two panel grid on the right, and no line exceeds its width
|
|
20
|
+
(the generator exits non-zero if one does).
|
|
21
|
+
|
|
22
|
+
Last regenerated 2026-09-19, after small readings stopped rounding down to an
|
|
23
|
+
empty bar: `codex` at 4.3%, `command-code` at 1% and `grok` at 6% now each draw
|
|
24
|
+
a one-cell sliver instead of a blank track.
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Spending Pool Model Project
|
|
2
|
+
Spending · 7d · 30d · all [By Pool] By Model
|
|
3
|
+
|
|
4
|
+
── Summary · 7d ────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
|
+
Totals 60 workflows · 7226.66 worker-minutes · ≈$7.11 API-equivalent · 7 active days
|
|
6
|
+
── Spend per day · API-equivalent · pool ─────────────────│ ── Pool spend ─────────────── ── Pool worker-minutes ─────
|
|
7
|
+
≈$2.50 ┤ ▆▆▆▆ │ codex ≈$0.30 4.3% codex 36h26m 30.3%
|
|
8
|
+
≈$2.00 ┤ ████ │ claude… ≈$3.00 42.2% claude… 16h22m 13.6%
|
|
9
|
+
≈$1.50 ┤ ████ │ wati ≈$3.31 46.6% wati 21h16m 17.6%
|
|
10
|
+
≈$1.00 ┤ ████ ▂▂▂▂ │ comman… ≈$0.07 1% comman… 16h49m 14%
|
|
11
|
+
≈$0.50 ┤ ████ ████ │ grok ≈$0.42 6% grok 9h14m 7.7%
|
|
12
|
+
≈$0.00 ┤ ████ ▅▅▅▅ ████ ▁▁▁▁ │ +4 more — scroll for more +4 more — scroll for more
|
|
13
|
+
┼13 Sep 15 Sep 17 Sep 19 Sep │
|
|
14
|
+
│ ── Project runs ───────────── ── Outcome & duration ──────
|
|
15
|
+
│ system 20 runs 33.3% Status 54 completed · 6 ot…
|
|
16
|
+
│ bullsw… 16 runs 26.7% Verifi… 31 verified 51.7%
|
|
17
|
+
│ bullse… 11 runs 18.3% Requir… 241/307 passed 78.5%
|
|
18
|
+
│ platfo… 10 runs 16.7% Median… 56m median
|
|
19
|
+
│ repo 2 runs 3.3% Longes… 9h03m maximum
|
|
20
|
+
│ e2…repo 1 run 1.7%
|
|
21
|
+
Legend ● claude-code ● claude-code:wati ● codex ● command-code ● grok
|
|
22
|
+
Basis · the recorded API-equivalent estimate per pool.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Spending Pool Model Project
|
|
2
|
+
Spending · 7d · 30d · all [By Pool] By Model
|
|
3
|
+
|
|
4
|
+
── Summary · 7d ───────────────────────────────────────
|
|
5
|
+
Totals 60 workflows · 7226.66 worker-minutes · ≈$7.11 …
|
|
6
|
+
── Spend per day · API-equivalent · pool ──────────────
|
|
7
|
+
≈$2.50 ┤ ▆▆▆▆
|
|
8
|
+
≈$2.00 ┤ ████
|
|
9
|
+
≈$1.50 ┤ ████
|
|
10
|
+
≈$1.00 ┤ ████ ▂▂▂▂
|
|
11
|
+
≈$0.50 ┤ ████ ████
|
|
12
|
+
≈$0.00 ┤ ████ ▅▅▅▅ ████ ▁▁▁▁
|
|
13
|
+
┼Sep13 Sep14 Sep15 Sep16 Sep17 Sep18 Sep19
|
|
14
|
+
|
|
15
|
+
── Pool spend ─────────────────────────────────────────
|
|
16
|
+
codex ▏▒▒▒▒▒ ≈$0.30 4.3%
|
|
17
|
+
claude-code ▓▓▓▒▒▒ ≈$3.00 42.2%
|
|
18
|
+
wati ▓▓▓▒▒▒ ≈$3.31 46.6%
|
|
19
|
+
command-code ▏▒▒▒▒▒ ≈$0.07 1%
|
|
20
|
+
grok ▏▒▒▒▒▒ ≈$0.42 6%
|
|
21
|
+
+4 more — scroll for more
|
|
22
|
+
|
|
23
|
+
── Pool worker-minutes ────────────────────────────────
|
|
24
|
+
codex ▓▓▒▒▒▒ 36h26m 30.3%
|
|
25
|
+
claude-code ▓▒▒▒▒▒ 16h22m 13.6%
|
|
26
|
+
wati ▓▒▒▒▒▒ 21h16m 17.6%
|
|
27
|
+
command-code ▓▒▒▒▒▒ 16h49m 14%
|
|
28
|
+
grok ▏▒▒▒▒▒ 9h14m 7.7%
|
|
29
|
+
+4 more — scroll for more
|
|
30
|
+
|
|
31
|
+
── Project runs ───────────────────────────────────────
|
|
32
|
+
system 20 runs 33.3%
|
|
33
|
+
bullswarm 16 runs 26.7%
|
|
34
|
+
bullseye 11 runs 18.3%
|
|
35
|
+
platform 10 runs 16.7%
|
|
36
|
+
repo 2 runs 3.3%
|
|
37
|
+
e2e-repo 1 run 1.7%
|
|
38
|
+
|
|
39
|
+
── Outcome & duration ─────────────────────────────────
|
|
40
|
+
Status ▓▓▓▓▓▓ 54 completed · 6 other
|
|
41
|
+
Verified ▓▓▓▒▒▒ 31 verified 51.7%
|
|
42
|
+
Requirements ▓▓▓▓▓▒ 241/307 passed 78.5%
|
|
43
|
+
Median wall ▓▓▓▓▓▓ 56m median
|
|
44
|
+
Longest wall ▓▓▓▓▓▓ 9h03m maximum
|
|
45
|
+
Legend ● claude-code ● claude-code:wati ● codex
|
|
46
|
+
● command-code ● grok
|
|
47
|
+
Basis · the recorded API-equivalent estimate per pool.
|
|
Binary file
|