Skip to content

fix(keep-hall): war table dot, honest pulse — lands the good half of PR #17 - #66

Merged
jasandroidx merged 2 commits into
ravenstackfrom
chore/land-pulse-glow
Sep 21, 2026
Merged

jasandroidx merged 2 commits into
ravenstackfrom
chore/land-pulse-glow

Conversation

@jasandroidx

Copy link
Copy Markdown
Owner

Extracts the two worthwhile refinements from #17 and stages them cleanly on ravenstack. #17 itself is closed: it was built on a Sep-4 base and several hunks would have reverted/regressed current work (see its close note).

This PR:

  1. pulse.ts — a live endpoint whose sot_status is offline is demoted to paper; seed-fixture rooms (agent_real === false) are forced empty, so the hall never renders an idle chip the API didn't furnish.
  2. keep-hall.tsx — the War Table's 12px status dot swaps cyan→amber while the bridge reports a pending gate, via the existing getPendingGates server fn (same honest path as the panel: bridge unreachable = 0, never invented). Polls 30s behind a document.hidden guard; refetches after each seal. Deliberately NO glow/light — plain color swap.
  3. .env.example — fix the stale :8088/status.json example; the box targets 127.0.0.1:8112/api/castle-map.

Build verified (npm run build:box, node-server preset).

Deliberately NOT carried from #17: its hardcoded :8120/api/gates fetches (self-404 in the built server — the UI doesn't proxy /api), bun-style tests that can't run under the repo's node runner, the unused @google/genai dep, as any casts, and a competing AGENTS.md.

… a paper seed

Ports the two worthwhile refinements from PR #17 onto the current
asPulse: a live endpoint whose sot_status is 'offline' is demoted to
paper, and seed-fixture rooms (agent_real === false) are forced empty
so the hall never renders an idle chip the API didn't furnish.
A 12px status dot on the War Table swaps cyan for amber when the
bridge reports a pending gate. Wired through the existing
getPendingGates server fn (same honest path as the panel itself:
bridge unreachable = zero). No light/glow added — a plain color swap.
Polls every 30s behind a document.hidden guard and refetches after
each seal. Also fixes the stale :8088/status.json example.
@jasandroidx
jasandroidx merged commit 5204db4 into ravenstack Sep 21, 2026
jasandroidx added a commit that referenced this pull request Sep 21, 2026
keep #66's getPendingGates import alongside #67's pickBarkAsync.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant