Medicaid journeys 2 and 3 — a child screened Medicaid-first with a sibling on PeachCare, and Harriet’s SSI ends (#853)

Status: Done (2026-09-14) — !1400
Epic: &84
Issues: #853 (parent stream, stays open) · #1940 U1 (w2) · #1941 U2 (w8) · #1942 U3 (w2) · #1943 U4 (w3) · #1944 U5 (w5) · #1945 U6 (w3) · #1946 U7 (w5) · #1947 U8 (w3) · #1948 U9 (w5) · #1949 U10 (w3) — children 39, with this framing 41
Branches: chore/853-medicaid-chip-cmd-journeys-plan (frame) → fix/853-medicaid-noa-addressee-and-reasons (U1 + U2 + U5) ‖ fix/853-worker-portal-medicaid-subject-rows (U3 + U4 + U6) → one branch for U7 + U8 → one branch for U9 + U10

This is a Design + Scope plan: GitLab owns tracking, the child issues carry the implementer brief, and the plan freezes when U1 starts. It mirrors the ABD journey plan section for section; the per-member worker-facts plan (former foster care, pregnancy; #858) follows as a separate plan.

Erratum (2026-09-13): U5’s rendered line is <classes of assistance>: <reason sentence> rather than the reason-first example — the label table’s sentences are complete, legally reviewed copy ending in a period, and the renderer must print them untouched; grouping and order are as designed.

Erratum (2026-09-14): U6’s status-label drop is superseded — #1956 filters every determination with signature_verified = false out of the Home projection, for every program, before the per-member pick; the signature_quarantined label check is gone.

Context

Journey A is reachable today except its letters and two tab defects. * Portal wizard: per member First name / Last name / Date of birth / free-text "Relationship to you" (services/canopy-portal/src/pages/apply.rs:386-421), "Add a person" (:435), review row "Household: 2 other household member(s)"; income hardcoded [] (:1580). Finalize creates a person and membership row per member and an address for the applicant only, submitted_by = the applicant, submitted_by_role = "applicant" (services/canopy-applications/src/finalize_saga.rs:562-597, :690-691); a worker’s File application records submitted_by = the roster head, role caseworker (services/canopy-web/src/api/actions_intake.rs:250-272). * Worker beats exist: Income tab "+ Add income for {display name}" (option wages, row "Wages"; templates/cases/tab_income.html:213-251), Action ▾ → File application, Action ▾ → Run Determination. * Math: FPL-2026 HH=3 monthly $2,220.83 (params.rs:155); unconditional 5 % FPL disregard $111.04 (determine.rs:554-556, magi.rs:196); bands rulesets/georgia/jurisdiction.toml:642-650 (child 1–5 149 %, child 6–18 133 % — both "pending PAMMS A2 verification" — CHIP 134–247 %, parent/caretaker 35 %, Pathways 100 %). All 38 COAs are evaluated for every subject (determine.rs:604-641, cmd_cascade.rs:54-82); assignment among the eligible ones is the eligibility hierarchy — rulesets/georgia/medicaid-eligibility-hierarchy.json:229 orders children_under_19 before peachcare (determine.rs:1303-1330) — which implements the Medicaid-first screen 42 CFR 457.350(b) requires; the cascade list (medicaid-cmd-cascade-priority.json:57) only sets evaluation order. Luz is a parent/caretaker by inference (determine.rs:432-434) and is denied no_eligible_coa. Gross $3,200 → net $3,088.96: Mateo (4) under 149 %, Sofia (10) over 133 % and inside 134–247 %; feasible gross window $3,086.95–$3,420.08. Ages from DOB at the legal date (orchestrator.rs:351, :1533). * Children’s NOAs never letter: one medicaid.determined per subject with person_id = the child (api/handlers.rs:122-146, events.rs:67-91); its application_id is canopy-medicaid’s own id, not the upstream application (handlers.rs:135; the upstream id sits in medicaid_applications.application_id, store/mod.rs:37), so notices stores the wrong application id on every Medicaid NOA and cannot look the application up (subscriber.rs:80-89 already prefers an upstream_application_id key). canopy-notices sets recipient_person_id from the payload (main.rs:412-447); recipient::resolve (recipient.rs:50-79) fetches the subject Person (with date_of_birth) and only that person’s addresses → NoUsableAddress → retry ladder (work_items.rs:160-185), no notices row (worker.rs:172-190). Seat: addressed_recipient (worker.rs:684-713: confidentiality → resolve → ACP substitute). The application contract carries submitted_by: PersonId and submitted_by_role (crates/canopy-contracts-applications/src/applications.rs:28-31, 62-63); GET /v1/applications/{id} is service-callable (api/mod.rs:1804); the notices ApplicationsClient has no get_application yet (applications_client.rs:58-239). Compact reads: get_person (lib.rs:94-114; audits ssn.accessed when an SSN is on file — the read resolve already makes) and list_addresses (:121-141); GET /v1/households/{id}/full decrypts every member’s income/assets/SSN and audits each (services/canopy-persons/src/api/mod.rs:869-925) — not for an address. Household authorized representatives: GET /v1/households/{id}/authorized-representatives (service-callable; rep_kind, programs[], active, effective/expiration; api/authorized_reps.rs:22-94). Notices rows carry only recipient_person_id ("the individual addressed", crates/canopy-contracts-notices/src/notices.rs:31-32; generator.rs:331-368 persists it); lists filter by household only (store.rs:271-303). recipient_kind is a payload discriminator (event_routing.rs:182, 374-381, 198-205), copied to notice_work_items.recipient_kind (CHECK household_member|authorized_representative, migrations/20261217000000_work_item_recipient_kind.sql:10-12); routes addressing a subject person: medicaid.determined approved/denied and the three *.overpayment_claimed routes (shared/overpayment.typ:77 "You are responsible for repaying"). * COA Categories: 3 × 38 rows interleaved; the wire row’s person_id: Uuid (determinations.rs:198) is dropped (case_detail.rs:748-763, :5448-5462; tab_categories.html:22-35, badges "Eligible" / "Not Eligible"); render_medicaid_categories(client: &InternalClient, …) (:5464-5467) is called once at :5166 from render_program_tab(clients: &ServiceClients, …). * Roster: build_medicaid_group (determination_view.rs:780-838) renders every row (list determined_at DESC, id DESC, store/mod.rs:262-272; sibling order live); runDetermination (helpers.ts:280-337) reads the group’s FIRST pill; wire denial_reason = no_eligible_coa, basis = the evaluator’s internal sentence (determine.rs:1363-1384); humanize_denial_reason (case_detail.rs:4547-4586) renders unknown codes title-cased ("No Eligible Coa"); the Medicaid row meta at tab_determination.html:139 shows relation and age only — effective_note renders only in the single-strip branch (:122); the header always pluralises ("1 members", :76); subtotal "1 enrolled · 1 denied" (determination_view.rs:370-408). * Portal: program_determinations rows are per subject (services/canopy-eligibility/src/store/models.rs:37-41); statuses stored: the program’s own (approved|denied|…, canopy_reference::DeterminationStatus) and signature_quarantined with signature_verified=false and every other field preserved (orchestrator.rs:2173-2236), excluded from authoritative results (:2238-2260); the feed (store/mod.rs:234-246) filters nothing; RawDetermination (services/canopy-portal/src/home.rs:140-160) reads neither person_id nor signature_verified; current_per_program (:443-462) keeps approved rows first, then newest, and feeds project_programs (:468-483), project_timeline (:489-510) and renewal_due_soon (:692-698); program_cards renders nothing with no approved program (pages/home.rs:141-144); the hero derives from the SNAP application (:624-650). SNAP records a denial while staging a termination ≥14 days out with the enrollment untouched (services/canopy-enrollment/src/continuation/infra_tests.rs:1042-1123); the portal reads no enrollment or adverse-action state. /letters lists by household, newest first (notices.rs:243-274; store.rs:273-281); openLatestLetter takes the first row (portal.ts:360-375); rows expose .letters-row__subject.

Journey B’s mechanism is wired and proven. * POST /actions/medicaid/cmd-update (actions_medicaid.rs:158-253) parses before writing, refuses only ssi_recipient (:296-300), PUTs the fact, POSTs /v1/cmd/ingest under the exchanged client (fail-closed sentences at :221-222 and :240-241), redirects to ?focus_section=categories&notice=cmd-queued — the worker lands on COA Categories with the banner "Change recorded. The disability status was saved and an automatic re-determination is running — this tab updates when it lands." (case_detail.rs:386-391). Form (det_action_form.html:256-279): Member ("Harriet Vance (self)"), CMD event type ("SSI terminated (DCH ex parte feed)"), New disability status ("Not disabled" = none), Effective date, Notes, button Record change & re-determine; reached via the Medicaid group’s Actions → CMD update (tab_determination.html:82-98). * Devstack wiring: docker-compose.yml:1552-1553, :1361-1363; realm :1180-1213, :145-163, :714-721, jane.caseworker :1413-1432 (caseworker ∈ CASEWORKER_WRITER_ROLES). Ingest (cmd_handlers.rs:95-173) writes the event + determination.requested::Order in one transaction; consumers attach unconditionally (services/canopy-eligibility/src/main.rs:295-300; compose prefetch 1 :600-604) and self-call determine with trigger change-report (orders/mod.rs:129-171); settle → completed (services/canopy-medicaid/src/main.rs:256-298); the flip test polls GET /v1/cmd/events 2 s × 60 (tests/cmd_reeval_e2e_test.rs:205-219). fetch_cmd_events renders the "CMD change reports" table (data-cmd-state, raw slugs; tab_determination.html:323-342); nothing refreshes on determination_complete (:256 is the only hx-trigger). * Every run inserts a fresh medicaid_applications row and writes all 38 evaluations for each subject, eligible or not, with a per-COA denial_reason (store/mod.rs:29-48, :75-141; determine.rs:888-916); GET /v1/applications/{medicaid_application_id}/categories returns them (service-callable, handlers.rs:399-435); the wire determination carries medicaid_application_id, person_id, denial_reason, denial_reason_codes, trigger, previous_determination_id (determinations.rs:20-94). * Harriet’s denial is structural only while SSA enrichment is off: at 72 Pathways and parent/caretaker cannot catch her; MSP needs has_medicare_part_a/b (default false, determine.rs:437-438); ABD medically needy needs recorded medical expenses; the five protected-group arms take SOLQ flags that the orchestrator fetches only when verification_url AND CANOPY_INTERNAL_API_KEY are both set (orchestrator.rs:1610-1648); the full compose gives canopy-eligibility no key (docker-compose.yml:1130-1200 vs :723, :1242), so ssa_solq = None and the flags default false. If the key were set, the development NoopSolqAdapter (services/canopy-verification/src/noop_solq.rs:118-124) picks a persona from the person id’s last two digits and roughly half of runs would re-approve her under Pickle/DAC/widow. The $1,600 SSA income is narrative. (_live, U9.) * The denied NOA prints "Reason for Denial: —": the denied route forwards no program_data_keys (rulesets/georgia/notices/manifest.toml:545-552; default :500-507); noa-denial.typ:44-59 prints #inputs.denial_reasons; default_program_data defaults it (generator.rs:517-545); no human labels exist for the 41 ruleset reason codes or the 38 COA codes (medicaid-denial-reasons.json; crates/canopy-contracts-medicaid/src/categories.rs); array template inputs have precedent (verification-checklist.typ:95). SNAP/TANF denial routes forward no reasons either. #1133 owns the termination-shaped letter and advance notice.

Scope and mechanics. No {token} interpolation in journey text; state amounts are construction inputs. ADR-032 §1’s test: "would a differently-electing state pass the row unchanged". Registry keys: chip.waiting-period, chip.premiums, medicaid.ssi-recipient-coverage. The audit takes the best binding tier (scenario.rs:393-394), allows one spec bound by several rows, and demands a walkthrough for a covered journey row (:416-424). [notices] exists in four rulesets; NoticeConfig::load fails on a missing key (config.rs:240-254); ADR-011 requires a citations.toml row per jurisdiction key; ADR-003 puts figures in config. Budgets: B1 lock 18 (members.rs 492; api/mod.rs, postponement_panel_copy.rs at 500 — untouched); B3_serde_json_value_src 656; B8 8.

Related: #853; #904 (denial reasons as derivation edges — relate); #1133; #858; #986/#693; #779–#783; #786; #1002 (SNAP reduction-type adverse actions). The ABD plan’s "Filed separately" items were never filed; U0 files them.

Decision

Letters to a minor go to the evidenced responsible adult. 42 CFR 435.917 and 431.206 require written notice to each applicant; 42 CFR 435.907(a) lets an adult household member apply on a minor’s behalf. The evidence Canopy holds is the application’s submitted_by: for a minor subject the letter is addressed to that person only if they are an adult member of the same household; failing that, to an active individual authorized representative for Medicaid; failing that, the letter is not sent (NoUsableAddress, retried, visible as a failed work item). The stored recipient_person_id becomes the addressee and the child is kept as subject_person_id; the rule is scoped by a manifest field on the two Medicaid NOA routes, never applied to overpayment or other person-addressed letters. Portal card: Medicaid/CHIP only — SNAP and TANF cards keep today’s logic because a denial there stages a termination while benefits continue (#1002/#1133). Scope: journey A is election-dependent on a new chip.program-type key; journey B binds a new election-dependent journey row on medicaid.ssi-recipient-coverage beside the untouched universal flow row. Persona: Harriet stays. Denial reasons: the letter lists the failed criteria per class of assistance from the persisted per-COA reasons, through one label table. Age of majority is a [notices] key with a citation row (ADR-003, ADR-011).

Journey A — the Castellano family

Luz Castellano (32, head), Mateo (age 4), Sofia (age 10); 404-555-0177, 200 Demo St, Atlanta, GA 30303. DOBs are constructed in the spec from legalToday() (year − 4 / year − 10, same month/day; Feb 29 → Feb 28); the page states the rule and prints the capture-day values. Worker jane.caseworker / password. No clock beat.

# Who Screen / action Expected (what the spec asserts) Screenshot

1

Applicant

/apply: About you (Luz) → Household: Add a person twice — First name, Last name, Date of birth, Relationship to you "child" → Safety → Income (0 / 0) → Review

Review row "Household: 2 other household member(s)"; SNAP only offered

app-01-apply-review

2

Applicant

Submit; save HH-xxxxxxxx + passcode

Shown once

app-02-credential-reveal

3

Caseworker

Open the case (My queue / Case Search "Castellano") → Persons

Three rows with DOBs; Relationship self, child, child

step-01-case-persons-three-members

4

Caseworker

Income → "+ Add income for Luz Castellano": wages, 3200, monthly, effective today

Form filled, not submitted

step-02-income-add-luz-wages

5

Caseworker

Add

Redirect focus_section=income; one Wages income under Luz

step-03-income-tab-luz

6

Caseworker

Action ▾ → File application, tick Medicaid/CHIP, submit

Reloads on ?program=medicaid

step-04-file-application-medicaid

7

Caseworker

Action ▾ → Run Determination

Banner "Determination recomputed…"; header "3 members" · "2 enrolled · 1 denied"

step-05-determination-recomputed

8

Caseworker

Expand Mateo’s collapsed row

COA children_under_19 · full_medicaid · magi · JWS verified · age 4

step-06-roster-mateo-expanded

9

Caseworker

Expand Sofia’s collapsed row

COA peachcare · chip_standalone · chip · JWS verified · age 10

step-07-roster-sofia-expanded

10

Caseworker

Luz’s row is open

Denied; "Denial reason · Not eligible for any Medicaid class of assistance" (U4); no cash badge

step-08-roster-luz-denied

11

Caseworker

COA Categories

Grouped by subject (U3); under Sofia children_under_19 Not Eligible, peachcare Eligible on chip; under Mateo children_under_19 Eligible on magi

step-09-coa-categories-sofia

12

Caseworker

Notices

At least two "Medicaid Eligibility Approval" rows and one "Medicaid Eligibility Denial", each with a PDF (U2)

step-10-notices-tab-three-noas

13

Applicant

/lookup → /home

One card Medicaid — Active (the PeachCare row’s program is medicaid, live), no amount, no renews line; the hero reflects the SNAP filing

app-03-applicant-home-medicaid-active

14

Applicant

/letters → one approval letter → PDF

Exactly three letters for the household, every recipient_person_id = Luz (oracle); subject "Medicaid Eligibility Approval"; PDF served (the "Regarding: <child>" line is pinned by U2’s render test, not read from the PDF)

app-04-applicant-letter-approval

Never in this journey: a dollar or percentage assertion; PeachCare premiums, cost-sharing, renewal or creditable coverage (#779–#783); a P4HB outcome (is_female defaults false, determine.rs:451); a claim about which sibling’s row is first; the Process Application page; a processing deadline.

Journey B — Harriet’s SSI ends

Rows 1–8 repeat the ABD page’s steps in full with fresh screenshots (the wording may be copied); row 8 includes the ABD page’s Notices beat, so the approval letter is observed before the sequel starts. Harriet Vance (72), DOB 1954-03-02; worker jane.caseworker / password. No clock beat. Precondition: the shipped devstack performs no SSA enrichment (no CANOPY_INTERNAL_API_KEY on canopy-eligibility), so Harriet’s five SSA-linked protected-group flags are their false defaults; the spec pins that (row 13).

# Who Screen / action Expected (what the spec asserts) Screenshot

1–8

both

The ABD journey through its Notices beat

COA ssi_medicaid · full_medicaid · non_magi; "Medicaid Eligibility Approval" on the Notices tab

app-01, app-02, step-01 … step-06 (ABD names)

9

Caseworker

Income → "+ Add income for Harriet Vance": SSA / SSI, 1600, monthly, effective today → Add

Redirect focus_section=income; one SSA income — the survivor’s pension that ended her SSI

step-07-income-add-ssa

10

Caseworker

Determination (Medicaid) → Actions → CMD update: Member "Harriet Vance (self)", CMD event type "SSI terminated (DCH ex parte feed)", New disability status "Not disabled", Effective date today, Notes

Form on screen, nothing written

step-08-cmd-update-form

11

Caseworker

Record change & re-determine

Lands on COA Categories with the banner quoted above

step-09-cmd-queued-banner

12

Caseworker

Open Determination; reload until the CMD change reports row reads completed (the spec polls GET /v1/cmd/events)

Row ssi_terminated · completed · reported today · respond-by ten days out (shown, never asserted)

step-10-cmd-events-completed

13

Caseworker

COA Categories

The newest run: 38 rows for Harriet, all Not Eligible; ssi_medicaid reason not_ssi_recipient; Pickle, DAC, disabled widow, widow 60–64 and former SSI-disabled child carry their ruleset reasons (the no-enrichment canary)

step-11-coa-categories-redetermined

14

Caseworker

Medicaid roster

Harriet once (U4): Denied, "Denial reason · Not eligible for any Medicaid class of assistance", meta "Re-determined · change report"; subtotal "1 denied"

step-12-roster-redetermined-denied

15

Caseworker

Persons

Disability status Not disabled

step-13-persons-not-disabled

16

Caseworker

Notices

A "Medicaid Eligibility Denial" row (notice_of_action, PDF) in addition to the approval

step-14-notices-denial

17

Applicant

/lookup → /home

No Medicaid card (U6); the hero still reflects the SNAP filing

app-03-applicant-home-no-medicaid

18

Applicant

/letters → the denial letter → PDF

Exactly one letter with subject "Medicaid Eligibility Denial" (selected explicitly, no ordering assumed); PDF served (the reasons list is pinned by U5’s tests)

app-04-applicant-letters-denial

Never in this journey: a termination or advance notice (#1133); an enrollment object (the oracle is the signed change-report re-determination linked by previous_determination_id, its 38 per-COA rows, and the notice); an elapsed-time bound or fixed sleep; a dollar assertion; a header member count; a letter-order assertion; the Process Application page.

Units (weights by complexity) — U0 → {U1 → U2, U5} ‖ {U3, U4, U6} → {U7 → U8} ‖ {U9 → U10}

Children U1–U10 total 39 (2+8+2+3+5+3+5+3+5+3; U0 adds 2: 41). Labels (contributor-workflow.adoc:41-46, one value per scope): U0/U8/U10 type::documentation; U1–U6 type::bug; U7/U9 type::chore; every child program::medicaid, priority::medium, planning::has-plan, workflow::ready, milestone T2 (7542737). U7 needs U2–U4; U9 needs U4–U6; U8/U10 need their spec’s screenshots from a green run.

U0 (w2) docs: plan the CHIP Medicaid-first and SSI-termination journeys (#853)

Branch chore/853-medicaid-chip-cmd-journeys-plan. The plan page (AsciiDoc, the archived ABD page’s header shape), its nav line, the CHANGELOG line; the epic and ten children (weights, epic_id, /relate); #853 stays planning::has-plan with one comment. Files the never-filed ABD follow-ups: fix(notices): a coverage-program approval NOA prints SNAP-shaped placeholders; fix(applications): represent the 90-day Medicaid standard when a separate disability determination is required; feat(portal): a Medicaid coverage card that names the class of assistance (T5); fix(web): program-parameterise the Process Application page; chore(web): why a Medicaid NOA’s delivery pill stays dispatched where SNAP’s reads Sent. Gates: asciidoctor warning-free, cargo xtask plan-lint. MR Relates to #853.

U1 (w2) fix(medicaid): medicaid.determined names the upstream application

MedicaidDeterminedEvent gains upstream_application_id (from medicaid_applications.application_id, already loaded at store/mod.rs:29-48), emitted on every medicaid.determined; subscriber::application_id_for (subscriber.rs:80-89) already prefers that key, so notices rows for Medicaid NOAs stop storing the medicaid-local id; correct the subscriber doc comment. Tests: the payload test asserts both ids; a notices subscriber test proves the stored application_id is the upstream one for a medicaid event. AC: a Medicaid NOA row’s application_id resolves at GET /v1/applications/{id}.

U2 (w8) fix(notices): a minor’s NOA goes to the adult who applied

Scoping (manifest data, not event type): a new non-discriminating EventRouting field addressing = "responsible_adult_for_minor" (parsed in routing_entries.rs:178-208, 357-392; vocabulary subject default | responsible_adult_for_minor), set on the two medicaid.determined routes in both manifests; it never enters the discriminator tiers (plain()/recipient_kind_tier untouched; the 47-entry pin stays). It is written to a new nullable notice_work_items.addressing column (additive migration) at enqueue (main.rs:518-528). Resolution: applications_client.rs gains get_application(id) → Application (GET /v1/applications/{id}, service-callable) and list_household_authorized_reps(household_id); recipient.rs gains resolve_responsible_adult(persons, applications, subject: &Person, req, as_of, age_of_majority): (1) get_application(req.application_id).submitted_by → get_person → adult (age_years(dob, as_of) >= age_of_majority) AND household_id == req.household_id → list_addresses + choose_address; (2) else the first active individual authorized representative with an unsuspended medicaid scope and adult → own addresses (resolve_rep path; no ACP substitute, per the 1665 doctrine); (3) else NoUsableAddress(subject). Returns ResolvedRecipient { name, address, person_id: addressee, regarding: Some(subject display name) }. addressed_recipient (worker.rs:684-713) gains as_of, age_of_majority and the work item’s addressing; when addressing == responsible_adult_for_minor and the subject (already fetched by resolve) is a minor, it calls the new resolver before apply_acp_substitute; otherwise today’s path. No /full read anywhere. Persistence: notices gains nullable subject_person_id (migration; store::create_notice, NoticeRow/domain.rs, contract Notice and GenerateNoticeRequest with [serde(default)], generator.persist, main.rs:445-514); recipient_person_id is written as the addressee; lists stay household-keyed. Rendering: generator.prepare overlays regarding_name when regarding is Some; default_program_data gains "regarding_name": "" (test :841); rulesets/{default,georgia}/notices/shared/noa-approval.typ and rulesets/{default,georgia}/notices/shared/noa-denial.typ in both rulesets print Regarding: #inputs.regarding_name under the salutation only when non-empty (no other template changes). age_of_majority = 18 joins [notices] in all four jurisdiction.toml files with citations.toml rows (Georgia O.C.G.A. § 39-1-1; default generic) and NoticeConfig (config.rs:180). Tests (recipient.rs/worker units against a canopy_test_lib::mock::spawn_router serving GET /v1/applications/{id}, GET /v1/persons/{id}, /v1/persons/{id}/addresses, /v1/households/{id}/authorized-representatives): a minor subject with an adult in-household submitted_by → addressed to that adult, subject_person_id = the child, regarding set; submitted_by out of the household → falls to the rep; submitted_by a minor → falls to the rep; no rep → NoUsableAddress; an adult subject → unchanged, no regarding; a route without addressing (overpayment) with a minor person_id → unchanged path; the ACP substitute still applies to the adult addressee for a confidential household; routing tests prove both manifests parse addressing and the parity test stays green; a template render test (extracted text) shows the Regarding line for a minor and none otherwise. AC. On the devstack a portal-filed household with two children yields three medicaid.determined letters, each dispatched, the children’s with recipient_person_id = Luz, subject_person_id = the child, and "Regarding: <child>" in the render; an overpayment notice for a minor is unchanged; cargo xtask policy audit passes; B8 = 8.

U3 (w2) fix(web): label each COA Categories row with its subject

render_medicaid_categories takes clients: &ServiceClients (call site :5166; clients.medicaid for both reads), groups rows by person_id (first-appearance order, then evaluation_order) and labels each group once via clients.resolve_name (names are labels only — collisions do not merge groups); MedicaidCategory gains subject: String; the template adds a Subject column (td.coa-subject) before #. #1306 D6 arms stay. Tests (spawn_router, hit-counting precedent case_detail.rs:6838-6913): two subjects × two rows render grouped with the right labels and one persons hit per subject; two subjects with the same display name stay two groups. AC: the 114-row table reads as three 38-row groups; B3 unchanged.

U4 (w3) fix(web): one Medicaid roster row per member, reason humanised

Pure newest_per_person(rows) (seen-set on person_id, newest-first input) used by build_medicaid_group; effective_note = Some("Re-determined · change report") when trigger == Some("change-report"); humanize_denial_reason gains "no_eligible_coa" ⇒ "Not eligible for any Medicaid class of assistance"; template tab_determination.html:139 gains the same effective_note clause the single strip has at :122, so the note renders in the Medicaid row’s always-visible meta. Tests: newest_per_person unit; view-model (medicaid_row fixture with trigger: Some("change-report"), determination_view.rs:1863-2017 pattern); a rendered-HTML test on render_view (case_detail.rs:6426-6452, copy determination_roster_renders_representative_strip_and_roster) asserting the note text and the humanised reason appear. AC: journey B’s roster shows Harriet once with the visible note; journey A’s Luz row reads the sentence. (The "1 members" pluralisation is filed, not fixed here.)

U5 (w5) fix(notices): a Medicaid denial NOA lists the failed criteria

Producer: MedicaidDeterminedEvent gains denial_reasons_by_coa: Vec<{coa_code, reason_code}> (codes only), filled from the subject’s cascade evaluations for a denied subject (determine.rs:888-916 already has them in hand), absent otherwise. Labels (new, canopy-reference): MedicaidDenialReasonCode over the 41 ruleset codes with label() sentences without figures ("Household income is above the limit", "Age outside the range", "Not currently receiving SSI", "No Medicare Part A on record", "Could not be evaluated without additional information", …) and MedicaidCoa::display_name() over the 38 codes ("Parent or Caretaker Relative", "Pathways to Coverage", "Children Under 19", "PeachCare for Kids", …); a test reads rulesets/georgia/medicaid-denial-reasons.json and categories.rs and asserts every code has a label. Notices: build_program_data renders denial_reasons as an array of lines grouped by reason label with the COA names ("Household income is above the limit for: Parent or Caretaker Relative; Pathways to Coverage."); both manifests' denied routes gain program_data_keys = ["denial_reasons_by_coa"]; noa-denial.typ in both rulesets iterates the array (array-input precedent) with the em-dash fallback. Tests: payload shape for denied vs approved; grouping/rendering unit with Luz’s and Harriet’s code sets; routing + parity; a render test showing the grouped lines. AC: Luz’s and Harriet’s denial PDFs list the failed criteria per class of assistance. Residual stated on both pages: the lines name criteria, not thresholds; SNAP/TANF denial NOAs still print "—" (filed).

U6 (w3) fix(portal): the Medicaid card follows each member’s newest determination

RawDetermination gains #[serde(default)] person_id: Option<String>; a pre-pass authoritative_rows keeps, for medicaid/chip only, each (program, person_id)'s newest row and drops signature_quarantined rows; SNAP/TANF rows pass through untouched (their card timing follows the adverse-action pipeline, #1002/#1133, infra_tests.rs:1042-1123); current_per_program iterates the pre-pass and keeps its approved-newest-per-program loop, so project_programs, project_timeline and renewal_due_soon all follow. Doc comments at :436-442, :464-467 rewritten. Tests (beside :1135; extend det_at with a person): medicaid_card_drops_when_the_only_member_is_newly_denied (both orders); medicaid_card_stays_while_another_member_is_approved (every permutation of two approved children + a newer denied parent → one card); medicaid_approval_newer_than_a_denial_keeps_the_card; quarantined_medicaid_row_never_retires_a_card_or_a_renewal_date (covers renewal_due_soon); snap_card_survives_a_newer_denial_until_enactment (pins the SNAP exclusion, citing the enrollment test). AC: after journey B /home shows no Medicaid card; journey A’s single card is unchanged in every sibling order; a SNAP household’s card is unchanged by a newer denial.

U7 (w5) test(e2e): journey — CHIP Medicaid-first screen for siblings

tests/e2e/specs/journey-medicaid-chip-screen-and-enroll-medicaid-first.spec.ts, framed like the ABD spec. Describe: journey: a child is screened for Medicaid first and enrolled there while a sibling in the CHIP band lands on PeachCare. DOBs via dobYearsAgo(n) on legalToday(). Helpers: fileSnapApplicationViaPortal with members (onReview → row 1); addIncomeViaUi (wages 3200; onBeforeSubmit → row 4); fileApplicationViaUi; runDetermination for the click path and banner only; new medicaidRosterRow(page, /^Mateo Castellano$/) (group by the Medicaid h3, row by .det-subject__name); portal.ts gains openLetterMatching(app, /^Medicaid Eligibility Approval$/, { expectCount: 3 }) beside openLatestLetter. Oracle (tests/e2e/lib/given/medicaid.ts gains medicaid_application_id, denial_reason, denial_reason_codes, trigger, previous_determination_id, determined_at, and medicaidCategories(appId)): Mateo children_under_19/magi/full_medicaid, Sofia peachcare/chip/chip_standalone, Luz denied with denial_reason === 'no_eligible_coa'; awaitDispatched(…, 'notice_of_action', 3) with every recipient_person_id === headPersonId. Categories under td.coa-subject = Sofia: peachcare Eligible, children_under_19 Not Eligible. Fourteen screenshots as tabled. AC: the targeted --project journey run green, 0 skipped, every screenshot written; the journey gate counts it; ages 4 and 10 on any run date.

U8 (w3) docs(walkthroughs): the CHIP Medicaid-first journey page and rows

Page journey-medicaid-chip-screen-and-enroll-medicaid-first.adoc with the ABD anatomy verbatim: lede (42 CFR 457.350(b); Georgia’s separate program PeachCare; the same household income tests differently by age band); [NOTE] Fully manual; [IMPORTANT] pairing block naming both row ids; what the journey shows; personas table with the DOB rule and capture-day dates; bring-up & reset; concrete precondition ($3,200 as a construction input; the window a footnote); the fourteen-row table with image: refs; oracle; honest scope (SNAP-only wizard; parent/caretaker by inference; the children have no address of their own — why the letters go to Luz; sibling order is runtime; one "Medicaid" card for a PeachCare child; the PeachCare letter is the shared body titled MEDICAID BENEFITS APPROVED with em-dash placeholders; Luz’s denial letter lists criteria, not thresholds; no premium/cost-sharing/creditable-coverage screen (#779–#783); P4HB never fires; the 133 %→134 % gap; child_6_18 "pending PAMMS A2 verification"; a Medicaid-expansion CHIP state would not pass this row); verify; See also. Index bullet; runbook row. Registry (compliance/federal-options/medicaid.toml):

[[option]]
key = "chip.program-type"
name = "CHIP program design (Medicaid expansion, separate child health program, or combination)"
authority = "SSA sec. 2101(a); 42 CFR 457.70"
values = ["medicaid-expansion", "separate-child-health-program", "combination"]

Row chip.eligibility.screen-and-enroll-medicaid-first (medicaid.toml:964) → tier = "journey", scope = "election-dependent", elections = ["chip.program-type"], keeps its jdm-fixture + two integration-test bindings, gains e2e-spec + walkthrough; Georgia row georgia.medicaid.chip.peachcare-medicaid-first-screen (programs = ["chip", "medicaid"], same key, journey, both bindings, + PAMMS Medicaid 2194). AC: audit Covered [Journey] for both, no finding; asciidoctor resolves every image; the index’s "Blocked walkthroughs" line stays accurate.

U9 (w5) test(e2e): journey — SSI termination re-determines Harriet

tests/e2e/specs/journey-medicaid-ssi-termination-cmd-redetermination.spec.ts. Describe: journey: an SSI-termination change report re-determines a current SSI recipient under every other COA and the denial reaches the applicant. Rows 1–8 reuse the ABD helpers (including pollNoticeMatching for the approval) with the ABD-named screenshots; then addIncomeViaUi (ssa, 1600); new recordCmdUpdateViaUi(page, { householdId, personId, newDisabilityStatus: 'none', effectiveDate, notes, onBeforeSubmit }) on the submitWorkerAction / createCertificationViaUi pattern (successUrl /focus_section=categories.notice=cmd-queued/; refusalText prefix "The disability status was saved, but the change report"); banner assertion on the Categories landing; tests/e2e/lib/given/medicaid.ts gains medicaidCmdEvents(householdId) and the spec expect.poll(…​, { timeout: 120_000, intervals: [2_000] })s the household’s newest event to completed, then opens the Determination tab and asserts tr[data-cmd-state="completed"]. *Evidence oracle: newest = medicaidDeterminations(hh) for Harriet: denied, assigned_coa null, trigger === 'change-report', previous_determination_id === approved.id, medicaid_application_id !== approved.medicaid_application_id; medicaidCategories(newest.medicaid_application_id) filtered to Harriet: 38 rows, 38 distinct coa_code, all eligible === false, ssi_medicaid.denial_reason === 'not_ssi_recipient', and the five SOLQ-linked COAs with their ruleset reasons (pickle→no_ssi_loss_due_to_cola, dac→not_disabled_adult_child, disabled_widow→not_disabled_widow_50_64, widow_60_64→not_widow_60_64, former_ssi_disabled_child→no_ssi_loss_as_disabled_child) with the failure message naming the leaked flag. Roster via medicaidRosterRow: Denied, the humanised reason, the note; subtotal "1 denied". Persons "Not disabled"; pollNoticeMatching "Medicaid Eligibility Denial"; /home no Medicaid card; openLetterMatching(app, /^Medicaid Eligibility Denial$/) (exactly one) → PDF 200. Eighteen screenshots as tabled. AC: green with 0 skipped on the full profile; the denial and the 38-row evidence proven live; passes on any date.

U10 (w3) docs(walkthroughs): the SSI-termination journey page and rows

Page journey-medicaid-ssi-termination-cmd-redetermination.adoc with the ABD anatomy verbatim (lede: 42 CFR 435.916(f)(1), 435.930(b); the journey starts from the §1634 approval and says so; tier; pairing block; what it shows; personas; bring-up; concrete precondition — the SSI-recipient fact, the SSA income, and no SSA enrichment (the CANOPY_INTERNAL_API_KEY sentence, with the canary named); the eighteen-row table in full; oracle (the signed change-report re-determination, its 38 rows, the notice); honest scope — no advance/termination notice or enrollment object (#1133); the tab does not refresh itself although the banner says so; raw ssi_terminated/completed slugs and the "1 members" header; only the newest row per member shows after U4 (the approval survives in Notices and the oracle); the applicant home gives no signal beyond the letter; the ten-day clock shown, not asserted; the DCH feed is hand-keyed (#786); the pension is narrative; Medicare entitlement not recorded; the precondition COA is a state election; verify; See also). New engine row medicaid.abd.ssi-termination-cmd-redetermination (journey, election-dependent, elections = ["medicaid.ssi-recipient-coverage"], life events ["ssi-termination", "change-report", "determination", "notice"], trigger "42 CFR 435.916(f)(1), 435.930(b); PAMMS Medicaid 2052, 2750", both bindings) beside the untouched flow row :673-686; Georgia row georgia.medicaid.abd.ssi-termination-dch-feed-cmd-redetermination (same key, journey, both bindings). Index bullet; runbook row; CHANGELOG bullets per unit. AC: audit Covered [Journey] for both new rows, no ORPHAN-SPEC; asciidoctor clean.

Filed separately (pre-existing; not children)

Filed at U0 as #1950–#1961 (the five never-filed ABD follow-ups and seven found by this recon): fix(notices): SNAP and TANF denial NOAs print "Reason for Denial: —" (42 CFR 431.210(b)); fix(portal): a provenance-rejected approved SNAP row can become a card (arm.rs:414-425 vs home.rs:447); fix(web): the Medicaid roster header pluralises a single member; chore(web): label CmdEventType and CMD state slugs; feat(web): refresh the Determination tab on determination_complete; feat(notices): a CHIP-specific approval body naming PeachCare; chore(medicaid): thread gender so P4HB can evaluate (per-member facts plan).

Must not change

Every rules and parameter file except: the four [notices] age_of_majority lines and their citations.toml rows (U2); rulesets/{default,georgia}/notices/shared/noa-approval.typ and noa-denial.typ (U2 Regarding line; U5 reasons list); rulesets/{default,georgia}/notices/manifest.toml (U2 addressing on the two medicaid routes; U5 the denied route’s program_data_keys); compliance/federal-options/medicaid.toml, the inventory rows named above and the Georgia pack (U8, U10). Untouched: every JDM ruleset, medicaid_days, cmd_clock_days, the FPL bands; tests/e2e/lib/clock.ts; playwright.config.ts; the #1306 D6 arms; the cmd-update handler’s write order and ssi_recipient refusal; the portal wizard’s program list; the rep path’s behaviour and the recipient_kind discriminator semantics; SNAP/TANF card logic; xtask/quality-budgets.lock (never raised).

Verification

Property Layer

A minor’s NOA goes to the adult who applied (adult + in-household validated), else an adult rep, else no letter; recipient_person_id is the addressee and subject_person_id the child; overpayment letters unchanged; ACP still applies

recipient/worker units on a mock router, routing + parity, render test (U2); journey A rows 12/14 (U7)

Medicaid NOAs carry the upstream application id

payload + subscriber tests (U1)

Categories group by person id with one name fetch per subject

spawn_router test (U3); row 11 (U7)

The roster shows the newest row per member with a visible note and a humanised reason

unit + rendered-HTML tests (U4); row 14 (U9); row 10 (U7)

A denied Medicaid NOA lists failed criteria per COA, in both manifests

label totality, payload, grouping, routing, parity, render tests (U5); rows 18 (U9) and 14 (U7) via tests

The Medicaid card follows each member’s newest authoritative row; SNAP unchanged

home.rs tests in every order incl. quarantine and SNAP pins (U6); rows 13 (U7), 17 (U9)

Both journeys drive both portals with 0 skipped, fresh screenshots, date-independent ages, the denial and its 38-row evidence proven live, the no-enrichment canary green

cargo xtask e2e --devstack-profile full … --project journey (U7, U9); enforce_journey_gate

Both triples bound, chip.program-type registered, four rows Covered [Journey], no orphan spec

cargo xtask scenarios audit (U8, U10)

Page fidelity

section parity with the ABD page; asciidoctor warning-free; check-docs

Per commit

fmt, clippy -D warnings, unit lanes, flagless quality-budgets (B1 18, B3 ≤ 656, B8 8), rustdoc link check on touched library crates, the pre-push battery

GitLab

Epic &84 in the group; children #1940–#1949 with the weights above; the twelve pre-existing defects found by the recon are #1950–#1961 (not children). U0 on its own branch/MR. Batch 1 = U1 + U2 + U5 (fix/853-medicaid-noa-addressee-and-reasons: one canopy-medicaid/canopy-reference implementer, one notices implementer); batch 2 = U3 + U4 + U6 (fix/853-worker-portal-medicaid-subject-rows: one canopy-web implementer, one portal implementer). Implementers refresh their service before its live lane (announced), fresh J1–J8 reviewer per commit, one commit per unit + CHANGELOG commit, batch end → reload → lanes → e2e → gates → push → MR (Relates to #853, Closes each) → merge PUT when mergeable → closing notes. Then U7 + U8 on one branch/MR and U9 + U10 on another (a triple’s audit passes only with spec, page and row together). Plan Status In progress on batch 1’s merge, Done (date) — !N + nav Archive on the last triple’s.

Review log

Round Vendor Resolved model Verdict

1 (2026-09-13)

Anthropic (agent-side: a fresh four-question reviewer, a fidelity critic against the shipped ABD artefacts, a line-by-line fact-checker)

claude-opus-5

no-ship — 5 blockers + 21 should-fixes, all fixed

2 (2026-09-13)

the maintainer

maintainer review against the repository

no-ship as written — 10 findings + 3 tightenings: the minor-notice rule must resolve an evidenced responsible adult and validate it (P1); the portal card fix must not hide SNAP benefits still being issued (P1) and must exclude non-authoritative rows and cover renewal_due_soon; the stored recipient_person_id must be the addressee with the child kept as subject; the redirect must be scoped to the intended NOAs; the roster note must actually render in the Medicaid branch; the denial letter must give reasons, not restate the outcome; the sequel must not assume letter order; U8 must prove every COA was evaluated; no full-household read to resolve an address; U2 groups by person id and reaches the client roster; Medicaid-first assignment is the hierarchy, not the cascade order; SSA enrichment absence is a stated precondition — all resolved in this revision; no round 3

Edit this page · default