Stand up the HTTP surface Prospector calls (this app had no listening port). Bun
service: bearer-auth (MRNUMBER_SERVICE_TOKEN, constant-time) POST /api/screening/requests
{phone, ref} → 202 {accepted, id}, enqueued in a durable SQLite queue; a single serial
worker (one Android box) drains by invoking mr_lookup.py and records the people-service
signal. GET /api/screening/requests/:id returns the row; GET /health is open. Crash-safe
(requeues stale in-flight rows on restart). 7 bun tests + typecheck; smoke-tested end to
end (auth 401, enqueue 202, drain→verdict, invalid-phone 400).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
25 lines
347 B
Text
25 lines
347 B
Text
# scratch + artifacts
|
|
client/output/
|
|
service/queue.sqlite*
|
|
**/*.png
|
|
**/__pycache__/
|
|
*.pyc
|
|
|
|
# venvs
|
|
**/.venv/
|
|
client/console-tray/.venv/
|
|
|
|
# node / bun
|
|
node_modules/
|
|
mcp/node_modules/
|
|
|
|
# terraform local state (canonical IaC lives in uvlava, not here)
|
|
**/.terraform/
|
|
**/.terraform.lock.hcl
|
|
*.tfstate
|
|
*.tfstate.*
|
|
|
|
# secrets / env
|
|
.env
|
|
*.token
|
|
*_known
|