Repository navigation
fix(keep-hall): war table dot, honest pulse — lands the good half of PR #17 - #66
Merged
Merged
Conversation
… 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
pulse.ts— a live endpoint whosesot_statusisofflineis demoted topaper; seed-fixture rooms (agent_real === false) are forcedempty, so the hall never renders an idle chip the API didn't furnish.keep-hall.tsx— the War Table's 12px status dot swaps cyan→amber while the bridge reports a pending gate, via the existinggetPendingGatesserver fn (same honest path as the panel: bridge unreachable = 0, never invented). Polls 30s behind adocument.hiddenguard; refetches after each seal. Deliberately NO glow/light — plain color swap..env.example— fix the stale:8088/status.jsonexample; the box targets127.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/gatesfetches (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/genaidep,as anycasts, and a competing AGENTS.md.