Sample apps/Advanced

Grid Restoration Desk

Correlate an outage, govern independent switching approval, dispatch an assigned crew, preserve rework, and reconcile restoration from telemetry and customer-impact evidence.

JourneyAdvanced
Report → correlate → approve switching → dispatch → prove → reconcile
Node.jsResponsive operations deskAtomic evidence repositoryMappls fixture adapter

A small app with production bones.

The download separates browser experience, command API, Mappls adapter, aggregate state, audit history, transactional outbox, fixtures, tests, and deployment guidance.

01Experience
02Mappls adapter
03Journey state
04Events + recovery
05Observability

Implemented and verified.

16 implemented capabilitiesResponsive restoration operations desk · Complete eight-event outage journey · Role-scoped operational commands · Independent switching-plan approval · Assigned-crew enforcement · Independent restoration reconciliation · Telemetry and customer-impact recovery gate · Rejected-attempt retention and rework · Map and route evidence separated from electrical authority · Private evidence and credential rejection · Idempotent commands · Optimistic concurrency · Append-only audit events · Transactional outbox · Atomic restart recovery · Credential-free zero-network fixture mode
Browser application

A responsive operations console backed by the included JSON API.

Durable domain

Aggregate snapshots, audit events, idempotency records, evidence, and outbox entries are committed together.

Fixture adapter

A credential-safe provider boundary aligned to named Mappls endpoint contracts.

Executable tests

14 tests covering lifecycle, HTTP, replay, conflicts, domain recovery, and restart behavior.

Architecture notes

Trust boundaries, aggregate invariants, adapter ownership, evidence lineage, and recovery design.

Deployment guide

Database, identity, secrets, outbox, privacy, observability, migration, and rollback work.