Mobile & Flutter apps·Dart·Published
Commencys
Commencys is a community emergency-response platform I built with two teammates: one-tap SOS with GPS, voice SOS, incident reporting, geospatial alerts and real-time coordination, on Flutter plus a FastAPI service. The constraint that shaped the design is the acknowledgement budget: POST /api/sos must return a 201 P1 ticket in under 5 seconds, and that budget is asserted in the test suite rather than assumed. Voice SOS takes a multipart audio upload, runs STT with an offline Indonesian-to-English mapping, and fails safe to a P1 ticket rather than dropping the request; AI triage (heuristic-v2 plus DBSCAN-lite at a 0.65 threshold) is advisory, and coordinator corrections are stored as metadata over an immutable raw record so the audit trail stays honest. The Laya dispatch agent is called with a 15 s timeout and a keyword fallback that never returns a 5xx, so role inference being down degrades the feature instead of the platform. It ships 14 REST endpoints plus one WebSocket channel, 28/28 backend tests, 15/15 Flutter tests and a clean flutter analyze.



- A latency budget has to be a test or it is a wish; asserting the sub-5s SOS path in the suite is what kept later features from adding synchronous work to it.
- Any model call in a safety path needs a timeout and a deterministic fallback that cannot 5xx, otherwise an inference outage becomes an outage of the emergency feature.
- Corrections belong beside the raw record, not on top of it: keeping the original immutable and storing the coordinator's urgency separately is what makes the audit trail defensible.
Scale 0–100: how much this project relied on each skill.