Repository navigation
Releases
v0.17.0
[0.17.0] - 2026-11-12
Added
- A REPLAY badge (#60, ADR 0039). While BattleDirector shows a replay, a small
REPLAYcard
wipes in at the top right, under the race update box, and wipes out when the replay ends. It is
a widget in/alland has its own/replaypage. Move it, size it and set its plate and text
size in/config. It draws nothing outside a replay. - Hide the battle box during a replay (#447, ADR 0040). A new Hide during replay checkbox
on the battle row in/config. With it on, the battle box goes away while a replay is on
screen, the same way it does under caution, and comes back with the live battle when the replay
ends. It is off by default, so nothing changes until you turn it on. /configshows when you have unsaved changes (#440).Unsaved changesor
No unsaved changessits next to Save. If you close, reload or leave/configwith unsaved
changes, the browser asks first./configreopens your last profile (#440). It opens the profile in the URL
(/config?profile=race), else the last profile you saved or loaded in this browser, else
default. Before, it always opened the default layout, so edits looked lost after a reload.
Fixed
- A save, load or delete made while
/configis still opening your profile is no longer
overwritten by that late load (#448, #452). If that save, load or delete fails,/config
showsUnsaved changes. - A save or delete that worked no longer says "Save failed" when only the profile list failed to
refresh (#450).
Internal
v0.16.0
[0.16.0] - 2026-10-29
Added
- Every widget now has its own Vintage 70s and Vintage 80s look (#358). 0.15.0 gave the
whole overlay three themes, but only changed colours, fonts and plates. Each widget now has its
own vintage pass: the standings tower (#372), battle box (#384), driver and qualifying
lower-thirds (#385), Race Control (#386), on-board HUD (#387), race update box (#388), info
panel (#389), weather box (#390), and the/gridand/resultsslides (#391). Content, layout
and timing are identical in every look. - One driver-name setting for the whole overlay (#426, ADR 0038). A new driver names
control in/config, next to Theme, choosesshort(E.JAC) orfull(E. Jacobs) for every
widget that shows a name. Before, only the tower had this setting. Underfull, a widget
grows wider to fit the whole name and never cuts it or ends it in "…". Undershort, every name
slot always has room for the short form. The default isshort, and a tower already set to
fullmakes the whole overlayfull. - The
/configpreview renders every widget in the chosen theme (#392). The drag handles'
labels now sit above each widget instead of covering its content (#394). - The modern theme's fonts now ship with battlecast (#363), so it looks right offline too.
Changed
- A widget never gets taller because of a name (#428, #429). The on-board HUD is never
narrower than its throttle and brake row. A wider qualifying card can fit its timing row on
fewer lines, so it can get shorter. - A long info-panel header widens the panel instead of being cut (#414).
- Under a vintage theme, the lower-thirds' bar-wipe reveal has no shine (#405).
Fixed
- The bottoms of letters like g, y and p are no longer cut off in the driver lower-third's
name (#415). - The on-board HUD's THROTTLE label no longer runs into its bar (#430). Before, it did so in
the modern theme at every text size, and in the vintage themes at larger text sizes. - The
/gridand/resultsclass groups have their gap again (#409). - The vintage 70s class chips use an upright face (#412, #419), and the vintage 70s teal
subhead colour is consistent across widgets (#411). - A box sized to its text gets as wide as the theme's typeface needs (#399).
Internal
- Agents act on GitHub as the
battledirector-agentApp. PRs get formal reviews, a PR-shape
check and auto-merge, and rulesets now protectnext,prereleaseandmain(#365). - The release pre-flight checks the repo's live labels against
.github/labels.yml(#379). - The tower reads each name cell once (#375).
v0.15.0
[0.15.0] - 2026-10-25
Added
- Three looks for the whole overlay: Modern, Vintage 70s and Vintage 80s (#356, ADR 0026).
A new Theme setting in/configrestyles every widget at once, with the same content in
each look.?theme=vintage70or?theme=vintage80on a Browser Source URL overrides the
profile for that source. The vintage fonts ship with battlecast, so they load offline. This
release changes colours, fonts, plates and shadows only; each widget's own vintage pass
comes later. - A race update box (
/updates, #27, ADR 0023). It shows the producer's fastest laps,
leader changes, retirements and penalties one card at a time. Spec v1 gains an optional
race_eventslist (schemaVersionstays"1"), and the mock producer emits it. - A commentary / info panel (
/info, #62, ADR 0024). A compact strip whose header names
the event (round, name, track) and whose second row rotates free-text lines. The lines come
from the producer's new optionalinfo_linesand from the broadcaster's own lines in
/config. Spec v1 gains optionaleventandinfo_linesfields. - A compact weather box (
/weather, #208, ADR 0025). It shows air temperature, track
temperature and conditions from the new optionalsession.weather, in °C or °F. The info
panel can show the same readout as a card in its rotation.
Changed
- Every standalone page now follows its profile live (#348, #350, #366). A profile edited
in/configreaches/tower,/battle,/driver,/qualifying,/grid,/results,
/logos,/updates,/info,/weatherand/racecontrolwithout a refresh, and the
profile's Reduced motion setting now applies on all of them./racecontrolnow loads
?profile=at all, so its motion and theme follow it.
Fixed
- A Reduced motion profile no longer plays its first entrance at full motion (#354). Pages
wait for the profile before showing anything. A profile request that hangs gives up after
3 seconds and the page renders with the default settings. - A failed live-reload check keeps the current settings (#353) instead of dropping the
page back to the defaults while the companion server is briefly unreachable. - The mock producer no longer floods race updates at the race start (#346).
Internal
v0.14.0
Added
- The tower marks cars in a local yellow, and Race Control shows sector yellows (#205, #234,
ADR 0016). Spec v1 gains two optional fields (schemaVersionstays"1"): a car whose
yellow_involvedistruegets a yellow edge on the right side of its tower row, opposite the
class bar, andsession.sector_flagsputs aYELLOW S2chip in Race Control. The chip steps
aside under a full-course yellow or safety car. The mock producer emits both. - The tower marks finished, retired and disqualified cars (#206, #236, ADR 0017). A new
optional per-carfinish_statuscode (1finished,2DNF,3DQ) shows a chequered chip,
DNForDQat the end of the row, in race and results sessions only. The mock producer
emits it, and its director keeps retired and finished cars off camera (#237, #241). - Short driver names on the tower (#242, ADR 0018). The tower now shows
E.JACby default.
A new Name style setting,full, shows the whole name instead and widens the tower to fit
rather than cutting names off (#244, #245). - Class tags hide in a single-class session (#284, ADR 0022). A producer can send the new
optionalsession.multiclass: false, and every widget drops its class tags; the class colour
bars stay. A new Class Tags setting in/config(auto,show,hide) lets a broadcaster
override it with any producer. With tags hidden, a grouped tower,/gridand/results
render as one list in overall order. - The on-board HUD works as an "on board" name tag (#61, ADR 0021). Its identity strip now
leads with anON BOARDlabel and shows the car's position (P4), and it renders from the
on-camera subject alone — a producer that sends no live telemetry still gets the tag, in
/alland on/onboard. The hand-off with the driver lower-third keeps the name from
showing in both at once (see the #258 entry below for what it holds back). Position is a new
driverInfofield, on by default, so existing profiles show it after upgrading; untick
"position" under the on-board HUD's driver info in/configto hide it.
Changed
- Tower columns line up across every row, and the default tower is 400px wide (#248, #225,
ADR 0019, ADR 0020). Each column is as wide as its widest entry in the field, so gaps,
intervals and chips no longer shift row to row or as digits change. The battle box's default
position moves right to keep its gap. - The standalone
/towerfollows the profile (#286, #310). It now uses the profile's class
display and tower metrics, like the tower in/all. A?metrics=or?class=in the URL
still wins. - A persistent driver lower-third no longer hides the on-board HUD's telemetry (#258, ADR
0021). With the driver lower-third onpersistentand the HUD's "Wait for driver
lower-third" on, the HUD now holds back only its identity strip (theON BOARDlabel, name,
position, number, class and car), since the card already shows the name; the throttle,
brake, speed and gear row keeps rendering. Adwellcard still holds the whole HUD
until it wipes out. - Number fields in
/configapply when you press Enter or leave the field (#223, #261), not
on every keystroke, so typing120no longer jumps the widget through1and12first. The
arrow keys and spinner still step at once.
Fixed
- The battle box uses the same name as the lower-thirds and HUD (#283, #307, #313), and
shows—for a neighbour with no name. - The driver lower-third shows a position only when it is a real one (#257), and fires on
connect for a subject that is idle or missing data (#271, #289). Switching its trigger from
persistent to dwell now starts a fresh dwell (#268), and clearing the dwell box no longer snaps
it to 6 (#288). - The on-board HUD's hand-off with the driver card stays in step (#274, #282, #290), including
after the "Wait for driver lower-third" switch is turned off and on. Standalone/onboard
honours class tags (#293). - Dragging in the
/configpreview no longer gets stuck (#228, #273, #292), when the
preset or profile changes, a touch is cancelled, a second pointer joins, or the pointer is
released outside the window. - Blank or odd values in a profile fall back to the defaults (#224, #252, #265), for widget
geometry, canvas size, the dwell time and text-scale settings. - The tower is no longer 1px taller than its slot (#315).
- Bad producer data no longer breaks the overlay (#262, #279, #291, #303, #309, #314, #322).
Avehicleslist that is not a list, or holdsnull, non-objects, entries without a
slot_idor position, or two entries for the same car, is tolerated instead of blanking/all.
Internal
v0.13.0
Added
- The tower shows lapped cars as laps down, not as a bogus time (#203, ADR 0012). Spec v1
gains three optional per-vehicle integers —laps_behind_leader,laps_behind_aheadand
laps_behind_class_leader(schemaVersionstays"1"). A lapped car's gap cell reads
+1 LAP/+N LAPSinstead of the+0.000a0placeholder used to print; the interval
column does the same fromlaps_behind_ahead, and a grouped tower reads the class field.
Producers should keep sending a realgap_to_leaderfor lapped cars, never a0
placeholder. The mock producer emits all three. - The tower flashes each car's new lap time (#207, ADR 0014). When a car completes a lap,
its gap cell shows the lap time for 5 seconds, colored purple for a session or class best and
green for a personal best, then reverts. It is a new tower metric,lapFlash, on by
default. A standalone/tower?metrics=…URL that lists its metrics turns off anything it
omits, so an existing?metrics=interval,pitURL has it off — addlapflashto the list to
keep it. - Per-widget text size in
/config(#188, #215, ADR 0015). The tower, battle box, driver
and qualifying lower-thirds, Race Control and on-board HUD each get a Text size choice —
normal, large (×1.15) or larger (×1.30) — applied in/all. The editor widens the widget to
match so names don't get cut off, and switching back to normal puts the widget back exactly
where and how wide it was, even after it was moved or resized in between (#222).
Changed
- The battle box rides out a battle's flicker and steps aside under caution (#204, #216,
ADR 0013). When a battle ends, the last one stays on screen for 5 seconds — a new battle
setting,idleGraceSeconds(0–30,0turns it off) — so a producer toggling a battle at its
threshold no longer makes the box blink. A camera cut, a caution or leaving a racing mode ends
the hold at once. Under a full-course yellow or a safety car the battle box hides entirely. - The tower's gap column is right-aligned at a fixed width (#214), so the cells no longer
shift as times change length or a lap flash comes and goes.
Internal
- The mock producer starts from a realistic grid (#217), and its GT3 backmarker now picks
up its problem 15 seconds in and gets lapped, exercising the new lap-deficit fields.
v0.12.0
[0.12.0] - 2026-09-19
Added
- Broadcasters can override any class's color from
/config, with no fixed list (#197, ADR
0010). A new Class Colors section adds a row per class — any producer class string, not just
the five previously-curated ones — with a color picker; the override applies everywhere a class
chip or class bar renders (/alland the standalone/tower,/driver,/qualifying,
/battle,/grid, and/resultsroutes). Every class's default color, curated or not, is now
computed the same deterministic way, so an unmodified class renders exactly as it always has.
Fixed
- The
/configproducer feed status is now announced to screen readers, and Reconnect keeps
keyboard focus instead of dropping it (#174, ADR 0011). The feed-status readout carries
role="status", so every state change — connected, retrying, stopped — is announced as it
happens, whether or not anything was pressed. Activating Reconnect no longer drops keyboard
focus to the top of the page when the button unmounts in the same tick; it lands back on the
readout instead.
v0.11.1
[0.11.1] - 2026-09-18
Fixed
-
/confignames the demo producer's address instead of leaving it looking configured
(#183, ADR 0008). A profile that never set its own producer resolves to the bundled demo
producer's address,http://localhost:8080/events— a literal value baked in by
normalizeConfig, not blank, so an untouched profile's URL field looked exactly like a
broadcaster's own deliberately-typed one. A broadcaster whose own producer wasn't running on
port 8080 saw a fully "configured" page and an empty overlay, with no signal pointing at the
actual cause. The Producer section now names that address as the demo producer's whenever the
resolved URL matches it, whether the field is blank or already carries the literal default —
the same check covers profiles saved before this fix existed. -
Overlay text bumped for readability (#186). Base sizes in
typography.csswere small
relative to the project's stated 1920×1080 reference —--bc-size-nameat 19px, comparable
broadcast graphics typically run 24-28px+. Every size token is up roughly 13-19%, dialed back
from a larger first pass that clipped names and gaps inside the standings tower's fixed-width
row. -
A camera cut mid-dwell no longer visibly bumps the driver name-tag (#185). Cutting to a new
driver while the previous card was still showing forced a fresh reveal of the new card while the
old one played its ~620ms exit — and for that overlap, the two plates were plain flow siblings
with no shared anchor, so the entering card was pushed down by the exiting card's own height
until the old one cleared, then snapped back up. Confirmed live (a forced mid-dwell recut showed
an exact 82px displacement, self-correcting ~646ms later) before anchoring both plates to the
same position so they crossfade in place instead of displacing each other. A cut that arrives
after the previous card has already auto-hidden was never affected. -
Class badges show the producer's own class, not a generic placeholder (#190). The registry
behind the tower's class chip only recognizes five classes (GTP/LMP2/GT3/GT4/TCR); anything
else — GTE being the obvious gap for endurance-style series — degraded to a meaningless "CLS"
badge instead of the real name. The chip now always renders the producer's own string. -
Unrecognized classes get a real color instead of flat gray, grouped by name family (#192, ADR
0009). A class outside the five-entry registry is hashed into a color, deterministically, so
it never changes across a reload; a driver-category variant of another class — a name ending in
"Am", "Pro", "Pro-Am", "Gold", "Silver", "Bronze", or "Platinum" — shares its base class's hue at
a different shade (including when the base is one of the five curated classes, e.g. "TCR Am"
reads as a shade of TCR's own orange) rather than an unrelated color.
Internal
Contributor- and agent-facing only; no effect on what renders.
v0.11.0
Added
-
/configtells you whether the race feed is actually live (#158, ADR 0006). The Producer
section now carries a status readout beside the SSE URL field, driven by a real connection the
editor opens itself. Until now/configwas the one page in the app that never used the URL you
typed into it — its preview renders a bundled fixture, so the page looked identical whether the
producer was running, misconfigured, or absent, and the only "Connected." on screen referred to
the companion server that stores profiles, not to the race feed at all. A broadcaster who loaded
/allinto OBS and saw an empty overlay had to diagnose by elimination: wrong URL, dead
producer, or a layout with everything hidden. The readout is deliberately connection state, not
data flow — a producer sitting idle between sessions still reads as connected — and it is
transient UI, never written into the saved profile. -
A feed that will heal itself now looks different from one that won't — plus a Reconnect
control (#160, ADR 0007). "Not connected" is two different situations and the right response
to each is opposite. Opening battlecast before the producer, or a producer restarting
mid-session, recovers on its own: the readout says retrying and the correct action is to wait.
But a host that answers without serving an event stream — a URL on the wrong port or path, or a
producer that binds its port a moment before its event route goes live — makes the browser give
up permanently, after a single silent failure. That last one is a startup race an ordinary
broadcaster can lose just by launching things in the wrong order, and it left the editor dead
until the page was reloaded, with nothing on screen admitting it. That state now reads stopped,
and a Reconnect button appears whenever the feed is retrying or stopped to re-arm it in
place. The three-state behavior was measured against headless Chromium — the same engine OBS's
Browser Source runs — rather than assumed. -
Plate opacity is now a control in the
/configwidget row (#145).plateAlphashipped in
0.8.0 but could only be set by hand-editing a profile. Each of the six plate-painting widgets
(tower, battle, driver, qualifying, race control, on-board) gets a slider with its current value
shown to two decimals, so a broadcaster can dial a panel back over busy footage without leaving
the page.logoscomposites straight over the video with no panel, so it gets no control — and
withholding it never rewrites a hand-authored value that is already there. -
Standalone
/towersizes itself to its Browser Source (#140, ADR 0005). A Browser Source
pointed straight at/towerhad no configured slot to measure, so the row budget was unbounded
and the tower simply grew with the field — OBS then cropped whatever didn't fit, and the
pinning-and-cycling behavior added in 0.8.0 stayed inert because it needs a finite budget. The
route now derives its budget from the viewport it was given, so a large field pins and cycles
on/towerexactly as it does inside/all. The route also resolves the saved profile for the
first time, so the tower'smaxRowsandcyclesettings finally reach it.
Changed
- One SSE client for the whole app (#158). The overlay routes had drifted into four separate
copies of the same connection code. They are now a singleapp/src/lib/sseClient.js, so
reconnect behavior and error reporting are identical on every route instead of varying by which
copy a page happened to import.
Fixed
-
An oversized standalone tower on any theme not authored in pixels (#152). The
/towerinset
was read as a custom property's authored text rather than a resolved length:48pxparsed
correctly by luck, but a theme writing3remparsed to3— a plausible, positive number that
slipped past the sanity check and produced a slot about 90px too tall, which is precisely the
oversized tower the derived slot exists to prevent. The inset is now taken from the element's
computed padding, which the browser has already resolved to pixels whatever unit the token used,
and each edge is measured independently. -
Dragging a
/towersource no longer flickers the standings (#152). A resize burst now
re-fits at most once per animation frame and settles on the size the drag ended at. Every budget
change returns the cycling window to its first page, so an uncoalesced drag paged the tower
rapidly while you were still sizing it.
Internal
Contributor- and agent-facing only; no effect on what renders.
- Test coverage for the standalone tower's resize coalescing, which was specified but never
asserted (#155). - The guard that keeps SSE connection code consolidated now scans all of
src/rather than one
directory, parses code instead of matching raw text (so a mention in a comment no longer trips
it), reports which tree it read, and its test double resets cleanly (#164, #168). - Spec-first workflow skills for the repo's issue → spec → implementation flow, and corrections to
them: one PR with two commits rather than two PRs, PR-body rules that no longer assume the tests
start red, and a phase that no longer assumes every issue has tests to write (#154, #161, #163,
#166). .ai/spec/structure aligned with the current codebase — duplicate rule identifiers resolved, a
module map added for the/configeditor, andARCHITECTURE.mdrefreshed for the packaged
binary and recent ADRs (#149).
v0.10.0
The config editor now explains itself.
v0.9.0 put a downloadable battlecast.exe in your hands. This release means the editor you land in at http://localhost:7397/config makes sense without reading the repo.
Every widget row leads with a plain-language name and a description of what it actually puts on screen — always visible, no clicking. Every individual control has an ⓘ you can open for a sentence on what it changes.
The copy deliberately calls out the two behaviours that most often look like bugs: pit / tire-wear / fuel are suppressed on purpose in qualifying and practice, and the lower-thirds hide themselves between camera cuts.
Added
-
In-app help for every
/configcontrol. The config editor now explains itself, so a
broadcaster who downloaded the binary can learn what each widget does without leaving the page.
Two levels: each widget carries a human name and a short description of what it puts on screen,
rendered always visible in its row; each individual control carries help behind an ⓘ
revealed on demand (the panel is dense, but a nativetitle=tooltip signals nothing until you
hover it). The copy calls out the two behaviors that most often read as bugs — that pit, tire
wear and fuel are deliberately suppressed in qualifying and practice, and that the lower-thirds
hide themselves between camera cuts. -
app/src/lib/configHelp.js— all help copy as data in one module, keyed by widget and by
logical field name, withapp/src/lib/HelpTip.svelterendering it. Tests assert the maps match
the config surface the editor iterates (WIDGET_KEYS,TOWER_METRIC_FIELDS,DRIVER_INFO_FIELDS)
with no missing and no orphan entries, and that every rendered widget control resolves to an ⓘ —
so a knob added without help fails CI instead of shipping unexplained.
Fixed
-
Asking for help no longer changes the setting. The ⓘ affordances sit inside
<label>
elements, so a click on one would have activated the control beside it — opening the help for
"Reduced motion" would have switched reduced motion on. The button now cancels its own click.
Found by the test written for it, and confirmed against a real browser. -
/configlegend layout. The per-widget visibility checkbox, the widget name and its help
affordance now sit on one line; a bare<legend>had laid them out as block flow.
v0.9.0
The first release you can download and run.
Through v0.8.0 every release shipped source only — running battlecast meant cloning the repo, installing Node 22, and building the app. v0.9.0 attaches a self-contained battlecast.exe.
battlecast.exe --demo
--demo runs a simulated race alongside the server, so you can see the overlays working before wiring up a real producer. Then add Browser Sources in OBS at 1920x1080 pointing at http://localhost:7397/all, /tower, or /battle. Configure layout and logos at http://localhost:7397/config.
Profiles and uploaded logos are stored in a data/ folder next to the .exe, so the binary and its configuration move together.
The binary is unsigned, so Windows SmartScreen warns on first run ("More info" → "Run anyway"). Verify your download against
SHA256SUMS.txtif you'd like.
Added
-
Downloadable Windows binary —
battlecast.exe(ADR 0004). Releases now attach a
self-contained executable, so a broadcaster can run battlecast without installing Node or
building the app: download, run, point OBS athttp://localhost:7397/all. The overlay app
travels inside the binary as an embedded asset map, and profiles/logos are stored in adata/
folder next to the .exe rather than the working directory, so a double-clicked binary keeps
its configuration with it. Built bybun build --compile(make exe) — build-time only;
server/andproducers/mock/remain zero-dependency Node. -
--demo— first-run simulated race. The binary can start the bundled reference mock
producer alongside the server, so a fresh download renders a live race with nothing configured.
The mock binds:8080, which is already the app's built-inDEFAULT_SRC, so/allneeds no
?src=. Opt-in; the mock never starts implicitly. -
.github/workflows/release.yml. On a published release: runs the app + server suites, builds
the binary, and attaches it withSHA256SUMS.txt. Triggered byrelease: publishedrather than
the tag push, sinceRELEASING.mdpushes the tag before creating the release. The binary is
unsigned — SmartScreen warns on first run; the checksum is the integrity signal.
Changed
-
server/lib/static.jstakes an optional embedded asset map as a second source, resolved
after the on-diskdistDirso a dev rebuild is never shadowed by a stale generated map.
Embedded assets get the same content-type andnosnifftreatment as disk assets. -
producers/mock/server.jsis importable. It exportsrunSimulateMode/runFixturesMode
and self-starts only underrequire.main === module, and it no longer readsprocess.argvat
import time — argv belongs to whoever owns the process.node producers/mock/server.js simulate raceandPHASE=behave exactly as before.