KKissan Ki Pehchan
Delivery

Architecture Decisions and Open Questions

Accepted decisions, scaling triggers and unresolved programme dependencies for the live-call blueprint.

BlueprintVersion 0.25 Aug 2026

Accepted decisions

  • Android-first Flutter application with live Urdu audio-video consultation.
  • LiveKit/WebRTC is a baseline pilot component, not deferred infrastructure.
  • Continuous media transport with adaptive selected-frame reasoning.
  • Cascaded STT → reasoning → TTS with transcript and interruption.
  • Frontier reasoning model as primary analyst.
  • Local documents, field context and policy as primary operational authority.
  • Hierarchical retrieval and controlled internet research.
  • Narrow deterministic verification for exact/legal/safety claims.
  • Human review by risk, including officer join and warm handoff.
  • PostgreSQL-first application with object storage and a worker.
  • Hybrid controlled pilot with a sovereignty path.

Conditional decisions

ComponentAdopt when
Multi-node LiveKit/TURNConcurrency, failure-domain or regional requirements justify it
LangGraphDurable resumable workflows exceed simpler orchestration
QdrantPostgreSQL retrieval becomes a measured bottleneck
Kafka/RedpandaDurable event fan-out/backlog exceeds worker queue
Kubernetes HAAvailability and scale commitments justify complexity
Sovereign VLM/STT/TTSPolicy, economics or strategy justify local serving
Full-call recordingApproved purpose, consent, security and retention are established

Open programme questions

  1. Which districts and mobile networks represent the pilot?
  2. What minimum bandwidth/device profile is supported?
  3. Will LiveKit be managed, government-hosted or hybrid during the pilot?
  4. What percentage of calls may relay through TURN?
  5. Which views and frame quality thresholds are crop/condition specific?
  6. Who may join a room and during which hours?
  7. What exact consent and recording policy applies?
  8. Which data may leave government infrastructure?
  9. What numerical go/no-go thresholds apply by risk class?
  10. What cost per completed live advisory is acceptable?

ADR template

ADR ID and title
Status and date
Context and decision drivers
Options considered
Decision
Consequences and risks
Validation evidence
Reconsideration trigger
Approvers