Before reasoning
Identity/scope, consent, data quality, critical-event policy, freshness and eligibility.
Presenter view
Lead with blast radius, defend the autonomy model, show the rough math and explain how a bad version is stopped before panel exposure.
Opening cue
01 · Approval model
Summarize, retrieve, rank
Autonomous preparation
Visible provenance, audit, freshness and deterministic safety gates
Prepare patient message, task or order request
Propose-and-confirm
Named reviewer sees exact payload and consequence before release
Routine scheduling/admin action
Policy-configurable
Narrow allowlist, reversible action, idempotency and exception monitoring
Medication, diagnosis, clinical order, high-risk escalation
Human required; no autonomy
Named accountable clinician, current context and explicit approval
Unsupported or materially conflicting recommendation
Never execute
Abstain, expose uncertainty and request clinical review
02 · Defense in depth
Before reasoning
Identity/scope, consent, data quality, critical-event policy, freshness and eligibility.
During reasoning
Scoped context, allowlisted tools, schemas, budgets, versioned guidelines and no direct execution.
After reasoning
Claim-evidence verification, temporal supersession, contradiction detection, calibration and deduplication.
Before action
Re-check state version, named owner, autonomy policy, idempotency key and exact approval payload.
After action
Confirm external result, record outcome, monitor exceptions and support reversal/escalation.
Before execution, re-check
03 · Cost math
Tier 0 rules
1,200 patients · SQL/features
$0 model cost
Tier 1 triage
30 calls · 2k input + 150 output
~$0.04
Tier 2 specialists
16 calls · 8k input + 800 output
~$0.58
Tier 3 reconciliation
2 calls · 24k input + 1.5k output
~$0.57
Planning buffer
25% · Retries + token variance
~$0.30
Selective weekly run
One 1,200-patient panel · Inference only
~$1.50
Contrast
1,200 × 4 × $0.285
≈ $1,368
Naive frontier fan-out versus roughly $1.50 for the selective illustrative funnel.
• Illustrative planning rates—not vendor quotes: small $0.50/$2, mid $3/$15, frontier $10/$30 per 1M input/output tokens.
• Naive alternative: 1,200 × 4 frontier condition calls × ~$0.285 ≈ $1,368 per panel run.
• Caches, deterministic features and fresh-candidate reuse reduce repeat work; infrastructure and human-review time are measured separately.
04 · Ground truth + metrics
Offline
Critical-case recall · precision@K · NDCG · duplicate/stale/unsupported rate
Online
Accept/modify/dismiss · time-to-review · action completion · alert burden
Guardrail
No critical-recall or grounding regression; sampled clinician adjudication
Offline
Correct route · unsafe-response recall · grounding · draft completeness · edit distance
Online
Approval/edit rate · time saved · escalation rate · response SLA
Guardrail
Zero autonomous clinical sends; unsafe messages must route to human
Offline
Metric correctness · cohort validity · subgroup stability · temporal reproducibility
Online
Insight usefulness · drill-down use · experiment adoption · measured change
Guardrail
Suppress small/unstable cohorts and disclose missing/confounded data
05 · Release, observability + PHI
Deterministic CI
Schemas, policies, ranking, permissions, freshness and Temporal replay tests.
Fixture + historical replay
Engineered edge cases plus prior panels with clinician-created labels.
Shadow
Generate outputs without clinician exposure; compare to current system and human review.
Canary
A small clinician cohort with strict rollback thresholds and daily sampling.
Progressive release
Expand only while quality, safety, cost, latency and burden remain inside budgets.
Use BAA-approved vendors, minimum-necessary context, pseudonymous identifiers, encrypted evidence references, short retention and tenant/patient scoped access. Raw PHI should not be a default log field.
Closing transition
“The design is safe enough to test, not assumed safe enough to scale. The final section shows how I would sequence proof, migration and deliberate debt.”