Skip to content

feat(app): Ravenstack Keep Phase 0–2 (read-only pixel observability) - #4

Open
jasandroidx wants to merge 2 commits into
ravenstackfrom
feature/keep-app-phase-0-2
Open

jasandroidx wants to merge 2 commits into
ravenstackfrom
feature/keep-app-phase-0-2

Conversation

@jasandroidx

Copy link
Copy Markdown
Owner

Summary

  • Phase 0: static Phaser Keep (app/web) + hand-authored map + placeholder sprites, driven only by state.json
  • Phase 1: stdlib poller/poll.py (read-only HTTP, atomic writes) mapping dashboard health → agents
  • Phase 2: draft OpenClaw hook pack (not installed) + events.jsonl fold/heal; real gate API still missing (/fortress/state 404)

Non-negotiables

  • No second gateway · no spend · county frozen · Tailnet bind only · no Fortress writes · draft-to-disk hooks only

How to run (Hetzner)

systemctl start tailscaled
TS_IP=$(tailscale ip -4)
cd /root/ravenstack-keep-app/app
cp -n data/state.example.json data/state.json
python3 -m http.server 8090 --bind "$TS_IP"
python3 poller/poll.py --config poller/config.example.json --root .
# open http://100.108.130.82:8090/web/

Kill

fuser -k 8090/tcp 2>/dev/null; pgrep -f 'ravenstack-keep-app/app/poller/poll.py' | xargs -r kill; true

Test plan

  • Open Keep over Tailscale; 4 live rooms + 1 unforged visible
  • Edit data/state.json analyst working → waiting_on_human → amber room + alert
  • Poller updates generated_at / tasks_running from live dashboard
  • Hook event fold sets waiting for one cycle; next poll heals without ground-truth gate

Add static Phaser Keep under app/web driven only by state.json,
stdlib poller with atomic writes + events.jsonl fold/heal rules,
and draft (not installed) OpenClaw keep-event-logger hook.

- Serve docs: Tailscale IP or 127.0.0.1 only (port 8090)
- Original 32×32 placeholder tiles/sprites + CREDITS.md
- County pipeline untouched; spend_month_usd stays null
Wrong path /fortress/state 404'd; ReClaw exposes /state (pending_approvals)
and /fortress-state. Map silent_auditor → analyst so War Table lights up
when compliance_audit approvals are pending. Read-only only.

This branch has not been deployed

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