Re-determination of an enrolled household: interim change, order, COLA and the recertification anchor (#1133, #806, epic &103)

Status: Done (2026-09-21) — !1482
Epic: &103
Issues: #1133 (U-A, U-B, U-D, U-E) · #806 (U-C) — both closed by the one MR
Branches: feat/1133-redetermination-adoption (carries this page)

This is a Design + Scope plan: GitLab owns tracking, the two issues carry the implementer brief, and the plan freezes when U-A starts. The units are the commits of one MR (maintainer ruling 2026-09-17: related issues ship in one MR, one commit each, one battery).

Context

U-CONT (#1658/#1659/#1660) built the general primitive: a signed determination whose basis is continuation-class (EffectiveDateBasis::continuation_class(), CONTINUATION_CLASS_KINDS in crates/canopy-common/src/effective_date_basis.rs:138) applies IN PLACE to the household’s live snap_enrollments row under the lifecycle_revision fence (services/canopy-enrollment/src/main.rs:498-540 routes the class before the enrollment classifier; continuation/arm.rs, classify.rs:54-67): increases and extensions immediately with the exactly-once 273.12(c) supplement (continuation/supplement.rs), reductions and continuation-class denials through the 7 CFR 273.13 adverse-action pipeline (adverse_actions.rs:1741 staging, :2589 enact_reduction_tail, :2508 the termination tail that emits snap.case_closed at enactment; [notices].advance_notice_days, georgia 14). The class has ONE member, in_cert_conversion. Every other approval of an already-enrolled household still meets the #1130 one-live fence and PARKS (enroll_guards.rs:164-176, auto_enroll.rs:690-714), re-offered once a minute until the prior row leaves the live set — months later, when it lands stale. That is the remaining acceptance criterion of #1133, and the repo hands this issue four callers:

  • the interactive re-run — a worker’s POST /v1/eligibility/determine on an application of an enrolled household (services/canopy-web/src/api/applications.rs:2137), today determination_day and a park;

  • the order — determination.requested::Order or the order self-call (services/canopy-eligibility/src/orders/mod.rs:129-171), today order_effective (correct only for a household with NO live row, tests/order_backdated_enrollment_test.rs); a change report IS an order (epic &103, DeterminationTrigger::ChangeReport);

  • the October COLA — bulk/store.rs:439-470 cas_claim stamps mass_change_cola and the run’s as_of; enrollment parks it "for the #1133-capable binary" (F2 D3, enroll_guards.rs:122-137) and refuses one without a live row; bulk_max_cohort_cases is capped "post-#1133" (#806, snap.mass-change.cola unbound);

  • the recertification approval — F1 (#1634, SME item 18) left the in-period approval of a recertification row anchored inside the OLD period (derivation.rs:456-470 legal-today; AgencyFaultPending at the filing date), colliding with months already issued; the rule it handed over: anchor at renewal_certification_end_date + 1, a full first month (7 CFR 273.14(e)(1), (b)(4); 273.10(f); PAMMS 3710). The snap.certification.timely-recert-uninterrupted-benefits scenario is fenced on it (compliance/scenario-inventory/snap.toml:1543).

The classifier ADR-002 Amendment 1 D9 named (the trigger enum / previous_determination_id) has no SNAP producer on the interactive path (crates/canopy-contracts-eligibility/src/determine.rs:371-379; the bulk arm is the only setter of previous_determination_id, bulk/arm.rs:326), so the classifier is arrival path plus fail-closed reads of the household’s live enrollment and in-force certification. canopy-eligibility has no enrollment client or URL today (config.rs:25-121; renewals_url is optional, bulk-only); enrollment’s list read admits any service-class bearer (services/canopy-enrollment/src/api/mod.rs:487-507) but returns expired rows too (store.rs:190-201). An approval-settled postponement deliberately reports no dispatch block (services/canopy-applications/src/api/postponement_support.rs:389), so the application context alone cannot tell that a household’s certification is still the provisional expedited one. canopy-snap carries no live-period input (benefit_period_for_basis, services/canopy-snap/src/determine.rs:404-450), so a continuation kind must carry the period it re-prices. The expiry sweep and the renewals scheduler are fenced once per UTC day (crates/canopy-db/src/window_fence.rs:105), which in Georgia consumes a day’s window four hours before the legal date turns.

Rulings in force: no in-code policy fallback (#1147) and no silent policy-material default (ADR-034 §3); pre-1.0, forward-only, the devstack reseeds; the maintainer’s 2026-09-20 rule that related findings are fixed in the same MR; the F1 "void or re-anchor the in-flight renewal" rule binds only a caller that CHANGES a recertifying certification’s end — every kind here keeps the end, so it stays deferred on that named trigger; F2’s rule that no basis mints a month behind its anchor — the back span is restoration (7 CFR 273.17, #1113).

Scope

In scope

  • U-A the interactive caller: interim_change, the two fail-closed reads, the report date on the interactive path and its ruleset cutoff key, the supplement reconciliation, the adverse effective-date floor, per-kind reason codes and letter bodies, the #1130 park reason without #1133.

  • U-B the recertification approval: recert_approval, renewal_certification_end_date in the determination context, the per-renewal successor row landed by a legal-day due pass, the closure at expiry, renewals' decision record minted at period start.

  • U-C the COLA caller (#806): mass_change_cola in the class carrying the live period, the universe row’s type and chain head, the attempt/freeze split, the mass-change notice exemption with continued benefits, the mass-change letters, the D3 park deleted, the catalogue row bound.

  • U-D the order caller: order_continuation for an order against a household with a live row.

  • U-E the timely-recert journey (spec + walkthrough), the interim-change flow spec, Antora, ADR-002 errata, every live #1133 token, CHANGELOG, the Done flip.

Out of scope

  • The change-report front (epic &103 decisions 1–3, 5–6): it arrives as an ORDER whose producer computes as_of (U-D).

  • Enrollment supersession by row replacement (U-CONT §11’s other remainder): ruled OUT; the #1130 fence stays only as the defect fence for a non-continuation approval that still reaches it.

  • Medicaid: the CMD 42 CFR 431.211 advance-notice gap gets ONE medicaid owner issue (U-E).

  • Cross-program mass-change machinery and batch notices (#776); the mass-change journey rows stay fenced on it. Full-caseload sharding — on #806’s closing comment.

  • Retroactive months: an anchor behind the processing month (a report processed late, a COLA enacted after its effective month) is refused typed and named a restoration candidate (#1113); the closure of a certification that simply expires unrenewed emits nothing today and is unchanged.

Design

Decisions

# Decision

D1

One primitive, one classifier. Every SNAP re-determination of a household with a live, in-force enrollment applies in place through U-CONT; the classifier is arrival path + the D3 reads, never application identity, trigger or previous_determination_id. arm_for_program (services/canopy-eligibility/src/derivation.rs:320-402) stays pure and gains inputs: live: Option<&LivePeriod { certification_start_date, certification_end_date }>, certification_type: Option<CertificationType>, renewal_certification_end_date: Option<NaiveDate>, legal_today, change_reported_on: Option<NaiveDate>, interim_cutoff_day: u32.

D2

Kinds. EffectiveDateBasis gains (serde tag kind; field order is the wire form; one pin each):

  • InterimChange { certification_start_date, certification_end_date, reported_on: NaiveDate, reopen_episode_id: Option<ReopenEpisodeId> } — continuation class; the episode id is present when the arm displaced an A/B reopen, and settle_reopen_episode_if_named (services/canopy-applications/src/api/mod.rs:2772) settles it exactly as it settles application_reopen;

  • OrderContinuation { order_ref: String, certification_start_date, certification_end_date } — continuation class;

  • MassChangeCola { certification_start_date, certification_end_date } — the unit variant becomes a struct and JOINS the class;

  • RecertApproval { renewal_certification_end_date } — NOT continuation class (a new period).

CONTINUATION_CLASS_KINDS = ["in_cert_conversion", "interim_change", "order_continuation", "mass_change_cola"]. Every hand-enumerated basis list gains the variants (a compile error or a pinned assertion today): canopy-common kind(), arb_basis, the wire-form pins, continuation_class_kinds_are_kind_tokens; contracts-snap basis_mirrors / arb_basis (crates/canopy-contracts-snap/src/events.rs:387,466); derivation ArmSeed + every_arm_evaluates_at_legal_today; canopy-snap’s denial_closes_case tripwire (determine.rs:2806-2862); enrollment’s basis_kind CHECK (a forward migration re-declares enrollment_continuations.basis_kind IN (…); the D13 agreement test continuation/infra_tests.rs:429-445; the episode CHECK and check_episode_presence stay in_cert_conversion-only); both notices manifests (an approved + a denied suppressor per kind; event_routing.rs:2429-2465 iterates the const); web effective_note (determination_view.rs:1330-1385) and continuations_panel_copy.rs:81-83; the e2e union in tests/e2e/lib/given/determine.ts:58-71.

D3

Two fail-closed reads, before the arm is chosen, on every /determine with programs ∋ snap and no bulk marker (the order self-call included). Any transport error, non-2xx or parse failure → typed 503 enrollment_state_unavailable and nothing is signed (the order ledger retries under its existing policy).

  • Enrollment: new GET /v1/enrollments/live?household_id=&as_of= (service caller; 200 LiveEnrollmentView { enrollment: Option<SnapEnrollment> }, never a 404 for "none"): the row matching the live predicate (peek_live_enrollment_id's SQL, store.rs:1027-1040) whose period covers as_of = legal_today. An expired-but-unswept row is NOT live for classification.

  • Renewals: the household’s in-force certification (GET /v1/renewals/snap/certifications?household_id=, the read ensure_no_active_certification already uses; 404 = none). certification_type == expedited → the determination is refused 422 certification_conversion_pending (F1’s own code for this state) — the postponed-verification period is provisional until its conversion; an approval-settled postponement carries no dispatch block, so this read, not the application context, is the guard. No continuation kind ever meets an expedited certification (enforced, not assumed).

  • canopy-eligibility config: enrollment_url: String (new, required) and renewals_url: String (required, no longer bulk-only), both boot-validated like applications_url; config/canopy-eligibility/default.yaml gains http://canopy-enrollment:8006 / http://canopy-renewals:8007; the deny_unknown_fields gate test asserts them; the ServiceTokenSource bearer (assignments.rs:171-200). The bulk worker performs the enrollment read per case (D8).

D4

Arm table (SNAP), in precedence order; → live = the enrollment read returned a row:

  1. postponement rows pending → postponement_rows_pending (unchanged)

  2. postponement block → expedited_postponed (unchanged)

  3. conversion block → in_cert_conversion (unchanged)

  4. in-force certification expedited → 422 certification_conversion_pending (D3)

  5. order → live ? order_continuation { order_ref, period } anchored at as_of (D5 refusals) : order_effective (unchanged)

  6. reopen episode → arm R recert_reinstatement (unchanged, exempt from liveness); arms A/B → live ? interim_change { …, reopen_episode_id: Some } : application_reopen

  7. a recertification row with legal_today ≤ renewal_certification_end_date (Interactive or AgencyFaultPending) → recert_approval { renewal_certification_end_date } anchored at end + 1 (exempt from liveness; D9)

  8. live → interim_change (Interactive initial or post-end recertification, AgencyFaultPending); a request without change_reported_on → 422 change_reported_on_required

  9. otherwise the existing arms.

DeterminationContextResponse (crates/canopy-contracts-applications/src/applications.rs:576-592) gains renewal_certification_end_date: Option<NaiveDate> (set iff recertification; builder services/canopy-applications/src/api/mod.rs:2684-2695). The module-doc truth table and the api/canopy-eligibility.adoc precedence line restate this table.

D5

Anchors.

  • interim_change — from the REPORT date, not the processing day. DetermineRequest gains change_reported_on: Option<NaiveDate> (additive; off the wire when absent), the worker’s run-determination form (services/canopy-web/templates/cases/tab_determination.html, api/applications.rs:2137) shows the date field when the case has a live enrollment and forwards it. Key [snap.certification].interim_change_next_month_after_day (0..=31): the effective month is the report month when day(reported_on) ≤ key, else the following month. Values: georgia 20 (PAMMS 3715:85-104 — an increase reported after the 20th is made effective the next month; before it, the current allotment, by supplement when already issued; both inside 7 CFR 273.12(c)(1)), default 20, test-min 0 (always the following month), test-max 31 (always the report month); a [citations."snap.certification.interim_change_next_month_after_day"] row per pack in the existing shape (georgia citations.toml:946-954; fixtures authority = "fixture"). Clamp: the effective month is never before the processing month (first_of_month(legal_today) — a report the agency processed late is agency error, PAMMS 3715:106; the missed month is restoration, out of scope) and never after first_of_month(certification_end_date); benefit_effective_date = the first day of the effective month; reported_on rides the payload. canopy-eligibility loads the key at boot beside load_elderly_age_threshold (orchestrator.rs:182-199; missing or out of range refuses boot). Dated pins: reported Sep 25 → October; reported Sep 10, processed Sep 25 → September; reported Sep 10, processed Oct 3 → October; last certified month clamps.

  • order_continuation — the order’s as_of (the producer’s date; the change-report pipeline computes the report-date rule there); refused 422 order_anchor_behind_processing_month when first_of_month(as_of) < first_of_month(legal_today) and 422 order_outside_certification when outside the live period.

  • mass_change_cola — the run’s as_of; the enact ladder (api/bulk_runs_support.rs) gains enact_outside_effective_month (409) beside enact_too_early: a COLA enacts inside its effective month, so at most one issued month is re-priced (273.12(e)(3)(i) allows the second allotment; the planner’s one-supplement rule makes the first the safe bound).

  • recert_approval — renewal_certification_end_date + 1 for the Interactive and AgencyFaultPending arms alike (F1 SME 18; 7 CFR 273.14(e)(1), (b)(4)); after the end the arms are unchanged.

D6

canopy-snap signs the carried period. benefit_period_for_basis gains one branch for the three period-carrying kinds: (Some(start), Some(end), Some(renewal_deadline(end, recert_timely_filing_day))) — the live period verbatim. recert_approval takes the default arm (certification_period(end + 1, assigned_months)). The JDM assignment still runs on every approval; on a continuation kind it is recorded (event + graph) but does not drive the period — stated in the api/canopy-snap.adoc kinds table. Guards beside conversion_checks (postponement_policy.rs:183): continuation kinds — start ≤ benefit_effective_date ≤ end, start a day 1, end a month-end, mass_change_cola additionally benefit_effective_date == as_of (422 continuation_period_mismatch); recert_approval — benefit_effective_date == renewal_certification_end_date + 1 (422 recert_anchor_mismatch). denial_closes_case (determine.rs:496) becomes !basis.continuation_class() && !matches!(basis, RecertApproval { .. }): a denied renewal leaves the household enrolled to the old end — its closure is enrollment’s (D9); the tripwire test pins the two exclusions.

D7

Enrollment continuation arm — reused, with these additions and no new apply path.

  • Integrity: after the lock, a period-carrying kind whose payload certification_end_date ≠ the live row’s is refused (ArmDefect::CertificationPeriodMismatch, DLQ) — so classify never sees Ordering::Less/Greater on end for these kinds (a pin per kind), which keeps the F1 void/re-anchor rule vacuous.

  • Effective date: stage_continuation_action (adverse_actions.rs:1741) passes effective_date: Some(max(benefit_effective_date, floor)) instead of None — a reduction or termination anchored in a later month never enacts before that month (legal_effective, :1610-1632, already accepts a later date).

  • Reason codes per kind family (the continuation_* rows describe postponed verification, jurisdiction.toml:297): change_benefit_reduced / change_ineligible ("your reported change …", 7 CFR 273.12(c)) for interim_change and order_continuation; mass_change_benefit_reduced / mass_change_ineligible (273.12(e)) for mass_change_cola; rows in all four packs and the citations."snap.adverse_action.reasons" value lists; the arm selects by kind.

  • Supplement reconciliation (supplement.rs:106-200): plan_supplement takes every non-cancelled row attributing money to the effective month (regular AND supplemental) and mints entitlement(new, the covering row’s ratio) − already issued for the month, NothingOwed when ≤ 0 — the enrollment’s current amount is no longer the baseline. Pins: $200 paid, reduced to $100 and enacted, raised to $150 → nothing owed; raised to $250 → $50; the #1722 combined-month arithmetic unchanged.

  • Mass change: exempt = basis_kind == mass_change_cola (7 CFR 273.13(b)(1); PAMMS 3705:57); resolve_source's ContinuationExemptionRefused (:1436-1438) narrows to exempt && basis_kind != mass_change_cola; continuation_create_params writes Exemption { authority: "7 CFR 273.13(b)(1); PAMMS 3705:57", actor: "system:canopy-enrollment" } (the pair CHECK, 20260723000000_adverse_action_entity.sql:95); freeze_policy (:1640-1662) gains cb_despite_exemption so a mass-change action keeps cb_available from its reason row with cb_rule = "CB on a misapplication claim (7 CFR 273.12(e)(6); PAMMS 3705)" — the appeal records the ground.

  • Letters: benefit-continuation.typ (both packs; it panics on an unknown kind, :73) gains a body per kind (change in circumstances for interim_change / order_continuation; the mass-change body for mass_change_cola: the general nature of the change, the effective month, hearing rights and the continued-benefits condition). New mass-change-reduction and mass-change-termination letters in both packs (PAMMS 3705; the notice states the change, the new amount or the ending, the effective month, hearing rights and the misapplication-claim condition) routed by (created_source = "continuation", reason_code = mass_change_*) on enrollment.adverse_action_scheduled — noa-reduction / noa-termination are advance notices of adverse action and 273.12(e)(1)(ii) forbids them for this change; change_* reductions keep those two letters with the new display texts. Rendered cases in crates/canopy-typst/tests/render_test.rs; continuations_panel_copy.rs labels the kinds.

D8

COLA (U-C).

  • Universe row: UniverseSnapshotRow gains certification_type and continued_by_determination_id: Option<DeterminationId> (renewals contract, the INSERT..SELECT store.rs:1699-1725, a forward migration on snap_universe_snapshot_rows). Admission (bulk/worker.rs:412) excludes expedited rows with a run-level excluded_expedited count (a provisional period; its conversion prices under the effective figures) and stamps baseline_determination_id = continued_by ?? determination_id — the chain head, so a second annual COLA on a long certification passes canopy-snap’s one-successor-per-prior check (determine.rs:2001).

  • Attempt, read, freeze: cas_claim (bulk/store.rs:439) splits into claim_attempt (sets attempt_started_at, operation_id) and freeze_provenance(case, period) (basis + benefit_effective_date, COALESCE-idempotent). The worker claims, reads enrollment’s in-force row at the run’s as_of, freezes MassChangeCola { period }, dispatches. Outcomes settle through settle_case (:688-720, the attempt is started): no row → terminal no_live_enrollment_on_effective_date; read error → the existing retryable failure. At enact the period is re-read; a difference from the frozen basis is terminal certification_changed_since_preview — recovery is a new run (a retry re-arms the phase and keeps the frozen basis, :1493).

  • Enrollment: main.rs:499 routes the class before the classifier, so enroll_guards.rs loses cola_arm, is_mass_change_cola, mass_change_without_live_enrollment and the D3 doc (guard_before_insert keeps G1 born-expired); the arm’s NoLiveEnrollment DLQ is the only no-live outcome.

  • Catalogue: snap.mass-change.cola binds to the bulk cohort run (system job: component canopy-eligibility, test_ref the U-C infra test); its allowlist row is deleted.

D9

Recert approval — a scheduled successor per renewal application (U-B). recert_approval is non-continuation and reaches enrollment’s classifier path, where recert_facts (beside expedited_facts) requires benefit_effective_date == renewal_certification_end_date + 1 == effective_date. It is never inserted on arrival and never parks:

  • Record: snap_enrollment_successors keyed by renewal_application_id (= upstream_application_id, PK): household_id, determination_id, determined_at, decision ∈ approved | denied, benefit_effective_date, certification_end_date, event JSONB (the approval payload; NULL on a denial), status ∈ scheduled | withdrawn | landed | superseded_by_live_row | refused, enrollment_id NULL until landed. Every approval or denial of the renewal application upserts under causal::supersedes against the row’s (determination_id, determined_at): older or equal → acked with metric successor_stale_arrival, nothing changes; a newer approval → scheduled; a newer denial → withdrawn. A denial with no live row publishes snap.case_closed at once (closure_date = legal_today, the denial’s reason); with a live row the closure waits for the expiry.

  • Landing: the expiry sweep gains a second step after the expiries, land_due_successors — every scheduled row with benefit_effective_date ≤ legal_today, each in its OWN transaction: a live row for the household → superseded_by_live_row (the day-of race: an interactive approval landed first); else validate_for_enrollment + create_from_inputs on the stored event (the first issuance a FULL month row — standard_first_issuance skips initial_month_decision for this kind, 273.14(e)(1), no proration, no $10 initial-month floor) → landed + enrollment_id; a born-expired or otherwise refused event → refused (metric; restoration candidate). Keyed on the successor’s date, not on an expiry, it lands the successor of a terminated predecessor too and never rolls an expiry back. expire_one (expiry_sweep.rs:222-262) additionally publishes snap.case_closed (closure_date = end + 1, the denial’s reason) when the household’s successor row is withdrawn.

  • Cadence: run_daily_fenced (crates/canopy-db/src/window_fence.rs:105) gains a window-key parameter (run_window_fenced(pool, job, window_key, f); the UTC-day entry delegates); the enrollment expiry tick and the renewals scheduler pass their LEGAL date, so the first hourly probe after legal midnight expires and lands — a pin on the window key per tick. The manual triggers stay unfenced.

  • Reads: GET /v1/enrollments/successors?household_id= (service or exchanged worker read) for the journey and the continuations panel ("Recertified — the new period starts YYYY-MM-DD").

  • After landing the recert row is post-end and the live row is the new enrollment, so a later decision of that application is U-A’s interim_change (approval re-price; denial → termination through the pipeline). The #1130 park stays for the remaining non-continuation kinds; one_live_park_reason drops its #1133 clause and the #1130 / D3 pins assert the new text.

D10

Renewals mints at period start (U-B). A recert_approval_arm beside recert_reinstatement_arm (determination_subscriber.rs:429-473) writes snap_renewal_decisions keyed by renewal_application_id (certification_id, determination_id, determined_at, decision, the signed pair, certification_type_for(certification_category), status ∈ scheduled | withdrawn | minted) under causal::supersedes — create_with_supersede (cert_create.rs:158-185) is replay-guarded, not causal, so the guard lives here. The recertifying certification stays in force until its end (universe snapshots and current-period continuations keep working). The scheduler’s daily pass gains mint_due_renewals: scheduled decisions with start ≤ legal today → create_with_supersede with the recorded pair and type (the old certification is past its end) → minted; withdrawn mints nothing. The certification record may trail the enrollment landing by the pass cadence; enrollment is the issuing authority.

D11

Docs, errata and tokens. ADR-002 Amendment 1 gets ONE as-built erratum line after its header (the classifier is the basis kind plus the D3 reads; the 273.13 reduction path is U-CONT-a’s, not #1002’s; the park is now the defect fence only). Every live #1133 token is re-pointed or rewritten as-built (the U-E checklist); the medicaid-context tokens point at the new medicaid owner issue. federal-requirements.adoc gains a 7 CFR 273.12(c) row (the cutoff key) and names 273.13(b)(1) / 273.12(e)(6) on the COLA row; configuration-reference.adoc gains the two URLs.

Invariants

  • A continuation kind carries the live period and canopy-snap signs it unchanged; enrollment’s classify sees Ordering::Equal on end for every kind here; a mismatch is a DLQ, never an apply.

  • The classifier is total and pure over its inputs; the two reads are never skipped and never guessed (read error ⇒ no determination); an expedited certification refuses every re-determination.

  • No continuation anchor precedes the processing month or leaves the live period; an interim_change anchor is a function of (reported_on, key, legal_today, period) and reported_on is on the signed basis.

  • A reduction or termination is never enacted before its signed anchor nor before the notice floor; a mass-change action is advance-notice exempt and keeps its continued-benefits election.

  • A supplement never pays a month above its entitlement: owed = entitlement − already issued, over regular and supplemental rows.

  • recert_approval: at most one scheduled successor per renewal application; the newest decision wins; a denial lands nothing and closes the case at the old end (at once when nothing is enrolled); the first issuance of a landed successor is a full month; the successor lands on the first pass after legal midnight of its start day.

  • No household ever holds two live enrollments.

Units (weights by complexity) — U-A → U-D → U-C → U-B → U-E, one MR

U-A (w8) — feat(eligibility): add interim_change in-place re-price (#1133)

Files: crates/canopy-common/src/effective_date_basis.rs (D2), services/canopy-eligibility/src/{config.rs,main.rs,orchestrator.rs,derivation.rs} (D3 reads + clients, D4, D5 loader), config/canopy-eligibility/default.yaml, crates/canopy-contracts-eligibility/src/determine.rs (change_reported_on), services/canopy-web/src/api/applications.rs + services/canopy-web/templates/cases/tab_determination.html (the date field), rulesets/{georgia,default,test-min,test-max}/{jurisdiction,citations}.toml (the key, the reason rows), services/canopy-enrollment/src/{api/mod.rs,store.rs} + crates/canopy-contracts-enrollment/src/models.rs (the live read), services/canopy-enrollment/src/continuation/{arm.rs,supplement.rs} + adverse_actions.rs (D7 integrity, effective date, reason selection, reconciliation), enroll_guards.rs + auto_enroll.rs pins (park reason), services/canopy-enrollment/migrations/<new>_continuation_basis_kinds.sql, services/canopy-applications/src/api/mod.rs (settle interim_change's episode), services/canopy-snap/src/{determine.rs,postponement_policy.rs} (D6), crates/canopy-contracts-snap/src/events.rs, rulesets//notices/manifest.toml + services/canopy-notices/src/event_routing.rs pins, rulesets//notices/snap/benefit-continuation.typ + render cases, services/canopy-web/src/{determination_view.rs,api/continuations_panel_copy.rs}, renewals continuation/{rules.rs,infra_tests.rs} docs (the "adopter" notes become as-built). Tests: the D5 dated pins per fixture value and the clamps; the arm table as a truth table incl. the exempt arms, the expedited refusal and the missing-report-date refusal; a failed read refuses the determination; enrollment infra: increase → immediate + one reconciled supplement, decrease → reduction_staged with effective = max(anchor, floor) → noa-reduction with the change_* text, denial → termination_staged → snap.case_closed at enactment, stale end → DLQ; the D12 reconciliation pins; the D13 agreement tests over four tokens; the reopen-episode settlement under interim_change.

U-D (w3) — feat(eligibility): add order_continuation for live enrollments (#1133)

Files: derivation.rs (D4 step 5, D5 refusals), services/canopy-eligibility/tests/order_continuation_test.rs (new: an enrolled household, determine_with_order inside the period → one order_continuation row, amount in place, end unchanged; behind the processing month → 422; outside the period → 422), order_backdated_enrollment_test.rs doc, api/canopy-eligibility.adoc order section.

U-C (w8) — feat(eligibility): re-price live enrollments in the COLA run (#806)

Files: crates/canopy-contracts-renewals/src/universe_snapshots.rs, services/canopy-renewals/src/store.rs + migrations/<new>_universe_row_type_and_chain_head.sql (D8 universe row), services/canopy-eligibility/src/bulk/{worker.rs,store.rs,arm.rs} + api/bulk_runs_support.rs (admission, claim/freeze split, outcomes, enact_outside_effective_month), services/canopy-enrollment/src/enroll_guards.rs (deletions) + auto_enroll.rs pins, adverse_actions.rs (exempt, Exemption, cb_despite_exemption), rulesets//notices/snap/mass-change-{reduction,termination}.typ + manifest.toml routes + render cases, compliance/action-catalogue/snap.toml, compliance/action-coverage-allowlist.toml, docs/modules/ROOT/pages/runbooks/bulk-cola-scaling.adoc, services/canopy-eligibility/migrations/20261120000000_cohort_runs.sql comment. *Tests: bulk infra — a universe of {live standard, expired, expedited, long certification already continued once} yields {mass_change_cola applied, no_live_enrollment_on_effective_date, excluded at admission, baseline = the chain head}; a certification change between preview and enact → certification_changed_since_preview; the enact preflight outside the effective month; enrollment — a COLA reduction stages exempt with floor today, cb_available true, the mass-change letter; an increase applies immediately with the October supplement; a denial stages an exempt termination with the mass-change termination letter.

U-B (w8) — feat(eligibility): anchor recert approvals at the old end + 1 (#1133)

Files: crates/canopy-contracts-applications/src/applications.rs + services/canopy-applications/src/api/mod.rs (context field), derivation.rs (D4 step 7), services/canopy-enrollment/src/auto_enroll.rs (recert_facts, the full first month), new services/canopy-enrollment/src/successors.rs + migrations/<new>_enrollment_successors.sql (D9), expiry_sweep.rs (land_due_successors, the closure at expiry, the legal-day window), crates/canopy-db/src/window_fence.rs (run_window_fenced), services/canopy-renewals/src/{determination_subscriber.rs,scheduler.rs} + migrations/<new>_renewal_decisions.sql (D10), enrollment services/canopy-enrollment/src/api/mod.rs + crates/canopy-contracts-enrollment (the successors read), services/canopy-web/src/api/continuations_panel_copy.rs (the scheduled line), services/canopy-snap/src/{determine.rs,postponement_policy.rs} (D6 guard + denial_closes_case; the :320-328 doc), compliance/scenario-inventory/snap.toml:1543 (fence lifted), tests/e2e/specs/flow-snap-recert-reinstatement.spec.ts:126 comment. Tests: dated derivation tests (last day of the period, the day after, an agency-fault pend on a recert row); enrollment infra pins mirroring expiry_sweep.rs:941-1000: an approval schedules and nothing parks; the pass on end + 1 expires the old row and lands the successor in its own transaction with a full first month (a $5 allotment issues $5); a newer approval supersedes, a newer denial withdraws (closure at expiry with the denial’s reason; at once with no live row), an older arrival is stale; a terminated predecessor’s successor lands on its date; a born-expired successor is refused and the expiry stays committed; an interactive approval landed first → superseded_by_live_row; the window key is the legal date; renewals — the decision row is causal, the recertifying row stays in force to its end, mint_due_renewals mints once at start and a withdrawn decision never mints.

U-E (w5) — test(e2e): add timely-recert and interim-change flows (#1133, #806)

Files:

  • tests/e2e/specs/journey-snap-timely-recert.spec.ts (new, project journey: arrangeRenewalDueSoon → file the renewal by the 15th → interview → approve in period → recert_approval at end + 1, the successor scheduled, the old row still issuing → advanceClocksTo(end + 1) → runExpirySweep → awaitEnrollment start end + 1, full first month, no gap on the applicant home) bound to snap.certification.timely-recert-uninterrupted-benefits; docs/modules/ROOT/pages/walkthroughs/journey-snap-timely-recert.adoc + frames (captured by the maintainer, cargo xtask e2e --no-refresh --devstack-profile full — specs/<spec> --project journey, selected by mtime).

  • tests/e2e/specs/flow-snap-interim-change.spec.ts (new, project caseworker, two arms like flow-snap-in-cert-conversion.spec.ts: a wage decrease reported before the cutoff → immediate + supplement + benefit-continuation; a wage increase reported after the cutoff → reduction_staged effective the following month + noa-reduction).

  • Antora: api/canopy-eligibility.adoc, api/canopy-enrollment.adoc, api/canopy-snap.adoc, api/canopy-applications.adoc, api/canopy-renewals.adoc, data-models/canopy-enrollment.adoc (the successors table), data-models/canopy-renewals.adoc (the decisions table, the universe row), configuration-reference.adoc, federal-requirements.adoc, adrs/adr-002-…adoc (D11), the regenerated OpenAPI files (cargo xtask api-docs --update after dev refresh).

  • Token checklist — grep -rn '#1133' over the live tree (archived plans and CHANGELOG stay). SNAP tokens rewritten as-built: enroll_guards.rs, auto_enroll.rs, services/canopy-enrollment/src/api/mod.rs:471, supplement.rs:23, issuance_settlement.rs:1794, renewals rules.rs:170 / infra_tests.rs:1704, snap/determine.rs:325, order_backdated_enrollment_test.rs:35, cohort_runs.sql:16, portal/home.rs:409,555,1793, bulk-cola-scaling.adoc:78, data-models/canopy-enrollment.adoc:13, scenario-inventory/snap.toml:1541-1543. Medicaid tokens → the medicaid owner issue: manifest.toml ×2, action-catalogue/medicaid.toml:1837, contracts-medicaid determinations.rs:92 + openapi/medicaid.json, federal-requirements.adoc:426, the CMD walkthrough :291,:311 and its spec :73,:643.

  • CHANGELOG.adoc (=== Added: the three continuation kinds, recert_approval and the scheduled successor, the two enrollment reads, the cutoff key, the mass-change letters; === Changed: mass_change_cola is a struct variant in the continuation class, renewals_url required, the D3 park removed, the park reason text, run_daily_fenced gains a window key; === Fixed: the recert approval anchor, the supplement baseline, the adverse effective-date floor); this page’s Status.

Verification

  1. After cargo xtask dev refresh on georgia: a household enrolled 2026-09-01..2027-02-28 records a wage decrease reported 2026-09-10 and is re-run 2026-09-25 → interim_change { 2026-09-01, 2027-02-28, 2026-09-10, None }, benefit_effective_date 2026-09-01, an immediate row and one September supplement equal to the entitlement minus the money already issued, the benefit-continuation letter; the same reported 2026-09-25 → October, no September supplement; a wage increase reported 2026-09-25 → reduction_staged, effective max(2026-10-01, today + 14), noa-reduction with the change_benefit_reduced text; ineligible → termination_staged, no snap.case_closed until enactment; a re-run without a report date → 422; a household whose certification is still expedited → 422 certification_conversion_pending; the DLQ stays empty; the continuations panel labels the kind.

  2. An order (determineWithOrder, as_of inside the period and not behind the month) against the same household → order_continuation applied in place; as_of in July → 422; against a household with no live row → order_effective and a new enrollment, as today.

  3. A bulk COLA run (POST /v1/eligibility/bulk-runs, preview, enact inside the effective month) over seeded households → one mass_change_cola continuation per live standard enrollment (increases immediate; a reduction staged exempt with floor today, cb_available true, the mass-change letter), the expedited certification excluded at admission, the expired row a terminal failure, a long certification’s second COLA passing the supersession check; cargo xtask policy action-coverage reports snap.mass-change.cola covered.

  4. The timely-recert journey: the renewal approved in period signs recert_approval anchored at end + 1; the successors read shows one scheduled row and the enrollment count stays 1 until end + 1; the pass expires the old row and lands the new one starting end + 1 with a full first month; renewals shows the recertifying certification to its end and the minted one after; a second approval supersedes the scheduled one and a denial withdraws it (closure staged at the old end); nothing is parked; cargo xtask scenarios audit shows the row covered.

  5. cargo xtask policy audit clean (the new key and reason rows cited, no orphans); cargo xtask rules check; cargo xtask seed-verify right after the reseed; flow-snap-in-cert-conversion, flow-snap-recert-reinstatement, journey-snap-expedited-postponed-lapse, journey-medicaid-ssi-termination-cmd-redetermination re-run green.

  6. git push — the pre-push battery is the gate.

Documentation Updates

  • api/canopy-eligibility.adoc (arm table, the two reads, the URLs, change_reported_on), api/canopy-enrollment.adoc (live + successors reads, kinds, events), api/canopy-snap.adoc (kinds table), api/canopy-applications.adoc (context field), api/canopy-renewals.adoc (universe row, decisions), data-models/canopy-enrollment.adoc, data-models/canopy-renewals.adoc, configuration-reference.adoc, federal-requirements.adoc, ADR-002 erratum, the runbook, the new walkthrough page, the regenerated OpenAPI files.

  • CHANGELOG.adoc — == Unreleased.

  • GitLab: #806 retitled to U-C and weighted; the medicaid owner issue filed and every medicaid token pointing at it; #1133’s closing comment records the F1 deferral (void or re-anchor an in-flight renewal when a caller changes a recertifying certification’s end — no caller here does) and the restoration handoffs (#1113); the full-caseload sizing note on #806.

Review log

round vendor resolved model verdict

1 (2026-09-21)

Anthropic

claude-fable-5-1

no-ship — three blockers fixed in-plan: five commit subjects over 72 chars and declarative; the recert newest-wins read over event_inbox was unsound (the janitor drains processed rows, the payload is the whole envelope); the mass-change exemption collided with ContinuationExemptionRefused and the exemption-pair CHECK. Q3 clean; Q4 D9 and U-E bulleted.

2 (2026-09-21)

OpenAI

gpt-6-astra

no-ship — 23 findings (17 P1, 6 P2), each verified against 8fc7f0101 and resolved in-plan: the recert denial’s premature closure (D6/D9); successor resurrection, stranding and the immediate-insert case (D9, per-renewal watermark + due pass); renewals' non-causal early supersede and the withdrawn future certification (D10, mint at period start); the approval-settled postponement and the expedited initial-issuance flag (D3, the certification-type read); the lost reopen settlement (D2); the processing-month contradiction with PAMMS 3715:97 (D5, report date + cutoff key); back-dated anchors and repeated-change overpayment (D5 clamp, D7 reconciliation); early enactment of future-effective reductions (D7); CB under the mass-change exemption, the wrong letter and the wrong reason text (D7); the COLA chain head, attempt/freeze split, drift recovery and canary skip (D8); the UTC-day fence (D9). No round 3.

Edit this page · default