Signal/docs
Kisa 206bf718bd Add readiness verdict engine (kills the false green)
Grade one coverage line's five documentation items on two separated axes the
old code conflated: required_state (from plan_type + payer_rules.json) and
input_state (SUPPLIED | ABSENT). A line is "Clear to Ship" only when EVERY
required item is satisfied by positive evidence — a required item with no data
is NOT_EVALUATED and blocks green, never granted by absence of contradiction.

- plan_type never guessed: None / unmapped / casing-variant -> "Plan Type Needed",
  structurally cannot be green; PECOS/PA sit NOT_EVALUATED while universal items
  (SWO/visit/diagnosis per LCD L33822) still grade.
- Required-ness reads from payer_rules.json (single source of truth), removing
  the latent Python-set-vs-JSON divergence.
- Config-surface fail-safe: a known plan missing/partial in config cannot grade
  green (NOT_EVALUATED), and the green gate checks every item.
- Diagnosis accepts a real ICD-10 code as on-file; only explicit negatives gap.

Additive only: not wired into the live pipeline. 27 tests green (full suite 73),
code-auditor reviewed (H1/H2/M1/M2/M3/M4/L1 fixed).

PROVISIONAL, flagged for Pi/Kisa: gap->label mapping (At Risk/Action Needed/
On Track) and the visit-recency scope boundary (timing layer, not readiness).

Spec: docs/readiness-model-brief-2026-06-23.md section 4

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 00:33:42 -04:00
..
compliance fix(compliance): trust fixes — audit retention 7yr→6yr (45 CFR §164.530(j)), false BAA claim corrected to live posture 2026-06-22 08:06:01 -04:00
reviews coverage calculator and UI refinements; add demo MVP gap analysis and quality review docs 2026-06-12 13:04:23 -04:00
superpowers docs(shield): v2 — HIPAA+GDPR global scope, user's pricing model (free print, $49 PMS integration), Signal Tier 3 bundle, Shield MVP first 2026-06-22 10:14:57 -04:00
agent-ready-ecosystem-handoff-2026-06-22.md add readiness-model design brief for pi and update shared context 2026-06-23 19:53:57 -04:00
aios-and-blog-2026-06-22-pi-recovered.md docs(aios): recover Pi's Signal AIOS + Automated Blog plans from session log 2026-06-24 00:22:41 -04:00
build-spec-2026-06-20.md docs: add build spec, support manual, and shared current-state context 2026-06-20 17:38:31 -04:00
convex-signal-instance-brief-2026-06-24.md docs+state: Convex-Signal spike brief + ship-status ledger + session wrap [CC] 2026-06-24 13:38:46 -04:00
convex-signal-spike-design-2026-06-24.md verify+fix: Pi's dedup + Convex-spike designs build-ready [CC] 2026-06-24 15:53:10 -04:00
daniel-pilot-readiness-whitepaper.md add Phase 1 security hardening, mapping confidence, audit logging, pilot docs 2026-05-29 05:41:25 -04:00
daniel-pilot-readiness-whitepaper.pdf add Phase 1 security hardening, mapping confidence, audit logging, pilot docs 2026-05-29 05:41:25 -04:00
dedup-design-2026-06-24.md verify+fix: Pi's dedup + Convex-spike designs build-ready [CC] 2026-06-24 15:53:10 -04:00
delegation-and-skills-brief-2026-06-24.md docs(delegation): brief Pi on the delegation router + hybrid skill model 2026-06-24 00:16:22 -04:00
delegation-router-design-2026-06-24.md review+fix: end-to-end audit found 9 gaps, fixed 3 in scope, filed rest for Claude [Pi] 2026-06-24 10:22:05 -04:00
design-tokens-v1.json refactor: reorganize repo structure — flatten CGM-Denial-Prevention/ and Projects/ into docs/ pitch/ research/ 2026-05-12 05:10:00 -04:00
drift-to-skill-governance-2026-06-24.md feat(workflow): build consolidation foundation from Pi's recovered design 2026-06-23 23:30:56 -04:00
hipaa-deployment-analysis-v1.md Update Signal brand language and add pitch/build artifacts 2026-05-28 10:14:16 -04:00
phase3-setup-checklist.md Add Phase 3: Clerk auth with org-scoped data isolation 2026-05-29 12:12:17 -04:00
pilot-e2e-validation-2026-06-21.md add pilot end-to-end validation + production readiness docs 2026-06-21 12:46:36 -04:00
pilot-guide-v1.md add Phase 1 security hardening, mapping confidence, audit logging, pilot docs 2026-05-29 05:41:25 -04:00
production-readiness-whitepaper-2026-06-21.md add pilot end-to-end validation + production readiness docs 2026-06-21 12:46:36 -04:00
readiness-model-brief-2026-06-23.md add readiness-model design brief for pi and update shared context 2026-06-23 19:53:57 -04:00
research-versioning-design-2026-06-24.md review+fix: end-to-end audit found 9 gaps, fixed 3 in scope, filed rest for Claude [Pi] 2026-06-24 10:22:05 -04:00
review-audit-delegation-research-versioning-2026-06-24.md review+fix: end-to-end audit found 9 gaps, fixed 3 in scope, filed rest for Claude [Pi] 2026-06-24 10:22:05 -04:00
ship-status-ledger.md Add readiness verdict engine (kills the false green) 2026-06-27 00:33:42 -04:00
signal-brand-extension-v1.md refactor: reorganize repo structure — flatten CGM-Denial-Prevention/ and Projects/ into docs/ pitch/ research/ 2026-05-12 05:10:00 -04:00
sttil-brand-system-v1.md Update Signal brand language and add pitch/build artifacts 2026-05-28 10:14:16 -04:00
support-manual.md docs: add build spec, support manual, and shared current-state context 2026-06-20 17:38:31 -04:00
tailwind-theme-v1.md refactor: reorganize repo structure — flatten CGM-Denial-Prevention/ and Projects/ into docs/ pitch/ research/ 2026-05-12 05:10:00 -04:00
workflow-consolidation-brief-2026-06-23.md chore(state): clean-start current-state.md, ignore context recovery artifacts, add workflow-consolidation brief for Pi 2026-06-23 21:22:31 -04:00
workflow-consolidation-design-2026-06-24-pi-recovered.md feat(workflow): build consolidation foundation from Pi's recovered design 2026-06-23 23:30:56 -04:00