feat(daops): live DAOPS suppression and groundcheck edge API route #111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/issue-62-daops-edge-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Executed playbook:
skill://poteto-mode/playbooks/feature.mdPrinciples applied
SEDANG_PEMADAMAM,PADAM_TERKENDALI,GROUNDCHECK).Impact
For the consumer: Surfaces real-time suppression activity, groundcheck progress, burned hectare estimates, and assigned Manggala Agni brigades on the map and detail drawers.
For the maintainer: Provides a resilient
/api/daopsedge endpoint with reliable fallback seed data and 5-minute SWR caching to protect against upstream outages.Verification
pnpm test).pnpm exec vp checkpassed with zero errors across 263 files.next buildsucceeded with/api/daopsregistered as a dynamic edge route.Closes #62
d2cec5f57b397f152e9cCode Review & Ponytail Audit Summary: Live DAOPS Suppression & Groundcheck Edge API
1. Mechanical Verification Gate (
scripts/verify-pr.mjs)2. Ponytail Audit (Zero Bespoke Bloat)
SEED_DAOPS_MISSIONS) provides instant zero-latency fallback whenever upstream SiPongi opsroom is unreachable or timing out.Lean already. Ship.3. Subsystem Boundary & Discipline
src/app/api/daops/**,src/lib/services/daops.ts,src/types/daops.ts). Zero frontend UI components touched.4. Verification & Test Proofs
vp check: Passed 100% (265 files formatted, 0 warnings/lint errors in 105 files).pnpm test: All 159 tests passed across 23 test suites, including full coverage of mission normalization, proximity radius filtering, SWR cache hits/misses, and upstream error fallback.next build: Next.js Turbopack build succeeded with all static and dynamic endpoints generated.5. Acceptance Criteria
Decision: APPROVED for squash merge into
main.