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>
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>
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