docs(11-02): complete frontend site list and detail pages plan

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-18 21:48:51 -05:00
parent e8c69fb6a6
commit 6ccccb3902
4 changed files with 478 additions and 0 deletions

73
.planning/STATE.md Normal file
View File

@@ -0,0 +1,73 @@
---
gsd_state_version: 1.0
milestone: v9.7
milestone_name: Tower & Site Management
status: unknown
stopped_at: Completed 11-02-PLAN.md
last_updated: "2026-03-19T02:47:05Z"
progress:
total_phases: 5
completed_phases: 0
total_plans: 3
completed_plans: 2
---
# Project State
## Project Reference
See: .planning/PROJECT.md (updated 2026-03-18)
**Core value:** Operators can monitor, configure, and troubleshoot their entire MikroTik fleet from a single pane of glass
**Current focus:** Phase 11 — site-data-model-foundation
## Current Position
Phase: 11 (site-data-model-foundation) — EXECUTING
Plan: 3 of 3
## Performance Metrics
**Velocity:**
- Total plans completed: 1
- Average duration: 3 min
- Total execution time: 0.05 hours
**By Phase:**
| Phase | Plans | Total | Avg/Plan |
|-------|-------|-------|----------|
| - | - | - | - |
## Accumulated Context
| Phase 11 P01 | 3min | 2 tasks | 9 files |
| Phase 11 P02 | 6min | 3 tasks | 8 files |
### Decisions
Decisions are logged in PROJECT.md Key Decisions table.
- Sites must use nullable site_id FK (never mandatory) to preserve flat-list workflow
- Per-client wireless data gets its own NATS stream and hypertable (not DEVICE_EVENTS or wireless_metrics)
- Link state machine requires 3 consecutive missed polls before marking down (prevents false flapping)
- [Phase 11]: alert_count set to 0 with TODO -- alert_events integration deferred to avoid coupling
- [Phase 11]: Site detail page kept minimal (info + stats) -- full dashboard deferred to Phase 14
- [Phase 11]: Used Dialog for delete confirmation (no AlertDialog component in UI library)
### Pending Todos
None yet.
### Blockers/Concerns
- OpenBao dev instance loses Transit keys on data wipe — device creds need re-entry
- RouterOS 7 WiFi registration-table field names need validation on real hardware (Phase 12)
- MAC-to-device resolution data source needs codebase audit (Phase 13)
## Session Continuity
Last session: 2026-03-19T02:47:05Z
Stopped at: Completed 11-02-PLAN.md
Resume file: None