Plan: Section 1115 Adult Demonstration Qualifying-Activity Hours at Application (#3201)
Status: Done (2026-11-02) — U1, U2 and U3 (#3203, #3204, #3205) merged
Epic: &58
Issues: #3201 (parent) · #3203 U1 (w3) · #3204 U2 (w5) · #3205 U3 (w3) · follow-ups #3206, #3207, #3208, #3209
Branches: feat/3201-demonstration-activity-reports, feat/3201-demonstration-activity-gate, feat/3201-demonstration-activity-form
This is a Design + Scope plan: GitLab owns tracking, the child issues carry the implementer brief, and the plan freezes when U1 starts.
Context
Georgia Pathways (the 1115 demonstration, PAMMS 2195) requires, at application, that an adult "demonstrate that they are currently engaged in at least 80 hours per month of a qualifying activity or combination of activities", verified "for the most recent four weeks available within the eight weeks prior to an application" (2256, "Qualifying Activity Hours at Application"). The pack carries that figure (rulesets/georgia/jurisdiction.toml pathways_work_hours_per_month = 80, cited to 2195 in citations.toml), but no rule reads it: ex-pathways in rulesets/georgia/medicaid-magi.json tests age and income only, and its own description says "Work-hour verification handled by canopy-medicaid outside the ruleset", which nothing does. So every Georgia adult aged 19 through 64 at or under 100 % FPL is found Pathways-eligible. The consequence #3069 met: Pathways is exempt from the medical-support penalty, so the penalty rarely denies a Georgia adult.
What exists: services/canopy-medicaid/src/params.rs loads pathways_income_limit_pct_fpl, pathways_min_age and pathways_max_age and not the hours key; cascade_verdict (services/canopy-medicaid/src/determine.rs) builds MagiInput / MagiThresholds (rules_client.rs) for evaluate_magi_with_provenance and maps MedicaidCategory::Pathways to magi_out.pathways_eligible; rulesets/georgia/medicaid-denial-reasons.json names the Pathways denials age_outside_19_64 and income_over_pathways_threshold (MedicaidDenialReasonCode, crates/canopy-reference/src/medicaid_labels.rs). The 2026-04 migration services/canopy-medicaid/migrations/20260407000000_create_medicaid_tables.sql created pathways_qualifying_activities (application-keyed, hours_per_month, verification_document) that no Rust reads or writes. The scenario inventory records the gap (compliance/scenario-inventory/medicaid.toml, "the mandatory 80-hours-per-month qualifying-activity gate has no input surface (#777)"), and the catalogue row medicaid.intake.pathways-qualifying-hours-gate is unbound under #777.
Naming constraint: pathways is a P2 identity stem of the neutrality gate (compliance/neutrality-gate.toml; plan plans/archive/neutrality-gate.adoc, N1/N4), and the existing pathways_* identifiers in canopy-medicaid survive only under exact-count entries owned by #655. New code therefore names the mechanism, not the state brand: the coverage group is the jurisdiction’s section 1115 adult demonstration (MedicaidCategory::Pathways stays, as it is already allowed), and the fact is a demonstration qualifying-activity report.
The precedent is the cooperation finding (plans/medicaid-cooperation.adoc, #3189/#3190): a Medicaid-owned, append-only, worker-recorded, effective-dated per-person record (store/cooperation.rs, api/cooperation.rs, crates/canopy-contracts-medicaid/src/cooperation.rs), read once per run on the legal day (refusals_on) and applied in cascade_verdict. The fact is Medicaid’s alone (WIC-plan D1): SNAP’s ABAWD hours (canopy-snap abawd_monthly_activity) and TANF’s participation tracking are program-scoped windows, and canopy-persons holds no activity fact.
Maintainer rulings (2026-11-01, on this plan): application-time gate only; drop the unused table and create the record in the cooperation-finding shape; fail-closed (no recorded hours is not eligible).
Scope
In scope:
-
canopy-medicaid records qualifying-activity reports per person: activity code, hours in the reported period, the period, verification status, effective date, recorder; append-only; a user-only POST and a GET.
-
The determination reads each adult’s reports on the run’s legal day and admits the demonstration group only when the hours counted in the pack’s window reach the pack’s threshold, or a status-based activity satisfies it. A shortfall or no report denies that group with a coded reason; every other coverage group is untouched.
-
The activity vocabulary and the window as pack data; the denial code through labels, notices and the worker’s determination view; a canopy-web form on the Medicaid case tab; the catalogue row bound; the seed, the existing Pathways tests and the inventory row moved to the new rule.
Out of scope (each its own follow-up issue):
-
Ongoing reporting: renewal and the 10-day change report, suspension and termination (2195 "Maintaining Eligibility", 2256 "Changes in Qualifying Hours and Activities"); #3206.
-
The Good Cause Exception (2256; never at application; 120 hours per certification year); #3207.
-
Verification document handling and the manual audit process (2195 "Pathways Manual Audit Process"); canopy keeps the worker’s verification status, not the documents; #3208.
-
HIPP enrolment and its monthly-reporting exemption (2195 "Pathways HIPP Program"); #3209.
Design
D1 — The activity report (canopy-medicaid)
Migration services/canopy-medicaid/migrations/20270315000000_demonstration_activity_reports.sql, forward-only (ADR-016; pre-1.0, no compatibility): DROP TABLE pathways_qualifying_activities; (no reader, no writer, no row in any deployment; the devstack re-seeds) and:
CREATE TABLE medicaid_demonstration_activity_reports (
id UUID PRIMARY KEY,
person_id UUID NOT NULL,
activity TEXT NOT NULL,
hours NUMERIC(6,1) NOT NULL CHECK (hours >= 0),
period_start DATE NOT NULL,
period_end DATE NOT NULL CHECK (period_end >= period_start),
verification TEXT NOT NULL CHECK (verification IN ('self_attested', 'verified')),
effective_date DATE NOT NULL,
recorded_by TEXT NOT NULL,
created_at TIMESTAMPTZ NOT NULL
);
CREATE INDEX idx_medicaid_demonstration_activity_reports_person
ON medicaid_demonstration_activity_reports (person_id, effective_date DESC, created_at DESC);
activity carries no CHECK: the vocabulary is pack data (D2) and the handler refuses a code the pack does not list, as the cooperation handler refuses an unknown kind. verification is a two-value mechanism enum (not pack vocabulary), so N3 sees no pack tokens. One row is one activity over one period; a month with two jobs is two rows. A later row for the same person and activity with an overlapping period does not supersede an earlier one; both count, by overlap (D3) — the record is a ledger of what was reported, not a current-value slot. The cooperation migration’s ALTER … OWNER TO and app-role grants apply.
Contracts in crates/canopy-contracts-medicaid/src/demonstration_activity.rs after cooperation.rs: ActivityVerification (closed, two values, ALL, as_str, TryFrom<String>); CreateDemonstrationActivityReport { person_id, activity: String, hours: Decimal, period_start, period_end, verification, effective_date } (deny_unknown_fields, no recorder); MedicaidDemonstrationActivityReport as the stored row. Typed id MedicaidDemonstrationActivityReportId in crates/canopy-common/src/id.rs. Paths CREATE_DEMONSTRATION_ACTIVITY_REPORT and LIST_DEMONSTRATION_ACTIVITY_REPORTS = /v1/demonstration-activity-reports (POST; GET ?person_id=, newest first) in paths.rs. Handler services/canopy-medicaid/src/api/demonstration_activity.rs mirroring api/cooperation.rs: WRITER admission, the user-only subject helper (a service bearer is 403 service_class_on_user_only), created_at from the request’s DecisionClock, effective_date, period_start and period_end refused outside 1900-9999 or after the legal today with the cooperation handler’s coded 422s, hours over the pack’s max_hours_per_report (D2) refused 422 hours_out_of_range, an activity code off the pack’s list refused 422 unknown_activity. The list admits READER. Store services/canopy-medicaid/src/store/demonstration_activity.rs: record, list_by_person, and reports_in_window(db, &person_ids, window: DateRange) → HashMap<Uuid, Vec<ReportRow>> returning each person’s reports whose period overlaps the window (effective on or before the window’s end). No log line carries an activity, hours or verification.
D2 — The pack section
[medicaid.adult_demonstration] in each jurisdiction.toml that has [medicaid] (georgia, default, test-max; test-min has no [medicaid]), required, loaded in params.rs beside [medicaid.cooperation]. The flat keys pathways_enabled and pathways_work_hours_per_month are deleted from all three packs, their citations moved into the section (pre-1.0; the flat pathways_income_limit_pct_fpl, pathways_min_age and pathways_max_age stay where params.rs reads them today, since this plan does not rename the coverage group).
-
enabled: georgiatrue; defaulttrue(today’spathways_enabled = trueatrulesets/default/jurisdiction.toml:776, kept: the neutral pack elects the demonstration, percompliance/scenario-inventory/medicaid.toml'selections = ["medicaid.section-1115-demonstration"]); test-maxfalse(today’spathways_enabled = false,rulesets/test-max/jurisdiction.toml:662, kept). -
hours_per_month = 80(georgia: 2195, 2256; default and test-max:fixture). -
window_weeks = 4,lookback_weeks = 8: "the most recent four weeks available within the eight weeks prior to an application" (2256). The counted window is thewindow_weeks × 7days ending onas_of; a report counts only by the days its period overlaps that window (inclusive dates:overlap_days = max(0, min(period_end, window_end) − max(period_start, window_start) + 1),counted = hours × overlap_days / period_days).lookback_weeksis documentary at application (the manual’s "available within eight weeks" describes which weeks a worker may choose; canopy counts the four most recent) and is recorded for the renewal follow-up, which needs it; the boot check requireswindow_weeks ⇐ lookback_weeks. -
The test is
counted_hours >= hours_per_monthover that window, with no scaling to a calendar month: the manual states the threshold in the four-week window itself ("at least 80 hours … for the most recent four weeks", 2256). 80 hours in four weeks meets; 79 does not. -
max_hours_per_report = 744(a 31-day month), the handler’s sanity bound. -
activities = […]: the 2256 Chart 2256.2 vocabulary as{ code, counts_as = "hours" | "threshold" }rows. Hours:unsubsidized_employment,self_employment(its own chart row),subsidized_private_employment,subsidized_public_employment,on_the_job_training,job_readiness,community_service,vocational_training,higher_education_part_time("DCH shall determine the associated number of qualifying hours based on the course load", recorded as hours by the worker). Threshold:higher_education_full_time,gvra_vocational_rehabilitation,snap_abawd_compliance,parent_of_child_under_six(each "will satisfy the requirements of at least 80 hours of qualifying activities in the month", 2256). Georgia cites each to 2256 Chart 2256.2; default and test-max carry the same codes citedfixture.
A boot check refuses a duplicate code, a counts_as outside the two values, zero window_weeks, window_weeks > lookback_weeks, or an empty activities list while enabled. The activity codes are pack vocabulary: no Rust enum lists them (N2), the handler validates against the loaded list, and canopy-web serves them from the pack (D5).
D3 — The gate (canopy-medicaid) and the rule (the packs)
The rule stays in the ruleset (ADR-003): ex-pathways in medicaid-magi.json (georgia, default, test-max) becomes
input.applicant_age >= context.thresholds.pathways_min_age
and input.applicant_age < context.thresholds.pathways_max_age
and input.net_countable_income <= context.thresholds.pathways_threshold
and input.demonstration_activity_met
with demonstration_activity_met: bool a new MagiInput field canopy-medicaid derives per subject before the call, and the node’s _description corrected. rules_client.rs's medicaid_magi_input_struct_matches_ruleset_refs (a contract test) pins the field in all three packs.
canopy-medicaid derives it in a new services/canopy-medicaid/src/demonstration_activity.rs: activity_met(reports: &[ReportRow], window: DateRange, params: &AdultDemonstrationParams) → bool is pure: false when the section is not enabled; true when any report of a threshold activity overlaps the window; else true when the overlap-prorated hours of hours activities sum to >= hours_per_month. The reports are read once per run by store::demonstration_activity::reports_in_window for every member, like refusals_on, and carried on HouseholdRun. A subject outside the age band gets false (the age test already fails them). enabled = false becomes load-bearing for the first time: test-max never admits the demonstration group through the hours arm, which is that pack’s stated election ("pathways_enabled=false, expansion supersedes", rulesets/test-max/jurisdiction.toml:655).
Denial reason: medicaid-denial-reasons.json (three packs) gains the input column input.demonstration_activity_met (c-activity) and a row r-path-hours (coa == 'pathways', age in band, c-activity == false → demonstration_activity_not_met), ordered after the two age rows and before r-path-income, so an adult who fails both hours and income is told about the hours; DenialReasonsInput gains the field. The code demonstration_activity_not_met lands on every surface c97364500 touched: MedicaidDenialReasonCode and its label, services/canopy-notices/src/generator.rs (the NOA sentence names the hours threshold and the activities that count, in neutral words; the state’s name comes from the pack as today’s Pathways sentence does), services/canopy-web/src/api/case_detail/determination_wire.rs, compliance/neutrality-gate.toml (the MedicaidDenialReasonCode N2 digest re-pinned). The snapshot’s policy_params records demonstration_activity_met, the window and the counted hours per subject (ADR-028).
Fail-closed, by ruling: no report in the window reads as not met.
Existing tests this flips (moved in U2): services/canopy-medicaid/tests/medicaid_test.rs::post_determine_adult_under_100_pct_fpl_gets_pathways (seeds a report first) and ::post_determine_adult_over_pathways_limit_denied (now told the hours first; it seeds a report so the income reason stays its subject, and a new sibling pins the hours-first ordering); services/canopy-eligibility/tests/eligibility_test.rs::create_medicaid_pathways_household and services/canopy-eligibility/tests/envelope_roundtrip_test.rs::create_pathways_household (their five call sites expect an approved demonstration adult; the helpers seed a verified report through the new route); services/canopy-medicaid/src/determine/cooperation_gate_tests.rs and its infra_tests (the #3190 erratum cases where "a 30-year-old parent keeps Pathways" seed a report); services/canopy-medicaid/tests/cmd_reeval_e2e_test.rs (re-read; its Pathways expectations seed reports if any). plans/medicaid-cooperation.adoc gets a one-line erratum.
D4 — The seed, the inventory and the catalogue
tools/canopy-seed/src/datagen.rs assigns MedicaidCategory::Pathways to every childless adult (:4406-4412); it gains, for each such adult, a verified unsubsidized_employment report of 160 hours over the four weeks ending on the seed date, and leaves every Nth adult without one so a seeded demonstration_activity_not_met denial exists; cargo xtask seed-verify stays green. compliance/scenario-inventory/medicaid.toml row medicaid.intake.section-1115-adult-determination drops blocked_by = ["#777"] and the comment above it; the catalogue row medicaid.intake.pathways-qualifying-hours-gate binds as an endpoint row on medicaid POST /determine with the new denial test as test_ref, and leaves compliance/action-coverage-allowlist.toml (its #777 entry; #777’s checklist row is ticked). journey-medicaid-ssi-termination-cmd-redetermination.spec.ts only states that Pathways cannot catch its subject; it is re-read in U2, not changed.
D5 — The worker form (canopy-web)
A form on the Medicaid case tab after the WIC breastfeeding form (services/canopy-web/src/api/actions_wic/breastfeeding.rs; #3069’s U3 form follows the same shape, and whichever lands second mirrors the first): WritePermission and ProgramScope<Medicaid> first, the person proven on the roster (fact_editor::ensure_household_member), the activity picked from the pack’s list, served as a new PolicyVocab::demonstration_activities member loaded the way tanf_work_activities is (services/canopy-web/src/api/mod.rs:234, src/tanf_work_activities.rs), never typed; hours, the period, verification; the write on the worker’s delegation; canopy-medicaid’s coded refusals as server-owned copy. The tab lists each adult’s reports overlapping the current window with the counted hours and whether the threshold is met, or "none recorded". Template copy names the group by the pack’s label, never by brand (N4).
Risks
-
Every Georgia adult without a report loses the demonstration group (fail-closed, by ruling). The seed covers the devstack (D4); a deployment that upgrades needs reports entered before its next determinations, which the CHANGELOG entry states as the operator step. Mitigation: the case tab shows "none recorded" with the form beside it.
-
The window arithmetic is an interpretation (silent). 2256 says "the most recent four weeks available within the eight weeks prior to an application"; D2 counts the four weeks ending on the run’s legal day, prorated by overlap, against the threshold with no month scaling. Mitigation: window and threshold are pack data; the U2 unit tests pin the arithmetic (regression); the citation notes record the reading.
-
A
thresholdactivity trusts the worker’s status entry (fail-open for that adult, by policy). Full-time study, GVRA and SNAP ABAWD compliance are satisfied by status in 2256; canopy records the worker’s verification status, not the document. Mitigation:verificationis on every row and on the tab, so an unverified status entry is visible; the audit process is a follow-up issue. -
enabled = falsebecomes load-bearing (fail-closed). test-max keeps its stated election; default keepstrue; a future pack with the group’s rows butenabled = falsenever admits it through the hours arm. Mitigation: U2 pins both fixture packs with one test each. -
Snapshot churn (silent).
evaluate_member_sends_the_pinned_rules_payloadsand the insta snapshots gain the field and thepolicy_params; U2 re-accepts them and reviews, line by line, that nothing else moved. -
The neutrality gate (fail-closed, prevented). Every new identifier avoids the
pathwaysstem; the onlypathwaystokens touched are the existingex-pathways,r-path-,MedicaidCategory::Pathwaysandpathways_params already under #655’s entries, whose counts U2 keeps exact.
Units (weights by complexity) — U1 → U2 → U3
Weights: 1 trivial · 2 small · 3 medium · 5 large · 8 very large. One unit = one independently shippable MR = one child issue.
U1 (w3) — The activity report and the pack section
Files: services/canopy-medicaid/migrations/20270315000000_demonstration_activity_reports.sql, crates/canopy-contracts-medicaid/src/{demonstration_activity,paths,lib}.rs, crates/canopy-contracts-medicaid/tests/roundtrip.rs, crates/canopy-common/src/id.rs, services/canopy-medicaid/src/store/{demonstration_activity,mod}.rs, services/canopy-medicaid/src/api/{demonstration_activity,mod}.rs, services/canopy-medicaid/src/api/demonstration_activity_route_tests.rs (+ infra_tests.rs), services/canopy-medicaid/src/params.rs, rulesets/{georgia,default,test-max}/{jurisdiction.toml,citations.toml}, docs/modules/ROOT/pages/api/canopy-medicaid.adoc, docs/modules/ROOT/pages/data-models/canopy-medicaid.adoc, docs/modules/ROOT/pages/services.adoc, docs/modules/ROOT/pages/authorization-inventory.adoc, docs/modules/ROOT/pages/rulesets.adoc, the OpenAPI snapshot.
D1 and D2 (the section and its boot checks land here so U1’s handler can validate activity codes; reports_in_window lands #[cfg(test)], as refusals_on did, until U2 reads it). Tests, each a regression test failed by a mutation: a create answers 201 with the bearer’s subject; a service bearer is 403; an unknown activity, an extra field, hours over the bound, a period end before its start, a date out of range or after the legal today are their coded 422s; the list is newest first; reports_in_window returns only reports overlapping the window and treats one wholly outside it as absent. Contract tests (roundtrip.rs): the two types round-trip and a body without activity or hours is refused by name. Boot-check tests for the section (regression): duplicate code, bad counts_as, zero window, window over look-back, empty list while enabled. cargo xtask migrations-lint and neutrality-lint clean.
U2 (w5) — The gate, the rule and the code
Files: rulesets/{georgia,default,test-max}/{medicaid-magi,medicaid-denial-reasons}.json, services/canopy-medicaid/src/{demonstration_activity,determine,rules_client}.rs, services/canopy-medicaid/src/determine/demonstration_activity_gate_tests.rs (+ infra_tests.rs), services/canopy-medicaid/src/determine/cooperation_gate_tests.rs (+ its infra_tests), services/canopy-medicaid/tests/{medicaid_test,cmd_reeval_e2e_test}.rs, services/canopy-eligibility/tests/{eligibility_test,envelope_roundtrip_test}.rs, crates/canopy-reference/src/medicaid_labels.rs, services/canopy-notices/src/generator.rs, services/canopy-web/src/api/case_detail/determination_wire.rs, compliance/neutrality-gate.toml, compliance/scenario-inventory/medicaid.toml, compliance/action-catalogue/medicaid.toml, tools/canopy-seed/src/datagen.rs, docs/modules/ROOT/pages/plans/medicaid-cooperation.adoc (erratum), crates/canopy-test-lib/fixtures/rulesets/.
D3 and D4. Unit tests on activity_met (regression, each failed by a mutation): 80 hours in the four-week window meets; 79 does not; a 160-hour report over eight weeks counts 80 by overlap and meets; a 40-hour report over the window’s first two weeks counts 40 and does not; a threshold activity meets with zero hours; a report wholly outside the window is ignored; two hours activities sum; a disabled section never meets. Integration through the real Georgia pack (regression, each failed by a mutation): an adult at 90 % FPL with a verified 160-hour report is approved under the demonstration group; the same adult with no report is denied demonstration_activity_not_met, with the code in cmd_cascade_log and the NOA; an adult with 60 hours is denied the same; a full-time student with zero hours is approved; an adult over 100 % FPL without hours is told demonstration_activity_not_met first; a 30-year-old parent with no report falls to parent_caretaker; a report effective after as_of is ignored. Parity tests (contract) evaluate the three rulesets locally on each arm. Fixture packs (regression): one default-pack run approves with a report; one test-max run denies with a report (disabled). The moved tests of D3, each kept failing on its original subject. The seed gains the reports and cargo xtask seed-verify stays green. cargo xtask policy action-coverage clean with the row bound; neutrality-lint clean with #655’s counts exact.
U3 (w3) — The worker form and the tab
Files: services/canopy-web/src/api/actions_medicaid/demonstration_activity.rs, services/canopy-web/src/api/case_detail/medicaid_tab/demonstration_activity.rs, services/canopy-web/templates/cases/ (the Medicaid tab), services/canopy-web/src/api/mod.rs (PolicyVocab), services/canopy-web/src/demonstration_activities.rs, services/canopy-web/src/api/mock_upstream/medicaid_demonstration_activity.rs, services/canopy-web/src/api/harness_routes.rs, docs/modules/ROOT/pages/api/canopy-web.adoc, docs/modules/ROOT/pages/federal-requirements.adoc.
D5. Route tests (regression, each failed by a mutation): the write gate, the roster proof, an activity off the served list refused before any write, each coded refusal’s copy, and the listing with the counted hours. A template test (regression) that the tab’s copy carries no identity stem. This unit’s MR closes #3201.
Verification
-
cargo xtask test: the unit and integration lanes pass (see Testing). -
cargo xtask dev restart(U1 drops and adds a table; U2 changes packs), thencargo xtask e2e. -
cargo xtask policy audit(medicaid),policy action-coverage,policy audit-jurisdiction-literals,neutrality-lint,migrations-lint,seed-verify,quality-budgets. -
cargo xtask validate: the pre-push battery is green. -
U1 and U2 close their child issues with
Relates to #3201; U3 closes #3201 and moves the plan toplans/archive/withDone.
Documentation Updates
-
api/canopy-medicaid.adoc(the record, the gate in the determination steps, the code),data-models/canopy-medicaid.adoc(the table; the dropped one),services.adoc,authorization-inventory.adoc -
rulesets.adocfor[medicaid.adult_demonstration];federal-requirements.adocrow for 42 USC 1315 and the demonstration STCs (U3) -
CHANGELOG.adoc: one entry per unit under== Unreleased; U2’s names the operator step (enter reports before the next determinations)
Errata
-
Erratum (2026-11-01): the cooperation migration carries no
ALTER … OWNER TOor app-role grant, so the D1 migration has none either; it mirrors20270310000000_medicaid_cooperation_findings.sqlas written. -
Erratum (2026-11-01): the GVRA row’s code is
vocational_rehabilitationin every pack, notgvra_vocational_rehabilitation: a code is vocabulary, and the agency’s name stays in the Georgia citation. -
Erratum (2026-11-01): U1 also corrects the two pages that name the deleted flat keys: the 42 USC 1315 row of
federal-requirements.adoc, and an erratum in the frozenplans/scenario-inventory-e2e.adocfor itsmedicaid.section-1115-demonstrationrow. U3 still adds the STC wording. -
Erratum (2026-11-01): the create’s codes carry the service’s
medicaid_prefix, as its date codes do:medicaid_unknown_activityandmedicaid_hours_out_of_range, plusmedicaid_period_in_futureandmedicaid_period_end_before_startfor the period.hoursfiner than one decimal place is refused, never rounded. -
Erratum (2026-11-01): U1 moves
recorder_subject, the stated-date check and the route-test serving harness out of the cooperation route intoservices/canopy-medicaid/src/api/worker_record.rs(andworker_record/test_harness.rs), so both record routes share one copy. The cooperation codes and tests are unchanged. -
Erratum (2026-11-01): U2 seals each member’s count (
met,counted_hours) inprogram_input, since it is a fact about them;policy_paramsrecord the window and the threshold. The count is truncated to hundredths before the comparison, so a count just short of the threshold never rounds up to meet it. -
Erratum (2026-11-01):
activity_metruns for every subject; the ruleset’s age test alone bounds the group, so Rust does not repeat it.ReportRowdropsverification, which the count never reads. -
Erratum (2026-11-02): U3 adds
GET /v1/demonstration-activity-countsto canopy-medicaid (DemonstrationActivityCount; the OpenAPI path pin 29 to 30), so the tab shows the gate’s own count over the window ending on the legal today rather than counting in canopy-web. The count and the report list admit by delegated rows (MEDICAID_GET_DEMONSTRATION_ACTIVITY_COUNTS,MEDICAID_GET_DEMONSTRATION_ACTIVITY_REPORTS) that also admit a case reader through canopy-web, as the tab's other reads do, rather thanREADER. -
Erratum (2026-11-02): each pack activity gains a
label, which canopy-medicaid’s boot check requires non-blank, so the select and the listing name an activity in words without a template naming it; canopy-web reads the code and the label. -
Erratum (2026-11-02): U3 lands with #3069’s U3 (#3191) in one MR, one section for both (
case_detail/medicaid_tab/worker_facts.rs, rendered below the COA table byprogram_tab::render_categories_tab), the mockmock_upstream/medicaid_facts.rsand the testsactions_medicaid/fact_tests.rs. The tab lists every member, as #3069’s does, and the template test reads the neutrality gate’s stems fromcompliance/neutrality-gate.toml. -
Erratum (2026-11-01): U2’s gate tests share
services/canopy-medicaid/src/determine/gate_harness.rs, lifted from the cooperation gate tests. The HTTP integration tests record hours through onecanopy_test_lib::given::record_qualifying_hoursstep. In the seed, the income-denied childless adults also report hours, and every other denied one is denied for the hours instead.
Review log
| round | vendor | resolved model | verdict |
|---|---|---|---|
1 |
anthropic |
claude-fable-5-1 (gadhs/pi plan review at exit_plan_mode) |
no-ship (fixed): U2 test categories unnamed; D2 silently flipped the default pack’s election (now kept |
2 |
gemini-4-argon (second-vendor review) |
no-ship (fixed): the window arithmetic contradicted U2’s 80/79 case (now counted over the four-week window with no month scaling, overlap and supersession defined); the fail-open risk had no mitigation; the self-employment chart row was missing; |