# Donna HQ Command Center

Local read-only MVP for Corey's private Donna HQ dashboard. The shell now loads a local `snapshot.json` generated from read-only OpenClaw, reminders, and calendar/status commands.

## Open

Refresh the local snapshot:

```bash
cd /Users/coreylouton_oc/.openclaw/workspace
node projects/command-center/generate-snapshot.mjs
```

Serve the dashboard locally:

```bash
cd /Users/coreylouton_oc/.openclaw/workspace/projects/command-center
python3 -m http.server 8765
```

Then open:

```text
http://127.0.0.1:8765/
```

Opening `index.html` directly may show the static fallback because browsers often block local JSON fetches from `file://` pages.

## Tailscale Access

Donna HQ is also available privately through Corey's Tailscale network:

```text
http://100.84.234.71:8765/
```

The persistent Mac mini launcher is:

```text
~/Library/LaunchAgents/com.donna.hq.dashboard.plist
```

It runs:

```text
/Users/coreylouton_oc/.openclaw/workspace/projects/command-center/serve-dashboard.sh
```

The launcher waits for the Mac mini's Tailscale IPv4 address, refreshes `snapshot.json` once, and serves the dashboard on port `8765` bound to that Tailscale IP.

The browser reloads `snapshot.json` every 60 seconds. A separate LaunchAgent refreshes the snapshot every 5 minutes:

```text
~/Library/LaunchAgents/com.donna.hq.snapshot.plist
```

It runs:

```text
/Users/coreylouton_oc/.openclaw/workspace/projects/command-center/refresh-snapshot.sh
```

## Documents Tab

Longer Donna-drafted documents should go here:

```text
/Users/coreylouton_oc/.openclaw/workspace/projects/command-center/documents/
```

Supported file types: `.md`, `.txt`, `.html`, and `.pdf`.

After the next snapshot refresh, documents appear in the Documents tab and open in the dashboard preview panel.

## MVP Scope

- Today: Daily Brief at the top, immediate-attention items with local browser checkoff state, operating snapshot, and reusable morning brief prompt
- Reports: collapsible investor pipeline, business ops, personal brand, report library, and source-file sections
- BOC: collapsible Bedrooms of Comfort campaign planning, including the draft Labor Day 2026 campaign and approval gates
- Tasks/Cron: scheduled checks, reminders, and task counts from the snapshot
- Calendar: daily frame and calendar routing rules; events load when `gog` has an account configured
- System Status: OpenClaw, delivery channels, recent sessions, and local gateway health
- Safety: action controls are visible but disabled until permissions and access are scoped

## Current Data Sources

- `openclaw status --json`
- `openclaw health --json`
- `openclaw cron list --all --json`
- `openclaw cron status --json`
- `openclaw sessions --json`
- `openclaw tasks list --json`
- `remindctl show today/overdue --json`
- `gog calendar events --today --all --json` when Google CLI auth is configured
- Yahoo Finance chart feeds for 10-year Treasury proxy, S&P 500, Nasdaq, dollar index, and crude oil market-brief inputs
- Bloomberg Markets/Economics, WSJ Markets, and MarketWatch headline RSS inputs for the Morning Market Briefing headline watch
- GHL pipeline values are not yet a live `snapshot.json` source. Reports currently shows verified cached GHL CRM facts and the wiring gap.

## Next Build Steps

1. Configure a default `gog` account if CLI calendar events should populate this page.
2. Wire the verified GHL CRM/LeadConnector route into a read-only dashboard summary.
3. Put the dashboard behind Cloudflare Access after Corey approves the access model.
4. Add explicit action controls only after the auth and approval boundaries are scoped.

## Verification Notes

- Desktop screenshot render completed through headless Chrome.
- Navigation/view parity check passed for Today, Reports, Tasks/Cron, Calendar, and System.
- Disabled command controls are present and non-actionable.
- 2026-08-24 snapshot generation completed with 8 sources OK and 1 calendar auth warning.
- 2026-08-25 Today/Reports cleanup: Daily Brief moved to the top, Today and Reports sections made collapsible, Immediate Attention checkboxes persist locally in browser storage, and Investor Pipeline now states the verified GHL CRM access plus the live-wiring gap.
- 2026-08-25 BOC update: added a Bedrooms of Comfort tab with the draft Labor Day Bed Refresh campaign, discount/shipping guardrails, product exclusions, email/social blitz timeline, and a linked review packet.

`control-center.html` is the older mobile command center draft and is kept for reference.
