Engineering3 min read
Mobile voice agents: keep the backend in chargeHow I connected Swift and Kotlin clients to agent workflows, built Core ML and TensorFlow Lite integration boundaries, and kept authorization on the backend.
Field notes / Journal / Build notes
Posts tagged #Backend · 10 posts. All writing
Engineering3 min read
Mobile voice agents: keep the backend in chargeHow I connected Swift and Kotlin clients to agent workflows, built Core ML and TensorFlow Lite integration boundaries, and kept authorization on the backend.
Engineering6 min read
Voice agents are distributed systems with microphonesBuilding an agent that talks is the easy demo. The harder work is authenticated tools, retries, evaluation, telemetry, CRM synchronization and the people who have to operate it.
Engineering3 min read
Idempotency under 100 competing requests: a reproducible in-process experimentI scheduled 100 calls against one in-process idempotency key. The side-effect callback ran once; a real crash or a second worker is still untested.
Engineering2 min read
Refresh-token rotation under concurrent replay: 200 scheduled callersI sent 200 scheduled refresh attempts through one local token family. Only one issued a successor; multiple workers would need a different test.
Engineering3 min read
Reproducing a one-time challenge replay race with 200 contendersI tried consuming one action-bound challenge 200 times. My single-process guard accepted one call and rejected 199; shared-store races remain untested.
Engineering3 min read
Android Play Integrity request binding and backend verdict policyWhat requestHash protects, what the server must verify, and why an integrity verdict is not a substitute for authorization.
Engineering3 min read
Authentication telemetry without leaking tokens or recovery secretsDesign privacy-conscious auth decision logs that help explain failures without recording the credentials that caused them.
Engineering4 min read
Idempotency when HTTP timeouts lie about server-side effectsA timeout does not undo a committed write. Model retries, duplicate operations and correctly scoped idempotency keys.
Engineering3 min read
Object-level API authorization: why a valid JWT is not enoughPractical tests for broken object-level authorization in authenticated mobile and backend APIs.
Engineering4 min read
Mobile session recovery as an explicit state machineModel sign-in, refresh rotation, expiry, step-up recovery, and revocation without creating a hidden authentication bypass.
Prefer a feed? Subscribe via RSS.