Build TicVision's authenticated API on Bonfire DB - #43
Conversation
|
Second-pass review (independent of authorship; sampled the trust-boundary hunks + full CI): Merge-ready. What I checked:
Note: this PR is also the gating dependency for the access-pattern eval's arm 4 (graph-assisted planning via |
|
Adversarial audit (codex, high effort — exploratory pass over all open items; treat as input, not verdicts):
|
|
Delegated merge gate (codex sol/xhigh, final-review prompt): VERDICT: REQUEST_CHANGES — so per our gate rule I'm not approving yet. Its one merge-blocker (rest are fast-follows): The authorization semantic mismatch is a merge-blocker. The other findings are legitimate fast-follows at this stage. One small fix (uniform 403 denial envelope on /search + /context + tests) flips this to approve. |
Summary
POST /searchandPOST /contextfrom theproduction Bonfire API
membership-derived authentication boundary
lookup faults, and separate liveness/readiness probes
Bonfire DB; the dogfood remains a reference POC
Issue alignment
Closes #16.
Refs #36 and #37. This PR is a vertical slice of #37; it does not close #37 while the
Patient/Consent work in #19 and the remaining acceptance surface are outstanding.
Production admission limits and database execution deadlines are tracked separately in
#42.
Verification
and synthetic-data scan passed
/healthand/readyreturned 200;/search,/context, and/governance/proposalsreturned typed 401 responses withouta Bearer token
All fixtures and credentials used during verification were synthetic/local-only.