# Roadmap ## v0.1 - [x] **invite and signup code expiration** -- signup keys expire after N hours (env-configurable), invites already have a 10min ttl but need a background pruner for expired ones - [x] **map view per contact** -- clicking on a user shows their position on a map, plus the other positions fetched from them (history trail) - [x] **ping interval setting** -- configurable setting for how often your position is sent to viewers - [x] **invisibility toggle** -- stops the background location service until manually reactivated (quick way to go dark without turning off sharing per-contact which will come later) ## v1 - [ ] **secure protocol** -- the crypto protocol (azom's design, still in development) - [ ] **better UI** -- proper error/loading/empty states, every card has loading indicators, human-readable error messages, empty-state placeholders that don't look broken - [ ] **clear prod/dev versions** -- the api bumps from `/v0` to `/v1` (frozen), with a clear distinction between debug (verbose errors) and release builds (safe messages only) - [ ] **good end-to-end testing** -- server black-box integration tests (spin up server, hit api, verify flows); app/server interaction tests; api contract tests (curl every endpoint, check response shapes); crypto roundtrip tests - [ ] **easy to host with secure defaults** -- health check endpoint (`GET /health`), graceful shutdown (sigterm, drain, persist), config via env vars and/or config file (never hardcoded secrets), easy deployment (docker/compose), sensible defaults everywhere - [ ] **error response consistency** -- audit all error responses, every endpoint has documented error codes, debug-only `cause` field stays out of release builds (already handled but needs audit) - [ ] **qr code contact exchange** -- admin generates signup key as qr, new user scans it to create account. viewer generates invite qr with `{ invite_token, viewer_id, viewer_pubkey }`, source scans it to accept. no manual id typing - [ ] **local contact schema** -- right now viewers/sources are lists of ids in sharedprefs. once crypto is real, contacts need their pubkeys stored locally. design the schema - [ ] **background service hardening** -- battery optimization exemptions across oems, location provider fallback when gps is unavailable, server error backoff. make the background location module modular enough to tune independently (battery optimization within the protocol, etc.) - [ ] **logging** -- configurable log levels for debugging, useful data without leaking sensitive info ## v2 - [ ] rate limiting (per-user limits on expensive endpoints) - [ ] trusted computing / tee key storage - [ ] fingerprint/pin app lock - [ ] real-time access notifications (push infrastructure needed) - [ ] ios app ## later - see many people at once (explicitly selecting them) - real-time data stream when viewing people instead of polling - federation / multi-server