diff --git a/context/current-state.md b/context/current-state.md index 372b81f..974f2bd 100644 --- a/context/current-state.md +++ b/context/current-state.md @@ -2,7 +2,7 @@ v:1 # current-state -ACTIVE: 2026-07-07 [CC]. SIGNAL BUILD UN-PAUSED — readiness-model completion in flight per docs/build-plans/. P1 (wiring) SHIPPED + LIVE-VERIFIED (commit a3af499, deployed to Railway, false-green kill observed live). Executing P2 (citation IDs) -> P3 (rollup) -> P4 (device overrides) -> P5 (plan-type enforcement) next, one item at a time with independent audit each. P6 (frontend nesting) BLOCKED on Kisa approving the rendered mockup (built, awaiting render+review). +ACTIVE: 2026-07-07 [CC]. READINESS-MODEL BACKEND COMPLETE: P1-P5 all SHIPPED + LIVE-VERIFIED (a3af499, d24340c, bd92126, a53728e, f28b5bf; Railway + Vercel deployed; doc_status migration applied to prod). 169 tests + Pi E2E 33/33 green. P6 (frontend nesting) is the ONLY remaining item — BLOCKED on Kisa approving docs/mockups/p6-worklist-mockup-2026-07-07.png (decisions A-D). NEXT: (CC) P2-P5 per docs/build-plans/02-readiness-model-completion.md; (Kisa) approve/reject P6 mockup decisions A-D; (Kisa) confirm OQ1 plan_type-ingestion decision recorded 2026-07-07 (shipped per umbrella plan; two-line revert if reversed); (Kisa) attorney bundle READY TO SEND (signal/pitch/legal/attorney-bundle-2026-07-07, 5 Word docs + sendable memo): confirm recipient (Clyde Mathes vs Bittinger/Nixon), entity name + formation state, arbitration-vs-courts posture, Partner Concepts carve-out keep/drop, then email; Gaboro re-approach per reactivation plan 00 (unchanged). Queued behind Signal: UMSIS docs-only activation, "63% written off" Draft fix. @@ -25,6 +25,8 @@ Insight Engine (July 4 deadline = tomorrow) is the active project. Key files: ## Decisions (last +- 2026-07-07 [CC]: Readiness-model backend COMPLETE (P2-P5 shipped same day as P1): citation IDs live (R-registry), patient rollup + nested payload live, device-scoped overrides live (doc_status migration applied to prod; overrides now feed the verdict; the leak is dead, live-measured), plan-type enforcement live (zero greens without a mapped plan type, live-measured; Phase 2c deletion stays Kisa-gated). Every item independently audited SHIP before ship. P6 mockup rendered for Kisa (4 decisions annotated). + - 2026-07-07 [CC]: Attorney-review legal bundle PREPARED (lead-sttil drafted, ops-steward independently reviewed, 6 findings fixed incl. 4 HIGH counterparty-name leaks). LOI template v3 (product-agnostic body, Exhibit A pre-filled for Signal, labABLE negotiation learnings folded in), NDA template v3 (products list corrected to Signal/Vitality Med Tracker/UMSIS + catch-all), BAA template v1 (generalized from Gaboro draft, forward-looking posture block), cover memo bundling both templates + BAA + FDA CDS memo + labABLE AKS question per reactivation plan 00. Entity name corrected everywhere to KJF Professional Services LLC dba STTIL Solutions (per executed labABLE LOI; kg_add recorded); formation state left as placeholder (old docs disagree: Delaware/Florida/Pennsylvania) = attorney Q1. Templates: STTIL-Vault/Projects/Legal/ (LOI+NDA v3) + signal/pitch/legal/ (BAA, memo). Send-ready docx: signal/pitch/legal/attorney-bundle-2026-07-07/. - 2026-07-07 [CC]: Readiness model WIRED LIVE (plan 01, commit a3af499, Railway deploy verified). Phase 2a seam confirmed: readiness AUGMENTS legacy output (byte-identical legacy proven by live diff). OQ1 executed per umbrella plan 00 ("ship plan_type ingestion with the wiring") — minimal client-mapped column, never guessed; flagged for Kisa's explicit confirmation, two-line revert if reversed. Adversarial review caught a false-green in the draft row-resolution; fixed via dedup-group-keyed ReadinessIndex, regression-locked. Grounded test count: 132 (the old "73 tests" figure corrected per plan 01 §12.5). - 2026-07-06 [CC]: Model routing SETTLED (Kisa agreed) — strongest model in the orchestrator seat (plain claude, full MCP, skip-permissions), sonnet/haiku subagents for mechanical work, Fable-as-subagent only for cleanly separable hard problems. Docs-verified: delegation multiplies tokens on one shared pool; per-agent model override + mid-session /model GROUNDED. Config application PARKED. Discovered com.sttil.cos-model-switch: Fable-to-Opus swap fires 2026-07-07 09:00. Watcher audit: 9 agents healthy, clean exits; research watcher never built. @@ -59,4 +61,4 @@ Insight Engine (July 4 deadline = tomorrow) is the active project. Key files: State protocol: read = `git pull --rebase` then read this file (warn if Updated > 24h old); write = edit ACTIVE/NEXT, append one author-stamped decision, then commit + push. Full protocol in the `state-sync` skill. Detailed ship-status (what shipped / didn't / why) = docs/ship-status-ledger.md. TriLane = searchable archive, not live state. -## Updated: 2026-07-07 (CC: Signal un-paused; P1 readiness wiring shipped+live-verified a3af499; P2-P5 executing; P6 mockup awaiting Kisa; OQ1 recorded for confirmation; attorney legal bundle prepared and ready to send.) +## Updated: 2026-07-07 (CC: readiness-model backend P1-P5 complete, live-verified, deployed; P6 gated on Kisa mockup approval.) diff --git a/docs/mockups/p6-worklist-mockup-2026-07-07.png b/docs/mockups/p6-worklist-mockup-2026-07-07.png new file mode 100644 index 0000000..b447387 Binary files /dev/null and b/docs/mockups/p6-worklist-mockup-2026-07-07.png differ diff --git a/docs/ship-status-ledger.md b/docs/ship-status-ledger.md index 235f172..e41cda9 100644 --- a/docs/ship-status-ledger.md +++ b/docs/ship-status-ledger.md @@ -85,3 +85,30 @@ byte-identical (live diff vs pre-deploy baseline: NONE). Clear to Ship and normalizes "Medicare" -> "medicare". - Frontend intentionally renders nothing new yet (P6, gated on Kisa's mockup approval). + +## Shipped: readiness-model completion P2-P5 (2026-07-07, Claude, commits d24340c / bd92126 / a53728e / f28b5bf) + +All four backend items shipped one at a time, each with an independent +code-auditor SHIP verdict and measured live verification: + +- P2 citation IDs: every doc item cites its rule (R001-R004 plan-scoped, + R100-R102 universal per LCD L33822); registry-drift test guards the config. + Live: deployed verdict cites R004/R003/R100. +- P3 patient rollup: nested patients payload (worst gradeable line; Plan Type + Needed caps at Action Needed; non-gradeable displayed, never counted); + patient_stats count patients, not rows. Live-verified with a two-device + patient. +- P4 device-keyed overrides: doc_status migration applied to production + (device_type in the unique key, legacy '' rows honored); overrides now FEED + the verdict, device-scoped; recompute contract returns {lines, rollup} + through the same engine. Live: G7 override flipped only G7's line — the + leak is dead, measured against real Supabase state. +- P5 plan-type enforcement: full alias + value canonicalization; zero greens + reachable without a client-mapped plan type (live-measured); once-per-batch + deprecation fence; all 66 fixture CSVs authored with plan_type (drift + corpus uses variant headers/values; 66/66 map). _normalize_payer and the + default config entry remain (Phase 2c stays Kisa-gated). + +Final state: 169 unit/API tests green, Pi E2E 33/33, live drives recorded +above. P6 (frontend nesting) BLOCKED on Kisa's mockup approval: +docs/mockups/p6-worklist-mockup-2026-07-07.png (decisions A-D annotated).