os.freemem() leaves out the page cache, so a healthy Linux box looks full:
the production worker (CT 153, 512 MB) has 4 MB free but 449 MB
available, and showed as 99% used instead of about 12%.
- worker: heartbeat metadata adds availableMem from MemAvailable in
/proc/meminfo (falls back to os.freemem()); freeMem stays for old
servers.
- Workers tab and dashboard compute used memory from availableMem when
present, from freeMem for workers that predate it.
- Unit tests for the meminfo parsing and the fallback.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- #3: the list response includes waiting_for_input for each execution
(a running execution blocked on a prompt). The row shows it as
'waiting' (the design system's purple status) and the Waiting status
filter, which could never match, now finds it.
- #4: new only_internal=true filter (Gandalf and scheduler runs), used by
the Automated tab, so it pages and counts on the server like the Manual
tab; the client-side filter over one shared page is gone.
- Tests: integration for waiting_for_input and both server filters; UI
for the waiting status and the filter.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Production refused 1,052 of the UI's requests with 429 in one day: every
user arrives through the reverse proxy, so the per-IP limiter put the
whole team in one bucket, and each open page reloaded its whole list on
every live event (about two per Gandalf command).
- lib/ratelimit.js keys both limiters: a trusted SSO identity gets
user:<name>, a request with the valid Gandalf key gets 'gandalf' (an
invalid key falls back to the IP, so nobody can drain Gandalf's bucket),
everything else the IP. The API default goes from 300 to 1000 per
15 min per bucket.
- Pulse.util.throttle: live-event reloads on Executions, Dashboard and
Workers run at most once per 2 s (at once when idle, then once at the end
of the window). User actions still reload immediately.
- Unit tests for the keys. No visual change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Version row on each worker card: the short sha linked to the commit in
Gitea, or 'unknown' for a worker that doesn't report one. Updated live
with the rest of the card. Playwright checks all three test workers show
the checkout's HEAD.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the remaining dashes users can see:
- error page titles and headings, and the browser tab title: "|" or ":";
- the footer: "PULSE | TDS v1.2";
- the 401 message and two toasts: sentence breaks or a comma;
- the quick-command history and success line: "|";
- empty table cells: "-";
- the compare hint: "2 to 5".
No layout or behaviour changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace every em dash and en dash outside user-visible UI text with a
colon, comma, hyphen or "to". The UI strings and the vendored
web_template are handled separately.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Fix design-system class names that do not exist in base.css (.lt-alert--error,
.lt-form-hint); add shared .lt-modal-lg, .lt-field-error and .is-invalid rules
- Remove public/index.html and the public/base.js symlink
- package.json: start script, correct main
- README: vendored design system, Web UI section, new env vars, read-only dev mode
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HamVMDrA8RqhyxmUHgiqRp
- Dashboard, Workers, Workflows, Executions, Quick Command, Scheduler pages on the
shared layout, all behaviour via Pulse delegated actions (no inline handlers)
- Executions: server-driven Manual/Automated views, compare mode, detail modal with all
log types, ?open= deep link, cross-page re-run via sessionStorage
- Workflows: run modal (dry-run available for every workflow), create modal pre-filled
with the example definition
- Fix EJS comment in page-header partial that broke rendering
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HamVMDrA8RqhyxmUHgiqRp