SNAP recertification — interview, NOMI, denial and prorated reinstatement (F1 of the #788 family) (v13)
- Status
- The plan (v13 — round-1, round-2, round-3, round-4, round-5, round-6, round-7, round-8, round-9, round-10, round-11 and round-12 findings resolved)
- U-RC-FRAME — F1 frame: plan page, nav, epic children, action rows, closure (#1634) — weight 2
- Purpose + regulatory cites
- Data model
- Contracts — stream auth contract per endpoint class (binding on every unit; #788 family finding 2)
- Endpoints + drains — drain production-safeguard checklist (#788 family finding 42)
- Events + cutover order (#788 family findings 7, 41)
- Notices (stream conventions; ownership of mechanics)
- Params + citations
- BFF-UI slice (stream conventions; #788 family finding 40 — binding per unit)
- Tests
- Deployment + index notes
- Docs obligations + epic/child-issue shapes (#788 family finding 44)
- Out of scope
- Issues the frame files (R4 — filed as #1732–#1737, each
Relates to #1634) - FINDINGS RESOLVED (v1 — the pre-plan survey questions this frame closes; R = renewals survey, I = intake-machinery survey, P = rows/regs survey)
- U-RC-A — the renewal identity (canopy-applications + canopy-renewals + canopy-web)
- U-RC-B — recert interview, NOMI, denial clock, On-Demand renewal (canopy-applications + canopy-notices + canopy-web)
- U-RC-C — the 273.14(e)(2) reinstatement (canopy-common + applications + eligibility + snap pin + enrollment + renewals + notices + web)
- 1. Purpose + regulatory cites
- 2. Data model
- 3. Contracts
- 4. Endpoints + drains
- 5. Events + cutover order
- 6. Notices
- 7. Params + citations
- 8. BFF-UI slice (MR1 tolerance + the worker-denial recovery copy; MR2 the reopen variant)
- 9. Tests
- 10. Deployment + index notes
- 11. Out of scope
- 12. FINDINGS RESOLVED
- SME-flag resolutions inventory (v13 — every policy ambiguity DECIDED in-plan with a cite; items 1, 3, 4, 9, 10, 14 rewritten and 16–17 added by the round-1 rulings; items 1, 6, 7, 16 rewritten and 18 added by the round-2 rulings; items 1, 7, 13, 16 amended and 19 added by the round-3 rulings; items 1, 2, 3, 8, 10, 18 amended by the round-4 rulings; items 4, 9, 10, 16 amended by the round-5 rulings; item 16 amended by the round-6 rulings; items 1, 3, 16, 19 amended and 20 added by the round-7 rulings; item 16 amended by the round-8 rulings; items 1, 8, 18, 19 amended and 21 added by the round-9 rulings; item 16 amended by round 10 (item 1 unchanged); no item amended by round 11; items 19 and 20 amended by round 12; reviewers confirm or overturn)
- Out of scope (family-level)
- Review rounds
Status
| Unit | Issue | Status |
|---|---|---|
U-RC-FRAME (w2) |
#1727 — F1 frame: plan page, nav, epic children, four |
Done (2026-09-05) — !1316, merge ec2c81b8c2c1b3eca8b4dab5550d7ff0da202019 |
U-RC-A (w8) |
#1728 — the renewal identity: |
Done (2026-09-05) — !1317, merge 4b7ec3962a9c0d6d2cad17e3c5b7ec7a493f6085 |
U-RC-B (w5) |
#1729 — recert interview context, NOMI + day-30 (deny AND pend arms) on the renewal deadline, the 273.14(b)(3)(iii) headroom bound on every recertification row, On-Demand renewal interview, kind-branched templates (incl. |
Done (2026-09-06) — !1320, merge 886d349a5cdfe9d5a9151633268234bca2a9704f |
U-RC-C-a (w5) |
#1730 — the 273.14(e)(2) reinstatement, MR1: the four |
Done (2026-09-05) — !1318, merge c19312fdd8082b07a4f7204c95d3a95c258046f9 |
U-RC-C-b (w5) |
#1731 — the 273.14(e)(2) reinstatement, MR2: episode migration, reopen kind arm (arm R), eligibility derivation arm (the producer), prorated fresh enrollment pins, web recert reopen variant, row 14; the stream’s final MR (closure gates) |
Done (2026-09-06) — !1322, merge 8ea47fbb36947933a874763aa5f10528177119eb |
Epic: &81
Issues: #1634 (closure) · children #1727 (U-RC-FRAME) · #1728 (U-RC-A) · #1729 (U-RC-B) · #1730 (U-RC-C-a) · #1731 (U-RC-C-b)
Branches: feature/1634-{frame,a,b,c-a,c-b}, one MR per child issue (U-RC-C’s two-MR shape is realised as the two child issues U-RC-C-a = MR1 and U-RC-C-b = MR2; the U-RC-C unit section below keeps the MR1/MR2 wording and every "U-RC-C MR1" / "U-RC-C MR2" on this page reads U-RC-C-a / U-RC-C-b)
Status rows above are per child issue; each child issue closes on its own MR (Closes #N). #1634 is the closure issue of this stream (a follow-up of the #788 family, epic &81); it closes on the final landing MR (U-RC-C-b’s) and never on a child MR.
The plan (v13 — round-1, round-2, round-3, round-4, round-5, round-6, round-7, round-8, round-9, round-10, round-11 and round-12 findings resolved)
The remainder of this page is the plan text (the binding spec — living document: update Design/Scope here when implementation deviates). Child-issue descriptions embed their unit section; this page is the single canonical home. Round-1 findings are cited per unit as r1-policy F#, r1-data F#, r1-impl F#, round-2 findings as r2-policy F#, r2-data F#, r2-impl F#, round-3 findings as r3-policy F#, r3-data F#, r3-impl F#, round-4 findings as r4-policy F#, r4-data F#, r4-impl F#, round-5 findings as r5-policy F#, r5-data F#, r5-impl F#, round-6 findings as r6-policy F#, r6-data F#, r6-impl F#, round-7 findings as r7-policy F#, r7-data F#, r7-impl F#, round-8 findings as r8-policy F#, r8-data F#, r8-impl F#, round-9 findings as r9-policy F#, r9-data F#, r9-impl F#, round-10 findings as r10-policy F#, r10-data F#, r10-impl F#, round-11 findings as r11-policy F#, r11-data D#, r11-impl F# and round-12 findings as r12-policy F#, r12-data D#, r12-impl F# (the three review lenses per round; round 11’s data lens numbered its findings D1–D4, round 12’s D12-1–D12-5); the owner’s cross-check rulings are recorded as SME items 16–21 and in the §-level text.
Three fenced renewal rows re-fenced on #1634 by the #788 family (archived plan
plans/archive/snap-intake-completion.adoc:220-222): rows 13
(snap.certification.recert-missed-interview-nomi), 14
(snap.certification.recert-household-delay-prorated-reinstatement) and 15
(georgia.snap.certification.on-demand-renewal-interview). 7 CFR
273.14(b)(3), (b)(3)(iii), (b)(4), (d)(2), (e)(1), (e)(2); 273.2(e)(3); PAMMS SNAP 3710 Chart 3710.1. The family’s
cumulative rulings bind here unchanged: architecturally correct only — no
shortcuts, no fig leaves, no pre-1.0 compat shims, jurisdiction-portable, policy
codified in rules where applicable.
The one ruling that shapes everything. A renewal is an applications row
(today’s truth — a recert IS a new initial application:
tests/e2e/specs/journey-snap-recert-churn.spec.ts:55-66, tests/e2e/lib/given/snap.ts:486-495;
no kind column on applications,
services/canopy-applications/migrations/20260401000000_create_applications_tables.sql:4-25;
snap.recert.file-renewal-application
bound to create_application, compliance/action-catalogue/snap.toml:720-731),
made a FIRST-CLASS recertification by identity facts written at filing — never a
renewals-owned application object, never a resurrection of the old certification
row. Consequence: the intake machinery runs on the renewal application UNCHANGED
wherever it keys on the SNAP row’s clocks — G2 and the NOMI read the immutable
standard_processing_deadline (api/interviews.rs:133, scheduler.rs:1251-1252),
the day-30 scan reads current_workflow_deadline (store/day30.rs:47); the two
start equal (store/mod.rs:256 VALUES (… $4, $4 …)); the only movers of
current_workflow_deadline on a recertification row are the reused pend arms
(U-RC-B, exactly as intake — enforce_pend extends it by snap_standard_days,
scheduler.rs:1828-1868; store/day30.rs:302-311; agency fault is agency
fault, 273.14(e)(1) "continue to process the case"; pinned in U-RC-B §9;
r2-data F1 / r2-policy F1) and the U-RC-C-b reopen reset (store/reopen.rs:473);
filing, schedule, miss, NOMI, every fenced action and every deny arm leave it
equal to standard_processing_deadline — pinned (U-RC-A §9 for filing + the
fenced actions, U-RC-B §9 for schedule / miss / NOMI; r7-impl F3); because
U-RC-A sets the immutable clock at filing to the 273.14 deadline by kind. The
interview context CHECK widens for prose and audit, not for mechanics. The
273.14(e)(2) reinstatement is a REOPEN of the denied renewal application
(U-REOPEN’s episode + saga) with a different window, arm and SOP and its own
signed basis kind — never the enrolled-household continuation primitive (the
enrollment is expired by then; the continuation arm DLQs without a live
enrollment; the in-cert timely case is #1133’s, not F1’s). Which recertification
denials are reinstatable is a JURISDICTION PARAM (SME item 16): Georgia reinstates
only a verification_not_provided denial (Chart 3710.1 :309-317); a
missed_interview denial requires a new application (:267-270, :296-299); the
federal floor reinstates any "required action" (273.14(e)(2)).
Family roster (canonical weights; sub-units are the child issues)
| Unit | Delivers | Sub-units (wt) | Depends on | MR shape |
|---|---|---|---|---|
U-RC-FRAME |
plan page, nav line, epic children, four |
2 |
— |
first MR |
U-RC-A |
renewal identity on |
8 |
— |
single MR; restart order renewals (consumer + queue) → applications (producer) → notices → web (the last two tolerant, U-RC-A §10; r6-data F3) |
U-RC-B |
|
5 |
U-RC-A; U-RC-C-a (owns |
single MR |
U-RC-C-a (= U-RC-C MR1) |
|
5 |
U-RC-A |
single MR ( |
U-RC-C-b (= U-RC-C MR2) |
episode migration ( |
5 |
U-RC-C-a; U-RC-B |
single MR ( |
Family total = 2 + 8 + 5 + 5 + 5 = 25 (#1634 weight 25). Follow-ups named here and NOT delivered: #1133 (timely
in-cert recert continuity via U-CONT — including the approval ANCHOR of a
non-reinstatement recertification approval, SME item 18), #794/#1113 (agency-fault restoration),
applicant-portal renewal filing (no issue yet; the frame files it — R4), the
unfenced snap.certification.untimely-recert + late-recert-proration rows
(F1 makes them bindable but does not flip them).
Cutover order (consumer-first; numbered)
1. U-RC-FRAME → 2. U-RC-A (renewals consumer + the code-declared
canopy-renewals.renewal-filings queue live before the applications producer
restarts; from this step recertification rows exist in production and are
FILED, PROJECTED and READ only — nothing acts on one until its kind-aware
prose and right exist, the FULL dormant fence (r4-data F1, overriding
round 3’s deny-only fence): the day-30 leg returns the durable ledger token
kind_deferred for EVERY arm on a recertification row — deny AND pend — with
the WARN metric day30_recert_deferred (no denial, no pend episode, no letter,
both clocks unchanged); the worker administrative denial answers 409
recert_denial_not_active; and POST …/interview/schedule /
…/interview/reschedule answer 409 recert_interview_not_active ("lands with
U-RC-B") — so no interview letter, no NOMI and no On-Demand default by-date can
reach a renewal household before the kind-aware prose exists, and no recert
denial is ever written with the intake 60-day reopen_deadline_date; the
service-only interview/complete / waive stay reachable (U-RC-A §4.5–4.7)) →
3. U-RC-C-a = U-RC-C MR1 (the FOUR params in all four rulesets + every typed
consumer tolerating recert_reinstatement — the grep-derived table in U-RC-C §5,
including canopy-applications' own record-back settle; plus the kind-aware
recertification denial — reopen_deadline_date by kind at both writers, which
LIFTS the DENY half of U-RC-A’s fence and the worker 409 (dormant → activate,
the U-EXP shape; the pend half and the interview fence stay), the
Day30ScanRow.renewal_certification_end_date column, application.denied.snap fields incl.
the producer-derived reinstatable + reinstatement_window_open, the noa-denial
273.14(e)(2) branch on them at both of the template’s reopen-by sites (U-RC-C §6;
r10-policy F1) — and the
reopen endpoint’s dormant fence with the recert preview contract) →
4. U-RC-B (interview context + the (b)(3)(iii) G4 bound on every recertification
row + NOMI/day-30 deny AND pend pins + templates incl. the agency-pending
recert branch + rows 13 and 15; it LIFTS the interview fence and the PEND half
of U-RC-A’s fence — it owns the agency-pending branch and the two payload
keys) →
5. U-RC-C-b = U-RC-C MR2 (the reopen kind arm produces the basis; web recert reopen variant;
row 14). The final landing MR (U-RC-C-b’s) closes #1634. Neither U-RC-C MR carries a
drain-before-deploy note (the kind is additive; rollback = stop the producer).
Window analysis (stated once; binding on U-RC-A/U-RC-B/U-RC-C-a): between
steps 2 and 3 (A→B and A→C-a) a recertification row can be filed, projected,
listed and read, and its interview completed or waived by the service-only
path; no F1-FENCED action (schedule/reschedule, day-30 deny/pend, the worker
administrative denial) touches it — the pre-existing determination,
withdrawal, assignment and checklist paths remain reachable and are out of F1
scope (SME 6/18; r5-impl F3). In the C-a→B window the deny arms are active on
recert rows but no scheduled interview can exist (schedule/reschedule are
fenced), so arm 4 DenyMissedInterview is unreachable and the On-Demand default
by-date question is moot — the intake default (interview_by_date = SOP,
api/interviews.rs:83-87) never reaches a renewal household, so no recert
On-Demand row is ever missed on SOP + 1 and denied after the period end; a recert
row whose interview was completed via the service-only path (api/mod.rs:1669;
the legacy no-appointment completion only stamps the application — no
application_interviews row is created, :1680-1682 — so nothing needs
backfilling from this path) and whose checklist item is past due IS denied
verification_not_provided by C-a’s kind-aware writer with C-a’s letter —
correct; every pend arm (3a/3b/5/6) still returns kind_deferred until step 4. ONE worker-facing RESIDUE in the A→C-a window, recorded and ACCEPTED (r12-data D12-3 — DECIDED option 1): the reopen preview (GET …/reopen/eligibility — today NotDenied with window_closes_on = filed + 60 and standard_period_ends_on = filed + 30, api/reopen_reads.rs:62-84) and the process-page panel (templates/applications/process.html:62 "Reopen within 60 days", the <dl data-reopen-window> dates :73-79) still state the intake 273.2(h)(2) 60-day right on a recertification row between U-RC-A and U-RC-C-a; it is UNREACHABLE IN EFFECT — no recertification row can reach denied before C-a (U-RC-A’s full dormant fence: kind_deferred on every deny arm, 409 recert_denial_not_active on the worker denial), so no recert reopen window can open and nothing the panel states is actionable — it is not a letter (SME 10 is not engaged), and C-a’s per-arm preview contract (U-RC-C §4.3) corrects the copy from MR1. No U-RC-A web change.
U-RC-FRAME — F1 frame: plan page, nav, epic children, action rows, closure (#1634) — weight 2
Purpose + regulatory cites
-
Frame unit for the F1 recertification stream: 7 CFR 273.14(b)(3) (recert interview, via 273.2(e)(3)), 273.14(b)(3)(iii) (the recert interview must leave the household at least 10 days after the interview to provide verification before the certification period expires — the second bound of U-RC-B’s recert G4, parametrised as
snap.certification.recert_interview_verification_headroom_days; the recert Notice of Missed Interview, combinable with the denial; "shall schedule a second interview" on request = the existing worker reschedule path), 273.14(b)(4) (the household’s 10-day verification minimum; the never-denied verification straddle: opportunity to participate within 5 working days, NO proration — a different case from the (e)(2) reopen, which prorates), 273.14(d)(2) (the APPROVAL / notification deadline: a household "that ha[s] met all application requirements" is notified by the end of the current certification period — it is NOT the authority to DENY a non-compliant timely filer; that deadline is (e)(2) "may deny the case … at the end of the certification period" + PAMMS Chart 3710.1 row 2, and Chart rows 1–3 fix the day as the last workday on or before the end — r5-policy F3), 273.14(e)(1) (agency fault: "continue to process the case" — the reused day-30 leg’s PEND arms fire on a recertification row exactly as intake, U-RC-B §3; the approval ANCHOR of a pended or in-period recertification approval is #1133’s, SME item 18), 273.14(e)(2) (household-fault denial; 30 days after the period end to complete; pre-end cure = a full month for the initial month of the new period; post-end cure = benefits retroactive to the action date), 273.14(e)(3) (late re-application — out of scope), 273.14(f) (expedited service at recertification — out of scope); PAMMS SNAP 3710 Chart 3710.1 + 3710 Interviewing Requirements. There is NO (d)(1)/(d)(2) timely/untimely split in the regulation — (d)(1) is the one-/two-month-cert case (those households ride the SAME 15th-of-the-last-month classifier: PAMMS 3710:39 defines timeliness uniformly and controls over 273.14(c)(1)/(d)(1); no short-cert arm — U-RC-A §1, SME item 13, r3-policy F6); the untimely filer’s 30-day clock is (e)(2) "at the end of 30 days" + 273.2(g)(1) via (e)(1)'s "within 30 days after the date of application", PAMMS Chart 3710.1 rows 4–6. Ships the plan page, the nav line, the child issues under epic &81, the foursnap.recert.*action-catalogue rows (unbound + allowlisted against their child issue until bound), the CHANGELOG entry, the R4 issues listed under "Issues the frame files", and the binding stream conventions below (inherited verbatim from the #788 family frame,plans/archive/snap-intake-completion.adoc:199-345). No runtime code. -
The 3-row disposition table (2 engine rows in
compliance/scenario-inventory/snap.toml+ 1 Georgia row inrulesets/georgia/scenarios/snap.toml; every row alreadyblocked_by = ["#1634"]— the frame edits NONE of them):
The three describe strings are BYTE-EXACT contracts: the inventory’s flow-tier bindings are flow: …-prefixed (compliance/scenario-inventory/snap.toml:170,240,345,383,412,441,498,1148,1168,1448 — ten today; rulesets/georgia/scenarios/snap.toml:35; r7-impl F4) and the specs' test.describe strings must match them byte for byte. The binding shape is the family precedent (compliance/scenario-inventory/snap.toml:415-445); all three rows STAY flow (re-tiering to journey would cost a walkthrough + committed screenshot pairing, crates/canopy-policy/src/scenario.rs:400-410, and buy nothing the flow specs do not assert). blocked_by is informational to coverage (scenario.rs:88-90) and #1667 leaves a wrong issue number unvalidated — each flipping MR greps blocked_by = \["#1634"\] by hand.
-
#1634 closure condition (gates run on the stream’s final MR — U-RC-C MR2): (a) zero rows in either scenario file carry
blocked_by ["#1634"]— all three flipped with the flow-tier bindings above; (b)cargo xtask policy action-coverage— the four frame-authored allowlist entries gone, four actions bound with named flip owners:snap.recert.on-demand-interview(U-RC-B →schedule_interview,interview_mode = on_demand, recertification row),snap.recert.notice-of-missed-interview(U-RC-B → system-jobservices/canopy-applications/src/scheduler.rsinterview-nomi leg + a recert-row scan test),snap.recert.deny-failure-to-complete(U-RC-B → system-job day-30-disposition leg, recert-row denial on the renewal deadline),snap.recert.reinstate-prorated(U-RC-C MR2 →reopen_snap,POST /applications/{id}/programs/snap/reopen); the pre-existingsnap.recert.file-renewal-application(compliance/action-catalogue/snap.toml:720-731) andsnap.recert.interview(:734-746) keep their bindings, which U-RC-A/U-RC-B make truthful rather than replace — the four bindings at flip are fixed VERBATIM in the block below (r4-impl F4); (c)cargo xtask scenarios auditclean: +1 covered vs the final MR’s base commit (row 14) and +3 vs the frame’s baseline of 122 on 2026-09-04 (rows 13/15 landed with U-RC-B); the closing comment reports both numbers (r4-impl F6; r10-policy F2); (d)check-docsclean;rulesets/georgia/citations.tomlgains exactly FOUR new pins — three 3710 (pamms) pinssnap.certification.recert_reinstatement_window_days,snap.certification.recert_reinstatement_sop_workdays,snap.certification.recert_reinstatable_denial_reasons(3710 is already pinned once byrecert_timely_filing_day,rulesets/georgia/citations.toml:953-961, so this is NOT a first-page pin) and onefederalpinsnap.certification.recert_interview_verification_headroom_days(source_ref = "7 CFR 273.14(b)(3)(iii)",notescross-citing3710.adoc:347) — the same four keys in the other three rulesets;cargo xtask mq-topologyclean (U-RC-A retires theapplication.submittedallow entry); (e) #1634 closed with the standard closing comment (implementation SHA + bare merge SHA + files + criteria + deferred items). Earlier MRsRelates to #1634, close only their child issues.Binding at flip (r4-impl F4) — the
crates/canopy-policy/src/action.rsshapes, verbatim: anendpointbinding carriesservice/path/verb/operation_id/test_ref(Binding,action.rs:76-97;kinddefaults toendpoint, :78-79); asystem-jobbinding REQUIREScomponent+test_ref(:98-100; the gate at:330-333"system-job binding requires component + test_ref"); atest_refmay name a function aspath::test_name(pub test_ref,:97; the file’s existence is verified; r7-impl F4). The twosystem-jobrows name the U-RC-B test fns fixed in U-RC-B §9; theoperation_ids and paths are the committed snapshot’s (docs/modules/ROOT/openapi/applications.json:5736-5739schedule_interview,:6242-6244reopen_snap). The lines below REPLACE each row’s[action.binding]/kind = "unbound"pair at flip; the allowlist entry is removed in the same MR:
# snap.recert.on-demand-interview (U-RC-B)
[action.binding]
service = "applications"
path = "/applications/{id}/interview/schedule"
verb = "post"
operation_id = "schedule_interview"
test_ref = "services/canopy-applications/tests/interviews_http_test.rs"
# snap.recert.notice-of-missed-interview (U-RC-B)
[action.binding]
kind = "system-job"
component = "services/canopy-applications/src/scheduler.rs"
test_ref = "services/canopy-applications/tests/scheduler_run_http_test.rs::recert_nomi_carries_the_renewal_deadline"
# snap.recert.deny-failure-to-complete (U-RC-B)
[action.binding]
kind = "system-job"
component = "services/canopy-applications/src/scheduler.rs"
test_ref = "services/canopy-applications/tests/scheduler_run_http_test.rs::recert_day30_denies_missed_interview_on_the_sop_tick"
# snap.recert.reinstate-prorated (U-RC-C-b)
[action.binding]
service = "applications"
path = "/applications/{id}/programs/snap/reopen"
verb = "post"
operation_id = "reopen_snap"
test_ref = "services/canopy-applications/tests/reopen_http_test.rs"
Data model
No schema. U-RC-FRAME’s writes are TOML/AsciiDoc/Markdown only:
The four catalogue rows, verbatim (the snap.recert.expedited-screening-expired-cert row shape, compliance/action-catalogue/snap.toml:747-759, with an [action.binding] table carrying only kind = "unbound" in place of the endpoint binding — the compliance/action-catalogue/cross-program.toml:80-81 precedent; ActionEntry.binding: Binding is required with no default (crates/canopy-policy/src/action.rs:59), Binding.kind is the #[serde(default)] field inside it (:76-79), and an unbound binding that smuggles a path / operation_id / component is refused by the gate (:335-343 "unbound binding must not carry path/operation_id/component — bind it or keep it honest"); r3-impl F1). deny-failure-to-complete is a SYSTEM row although its intake analogue snap.intake.deny-failure-to-complete is worker-bound to record_administrative_denial: the recertification denial on the renewal deadline is the day-30 leg’s own write (enforce_deny → apply_deny, scheduler.rs:1659 / :1734), not a worker record — a worker’s early administrative denial of a recertification row rides the existing intake row. Its description covers BOTH day-30 deny arms, mirroring the intake row’s wording (compliance/action-catalogue/snap.toml:206 "missed interview with no contact, or required verification not provided"): the missed interview after a NOMI (Chart 3710.1 rows 2 / 5) AND the verification not provided (rows 3 / 6, 3710.adoc:279-280, :306-307) — U-RC-C-a’s kind-aware writer produces the verification_not_provided recert denial the row-14 flow depends on (r5-policy F4). Its regulatory_trigger is (e)(2) — the authority to deny a non-compliant timely filer "at the end of the certification period" — plus Chart 3710.1 (row 2), the shape of row 14’s trigger; it does NOT carry (d)(2): a household denied under this row has by definition NOT "met all application requirements", so (d)(2)'s notification bound ("Other households that have met all application requirements shall be notified … by the end of their current certification period") binds neither the denial nor its notice — (d)(2) is the approval/notification bound of the compliant household and is never a denial authority (r5-policy F3); the justification sits as a TOML comment ABOVE the row so the committed file is self-explaining and a later reader "corrects" it in neither direction (r9-policy F4). The verification arm’s pin (U-RC-C-a §9’s DenyVerificationNotProvided recert-row test in scheduler_run_http_test.rs) is covered by row 13’s EXISTING file-level scheduler_run_http_test.rs binding — a file-level test_ref binds the whole file (crates/canopy-policy/src/scenario.rs:597-611: only a path::test_name ref is checked for the fn name) — so row 13 carries exactly the four bindings its cell states, and the pin is never a second test_ref in the [action.binding] table (r6-impl F2): a Binding holds ONE test_ref: Option<String> (crates/canopy-policy/src/action.rs:97; component is :100 — r7-impl F4) and a repeated key in one TOML table is a parse error, so the deny-failure-to-complete block below stays exactly as written.
[[action]]
id = "snap.recert.on-demand-interview"
actor = "worker"
description = "Schedule the On-Demand renewal interview on a recertification application: the household receives the On-Demand Interview Notice (and text where applicable) and must call in by the interview-by date printed on the notice (by default the renewal deadline less the NOMI headroom when that date has not passed, else the later of today and two days before the renewal deadline); the renewal deadline itself is the day snap.recert.deny-failure-to-complete states — the last workday on or before the end of the certification period (timely filer — or the legal filing date itself when a timely filing was received after that workday, the next business day after the period end) or the 30th day after filing, moved to the next business day (untimely filer)"
regulatory_trigger = "7 CFR 273.14(b)(3); 7 CFR 273.2(e)(3); PAMMS SNAP 3710 Interviewing Requirements"
manual_ref = "PAMMS SNAP 3710"
programs = ["snap"]
[action.binding]
kind = "unbound"
[[action]]
id = "snap.recert.notice-of-missed-interview"
actor = "system"
description = "Send the Notice of Missed Interview when a recertification interview (scheduled or On-Demand) is missed; when the renewal deadline has not passed the reschedule-by and denial dates name the renewal deadline (the denial date moved to the next business day for an untimely filer), else the notice names the passed deadline as a fact and prints no reschedule-by or denial date"
regulatory_trigger = "7 CFR 273.14(b)(3); 7 CFR 273.14(b)(3)(iii); 7 CFR 273.2(e)(3); PAMMS SNAP 3710 Chart 3710.1"
manual_ref = "PAMMS SNAP 3710"
programs = ["snap"]
[action.binding]
kind = "unbound"
# The denial authority is 7 CFR 273.14(e)(2) ("may deny the case … at the end of the
# certification period, or at the end of 30 days") + PAMMS Chart 3710.1 rows 2-3 / 5-6.
# 273.14(d)(2) is deliberately NOT cited: it binds the notification of households that
# "have met all application requirements" — a household denied under this row has not —
# so it is neither the authority to deny nor the bound on this notice (#1634 plan, F1 frame).
[[action]]
id = "snap.recert.deny-failure-to-complete"
actor = "system"
description = "Deny a recertification application on the renewal deadline when the household has failed a required action — missed its interview with no contact after a NOMI, or not provided required verification: the last workday on or before the end of the certification period (timely filer — or the legal filing date itself when a timely filing was received after that workday, the next business day after the period end) or the 30th day after filing, moved to the next business day (untimely filer)"
regulatory_trigger = "7 CFR 273.14(e)(2); PAMMS SNAP 3710 Chart 3710.1"
manual_ref = "PAMMS SNAP 3710"
programs = ["snap"]
[action.binding]
kind = "unbound"
[[action]]
id = "snap.recert.reinstate-prorated"
actor = "worker"
description = "Reopen a denied recertification application when the household takes the required action within the jurisdiction's reinstatement window after the end of the certification period; benefits from the later of the action date and the day after the period end; decision within the jurisdiction's reinstatement SOP (georgia: 5 workdays)"
regulatory_trigger = "7 CFR 273.14(e)(2); PAMMS SNAP 3710 Chart 3710.1"
manual_ref = "PAMMS SNAP 3710"
programs = ["snap"]
[action.binding]
kind = "unbound"
The four compliance/action-coverage-allowlist.toml entries, verbatim (the file’s action_id / reason / issue schema, compliance/action-coverage-allowlist.toml:1-13; <U-RC-B> / <U-RC-C-b> are the child issue numbers filed by this frame — they must exist before the frame MR merges, §Deployment; r10-impl F3):
[[allowlist]]
action_id = "snap.recert.on-demand-interview"
reason = "F1 — bound by U-RC-B"
issue = "#1729"
[[allowlist]]
action_id = "snap.recert.notice-of-missed-interview"
reason = "F1 — bound by U-RC-B"
issue = "#1729"
[[allowlist]]
action_id = "snap.recert.deny-failure-to-complete"
reason = "F1 — bound by U-RC-B"
issue = "#1729"
[[allowlist]]
action_id = "snap.recert.reinstate-prorated"
reason = "F1 — bound by U-RC-C-b"
issue = "#1731"
Contracts — stream auth contract per endpoint class (binding on every unit; #788 family finding 2)
| Endpoint class | Guard | Actor | Precedent |
|---|---|---|---|
Worker write (schedule/reschedule, postpone, reopen, administrative-denial, disqualify) |
|
claim-derived ( |
documents_scan.rs:31 |
Service-caller create (BFF-mediated under the service identity): |
|
the BFF’s server-side |
ADR-019 |
Supervisor override (U-EXP-B revert, U-REOPEN reopen-attestations, U-REP disqualify) |
origin-enforced role arrays |
claim-derived |
SCAN_OVERRIDE_ROLES |
Service-to-service reads AND service-only interview completion (determination-context, verification batch projection, list-authorized-reps; |
|
service identity |
finding 15 |
Drains |
in-process store fns under the fenced leg; no HTTP auth surface |
system |
run_daily_fenced |
Web/BFF |
WritePermission + CSRF + ProgramScope(snap) |
session |
ADR-044 |
Subscriber (MQ consumer; no HTTP surface — the renewals filing consumer, the renewals determination arm) |
queue binding declared in code; the broker principal’s regex ( |
service (the consuming service’s own identity) |
|
Footnote (r1-impl F12): canopy-web has NO interview-complete action — services/canopy-web/src/api/actions_interview.rs:3-5 ships schedule + reschedule only, and complete_interview is service-only (api/mod.rs:1669, complete_interview; the service-caller guard :1676). F1 does not add one: the flow specs drive completion by service token (interview/complete at the steered clock, #1684). The worker call-in surface is filed by the frame as an R4 issue (see "Issues the frame files").
F1 assignments (each unit’s Endpoints table MUST name its class per endpoint): POST /applications with renews_certification_id (service-caller create — require_service_caller, BFF-mediated under the service identity, guard unchanged); the create handler’s GET /v1/renewals/snap/certifications/{id} (service-to-service read — the applications service identity calls renewals; renewals guards it as today, services/canopy-renewals/src/api/mod.rs); the interview schedule/reschedule ops on a recertification row (worker write, unchanged) and complete/waive (service-only, unchanged); POST /v1/applications/{id}/programs/snap/reopen on a recertification row (worker write, unchanged; the supervisor reopen-attestations op stays origin-enforced and not downgradeable); the renewals filing consumer and the renewals determination arm (subscribers — no HTTP surface); canopy-web POST /cases/{household_id}/file-application renew election and the process-page recert chip/reopen variant (Web/BFF). F1 adds NO new supervisor-class op.
Endpoints + drains — drain production-safeguard checklist (#788 family finding 42)
U-RC-FRAME ships no endpoints/drains. No NEW drain in F1: the interview-nomi leg and the day-30-disposition leg are REUSED on recertification rows (U-RC-B pins them); the renewals filing consumer (U-RC-A) and the renewals recert_reinstatement determination arm (U-RC-C) are SUBSCRIBERS, not drains. The checklist therefore binds F1 only through U-RC-B’s pins on the two reused legs (items 1, 2, 7, 8 — the recert row must ride the EXISTING indexes and fences, with an EXPLAIN attached proving no new predicate escaped them). It is restated verbatim so any F1 MR that finds itself adding a leg copies it into its issue before writing code:
-
Index: partial/keyset index shipped in the same migration for every new drain predicate; MR attaches EXPLAIN for the drain query.
-
Fence:
run_daily_fencedleg + send-once/stamp fence; double-run is a proven no-op (test). -
Continuation: keyset paging; a test forces a small page size and crosses ≥1 page boundary.
-
Budgets: per-tick row + time budgets; budget exhaustion resumes next tick without loss (test).
-
Concurrent triggers: advisory-lock aware; manual trigger during a run → 202-skipped (the #1109 scheduler-trigger precedent, mechanism owned by U-NOMI-a).
-
Retry/terminal failure: per-row failure isolates (WARN + skip, no batch abort); terminal failures durable; retry idempotent under the fence.
-
Query-plan regression: acceptance criterion names the index and asserts no seq-scan at representative volume.
-
Legal-clock tests: legal-tz day-rollover pins; 3105:334-336 (denials move FORWARD to next business day, approvals BACK to prior workday); clocks derive from
legal_filed_date(finding 8, WorkdayCalendar) where applicable.
F1 rider on item 8 (r1-policy F3): a TIMELY recertification’s deadline moves BACKWARD, not forward — Chart 3710.1 rows 1–3 (3710.adoc:260, :268, :280 "by the last workday prior to the end of the current certification period"), so U-RC-A sets the immutable clock to max(last_workday_on_or_before(end), legal_filed_date) — ALWAYS a workday, so the day-30 leg’s denial_on_date(SOP) is the identity on every timely row (legal_filed_date is itself always a business day: derive_legal_filing shifts a weekend/holiday receipt forward, services/canopy-applications/src/filing.rs:57-82); the max is NOT an identity in the one corner — a TIMELY receipt after the last workday of the period (classification is by the legal RECEIPT day, SME item 20) → legal_filed_date is the next business day after the end → SOP = legal_filed_date, a workday after the period end, the ONE reachable post-end deadline of a timely row (the agency cannot act before it receives the filing on a business day; PAMMS row 1’s "by the last workday prior to the end" is unsatisfiable there) — U-RC-A §2; r3-impl F6, r4-policy F1 (superseded), r7-data F1; the untimely arm keeps the forward rule (rows 5–6 :297, :307 "next business day"). Pins name a weekend period end (2026-10-31 Sat → SOP 2026-10-30), a holiday end (cert end 2027-05-31, Memorial Day — rulesets/georgia/jurisdiction.toml:69, the only month-end holiday in the committed 2026–2027 list — → SOP 2027-05-28; r3-policy F10), and the corner itself: certification 2026-03-06 → 2026-09-05 (a Saturday; the georgia [snap.determination] standard_certification_months = 6 cert, rulesets/georgia/jurisdiction.toml:287, read by services/canopy-snap/src/params.rs:351-361; + Months(6) − 1 day — the benefit_period formula documented at services/canopy-snap/src/determine.rs:262, implemented :275-307 with checked_add_months :283 then checked_sub_days(1) :293), timely deadline min(09-15, 09-05) = 09-05, RECEIVED Sat 09-05 → timely by receipt (09-05 ≤ 09-05) and not lapsed (receipt ≤ end); legal_filed_date = Tue 2026-09-08 (Sunday 09-06, Labor Day 09-07 — jurisdiction.toml:61); SOP = max(last_workday_on_or_before(09-05) = 09-04, 09-08) = 09-08 (a workday); NOMI denial_on_date 09-08; the letter facts "by 09-08" / "your certification period ends 09-05" — denied on the 09-08 tick (a 10-31 filing on a 10-31 end is NOT this corner: renewal_deadline(10-31, 15) = 10-15, so it is untimely, noe.rs:302).
Events + cutover order (#788 family findings 7, 41)
The header roster + numbered cutover bind. Rules: (i) required-field changes on existing events take the tolerant→require two-step — F1 has NONE (every event change is additive: application_kind / renews_certification_id / renewal_timely / received_at (RFC 3339 — the application’s received_at column, named for what it carries; renewal_submitted_at = received_at is the stated semantics — r3-data F9) on application.submitted, which gains its typed wire home ApplicationSubmittedV1 in NEW crates/canopy-contracts-applications/src/events.rs (all new fields Option + #[serde(default)]; r3-data F3); application_kind on all three interview events, renewal_timely + renewal_certification_end_date + renewal_filing_deadline (ISO = renewal_deadline(end, recert_timely_filing_day)) on the schedule and the miss, standard_processing_deadline (the renewal deadline the letters print) on the schedule only, and denial_reinstatable + reinstatement_deadline + reinstatement_period_start + renewal_deadline_passed (bool = standard_processing_deadline < the legal staging day) on the miss only (r5-policy F1; r6-policy F2; r7-policy F1) — application.interview_completed gains application_kind alone; application_kind / renewal_certification_end_date on application.pending_agency_delay (the reused pend arms' letter); application_kind / renewal_certification_end_date / reinstatement_period_start / reinstatable / reinstatement_window_open on application.denied.snap (r5-policy F2); kind + the arm token R on application.reopened.snap); the one NEW basis kind recert_reinstatement on determination.completed.snap takes the U-REOPEN :1232 two-step (MR1 every typed consumer tolerates, MR2 the producer); (ii) new event types ship topology-allow + consumer routes with-or-before producers — F1 adds no new event TYPE and RETIRES one allow entry: the new QUEUE canopy-renewals.renewal-filings (binding on application.submitted) is declared IN CODE by boot.subscriber.subscribe(renewal_filing_subscriber::RENEWAL_FILING_QUEUE, renewal_filing_subscriber::RENEWAL_FILING_ROUTING_KEYS, db, 5, handler) — the 5 is max_attempts, the per-delivery retry budget before the DLQ (crates/canopy-mq/src/subscriber.rs:320), not a prefetch; r9-data F5 — in services/canopy-renewals/src/main.rs beside wire_expedited_consumers (:235-269) — the routing keys a module slice const so the mq-topology scanner attributes the binding (xtask/src/cmd/mq_topology.rs:376-403; the scanner keys slice consts by BARE name in one workspace-wide map, :394 rsplit("::").next(), indexing only consts whose head contains &[&str] (:338-339) — services/canopy-renewals/src/subscriber.rs:42 owns ROUTING_KEYS: [&str; 4], an array the scanner does not index, so the distinctive names are hygiene against a future &[&str] twin, not a collision fix — r2-data F7 / r2-impl F-IMPL-4 / r3-data F13); NO devstack/rabbitmq/definitions.json edit (the file declares only canopy.unrouted; the renewals principal’s regex already admits canopy-renewals\..*, definitions.json:197-199; a hand-declared queue with arguments: {} would accumulate messages and fail the boot’s args-mismatch heal path — declare_main_queue_or_heal, crates/canopy-mq/src/subscriber.rs:1201-1237 (the 406 → queue_delete(if_empty: true) → redeclare heal fails loud on a non-empty mismatched queue), called at :705); the consumer makes the "application.submitted" entry of xtask/mq-topology-allow.toml:19 STALE, so U-RC-A removes it in the same MR (cargo xtask mq-topology bails on a stale entry, mq_topology.rs:102-135); the renewals consumer + queue are live before the applications producer restarts; (iii) rollback/historical-replay rule: schema_gate parks newer versions centrally; pre-basis #433 replays fail loud (#1613); NEITHER U-RC-C MR carries a drain-before-deploy note (the kind is additive; rollback of MR2 = stop the producer, MR1 is inert without it); (iv) params owned before consumed (see Params — U-RC-C MR1 precedes U-RC-B for this reason).
Notices (stream conventions; ownership of mechanics)
-
Routes in BOTH manifests (#1101; test-min/test-max carry no manifest); templates in both rulesets; ADR-004 payloads (IDs/dates/vocabulary tokens, never free text) — F1’s new payload keys are
application_kind(vocabulary tokeninitial | recertification),renewal_timely(bool),renewal_certification_end_date(ISO date),renewal_filing_deadline(ISO date =renewal_deadline(end, recert_timely_filing_day)— the schedule and the miss, so the letters print "because you filed by/after <renewal_filing_deadline>" and never a hard-coded "15th"; r2-policy F7; recomputed at event time from the liverecert_timely_filing_daywhilerenewal_timelyis frozen at filing — an accepted residue, the figure being federal-fixed (273.14(c)(2)) and pinned in the georgia/default copies; U-RC-B §5, r12-policy F4), onapplication.interview_scheduledonlystandard_processing_deadline(ISO date — the row’s immutable clock, i.e. the renewal deadline the appointment / On-Demand letters print), onapplication.pending_agency_delayapplication_kind+renewal_certification_end_date(the reused pend arms' letter, U-RC-B §6), onapplication.interview_missedadditionallydenial_reinstatable(bool =missed_interview ∈ recert_reinstatable_denial_reasons ∧ reinstatement_deadline ≥ denial_on_date— the reasons list read from the params U-RC-C-a loads, folded with the window-closed test the denial letter already carries asreinstatement_window_open, so the NOMI never promises a right its owndenial_on_dateoutruns; r6-policy F2) +reinstatement_deadline(ISO date =renewal_certification_end_date + recert_reinstatement_window_days) +reinstatement_period_start(ISO date =renewal_certification_end_date + 1) — the recert NOMI’s consequence sentence, U-RC-B §6 (r5-policy F1, r6-policy F2) — +renewal_deadline_passed(bool =standard_processing_deadline < the legal day the miss is staged, the NOMI leg’s tick day; when true the recert NOMI prints a NO-DATE sentence naming the SOP as a past fact instead of the dated reschedule-by / denial sentences, so the letter never prints a reschedule-by or denial date that has already passed — U-RC-B §3/§6; r7-policy F1) — and, onapplication.denied.snap,reinstatement_period_start(the same derivation) +reinstatable(bool = the denialreason ∈ recert_reinstatable_denial_reasons) +reinstatement_window_open(bool =reopen_deadline_date ≥ the denial’s legal day; r2-policy F4) — BOTH bools computed by the PUBLISHER from the stored denial row + the loaded params (r5-policy F2, r5-data F10); derived dates and comparisons belong to the PRODUCER — the template computes nothing, and it never re-derives a jurisdiction fact from areasontoken (a ruleset that widensrecert_reinstatable_denial_reasonschanges the letter without a template edit). Tolerant default (r5-policy F5): every kind-branched template readsinputs.at("application_kind", default: "initial")— thenoa-denial.typ:42-46legacy-degrade convention — so a legacy payload without the key (parked/DLQ residue;extract_program_datacopies only the keys present,services/canopy-notices/src/event_routing.rs:492-499) renders the initial branch; each unit’s §9 carries the absent-key render pin per template. Key-read discipline for the NEW recert keys (r10-policy F5): every recert-only key is read INSIDE theapplication_kind == "recertification"branch (or viainputs.at(key, default: …)), never at template top level — therenders_snap_*_with_placeholder_inputstests (generator.rs:1914shape) are the gate and gain anoa-denial/interview-on-demand/agency-pendingtwin where missing; booleans arrive TYPED (noa-approval.typ:70), so branches compare== true, never== "true";default_program_datais NOT widened. The SMS text is NOT one of them (r6-policy F1):interview-on-demand-text.txtis rendered by pure{key}substitution with no conditionals and FAIL-CLOSED on a missing key (services/canopy-notices/src/worker.rs:263-317, the bail at:302-307"sms template … references missing key"), so it can carry neither a kind branch nor a tolerant default — its body is made KIND-NEUTRAL in both rulesets instead (U-RC-B §6), keeping only its existing placeholders and never referencing a new key. -
Work-item uniqueness
(source_event_id, notice_type); F1 adds no fan-out. -
Routing discriminators stay flat strings and F1 adds NONE: the recert prose is a TEMPLATE-ONLY branch on
application_kindinsideinterview-appointment,interview-on-demand(its SMS text is kind-neutral, not branched — Notices 1; r6-policy F1),nomi,agency-pending(the reused pend arms' letter — facts only, no benefit promise) and the administrativenoa-denialarms; NO new route and NO new discriminator — the manifests'interview_mode/delivery_channel/recipient_kinddiscriminators (services/canopy-notices/src/event_routing.rs:17,57-64,103) are untouched and only the existing routes'program_data_keysare widened (U-RC-B §6, U-RC-C §6; r5-policy F8); exactly-one-letter guarantees pinned by render tests per kind. -
Enqueue ≠ dispatched: the recert NOMI’s
notice.dispatchedcorrelation is the denial evidence EXACTLY as intake (U-NOMI-b’snomi_evidence_dispatched,services/canopy-applications/src/store/interviews.rs:507-621); U-RC-B changes nothing in that mechanism and pins that a recert row rides it. -
Interview notices render truthful content: real agreed time, mode-specific instructions, the DISTINCT On-Demand notice + text — for a recertification the letters print TWO FACTS, no conditional (SME item 3), and the frame’s wording IS U-RC-B §6’s pair (r4-policy F6): the On-Demand letter prints "call in by <interview_by_date>" (the existing call-in sentence — SOP − headroom by default on a recert row, else
max(today, SOP − 2), the day after which the miss is staged — so an ordinary recert row’s miss is staged by SOP − 1 and its NOMI has a full legal day to dispatch before the SOP tick, SME item 1; r7-policy F1, r9-policy F2) and "your renewal must be completed by <standard_processing_deadline>" (the renewal deadline — never the period end named as the deadline: for a period ending 2026-10-31 (Sat) the deadline is 10-30) beside "your certification period ends <renewal_certification_end_date>"; "complete your interview by <standard_processing_deadline>" is the SCHEDULED-appointment letter’s deadline sentence (interview-appointment.typ) and never appears on the On-Demand letter (one call-in deadline per letter);renewal_timelyselects only the explanatory clause; the consequence names the renewal deadline ("if you miss your interview and do not contact us by <standard_processing_deadline>, your renewal will be denied" on the appointment letter — the household’s deadline, never a denial day; r10-policy F6, r11-policy F1; "your renewal must be completed by <standard_processing_deadline>" on the On-Demand letter). The recert NOMI’s consequence is likewise producer-decided: it prints the post-denial right ONLY whendenial_reinstatableis true — "you may still complete it by <reinstatement_deadline>; benefits would begin on the later of the day you complete it and <reinstatement_period_start>" (a cure on or before the period end — a denial written on a pre-end SOP, cured on the last day — beginsend + 1, never the completion day; r6-policy F2) — else "a new application will be required" — never the intake "you can still cure it" promise (U-RC-B §6; r5-policy F1). The recert NOMI’s DATED sentences are likewise producer-gated: when the miss is staged after the renewal deadline (renewal_deadline_passed = true— a by-date (or scheduled appointment) ON the SOP, missed on SOP + 1 — a date AFTER the SOP is unreachable under G2 / G5’s SOP cap) the letter prints "Your renewal deadline <standard_processing_deadline> has passed. Contact us immediately to complete your interview; your renewal will otherwise be denied." (the SOP is a past FACT, printed as such; the placeholder is the miss’sreschedule_by_date—standard_processing_deadlinerides the miss under that key, the same value, and the miss gains no ninth key: rule (i) putsstandard_processing_deadlineon the schedule only) and NOT "You must be interviewed by <reschedule_by_date>" / "denied on <denial_on_date>", which would name yesterday; the dated pair prints only when the flag is false (U-RC-B §6; r7-policy F1). The no-date sentence deliberately omitsdenial_on_dateon an UNTIMELY row whose SOP fell on a non-workday (describe B’s world: SOP Sat 09-19, NOMI staged Sun 09-20 after a by-date or appointment on the Saturday SOP; the denial runs on the next business day’s tick, Mon 09-21) — the SOP has passed, and whether the household can still act before that tick depends on tick timing the letter must not promise; the household is directed to contact the office, an interview completed before the denial tick still satisfies the row (interview/completehas no SOP guard, r8-policy F3), but the letter promises nothing; no new producer fact; pinned in U-RC-B §9 (r10-policy F3 — DECIDED (b)). Row 13’s asserted denial letter (U-RC-B §9, describe A — georgiamissed_interview) prints "A new application is required" at thenoa-denialblock AND action-name-only bullets under "What You Can Do" — NOreopen_deadline_dateand NO "to keep this application open" anywhere on the letter, "Reapply" the operative bullet (U-RC-C §6 branches the template at BOTH reopen-by sites; r10-policy F1).
Params + citations
U-RC-FRAME owns none. Stream ownership rule (inherited): the owning unit ships each key in ALL FOUR rulesets (rulesets/{default,georgia,test-max,test-min}/jurisdiction.toml) + ADR-011 citations in the same MR, before (or with) its first consumer. Citation shapes (identical in this ledger and in U-RC-C §7; every pin carries the five REQUIRED fields value — the schema check citation.rs:387-391 reports MissingField { field: "value" } without it — authority (a non-Option String, citation.rs:52), source_ref (a bare String, citation.rs:54; an empty value is MissingField { field: "source_ref" }, :494-499 — an error in cargo xtask policy audit; r6-policy F3), effective_date (a non-Option String, citation.rs:60) and verified_date (a non-Option String, citation.rs:66) — load_manifest is a plain toml::from_str (:312-316), so a pin missing any of the last four fails to parse the WHOLE manifest, not one audit row (r7-policy F2); verified_date = the MR date on every georgia AND default pin; test-* pins: effective_date = "2026-01-01", verified_date = the MR date, verified_by = "fixture-design (#<child-issue>)" (the committed fixture convention — test-min/citations.toml:507-513 carries effective_date = "2026-01-01" / verified_date = "2026-08-29"; the fixture appendix itself states no date; r10-policy F4): value = 30 / 5 / ["verification_not_provided"] / 10 per key (test-min’s reasons value ["verification_not_provided"], test-max’s both — below), and for the pamms pins (georgia’s three and default’s reasons + SOP pins) effective_date = "2026-06-01" — the cached chart’s :effective-date: June 2026 / :mt: MT-87 header, 3710.adoc:3-4 (also manual_transmittal = "MT-87", citation.rs:58) — while the CFR (federal) pins — two keys, three entries: the headroom key in georgia + default, the window key in default — carry effective_date = "2025-10-01" — the FY2026 start, the value the existing 273.14(b) pin uses (shared.timing.renewal_advance_notice_days, rulesets/georgia/citations.toml:2209-2217: effective_date = "2025-10-01" at :2213 beside federal_citation = "7 CFR 273.14(b)" at :2214; the 273.12(a)(5) federal twin at :96-103 and the 274.2(h) pin at :2219-2226 carry the same value) — r3-policy F3, r4-policy F5): Georgia pins the PAMMS page in rulesets/georgia/citations.toml (authority = "pamms", source_ref = "dfcs-snap/modules/snap/pages/3710.adoc", section = "Chart 3710.1", federal_citation, notes quoting the chart lines, source_sha256 = the cached page’s CURRENT hash 3e7f633e9ac523b27d413086fd2bef957348e0157d671ac8fe2369c8eb8894ad — the hash already pinned by recert_timely_filing_day at :961, re-verified by the pinning MR; verified_date = the MR date); test-min/test-max cite the fixture appendix (authority = "fixture", source_ref = "plans/scenario-inventory-e2e.adoc#fixture-design", verified_by — the test-min citations.toml:507-513 shape; fixture is fenced to rulesets/test-* by crates/canopy-policy/src/citation.rs:397); default’s authority is decided by ONE criterion (r6-policy F3, restating r3-policy F4): authority = "federal" where the regulation states the figure (the window key and the headroom key), and authority = "pamms" — the reference-copy shape of the planned default reasons pin (U-RC-C §7 row): authority / source_ref = "dfcs-snap/modules/snap/pages/3710.adoc" / federal_citation as default/citations.toml:874-881 (recert_timely_filing_day, which itself carries NO section, NO manual_transmittal and an older effective_date, so it is not copied verbatim), PLUS section = "Chart 3710.1", manual_transmittal = "MT-87", effective_date = "2026-06-01" — for ANY Georgia-copied election the federal text does not fix (the reasons list AND the 5-workday SOP — the same class: (e)(2) admits any "required action" and states no SOP; SME item 16). No default pin of this stream uses operational (rounds 1–5 had the SOP pin there; the round records are annotated, not rewritten). source_ref is REQUIRED on every pin (above), so no pin is ever a bare authority + federal_citation. Ledger (ALL owned U-RC-C-a = U-RC-C MR1, all under [snap.certification]): recert_reinstatement_window_days = 30 (7 CFR 273.14(e)(2) "30 days after the end of the certification period"; Chart 3710.1 3710.adoc:313) — U-RC-C MR1’s two denial writers consume it for the recertification reopen_deadline_date (U-RC-B PINS that value for reason = missed_interview; it does not write it), U-RC-B’s NOMI publisher consumes it for reinstatement_deadline, MR2 consumes it for the reopen window; recert_reinstatement_sop_workdays = 5 (Chart 3710.1 :317 "Process the case within 5 workdays after receipt of the verification"; default pamms in the reference-copy shape with federal_citation = "7 CFR 273.14(e)(2)", its notes = the reference-copy sentence + "(e)(2) states no SOP for the reopen; (b)(4)'s 5 working days governs the never-denied verification straddle (no proration) — a different case; PAMMS Chart 3710.1 :317 applies 5 workdays to the post-denial verification return (prorated)" — r2-policy F3 as refined, r6-policy F3) — MR2’s episode_processing_deadline (capped at standard_processing_deadline for a pre-end cure, r2-policy F5; rolled forward to the next workday when the cure itself is a non-workday after the SOP, r4-policy F3); recert_reinstatable_denial_reasons (georgia AND default ["verification_not_provided"] — default is the verbatim Georgia reference copy, rulesets/default/jurisdiction.toml:1-6, authority = "pamms" mirroring recert_timely_filing_day at default/citations.toml:874-881 (r5-policy F8); test-min ["verification_not_provided"] (the strictest, georgia-shaped election) and test-max ["missed_interview", "verification_not_provided"] (both fixture) — the pair DIVERGES so the reason gate has a fixture pin: under test-min the interview cure is refused 422 denial_reason_not_reinstatable, under test-max it reinstates; the both-reasons truth table runs under test-max (U-RC-C §7/§9; r10-policy F4) — SME item 16, r2-policy F6) — MR2’s kind arm, MR1’s GET preview, MR1’s two denial publishers (reinstatable) and U-RC-B’s NOMI publisher (denial_reinstatable), with the noa-denial agreement pin as the belt; recert_interview_verification_headroom_days = 10 (7 CFR 273.14(b)(3)(iii) "at least 10 days after the interview in which to provide verification before the certification period expires"; georgia + default authority = "federal", source_ref = "7 CFR 273.14(b)(3)(iii)", federal_citation = "7 CFR 273.14(b)(3)(iii)" — the two federal pins this ledger copies carry federal_citation equal to source_ref (rulesets/georgia/citations.toml:96-103, :2219-2226; most of the tree’s other federal pins omit the field, so the shape is copied from those two, not a tree-wide rule), and default’s federal window pin likewise carries federal_citation = "7 CFR 273.14(e)(2)"; r9-policy N1 — georgia notes cross-citing 3710.adoc:347 "The agency must give assistance units (AU) at least 10 calendar days to provide any required verification." (the chart restates the (b)(4) minimum that (b)(3)(iii) anchors to the period end); test-min / test-max fixture; r2-policy F2 / r2-impl F-IMPL-2) — U-RC-B’s recert G4 second bound (latest = min(standard_sop − interview_nomi_headroom_days, renewal_certification_end_date − recert_interview_verification_headroom_days)) on EVERY recertification row’s scheduled chain-initial appointment, timely or untimely (the regulation carries no timeliness qualifier and the manual is silent → statute fills; the bound degrades to the advisory the moment it is unachievable — r4-policy F2, overriding r3-impl F3’s timely-only qualifier); the On-Demand by-date — default or explicit — is judged by SOP − h alone (the household’s call-in, not an agency-scheduled interview). Consumed-only, no new keys: snap.certification.recert_timely_filing_day (existing, rulesets/georgia/jurisdiction.toml:192, pinned :953-961) — U-RC-A lifts noe::renewal_deadline (services/canopy-renewals/src/noe.rs:74-77) into canopy-common and consumes it in the create handler (as params::RecertFilingParams, U-RC-A §3); U-RC-B reuses the carrier on schedule_interview / reschedule_interview and NomiLegDeps for renewal_filing_deadline (r6-data F2); shared.application_processing.snap_standard_days (rulesets/georgia/jurisdiction.toml:729-733) — U-RC-A’s untimely-filer clock; snap.intake.interview_nomi_headroom_days — U-RC-B’s G4 (conditional for recert, the FIRST bound; the second is the new (b)(3)(iii) key above; SME item 1); snap.issuance.initial_proration_minimum_cents + snap.issuance.proration_rounding (rulesets/georgia/jurisdiction.toml:218-219; read by enrollment issuance.rs:19-27 + main.rs:133-144) — U-RC-C’s reinstatement month; jurisdiction.holidays — the WorkdayCalendar behind the timely SOP and the 5-workday SOP. snap.intake.denial_reopen_window_days is NOT consumed for a recertification denial (its window is cert end + recert_reinstatement_window_days). The timely filer’s SOP rule (last workday on or before the period end) is statutory plus the agency’s non-workday rule and is the SAME in all four rulesets — no param (SME item 3). Each pinning MR verifies only its pins move. Every pamms pin of this stream carries the MT-87 date 2026-06-01 — not the 2023-11-01 the sibling recert_timely_filing_day pin carries for the same page and hash (rulesets/georgia/citations.toml:958; both pass the audit) — because the chart’s denial and reinstatement rows are MT-87 content (U-RC-C §7; r6-policy F7); the applications loader load_recert_reinstatement_params refuses at boot recert_reinstatement_window_days < 30, a recert_interview_verification_headroom_days outside 10..=28, recert_reinstatement_sop_workdays < 1, and an empty or unknown recert_reinstatable_denial_reasons list — refuse, never clamp (U-RC-C §7; r4-policy F4).
BFF-UI slice (stream conventions; #788 family finding 40 — binding per unit)
-
Every worker-facing op ships its BFF slice in the SAME unit (or the activation MR of a multi-MR shape): exchanged-token route on canopy-web, WritePermission + CSRF + ProgramScope(snap), per-program action with server-side evidence resolution (no cross-program loops).
-
Validation + recovery UI: 409/422 map to actionable recovery affordances, never dead ends (F1’s new codes:
renewal_certification_unavailable,renewal_certification_mismatch(incl. therenewal_too_earlydetail — "the renewal window opens on <first day of the next-to-last month>" copy; SME item 19 — and thecertification_conversion_pendingdetail — the STATE-NEUTRAL copy "this certification’s postponed verification is still being resolved — file the recertification against the certification that results (the conversion to a standard period, or the re-determination’s new certification)", true whether the proof is outstanding or already returned, the postponement panel being the next action; no branch, no second detail token (U-RC-A §3); SME item 21, r9-data F2),renewal_already_filed,renewal_requires_snap(detailssnap_only/no_expedited_screening— U-RC-A §3; r6-data F6),headroom_violatedon a recert chain (existing code, new context),interview_not_satisfiedon the WORKER’sverification_not_provideddenial of a recertification row whose interview is outstanding (existing code, new context — U-RC-C-a’s kind-aware writer precondition, U-RC-C §3; "complete or waive the interview before denying a renewal for verification" copy — the schedule affordance is live on a non-terminal row; r8-policy F1) — the same code is arm R’s BELT on the reopen write (U-RC-C §3) and is UNREACHABLE for a recertification row deniedverification_not_providedby either writer (the only reinstatable reason in georgia/default; under a both-reasons ruleset it is the correct refusal of anattestationcure of amissed_interviewdenial with the interview outstanding, §3), so the reopen panel carries no recovery cell for it (a terminal row cannot be scheduled:snap_sop_for_guards409program_terminal,api/interviews.rs:125-132;denied∈TERMINAL_PROGRAM_STATUSES,domain.rs:127-128; r7-policy F3 as narrowed by r8-policy F1),recert_denial_not_active(the worker administrative denial of a recertification row, U-RC-A → U-RC-C-a window only; "lands with U-RC-C-a" copy),recert_interview_not_active(interview schedule/reschedule on a recertification row, U-RC-A → U-RC-B window only; "lands with U-RC-B" copy — r4-data F1), the withdrawn-renewal case (no code — detected by the linkedGET /v1/applications/{id}answering 404 (U-RC-A §8; r9-data F1); the BFF renders "the renewal was withdrawn — file a new application", no link, no checkbox; r4-data F8),recert_reinstatement_not_active(MR1 → MR2 window only),denial_reason_not_reinstatable("a new application is required" copy),reinstatement_window_closed(previewblocked_by; "the reinstatement window closed on <window_closes_on>, before the denial — a new application is required" copy; r2-policy F4),window_closedon a recertification reopen WRITE (existing code, new context — arm R’s window refusal,WindowRefusal::Window, U-RC-C §3;api/actions_reopen_copy.rsmaps it and the preview’sreinstatement_window_closedto the same recert window-closed copy on a recertification row, U-RC-C §8; r10-data F3)). -
A11y line (every slice): full keyboard operability; focus managed on modal open/close and moved to the result on submit; every input has a programmatically-associated label and error text (
aria-describedby); async status changes announced via live region; notice previews accessible wherever a unit ships a letter. -
Test-lib endpoints never satisfy a BFF obligation — they are not production functionality.
Tests
U-RC-FRAME’s own criteria (8): (1) plan page plan-lint clean, canonical Status vocabulary, per-unit Status table; (2) nav entry present per Docs obligations; (3) epic &81 body gains the F1 children in its task list (- [ ] N title (weight: W)) and the plan link is a clickable markdown link; (4) all five child issues (U-RC-FRAME, U-RC-A, U-RC-B, U-RC-C-a, U-RC-C-b) exist with weights + epic_id API links + self-contained descriptions embedding their plan section, the Status table’s Issue cells carry the filed numbers and no TBD remains on the page — the five #TBD Status cells AND the Issues line’s children TBD become the five numbers (decidable check: grep -nE '^\| #TBD|children TBD \+$' on the page returns nothing — it matches exactly the six placeholder forms, the five Status cells and the Issues line, never prose that merely names the token; r2-impl F-IMPL-9, r3-impl F4), and grep -nE '^issue = "<|Closes <fram[e]>' <page> returns nothing — before substitution it matched exactly seven lines, every one a site into which the owner substituted the filed numbers at commit time: the four verbatim allowlist lines (issue = "#1729" ×3, "#1731", anchored at line start) and the three prose sites that spell the CHANGELOG’s Closes line for the frame issue (the Data-model table’s CHANGELOG row, this criterion’s CHANGELOG clause below and the round-5 record of r5-impl F2); the <child-issue> token in the verified_by template text is a per-MR substitution, and the bare 1727 / mid-line <U-RC-…> prose mentions sit outside the pattern by its line-start anchor and its character class — no other line matches (r11-impl F2) — and, once the U-RC-FRAME issue is filed, the working-tree CHANGELOG.adoc line gains Closes #1727 beside its Relates to #1634 (the owner applies it at commit time; r5-impl F2); (5) the four snap.recert. rows + allowlist entries land and cargo xtask policy action-coverage stays green; cargo xtask scenarios audit unchanged at 122 covered on the frame MR (the frame flips no row) — the stream’s own gate is closure (c): cargo xtask scenarios audit clean: +1 covered vs the final MR’s base commit (row 14) and +3 vs the frame’s baseline of 122 on 2026-09-04 (rows 13/15 landed with U-RC-B); the closing comment reports both numbers (r10-policy F2); (6) #1634 relabelled planning::has-plan, weighted, milestone T2 — Completeness, its description pointing at this page — AND retitled feat(renewals): recert interview + prorated reinstatement arc + renewal On-Demand (7 CFR 273.14(b)(3), (e)(2); PAMMS 3710) (today’s title carries (b)(3)/(d)), its body’s 273.14(d) replaced by 273.14(e)(2), and the epic &81 task line for #1634 updated the same way (r4-impl F2); (7) check-docs clean; (8) the six "Issues the frame files" EXIST, with their numbers appended to that section (each Relates to #1634, labelled per Docs obligations 4 — the R4 label rule, incl. its compliance-scope clause); #1133’s description names BOTH anchor arms (Interactive → DeterminationDay, AgencyFaultPending → filing_date), the four identity columns AND the recertifying end-date constraint (a future caller that changes a recertifying cert’s end date must void or re-anchor the in-flight renewal — SME items 18 / 21); and every child issue carries EXACTLY the Docs-obligations-4 per-child set (the type / priority / program::snap / workflow:: / planning::has-plan labels plus that child’s enumerated service:: list — U-RC-FRAME none; U-RC-A service::applications, service::renewals, service::web, service::shared-crates; U-RC-B service::applications, service::notices, service::web, service::shared-crates; U-RC-C-a service::applications, service::renewals, service::enrollment, service::notices, service::web, service::snap, service::eligibility, service::shared-crates; U-RC-C-b service::applications, service::eligibility, service::web, service::shared-crates — r10-impl F1; final lists v13, r12-impl F2) and an epic_id link to &81 — the closing comment checks these off beside (1)–(7), because the R3/R4 steps are pre-commit "R" steps no gate catches (r9-impl F1).
Stream test conventions (binding): *proptest mandatory for the timeliness classifier (the legal RECEIPT day received_on = date_in(received_at, legal_tz) vs renewal_deadline(cert_end, recert_timely_filing_day) — totality incl. the None arm + the deadline arithmetic; SME item 20), the kind-aware filing clock — the pure snap_deadline_by_kind, U-RC-A §2 (r11-impl F1) — (timely ⇒ SOP = max(last_workday_on_or_before(cert_end), legal_filed_date) ∧ SOP is a workday ∧ SOP ≥ legal_filed_date; SOP ≤ cert_end ⇔ legal_filed_date ≤ cert_end; denial_on_date(SOP) == SOP ALWAYS for a timely row — the corner is SOP == legal_filed_date > cert_end: a TIMELY receipt after the last workday of the period, whose legal_filed_date is the next business day after the end: cert 2026-03-06 → 2026-09-05 Sat, received Sat 09-05 → timely; legal_filed_date 09-08; SOP 09-08; denied on the 09-08 tick; r4-policy F1 (superseded), r5-impl N2, r7-data F1; untimely ⇒ SOP = legal_filed_date + snap_standard_days; always SOP ≥ legal_filed_date), the recert G4 rule with BOTH bounds on EVERY recertification row’s scheduled chain-initial appointment (latest = min(SOP − h, end − v); today ≤ latest ∧ appt > latest ⇒ refuse; today > latest ⇒ never refuse; appt > SOP ⇒ G2 refuses regardless; the On-Demand by-date — default or explicit — is judged by SOP − h alone; r4-policy F2), the earliest-filing bound (received_on < max(first day of the next-to-last month, certification_start_date) ⇒ renewal_too_early, boundary days both sides; SME items 19, 20), the 273.14(e)(2) window (denial_date ≤ cured_on ≤ cert_end + recert_reinstatement_window_days totality with the refusal arms, the reinstatable-reason gate and the window-closed-before-denial row), the 5-workday SOP business-day derivation (WorkdayCalendar, never a weekend/holiday; cured_on ≤ standard_processing_deadline ⇒ episode_processing_deadline ≤ standard_processing_deadline; SOP < cured_on ≤ end ⇒ episode_processing_deadline = first_workday_on_or_after(cured_on) — the forward roll, which a weekend end can push past the SOP: end Sat 2026-10-31, SOP 10-30, cure Sat 10-31 → Mon 2026-11-02; r4-policy F3 — identical to U-RC-C §9), proration-from-action-date math (prorate_month_from monotone in the day, floor, the $10 initial-month rule), and the recert_reinstatement basis serde/KAT roundtrip; race + idempotency pins per unit — renewals filing consumer replay/out-of-order and the active → recertifying CAS; the create handler’s fail-closed renewals read (502/422, never a half-written row); NOMI/day-30 double-run no-op on a recert row; the reopen kind arm’s duplicate-key + concurrent-key pins; the renewals recert_reinstatement arm’s determination-guard idempotency; enrollment park-until-sweep then enroll exactly once.
Deployment + index notes
No runtime deploy. U-RC-FRAME’s MR is the stream’s first; the child issue numbers must exist before it merges (they are the allowlist entries' issue refs). Index/query-plan obligations are delegated to U-RC-B’s pins on the reused legs (checklist items 1 + 7), to U-RC-A’s new partial UNIQUE index uq_applications_one_renewal_per_certification and to U-RC-A’s two transactional same-name index rewrites in renewals (never CONCURRENTLY — ADR-001 adr-001:154-155, #1196; the #1196 out-of-band operator note is carried in the migration comment). Devstack rollout per unit follows the cutover order (renewals before applications at U-RC-A; every typed consumer before the producer at U-RC-C). Gated deliverables every code unit names in its §10: the OpenAPI snapshot regen docs/modules/ROOT/openapi/applications.json (the api-docs gate, xtask/src/cmd/validate.rs:117-119) and the ADR-030 B1 route-module budget (xtask/quality-budgets.lock:11 B1_route_module_loc = 18, 500-line threshold) — the planned splits are named per unit; no lock bump.
Docs obligations + epic/child-issue shapes (#788 family finding 44)
-
Per-service Antora pages updated in each implementing MR —
docs/modules/ROOT/pages/api/canopy-{applications,renewals,notices,enrollment,web}.adocfor endpoints/events,api/canopy-eligibility.adoc(the page carries the derivation precedence as PROSE, not a table —docs/modules/ROOT/pages/api/canopy-eligibility.adoc:107-109, the U-PROV-B / U-EXP-B paragraphs — so the U-PROV-B derivation paragraph gains therecert_reinstatementarm sentence: a block withapplication_kind = recertification+reopen_episode→recert_reinstatement { episode_id, action_on, benefit_effective_date }; U-RC-C-b, r2-impl F-IMPL-10, r8-data F5) anddata-models/canopy-{applications,renewals,enrollment}.adocfor tables/columns — not just OpenAPI regen;services.adocstays a thin index. U-RC-C-a (MR1) also updates the two Antora pages that documentstandard_period_ends_onas a required date —api/canopy-applications.adoc:267(the preview’s field list: optional, absent on a recertification row) andapi/canopy-web.adoc:98(the reopen panel’s window facts) — beside the OpenAPI snapshot theapi-docsregen rewrites (r11-impl F3). U-RC-A also corrects the staleapi/canopy-renewals.adoc:426event list, thedata-modelsnarration of arecertifyingleg that had no writer (it gains one), the THREE homes of thestandard_processing_deadline = legal_filed_date + windowrule that its kind branch makes false for a recertification row (r9-data F4):docs/modules/ROOT/pages/data-models/canopy-applications.adoc:16("=applications.legal_filed_date+ the program’s[shared.application_processing]window" → kind-aware: that sum for aninitialrow; for a SNAPrecertificationrow the 273.14 renewal deadline of U-RC-A §2), the wire doc-commentcrates/canopy-contracts-applications/src/applications.rs:108("legal filing day + the program’s standard window" → the same kind-aware sentence — a J5 item, since theapi-docsregen reproduces the doc-comment into the OpenAPI snapshot), and the U-FOUND migration headerservices/canopy-applications/migrations/20261107000000_ufound_clock_split.sql:9-10, which STAYS as history with a one-line "since #1634 the SNAP clock is kind-aware (recertification rows: the 273.14 renewal deadline)" note — and — as an erratum on the archived plan (plan-lifecycle) — U-CONT §3.10’s line atplans/archive/snap-intake-completion.adoc:1410: itsrecertifyingarm is superseded by U-RC-A §4.4’s IN_FORCE ruling (theexpiredarm stays a no-op). -
Actual nav group: the existing
** SNAP Intake Completion (#788, epic &81)group (nav.adoc:174-176 —* Plans:174, the group’s**line :175, its archive child :176; r9-data F5) gains a SECOND line*** xref:plans/snap-recert-interview-reinstatement.adoc[SNAP recertification — interview, NOMI, denial and prorated reinstatement (F1; #1634, epic &81)]; on stream completion the page moves toplans/archive/, the xref is rewritten in place andplans/archive.adocgains one row (the 8d2c240c convention). -
Explicit pin paths: PAMMS citation pins live in the COMMITTED
rulesets/georgia/citations.toml; the fetched PAMMS pages live underrulesets/georgia/.policy-cache/**, GITIGNORED. The cached3710.adocWAS read for this plan (hash3e7f633e…8894ad, the value already pinned atcitations.toml:961); the U-RC-C MR1 author re-runscargo xtask policy sync-cache, re-verifies the hash and pins it — nothing is provisional. No deliverable references the cache; the plan quotes the chart lines it relies on (:267-270,:279-282,:296-299,:309-317) so the implementer need not fetch it. -
F1 stays a follow-up stream of the FAMILY epic &81 (no new epic: #1634 is already its child and the rows already fence on it). Children = FIVE issues — one per unit, U-RC-C split per lettered sub-unit (U-RC-FRAME w2, U-RC-A w8, U-RC-B w5, U-RC-C-a w5, U-RC-C-b w5; the family’s "one issue per LETTERED SUB-UNIT" rule — r2-impl F-IMPL-7), each
epic_id-linked to &81, weighted per the roster, milestoneT2 — Completeness, labels percontributor-workflow.adoc:32-36: exactly onetype::feature(the scoped taxonomy token atcontributor-workflow.adoc:41— NOT the commit-typefeat, which stays in MR/issue TITLES only; a stray OFF-TAXONOMYtype::featlabel exists in the project (scoped, but not in thecontributor-workflow.adoc:41taxonomy) and must not be applied — r2-impl F-IMPL-1, r5-impl N1), exactly onepriority::—priority::medium, inherited from #1634 —program::snap, the child’sservice::labels by this EXPLICIT per-child list (the services — and the shared crates, under the project’s existingservice::shared-crateslabel — whose code each unit’s §2/§4/§5 tables edit; all eight labels —service::applications,service::renewals,service::web,service::shared-crates,service::notices,service::enrollment,service::eligibility,service::snap— exist in the project, owner-verified 2026-09-05 and re-confirmed against the project label list the same day (service::snapowner-verified for v13); the drafter states the rule, the owner applies it at issue creation — r10-impl F1; the FINAL lists (v13, r12-impl F2 / F3): U-RC-B carriesservice::shared-cratesbecause its §3/§10 editcrates/canopy-contracts-applications/src/interviews.rs(InterviewProjection.warnings+ thecontextdoc) and the crate’stests/roundtrip.rs:1719; U-RC-C-a carriesservice::snapandservice::eligibilitybecause its "tolerated everywhere" basis sweep (U-RC-C §3/§5) edits productionmatcharms in canopy-snap and canopy-eligibility): U-RC-FRAME none (complianceis not a service); U-RC-Aservice::applications,service::renewals,service::web,service::shared-crates; U-RC-Bservice::applications,service::notices,service::web,service::shared-crates; U-RC-C-aservice::applications,service::renewals,service::enrollment,service::notices,service::web,service::snap,service::eligibility,service::shared-crates; U-RC-C-bservice::applications,service::eligibility,service::web,service::shared-crates— aworkflow::label —workflow::readyfor the four code children; U-RC-FRAME carriesworkflow::in-progresswhile its MR is open — andplanning::has-plan(r3-impl F7). #1634 becomes the CLOSURE issue: it keepsworkflow::in-progress, flipsplanning::needs-plan → planning::has-plan, weight 8 → the stream total (25), milestone T2, description linking this page, retitled to the(b)(3), (e)(2)cite with its body’s273.14(d)→273.14(e)(2)and the epic &81 task line updated alike (criterion (6); r4-impl F2). The five child-issue TITLES, verbatim (the epic task line- [ ] #N <title> (weight: W)and criterion (3) depend on them; r6-impl F1):feat(compliance): U-RC-FRAME — F1 recert stream frame: plan page, nav, epic children, four unbound snap.recert.* action rows;feat(applications): U-RC-A — the renewal identity: application_kind + renewal columns, kind-aware filing clock, renewals filing consumer, renew election;feat(applications): U-RC-B — recert interview context, NOMI + day-30 on the renewal deadline, On-Demand renewal interview, rows 13 + 15;feat(applications): U-RC-C-a — 273.14(e)(2) reinstatement MR1: the four params, recert_reinstatement basis tolerated, kind-aware recert denial, reopen fence, dormant renewals arm(the scope names the MR’s largest slice — the params loader, both denial writers, the reopen fence and preview contract are canopy-applications; the renewals arm is one dormant slice — r8-impl F2);feat(applications): U-RC-C-b — 273.14(e)(2) reinstatement MR2: reopen kind arm R, eligibility derivation arm, web recert reopen variant, row 14. The R4 issues the frame files ("Issues the frame files") carrytype::bugfor afix:title andtype::featurefor afeat:title,priority::medium,program::snap, and theservice::label of the service in the title’s scope where the scope names a service — issue 1’scompliancescope names none (complianceis not in theservice::taxonomy,contributor-workflow.adoc:44);program::snapalone satisfies the "at least oneprogram::orservice::" rule atcontributor-workflow.adoc:34(r6-impl F1; r9-impl F2). Every child MRClosesits own child issue andRelates to #1634; U-RC-C-b’s MR additionallyCloses #1634. R3 step of the frame MR: UPDATE #1133’s description (no new issue) to name the approval anchor of a non-reinstatement recertification approval — both the Interactive arm (DeterminationDay,services/canopy-eligibility/src/derivation.rs:364) and the AgencyFaultPending arm (filing_date,:377-385) — and the identity columns F1 gives it (application_kind,renews_certification_id,renewal_timely,renewal_certification_end_date), with #1133’s rule "an in-period recertification approval anchors atrenewal_certification_end_date + 1(a full first month of the new period; 273.14(e)(1) / (b)(4) / 273.10(f))" — SME item 18 — AND therecertifyingend-date constraint (SME item 21; r9-data F2): the four identity columns are immutable and the in-flight renewal’s SOP and window anchor on the snapshottedrenewal_certification_end_date, so a future #1133 caller that CHANGES arecertifyingcert’scertification_end_date(a continuation that extends the period the renewal was filed against) must void the in-flight renewal (U-REOPEN’svoidedterminal status) or re-anchor it — never leave a renewal running against a period that no longer ends on its snapshot; the U-RC-A §4.4 continuation INCLUDE is vacuous for in-cert conversions because anexpeditedcertification — a postponed-verification period that is still provisional — refuses the filing (422renewal_certification_mismatch/certification_conversion_pending; U-RC-A §3) and a conversion happens only on anexpeditedcert, so the constraint binds only #1133’s own future callers. -
Round recording: the title’s
(vN)+ the== Review roundssection at the foot of this page (one line per round); numbered findings, if a round produces them, are resolved in the owning unit’sFINDINGS RESOLVED. Template mapping (plans/_template.adoc:47-82): Steps = the numbered cutover order + §1–§12 per unit; Files Touched = each unit’s §2/§4/§5/§7 file:line tables; Verification = §9 per unit + the #1634 closure gates (a)–(e); Documentation Updates = Docs obligations 1–3.
Out of scope
Applicant-portal renewal filing (the portal has no renew flow — services/canopy-portal/src/main.rs:170-233; a separate feature, issue filed by the frame); timely in-cert recert continuity (#1133 via U-CONT); the unfenced snap.certification.untimely-recert (:1530-1538) and late-recert-proration (273.14(e)(3); :1540-1548) rows — U-RC-A makes them bindable, F1 does not flip them; agency-fault restoration (#794, #1113) and any restoration of the gap months; TANF/Medicaid recert analogs; any recertifying-status-driven drain beyond the predicates U-RC-A enumerates; holding the enrollment expiry sweep for a pending renewal (the family’s post-lapse answer stands: a fresh enrollment); a worker BFF action for interview completion (filed, below); a due-date cap for recertification checklist items (filed, below; SME item 17); the approval ANCHOR of a non-reinstatement recertification approval — both eligibility arms (Interactive → DeterminationDay, derivation.rs:364; AgencyFaultPending → filing_date, :377-385) are pre-existing recert-as-application behaviour and belong to #1133 (the frame’s R3 step updates its description; SME item 18) — F1’s own flows never approve a pended or in-period recertification (they deny), so no F1 pin depends on the anchor; the reused pend arms' MECHANICS and LETTER on a recertification row are in scope (U-RC-B §3/§6), the (e)(1) full-month approval landing is not.
Issues the frame files (R4 — filed as #1732–#1737, each Relates to #1634)
-
fix(compliance): correct the stale 7 CFR 273.14 paragraph cites(#1732) — the three collateral stale cites F1’s flipping MRs do NOT touch:compliance/scenario-inventory/snap.toml:1566(recert-agency-delay-restoration,273.14(d)→273.14(e)(1)/(e)(3)),compliance/action-catalogue/snap.toml:751(expedited-screening-expired-cert— the row covers households reapplying AFTER the period ended or within 30 days following it, so273.14(e)→7 CFR 273.14(e)(3); 7 CFR 273.2(i); 7 CFR 273.14(f): (e)(3) makes the within-30-days filer a recertification application, 273.2(i) is the un-excused expedited screening, (f) only EXCUSES screening for a household applying BEFORE the end — r2-policy F9) andcompliance/scenario-inventory/snap.toml:1545(late-recert-proration— the row this page names as the (e)(3) row: itsregulatory_triggertoday reads"7 CFR 273.14(b)(2); 7 CFR 273.10(a)(1)(iii); PAMMS SNAP 3710 Chart 3710.1";7 CFR 273.14(b)(2)→7 CFR 273.14(e)(3), keeping the7 CFR 273.10(a)(1)(iii)+ Chart cites — (b)(2) only cross-references "delayed applications as specified in paragraph (e)(3)", and (e)(3) is the paragraph that makes the within-30-days filer a recertification application with 273.10(a) proration; r12-policy F2). Row 14’s ownregulatory_trigger(:1607) is corrected by U-RC-C MR2, which edits that row anyway. -
feat(verification): cap a recertification checklist due date at the renewal deadline minus one day(#1733) — the day-30 verification arm’spast_dueis "due strictly before today" (day30_policy.rs:224due < legal_today; PAMMS 3105:599 "deny the application the day after the verification deadline"), so a recert item due ON the SOP day is denied on SOP + 1 — after the period end for a timely filer. Chart 3710.1 row 3 (3710.adoc:279) "deny after the verification deadline, but no later than the end of the last month" means the request’s due date must fall before the last day; F1 pins that an item due ≤ SOP − 1 denies inside the period and files the cap (SME item 17). The cap must also respect 273.14(b)(4)'s 10-day minimum ("The household must be allowed a minimum of 10 days to provide required verification information"; nothing inservices/canopy-verification/src/api/verifications.rsenforces a minimum today): the issue text carriesdue ≤ SOP − 1 ∧ due ≥ dispatched + 10, and its consequence — a request dispatched afterSOP − 11cannot be enforceable inside the period (r2-policy F8). -
feat(web): worker action to record an On-Demand interview call-in (interview/complete)(#1734) — canopy-web has schedule + reschedule only (actions_interview.rs:3-5);complete_interviewis service-only (api/mod.rs:1669,complete_interview; the service-caller guard:1676). The filer searches for an open issue first and links it instead if one exists. -
fix(renewals): the expedited arm stores the snap-local application id on the certification(#1735) — VERIFIED:determination_subscriber.rs:177(:217after MR2) buildsapplication_id: ApplicationId::from(canopy_common::id::Id::from(evt.application_id))fromSnapDeterminationCompleted.application_id, which is canopy-snap’s LOCAL id (crates/canopy-contracts-snap/src/events.rs:38-41: "STILL the local id … The applications id isupstream_application_idsince #1662"), while the workerPOST /v1/renewals/snap/certificationsstores the applications id (CreateCertificationRequest.application_id: ApplicationId,crates/canopy-contracts-renewals/src/certifications.rs:197). U-RC-C’s reinstatement arm usesevt.upstream_application_id(§4.5) and does not inherit the defect; nothing in F1 readssnap_certifications.application_id. -
feat(portal): applicant-portal renewal filing(#1736) — the portal renew flow the family already names (no issue yet). -
fix(applications): the intake On-Demand NOMI prints a reschedule-by date that has already passed when the by-date is the SOP(#1737) — the intake twin of r7-policy F1: the intake On-Demand defaultinterview_by_date = SOP(api/interviews.rs:83-87, PAMMS 3105:216) is missed on SOP + 1 (S4,nomi_policy.rs:19), and the NOMI staged that day printsreschedule_by_date = denial_on_date = SOP(scheduler.rs:1251-1252) — yesterday; the same tick classifiesMissed { nomi_dispatched: false }→ arm 5PendNomiNotDispatched(day30_policy.rs:176-179). F1 fixes the recert leg only (renewal_deadline_passed, U-RC-B §3/§6) and files the intake letter’s past-date twin here (SME item 1).
No new issue for the approval anchor of a non-reinstatement recertification approval: the frame’s R3 step UPDATES #1133’s description instead (Docs obligations 4; SME item 18).
FINDINGS RESOLVED (v1 — the pre-plan survey questions this frame closes; R = renewals survey, I = intake-machinery survey, P = rows/regs survey)
-
R1 / I1 / P1 (parent record): a renewal is an
applicationsrow with identity columns (U-RC-A); the renewals linkage columns are written by a subscriber; never a renewals-owned application object. -
R2 / I3 / P2 (which SOP clock): the SNAP row’s immutable
standard_processing_deadlineis SET AT FILING to the 273.14 deadline by kind (U-RC-A); no second clock, no guard rewrite. -
I2 (per-context "satisfied"): moot — the renewal is its own application row, so
interview_completed_at / interview_waivedare per renewal by construction. -
I4 / P4-ish (G4 headroom): CONDITIONAL for
recert— refuses while the headroom is achievable (today ≤ latest, wherelatest = min(SOP − h, end − v)for EVERY recertification row’s chain-initial scheduled appointment, timely or untimely — U-RC-B §3; r4-policy F2, overriding round 3’s timely-only reading), advisory only once it is not (U-RC-B; SME inventory item 1). -
I5 (the seven
'intake'literals): become the context parameter derived from kind; context-agnostic reads stay agnostic by design (U-RC-B). -
R10 / I6 / P5 (events + routing): additive
application_kindpayload key + template-only prose branches; no new discriminator, no new event type (U-RC-B, U-RC-C). -
R6 / I7 / P8 (whose 30-day window): NEW
[snap.certification]leaves owned by U-RC-C-a = U-RC-C MR1 (the window / SOP / reasons triple + the (b)(3)(iii) interview headroom — four keys); the denial row’sreopen_deadline_datesnapshots cert end + 30 for a recertification — U-RC-C MR1 writes it at both writers; U-RC-B pins it forreason = missed_interviewon a recertification row. -
R5 / I8 / I12 / P3 (reinstatement primitive): a reopen of the denied renewal application with a kind arm + a new signed basis; renewals mints the cert from the determination; enrollment opens a fresh prorated enrollment (U-RC-C).
-
I9 (basis + rollout):
EffectiveDateBasis::RecertReinstatement, two-step consumer-first;CONTINUATION_CLASS_KINDSnot extended (U-RC-C). -
I10 / SME 4 ($10 floor): applied to a PRORATED (post-end) reinstatement month — the initial month of a new period; a pre-end cure is a full month by 273.14(e)(2) (U-RC-C).
-
I11 / R8 / SME 5 (sweep ordering): park-until-sweep, pinned; no hold on the sweep (U-RC-C).
-
R7 / I13 (On-Demand renewal home + trigger): canopy-applications, the interview table, scheduled by the worker on the recertification row exactly as intake (U-RC-B).
-
I14 (SMS contact): the recertification row carries
notify_phone_e164 / sms_opt_inat filing — unchanged mechanism. -
P6 / map-4 Q7 (action catalogue): four new
snap.recert.*rows, unbound + allowlisted by the frame, bound by U-RC-B/U-RC-C;snap.recert.interviewkeepscomplete_interview. -
P7 / I15 (tier + neighbours): all three rows stay
flow; the (e)(3) late re-application and untimely-recert rows are out of scope (made bindable, not flipped). -
R4 (which service runs the recert denial drain): applications' existing day-30 leg on the renewal deadline the row already carries; no cross-service read at drain time.
-
R9 / P9 / P10 (stale docs, web surface, manifests): docs corrected in U-RC-A; the web slice is the application process page (U-RC-B, U-RC-C); both manifests always.
-
map-4 Q1–Q5, Q9 (epic home, weight/milestone/labels, round recording, finding numbering,
Done ` token, template mapping): resolved in Docs obligations 4–5 above; family findings are cited as "#788 family finding N"; Status cells are written exactly per the engine (`Done (YYYY-MM-DD) — …).
Round 1 absorbed by the frame: r1-policy F2 (every 273.14 cite — (d)(2) timely deadline, (e)(2) reinstatement, (e)(3) late re-application, (f) expedited; the R4 issue for the two collateral stale cites), F3 (the item-8 rider: the timely SOP moves backward), F6 / r1-data F14 / r1-impl F10 (snap.issuance., shared.application_processing.snap_standard_days), *r1-policy F7 (fixture authority; operational verified against citation.rs — a token this stream no longer uses since round 6, r6-policy F3), F8 (nothing provisional; the pin fields), F9 (row 13 bound to both describes), F10 (flow: … describes, byte-exact), F11 (the four rows verbatim, system vs worker actor stated), F15 (labels per contributor-workflow.adoc:32-36); r1-data F1 (the create endpoint’s auth class + the table row), F2 / r1-impl F1 (queue declared in code; no definitions.json edit; the stale allow entry retired), F15 (seven literals); r1-impl F5 (one owner per fact: R6, the ledger, cutover step 5, rule (iii)), F12 (complete/waive service-only footnote + the R4 issue), F16 (template mapping in Docs obligations 5); brief §7’s verified R4 (the expedited arm’s snap-local id), §3’s verification residual (SME item 17) — all under "Issues the frame files".
Round 2 absorbed by the frame: r2-policy F1 / r2-data F1 (the pend arms fire on a recertification row — the intro’s absolute rewritten; the approval anchor → #1133, SME item 18, the R3 update of #1133’s description), r2-policy F2 / r2-impl F-IMPL-2 ((b)(3)(iii) cited in §Purpose, both action rows and the ledger; the fourth key), r2-policy F3 as refined (the SOP parenthetical: (e)(2) silent, (b)(4) a different case; operational kept — superseded in round 6: the default SOP pin takes the pamms reference-copy shape, r6-policy F3), F4 (reinstatement_window_open), F6 (default = the Georgia reference copy), F7 (generic row description; renewal_filing_deadline), F8 (the (b)(4) minimum in the cap issue), F9 (the R4 issue-1 cite triple), F10 / r2-impl F-IMPL-6 (the test_refs in the disposition table); r2-data F3 (submitted_at on application.submitted — renamed received_at in round 3, r3-data F9), F7 / r2-impl F-IMPL-4 (RENEWAL_FILING_QUEUE / RENEWAL_FILING_ROUTING_KEYS), F11 (32 = georgia + default — the operational occurrence count that justified the token, dropped with the token in round 6, r6-policy F3); r2-impl F-IMPL-1 (type::feature), F-IMPL-7 (weights 2/8/5/5/5 = 25; five child issues), F-IMPL-9 (criterion (4): no #TBD), F-IMPL-10 (api/canopy-eligibility.adoc).
Round 3 absorbed by the frame: r3-impl F1 (BLOCKER — the four rows carry an [action.binding] table with kind = "unbound"; the "verbatim" sentence cites action.rs:59 / :76-79 / :335-343), F3 (the timely-only qualifier at the ledger and the test conventions), F4 (criterion (4): the Issues line’s children TBD covered beside the five #TBD cells, with a decidable grep), F5 / r3-data F1 (the cutover step-2 fence note: the two DENY writers fenced until U-RC-C-a — widened to the FULL fence in round 4, r4-data F1), F6 (the item-8 rider’s workday-identity corner — its 10-31 example replaced in round 4, r4-policy F1), F7 (the label values: priority::medium, workflow::ready / workflow::in-progress; #1634’s flips and weight 8 → 25), F11 (the on-demand row’s whole default rule); r3-policy F2 b)(3)(iii) dropped from the on-demand-interview row), F3 (value + effective_date in the pin shapes; the MT-87 date), F4 (the default-authority sentence’s pamms clause), F6 (the short-cert sentence in §Purpose), F10 (the 2027-05-31 holiday pin); r3-data F3 / F9 (ApplicationSubmittedV1 + received_at in rule (i, F13 (the &[&str]-only indexing; "mandatory" dropped). The CHANGELOG entry (r3-impl F2 / r3-data F4) was corrected by the owner in the working tree (five children, (b)(3)(iii) in the cite list).
Round 4 absorbed by the frame: r4-data F1 (MAJOR — the cutover’s step 2 is the FULL dormant fence: deny AND pend arms → kind_deferred with the metric day30_recert_deferred, the worker 409, and the NEW interview 409 recert_interview_not_active; step 3 lifts the deny half + the worker 409, step 4 the interview fence + the pend half; the window analysis stated once under the cutover; the BFF code list), F8 (the withdrawn-renewal copy in the BFF code list), r4-policy F1 (MAJOR — the item-8 rider’s and the test conventions' corner: the 10-31 example was UNREACHABLE (untimely); replaced by cert 2026-03-06 → 09-05, filed 09-05, denied on the 09-08 tick; the corner restated as "a TIMELY filing after the last workday on or before the period end" — SUPERSEDED in round 7 (r7-data F1 / SME item 20): legal_filed_date is always a business day, so the SOP is never a non-workday; the corner is a timely RECEIPT after the last workday whose legal_filed_date (09-08) IS the SOP), F2 (MAJOR — (b)(3)(iii) on EVERY recertification row: FINDINGS I4, the ledger and the test conventions drop the timely-only qualifier), F5 (the federal pins' — two keys, three entries — effective_date = "2025-10-01", the 273.14(b) pin’s value at citations.toml:2213-2214), F6 (Notices 5 reads U-RC-B §6’s sentence pair; "complete your interview by <SOP>" reserved for the appointment letter); r4-impl F2 (criterion (6) + Docs obligations 4: #1634 retitled to (b)(3), (e)(2), its body and the epic task line corrected), F4 (the four-row "binding at flip" block under closure (b), verbatim per action.rs), F6 (closure (c)'s baseline phrased as "on the final MR’s base commit (122 on 2026-09-04)"); r4-impl F1 was REFUTED by the owner (the workspace has canopy_test_lib::mock::spawn_router — U-RC-A §9).
Round 5 absorbed by the frame: r5-policy F1 / F2 (MAJOR — notice truth by ONE mechanism, overriding the round-1/round-3 "template prose per ruleset per reason" ruling: reinstatability rides the events as producer-derived booleans — reinstatable + reinstatement_window_open on application.denied.snap, denial_reinstatable + reinstatement_deadline on application.interview_missed — both computed by the PUBLISHER from the stored row + the loaded recert_reinstatable_denial_reasons; the templates branch on them and re-derive nothing from a reason token; the recert NOMI drops the intake "you can still cure it" promise; Notices 1 / 5, rule (i), the Status table, the roster and the cutover rewritten), F3 (the DENIAL deadline of a non-compliant timely filer is (e)(2) + Chart 3710.1 row 2; (d)(2) is the approval/notification bound — the §Purpose gloss, describe A at both sites, row 13’s cite, the catalogue row’s trigger order and its prose), F4 (the deny-failure-to-complete description covers both day-30 deny arms), F5 (Notices 1: inputs.at("application_kind", default: "initial") on every kind-branched template; absent-key render pins per unit), F6 (describe B renamed at both sites), F8 (default/citations.toml:874-881; Notices 3 "no new route, no new discriminator; program_data_keys widened"), F9 (row 14’s full new regulatory_trigger string); r5-impl F1 (row 15’s cell carries the journey rewrite text, title kept — RETITLED since round 7, r7-policy F4), F2 (criterion (4) + the CHANGELOG row: Closes #1727 once the frame issue exists), F3 (the window analysis names the F1-FENCED actions and leaves determination / withdrawal / assignment / checklist reachable), N1 (type::feat is off-taxonomy, not unscoped), N2 (the corner parenthetical moved to the SOP == legal_filed_date arm), N3 (row 14’s Unit cell U-RC-C-b; the allowlist reason names U-RC-C-b), N4 (migration ordinals "greater than the newest committed ordinal on the MR’s base commit" — per unit §2/§10); r5-data F2 (canopy_common::recert::ApplicationKind named once in U-RC-A §2 and used by every unit). Verified against the tree while applying r5-policy F8: determine.rs checked_add_months IS at :283 and checked_sub_days(1) at :293 (the review’s :285 / :294 do not verify), so those two cites stand; the review’s default/citations.toml:878-885 does not verify either — the recert_timely_filing_day entry runs :874-881 (header :874, notes :881; :883 opens the next entry), so every site on this page keeps :874-881.
Round 6 absorbed by the frame: r6-policy F1 (MAJOR — the SMS text cannot branch or default: sms_body is pure {key} substitution, fail-closed on a missing key (worker.rs:263-317); the SMS is struck from the kind-branch list (Notices 3) and from the absent-key pin lists, its body made kind-neutral in both rulesets (U-RC-B §6), one sentence in Notices 1 saying why), F2 (MAJOR — denial_reinstatable folds the window-closed test; reinstatement_period_start joins the miss; the NOMI’s right reads "the later of the day you complete it and <reinstatement_period_start>" — Notices 1 / 5, rule (i), the roster), F3 (MAJOR — the default SOP pin takes the pamms reference-copy shape; the ledger’s authority rule restated as ONE criterion; source_ref REQUIRED on every pin, citation.rs:54 / :494-499; every operational mention for the key removed, the round records annotated), F4 (row 13’s cell states the FULL new regulatory_trigger string for :1555), F5 (row 15’s journey denies "on the renewal deadline (the next business day …)"; row 14’s journey drops the georgia figure), F7 (the MT-87 date clause in the ledger), F8 (both halves checked against the tree and NOT applied — cb_adequate_reinstate_workdays opens at georgia/citations.toml:1735 with value = 5 at :1736, so U-RC-C §7 keeps :1735-1736; action.rs:78-79 VERIFIED CORRECT on the page — #[serde(default)] :78, pub kind :79 — so the review’s :79-81 is not applied); r6-data F3 (rule (i) untouched — the two response fields are not events; U-RC-A §4.1 / U-RC-C §4.3), F6 (the BFF code list names the no_expedited_screening detail); r6-impl F1 (the five child-issue titles verbatim + the R4 label sentence, Docs obligations 4), F2 (the verification arm’s pin rides row 13’s existing file-level binding — never a fifth binding), F4 (validate.rs:117-119; nav.adoc:175-176 twice).
Round 7 absorbed by the frame: r7-policy F1 (MAJOR — the recert NOMI must never print a past date: renewal_deadline_passed on application.interview_missed in rule (i), Notices 1 and 5, the Status table and the roster; SME item 1 loses "no issue" and the intake twin becomes R4 issue 6), F2 (the ledger’s "five required fields" — value, authority, source_ref, effective_date, verified_date — citation.rs:52 / :54 / :60 / :66, load_manifest a plain toml::from_str :312-316; verified_date = the MR date on the default rows too), F3 (BFF 2 gains the interview_not_satisfied recovery copy for arm R’s precondition — re-homed in round 8 to the worker denial action, the panel cell dropped, r8-policy F1), F4 (row 15’s title RETITLED by the flipping MR — recorded in round 7 as "unbound free text that board.rs publishes"; the board.rs clause was FALSE (it publishes GitLab issue titles) and is corrected in round 8, r8-impl F1 / r8-policy F5 — the retitle stands on the TOML row being the human-read label), F5 (the deny-failure-to-complete description carries the restated corner); r7-data F1 (MINOR + the policy seam — derive_legal_filing never yields a non-workday, so the "non-workday SOP" corner of rounds 3–6 was unreachable: classification and the create matrix’s bounds move to the legal RECEIPT day (SME item 20), the corner is restated at the item-8 rider, the test conventions and the catalogue row as "a timely receipt after the last workday → legal_filed_date = the next business day after the end = the SOP", the round-4 record annotated as superseded); r7-impl F4 (action.rs:97 / :100, citation.rs:387-391, the tenth flow: describe :1448); r7-impl F3 (the intro’s clock sentence: the only movers of current_workflow_deadline on a recertification row are the reused pend arms and the U-RC-C-b reopen reset, store/reopen.rs:473).
Round 8 absorbed by the frame: r8-policy F1 (MAJOR — the worker’s verification_not_provided denial of a recertification row REQUIRES the interview (U-RC-C-a’s kind-aware writer, 422 interview_not_satisfied), removing the outstanding-interview state the round-7 belt guarded: the BFF code list’s interview_not_satisfied entry re-homed to the worker denial action with its recovery copy, the reopen panel’s cell dropped as unreachable; the Status table and roster name the precondition), F4 (row 15’s journey names BOTH denial-day rules — the timely last-workday-on-or-before rule and the untimely forward roll — at the frame table and U-RC-B §9 — the Row flip line names the rewrite, not the rule), F5 / r8-impl F1 (MAJOR → a three-site textual correction: the retitle rationale’s board.rs:241 / :262 clause was false — those lines publish GitLab issue titles; scenario.rs:483 is the only reader of Scenario.title — replaced at the frame table, the round-7 record and U-RC-B §9 by the true fact; the retitle itself unchanged), F8 (the notice-of-missed-interview description names the untimely forward roll of the denial date; the on-demand-interview description mirrors deny-failure-to-complete's deadline clause and cross-references it); r8-data F5 (Docs obligations 1 / MR2 §10: api/canopy-eligibility.adoc:107-109 is prose — the U-PROV-B derivation paragraph gains the recert_reinstatement arm sentence, no "basis table"); r8-impl F2 (the fourth child-issue title’s scope feat(applications), stated once in Docs obligations 4); r8-policy F3 REFUTED by the owner (the recert NOMI’s no-date sentence stands — interview/complete has no SOP guard, api/mod.rs:1669-1723; no ruling change — U-RC-B §3’s post-SOP clause restates that mechanism after the v9 checker pass).
Round 9 absorbed by the frame: r9-policy F2 (the recert On-Demand DEFAULT by-date’s fallback is max(today, SOP − 2) — Notices 5, the on-demand-interview catalogue row, SME item 1; the miss is staged on SOP − 1 so the NOMI has a full legal day to dispatch before the SOP tick — U-RC-B §3/§9/§12), F3 (row 13’s journey :1556 rewritten by U-RC-B’s flipping MR with row 15’s two-rule clause — the frame table’s row-13 cell and U-RC-B’s Row-flip line), F4 (the deny-failure-to-complete row’s regulatory_trigger drops 7 CFR 273.14(d)(2) → "7 CFR 273.14(e)(2); PAMMS SNAP 3710 Chart 3710.1"; the (d)(2) justification moves into a TOML comment above the row; the prose sentence rewritten), N1 (federal_citation on the headroom pins — "7 CFR 273.14(b)(3)(iii)" — and on the default window pin — "7 CFR 273.14(e)(2)" — the ledger and U-RC-C §7), N2 (U-RC-B §11 names R4 issue 3 as the surface that makes the recert NOMI’s "contact us to complete your interview" actionable); r9-data F1 (MAJOR — the withdrawn-renewal BFF branch keys on a 404, not a withdrawn status: withdraw_application (store/mod.rs:674) is the sole active = false writer on applications and the API reads behind the GET and the list filter a.active = true (store/mod.rs:283, :312, :434) — U-RC-A §8/§9, SME item 8), F2 (MAJOR — DECIDED option (c), keyed on the certification TYPE (owner’s v10 completion — the episode read dropped as non-deciding; the settle-then-flip race closed): a renewal filing against an expedited cert is REFUSED by the new create-matrix row 422 renewal_certification_mismatch / certification_conversion_pending from the renewals read alone — SME item 21; the continuation INCLUDE stays and is vacuous for in-cert conversions; #1133’s R3 description text gains the recertifying end-date constraint — Docs obligations 4; the BFF code list), F4 (the kind-aware clock rule routed to data-models/canopy-applications.adoc:16, applications.rs:108 and the U-FOUND migration header’s history note — Docs obligations 1, U-RC-A §12), F5 (the nav group cite nav.adoc:174-176; decode_drift store/mod.rs:272-274; the 5 labelled max_attempts in rule (ii) and U-RC-A §4.3; RenewalIdentity / RenewalsCertDeps homes and the before-tx.begin() placement — U-RC-A §3); r9-impl F1 (criterion (8) — the six R4 issues exist and are numbered, #1133’s description carries both arms, the four columns and the end-date constraint, every child issue carries exactly the Docs-obligations-4 label set + the epic_id link), F2 (the R4 label sentence’s compliance-scope clause — contributor-workflow.adoc:34 / :44), F3 (= r9-data F5’s module homes), N1 (U-RC-A §4.4’s rg summary names the enrollment-status / JSON-fixture hits it ignores), N2 (U-RC-C §6 :413-424; U-RC-B’s header "§3/§4.1/§7"). Regulation and implementability lenses APPROVED in round 9; both round-9 MAJORs are U-RC-A seams and are decided in-page.
Round 10 absorbed by the frame: r10-policy F2 (closure (c) and criterion (5): cargo xtask scenarios audit clean at 1 covered vs the final MR's base commit (row 14) and +3 vs the frame's baseline of 122 on 2026-09-04 (rows 13/15 landed with U-RC-B) — the closing comment reports both numbers), *F4* (the ledger's test-* pin fields — `effective_date = "2026-01-01"`, `verified_date` = the MR date, `verified_by = "fixture-design (#<child-issue>)"` — replacing "the fixture appendix's date", which does not exist; the reasons divergence test-min `["verification_not_provided"]` / test-max both, named in the ledger and decided in U-RC-C §7/§9), *F1* (Notices 5 states row 13's letter at BOTH `noa-denial` reopen-by sites — the block and the "What You Can Do" bullets; owned by U-RC-C §6), *F3* (Notices 5 records option (b): the no-date sentence omits `denial_on_date` on the untimely non-workday-SOP residue; owned by U-RC-B §6/§9), *F5* (Notices 1's key-read discipline for the new recert keys — inside the recert branch or `inputs.at(key, default: …)`, the `renders_snap_*_with_placeholder_inputs` gate, typed booleans, `default_program_data` not widened; owned by U-RC-C); *r10-impl F1* (Docs obligations 4 replaces "( service:: labels as applicable)" with the explicit per-child service:: list — FRAME none; A applications/renewals/web/shared-crates; B applications/notices/web; C-a applications/renewals/enrollment/notices/shared-crates; C-b applications/eligibility/web (final lists: v13 — r12-impl F2) — and criterion (8) reads "EXACTLY the Docs-obligations-4 per-child set"), F3 (the four [[allowlist]] blocks verbatim under the catalogue block; the Data model row points at them). All three lenses APPROVED in round 10; the one MAJOR (r10-policy F1) is U-RC-C §6’s and is decided in-page.
Round 11 absorbed by the frame: r11-impl F2 (criterion (4) gains the second decidable grep — no substitutable placeholder survives the frame MR: the pattern’s seven pre-substitution matches on the v13 draft were the four verbatim allowlist lines and the three prose sites spelling the CHANGELOG’s Closes line for the frame issue, all of which the owner substitutes at commit time; the verified_by <child-issue> token is a per-MR substitution and the bare #1727 / mid-line <U-RC-…> prose mentions sit outside the anchored pattern), r11-policy F3 (four one-line cite drifts — two APPLIED against the tree: georgia/citations.toml:96-104 → :96-103 (the snap.simplified_reporting pin, header :96, notes :103) at the ledger and U-RC-C §7 twice, and compliance/action-catalogue/snap.toml:213 → :212 (the intake row’s path) at U-RC-A §4.6; two checked against the tree and NOT applied — the noa-denial.typ reopen-by read inputs.at("reopen_deadline_date", default: none) IS :46 (:45 is admin-reason, :47 pretty-date; byte-identical in both rulesets) and the agency-pending.typ pay-back promise IS :106-109 (:105 is blank), so the page’s :46 and :106-109 stand), r11-policy F4 (DECLINED: the rows 13/15 journey strings state the rule; the catalogue rows carry the receipt-after-the-last-workday corner). Data and regulation lenses APPROVED in round 11; the one MAJOR (r11-impl F1 — the kind-aware SNAP clock had two owners) is U-RC-A’s and is decided in-page as the pure snap_deadline_by_kind.
Round 12 absorbed by the frame: r12-impl F2 / F3 (the per-child service:: lists, FINAL — U-RC-B gains service::shared-crates (its InterviewProjection.warnings contracts edit), U-RC-C-a gains service::snap + service::eligibility (the basis sweep edits production match arms in canopy-snap and canopy-eligibility) at criterion (8) and Docs obligations 4; the round-10 record annotated "(final lists: v13 — r12-impl F2)" rather than restated), r12-data D12-3 (DECIDED option 1 — the A→C-a worker-facing residue recorded in the cutover’s window analysis: the reopen preview / process-page panel still state the intake 60-day right on a recertification row until C-a’s per-arm preview contract, unreachable in effect under U-RC-A’s full dormant fence; no U-RC-A web change), r12-policy F2 (R4 issue 1 gains the third collateral stale cite — compliance/scenario-inventory/snap.toml:1545, late-recert-proration, 7 CFR 273.14(b)(2) → 7 CFR 273.14(e)(3), the 273.10(a)(1)(iii) + Chart cite kept; the owner updates the issue body draft alike), F5 (SME 19 / U-RC-A §1 bound (b) reworded as canopy’s ELECTION of the NOE window’s first day — the manual classifies no earlier receipt; no behaviour change). Round 12 was the CLEAN round: all three lenses APPROVED, 0 BLOCKER, 0 MAJOR confirmed (the one reported MAJOR, r12-impl F1, downgraded to MINOR by the verifier), 7 MINOR, 7 NOTE — every item folded by this final fix pass; the frame MR ships v13.
U-RC-A — the renewal identity (canopy-applications + canopy-renewals + canopy-web)
Single unit (weight 8 — canopy-common + contracts + applications + renewals + web, a migration with four columns, two CHECKs and a partial UNIQUE (+ the day30_shadow_findings.applied CHECK rewrite), a typed application.submitted contract, a new MQ consumer + queue, the in-force class across ~20 predicates, the FULL dormant recert fence — deny + pend + interview (§4.5–4.7), ~30 named test obligations; r2-impl F-IMPL-7), one MR; restart order renewals (consumer + queue) → applications (producer) → notices → web (the last two tolerant, §10; r6-data F3). Depends on: U-RC-FRAME only. Everything downstream (U-RC-B, U-RC-C) depends on the facts this unit writes at filing.
1. Purpose + regulatory cites
A renewal is filed as an applications row that KNOWS it is a recertification: which certification it renews, whether it was filed timely (7 CFR 273.14(c): by the recert_timely_filing_day of the last month, rulesets/georgia/jurisdiction.toml:192, pinned to PAMMS 3710 Chart 3710.1 at rulesets/georgia/citations.toml:953-961 — judged on the legal RECEIPT day, never the business-day-shifted legal_filed_date: §3, SME item 20), and therefore which 273.14 processing deadline it runs on — timely: notified by the end of the certification period (273.14(d)(2), the approval/notification bound; the DENIAL of a non-compliant timely filer by that same day is (e)(2) "at the end of the certification period" + Chart 3710.1 row 2 — r5-policy F3), which under PAMMS Chart 3710.1 rows 1–3 is the LAST WORKDAY on or before the period end (3710.adoc:260, :268, :280 "by the last workday prior to the end"); untimely: 30 days after filing (273.14(e)(2) "at the end of 30 days" + 273.2(g)(1) via (e)(1); Chart 3710.1 rows 4–6, next business day) — counted, as every canopy processing clock, from legal_filed_date (§2), a RECORDED DEVIATION from the manual’s receipt-day count (r12-policy F1 — DECIDED: keep legal_filed_date): 3710.adoc:27 "The date of the renewal application is the date the form is received by the agency." (and :94 / :296 count the 30th day from that date), whereas canopy’s untimely clock counts from legal_filed_date under the #1581 doctrine (the agency acts on business days; intake’s 30-day clock already counts this way), so a weekend/holiday receipt shifts the SOP by the business-day move — household-favourable (the household gets the extra days) and consistent with every other canopy SOP; the CLASSIFICATION (timely/untimely) stays on the RECEIPT day (§3; SME item 20); pinned §9 (received Sat 2026-08-22 → legal_filed_date Mon 08-24 → SOP 2026-09-23, not 09-21). Today none of this exists: a recert is a fresh initial application (tests/e2e/specs/journey-snap-recert-churn.spec.ts:55-66), nothing classifies timeliness (services/canopy-renewals/src/params.rs:176-193 loads the day only for the NOE’s stated deadline, noe.rs:74-77), and the renewals linkage columns renewal_application_id / renewal_submitted_at and the recertifying status have NO writer (services/canopy-renewals/migrations/20260401000000_create_renewals_tables.sql:17-20,32-33; store.rs:52-59 never binds them). Two bounds on the classifier, both manual-controlled (the state manual controls; silent → statute fills): (a) 1–2-month certifications (the expedited-postponed short certs) are classified and clocked by the SAME 15th-of-the-last-month rule — PAMMS 3710:39 defines timeliness uniformly ("A timely renewal is an application for continued benefits submitted by the AU between the 1st and 15th day of the last month of the certification period.") and controls over 273.14(c)(1)/(d)(1); no short-cert arm (SME item 13; r3-policy F6); (b) the EARLIEST filing: 3710.adoc:42 "NOTE: A renewal application received in the month prior to the last month of the certification period is processed as a timely renewal." — with :39 (timely: the 1st–15th of the last month) and :47 (untimely: the 16th to the last day) the manual’s classification covers exactly the next-to-last and the last month and no earlier day, so a filing before the first day of the next-to-last month (the bound is max(first day of the next-to-last month of the period, certification_start_date) — the TOTAL definition: the clamp binds only for an expedited cert, whose production period ends on the last day of its second month (certification_end, crates/canopy-common/src/expedited_postponement.rs:122, determine.rs:360; renewals' cross_check_period, determination_subscriber.rs:210-221, admits months ∈ {1, 2} only) — 08-10 → 09-30 has next-to-last month August, bound max(08-01, 08-10) = 08-10, filable from its first day — where, under SME item 21, the filing is refused at the conversion-pending row anyway; it never binds for a standard cert: benefit_period (determine.rs:275-307, effective + N months − 1 day) is the standard arithmetic and standard_certification_months is 6 / 6 / 6 / 12 in the four rulesets (rulesets/georgia/jurisdiction.toml:287, default :281, test-min :217, test-max :221 — read by services/canopy-snap/src/params.rs:351-361, which requires the key and bounds it only to a positive count (m > 0), so the "N ≥ 3" premise rests on the committed values, not a loader check), and with N ≥ 3 the next-to-last month always begins after the start; the bound is pinned as a PURE FUNCTION on both shapes, §9; r9-policy F1) is refused by the create matrix — 422 renewal_certification_mismatch (detail renewal_too_early) — as canopy’s ELECTION, not a manual mandate (r12-policy F5, no behaviour change): the manual classifies no earlier receipt (silent, not prohibitive — 273.14(b)(2)'s "prior to the end of their current certification period" states only the upper bound), and canopy ELECTS the NOE window’s first day — 273.14(b)(1) "not before the first day of the next-to-the-last month" — as the earliest renewal filing because a "renewal" months early would carry an immutable SOP months away and suppress the renewal-due signal (§4.4) for the rest of the period — SME item 19; r3-policy F5.
2. Data model
applications (canopy-applications; migration <version>_application_kind.sql with a version GREATER THAN THE NEWEST COMMITTED applications ordinal ON THE MR’s BASE COMMIT — 20261227000000_post_lapse_flag_index.sql on main 9eda862b today; sqlx orders by the numeric version, so a naive 202609… stamp would sort BEFORE the existing history, and two parallel branches must not pick the same stamp; the renewals migration of this unit — <version>_recertifying_in_force.sql (the two index rewrites + idx_snap_certs_renewal_application, below; r7-impl F4) — likewise greater than the newest committed renewals ordinal on its base (20261224000000_snap_certification_adjustments.sql today) — r4-data F7, r5-impl N4; additive, backfill initial). The column’s Rust type is ONE enum, named here and used by every unit (r5-data F2): canopy_common::recert::ApplicationKind { Initial, Recertification } in the NEW canopy_common::recert module beside the lifted renewal_deadline (§3) — [serde(rename_all = "snake_case")], utoipa::ToSchema (it lands on Application, ReopenEpisodeBlock and ReopenEligibilityPreview, all [derive(utoipa::ToSchema)] — crates/canopy-contracts-applications/src/applications.rs:20, :481, :822 — and the api-docs regen depends on it; canopy-common already derives it on AdministrativeDenialReason; r6-data F7), as_str() (initial | recertification), FromStr with the error type canopy_common::recert::UnknownApplicationKind (an unknown TOKEN is an error, never a default arm; r7-impl F4), the derive list [derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize, utoipa::ToSchema)] — the AdministrativeDenialReason shape, crates/canopy-common/src/administrative_denial.rs:26 — because the structs it lands on compile only with it: ReopenInputs derives Copy, Eq (reopen_policy.rs:69), ReopenEligibilityPreview derives PartialEq, Eq (applications.rs:822), Application derives PartialEq (:20) and GuardContext derives Copy (interview_policy.rs:42; r7-data F4), and impl Default for ApplicationKind { Initial } — documented as ABSENCE tolerance for [serde(default)] on the wire (§4.1: a JSON body without the key reads initial; a body with an unknown token still fails — the two rules are distinct; r6-data F3); it lives on Application / ApplicationRow at the row boundary, which today is impl From<ApplicationRow> for Application (services/canopy-applications/src/domain.rs:85) consumed at SEVEN sites — store/mod.rs:160 (row.into()), :293, :323, :413, :587, :763, :786 (Application::from; the :293 / :323 pair, get_application_with_programs and its as-of twin, was missed by the count that said five) — and becomes TryFrom<ApplicationRow> with a NEW domain::ApplicationKindDrift error and a sibling of decode_drift (store/mod.rs:272-274 is typed to PostponementStateDrift alone — fn decode_drift(e: crate::domain::PostponementStateDrift) → sqlx::Error — not a reusable helper), the seven sites converted in the §3 sweep (r6-data F4), on ApplicationSubmittedV1.application_kind: Option<ApplicationKind> (§5), on ReopenInputs.kind and the denial_reopen_right argument (U-RC-C §3), and U-RC-B’s impl From<ApplicationKind> for InterviewContext is the TOTAL map (Initial → Intake, Recertification → Recert); the scan rows (Day30ScanRow, NomiScanRow) keep application_kind: String only because they are converted through the same FromStr before use (a drifted row is a decode error, never silently intake):
| column | type | constraint |
|---|---|---|
application_kind |
TEXT NOT NULL DEFAULT 'initial' |
|
renews_certification_id |
UUID NULL |
the renewals |
renewal_timely |
BOOLEAN NULL |
set iff kind = recertification; the 273.14(c) classification frozen at filing |
renewal_certification_end_date |
DATE NULL |
snapshot of the renewed cert’s |
ck_applications_renewal_identity CHECK (num_nonnulls(renews_certification_id, renewal_timely, renewal_certification_end_date) = CASE application_kind WHEN 'recertification' THEN 3 ELSE 0 END) — the "set iff kind = recertification" invariant exactly (an (a = b) boolean equality would admit an initial row with ONE of the three populated; r2-data F4). Index uq_applications_one_renewal_per_certification — partial UNIQUE (renews_certification_id) WHERE application_kind = 'recertification': ONE recertification application per certification (the create handler maps 23505 to 409 renewal_already_filed; a withdrawn renewal is re-filed as initial — SME inventory item 8). The four columns are immutable after insert (no UPDATE path; the row mirror services/canopy-applications/src/domain.rs and the wire ApplicationWithPrograms gain them read-only).
application_programs: no new column. The IMMUTABLE standard_processing_deadline (U-FOUND, migrations/20261107000000_ufound_clock_split.sql:9-19; computed by the HANDLER — api/mod.rs:1250 standard_deadline(program, legal_filed_date, &deadlines) inside the for program in &req.programs_requested loop, :1249-1252 — and written once by store::create_application_program, store/mod.rs:244-267) is computed BY KIND at filing for the snap program row — the ONLY program row a recertification carries (§3: the matrix requires programs_requested == ["snap"], so the loop body’s kind branch binds the SNAP row alone and no other program row ever meets the renewal rule; r4-data F3). The clock has ONE owner — a NEW pure fn beside RenewalIdentity in services/canopy-applications/src/domain.rs (one file, one owner; no new module), pub fn snap_deadline_by_kind(legal_filed_date: NaiveDate, identity: Option<&RenewalIdentity>, deadlines: &ProcessingDeadlines, calendar: &WorkdayCalendar) → Option<NaiveDate> (crate::params::ProcessingDeadlines, params.rs:24-30 — the struct standard_deadline already reads; canopy_common::workdays::WorkdayCalendar). It returns Option<NaiveDate>, not the ruling’s NaiveDate — a bounded deviation the tree forces: standard_deadline returns Option<NaiveDate> (api/mod.rs:2028-2042; :2039 u64::try_from(days).ok()? is None for a negative snap_standard_days, which the loader’s get_days, params.rs:402-411, never bounds), unwrap_used / expect_used are denied outside tests (Cargo.toml:111-112), and a second arithmetic site would defeat the one-owner rule — so the Option passes straight through. standard_deadline itself MOVES from api/mod.rs into domain.rs beside the pure fn, api/mod.rs keeping pub(crate) use crate::domain::standard_deadline; so every caller is untouched — the loop :1250, its unit tests :2164-2214, finalize_saga.rs:53 (use crate::api::{…, standard_deadline}) — except store/mod.rs:648, which switches from crate::api::standard_deadline to crate::domain::standard_deadline (the pre-existing store → api call is the same wrong-direction dependency; the re-home removes it — owner, v12) — because a domain → api call would be the wrong-direction dependency the r3-data F12 rule forbids (§3; domain.rs imports only contracts, canopy-common, chrono and uuid today, domain.rs:20-41; it gains the crate::params::ProcessingDeadlines import the signature already requires). The loop body’s kind branch CALLS it for the "snap" row — standard_processing_deadline = snap_deadline_by_kind(legal_filed_date, renewal.as_ref(), &deadlines, &workday_calendar) (the Option<NaiveDate> handed on exactly where the loop passed standard_deadline(…), since create_application_program takes standard_deadline: Option<NaiveDate>, store/mod.rs:248; renewal is the Option<RenewalIdentity> §3’s helper returned and the INSERT at :1240 took by value — a Copy type, §3, so the loop at :1249-1252 still reads it) — while every other program row keeps standard_deadline(program, legal_filed_date, &deadlines); resolve_renewal_identity stays IDENTITY-ONLY and never computes it (§3; r11-impl F1 — DECIDED, the reviewer’s second option). The handler already holds both inputs: Extension(workday_calendar): Extension<Arc<canopy_common::workdays::WorkdayCalendar>> on create_application (api/mod.rs:1164-1166, layered from AppDeps.workday_calendar — app.rs:51, .layer(Extension(deps.workday_calendar)) :123) and Extension(deadlines): Extension<Arc<ProcessingDeadlines>> (:1162); r6-impl F4. Its arms: None (an initial application) → standard_deadline("snap", legal_filed_date, deadlines) — today’s rule, byte-for-byte the same result (Some(legal_filed_date + Days::new(snap_standard_days)), Some whenever snap_standard_days ≥ 0 exactly as today); Some(id) with renewal_timely → Some(max(calendar.last_workday_on_or_before(id.renewal_certification_end_date), legal_filed_date)) (crates/canopy-common/src/workdays.rs:85) — Chart 3710.1 rows 1–3 + 273.14(d)(2); the same rule in all four rulesets (statutory + the agency’s non-workday rule; no param); Some(id) untimely → the SAME standard_deadline("snap", legal_filed_date, deadlines) call (= legal_filed_date + snap_standard_days; ONE arithmetic site — NaiveDate + i64 does not type-check, the fallible u64::try_from + Days::new lives once, in standard_deadline; UNROLLED — the denial rolls forward at deny time, as today: rows 5–6 "next business day" == the existing denial_on_date forward move). current_workflow_deadline starts equal to it (store/mod.rs:256), as today; the only movers of current_workflow_deadline on a recertification row are the reused pend arms (U-RC-B, exactly as intake — enforce_pend extends it by snap_standard_days, scheduler.rs:1828-1868, store/day30.rs:302-311; pinned in U-RC-B §9) and the U-RC-C-b reopen reset (store/reopen.rs:473); filing, schedule, miss, NOMI, every fenced action and every deny arm leave it equal to standard_processing_deadline — pinned (§9 here for filing + the fenced actions; U-RC-B §9 for schedule / miss / NOMI; r7-impl F3). No second clock. Consequences (stated once, binding on U-RC-B): G2 is unchanged; the NOMI’s reschedule_by_date = denial_on_date = SOP — ALWAYS a workday on a timely row, so denial_on_date(SOP) == SOP with no exception: both terms of the max are business days (last_workday_on_or_before by definition; legal_filed_date because derive_legal_filing shifts a weekend/holiday receipt to the next business day — services/canopy-applications/src/filing.rs:57-82, "The result is always a business day", the ONLY producer of legal_filed_date on the create path, api/mod.rs:1238-1239). The max is therefore NOT an identity — the one corner, reachable because CLASSIFICATION is by the legal RECEIPT day (§3; SME item 20): a TIMELY receipt after the last workday of the period → legal_filed_date is the next business day after the end → SOP = legal_filed_date > end, the ONE reachable post-end deadline of a timely row (the agency cannot act before it receives the filing on a business day; PAMMS row 1’s "by the last workday prior to the end" is unsatisfiable there); pinned (§9: cert 2026-03-06 → 2026-09-05 Sat, deadline min(09-15, 09-05) = 09-05, received Sat 09-05 → timely, not lapsed; legal_filed_date Tue 09-08 (Sun 09-06, Labor Day 09-07); SOP max(09-04, 09-08) = 09-08, a workday; NOMI denial_on_date 09-08; letter facts "by 09-08" / "your certification period ends 09-05" — a 10-31 filing on a 10-31 end is NOT this corner, it is untimely: renewal_deadline(10-31, 15) = 10-15, noe.rs:302; r4-policy F1 superseded by r7-data F1); the day-30 leg denies ON the SOP tick (scheduler.rs:1549-1550 would_execute_on = denial_on_date(current_workflow_deadline), :1606-1610 defers only while today < would_execute_on; the scan is ⇐ today, store/day30.rs:47).
snap_certifications (canopy-renewals): no DDL beyond TWO partial-index rewrites — snap_certs_one_active_per_household (migrations/20260706000000_snap_cert_active_uniqueness.sql:46-48) and idx_snap_certs_expiration_notice_unnotified (migrations/20261208000011_snap_certs_expiration_notice_fence.sql:10-13) both become WHERE status IN ('active','recertifying') AND active = true so a recertifying cert still holds the one-active fence (it is in force until its end date) and still receives its NOE (SME item 13). Migration shape — two SEPARATE transactional same-name rewrites, each keeping its own uniqueness (r2-impl F-IMPL-3): the one-active fence DROP INDEX snap_certs_one_active_per_household; CREATE UNIQUE INDEX snap_certs_one_active_per_household ON snap_certifications (household_id) WHERE status IN ('active','recertifying') AND active = true; (stays UNIQUE) and the NOE fence DROP INDEX idx_snap_certs_expiration_notice_unnotified; CREATE INDEX idx_snap_certs_expiration_notice_unnotified ON snap_certifications (certification_end_date, id) WHERE expiration_notice_sent_date IS NULL AND status IN ('active','recertifying') AND active = true; (a plain keyset INDEX today, 20261208000011:10-13 — it stays plain); NEVER CONCURRENTLY (sqlx runs each migration in a transaction; ADR-001 adr-001:154-155, #1196; the migration carries the #1196 out-of-band operator note). The store keys 23505 on the index NAME (cert_create.rs:281,339; api/mod.rs:1757), so the same-name rewrite needs no code change. The same migration adds CREATE INDEX idx_snap_certs_renewal_application ON snap_certifications (renewal_application_id) WHERE renewal_application_id IS NOT NULL; — the column’s writer lands here and U-RC-C’s reinstatement arm locates the lapsed cert by it (no index exists today: 20260401000000_create_renewals_tables.sql:17 declares the column, :26-30 index household / status / end_date / interim_due only; r2-data F5); U-RC-C-a attaches the arm’s EXPLAIN. The dormant columns gain their writer (§4.3).
3. Contracts
-
CreateApplicationRequest(crates/canopy-contracts-applications/src/applications.rs:150-169) gainsrenews_certification_id: Option<CertificationPeriodId>(additive,#[serde(default)]).application_kindis NEVER a request field — it is derived:Some(_)→recertification,None→initial. When set,programs_requestedMUST be exactly["snap"](422renewal_requires_snap, detailsnap_only) — the renewed certification is SNAP’s and the kind-aware clock binds thesnapprogram row alone; a multi-program renewal filing is OUT of scope (r4-data F3; pinned §9). Likewiseexpedited_screeningMUST be absent besiderenews_certification_id(422renewal_requires_snap, detailno_expedited_screening, judged with thesnap_onlyrow BEFORE the renewals read): 273.14(f) is out of scope by contract, not only by prose —create_applicationrunsrun_expedited_screeningunconditionally (api/mod.rs:1268-1277) and a positive screen stampsexpedited_participation_deadline(:1127), the U-EXP machinery’s entry, so an expedited-postponed cert minted on a recertification row would ridesupersede_active_certifications(widened by §4.4 torecertifying) and expire the in-force cert mid-period; the BFF sendsexpedited_screening: None(actions_intake.rs:243) but a service-token create can send it (r6-data F6; pinned §9). -
Classification day vs the legal filing date (r7-data F1 — DECIDED; SME item 20): renewal CLASSIFICATION and the create matrix’s three bounds (
renewal_timely,certification_lapsed,renewal_too_early) use the legal RECEIPT dayreceived_on = date_in(received_at, legal_tz)(canopy_common::clock::date_in,crates/canopy-common/src/clock.rs:69— the samereceived_atthe handler resolves atapi/mod.rs:1237, computed ONCE besidederive_legal_filing:1238-1239; no new column onapplicationsand no newApplicationSubmittedV1field — the day is derivable fromreceived_at), because 7 CFR 273.14(c)(2) classifies by when the household "submit[s] applications by the 15th day of the last month of the certification period" and PAMMS 3710 by the day the application is submitted/received (3710.adoc:39"A timely renewal is an application for continued benefits submitted by the AU between the 1st and 15th day of the last month of the certification period.";:47"An untimely renewal is an application for continued benefits submitted by the AU between the 16th and the last day of the month of the current certification period.";:42"received in the month prior"); the processing CLOCKS keeplegal_filed_date(derive_legal_filing,filing.rs:57-82— the #1581 intake doctrine: an agency acts on business days). Consequences: a Saturday-15th receipt (2026-08-15 is a Saturday) is TIMELY by receipt althoughlegal_filed_date= Mon 08-17 — the NOE’s "file by the 15th" (noe.rs:217) holds; a Saturday last-day receipt (cert end Sat 2026-09-05, received 09-05) is NOT lapsed (receipt ≤ end) althoughlegal_filed_date= Tue 09-08 > end — its SOP is thenlegal_filed_date(§2’s corner). Under the alternative (classify bylegal_filed_date) the classifier would refuse that receipt ascertification_lapsedand flip a Saturday-14th receipt untimely against the letter the household holds — the family’s truthful-notice rule violated at the classifier. -
Fail-closed renewals read in the create handler (
services/canopy-applications/src/api/mod.rs:1157):GET /v1/renewals/snap/certifications/{id}(services/canopy-renewals/src/api/mod.rs:400, service-caller guard :405) under the applications service identity. Client plumbing = theVerificationEvidenceDepsprecedent (services/canopy-applications/src/main.rs:217-228, built fromboot.service_token_source,config.rs:23-24verification_url):config.rsgainsrenewals_url(+ a devstack default) and anOption<RenewalsCertDeps>Extension (no OIDC creds →None, WARN at boot); canopy-applications gains the workspace depcanopy-contracts-renewals = { workspace = true }(services/canopy-applications/Cargo.toml:16-27carries the verification / eligibility / applications / persons contracts today; the new dep is{ workspace = true }— the workspace already declarescanopy-contracts-renewalsatCargo.toml:520— not thepathform thecanopy-contracts-verificationdep at :16 uses; r6-impl F4) and the read deserialisesSnapCertification(crates/canopy-contracts-renewals/src/certifications.rs:19-62; the matrix reads itshousehold_id,status,active,certification_start_date,certification_end_dateand — for the conversion-pending row (SME item 21) —certification_type(:33); r3-data F7). ADR-030 B2 home of the matrix (r8-data F4):create_application(api/mod.rs:1157-1298) is 142 lines today — already overB2_THRESHOLD = 100(xtask/src/cmd/quality_budgets.rs:158) and already counted in the lock’sB2_function_loc = 126;run_b2counts every non-test fn over the threshold (quality_budgets.rs:361-381) and the gate is BLOCKING in the pre-push battery (validate.rs:282), so the matrix is NOT grown in place and NOT extracted as one helper (a second fn over 100 lines is a NEW count, 127 > 126, and the battery refuses the push). It lives in TWO helpers inapi/mod.rs, each under 100 lines:fetch_renewal_certification(deps: &RenewalsCertDeps, id: CertificationPeriodId) → Result<SnapCertification, ApiError>(the read + the 502 / 404 mapping — therenewal_certification_unavailablerows and the 404 arm ofrenewal_certification_mismatch) andresolve_renewal_identity(cert: &SnapCertification, household_id: HouseholdId, received_on: NaiveDate, params: RecertFilingParams) → Result<RenewalIdentity, ApiError>(household_idis the request’s — thenot_households_certificationrow comparescert.household_idto it;paramsBY VALUE —RecertFilingParamsis a 4-byteCopy, and&RecertFilingParamsis aclippy::trivially_copy_pass_by_referror under the workspacepedantic = deny,Cargo.toml:103) (the household / in-force / lapsed / too-early / conversion-pending rows, the receipt-day classifier and theNone-deadline 500 — IDENTITY-ONLY: it returns the three-fieldRenewalIdentityand never computes the clock, which is the puresnap_deadline_by_kind's alone, §2; r11-impl F1 — so it takes NO&WorkdayCalendarand NOlegal_filed_date: only the clock read them — neither any matrix row nor the classifier readslegal_filed_date(the r7-data F1 receipt-day ruling: the lapsed / too-early rows and the classifier readreceived_on, the household / in-force / type rows readcert., theNonerow readsrenewal_deadline(end, day)) — and an unread parameter isunused_variables, which §10’s workspace-D warningscriterion rejects; r12-impl F1); the two 422 pre-checks (renewal_requires_snap) stay inline in the handler before either call (no network call for a malformed request). *Module homes and placement (r9-data F5 / r9-impl F3):RenewalIdentitylives inservices/canopy-applications/src/domain.rsbesideApplicationRow(domain.rs:50) — it is store-consumed (the INSERT argument) AND api-consumed (the helper’s result), and a store → api import is the wrong direction (U-RC-B §3’s r3-data F12 rule);RenewalsCertDepslives inapi/mod.rsbeside its only caller, theVerificationEvidenceDepsshape (api/administrative_denials.rs:40);fetch_renewal_certificationandresolve_renewal_identity(in that order) both run BEFORE the transaction opens (let mut tx = state.db.inner().begin(),api/mod.rs:1212-1215) — which requires thereceived_atresolution andderive_legal_filing(api/mod.rs:1237-1239— pure, no DB; today they sit AFTERbegin()) to be HOISTED abovetx.begin(), so the helper hasreceived_onin hand and the loop haslegal_filed_datein hand before the transaction (r12-impl F1); the store still persists that samereceived_at(the 1637 one-instant rule holds — the instant is resolved once, only earlier) andguard_rep_filing(:1222-1230) stays inside the tx (r11-data D1) — the renewals HTTP read never sits inside the intake tx; the handler performs no own-DB read for the matrix. The conversion-pending row (SME item 21; r9-data F2 — DECIDED (c), keyed on the certification TYPE alone — the owner’s v10 completion): AFTER the household / in-force / lapsed / too-early rows — so the table order below IS the precedence (a doubly-defective request answers the earlier row’s detail) —cert.certification_type == "expedited"(CertificationType::Expeditedserialises as"expedited"—[serde(rename_all = "snake_case")],crates/canopy-contracts-renewals/src/certifications.rs:160;as_str:180 agrees) → 422renewal_certification_mismatch(detailcertification_conversion_pending), nothing written, no event; astandardcert never matches the row. NO own-DB read, NO cross-service call, NO second detail token — the row needs nothing beyond the renewals read the handler already performs. Why the TYPE is the fact that makes the period stable: everyexpeditedcertification is minted by the renewals expedited arm from a postponed-verification determination (determination_subscriber.rs:175-177;cross_check_period:210-221) and its period is PROVISIONAL until one of three things stops it beingexpedited— (i) the in-cert conversion flips its type tostandard(the U-CONT-b adjuster:rules::desired_type(continuation/rules.rs:40-48— an in-cert-conversion basis on anexpeditedcert →standard, else unchanged) decides the flip atcontinuation/adjust.rs:213,CasApply.new_type(adjust.rs:290) carries it, and the CAS atcontinuation/store.rs:105writescertification_end_date = $2, certification_type = $3in ONE UPDATE), (ii) a post-lapse normal determination’sstandardcert supersedes it throughcreate_with_supersede(cert_create.rs:158-200,store.rs:87-99; a post-lapse worker cert isstandard—expeditedis refusedcertification_type_not_manual,services/canopy-renewals/src/api/mod.rs:326-335— and the expedited cert →expired), or (iii) a denial terminates it. In EVERY postponement-episode state —postponedinside its deadline,postponedlapsed and unreleased,completedclaimed with the conversion in flight,completedreleased after the deadline (never claimed — the claim is taken only at the release; SME item 21 carries the cite), andcompletedwithconversion_settled_atSET but the adjuster’s type flip not yet applied — the answer is the same 422, so an episode read decides nothing. It would also have left a race open: a settled conversion whoseenrollment.continuation_appliedhad not yet reached the adjuster would have been ACCEPTED (cert stillexpedited, the settle set) and then had its end rewritten under the §4.4 INCLUDE — exactly the frozen-snapshot defect this row exists to prevent; the type is the fact that makes the period stable, the settle is not. Why the row at all: a recertification application is filed against an IMMUTABLE snapshot of the period end (§2) and holds the cert’s ONE renewal slot (uq_applications_one_renewal_per_certification); the adjuster REWRITEScertification_end_date(continuation/store.rs:105), so a renewal admitted against a provisional period would run its SOP and its window against a period that no longer ends there (a denial letter on a period certified for months more; a UNIQUE slot spent on the wrong period) — and a recertification cannot launder a missing postponed verification (7 CFR 273.2(i)(4)(iii); PAMMS 3110:140-143 — SME item 21). Worker copy, STATE-NEUTRAL (true whether the proof is outstanding or already returned): "this certification’s postponed verification is still being resolved — file the recertification against the certification that results (the conversion to a standard period, or the re-determination’s new certification)"; the BFF’s next action is the postponement panel (frame BFF 2). Consequence: a conversion happens only on anexpeditedcert, which can never berecertifying— so an in-cert conversion can never meet arecertifyingcert and the §4.4 continuation INCLUDE is vacuous for it. "No B2 lock bump" is the criterion (§10). Detail mechanism:ApiErrorhas ONE machine slot (code,crates/canopy-common/src/error.rs:92-99), so every second token below rides the RFC 9457detailmember VERBATIM — token only, no prose — throughApiError::unprocessable_coded(code, detail); the BFF reads it throughclassify_upstream(services/canopy-web/src/case_detail/sections/representatives/refusals.rs), and the api page documents the closed vocabulary as the recorded exception to theerror.rs:88-91"never branch ondetail" rule. Closed matrix, fail-closed 422 otherwise:
| renewals answer | handler result | code |
|---|---|---|
|
422, nothing written |
|
|
422, nothing written |
|
client not configured ( |
502, nothing written |
|
transport / 5xx / timeout |
502, nothing written |
|
404, or |
422 |
|
|
422 |
|
|
422 |
|
|
422 |
|
|
422, nothing written |
|
|
500, nothing written; log |
unreachable after the |
in force, household matches, |
proceed: snapshot |
201 ( |
-
renewal_deadline(cert_end, day) → Option<NaiveDate>— "the cited day of the LAST month, clamped to the END DATE;Nonewhen the day does not exist in that month" (from_ymd_opt(y, m, day).map(|d| d.min(cert_end)); the code’s own testsnoe.rs:302-304:(2026-08-14, 15) == Some(2026-08-14),(2026-02-28, 30) == None) — is LIFTED verbatim fromservices/canopy-renewals/src/noe.rs:74-77intocanopy_common::recert::renewal_deadline;noe::renewal_deadlinebecomes a re-export, so its two direct callers (noe.rs:217insidestated_deadline_or_warn(:212) — the shared body behindstage_at_certification(:104) /stage_at_adjust(:147) viastage_fenced(:167; called at :117 / :155 — r6-impl F3) — andscheduler.rs:394) are untouched (pure move, pinned by the existing NOE tests;cert_create.rs:189passesrecert_timely_filing_daythrough tonoe::stage_at_certificationandcontinuation/adjust.rs:337tonoe::stage_at_adjust). canopy-applications loadssnap.certification.recert_timely_filing_dayinto ONE named carrier (r6-data F2):params::RecertFilingParams { recert_timely_filing_day: u32 }, loaded byload_recert_filing_params(rulesets_dir, jurisdiction)inservices/canopy-applications/src/params.rs(besideload_denial_params, :59; the same1..=28boot check as renewalsparams.rs:176-193—params.rscarries no struct for the day today andAppDeps,app.rs:39, has no slot for it), held onAppDepsand layered asExtension<Arc<RecertFilingParams>>oncreate_application(theWorkdayCalendarExtension atapi/mod.rs:1165is the shape) for the timeliness classifier; U-RC-B adds the SAME Extension onschedule_interview/reschedule_interview(they emitrenewal_filing_deadline) and arecert_filing: Arc<RecertFilingParams>field onNomiLegDeps(U-RC-B §3/§10);RecertReinstatementParams(U-RC-C-a) does NOT carry the day. Two siblings land besiderenewal_deadlineincanopy_common::recert— so the BFF can print the too-early date and the mandatory classifier proptest sits besiderenewal_deadline's:renewal_timely(received_on, cert_end, day) → Option<bool>(the receipt-day classifier;None⇔renewal_deadlineisNone) andearliest_renewal_filing_day(start, end) → NaiveDate(the too-early bound — TOTAL, no second 500 row). -
CreateApplicationRequestis built by STRUCT LITERAL in ~20 places (nodeny_unknown_fields, so the wire is additive; the source is not): the same diff sweepsservices/canopy-web/src/api/actions_intake.rs:235,services/canopy-applications/src/finalize_saga.rs:681,crates/canopy-test-lib/src/given/snap.rs:332,given/mod.rs:50,crates/canopy-contracts-applications/tests/roundtrip.rs:628and the applications tests.finalize_saga.rs:681(the portal finalize path) always passesrenews_certification_id: None— that IS the "portal out of scope" fence, pinned (§9). The INSERT signature (r7-data F2):store::create_application(store/mod.rs:103, called by the handler atapi/mod.rs:1240) delegates tocreate_application_with_id(:131), whose explicit INSERT column list (:141-146) is the ONLY writer and which the portal path calls DIRECTLY (finalize_saga.rs:814); both gain arenewal: Option<RenewalIdentity>argument (RenewalIdentity { renews_certification_id: CertificationPeriodId, renewal_timely: bool, renewal_certification_end_date: NaiveDate }— identity only, no SOP field: the clock issnap_deadline_by_kind's, §2, r11-impl F1;#[derive(Debug, Clone, Copy, PartialEq, Eq)]—Copybecause the INSERT atapi/mod.rs:1240takes it by value and the §2 loop at:1249-1252reads it again throughrenewal.as_ref(), and every field isCopy:CertificationPeriodIdviadefine_id,crates/canopy-common/src/id.rs:26-31;bool;NaiveDate;None⇒application_kind = 'initial'), the column list gains the four columns, andfinalize_saga.rs:814passesNone(the portal fence pin, §9) — the request carries onlyrenews_certification_id; the three handler-derived facts cannot reach the INSERT through&req. The contractApplication(§4.1 adds the four identity fields) is ALSO built by struct literal OUTSIDE canopy-applications — verified against main 9eda862b (r5-data F1):services/canopy-notices/src/worker.rs:1598(theapplication_with_electiontest helper),services/canopy-web/src/api/case_detail.rs:6380(theapplicationtest helper),services/canopy-web/src/api/mock_upstream_reopen.rs:135(insidemock_application'sApplicationWithPrograms { application: Application { … } }) andcrates/canopy-contracts-applications/tests/roundtrip.rs:189(thearb_applicationproptest strategy) — the same diff setsapplication_kind: ApplicationKind::Initialand the three renewal fieldsNoneat all four (tools/canopy-seed/src/datagen.rs:1157builds the seed’s owncrate::model::Application,tools/canopy-seed/src/model.rs:213, NOT the contract — no change there); without the sweep the pre-push gatecargo clippy --all-targets — -D warningsfails in three crates, so "workspacecargo clippy --all-targets — -D warningsclean" is this unit’s acceptance criterion (§10). The same sweep coverspublish_application_submitted's TWO callers —api/mod.rs:1289andfinalize_saga.rs:744(the portal path passes theinitialshape; r3-data F10) — which now take the typedApplicationSubmittedV1(§5). The same sweep converts the SEVENApplicationRow → Applicationsites (store/mod.rs:160,:293,:323,:413,:587,:763,:786) fromFromto theTryFromof §2 with theApplicationKindDriftsibling ofdecode_drift(r6-data F4). -
The repeat gate, the postponement gates (
migrations/20261223000000_postponement_episodes.sql:16-17), the reopenlater_approved_snap_existsordering byreceived_at(store/reopen.rs:526-544), G3’s terminal wall, the NOMI S2 wall and the day-30 scan (store/day30.rs:19-52) all read application / program rows — a recertification row is ORDINARY to every READ, exactly as an initial row — no mechanical change to any READ in this unit (the NOMI scans readapplication_interviewsrows, none of which can exist for a recertification row while the interview fence stands — that predicate holds vacuously here and is pinned behaviourally in U-RC-B §9); every ACTION on it is FENCED here (§4.5–4.7): the day-30 leg returnskind_deferredfor its deny AND pend arms, the worker administrative denial answers 409recert_denial_not_active, and interview schedule/reschedule answer 409recert_interview_not_active— U-RC-C-a lifts the deny half + the worker 409 (its kind-awarereopen_deadline_datesnapshot replaces them and is the one later mechanical difference), U-RC-B lifts the interview fence + the pend half (its kind-aware prose incl.agency-pending.typreplaces them) (r3-data F1; r3-impl F5 / F12; r4-data F1); pinned by a recert-row test per predicate.
4. Endpoints + drains
-
POST /v1/applications(require_service_caller,api/mod.rs:1169— the BFF calls it under the SERVICE identity, ADR-019,services/canopy-web/src/api/actions_intake.rs:222-249; guard UNCHANGED) — body gainsrenews_certification_id; the handler returnsApplication(api/mod.rs:1168,:1297; the utoipabody = ApplicationWithProgramsat :1147 is stale and is corrected), so the four identity fields are added toApplication(crates/canopy-contracts-applications/src/applications.rs:21) —application_kind: ApplicationKindwith[serde(default)](thecanopy_common::recertenum of §2, serialised as its snake_case token;impl Default for ApplicationKind { Initial }is ABSENCE tolerance on the wire — an older producer’s body without the key deserialises asinitial— distinct from theFromStrrule, under which an unknown token is an error, never a default; required because canopy-notices deserialisesVec<Application>in production (services/canopy-notices/src/applications_client.rs:232; the import at:19) and canopy-web’s test helpers build the struct — r6-data F3),renews_certification_id: Option<CertificationPeriodId>,renewal_timely: Option<bool>,renewal_certification_end_date: Option<NaiveDate>— and the row mirrorApplicationRow(services/canopy-applications/src/domain.rs:50; theTEXTcolumn decodes throughApplicationKind::from_strin theTryFromof §2, an impossible token surfacing asApplicationKindDriftthrough thedecode_driftsibling — r5-data F2, r6-data F4);ApplicationWithProgramsinherits them by[serde(flatten)](:189-196). Auth class: Service-caller create (BFF-mediated). -
GET /v1/renewals/snap/certifications/{id}— EXISTING, unchanged; the create handler is its new caller. Auth class: Service-to-service read (require_service_caller). -
Renewals filing consumer (subscriber, no HTTP surface; new module
renewal_filing_subscriber.rswithpub const RENEWAL_FILING_QUEUE: &str = "canopy-renewals.renewal-filings"andpub const RENEWAL_FILING_ROUTING_KEYS: &[&str] = &["application.submitted"]— distinctive names as hygiene against a future&[&str]twin — the mq-topology scanner keys slice consts by bare identifier workspace-wide (xtask/src/cmd/mq_topology.rs:394) but indexes only&[&str]heads (:338-339), andservices/canopy-renewals/src/subscriber.rs:42ownsROUTING_KEYS: [&str; 4], an array it does not index, so this is not a collision fix (r3-data F13); the siblings areDETERMINATION_ROUTING_KEYS/NOE_DISPATCH_ROUTING_KEYS/CONTINUATION_ROUTING_KEYS; declared IN CODE byboot.subscriber.subscribe(renewal_filing_subscriber::RENEWAL_FILING_QUEUE, renewal_filing_subscriber::RENEWAL_FILING_ROUTING_KEYS, boot.db.inner().clone(), 5, handler)inservices/canopy-renewals/src/main.rsbesidewire_expedited_consumers(:235-269) — the5ismax_attempts(crates/canopy-mq/src/subscriber.rs:320), the retry budget a delivery gets before the DLQ posture below applies, not a prefetch (r9-data F5) — the slice const is what the mq-topology scanner attributes,xtask/src/cmd/mq_topology.rs:376-403; NOdevstack/rabbitmq/definitions.jsonedit; the"application.submitted"entry atxtask/mq-topology-allow.toml:19is REMOVED in this MR):application_kind ≠ recertification→ ack; else one UPDATE whose predicate is wide enough to recognise its own replay —UPDATE snap_certifications SET status = 'recertifying', renewal_application_id = $2, renewal_submitted_at = $3, updated_at = now() WHERE id = $1 AND active = true AND (status = 'active' OR (status = 'recertifying' AND renewal_application_id = $2)) RETURNING renewal_application_id(updated_at = now()is the renewals store convention for every status write —store.rssupersede, the adjuster CAS) with$3= the event’sreceived_at(RFC 3339 — the application’sreceived_atcolumn, carried on the additive typed payloadApplicationSubmittedV1, §5; never the envelope timestamp;renewal_submitted_at = received_atis the stated semantics — r2-data F3 / r3-data F9); an idempotent replay → 1 row, no change;rows = 0(terminated / expired / superseded in the race, orrecertifyingunder a different application id) →tracing::warn!with the metric namerenewal_filing_not_applied, theapplication_idand therenews_certification_id(the row U-RC-C-a’s terminal-DLQ remedy replays, U-RC-C §4.5) + ack (r2-data F8; r3-data F8) (applications already validated in-force at filing; the application proceeds as an ordinary row). Never a retry loop; the WARN + ackrenewal_filing_not_appliedpath is reserved for therows = 0projection race (the write is a projection, not a legal effect). ONE DLQ posture, the sibling consumers' (r5-data F7): arecertificationpayload missingrenews_certification_idorreceived_at(representable because every newApplicationSubmittedV1field isOption) is a PRODUCER DEFECT → nack to DLQ (#1014 — thedetermination_subscriber.rs:141-146parseprecedent: "a malformed payload is a producer defect (nack → DLQ, #1014)"); it is never acked as a race. -
Every
status = 'active'predicate in renewals and its treatment ofrecertifying(the brief’s enumeration; the MR audits the list against BOTHgit grep -n "status *= *'active'"for the SQL literals ANDrg -n '"active"' services/canopy-renewals/srcfor the Rust comparisons — the latter findscontinuation/adjust.rs:159,373,continuation/terminated.rs:89,api/mod.rs:1499, test assertions, and two harmless classes it IGNORES — enrollment-status tokens (pr_pipeline.rs:108"pending_issuance" | "active" | "suspended",:2512,:2515) and a JSON fixture (subscriber.rs:628"active": true), none a certification-status predicate; r9-impl N1):
| predicate group (file:line) | treatment | why |
|---|---|---|
one-active fence |
INCLUDE |
the cert is in force; two in-force certs per household is the pre-#973 bug |
|
INCLUDE |
the renewal approval’s new cert must retire the |
household / id in-force reads — |
INCLUDE |
|
the #1204 due-list page + COUNT pair |
INCLUDE — widen BOTH; the two scope predicates must stay byte-identical (the COUNT is the page’s completeness tripwire, |
the due list must still show a |
overdue + interim-contact + due-list feeds ( |
INCLUDE |
a lapsed |
continuation primitive — FOUR sites: adjuster precheck |
INCLUDE — all four take the |
a timely renewal in flight must not block an in-cert conversion (owner ruling) — the in-force class is right for the terminated consumer and for future #1133 callers; vacuous for in-cert conversions by the §3 matrix row ( |
QC universe snapshot |
INCLUDE |
a recertifying household is participating on the snapshot day |
periodic-report cycle joins ( |
INCLUDE |
PR obligations run while the cert is in force; a renewal filing does not end the period. EXPLAIN re-attached for the widened joins: they ride |
renewal-due drain |
EXCLUDE (stays |
|
NOE drain |
INCLUDE (index rewritten, §2) |
273.14(b)(1) makes the NOE unconditional — an early filer still receives it (SME item 13) |
|
unaffected |
terminated → active only |
The INCLUDE class is expressed ONCE as a pair of store consts so no predicate drifts (the mechanism, r10-data F4 — a const &str SQL cannot concatenate a const and concat! takes literals only, so "once" is a splice + an agreement test, not a compile-time guarantee): pub const IN_FORCE_CERT_STATUSES: &[&str] = &["active", "recertifying"] (the Rust twin the four continuation-site comparisons read) and pub const IN_FORCE_CERT_STATUSES_SQL: &str = "status IN ('active','recertifying')", spliced by format! at each INCLUDE call site (the applications precedent format!(… {POSTPONEMENT_STATE_SQL} …), store/mod.rs:256); where the SQL must stay ONE module-level item shared by several call sites — the #1204 LIST_CERTIFICATIONS_SQL / COUNT_CERTIFICATIONS_SQL pair, store.rs:237,251, whose two predicates must remain byte-identical — a LazyLock<String> built once from IN_FORCE_CERT_STATUSES_SQL replaces the const — likewise the module-level LIST_OVERDUE_SNAP_SQL and CLOSURE_DUE_PREDICATE consts (the same item-form reason; their EXPLAIN pins deref the LazyLock explicitly) (the item form is the reason, not the lifetime: their consumers sqlx::query_as / query_scalar at :276 / :296 take &'q str, so no &'static str is demanded); an agreement test asserts (i) the SQL const equals the slice rendered (status IN ('active','recertifying') built from IN_FORCE_CERT_STATUSES), (ii) every §4.4 INCLUDE-row SQL contains the const and the renewal-due EXCLUDE drain’s SQL does not; the #1204 tripwire keeps passing. The one EXCLUDE drain (renewal-due) keeps the literal and a comment naming this section. Tests that assert status = 'active': none needed updating — store.rs:2314 is a SET fixture (UPDATE … SET status = 'active'), not a predicate, and renewals_test.rs:1363 was verified unchanged. determination_subscriber.rs:690-692 (the count() … status = 'active' = 1 assertion after the expedited arm mints one cert from a seed with NO filing projection — no recertifying row exists in that test) stays CORRECT unchanged, exactly like the :2342 case below; its neighbour :727-729 asserts status_of(newer) == "active" on a cert this unit never touches (r4-data F6). The prescribed grep’s other hit, continuation/infra_tests.rs:2342 (the count() … status = 'active' = 1 assertion inside concurrent_adjust_and_manual_create_serialize_under_the_household_lock, :2280), stays CORRECT unchanged: its seed cert is active and nothing in that test projects a filing, so no recertifying row exists — verified, listed so the MR does not re-derive it (r3-impl F9).
-
Dormant recert fence in the day-30 leg — EVERY arm (r3-data F1 — DECIDED (b); r3-impl F5 / F12; widened to the full fence by r4-data F1).
Day30ScanRow+ theDAY30_SCAN_SQLSELECT list (store/day30.rs:19-52; the scan already joinsapplications a, :42) gainapplication_kind: StringHERE — SELECT-list only, predicate/keyset/index unchanged, the EXPLAIN pin re-attached — so U-RC-C-a adds onlyrenewal_certification_end_date; the leg converts the String throughApplicationKind::from_strbefore any branch (a drifted token is an error row, never silentlyinitial; r5-data F2).enforce_arm(scheduler.rs:1582-1616, returning the durable ledger token as&'static str) gains one arm between the cutoff check (:1598-1603) and thematch arm.would_action()dispatch (:1604):row.application_kind == ApplicationKind::Recertification→tracing::warn!with the metric nameday30_recert_deferredand the row’sapplication_id, thenreturn Ok("kind_deferred")— a NEW token besidedeferred(:1609) /cutoff_deferred(:1602) /skipped(:1594, :1614); it fences BOTH deny arms (DenyMissedInterview,DenyVerificationNotProvided) AND all four pend arms (PendChecklistNotDispatched,PendVerificationWindowOverranSop,PendNomiNotDispatched,PendNoInterviewScheduled— the"pend"dispatch at :1613enforce_pendis never reached on a recert row): no denial, no (h)(3) pend episode, no letter, both clocks unchanged. The fence is lifted in TWO halves by the units that own the replacing prose: U-RC-C-a lifts the DENY half (its kind-aware snapshot +noa-denialletter; the arm becomesrecertification ∧ would_action() == "pend"→kind_deferred), U-RC-B lifts the PEND half (it owns theagency-pendingrecert branch and the two payload keys — until then the intake branch’s 273.2(h)(3) pay-back promise,agency-pending.typ:106-109, would be mailed to a renewal household). The token is durable inday30_shadow_findings.applied(NewShadowFinding.applied: &'static str,store/day30.rs:91-92; the upsert :103-125), whose inline CHECK (migrations/20261219000000_day30_enforce.sql:67-69,CHECK (applied IN ('shadow', 'applied', 'deferred', 'cutoff_deferred', 'skipped')), auto-namedday30_shadow_findings_applied_check) this unit’s migration widens:ALTER TABLE day30_shadow_findings DROP CONSTRAINT day30_shadow_findings_applied_check, ADD CONSTRAINT ck_day30_findings_applied CHECK (applied IN ('shadow', 'applied', 'deferred', 'cutoff_deferred', 'kind_deferred', 'skipped'))(named this time). The row simply waits on its UNCHANGED clocks (re-judged every tick likedeferred; the runbook report shows the token); U-RC-C-a narrows the arm to the pend half when it installs the kind-awarereopen_deadline_dateat both writers, U-RC-B deletes it (dormant → activate, the U-EXP shape — never a compat shim); the token stays in the CHECK vocabulary as history. Why: today both denial writers snapshotlegal_filed_date + denial_reopen_window_days(scheduler.rs:1695-1700,api/administrative_denials.rs:200-206) into an IMMUTABLE column (20261201000000_administrative_denials.sql:44-48) and thenoa-denialroute prints it (georgia manifest :567), so a recert denial written before U-RC-C-a would carry — and letter — the intake 60-day right; a letter may never print a right its date does not match (SME item 10). -
Worker
POST /v1/applications/{id}/programs/{program}/administrative-denial(program =snap; the utoipa path atapi/administrative_denials.rs:132, the catalogue’s intake rowcompliance/action-catalogue/snap.toml:212— r7-impl F1, r11-policy F3;:150record_administrative_denial; the application is loaded at :173get_application_with_programs): after that load,application_kind = recertification→ 409recert_denial_not_active(ApiError::conflict_coded, the :371-383 shape; detail "lands with U-RC-C-a"), nothing written; U-RC-C-a replaces the refusal with the kind-aware snapshot. Auth class: Worker write (require_service_or_exchanged, guard unchanged). canopy-web maps the code to recovery copy (frame BFF 2). -
Worker
POST /v1/applications/{id}/interview/scheduleand…/interview/reschedule(api/interviews.rs:204schedule_interview,:274reschedule_interview; both load the application throughsnap_sop_for_guards,:217/:287, which returns theApplicationWithProgramscarrying the newapplication_kind): after that load and BEFOREdefault_on_demand_deadline(:218/:288),application_kind = recertification→ 409recert_interview_not_active(ApiError::conflict_coded; detail "lands with U-RC-B"), nothing written, no event, no letter — so no appointment letter, no On-Demand notice/SMS, no NOMI and no intake On-Demand default by-date (interview_by_date = SOP,:83-87) can reach a renewal household before U-RC-B’s kind-aware prose and default exist (r4-data F1). The service-onlyPOST …/interview/complete/…/interview/waive(api/mod.rs:1669/:1637,require_service_caller:1676) stay REACHABLE on a recertification row: the legacy no-appointment completion only stampsapplications.interview_completed_at(:1680-1682"the legacy no-appointment path (no row to close) stays event-less") — noapplication_interviewsrow is created, so nothing from this path needs backfilling when U-RC-B widens the context. U-RC-B deletes this arm. Auth class: Worker write (require_service_or_exchanged(CASEWORKER_OR_ABOVE_ROLES),:215/:285, guard unchanged). canopy-web maps the code to recovery copy (frame BFF 2). ADR-030 B1:api/interviews.rsis 476 lines against the 500-line threshold — the two 409 arms fit, and the NAMED fallback should the count ever cross 500 (here, or under U-RC-B’s later edits) is to relocatesnap_sop_for_guards(api/interviews.rs:102) intoapi/interviews_context.rs(U-RC-B §10), decided on the page rather than at the pre-push gate (r12-data D12-5).
5. Events + cutover order
| event | change | cutover |
|---|---|---|
|
NEW typed wire home (r3-data F3): |
canopy-renewals gains the workspace dep |
renewals events ( |
none new; no event on the |
— |
6. Notices
None new. No letter renders application_kind until U-RC-C-a (noa-denial, cutover step 3) and U-RC-B (the interview-appointment / interview-on-demand / nomi / agency-pending branches, step 4); by the full fence (§4.5–4.7) NO interview, NOMI or pend letter can be staged for a recertification row before U-RC-B, and NO denial letter before U-RC-C-a — in the U-RC-A → U-RC-C-a window no letter of any kind (the intake prose — nomi.typ:122 "the 30th day after your filing date", interview-on-demand.typ:92-94, agency-pending.typ:106-109's 273.2(h)(3) pay-back promise — is never mailed to a renewal household; r4-data F1). The NOE (renewals) is unchanged and still reaches the household (§4.4).
7. Params + citations
No new keys. Consumes snap.certification.recert_timely_filing_day (existing in all four rulesets — georgia :192, default :189, test-min :128, test-max :131 of the respective jurisdiction.toml; pinned 3710 at citations.toml:953-961) via the new applications loader; consumes snap_standard_days for the untimely-filer clock. The lift of renewal_deadline into canopy-common moves no value and no pin.
8. BFF-UI slice
-
canopy-web
POST /cases/{household_id}/file-application(services/canopy-web/src/api/mod.rs:194-195; handlerapi/actions_intake.rs:189-260) gains a "Renew the household’s current SNAP certification" election (checkbox; rendered ONLY when the BFF’s server-sideGET /v1/renewals/snap/certifications?household_id=finds an in-force cert withstatus = 'active'; for arecertifyingcert the same read already carriesrenewal_application_id, so the BFF resolves the linked application SERVER-SIDE through the existing application read (GET /v1/applications/{id},case_detail.rs:5456→api/mod.rs:1505get_application_with_programs_as_of) and renders the "open the existing renewal" link IN PLACE of the checkbox — never an election whose only outcome is the 409; r2-impl F-IMPL-8 — and treats a 404 on that linked read as "WITHDRAWN" (r9-data F1 — DECIDED (a)):withdraw_application(services/canopy-applications/src/store/mod.rs:674UPDATE applications SET status = 'withdrawn', active = false … WHERE id = $1 AND active = true) is the SOLE writer ofstatus = 'withdrawn'AND the soleactive = falsewriter onapplications, and the API reads —get_application_with_programs(store/mod.rs:283),get_application_with_programs_as_of(:312, the read behind the GET) and the list (:434) — filtera.active = true(several internal store/saga reads carry no active filter; none of them is the GET), so arecertifyingcert’srenewal_application_idpointing at a withdrawn renewal reads 404 and can NEVER readstatus = "withdrawn"; the 404 IS the withdrawn fact and no new read or list parameter is added — the BFF renders "the renewal was withdrawn — file a new application" with NO link and NO checkbox (the certification staysrecertifying; the UNIQUE slot stays taken; a new application is filed asinitial— SME item 8; r4-data F8; pinned §9: withdraw → 404 → the copy); a 200 → the "open the existing renewal" link). The BFF resolves the certification id SERVER-SIDE and setsrenews_certification_id; the browser never posts a certification id. WritePermission + CSRF + ProgramScope(snap) as today. 409renewal_already_filed(the race between two workers) / 422renewal_certification_mismatch(per detail —renewal_too_earlyrenders "the renewal window opens on <first day of the next-to-last month>; file the renewal then", SME item 19 — the date iscanopy_common::recert::earliest_renewal_filing_day(cert.start, cert.end)on the cert the BFF read before the POST) / 502renewal_certification_unavailablerender as recovery copy naming the next action (open the existing renewal; file as a new application; wait for the window; retry). -
Chip HOME (the case page has no application LIST; form + degrade rule UNCHANGED, r5-impl F5): the case page’s identity hero renders the "Recertification of <start>–<end>" chip for its ONE application when that application is a recertification (the process-page chip is U-RC-B’s); the worker
GET /applicationslist — which performs no renewals read — additionally carries the END-ONLY pill "Recertification — period ends <end>". The applications row carries only the END (renewal_certification_end_date); the chip’s<start>comes from the BFF’s server-side renewals read of the household’s certification — the SAMEGET /v1/renewals/snap/certifications?household_id=read the renew election above performs (SnapCertification.certification_start_date,crates/canopy-contracts-renewals/src/certifications.rs:19-62), matched byrenews_certification_id— never a browser-supplied date; when that read fails or finds no matching cert the chip degrades to "Recertification — period ends <end>" from the applications row alone (r5-impl F5). -
A11y: the election is a labelled checkbox with
aria-describedbyhelp text stating the certification period it renews. The election rides the #978 modal’s PLAIN form POST (no HTMX swap, so there is no live region or result banner to announce into — a full navigation is what assistive tech reads): success PRG-redirects to the case page (/cases/{household_id}?program=snap, the #978 landing), and every refusal renders the server-owned recovery copy as the worker BFF’s shared_action_error.htmlpage (HTTP 200,<h1>Error</h1>+ the copy —action_error_fragment, the #974FileAppealErrorshape). (Corrected at U-RC-A delivery: the first draft named a live region + focus-to-banner; the #978 form has neither.) -
Applicant-portal renewal filing is OUT of scope (
services/canopy-portal/src/main.rs:170-233has no renew route).
9. Tests
-
Proptest (mandatory):
renewal_deadlinetotality —None ⇔ day ∉ month; Some(d) ⇒ d ≤ cert_end ∧ (d == cert_end ∨ d.day() == day)(the fn clamps to the END DATE, never to month length; theNonearm is part of the total-function statement); the timeliness classifiercanopy_common::recert::renewal_timelyis a pure fn of(received_on, cert_end, day)— the legal RECEIPT day, neverlegal_filed_date(§3; SME item 20) — PROPTEST-pinned (totality incl. theNonearm) besiderenewal_deadline's; the kind-aware clock — its SUBJECT is the puresnap_deadline_by_kind(legal_filed_date, identity, &deadlines, &calendar)(§2; r11-impl F1), the invariants stated against it (the fn returnsOption<NaiveDate>, §2; the strategy drawssnap_standard_daysfrom0..=365, so every arm isSome):Some(id)timely ⇒result == Some(sop)withsop = max(last_workday_on_or_before(id.renewal_certification_end_date), legal_filed_date) ∧ sop ≥ legal_filed_date ∧ sop is a workday (or equals legal_filed_date, itself always a business day — `derive_legal_filing,filing.rs:57-82); `sop ≤ cert_end ⇔ legal_filed_date ≤ cert_end(the page’s corner: a timely receipt after the last workday yieldssop = legal_filed_date > cert_end, r7-data F1 — sosop ≤ cert_endis NOT unconditional, and the ruling’s literaltimely ⇒ result ≤ endis stated as this biconditional; r11-impl F1 as bounded);denial_on_date(sop, calendar) == sopALWAYS for a timely row (bothmaxterms are business days);Some(id)untimely ⇒result == standard_deadline("snap", legal_filed_date, &deadlines)(=Some(legal_filed_date + snap_standard_days));None⇒result == standard_deadline("snap", legal_filed_date, &deadlines)(byte-for-byte today’s rule — theOptioncompared whole, no.unwrap()); everySome(d)hasd ≥ legal_filed_date, and for a timely filerreceived_on ≤ cert_end(NOTlegal_filed_date ≤ cert_end, which the corner breaks; r7-data F1). Example pins: cert end 2026-10-31 (Saturday) → SOP 2026-10-30; a holiday period end → the prior workday — cert end 2027-05-31 (Memorial Day, a Monday;rulesets/georgia/jurisdiction.toml:69, the only month-end holiday in the committed 2026–2027 list) → SOP 2027-05-28 (Friday), so the holiday branch of the calendar is exercised, not just the weekend branch (r3-policy F10); the classifier on a 1-month and a 2-month cert (the 15th of the last month, no short-cert arm — SME item 13); the earliest-filing bound — the reachable HANDLER pins are the standard-cert boundary sides on a 12-monthstandardcert (filed on the first day of the next-to-last month → accepted and TIMELY per3710.adoc:42; filed the day before → 422renewal_too_early) plus the expedited cert’scertification_conversion_pending(the matrix pins below), and the bound itself —canopy_common::recert::earliest_renewal_filing_day(TOTAL; proptest) — is pinned as a PURE FUNCTION on both shapes —(08-10, 09-30) → 08-10(clamped: the production 2-month expedited shape,certification_end= the last day of the second month,crates/canopy-common/src/expedited_postponement.rs:122/determine.rs:360, next-to-last month August; the 1-month expedited shape is the same clamped class) and(08-20, 10-19) → 09-01(unclamped: a SYNTHETIC shape no production path produces — a production 2-month cert is expedited and month-end-terminated, andbenefit_period,determine.rs:275-307, runs thestandardarithmetic at N ≥ 3 in every ruleset, §1) — SME item 19; r9-policy F1; the receipt-day classification pins (SME item 20; r7-data F1): received Sat 2026-08-15 on an 08-31 end →renewal_timely = true(08-15 ≤renewal_deadline(08-31, 15)= 08-15) althoughlegal_filed_date= Mon 08-17, SOP 08-31; received Sat 2026-08-15 withlegal_filed_date08-17 is NOT untimely (the classifier never readslegal_filed_date); the untimely CLOCK pin (r12-policy F1 — §1’s recorded deviation from3710.adoc:27): received Sat 2026-08-22 on an 08-31 end → untimely by receipt (08-22 >renewal_deadline(08-31, 15)= 08-15), not lapsed;legal_filed_date= Mon 2026-08-24; SOP =standard_deadline("snap", 08-24, …)= Wed 2026-09-23 (snap_standard_days = 30), NOT Mon 09-21 (the manual’s 30th day following the 08-22 receipt) — the business-day shift is household-favourable; the last-day-weekend corner — the ONE reachable post-end deadline of a timely row: certification 2026-03-06 → 2026-09-05 (Saturday; the georgiastandard_certification_months = 6cert,jurisdiction.toml:287;+ Months(6) − 1 day,benefit_period— docdetermine.rs:262, body:275-307), timely deadlinerenewal_deadline(09-05, 15) = min(09-15, 09-05) = 09-05, RECEIVED Sat 09-05 → timely (09-05 ≤ 09-05) and not lapsed (receipt ≤ end) → 201;legal_filed_date= Tue 2026-09-08 (Sunday 09-06; Labor Day 09-07,rulesets/georgia/jurisdiction.toml:61); SOP =max(last_workday_on_or_before(09-05) = 09-04, 09-08) = 09-08(a workday;SOP == legal_filed_date > end); NOMIdenial_on_date(SOP) = 09-08; the leg denies that row on the 09-08 tick; the letter’s facts — "by 09-08", "your certification period ends 09-05", "because you filed by 09-05" (renewal_filing_deadline= 09-05) — stay true (a 10-31 filing on a 10-31 end is untimely,renewal_deadline(10-31, 15) = 10-15, and is NOT this pin; the round-4 "filed 09-05 → SOP 09-05, a non-workday" reading is superseded —legal_filed_dateis never a non-workday);programs_requested == ["snap"]on a renewal:["snap","tanf"]withrenews_certification_id→ 422renewal_requires_snap(detailsnap_only), nothing written, no renewals call (r4-data F3);["snap"]withrenews_certification_idAND anexpedited_screeningbody → 422renewal_requires_snap(detailno_expedited_screening), nothing written, no renewals call, noexpedited_participation_deadline(r6-data F6). -
Fail-closed matrix = the spec (§3 table): every row an integration test against a STUB renewals —
canopy_test_lib::mock::spawn_router(router)(crates/canopy-test-lib/src/mock.rs:51; returns aMockHandle { addr, task }whoseDropaborts the task,:35-46; canopy-applications already has the dev-dep,services/canopy-applications/Cargo.toml:71) spawns an axum router answeringGET /v1/renewals/snap/certifications/{id}per row (404 / 5xx / aSnapCertificationbody), and the test builds the applications router in-process (app::build_router,services/canopy-applications/src/app.rs:102,AppDeps:39) with aRenewalsCertDepspointed athandle.addr— orNonefor the unconfigured-client row — over the devstack database; the shape the workspace already uses for a stubbed HTTP peer (crates/canopy-api/src/retry.rs:607,crates/canopy-rules-client/src/lib.rs:440,crates/canopy-persons-client/src/lib.rs:456); canopy-applications itself already stubs an HTTP peer this way — the integration harnesstests/common/mod.rs:71importsspawn_router, andspawn_mock_persons(:414-442, the mock persons-claims + finalize-operations router) spawns it for the*_http_test.rssuites; the unit testsrc/verification_client.rs:567-609stubs the verification peer with ok //missing404 //down500 routes (the very 404 / 5xx shape these rows need;app.rs:7-8documents the fake) — so the renewals stub is aspawn_mock_renewalsbesidespawn_mock_persons, the in-crate shape; theVerificationEvidenceDepsprecedent (api/administrative_denials.rs:40, built atmain.rs:218) has no stub test of its own (r4-impl F1 — refuted as written; the harness exists). Rows: the unconfigured-client 502, the transport 502, 404 / other household, not in force, lapsed (judged onreceived_on— the Saturday last-day receipt is NOT lapsed; SME item 20), too early (both boundary sides, onreceived_on), the conversion-pending row (SME item 21; r9-data F2 — the stub answers anexpeditedcert → 422renewal_certification_mismatch/certification_conversion_pending, nothing written, no event; the SAME cert answered asstandard(the post-flip shape) → 201; astandardcert while the devstack DB holds anapplication_postponement_episodesrow in ANY state for its determination → 201 (the episode is never consulted — one seeded row suffices); the post-lapse arc: after the test mints the normal determination’sstandardcert throughcreate_with_supersede(the expedited cert →expired), the expedited id → 422certification_not_in_forceand the new cert → 201; the precedence twins — another household’sexpeditedcert → 422not_households_certification, a lapsedexpeditedcert (received_on > certification_end_date) → 422certification_lapsed— the earlier row wins), theNone-deadline 500 (a stub cert whose end month lacks the day is unreachable behind the1..=28boot check — the row is exercised as a UNIT test of the handler’sNonearm),snap_only, the happy path and the 409 duplicate; the 502/422/500 rows assert NOapplicationsrow and NO event. -
Contract pins:
ApplicationSubmittedV1roundtrip — the pre-F1 two-key JSON deserialises with every new fieldNone; a frozen full-shape wire JSON; the portal path (finalize_saga.rs:744) publishesapplication_kind = "initial"withreceived_atset and the renewal fields absent (r3-data F3 / F10), having passedrenewal: Nonetocreate_application_with_id(:814; r7-data F2); theApplicationresponse: a pre-F1 body WITHOUTapplication_kinddeserialises asApplicationKind::Initial(the#[serde(default)]absence tolerance) while a body with an unknown token is a deserialisation error (r6-data F3); the row boundary: anApplicationRowcarrying a CHECK-impossible token converts toApplicationKindDrift, never toinitial(r6-data F4). -
Dormant-fence pins (§4.5–4.7;
scheduler_run_http_test.rs,services/canopy-applications/tests/administrative_denial_test.rs,interviews_http_test.rs; r11-impl F5): a recertification row NEVER scheduled at its SOP tick (arm 6PendNoInterviewScheduled) → ledgerapplied = 'kind_deferred', NO pend episode, NOapplication.pending_agency_delay, NO letter, both clocks unchanged, the WARN metricday30_recert_deferredemitted; a recertification row whose interview was completed by the service-only path with a past-due checklist item (armDenyVerificationNotProvided) →kind_deferred, NOadministrative_denialsrow, NOapplication.denied.snap; the same rows at the next tick →kind_deferredagain (idempotent); an arm-4-shaped state (DenyMissedInterview: a scheduled-then-missed appointment with a dispatched NOMI) CANNOT arise on a recertification row —POST …/interview/scheduleand…/reschedule→ 409recert_interview_not_active, noapplication_interviewsrow, no event, no letter, both forinterview_mode = scheduledandon_demand(so the intake On-Demand default never reaches a renewal);interview/completeandinterview/waiveon a recertification row → 200 as today (the mirror column stamped, no interview row); the workerPOST …/administrative-denialon a recertification row → 409recert_denial_not_active, nothing written; an initial row UNCHANGED on all three surfaces — denied / pended at its tick, scheduled, denied by the worker (the fence keys onapplication_kindonly); the CHECK admitskind_deferred(migration pin); the withdrawn-renewal BFF branch (§8; r4-data F8, r9-data F1): the test WITHDRAWS the filed renewal through the existing withdrawal path (withdraw_application,store/mod.rs:674), asserts the linkedGET /v1/applications/{id}now answers 404 (thea.active = truefilter,store/mod.rs:312), and the BFF panel renders the "file a new application" copy with no link and no checkbox while the certification staysrecertifyingand a second renewal filing for that cert still answers 409renewal_already_filed; the live twin — the linked read answers 200 — renders the "open the existing renewal" link. U-RC-C-a’s §9 pins the DENY half’s lift (the pend half stillkind_deferred, the worker 409 gone); U-RC-B’s §9 pins the interview fence’s lift and the PEND half’s lift (r3-data F1; r4-data F1). -
Race + idempotency pins: two concurrent renewal filings for one cert → one 201 + one 409
renewal_already_filed(the partial UNIQUE); consumer replay of the sameapplication.submitted→ one write; consumer delivery AFTERcreate_with_supersederetired the cert → WARN + ack, no write; out-of-order delivery (submitted for app 2 before app 1 cannot happen under the UNIQUE — pinned as unreachable by the 409). -
Clock pins: the only movers of
current_workflow_deadlineon a recertification row are the reused pend arms and the U-RC-C-b reopen reset (store/reopen.rs:473; r7-impl F3) — here: after filing (and after the service-onlyinterview/complete/waive) the two clocks are equal, and every fenced action — the two 409s, everykind_deferredarm — leaves both unchanged (the dormant-fence pins above); the "still equal after filing + schedule + miss + NOMI" pin (r1-data F16) lives in U-RC-B §9, the first unit in which schedule, miss and NOMI are reachable on a recertification row (the interview fence, §4.7); the reused leg’s PEND arms move it exactly as intake (pinned in U-RC-B §9, not here) and the deny arms never do; the portal finalize path (finalize_saga.rs:681) always createsapplication_kind = initial(the portal fence). -
Predicate pins (§4.4): the one-active fence rejects a second
activebeside arecertifying;supersede_active_certificationsretires arecertifyingcert; the continuation adjuster APPLIES on arecertifyingcert (the new applied-outcome pin that replaces the genuinely-wrongrecertifyingarm ofinfra_tests.rs:2014-2073; theexpiredarm stays a no-op) — a mechanics pin on a hand-seededrecertifyingcert: production never reaches it through U-CONT-c, because a conversion happens only on anexpeditedcert and the §3certification_conversion_pendingrow refuses the filing on that type (SME item 21); the terminated consumer terminates arecertifyingcert; the renewal-due drain skips arecertifyingcert while the NOE drain still notices it (double-run no-op preserved on both); the §4.4 const-agreement test — (i)IN_FORCE_CERT_STATUSES_SQLequalsstatus IN ('active','recertifying')rendered fromIN_FORCE_CERT_STATUSES, (ii) every §4.4 INCLUDE-row SQL contains the const and the renewal-due EXCLUDE drain’s (list_due_for_renewal_unnotified,store.rs:339) does not; the #1204 LIST/COUNT tripwire keeps passing (r10-data F4). -
Ordinary-row pins (§3 last bullet): a recertification row is listed, read and day-30-scanned exactly as an initial row — ordinary to every READ (the day-30 scan SELECTs it; the repeat / postponement / reopen-ordering reads see it; the NOMI scans hold vacuously here — no
application_interviewsrow can exist behind the interview fence — and are pinned in U-RC-B §9) — while every ACTION on it is fenced in this unit (the dormant-fence pins above:kind_deferredon every leg arm, the two 409s); the behavioural "acts exactly as an initial row" pins live where the fences lift — U-RC-C-a §9 (deny) and U-RC-B §9 (interview, pend) (r3-data F1; r4-data F1).
10. Deployment + index notes
Single MR. Cargo: canopy-applications gains canopy-contracts-renewals (§3), canopy-renewals gains canopy-contracts-applications (§5) — both { workspace = true }; crates/canopy-contracts-applications gains the events module; canopy-common gains the recert module (renewal_deadline + ApplicationKind); canopy-applications gains params::RecertFilingParams + load_recert_filing_params (§3; r6-data F2) and config.rs renewals_url (CANOPY_APPLICATIONS__RENEWALS_URL, default http://canopy-renewals:8007 — a configuration-reference.adoc row); canopy-web’s ops_day30.rs applied_parts gains the kind_deferred arm (the report’s fixed label, never the unrecognized fallback); store::create_application / create_application_with_id gain the renewal: Option<RenewalIdentity> argument and the INSERT its four columns, finalize_saga.rs:814 passing None (§3; r7-data F2). Acceptance criterion: workspace cargo clippy --all-targets — -D warnings clean — the Application literal sweep of §3 reaches canopy-notices, canopy-web and the contracts roundtrip (r5-data F1). Migrations — versions greater than the newest committed applications / renewals ordinal on the MR’s base commit (20261227000000 / 20261224000000 on main 9eda862b today; r4-data F7, r5-impl N4): applications (columns + CHECKs + partial UNIQUE, backfill initial; the day30_shadow_findings.applied CHECK rewrite admitting kind_deferred, §4.5); renewals (the two transactional same-name index rewrites of §2 — the one-active fence stays CREATE UNIQUE INDEX, the NOE fence stays CREATE INDEX, both with the widened status IN ('active','recertifying') AND active = true predicate — plus the new idx_snap_certs_renewal_application; never CONCURRENTLY, 1196 note carried). Queue canopy-renewals.renewal-filings is declared in code at renewals boot (§4.3) — no broker-definition change; the application.submitted allow entry is removed and the mq-topology acceptance criterion reads as the tool prints it (expand_slice_const_arg attributes a subscription by FILE PATH, never by queue name — xtask/src/cmd/mq_topology.rs:394-403; the plain run prints no per-key attribution): cargo xtask mq-topology --verbose lists subscribe application.submitted (<workspace-root>/services/canopy-renewals/src/main.rs) (the RENEWAL_FILING_ROUTING_KEYS slice attributed through main.rs; two spaces before the parenthesis, and the Rust site path is printed ABSOLUTE from workspace_root() — mq_topology.rs:69-70,185,798 — so the check greps for subscribe application.submitted and services/canopy-renewals/src/main.rs on the same line, never for a literal), and the plain run is clean with the xtask/mq-topology-allow.toml:19 entry removed (r2-data F7; r10-data F1). Restart order: renewals → applications → notices → web — canopy-notices is in the order because it deserialises Vec<Application> in production (services/canopy-notices/src/applications_client.rs:232) and any image build of this MR re-links it against the changed contract crate; the [serde(default)] on application_kind (§4.1) makes the order TOLERANT — a notices or web started before the new applications reads initial from an old body, and the new applications' bodies carry the key for an old reader to ignore — so the order is hygiene, not a fence (r6-data F3). EXPLAIN attached for the new partial UNIQUE lookup, the rewritten fences and the renewal_application_id lookup on idx_snap_certs_renewal_application. OpenAPI snapshot docs/modules/ROOT/openapi/applications.json regenerated (CreateApplicationRequest, Application, and the create_application 201 schema correction ApplicationWithPrograms → Application — the utoipa body = ApplicationWithPrograms at api/mod.rs:1147 vs the handler’s Json<Application> at :1168 is a DOC correction, the wire never changed, so no CHANGELOG Changed line; r4-impl F7; the api-docs gate). ADR-030 B1: api/mod.rs is already split-managed; no route module crosses 500 lines in this unit — no lock bump. ADR-030 B2 (B2_THRESHOLD = 100, xtask/src/cmd/quality_budgets.rs:158; xtask/quality-budgets.lock:12 B2_function_loc = 126): record_administrative_denial (api/administrative_denials.rs:150-236, 87 lines today) gains only the two-line kind check here; the kind-aware reopen_deadline_date derivation U-RC-C-a installs is ONE helper denial_reopen_right(kind: ApplicationKind, legal_filed_date: NaiveDate, renewal_certification_end_date: Option<NaiveDate>, &DenialParams, &RecertReinstatementParams) → Result<NaiveDate, ApplicationKindDrift> (the Recertification ∧ None cell is CHECK-impossible — ck_applications_renewal_identity — and surfaces as the drift error, never a silent value; r9-data F3) called by BOTH writers (enforce_deny — the snapshot formula, scheduler.rs:1695-1700 — and record_administrative_denial) — one owner per fact, one carrier per key (r8-data F6) — so neither handler crosses 100 lines; the leg’s publisher CALL, by contrast, sits in apply_deny (scheduler.rs:1734, the publish at :1785), not enforce_deny — U-RC-C §3 names it (r12-data D12-1); the two event bools (reinstatable, reinstatement_window_open) are computed by the PUBLISHER from the stored denial row + the loaded params, not by the helper (r5-data F10) — the publisher’s new parameters and the initial-row rule are U-RC-C §3’s; no B2 lock bump (r4-impl F3). The create matrix has its OWN B2 home (r8-data F4): create_application (api/mod.rs:1157-1298) is 142 lines today and already inside the lock’s B2_function_loc = 126, so the matrix lands in the two helpers of §3 — fetch_renewal_certification (the read + the 502 / 404 mapping) and resolve_renewal_identity (the matrix + the receipt-day classifier — identity-only, taking cert, household_id, received_on and params: RecertFilingParams (by value) and no legal_filed_date (r12-impl F1); the clock is the pure snap_deadline_by_kind in domain.rs, §2, a third small fn — r11-impl F1) — each under 100 lines; create_application is already ONE counted fn (run_b2 counts fns over the threshold, not lines), so the two 422 pre-checks, the two helper calls and the one-line snap_deadline_by_kind call in the loop add no count — the criterion is that NEITHER helper (nor the pure fn) crosses 100 lines (no new count, 126 stays 126); "no B2 lock bump" is the acceptance criterion (cargo xtask quality-budgets in the pre-push battery, validate.rs:282).
11. Out of scope
Portal renewal filing; an expedited screen filed beside renews_certification_id (273.14(f); 422 no_expedited_screening — r6-data F6); a second recertification application per certification (409 by design; SME item 8); writing renewal_determination_id for non-reinstatement approvals (the worker POST path, cert_create.rs:158-200, and supersede_active_certifications (store.rs:87-101, signature unchanged) are untouched; U-RC-C’s NEW store::retire_renewed_certification is the column’s ONLY writer, for reinstatements only); any sweep of recertifying → expired (lapse remains the absence of an in-force cert, crates/canopy-contracts-renewals/src/certifications.rs:66-77); any change to is_in_force (status-agnostic today; stays so).
12. FINDINGS RESOLVED
-
R1 / I1 / P1: the renewal is an
applicationsrow with four immutable identity columns; renewals' dormant linkage columns +recertifyingare written by a subscriber projection; no renewals-owned application object. -
R2 / I3 / P2: the 273.14 deadline is written into the EXISTING immutable
standard_processing_deadlineby kind at filing — U-FOUND’s clock rule extended, not a new clock; every downstream guard/drain is untouched. -
R6 (recertifying predicates): enumerated in §4.4 with a one-const INCLUDE class and one named EXCLUDE drain.
-
I2 / I14: per-application "satisfied" and SMS contact are correct by construction on a per-renewal row.
-
R9:
api/canopy-renewals.adoc:426, thedata-modelsrecertifyingnarration, the three homes of the immutable-clock rule —data-models/canopy-applications.adoc:16and the wire doc-commentcrates/canopy-contracts-applications/src/applications.rs:108rewritten kind-aware (aninitialrow:legal_filed_date+ the program window; a SNAPrecertificationrow: the 273.14 renewal deadline of §2), the U-FOUND migration header20261107000000_ufound_clock_split.sql:9-10kept as history with the one-line "since #1634 the SNAP clock is kind-aware" note (r9-data F4) — and the U-CONT §3.10 erratum onplans/archive/snap-intake-completion.adoc:1410(therecertifyingarm superseded by the IN_FORCE ruling;expiredunchanged) are corrected in this MR (docs obligations 1). -
I15 / P7:
snap.certification.untimely-recertandlate-recert-prorationbecome bindable (an untimely row now exists as a fact) but are not flipped. -
Round 1: r1-policy F2 (the (d)(2)/(e)(2) cites in §1 and the matrix), F3 (the timely SOP = last workday on or before the end, §2 — the immutable clock, not a second one; the consequences for G2/NOMI/day-30 stated once), F12 / r1-data F13 / r1-impl F7 (
renewal_deadlineisOption; the invariant rewritten; theNonematrix row → 500); r1-data F1 (the create endpoint’s guard class), F2 / F3 / r1-impl F1 (queue declared in code; allow entry retired;mq-topologycriterion), F4 (transactional same-name index rewrite; neverCONCURRENTLY), F5 (the four continuation sites take the in-force class; the genuinely-wrongrecertifyingpin arm named with its U-CONT §3.10 doc line; the QC snapshot row), F8 (fields onApplication+ApplicationRow), F9 (the struct-literal sweep; the portal fence pin), F10 (renewals_url+ theOptionclient + the matrix row), F11 (:691is a test — listed under tests to update in rounds 1–3; dropped in round 4 as correct-unchanged, r4-data F6), F12 (callersnoe.rs:217+scheduler.rs:394; re-export), F16 (the clocks-equal pin — split after round 4: filing here in §9, schedule/miss/NOMI in U-RC-B §9), F20 (with_programsonapplication.submitted); r1-impl F9 (OpenAPI regen), F8 (no lock bump). -
Round 2: r2-data F1 / r2-policy F1 (the absolute "no path moves the workflow clock" scoped: the reused leg’s pend arms move it, pinned in U-RC-B; the ordinary-row pins "except the pend letter’s prose branch"), r2-data F3 (
submitted_aton the payload — renamedreceived_atin round 3, r3-data F9; bound as$3), F4 (thenum_nonnullsCHECK), F5 (idx_snap_certs_renewal_application), F7 / r2-impl F-IMPL-4 (RENEWAL_FILING_QUEUE/RENEWAL_FILING_ROUTING_KEYS+ the attribution check — reworded in round 10 to what the tool prints:cargo xtask mq-topology --verboselistssubscribe application.submitted (<workspace-root>/services/canopy-renewals/src/main.rs)(absolute site path, §10), the plain run clean with the allow entry removed; r10-data F1), F8 (the replay-recognising UPDATE … RETURNING shape); r2-impl F-IMPL-3 (UNIQUE vs plain index rewrites stated separately), F-IMPL-7 (weight 8), F-IMPL-8 (the election renders foractiveonly;recertifying→ the open-existing-renewal link). -
Round 3: r3-data F1 / r3-impl F5 / F12 (the dormant DENY fence — widened to the FULL fence in round 4, r4-data F1:
Day30ScanRow.application_kindhere,kind_deferred+ theappliedCHECK rewrite + the WARN metric, the worker 409recert_denial_not_active; the ordinary-row bullet and pins scoped to READS; U-RC-C-a removes it), r3-data F3 / F9 / F10 (ApplicationSubmittedV1in the contracts crate,received_at, both call sites, the renewals dep, the roundtrip pins), F7 (thecanopy-contracts-renewalsdep;SnapCertification), F13 (the scanner indexes&[&str]heads only — names kept as hygiene); r3-policy F5 (the earliest-filing matrix row — SME item 19), F6 (short certs ride the same classifier — SME item 13), F10 (the 2027-05-31 holiday pin); r3-impl F9 (infra_tests.rs:2342verified unchanged, with the reason). -
Round 4: r4-data F1 (MAJOR — the FULL fence:
kind_deferredfor every deny AND pend arm with the metricday30_recert_deferred, the worker 409, the NEW interview 409recert_interview_not_activeon schedule/reschedule (§4.7; complete/waive stay reachable, the legacy path creates no row); §3’s last bullet, §6 and the pins rewritten; the halves lifted by U-RC-C-a (deny + worker 409) and U-RC-B (interview + pend)), F3 (the kind-aware clock binds thesnaprow only —programs_requested == ["snap"], 422renewal_requires_snap/snap_only, a matrix row + pin), F6 (determination_subscriber.rs:690-692dropped from the tests-to-update list with the reason), F7 (migration versions >20261227000000/ >20261224000000), F8 (the withdrawn renewal: BFF copy with no link/checkbox; the renewal-due EXCLUDE accepted; the slot stays taken; pin); r4-policy F1 (MAJOR — the 10-31 corner example was untimely; replaced by cert 2026-03-06 → 09-05 filed 09-05 → denied on the 09-08 tick; the corner restated in §2 and §9 — SUPERSEDED in round 7, r7-data F1: the SOP is never a non-workday; the corner is a timely RECEIPT after the last workday whoselegal_filed_date09-08 IS the SOP, SME item 20); r4-impl F1 (REFUTED by the owner —canopy_test_lib::mock::spawn_router,mock.rs:51, is the stub renewals; the in-processbuild_routershape named in §9), F3 (ADR-030 B2: the onedenial_reopen_righthelper for both writers), F7 (thecreate_application201 schema correction is a doc fix; noChangedline). -
Round 5: r5-data F1 (MAJOR → MINOR after verification — the contract
Applicationstruct-literal sweep:worker.rs:1598,case_detail.rs:6380,mock_upstream_reopen.rs:135,roundtrip.rs:189;datagen.rs:1157builds the seed’s own model and is excluded; workspace clippy clean is the acceptance criterion, §3/§10), F2 (ONE typecanopy_common::recert::ApplicationKind— §2 names it;Application/ApplicationRowviaTryFrom+decode_drift,ApplicationSubmittedV1.application_kind: Option<ApplicationKind>, the scan rows through the sameFromStr), F7 (§4.3: arecertificationpayload missingrenews_certification_id/received_at→ DLQ (#1014); WARN + ack reserved for therows = 0race), F10 (§10: the helper returns only the date; the publisher computes both bools); r5-impl F5 (§8: the chip’s<start>from the BFF’s renewals read; the end-only fallback), N4 (§2/§10 ordinal wording). -
Round 6: r6-data F2 (MAJOR — the
recert_timely_filing_daycarrier named once:params::RecertFilingParams+load_recert_filing_params, onAppDeps,Extension<Arc<RecertFilingParams>>oncreate_application; U-RC-B reuses it), F3 (MAJOR —Application.application_kindcarries#[serde(default)]withimpl Default { Initial }as absence tolerance, distinct from theFromStrunknown-token error; §10’s restart order gains canopy-notices and is tolerant by construction), F4 (decode_driftis typed toPostponementStateDrift; the boundary isFromatdomain.rs:85today —TryFrom+domain::ApplicationKindDrift+ a sibling helper, the five conversion sites in the §3 sweep), F6 (theexpedited_screeningmatrix row → 422renewal_requires_snap/no_expedited_screening, judged withsnap_onlybefore the renewals read; §9 pin), F7 (utoipa::ToSchemaon the enum); r6-impl F3 (stage_fenced:167, called :117 / :155), F4 (api/mod.rs:1165; the{ workspace = true }dep vs thepathpattern,Cargo.toml:520;Some(ApplicationKind::Initial)). -
Round 7: r7-data F1 (MAJOR → MINOR on verification, plus the policy seam it exposed — DECIDED as SME item 20:
derive_legal_filing(filing.rs:57-82) makeslegal_filed_datealways a business day, so the "non-workday SOP" corner of rounds 4–6 was unreachable and its §9 pin could not pass (the create would have refused the 09-05 receipt ascertification_lapsed); classification and the matrix’s three bounds now use the legal RECEIPT dayreceived_on = date_in(received_at, legal_tz)(§3 new bullet, the three matrix rows, §9’s classifier proptest and pins), the clocks keeplegal_filed_date; the corner restated in §2/§9 as a timely receipt after the last workday whoselegal_filed_dateis the next business day after the end and IS the SOP (received Sat 2026-09-05 → SOP 09-08); the proptest invariants rewritten (SOP is a workdayunconditionally,SOP ≤ end ⇔ legal_filed_date ≤ end,denial_on_date(SOP) == SOPalways); no new column — the receipt day is derived once in the handler), F2 (store::create_application/create_application_with_idgainrenewal: Option<RenewalIdentity>; the INSERT column list:141-146;finalize_saga.rs:814passesNone— §3/§10/§9), F4 (theApplicationKindderive list —Copy + Eq + Hash + serde + ToSchema— stated in §2 with the four structs that need it), F6 (§4.4:store.rs:237,251relabelled as the #1204LIST_CERTIFICATIONS_SQL/COUNT_CERTIFICATIONS_SQLpair, widened together; the periodic-report row’s EXPLAIN note —20260721000000:36verified as the cohort backfill UPDATE’s predicate, not an index); r7-impl F1 (§4.6:POST /v1/applications/{id}/programs/{program}/administrative-denial,administrative_denials.rs:132), F3 (§2 and §9: the only movers ofcurrent_workflow_deadlineare the pend arms and the reopen reset), F4 (the renewals migration stem<version>_recertifying_in_force.sql; theFromStrerrorcanopy_common::recert::UnknownApplicationKind). -
Round 8: r8-data F4 (the create matrix’s ADR-030 B2 home —
create_application(api/mod.rs:1157-1298) is 142 lines and already one counted fn in the lock’sB2_function_loc = 126, so the matrix lands in TWO helpers each under 100 lines,fetch_renewal_certification(deps, id) → Result<SnapCertification, ApiError>(the read + the 502 / 404 mapping) andresolve_renewal_identity(cert, received_on, legal_filed_date, &RecertFilingParams, &WorkdayCalendar) → Result<RenewalIdentity, ApiError>(the matrix + the receipt-day classifier; round 8 also placed the kind-aware clock here — RE-HOMED in round 11 to the puresnap_deadline_by_kind, the helper identity-only and the&WorkdayCalendaronly the clock read shed from its signature; r11-impl F1 — andlegal_filed_date, likewise read only by the clock, shed in v13; r12-impl F1); the two 422 pre-checks stay inline; "no B2 lock bump" the criterion — §3, §10), F6 (§10’sdenial_reopen_rightsignature takes both carriers,&DenialParams+&RecertReinstatementParams;DenialParamsunchanged — the U-RC-C-a ruling, stated here because §10 names the helper). -
Round 9: r9-data F1 (MAJOR — DECIDED (a): the withdrawn-renewal BFF branch keys on a 404 of the linked application read, lawful because
withdraw_application(store/mod.rs:674) is the soleactive = falsewriter onapplicationsand the API reads behind the GET and the list filtera.active = true(:283,:312,:434) — §8; the §9 pin withdraws, asserts the 404, asserts the copy; SME item 8; no new read or list parameter), F2 (MAJOR — DECIDED option (c), keyed on the certification TYPE (owner’s v10 completion — the episode read dropped as non-deciding; the settle-then-flip race closed), SME item 21: the create matrix’scertification_conversion_pendingrow — anexpeditedcert (a postponed-verification period that is still provisional until the in-cert conversion flips its type tostandard, a post-lapsestandardcert supersedes it, or a denial terminates it) refuses the renewal filing 422renewal_certification_mismatchfrom the renewals read alone, judged after the household / in-force / lapsed / too-early rows insideresolve_renewal_identity— §3; the §4.4 continuation INCLUDE stays, vacuous for in-cert conversions (a conversion happens only on anexpeditedcert, never arecertifyingone); the §9 rows:expedited→ 422, the same cert asstandard→ 201,standardbeside a seeded episode row in ANY state → 201, the post-lapse supersede arc, the precedence twins; the frame’s BFF code list and #1133’s R3 text), F3 (§10:denial_reopen_righttakesrenewal_certification_end_date: Option<NaiveDate>and returnsResult<NaiveDate, ApplicationKindDrift>— the CHECK-impossible cell is a drift error; the publisher parameters and the initial-row rule live in U-RC-C §3), F4 (the R9 docs line:data-models/canopy-applications.adoc:16,applications.rs:108, the U-FOUND migration header’s history note), F5 (RenewalIdentityindomain.rsbesideApplicationRow,RenewalsCertDepsinapi/mod.rsbeside theVerificationEvidenceDepsprecedent, both helpers beforetx.begin()(api/mod.rs:1212-1215) — thereceived_at/derive_legal_filingderivation hoisted above it in round 11, r11-data D1;decode_drift:272-274; the5labelledmax_attempts— §3, §4.3); r9-impl N1 (§4.4’srglead-in names thepr_pipeline.rs/subscriber.rs:628hits it ignores), F3 (= r9-data F5’s homes). -
Round 10: r10-data F1 (§10 / §12: the mq-topology criterion names what the tool prints —
expand_slice_const_argattributes by file path (mq_topology.rs:394-403), so the check iscargo xtask mq-topology --verboselistingsubscribe application.submitted (<workspace-root>/services/canopy-renewals/src/main.rs)— the site path printed absolute fromworkspace_root(), so the check greps key + path on one line — plus a clean plain run withxtask/mq-topology-allow.toml:19removed), F4 (§4.4: the "expressed once" mechanism —IN_FORCE_CERT_STATUSES: &[&str]+IN_FORCE_CERT_STATUSES_SQL: &strspliced byformat!at each INCLUDE call site (aLazyLock<String>built once from the SQL const where the SQL must stay ONE shared module-level item — the #1204 LIST/COUNT pair,store.rs:237,251), with the agreement test (SQL const == the slice rendered; every INCLUDE-row SQL contains it, the renewal-due EXCLUDE drain’s does not) and the #1204 tripwire kept). -
Round 11: r11-impl F1 (MAJOR, confirmed — DECIDED the reviewer’s second option: the kind-aware SNAP clock has ONE owner, the NEW pure fn
snap_deadline_by_kind(legal_filed_date, identity: Option<&RenewalIdentity>, &ProcessingDeadlines, &WorkdayCalendar) → Option<NaiveDate>indomain.rsbesideRenewalIdentity—None→standard_deadline("snap", …)byte-for-byte, timely →Some(max(last_workday_on_or_before(end), legal_filed_date)), untimely → the samestandard_deadline("snap", …)call, unrolled; the loop body’s kind branch calls it for the"snap"row and every other program row keepsstandard_deadline;resolve_renewal_identitystays IDENTITY-ONLY with the three-fieldRenewalIdentityunchanged; the §9 clock proptest’s subject is the pure fn. FIVE bounded deviations from the ruling’s letter, each forced by the tree or by a ruling it did not overturn, all for the owner’s confirmation (v12 checkers): (i) the return type isOption<NaiveDate>, notNaiveDate—standard_deadlinereturnsOption(api/mod.rs:2039u64::try_from(days).ok()?; the loader never boundssnap_standard_days,params.rs:402-411) andunwrap_used/expect_usedare denied outside tests (Cargo.toml:111-112), so theOptionpasses through tocreate_application_program'sOption<NaiveDate>(store/mod.rs:248); (ii) the untimely arm is the SAMEstandard_deadline("snap", …)call —NaiveDate + i64does not type-check and one arithmetic site is the point; (iii)standard_deadlinemoves fromapi/mod.rs:2028-2042intodomain.rsbeside the pure fn withpub(crate) use crate::domain::standard_deadline;inapi/mod.rs, so nodomain→apicall arises (the r3-data F12 direction rule) and its callers (api/mod.rs:1250,:2164-2214,finalize_saga.rs:53,store/mod.rs:648) are untouched; (iv)resolve_renewal_identitysheds the&WorkdayCalendaronly the clock read — and, completing the same deviation in v13, thelegal_filed_dateonly the clock read (r12-impl F1: no matrix row reads it) — an unread parameter isunused_variables, failing §10’s-D warningscriterion — the ruling’s "signature unchanged" having rested on the pre-re-home premise; (v) the proptest states the ruling’stimely ⇒ result ≤ endas the page’s biconditionalsop ≤ cert_end ⇔ legal_filed_date ≤ cert_end, because the SME 20 corner yieldssop = legal_filed_date > end(r7-data F1, not overturned) — deviations (i)–(v) owner-confirmed 2026-09-05;RenewalIdentitygains#[derive(Debug, Clone, Copy, PartialEq, Eq)](§3) so the INSERT’s by-value take and the loop’s laterrenewal.as_ref()both compile; the handler’s calendar and deadlines access named —Extension(workday_calendar)api/mod.rs:1164-1166fromAppDeps.workday_calendarapp.rs:51/:123,Extension(deadlines):1162;last_workday_on_or_beforeatcanopy-common/src/workdays.rs:85— §2, §3, §9, §10, the frame’s test conventions, the round-8 record annotated), r11-data D1 (§3 "Module homes and placement": thereceived_atresolution +derive_legal_filing(api/mod.rs:1237-1239, pure) HOISTED abovetx.begin()(:1212-1215) so both helpers run before the transaction; the store persists that samereceived_at(#1637’s one-instant rule holds);guard_rep_filing(:1222-1230) stays inside the tx; the round-9 record annotated). -
Round 12: r12-impl F1 (reported MAJOR, downgraded to MINOR by the verifier —
resolve_renewal_identitydrops the unreadlegal_filed_dateparameter:resolve_renewal_identity(cert: &SnapCertification, received_on: NaiveDate, &RecertFilingParams)— implemented as §3’s(cert, household_id, received_on, params: RecertFilingParams)(the U-RC-A MR; the matrix’s household row needs the id andRecertFilingParamsisCopy) ` → Result<RenewalIdentity, ApiError>` — no matrix row reads it (the r7-data F1 receipt-day ruling), so the stated signature would have failed §10’s-D warningscriterion on the firstcargo clippy; the placement sentence now reads "the helper hasreceived_onin hand and the loop haslegal_filed_datein hand before the transaction" — §3, §10, the round-11 record’s deviation (iv) and the round-8 record annotated), r12-data D12-5 (§4.7: the NAMED B1 fallback forapi/interviews.rs(476 lines) if the count crosses 500 —snap_sop_for_guards(:102) →api/interviews_context.rs; mirrored at U-RC-B §10), r12-policy F1 (DECIDED — keeplegal_filed_date: §1 cites3710.adoc:27"The date of the renewal application is the date the form is received by the agency." and records the untimely clock’s business-day deviation from the manual’s receipt-day count under the #1581 doctrine — household-favourable, consistent with every other canopy SOP; the classification stays on the receipt day; §9 pin: received Sat 2026-08-22 →legal_filed_dateMon 08-24 → SOP Wed 2026-09-23, not Mon 09-21 — the weekday arithmetic and the:27text verified against the calendar and the cached page for v13).
Row flip: none. Allowlist flip: none — snap.recert.file-renewal-application (compliance/action-catalogue/snap.toml:720-731) keeps its create_application binding, now truthful. mq-topology allow flip: the application.submitted entry (xtask/mq-topology-allow.toml:19) is removed here.
U-RC-B — recert interview, NOMI, denial clock, On-Demand renewal (canopy-applications + canopy-notices + canopy-web)
Single unit (weight 5), one MR. Depends on: U-RC-A (the identity + the kind-aware clock + the params::RecertFilingParams carrier of the filing day, reused here for renewal_filing_deadline — r6-data F2) and U-RC-C-a = U-RC-C MR1 (the recert_reinstatement_window_days, recert_interview_verification_headroom_days and recert_reinstatable_denial_reasons params and the kind-aware recertification denial it lands — §3/§4.1/§7 below consume THREE of C-a’s four params (§4.1’s handlers through their Extensions, §3’s NOMI/G4 through the leg deps; §4.4’s reused legs consume none directly — r9-impl N2) — the window key for reinstatement_deadline, the headroom key for G4, the reasons key for denial_reinstatable; recert_reinstatement_sop_workdays is read only by U-RC-C-b’s arm R — plus the kind-aware denial; r6-impl F4). This unit LIFTS the interview fence (409 recert_interview_not_active) and the PEND half of U-RC-A’s kind_deferred fence (U-RC-A §4.5–4.7; r4-data F1) — it owns the prose that replaces them.
1. Purpose + regulatory cites
7 CFR 273.14(b)(3) applies the 273.2(e)(3) interview + Notice-of-Missed-Interview rules to recertification; 273.14(b)(3)(iii) adds the recert-specific "shall": the interview must be scheduled so the household has at least 10 days after it to provide verification BEFORE the certification period expires (the second bound of G4 below, parametrised as snap.certification.recert_interview_verification_headroom_days), a missed recert interview gets a Notice of Missed Interview "that may be combined with the notice of denial" (the NOMI leg as today; the day-30 denial letter follows separately), and a household that misses and asks again "shall" get a second interview — the existing worker reschedule path (…/interview/reschedule), no new surface; the household owns rescheduling; the renewal is denied for a household-caused miss ON the renewal deadline — the timely filer’s last workday on or before the period end (273.14(e)(2) "at the end of the certification period" + Chart 3710.1 row 2; rows 1–3 fix the day; (d)(2) is only the approval/notification bound — r5-policy F3) or the 30th day after filing, next business day (273.14(e)(2) "at the end of 30 days"; rows 4–6) — PAMMS SNAP 3710 Chart 3710.1; the Georgia On-Demand model for renewals — PAMMS 3710 Interviewing Requirements (rulesets/georgia/scenarios/snap.toml:171). Under Georgia’s chart a missed_interview renewal denial is NOT reinstatable ("A new application is required", 3710.adoc:270, :299) — the denial this unit produces is final in georgia and reinstatable only under a ruleset whose recert_reinstatable_denial_reasons includes it (SME item 16; U-RC-C). The intake machinery already does every mechanical step on the SNAP row’s clocks (guards on the immutable standard_processing_deadline, services/canopy-applications/src/interview_policy.rs:41-58,160-200; NOMI stamps scheduler.rs:1220-1272; the day-30 scan on current_workflow_deadline, store/day30.rs:19-52, equal to the immutable clock until a reopen or a reused-leg pend (§3 Pend arms)) — and U-RC-A made that date the renewal deadline. This unit widens the interview CONTEXT for truth (row audit + letter prose), makes G4 kind-aware, pins the mechanics on a recertification row, and flips rows 13 + 15.
2. Data model (canopy-applications)
-
application_interviews.ck_interviews_context(migrations/20261124000000_application_interviews.sql:26-28, comment "Recert context re-fenced on F1 (#1634); the CHECK widens there") →CHECK (context IN ('intake','recert')). The migration is TWO statements in ONE transaction (r3-data F2): (1)ALTER TABLE application_interviews DROP CONSTRAINT ck_interviews_context, ADD CONSTRAINT ck_interviews_context CHECK (context IN ('intake','recert')); (2) the BACKFILLUPDATE application_interviews i SET context = 'recert' FROM applications a WHERE a.id = i.application_id AND a.application_kind = 'recertification'— a chain scheduled on a recertification row between U-RC-A’s deploy and this one would have been written bycreate_interview's'intake'literal (store/interviews.rs:110,112) and would otherwise be invisible to the derived-context reads below (the call-ininterview/completewould 404,chain_existswould say false, andinterviews_open_row_uq (application_id, context)would admit a SECOND open chain underrecert). With U-RC-A’s interview fence (409recert_interview_not_activeon schedule/reschedule; r4-data F1) the backfill touches ZERO rows by construction — it stays as the belt (the fence is code, the invariant is data), and the service-only legacy completion creates no row (U-RC-A §4.7), so nothing else needs backfilling. After the migration no(application_kind = 'recertification', context = 'intake')pair exists — pinned (§9) with a DB agreement test of the derived-context invariant. The open-row uniqueinterviews_open_row_uq (application_id, context) WHERE status IN ('scheduled','missed')(:88-90),is_initial, the NOMI stamps and both scan indexes (20261125000000:41-43,20261127000000:12-16) already hold per(application_id, context)— no change. -
Context truth: a row’s
contextis DERIVED from its application’sapplication_kind(initial → intake,recertification → recert) and is therefore a per-application CONSTANT — one application row never hosts two chains (U-RC-A’s "one renewal per certification" + the per-row identity). That is why the context-agnostic reads (cancel_open_interviewsstore/interviews.rs:279-293,cancel_open_interviews_superseded_by_reopen:313-334,list_interviews:338-350,get_interview:355-368,latest_completed_interview_id:237-252,NOMI_SCAN_SQL/NOMI_SCAN_OD_SQL:381-433, the NOMI stamps :507-558, :621-636) STAY agnostic: "any context of this application" ≡ "this application’s one chain". -
No new columns, no new table.
3. Contracts
-
InterviewContext { Intake, Recert }is a SERVICE-LAYER enum in the NEW crate-root moduleservices/canopy-applications/src/interview_context.rs, besideinterview_policy.rs— NOT underapi/: its consumers arestore/interviews.rs,store/administrative_denials.rsand thescheduler.rsleg callers, and a store → api import is the wrong direction (r3-data F12);[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)](U-RC-A §2’sApplicationKindlist minus serde /ToSchema— it never crosses the wire;CopybecauseGuardContextderivesCopy,interview_policy.rs:42; r7-data F4);as_str()=intake | recert;impl From<canopy_common::recert::ApplicationKind> for InterviewContextis the TOTAL map (Initial → Intake,Recertification → Recert) — total because the input is U-RC-A §2’s enum, never aStringwith a silent default arm (r5-data F2). The ADR-030 B1 split of §10 (api/interviews_context.rs) keeps only the ADVISORY assembly (thewarningsderivation) — B1 countsapi/*.rsonly, so the crate-root enum does not enter the budget. As built,validate_schedulereturnsResult<GuardVerdict, ApiError>whose advisory arm isGuardVerdict::AcceptedWithAdvisory(GuardAdvisory::NomiHeadroomShort), andapi/interviews_context.rs::warnings_formaps that verdict ontowarnings— the handler never inspects dates. The wire fieldInterviewProjection.context: String(crates/canopy-contracts-applications/src/interviews.rs:118-119) STAYS aString— only its doc-comment ("intake only until F1 widens it") changes — so there is no pre-1.0Changedentry and no wire change forcontext; the projection is filled fromas_str(). The schedule 201 body ISInterviewProjection(schedule_interviewreturnsJson<InterviewProjection>,api/interviews.rs:214; the same projection is the GET shape), so the G4 advisory’s wire home is a NEW additive field on it:[serde(default, skip_serializing_if = "Vec::is_empty")] pub warnings: Vec<String>(interviews.rs:113-174) — empty on every read and on an intake schedule,["nomi_headroom_short"]on the recert advisory; WIRE-additive, noChangedentry (r3-data F11) — but a required Rust field at the SOURCE (#[serde(default)]relieves the wire, not a struct literal), so the same diff sweeps everyInterviewProjection {literal outside the producer (store/interviews.rs:53impl From<InterviewRow>), verified against main 9eda862b —crates/canopy-contracts-applications/tests/roundtrip.rs:1936,services/canopy-notices/src/worker.rs:1058,services/canopy-web/src/api/interview_panel.rs:135and:177— settingwarnings: vec![]; without the sweepcargo clippy --all-targets — -D warningsbreaks in canopy-notices, canopy-web and the contracts crate, so "workspacecargo clippy --all-targets — -D warningsclean" is this unit’s acceptance criterion (§10; r8-data F2).ScheduleInterviewRequest(:33-68) gains NO field — the context is never caller-supplied (deny_unknown_fields, :32). -
The seven production
'intake'literals become the derived context parameter:create_interviewINSERT +is_initialsubquery (store/interviews.rs:105-114, literals :110/:112),chain_exists(:142),lock_open_interview(:157),complete_open_interview(:222),waive_open_interview(:266),missed_interview_evidence(store/administrative_denials.rs:272-294, :288). The HTTP callers passInterviewContext::from(application_kind)of the loaded application (snap_sop_for_guardsalready loads it,api/interviews_context.rs:26(moved there fromapi/interviews.rs:121on the base — §10); complete/waiveapi/mod.rs:1911/:1871; and the worker denial path —record_administrative_denial(api/administrative_denials.rs:152;awploaded at:176) passesInterviewContext::from(awp.application.application_kind)intoresolve_denial_evidence(:349, a NEWcontextparameter at the:200call — the helper’s signature carries noawp), whoseMissedInterviewarm forwards it tomissed_interview_evidenceat:360, the seventh literal’s SECOND caller beside the leg’sscheduler.rs:2136, else the worker’smissed_interviewdenial of a recert row would readcontext = 'intake'and find no evidence (422) under test-min/test-max;chain_exists' callers areapi/interviews.rs:219andscheduler.rs:2150only — r6-data F5). The LEG callers take the kind from their SCAN ROW, never a second read: the NOMI leg’sNOMI_SCAN_SQL/NOMI_SCAN_OD_SQL(store/interviews.rs:381-433) andNomiScanRow(:437) gainapplication_kind: String,renewal_timely: Option<bool>,renewal_certification_end_date: Option<NaiveDate>in the SELECT list (this unit; predicate/keyset/index unchanged — the two NOMI-scan EXPLAIN pins are re-attached) for theinterview_missedpayload and the derived context; the day-30resolve_interview_state(scheduler.rs:2215) takesapplication_kindfromDay30ScanRow(the column U-RC-A added for its dormant fence,store/day30.rs:19-52; U-RC-C-a addedrenewal_certification_end_date) and passes the derived context tomissed_interview_evidence+chain_exists. -
Guards G1–G5 unchanged in shape (
GuardContext { now, legal_tz, standard_sop, headroom_days, chain_initial }interview_policy.rs:41-58) —standard_sopis the row’sstandard_processing_deadline= the renewal deadline.GuardContextgainscontext,certification_end_date: Option<NaiveDate>andverification_headroom_days(NOTrenewal_timely— the guard has no timeliness arm; r4-policy F2;Copypreserved — the end isSomeon every recert row: the handler’srecert_end_for_guardsturns aNoneon a recert row into the redacted 500 BEFORE the literal, and the pure guard’s(Recert, None)arm is likewise an internal error, never a silent intake bound); the only context-sensitive arm is G4 (:177-188), which is CONDITIONAL for a recert chain (SME item 1) with TWO bounds on EVERY recertification row’s chain-initial scheduled appointment, timely or untimely:latest = min(standard_sop − interview_nomi_headroom_days, renewal_certification_end_date − recert_interview_verification_headroom_days)— the NOMI headroom (PAMMS 3105:705-707, an administrative election) and the federal (b)(3)(iii) floor (≥ 10 days after the interview to verify before the period expires; the regulation carries NO timely/untimely qualifier and the manual is silent → statute fills; r2-policy F2 / r2-impl F-IMPL-2; r4-policy F2, overriding round 3’s timely-only reading); iftoday ≤ latest(the headroom is ACHIEVABLE) G4 REFUSES a chain-initial appointment> latestexactly as intake (codeheadroom_violated; detail cites 7 CFR 273.14(b)(3)(iii) + 273.2(e)(3) + PAMMS 3105:705-707 and nameslatest); iftoday > latestG4 does not refuse and the 201 body carrieswarnings: ["nomi_headroom_short"](InterviewProjection.warnings, above). The anchor argument, stated once: for a TIMELY filerSOP ≤ end(U-RC-A §2 — except the last-day-weekend corner, SOP =legal_filed_date> end, wheretoday ≥ legal_filed_date > latestalready and G4 is advisory), so with equal figures (10 and 10 today) the NOMI bound dominates and the federal floor is met by construction — but the figure is cited and parametrised to its own authority (ADR-011): a jurisdiction that tunesinterview_nomi_headroom_daysto 7 still cannot breach (b)(3)(iii) for a renewal; for an UNTIMELY filer the second bound applies exactly the same way and is usually the tighter one — the untimely consequence, stated honestly in describe B’s world (filed 08-20, end 08-31, SOP 09-19):latest = min(09-19 − 10 = 09-09, 08-31 − 10 = 08-21) = 08-21, so a scheduled chain-initial appointment booked on 08-20 or 08-21 must be ≤ 08-21 (a worker booking the 29th on 08-20 is REFUSED — 2 days of verification time before expiry is a (b)(3)(iii) breach theSOP − hbound alone would have accepted); from 08-22 (today > latest) G4 is advisory and any appointment ≤ SOP is lawful withnomi_headroom_short(the bound degrades the moment it is unachievable, so late untimely filers are never blocked — the design’s conditional shape needs no exemption). Describe B itself uses the On-Demand path (by-date 09-09) and is unaffected (below). An explicit chain-initial On-Demandinterview_by_dateon a recert row is judged by the NOMI bound alone plus G5’s SOP cap (:191-204) — the second bound binds scheduled appointments only (the On-Demand bullet below states why). G2 (:160-171) still refuseslegal_date > standard_sop; because the appointment day ≥ today, a renewal whose deadline has passed (today > SOP) is refused by G2 withbeyond_sop_date. G2’s refusal detail cites by context with ONE recert detail and no timeliness split (7 CFR 273.2(g)(1)intake /7 CFR 273.14(e)(2)+ PAMMS SNAP 3710 Chart 3710.1 rows 1–6 recert — the DENIAL deadline for the timely (row 2) and the untimely ("at the end of 30 days", rows 4–6) filer alike;(d)(2)is the approval/notification bound and is not cited for a refusal; r5-policy F3). Why conditional, not blanket-advisory: the day-30 arm denies iff the NOMI was dispatched, and the miss + NOMI are staged the day AFTER the appointment — a first appointment booked on the last day of the period with 15 days of headroom available would push the denial past the period end, breaking 273.14(e)(2), Chart 3710.1 row 2 and row 13’s own clause; only when the headroom is genuinely unachievable (a late timely filing) does the advisory apply. Timely-filer edge stated: a renewal filed on the last workday of its period has SOP = today → only a same-day appointment or an On-Demand call-in by today is schedulable — the regulation’s consequence, not a defect. -
On-Demand DEFAULT
interview_by_date(interview_policy.rs:125, the puredefault_interview_by_date— moved fromapi/interviews.rs:84-88default_on_demand_deadlineon the base): intake keepsstandard_sop(PAMMS 3105:216); a recert row defaults tostandard_sop − interview_nomi_headroom_dayswhen that is ≥ today, elsemax(today, standard_sop − 2)— the fallback never sets the by-date ON the deadline itself unless today IS the deadline, and never on SOP − 1 unless today is SOP − 1 (the round-1 §4 ruling as narrowed by r7-policy F1 and re-narrowed by r9-policy F2 — the ONE rule every site on this page states: §6, §9’s proptest and fence-lift pin, §12, Notices 5, the flow’s describe BSOP − 10 = 2026-09-09, the catalogue row, SME item 1 — §7 names only the BOUND on the by-date,SOP − h, never the default). The reachable sequence, stated honestly (r7-policy F1): a by-date ON the SOP (today = SOP, or a worker-supplied by-date in the advisory regime, or a scheduled appointment on the SOP day) is missed on SOP + 1 — S4 skips a row whose legal date ≥ today (nomi_policy.rs:19; the On-Demand scanNOMI_SCAN_OD_SQL,store/interviews.rs:410-433) — so the NOMI is staged AFTER the deadline withrenewal_deadline_passed = true(the NOMI bullet below; the letter names the SOP as a past fact and prints no reschedule-by / denial date); the day-30 leg seesOtherOpenChainon the SOP tick (resolve_interview_state,scheduler.rs:2215→ arm 7SkipException,day30_policy.rs:181— skip) and on SOP + 1 classifiesMissed { nomi_dispatched: false }→ arm 5PendNomiNotDispatched(:176-179), whoseenforce_pendrecords the pend episode and extendscurrent_workflow_deadlinebysnap_standard_daysfrom that tick (scheduler.rs:1853-1855;store/day30.rs:302-311) exactly as intake (finding 19) — the row is re-scanned at that extended deadline, by which the NOMI has dispatched, and arm 4DenyMissedInterviewthen denies — so a late timely filer’s denial can land after the period end — at the extended tick, SOP + 1 +snap_standard_days, not the day after the NOMI dispatches (DAY30_SCAN_SQLselects onlycurrent_workflow_deadline ⇐ today,store/day30.rs:57); the authority for that post-end denial is 273.14(e)(1) — "the State agency must continue to process the case" — through the reused agency-fault pend arm, exactly as intake finding 19 (the (h)(3) extension movescurrent_workflow_deadline, the row is processed to its disposition at the extended tick); it is NOT (e)(2)'s "at the end of 30 days", whose 30 days run from the APPLICATION and are long past for a timely filer on this path (an 08-10 filing pended on 09-01 is denied ~10-01; r8-policy F7); every letter on that path tells the truth (the NOMI’s no-date sentence; theagency-pendingrecert facts). The fallback’sSOP − 2exists so the ORDINARY recert On-Demand row never enters that path (r9-policy F2 — option (a)): a by-date ≤ SOP − 2 is missed on or before SOP − 1 (S4 stages the miss the day after the by-date), the NOMI staged on that tick has a FULL legal day to dispatch —nomi_dispatched_atis stamped only when canopy-notices'notice.dispatchedarrives over MQ (events.rs:1067), another service, and the two legs are independent daily-fenced probe tasks (main.rs:425spawn_interview_nomi_task,:429spawn_day30_task;crates/canopy-db/src/window_fence.rs:97run_daily_fenced) whose within-tick order production does NOT fix — and the SOP tick’s day-30 leg readsnomi_evidence_dispatched(scheduler.rs:2215→store/interviews.rs:609-614) astrueand denies ON the SOP withrenewal_deadline_passed = false. Under the round-7SOP − 1fallback the miss was staged on the SOP tick itself and the SOP-tick denial depended on the dispatch landing between the NOMI leg and the day-30 leg of ONE tick — a race the §9 pin had to hand-order; theSOP − 2fallback relies only on dispatch between two DAILY ticks, the ordering production actually guarantees (a notices outage longer than a legal day degrades to the arm-5 sequence, truthfully lettered). The residual cases are the ones today itself creates: a schedule on SOP − 1 yields by-date SOP − 1 (missed on the SOP tick,renewal_deadline_passed = false— the same-tick race, so its denial follows the arm-5 sequence unless dispatch happens to precede the day-30 leg), and a schedule ON the SOP yields by-date SOP (the after-the-deadline sequence above,renewal_deadline_passed = true); both are stated honestly and pinned (§9), neither is the ordinary row. The (b)(3)(iii) second bound is NOT applied to the On-Demand by-date, default or explicit: it binds the appointment the agency SCHEDULES (G4’s chain-initial appointment — "shall schedule interviews so that…"), whereas the On-Demand by-date is the household’s call-in deadline (PAMMS 3710 Interviewing Requirements), not an interview date the agency sets — the household chooses its own call-in day inside the window, so there is no agency-scheduled date for (b)(3)(iii) to bound (for a timely filer with equal figuresSOP − h ≤ end − vholds anyway,SOP ≤ end; r4-policy F2 keeps this rule NOMI-bound only). U-RC-A’s interview fence guarantees no recert On-Demand row was ever written with the intake defaultinterview_by_date = SOPbefore this unit — so no backfill of stored by-dates is needed (r4-data F1). An explicit chain-initial On-Demandinterview_by_dateon a recert row is therefore judged by the NOMI bound alone (refusedheadroom_violatedwhiletoday ≤ SOP − handby_date > SOP − h; advisorynomi_headroom_shortoncetoday > SOP − h) and G5’s SOP cap — never byend − v— so the server default and a worker-supplied equal date are always judged alike. PAMMS 3710:124 reconciled (r3-policy F1; SME item 1): the manual’s Interviewing Requirements say "The customers must call the agency to complete the interview by the application SOP date." (3710.adoc:124; row 15’s title "call-in by the SOP date",rulesets/georgia/scenarios/snap.toml:168), while Chart 3710.1 row 2 (:268-270) denies a timely renewal by the period end only AFTER a NOMI — the two cannot both hold with a by-date = SOP (a miss staged SOP + 1 has no NOMI before the end). Ruling: the chart controls; the letter prints BOTH dates — "call in by <interview_by_date>" (= SOP − h) and "your renewal must be completed by <standard_processing_deadline>" (the SOP). A call-in AFTERinterview_by_datebut ≤ the SOP still completes the chain:complete_open_interview(store/interviews.rs:214-231) closes the open row whetherscheduledORmissed(status IN ('scheduled', 'missed'), :223 — VERIFIED; "a household that shows up late still completed", #788 finding 38), stampsapplications.interview_completed_at, and the day-30 leg then readsinterview_satisfied = true(Day30ScanRow,store/day30.rs:25,37-38) — no denial; after the SOP no appointment can be booked (G2beyond_sop_date,interview_policy.rs:164-171) and the denial, once written, is the 273.14(e)(2) path — a service-tokeninterview/completeitself carries no SOP guard (api/mod.rs:1911), which is what the recert NOMI’s no-date sentence relies on (r8-policy F3, refuted). Pinned (§9). The inherited INTAKE posture (On-Demand by-date = SOP ⇒ a miss is staged SOP + 1 and the intake NOMI prints yesterday’sreschedule_by_date/denial_on_date) is pre-existing 273.2(g) practice, out of F1’s scope, and is FILED as the frame’s R4 issue 6 (fix(applications): the intake On-Demand NOMI prints a reschedule-by date that has already passed when the by-date is the SOP; r7-policy F1) — never "no issue". -
NOMI:
reschedule_by_date = sop,denial_on_date = denial_on_date(sop, calendar)(scheduler.rs:1251-1252;nomi_policy.rs:147-156) UNCHANGED in code — on a TIMELY recert row the SOP is a workday by construction (U-RC-A §2), sodenial_on_date(SOP) == SOP= the last workday on or before the period end (orlegal_filed_date, the next business day after the end, in U-RC-A §2’s last-day-weekend corner); on an UNTIMELY row the forward move (3105:334-336; Chart 3710.1 rows 5–6) applies as today. The payload gains the PRODUCER-derivedrenewal_deadline_passed: bool=standard_processing_deadline < the legal staging day(the NOMI leg’s tick day —run_interview_nomi'stoday = legal_today(deps.legal_tz),scheduler.rs:1020; both scan rows already carrysp.standard_processing_deadline,store/interviews.rs:388/:417— typedOption<NaiveDate>onNomiScanRow,:452, so theNonearm is decided:None→ the row is left unstaged — the per-rowErr→ WARN naming the #1637 invariant, countedwarned, retried next tick (thesnap_sop_for_guardsposture,api/interviews_context.rs; aRowOutcome::Skippedwould hide a drifted row fromwarned) — neverfalse— anunwrap_or(false)would print the dated pair for a drifted row; r10-data F5), forwarded by BOTH manifests'nomiroutes (§5/§6): true only on the after-the-deadline sequence above, so the recert letter never prints areschedule_by_date/denial_on_datethat has already passed (r7-policy F1). Truth tablenomi_policy.rs:12-27unchanged; S2’s terminal wall reads the recert row’s own SNAP status. The NOMI payload carries the scan row’sapplication_kind/renewal_timely/renewal_certification_end_dateplus the producer-derivedrenewal_filing_deadline(=renewal_deadline(end, recert_filing.recert_timely_filing_day)— the day arrives through a NEW fieldrecert_filing: Arc<RecertFilingParams>onNomiLegDeps, U-RC-A §3’s carrier, set at the same three literals asrecertbelow; r6-data F2),denial_reinstatable(=missed_interview ∈ recert_reinstatable_denial_reasons ∧ reinstatement_deadline ≥ denial_on_date— the reasons test FOLDED with the window-closed test the denial letter already carries asreinstatement_window_open, because an untimely filer’s forward-moveddenial_on_datecan outrun the window: filed 12-31 on a 12-31 end, day 30 = 2027-01-30 Sat →denial_on_dateMon 2027-02-01 >reinstatement_deadline2027-01-30 (U-RC-C §9’s row), so even under a both-reasons ruleset that household’s NOMI readsfalseand never promises "by 01-30" for a denial that can only occur after 01-30 — r6-policy F2. ACCEPTED residue (r11-policy F2): on the after-the-deadline (arm-5) path the NOMI’sdenial_reinstatableis judged against the SOP-tick denial day (denial_on_date), not the extended tick on which that path’s denial is actually written — completion before the extended tick satisfies the row, and the eventual denial letter states the window truthfully from its own date (reinstatement_window_openofflegal_denied_date); under test-max a timely row with SOP = end 08-31 gets a 09-01 NOMI readingtrue(09-30 ≥ 08-31) while its ~10-01 denial readsreinstatement_window_open = false— georgia/default unaffected (missed_interview ∉ list); pinned §9. The NOMI leg reads theRecertReinstatementParamsU-RC-C-a loads through a NEW fieldrecert: Arc<RecertReinstatementParams>onNomiLegDeps(scheduler.rs:996, the NOMI leg’s own deps struct —run_interview_nomi(deps: &NomiLegDeps):1018 — distinct from theDay30EnforceDepsU-RC-C-a extends), populated at itsmain.rsconstruction site, the base literalmain.rs:150(the:275Arc::new(NomiLegDeps { persons, ..nomi_deps })re-wrap carries it through by struct update), and at the in-crate test literalscheduler.rs:222(mod infra_tests, :138) and the in-process harness literaltests/common/mod.rs:630— the fourth site; §10) andreinstatement_deadline(=renewal_certification_end_date + recert_reinstatement_window_days) andreinstatement_period_start(=renewal_certification_end_date + 1, ISO — the day a pre-end cure’s benefits begin; r6-policy F2) (§5; r5-policy F1) — the letter’s post-denial consequence is decided HERE, never re-derived by the template from thereasontoken. -
Day-30 leg: classifier (
classify+classify_verification,day30_policy.rs:169-202; theInterviewStateinput:20-42) unchanged; the scan’s SELECT list carriesapplication_kind(U-RC-A) +renewal_certification_end_date(U-RC-C MR1) — predicate/keyset/index unchanged; the DENY half of U-RC-A’skind_deferredfence is GONE by the time this unit lands (U-RC-C MR1 lifted it with the kind-aware snapshot — the cutover order), so the deny pins below run the real arms, and THIS unit deletes the remaining PEND half of the arm inenforce_arm(scheduler.rs:1650) together with the interview 409 (§4.1) — dormant → activate, the letters below being the replacing prose (r4-data F1); arm 4DenyMissedInterviewiff NOMI dispatched; the leg denies ON the SOP tick (scheduler.rs:1549-1550,:1606-1610; the scan iscurrent_workflow_deadline ⇐ today,store/day30.rs:57);enforce_denywrites the recertification denial with the kind-awarereopen_deadline_datethat U-RC-C MR1 installed at both writers (scheduler.rs:1695-1700andapi/administrative_denials.rs:200-206:recertification → renewal_certification_end_date + recert_reinstatement_window_days;initial → legal_filed_date + denial_reopen_window_days). U-RC-B PINS that arm forreason = missed_interviewon a recert row; it writes nothing there. -
Pend arms on a recertification row (r2-data F1 / r2-policy F1 — DECIDED (a)-lite): the four agency-fault arms
PendChecklistNotDispatched(3a),PendVerificationWindowOverranSop(3b),PendNomiNotDispatched(5),PendNoInterviewScheduled(6) (day30_policy.rs:88-139) ARE reachable on a recertification row and DO fire from this unit on — agency fault is agency fault; 273.14(e)(1) "continue to process the case"; until this unit lands they returnkind_deferred(U-RC-A §4.5’s pend half, lifted HERE because this unit owns theagency-pendingrecert branch and the two payload keys — r4-data F1). Mechanics UNCHANGED and pinned here:"pend" ⇒ enforce_pend(scheduler.rs:1613,:1828-1868) records the (h)(3) pend episode and extendscurrent_workflow_deadlinebysnap_standard_daysfrom the tick day (:1381"the (h)(3) pend extension length";store/day30.rs:302-311SET current_workflow_deadline = $2) on a recert row exactly as on an initial row; the immutablestandard_processing_deadlinenever moves. The LETTER is kind-branched (§6):agency-pending.typgains a TEMPLATE-ONLY branch onapplication_kindwhose recertification prose states FACTS only — "your renewal is still being processed (7 CFR 273.14(e)(1)); your certification period ends <renewal_certification_end_date>; we will notify you by <extended_deadline>" — and makes NO benefit promise (the intake branch’s "benefits will be paid back to the date you applied",agency-pending.typ:106-109, is 273.2(h)(3)'s and is NOT printed for a renewal).application.pending_agency_delay(events.rs:975) gains additiveapplication_kind+renewal_certification_end_date(§5). The APPROVAL ANCHOR of a later non-reinstatement approval of that pended renewal — eligibility’sAgencyFaultPendingarm (filing_date,derivation.rs:377-385) like theInteractivearm (DeterminationDay,:364) — is pre-existing recert-as-application behaviour and belongs to #1133, whose 273.14(e)(1)/(b)(4)/273.10(f) rule is "an in-period recertification approval anchors atrenewal_certification_end_date + 1(a full first month of the new period)" (SME item 18; the frame’s R3 step updates #1133’s description). F1’s own flows never approve a pended or in-period recertification (they deny), so no F1 pin depends on the anchor. Pins (§9): arm 6 (never scheduled) and arm 3b (checklist window overran the SOP) on a recert row inscheduler_run_http_test.rs— the episode recorded,current_workflow_deadline = tick + snap_standard_days, the letter event carrying the kind facts, the deny arms untouched.
4. Endpoints + drains
-
POST /v1/applications/{id}/interview/schedule,…/interview/reschedule(api/interviews.rs:181-337) — worker write,require_service_or_exchanged(CASEWORKER_OR_ABOVE_ROLES), unchanged; this unit DELETES U-RC-A’s 409recert_interview_not_activearm aftersnap_sop_for_guards(:237/:308on the base; U-RC-A §4.7) — the kind-aware default by-date, guards and letters below replace it (r4-data F1); both handlers gain theRecertFilingParamsAND theRecertReinstatementParamsextractors HERE —Extension<Arc<RecertFilingParams>>(U-RC-A §3’s carrier — therenewal_filing_deadlinethe scheduled event carries, §5; r6-data F2) andExtension<Arc<RecertReinstatementParams>>(G4’s second bound, the headroom): U-RC-C-a registers theArc<RecertReinstatementParams>on the router layer inapp.rsbut adds its extractor only to its own four consumers, so a C-a implementer never adds an unread extractor toschedule_interview/reschedule_interview(an extractor destructured to a name and never read isunused_variablesundercargo clippy --all-targets — -D warnings) — this unit, which lands G4’s second bound, adds it (U-RC-C §3; r10-impl F2); the response carriescontextand, forrecert, the advisorywarnings. Auth class: Worker write. -
POST …/interview/complete,…/interview/waive(api/mod.rs:1911/:1871;require_service_callerat :1918 / :1877) — service-only as today; context derived; canopy-web has NO complete action (actions_interview.rs:3-5: schedule + reschedule only) and F1 adds none — the flows drive the On-Demand call-in by service token (the frame’s R4 issue names the worker surface). Auth class: Service-to-service (unchanged; the family precedent). -
GET …/interviews,GET …/interviews/{interview_id}(api/interviews.rs:339-395) — unchanged; rows now showcontext = recert.GET …/sms-contact(:397-429) unchanged — the recertification row carries its ownnotify_phone_e164 / sms_opt_in. Auth class: Worker read —require_service_or_exchanged(CASEWORKER_OR_ABOVE_ROLES)for the two interview GETs (:358, :387); Service-to-service (require_service_caller, :419) forsms-contact; all unchanged. -
Reused legs, no new drain (frame §Endpoints):
canopy-applications.interview-nomi(scheduler.rs:976-1284) andday-30-disposition(:1323-1734) scan recert rows through the same indexes and fences; the only scan-text change is the SELECT-list widening of §3 (NOMI rows here;Day30ScanRow.application_kindin U-RC-A,.renewal_certification_end_datein U-RC-C MR1) — predicates, keysets and indexes untouched, EXPLAIN pins re-attached. Pins (checklist items 1, 2, 7, 8 for the reused legs): a recert row appears in both NOMI scans (scheduled_at and interview_by_date) — EXPLAIN attached showingidx_interviews_nomi_scan/idx_interviews_nomi_scan_od; double-run no-op on a recert row; the NOMI for a recert row carriesreschedule_by_date = denial_on_date = SOPfor a timely row (the SOP is a workday) andreschedule_by_date = SOP,denial_on_date = denial_on_date(SOP)moved forward for an untimely row (describe B: 09-19 / 09-21), withrenewal_deadline_passed = falseon both andtrueonly when the miss is staged after the SOP (§3; r7-policy F1);nomi_dispatched_atstamped fromnotice.dispatchedexactly as intake (events.rs:1067); the day-30 leg denies the recert row ON the renewal-deadline tick (a timely row whose SOP is 2026-08-31 is denied by the 2026-08-31 tick, not 09-01) withreason = missed_interview, theadministrative_denialsrow snapshottingreopen_deadline_date = renewal_certification_end_date + recert_reinstatement_window_days(row 13); a weekend period end (2026-10-31) → denied on the 10-30 tick; legal-tz rollover on the deadline day; the day-30 PEND path on a recert row (arm 6 never-scheduled; arm 3b window overran the SOP) extendscurrent_workflow_deadlinebysnap_standard_daysand stagesapplication.pending_agency_delaywithapplication_kind = recertification(§3 Pend arms). -
POST /v1/applications/scheduler/run(api/scheduler.rs:35-47,121-137) unchanged — the flow spec drives both legs through it. Auth class: Worker write (require_service_or_exchanged(SCHEDULER_RUN_ROLES), :131; the #1109 trigger precedent), unchanged.
5. Events + cutover order
| event | change | cutover |
|---|---|---|
|
ADDITIVE |
additive; consumers tolerate absence; manifests forward the keys (same MR) |
|
ADDITIVE |
additive; both manifests' |
|
ADDITIVE |
additive |
|
ADDITIVE |
additive; both manifests' |
|
none here — the five recert keys ( |
consumed |
Routing keys, with_programs(["snap"]), envelope ids (the miss’s nomi_source_event_id) unchanged; no new event type; rule (i) two-step not triggered.
6. Notices
-
Template-only fan-out on
application_kindin BOTH rulesets (rulesets/{default,georgia}/notices/snap/):interview-appointment.typ(its recert sentences, explicitly — r10-policy F6: the deadline sentence "complete your interview by <standard_processing_deadline>" (the renewal deadline, carried on the schedule event — §5; frame Notices 5 reserves this sentence for the appointment letter) and the consequence sentence naming the renewal deadline — "if you miss your interview and do not contact us by <standard_processing_deadline>, your renewal will be denied" in place of the intake "your application may be denied on the 30th day after your filing date" (interview-appointment.typ:103-106, one consequence sentence today, its dated clause + cite at:105-106; the inline cite(7 CFR 273.2(h)(1)(i))becomes(7 CFR 273.14(e)(2)), the authority common to the timely and untimely deadline under "Cites in the letters" below, so neither the date clause nor the cite varies withrenewal_timely; the recert sentence names the household’s DEADLINE (the SOP, as the On-Demand letter does) and no denial DAY — the system denial is on the SOP for a timely filer and on the next business day for an untimely filer whose SOP is a non-workday (describe B: Sat 09-19 → Mon 09-21), and a worker may deny earlier, so the intake "may be denied on <date>" form would have named an unrolled Saturday for an untimely filer; no new producer key — r11-policy F1, DECIDED option (2) reworded) — with "your certification period ends <renewal_certification_end_date>";renewal_timelydoes NOT change the appointment letter’s sentences — the timely and untimely cells differ only in date values, so its render matrix keeps ONE recert cell (§9)),interview-on-demand.typ(:91 keeps the call-in sentence on#inputs.interview_by_date— the date after which the miss is staged, SOP − headroom by default on a recert row when that is ≥ today, elsemax(today, SOP − 2)(§3; r9-policy F2) — and :92-94 "denied on the 30th day after your filing date" → the recert branch prints TWO FACTS, no conditional: "your renewal must be completed by <standard_processing_deadline>" (the renewal deadline, carried on the event — §5) and "your certification period ends <renewal_certification_end_date>" — for a timely filer the first date is the last workday on or before the second, for an untimely filer it is the 30th day after filing;renewal_timelyselects only the explanatory clause "because you filed by <renewal_filing_deadline>" / "because you filed after <renewal_filing_deadline>" (the date rides the event — never a hard-coded "15th", the same class as the "30th day" literals this unit removes; r2-policy F7); describe B prints 09-09 / 09-19 / 08-31 withrenewal_filing_deadline08-15),interview-on-demand-text.txtis NOT branched (r6-policy F1): the SMS is rendered bysms_bodyas pure{key}substitution — no conditionals, noinputs.at— and FAIL-CLOSED on a missing key (services/canopy-notices/src/worker.rs:263-317; the bail at:302-307), so referencing{application_kind}or{standard_processing_deadline}from the.txtwould make a legacy payload REFUSE to send, the opposite of the tolerant default; instead the one-line body ofrulesets/georgia/notices/snap/interview-on-demand-text.txtANDrulesets/default/notices/snap/interview-on-demand-text.txtbecomes KIND-NEUTRAL in the SAME one-line edit, both rulesets — today’s "If you miss the deadline your application may be denied." → "If you miss the deadline your SNAP benefits may be denied.", and, in that same edit, today’s "Call {interview_dial_in} any business day BEFORE {interview_by_date}" → "Call {interview_dial_in} any business day by {interview_by_date}", so the SMS and the letter’s "Call by: #inputs.interview_by_date — your interview must be completed by this date." (interview-on-demand.typ:80-81) agree — "by" is exact: the miss is staged only whenby_date < today(S4,nomi_policy.rs:19); r12-policy F3 — keeping only its existing placeholders ({interview_dial_in},{interview_by_date},{agency_phone}), the deadline it prints staying{interview_by_date}, never a new key; the letter carries the two kind-specific facts),nomi.typ(:122 "reschedule-by — the 30th day after your filing date" → the same two facts,reschedule_by_date= the renewal deadline; "your renewal may be denied" — the DATED pair ("You must be interviewed by <reschedule_by_date>" / "your renewal may be denied on <denial_on_date>") prints ONLY when the producer’srenewal_deadline_passedis false; when true the recert branch prints instead the NO-DATE sentence "Your renewal deadline <standard_processing_deadline> has passed. Contact us immediately to complete your interview; your renewal will otherwise be denied." — the SOP is a past FACT, printed as such, so the letter never names a reschedule-by or denial date that is already yesterday (r7-policy F1;standard_processing_deadlinerides the miss asreschedule_by_date, the same value); the no-date sentence deliberately omitsdenial_on_dateon an UNTIMELY row whose SOP fell on a non-workday (describe B’s world: SOP Sat 09-19; G5 admits an explicit by-date≤ standard_sopand G2 an appointment≤ standard_sop, so a by-date or appointment ON the Saturday is lawful; S4 stages the miss Sun 09-20 →09-19 < 09-20→renewal_deadline_passed = true, while the denial runs on the next business day’s tick, Mon 09-21 — the SOP has passed, and whether the household can still act before that tick depends on tick timing the letter must not promise: the household is directed to contact the office, an interview completed before the denial tick still satisfies the row (interview/completehas no SOP guard, r8-policy F3), but the letter promises nothing; no new producer fact; pinned §9 — r10-policy F3, DECIDED (b); the sibling residue of the arm-5 path —denial_reinstatablejudged against the SOP-tick denial day while that path’s denial lands at the extended tick — is likewise ACCEPTED, §3, r11-policy F2); AND the recert branch DROPS the intake post-denial promise — georgianomi.typ:129-132/ default:126-129"If you do not contact us and complete your interview, your application may be denied on #denial-on. If you are denied for missing the interview, you can still cure it — contact us as soon as possible." — printing instead, on the PRODUCER-deriveddenial_reinstatable(§5):true→ "If your renewal is denied for the missed interview you may still complete it by <reinstatement_deadline>; benefits would begin on the later of the day you complete it and <reinstatement_period_start>" (arm R’smax(cured_on, end + 1)— a denial written on a pre-end SOP and cured on or before the period end beginsend + 1, not the completion day; and thetruecell is unreachable when the window closed before the denial, the producer’s fold — r6-policy F2) /false→ "If your renewal is denied for the missed interview, a new application will be required." — IDENTICAL template logic in both rulesets; the georgia letter lands on thefalsebranch by PARAM (missed_interview ∉ ["verification_not_provided"]), never by ruleset-specific prose, so a jurisdiction that widensrecert_reinstatable_denial_reasonsgets the truthful letter with no template edit; r5-policy F1), andagency-pending.typ(both rulesets; today every cite is intake 273.2(h)(3) —:1-6,:109— and:106-109promises pay-back to the filing date): the recertification branch prints FACTS only — "your renewal is still being processed (7 CFR 273.14(e)(1)); your certification period ends <renewal_certification_end_date>; we will notify you by <extended_deadline>" — and no benefit promise (§3 Pend arms). Cites in the letters (the four kind-branched bodies are IDENTICAL in both rulesets — the CFR cites sit in the letters, PAMMS only in georgia’s header comments andregulatory_basis; the cross-ruleset pin asserts equality for every cell): 273.14(b)(3) + (b)(3)(iii) + 273.2(e)(3) for the interview and the NOMI, (e)(2) + PAMMS Chart 3710.1 row 2 for the timely deadline sentence (the denial deadline — (d)(2) is the approval/notification bound and is not printed as a denial authority; r5-policy F3) and (e)(2) "at the end of 30 days" for the untimely one, (e)(1) for the pend; every kind-branched template readsinputs.at("application_kind", default: "initial")(frame Notices 1; r5-policy F5) and reads every recert-only key INSIDE that branch or viainputs.at(key, default: …)— never at top level (the On-Demand letter additionally readsinterview_by_datethroughinputs.at("interview_by_date", default: "—")so itsrenders_snap_interview_on_demand_with_placeholder_inputstwin renders from the unwidened placeholder payload — template-side tolerance;default_program_datais not widened); the typed booleans (renewal_timely,denial_reinstatable,renewal_deadline_passed) compare== true; therenders_snap_*_with_placeholder_inputsgate gains theinterview-on-demand/agency-pendingtwins here (frame Notices 1; r10-policy F5). -
Manifests (
rulesets/georgia/notices/manifest.toml:926-1029+ the default twin): the fiveapplication.interview_scheduledroutes (:926-982) forward the five newprogram_data_keys(application_kind,renewal_timely,renewal_certification_end_date,renewal_filing_deadline,standard_processing_deadline), theapplication.interview_missed→nomiroute (georgia :1009; default :908) the first four PLUSdenial_reinstatable+reinstatement_deadline+reinstatement_period_start+renewal_deadline_passed(r5-policy F1, r6-policy F2, r7-policy F1), and theapplication.pending_agency_delay→agency-pendingroute (georgia:1029; default:928)application_kind+renewal_certification_end_date; NO new route, NO new discriminator (interview_mode/delivery_channel/recipient_kindonly —services/canopy-notices/src/event_routing.rs:57-64,103). -
ADR-004:
application_kindis a vocabulary token, dates are ISO; prose is the template’s. Render pins:interview-on-demandandnomi× {initial, recertification-timely, recertification-untimely} andinterview-appointment× {initial, recertification} (ONE recert cell —renewal_timelydoes not change its sentences, r10-policy F6; the SMS text is kind-neutral, r6-policy F1) — exactly one letter, correct sentence, no leaked token;nomi× recertification × {denial_reinstatabletrue, false} × both rulesets — the true cell prints the<reinstatement_deadline>/<reinstatement_period_start>sentence, the false cell "a new application will be required", NEITHER prints "you can still cure it" (r5-policy F1) — × {renewal_deadline_passedtrue, false}: the true cells print the no-date "Your renewal deadline <standard_processing_deadline> has passed…" sentence and NEITHER dated sentence, the false cells the dated pair (r7-policy F1) — with the WINDOW-CLOSED NOMI cell (r6-policy F2): under a both-reasons param the 12-31 filer’s miss (reinstatement_deadline2027-01-30 <denial_on_date2027-02-01) carriesdenial_reinstatable = falseand renders the new-application sentence in both rulesets;agency-pending× {initial, recertification} × both rulesets — the recert letter carries the (e)(1) facts and NOT the pay-back promise; and the ABSENT-KEY cell per template — a payload withoutapplication_kind(the four templates:interview-appointment,interview-on-demand,nomi,agency-pending— the SMS text carries no branch and no new key, so it has no absent-key cell; r6-policy F1) renders the initial branch with no leaked token (r5-policy F5). Enqueue ≠ dispatched unchanged: the recert NOMI’snotice.dispatchedis the denial evidence.
7. Params + citations
No new keys. Reads THREE of U-RC-C-a’s four keys (never recert_reinstatement_sop_workdays, which is U-RC-C-b’s alone; r6-impl F4) and U-RC-A’s filing-day carrier: snap.certification.recert_timely_filing_day through RecertFilingParams (the renewal_filing_deadline on the schedule and the miss; r6-data F2), snap.intake.interview_nomi_headroom_days (G4’s first bound, conditional for recert; the ONLY bound on the On-Demand by-date, default and explicit), snap.certification.recert_interview_verification_headroom_days = 10 (G4’s SECOND bound on EVERY recertification row’s scheduled chain-initial appointment, timely or untimely — not the On-Demand by-date, default or explicit, which is judged by SOP − h alone; r4-policy F2 — 7 CFR 273.14(b)(3)(iii), authority = "federal" in georgia + default, fixture in test-*; OWNED by U-RC-C-a beside the other three keys, params owned before consumed; r2-policy F2), shared.application_processing.snap_standard_days (the reused pend arms' extension, pinned), snap.certification.recert_reinstatable_denial_reasons + recert_reinstatement_window_days for the recert NOMI’s PRODUCER-derived denial_reinstatable (folded with reinstatement_deadline ≥ denial_on_date) / reinstatement_deadline (read from the RecertReinstatementParams U-RC-C-a loads — this unit owns neither key; r5-policy F1, r6-policy F2) and — through the day-30 arm U-RC-C MR1 installed — recert_reinstatement_window_days again as the denial snapshot (pinned here, written there). denial_reopen_window_days is not read for a recertification denial.
8. BFF-UI slice
-
The interview panel + schedule/reschedule actions already live on the application process page (
services/canopy-web/src/api/interview_panel.rs:106-124;actions_interview.rs:3-5— schedule + reschedule ONLY; there is no complete action and F1 adds none, see §4.2). A recertification application renders there with a "Recertification of <start>–<end>" chip and the SOP label reading "Renewal deadline <SOP date> — your certification period ends <end date>" (timely; the SOP is the last workday on or before the end) or "Decision due by day 29 (approval) — denial on day 30: <SOP date>" (untimely; Chart 3710.1 rows 4–5, 3105:334-336 approvals move back); the G4 advisory (warnings: ["nomi_headroom_short"], only when the headroom is unachievable) renders as an inline warning ("NOMI headroom short — the appointment is still lawful"), never a blocker; a G4 refusal (headroom_violated) renders the latest lawful date. Refusal copy keyed on the RFC 9457code(theactions_reopen_copy.rsprecedent), with the recert cite. As built: the advisory travels the PRG as the allowlisted?notice=interview-scheduled-headroom-shortslug (the 201 body’swarningsis read; a 2xx whose projection does not decode redirects to the plaininterview-{verb}dslug — the write landed, the advisory is logged); a refusal travels back through the PRG as?interview_error=<code>&interview_error_detail=…#interview-panel— the vocabulary is the origin’s RFC 9457codePLUS the status classesconflict/unprocessable(an uncoded or out-of-vocabulary 409 / 422, incl. an unparsable problem body) and the localform_invalidtoken (an unparsable date / time or a DST gap now travels the PRG as a 303 too, not a full-page 422) — and renders inline as#iv-errorper the A11y bullet; the full-pagerole="alert"relay remains only for the transport / timeout arms. The chip is the FULL "Recertification of <start>–<end>" form via the case page’srenew_election::resolveread, degrading to the end-only form only when that read fails (recert_chip: Option<String>,Noneon an initial row); a recertification row withrenewal_timely = Nonerenders the UNTIMELY label (the day-30 rule is the general one; the timely label is the exception). -
Notice previews for the kind-branched letters (the four kind-branched templates:
interview-appointment,interview-on-demand,nomiandagency-pending) accessible from the panel (both kinds). As built the panel’s "preview" affordance is the pointer to the household’s Notices tab (/cases/{household_id}?program=snap&focus_section=notices, the continuations-panel convention); the pended banner branches on the kind — the recertPendView(recertification+certification_end) prints the 273.14(e)(1) facts and no pay-back sentence,cause_labelis kind-neutral, and its unit cell lives indisposition_banner.rsmod tests(the siblingdisposition_banner_tests.rssits at the B1 line budget). -
A11y: chip text is not colour-only; the advisory is announced via the live region; every refusal is programmatically associated with the date input (
aria-describedby); focus returns to the trigger on dialog close and moves to the result on submit. As built:#iv-error(role="alert",tabindex="-1") sits inside the schedule form above the inputs, both date inputs'aria-describedbybecomeiv-when-hint iv-error/iv-by-hint iv-errorwhile an error is present, the panel focuses#iv-erroron load, and the dialog’s close returns focus to its trigger.
9. Tests
-
Proptest (mandatory): G1–G5 totality per context — arbitrary
(today, appointment, standard_sop, headroom, chain_initial, context)lands in exactly one of {accept, accept+advisory (recert only), G1, G2, G4, G5}; invariants withlatest = min(SOP − h, end − v)for EVERY recertification row (r4-policy F2):Recert ∧ chain_initial ∧ today ≤ latest ∧ appt > latest ⇒ G4 refuses;Recert ∧ today > latest ⇒ G4 never refuses(advisory iffappt > latest);Recert ∧ on_demand ⇒ end − v never enters(the by-date is judged bySOP − hand G5 alone);Recert ∧ h == v ∧ SOP ≤ end ⇒ latest == SOP − h(the anchor argument — the timely case; for an untimely rowSOP > endsoend − vis the tighter bound);Recert ∧ G4 accepts a chain-initial scheduled appointment while today ≤ latest ⇒ appt + v ≤ end;Intake ⇒ G4 as today;appointment > standard_sop ⇒ G2 refusesregardless of context; the recert On-Demand default by-date= SOP − hwhen≥ todayelsemax(today, SOP − 2), never> SOP,≥ SOP − 1only whentoday ≥ SOP − 1, and== SOPonly whentoday == SOP(r7-policy F1; r9-policy F2); an explicit recert On-Demand by-date is judged bySOP − hand G5 alone (Recert ∧ on_demand ∧ today ≤ SOP − h ∧ by_date > SOP − h ⇒ refuse;end − vnever enters);denial_on_date(sop) ≥ sopand is a business day, withdenial_on_date(sop) == sopwheneversopis a workday (the timely recert case). -
Context derivation:
InterviewContext::from(application_kind)total; the seven parameterised statements pinned by a recert-row round trip (schedule → miss → NOMI → evidence read → day-30 deny) asserting every row carriescontext = 'recert'; the BACKFILL (§2):EphemeralSchemahas no pre-migration hook, so the seam is proven by seeding a(recertification, 'intake')row post-migration and re-running the migration’s backfill statement (BACKFILL_RECERT_CONTEXT_SQL) — the row carries'recert'after it,SELECT count(*) FROM application_interviews i JOIN applications a ON a.id = i.application_id WHERE a.application_kind = 'recertification' AND i.context = 'intake'= 0, and a DB agreement test asserts the derived-context invariant (context = CASE application_kind WHEN 'recertification' THEN 'recert' ELSE 'intake' ENDholds for every row) after a mixed initial/recert population is scheduled (r3-data F2). -
On-Demand call-in after the by-date (§3, the 3710:124 ruling;
interviews_http_test.rs+scheduler_run_http_test.rs): a recert On-Demand row whoseinterview_by_date(SOP − h) has passed — the miss staged, the NOMI dispatched — receivesinterview/completeon a day ≤ the SOP:complete_open_interviewcloses themissedrow,interview_completed_atis stamped, and the day-30 leg at the SOP tick findsinterview_satisfied→ NO denial; the same call-in on SOP + 1 → the row was denied on the tick (r3-policy F1). -
Race + idempotency pins: NOMI leg double-run no-op on a recert row; concurrent schedule attempts on one recert row → one 201 + one 409 (open-row unique); day-30 leg replay after a deny is a no-op (deterministic denial key
scheduler.rs:1647-1653). -
Render pins:
interview-on-demandandnomi× three kinds (initial, recertification-timely, recertification-untimely) × both rulesets, andinterview-appointment× two kinds (initial, recertification — ONE recert cell: the appointment letter’s sentences "complete your interview by <standard_processing_deadline>" / "if you miss your interview and do not contact us by <standard_processing_deadline>, your renewal will be denied" (r11-policy F1) / "your certification period ends <renewal_certification_end_date>" do not vary withrenewal_timely, only their date values do — r10-policy F6) × both rulesets; the untimely non-workday-SOP residue cell (r10-policy F3 — option (b)): untimely filer, SOP Saturday 2026-09-19, by-date or appointment on the Saturday SOP, NOMI staged Sunday 09-20 →renewal_deadline_passed = true→ the letter prints NO date beyond the passed-deadline sentence "Your renewal deadline 2026-09-19 has passed…" — noreschedule_by_date, nodenial_on_date(the Monday 09-21 denial tick is not promised) — in both rulesets; the kind-neutral SMS body renders for an initial AND a recertification On-Demand row from the same payload keys with no missing-key refusal, no "application may be denied" wording and "by {interview_by_date}" in place of "BEFORE {interview_by_date}" (r6-policy F1; r12-policy F3);nomi× recertification × {denial_reinstatabletrue, false} × both rulesets (the<reinstatement_deadline>/<reinstatement_period_start>sentence vs "a new application will be required"; the intake "you can still cure it" sentence absent from BOTH cells — r5-policy F1) plus the window-closed NOMI cell (a both-reasons param, the 12-31 filer →false; r6-policy F2), andnomi× recertification × {renewal_deadline_passedtrue, false} × both rulesets — the true cell prints the no-date "Your renewal deadline <standard_processing_deadline> has passed…" sentence and NEITHER "You must be interviewed by" nor "denied on", the false cell the dated pair (r7-policy F1);agency-pending× two kinds × both rulesets (facts only, no pay-back sentence on the recert branch); the absent-application_kindcell for each of the four kind-branched templates renders the initial branch (r5-policy F5). Publisher pin (scheduler_run_http_test.rs): the miss event’sdenial_reinstatableequalsmissed_interview ∈ list ∧ reinstatement_deadline ≥ denial_on_date— georgia’s list →false; test-max’s both-reasons list →truefor a timely row andfalsefor the window-closed 12-31 filer — andreinstatement_period_start = renewal_certification_end_date + 1(r6-policy F2); the ARM-5 PAIR, pinned not discovered (r11-policy F2, test-max only): the after-the-deadline NOMI (a timely row, SOP = end 2026-08-31, by-date ON the SOP, miss staged 09-01) publishesdenial_reinstatable = trueand renders the<reinstatement_deadline>sentence, while the extended-tick denial (~10-01) publishesreinstatement_window_open = falseand itsnoa-denialprints "A new application is required"; andrenewal_deadline_passed == (standard_processing_deadline < the tick’s legal today)—falsefor the SOP − h by-date missed on SOP − h + 1 ≤ SOP,truefor a by-date ON the SOP missed on SOP + 1 (r7-policy F1). The after-the-deadline sequence pin (scheduler_run_http_test.rs; §3; r7-policy F1): a recert On-Demand row scheduled ON its SOP day (today = SOP → default by-date = SOP) → the SOP tick: the NOMI leg stages nothing (S4), the day-30 leg recordsskip(OtherOpenChain, arm 7); the SOP + 1 tick: the miss + a NOMI carryingrenewal_deadline_passed = true, the day-30 leg arm 5PendNomiNotDispatched— the pend episode recorded,current_workflow_deadline = SOP + 1 + snap_standard_days, the recertagency-pendingletter; the extended-deadline tick (the NOMI dispatched by then): arm 4DenyMissedInterviewdenies withreason = missed_interviewand the kind-awarereopen_deadline_date— a denial after the period end on (e)(1)'s "continue to process the case" + intake finding 19 (never (e)(2)'s application-anchored 30 days; r8-policy F7), every letter truthful; and the ORDINARY twin (r9-policy F2) — the same row scheduled two days before the deadline (today = SOP − 2 → the fallbackmax(SOP − 2, SOP − 2)= by-dateSOP − 2) — is missed on the SOP − 1 tick withrenewal_deadline_passed = false(its NOMI staged on that tick), the test records that NOMI’snotice.dispatched(stampingnomi_dispatched_at,events.rs:1067) at ANY point after the SOP − 1 tick’s legs and before the SOP tick (the ordering production relies on — dispatch between two daily ticks, never between two legs of one tick), and the SOP tick DENIES:resolve_interview_state(scheduler.rs:2215) readsnomi_evidence_dispatched(store/interviews.rs:609-614, which requiresnomi_dispatched_at) astrue→ arm 4; the pin ALSO runs the eve twin — scheduled on SOP − 1 (by-dateSOP − 1, missed on the SOP tick) — WITHOUT recording a dispatch between the NOMI leg and the day-30 leg of the SOP tick, and asserts it follows the arm-5 sequence (pend + extension, denial at the extended tick) — the within-tick race is pinned as the race it is, never hand-ordered into a false SOP-tick denial; an undispatched NOMI classifies arm 5PendNomiNotDispatched(day30_policy.rs:176-179) on both twins alike. -
Pend-arm pins + the fence lifts (§3 Pend arms; U-RC-A §4.5–4.7;
scheduler_run_http_test.rs+interviews_http_test.rs): a timely recert row never scheduled by the SOP tick → arm 6 PENDS (episode recorded,current_workflow_deadline = tick + snap_standard_days,application.pending_agency_delaystaged withapplication_kind = recertification+ the period end, the recertagency-pendingbranch rendered) — the row U-RC-A pinned askind_deferrednow pends: the PEND half’s lift; a recert row whose only open item’s due date runs past the SOP → arm 3b pends the same way; the deny arms leavecurrent_workflow_deadlineuntouched; double-run no-op;POST …/interview/scheduleon a recertification row → 201 withcontext = recert(the 409recert_interview_not_activeis gone — the interview fence’s lift), forinterview_mode = on_demandwithinterview_by_date: nullthe default isSOP − hwhen that is ≥ today, elsemax(today, SOP − 2)— never the unconditional intakeSOPDEFAULT rule (interview_policy.rs:125); it equals the SOP only when today IS the SOP (§3; r7-policy F1, r9-policy F2); an initial row unchanged on both (r4-data F1); the clocks-equal pin (r1-data F16 — moved here from U-RC-A §9, where schedule/miss/NOMI are fenced): after filing + schedule + miss + NOMI on a recertification rowcurrent_workflow_deadline == standard_processing_deadlinestill holds — only a pend arm (U-RC-B) or the U-RC-C-b reopen reset (store/reopen.rs:473) moves it; neither is reachable in this pin (r7-impl F3). The twosystem-jobbindings in the frame’s "binding at flip" block name this file’s test fns, fixed HERE:recert_nomi_carries_the_renewal_deadline(the recert NOMI:reschedule_by_date = denial_on_date = SOPfor a timely row, the payload’s kind facts +renewal_filing_deadline+reinstatement_deadline+reinstatement_period_start,nomi_dispatched_atfromnotice.dispatched) andrecert_day30_denies_missed_interview_on_the_sop_tick(the recert day-30 deny: denied ON the renewal-deadline tick withreason = missed_interviewand the kind-awarereopen_deadline_date) — the flipping MR’stest_refs areservices/canopy-applications/tests/scheduler_run_http_test.rs::<those names>(r4-impl F4). -
Flow spec
tests/e2e/specs/flow-snap-recert-interview.spec.ts(API-driven under logical clocks, theflow-snap-intake-on-demand-interview.spec.ts:9-39shape; clocks always reset). This spec needs NO live enrollment: the arrange issetClocksTo(ctx, '<cert start>T12:00:00Z')(an INSTANT —tests/e2e/lib/clock.ts:160;advanceClocksTosteers the legal days) →new SnapCaseBuilder().asOf('<cert start>').certified('<cert start>', '<cert end>').build()(tests/e2e/lib/given/snap.ts:110-197— household + application + approved determination + the workercertifyPOST) → the renewal filing by the spec-localfileRenewalhelper —POST /v1/applicationswithrenews_certification_id+received_atunder the service token (no given helper files a renewal; U-RC-A added only theAppViewfields); the denial arc never touches the enrollment. World constants (inside FY2026; describe A’s world sits AT OR AFTER the devstack’s day-30 enforce cutoff 2026-09-01,docker-compose.yml:518, because the cutoff rule precedes every arm and an 08-31 SOP tick would becutoff_deferred): describe A certification 2026-03-15 → 2026-09-14 (Monday), describe B certification 2026-03-01 → 2026-08-31 (Monday); describe A"flow: recert missed interview — NOMI then denial on the renewal deadline (7 CFR 273.14(b)(3), (e)(2))"(r5-policy F3) — TIMELY filing received 2026-08-25 (received_on≤ the timely daymin(the 15th of the last month, the period end)= 09-14 — the classifier’s day, SME item 20;legal_filed_date08-25, a Tuesday) → SOP 2026-09-14 (a workday, so the backward rule is the identity here; the weekend-end case is an integration pin); scheduled telephone appointment 2026-09-03 (≤latest= min(SOP − 10, end − 10) = 09-04, so G4 accepts) missed → scheduler pass on 09-04 →interview_missedwithreschedule_by_date = denial_on_date = 2026-09-14→nomidispatched → clock to 2026-09-14 → day-30 leg DENIES ON THE SOP TICK → SNAP rowdenied,administrative_denials.reason = missed_interview,reopen_deadline_date = 2026-10-14(its NOMI carrieddenial_reinstatable = falseunder georgia’s list — the e2e tier asserts the dispatched NOMI; the printed "a new application will be required" sentence is pinned by the notices generator’s georgianomi_recert_matrixcell, because the e2eNoticewire row carries no body); describe B"flow: On-Demand renewal interview — notice, call-in by the interview-by date, renewal complete by the SOP (PAMMS 3710)"(r5-policy F6) — UNTIMELY filing 2026-08-20 → SOP 2026-09-19 (Saturday; NOMIdenial_on_date2026-09-21, the forward rule);interview_mode: on_demand,interview_by_date: null→ defaults toSOP − 10 = 2026-09-09(today 08-20 ≤ 09-09; the On-Demand by-date is NOMI-bound only — had the worker instead SCHEDULED a chain-initial appointment on 08-20, G4’slatest = min(09-09, 08-31 − 10 = 08-21) = 08-21would have bound it, §3; r4-policy F2);awaitNotice(ctx, tokens, householdId, 'interview-on-demand')with recert prose (the spec copies the on-demand spec’s LOCAL helper,flow-snap-intake-on-demand-interview.spec.ts:146—given/notices.tsexports noawaitNotice— onlylistNotices/noticesOfType/awaitDispatchedplus theNoticetype andNOTICE_POLL_MS,notices.ts:20-98); call-ininterview/completeon 2026-09-08 (service token, steered clock) completes the chain; a second household in the same describe lets 09-09 pass →missed(staged 09-10) +nomi(reschedule_by_date = 2026-09-19,denial_on_date = 2026-09-21) + clock to 2026-09-21 → denial (row 15’s "renewal denied when no call occurs" AND row 13’s untimely clause — both rows bind this describe). Describe B’s inventory title "call-in by the SOP date" (rulesets/georgia/scenarios/snap.toml:168) is3710.adoc:124's sentence, which the page’s own ruling overrides (Chart 3710.1 row 2 controls) — so the flipping MR RETITLES row 15 to "On-Demand renewal interview: notice, call-in by the interview-by date, renewal complete by the SOP date" (titleis free text no gate freezes —crates/canopy-policy/src/scenario.rs:483requires it non-empty and no xtask command renders it (xtask/src/cmd/board.rspublishes GitLab ISSUE titles,:241/:262, not inventory titles) — but it is the human-read label of the row in the committed TOML, so the flipping MR retitles it for truthfulness beside the rewrittenjourney; r7-policy F4 as corrected by r8-impl F1 / r8-policy F5, overriding the round-4/round-5 "title kept"; the describe, being a free test name and a permanent binding, was renamed to the two dates the spec asserts — r5-policy F6) and REWRITES row 15’sjourney(:172, today "the household must call the agency to complete the interview by the SOP date") to "the household must call in by the interview-by date printed on the notice and complete the renewal by the SOP date; a NOMI is sent and the renewal is denied on the renewal deadline — the last workday on or before the end of the certification period for a timely filer, or the 30th day after filing moved to the next business day for an untimely filer — when no call occurs" so the compliance narrative names the deadline the letter actually prints for BOTH halves of the row (the timely deadline moves BACKWARD, Chart 3710.1 rows 1–3 — r8-policy F4) and the day this describe’s second household is actually denied (09-21, the forward roll — r6-policy F5) (r4-policy F7; row 14’s journey is likewise rewritten by its flipping MR, frame table); the household’s printed call-in date is SOP − h and the renewal must be completed by the SOP — both dates on the letter (the §3 ruling: Chart 3710.1 row 2 controls), which is what the spec asserts; a late call-in ≤ SOP completing themissedrow is the integration pin above, not a third e2e household. The threetest.describestrings are byte-exact with the inventory bindings (frame table). Integration bindings (both named astest_refs in the frame table):services/canopy-applications/tests/interviews_http_test.rs(recert guards incl. the two-bound conditional G4 and the weekend-end SOP) andtests/scheduler_run_http_test.rs(recert NOMI + day-30 deny AND pend pins).
10. Deployment + index notes
Single MR; restart order notices (manifests + templates) → applications → web. Migration (version greater than the newest committed applications ordinal on the MR’s base commit — 20261228000000 on main 7ddda439, the MR’s base — this unit’s ordinal is 20261229000000; r4-data F7, r5-impl N4) = the two statements of §2 in one transaction — the ck_interviews_context widening, then the context = 'recert' backfill of every chain on a recertification row (zero rows by construction under U-RC-A’s interview fence; the belt stays — r3-data F2). Fence lifts in this MR (r4-data F1): the 409 recert_interview_not_active arm in schedule_interview / reschedule_interview is deleted, and the kind_deferred arm in enforce_arm (by then narrowed to the pend half by U-RC-C-a) is deleted — the token stays in the day30_shadow_findings.applied CHECK as history, and the day30_recert_deferred WARN metric is retired with its only emitter (the in-crate SpanCapture pin asserts zero). Deps plumbing (§3 NOMI): NomiLegDeps (scheduler.rs:996) gains TWO fields — recert: Arc<RecertReinstatementParams> (the denial_reinstatable / reinstatement_deadline / reinstatement_period_start inputs) set from the load_recert_reinstatement_params result canopy-applications' main.rs holds since U-RC-C-a (U-RC-C §3), and recert_filing: Arc<RecertFilingParams> (the renewal_filing_deadline input) set from the load_recert_filing_params result it holds since U-RC-A (U-RC-A §3; r6-data F2) — both at the base literal main.rs:150 (the :275 Arc::new(NomiLegDeps { persons, ..nomi_deps }) struct-update re-wrap carries both through and needs no edit) and at the in-crate test literal scheduler.rs:222 and the in-process harness literal tests/common/mod.rs:630 (the fourth site); schedule_interview / reschedule_interview gain BOTH the Extension<Arc<RecertFilingParams>> AND the Extension<Arc<RecertReinstatementParams>> extractors here (§4.1; the Arc<RecertReinstatementParams> is already on the router layer since U-RC-C-a — r10-impl F2); Day30EnforceDeps is U-RC-C-a’s (U-RC-C §3). No new index; EXPLAIN attached for the two NOMI scans (SELECT list widened, predicate unchanged) and the day-30 scan over a mixed initial/recert population (checklist 7). OpenAPI snapshot docs/modules/ROOT/openapi/applications.json regenerated (InterviewProjection.warnings, additive; the context doc); no CHANGELOG Changed entry (the wire context stays a String; warnings is wire-additive). Acceptance criterion: workspace cargo clippy --all-targets — -D warnings clean — the InterviewProjection.warnings source-literal sweep of §3 reaches crates/canopy-contracts-applications/tests/roundtrip.rs:1936, services/canopy-notices/src/worker.rs:1058 and services/canopy-web/src/api/interview_panel.rs:135 / :177 (wire-additive; source literals swept — r8-data F2). ADR-030 B1: api/interviews.rs was 497 lines on the MR’s base (main 7ddda439 — the earlier 476 figure predated U-RC-C-a), so the NAMED fallback WAS taken up front: snap_sop_for_guards (api/interviews.rs:121 on the base), the recert recert_end_for_guards and the advisory assembly warnings_for live in api/interviews_context.rs, the On-Demand default moved to the pure default_interview_by_date in interview_policy.rs (the proptest’s subject), and the InterviewContext enum itself lives at the crate root, services/canopy-applications/src/interview_context.rs (store- and scheduler-consumed; r3-data F12 — B1 counts api/*.rs only); the residual api/interviews.rs after this unit’s edits (U-RC-A’s two 409 arms removed; two extractors added to each of two handlers, the recert GuardContext fields, the params threading) MEASURES 493 lines (r12-data D12-5; mirrored at U-RC-A §4.7); no lock bump. No drain-before-deploy note (additive).
11. Out of scope
The reopen/reinstatement of the denial this unit produces (U-RC-C MR2 activates it; until then the reopen endpoint’s U-RC-C MR1 fence answers 409 recert_reinstatement_not_active; in georgia a missed_interview denial is never reinstatable — SME item 16); owning any param (the (b)(3)(iii) headroom key is U-RC-C-a’s; consumed here); the approval anchor of a pended (or any non-reinstatement in-period) recertification approval — #1133 (SME item 18); a worker BFF action for interview completion — the frame’s R4 issue 3 (feat(web): worker action to record an On-Demand interview call-in (interview/complete)), which is the surface that makes the recert NOMI’s no-date instruction "Contact us immediately to complete your interview" ACTIONABLE in production: after the SOP, G2 refuses schedule/reschedule (beyond_sop_date, interview_policy.rs:160-171), the only completion path is the service-only interview/complete (api/mod.rs:1911, complete_interview; the service-caller guard :1918), and canopy-web ships schedule + reschedule only (actions_interview.rs:3-5) — so the sentence is an instruction, not a promise, until issue 3 ships; prioritise it WITH the stream, not after it (r9-policy N2); portal-facing renewal interview surfaces; TANF/Medicaid renewal interviews.
12. FINDINGS RESOLVED
-
I4 (G4 headroom): conditional for
recert— refuses while the headroom (both bounds, every recertification row) is achievable, advisory once it is not; G2 refuses once the deadline has passed. -
I5 (the
'intake'literals): the seven statements take the derivedInterviewContext; agnostic reads stay agnostic because context is per-application constant. -
R3 / I3 / R10 / I6 / P5 (NOMI timing, SOP clock, routing): no new clock, no discriminator — the row’s deadline is the renewal deadline and the prose branches on additive payload keys.
-
R7 / I13 (On-Demand renewal home + trigger): canopy-applications; the worker schedules it on the recertification row exactly as intake;
interview_by_datedefaults to SOP −headroom_dayswhen that is ≥ today, elsemax(today, SOP − 2)(brief §4; §3; r7-policy F1, r9-policy F2) — never the period end, and on the deadline itself only when today IS the deadline. -
R4 (denial drain owner): the existing day-30 leg, on the row’s own clock.
-
Round 1: r1-policy F2 (cites), F3 (the timely SOP is a workday, so the NOMI/day-30 code is unchanged and denies on the period end), F4 (conditional G4 + the recert On-Demand default by-date), F9 / F10 (row 13 bound to both describes; byte-exact
flow: …strings), F16 (the untimely SOP label: day 29 approval / day 30 denial); r1-data F15 (seven literals), F16 (the day-30 scan keys oncurrent_workflow_deadline— stated); r1-impl F4 (NOMI scan rows carry the kind facts;resolve_interview_statereads the scan row; "scan unchanged" struck), F5 (U-RC-B PINS the snapshot, never writes it), F6 (NOTE residue: the arrange named; no live enrollment needed), F8 (api/interviews_context.rs), F9 (OpenAPI regen), F12 (no BFF complete action; service-only stated), F14 (wirecontextstays aString), F15 (denied on the 08-31 tick; the flow’s clock step corrected). -
Round 2: r2-data F1 / r2-policy F1 (the Pend-arms bullet: the four arms fire on a recert row, mechanics unchanged and pinned, the kind-branched
agency-pendingletter with facts only, the additive event keys, the approval anchor → #1133 / SME item 18), r2-policy F2 / r2-impl F-IMPL-2 ((b)(3)(iii) cited in §1, G4’s second boundend − vfrom the new key, the refusal detail’s cites, the anchor argument, the "second interview on request" = reschedule path, the proptest’s second bound; the On-Demand by-date — default and explicit — stays on the round-1 single boundSOP − h; the second bound was read as timely-only in round 3 and widened to EVERY recertification row’s scheduled chain-initial appointment in round 4, r4-policy F2), r2-policy F7 (renewal_filing_deadlineon the schedule and the miss; no hard-coded "15th"), F10 / r2-impl F-IMPL-6 (the two integrationtest_refs). -
Round 3: r3-data F2 (the two-statement migration with the
context = 'recert'backfill; the no-(recertification, intake)-pair pin + the DB agreement test), F11 (InterviewProjection.warnings, additive), F12 (interview_context.rsat the crate root;api/interviews_context.rskeeps only the advisory assembly); r3-policy F1 (the 3710:124 reconciliation — Chart 3710.1 row 2 controls, both dates on the letter; a late call-in ≤ SOP completes themissedrow viacomplete_open_interview, verified and pinned); r3-impl F3 (the timely-only qualifier at §7 and in the round-2 record — OVERRIDDEN in round 4, r4-policy F2); theDay30ScanRow.application_kindattribution moved to U-RC-A (r3-data F1). -
Round 4: r4-policy F2 (MAJOR — (b)(3)(iii)'s bound on EVERY recertification row’s chain-initial scheduled appointment:
GuardContextwithoutrenewal_timely, the untimely consequence stated in describe B’s world (latest = 08-21), the proptest invariants rewritten, §7 / §12 qualifiers dropped; the On-Demand by-date stays NOMI-bound only), F7 (row 15’sjourneyrewritten by the flipping MR — title kept; the title is RETITLED too since round 7, r7-policy F4), r4-data F1 (MAJOR — this unit lifts the interview fence and the PEND half of U-RC-A’skind_deferredfence; the §2 backfill touches zero rows by construction; no stored On-Demand by-date needs backfilling; pins), F7 (the migration ordinal), r4-impl F4 (the twosystem-jobtest fns named in §9 for the frame’s binding block). -
Round 5: r5-policy F1 (MAJOR — the recert NOMI drops the intake "you can still cure it" sentence (georgia
nomi.typ:129-132, default:126-129) and branches on the PRODUCER-deriveddenial_reinstatable/reinstatement_deadlinecarried onapplication.interview_missed(§3 NOMI, §5, §6, §7); both manifests'nomiroute forwards them; render pins × {reinstatable, not} × both rulesets), F3 (the timely DENIAL deadline cites (e)(2) + Chart 3710.1 row 2 — §1, the G2 detail, the §6 cite line, describe A), F5 (inputs.at("application_kind", default: "initial"); the absent-key render pin per template, §6/§9), F6 (describe B renamed — §9, twice); r5-data F2 (impl From<ApplicationKind> for InterviewContextas the total map over U-RC-A §2’s enum); r5-impl N4 (§10 ordinal wording). -
Round 6: r6-policy F1 (MAJOR — the SMS text is pure
{key}substitution, fail-closed on a missing key (worker.rs:263-317): no branch, no new key; the body made kind-neutral in both rulesets; struck from the kind-branch and absent-key lists, §6/§9 — the render-matrix counts read three interview templates +agency-pending, four kind-branched templates in all, §6/§8/§9), F2 (MAJOR —denial_reinstatablefoldsreinstatement_deadline ≥ denial_on_date;reinstatement_period_starton the miss and bothnomiroutes; the sentence "the later of the day you complete it and <reinstatement_period_start>"; the window-closed NOMI cell and the publisher pin — §3/§5/§6/§7/§9), F4 (row 13’sregulatory_trigger:1555rewrite stated in this unit’s Row flip line, the FULL string), F5 (row 15’s journey names the renewal deadline with the forward roll, §9); r6-data F2 (MAJOR —recert_filing: Arc<RecertFilingParams>onNomiLegDepsat the three literals; the second Extension on schedule/reschedule; §3/§4.1/§5/§7/§10), F5 (record_administrative_denial:150passes the derived context through a NEWresolve_denial_evidenceparameter to the:310missed_interview_evidencecall — the review’s ":310,awpin hand" attribution corrected on verification::310sits insideresolve_denial_evidence:300-361, which holds noawp); r6-impl F4 (the header’s "all four" → three params + the kind-aware denial, stated once; §7). -
Round 7: r7-policy F1 (MAJOR — the recert NOMI never prints a past date:
renewal_deadline_passed=standard_processing_deadline < the legal staging dayonapplication.interview_missed, bothnomiroutes forward it, the recert branch prints the no-date sentence when true and the dated pair when false (§3/§5/§6); the recert On-Demand DEFAULT by-date’s fallback narrowed fromstandard_soptomax(today, standard_sop − 1)(§3/§9/§12, the catalogue row, SME item 1 — re-narrowed tostandard_sop − 2in round 9, r9-policy F2); the reachable after-the-deadline sequence (S4 →OtherOpenChainskip → arm 5 pend + extension → arm 4 at the extended tick) stated honestly in §3 and pinned in §9 with its ordinary twin; SME item 1’s "no issue" replaced by R4 issue 6 — the intake twin), F4 (row 15 RETITLED by this unit’s flipping MR — §9, the Row flip line, the frame table); r7-data F4 (InterviewContext's derive listDebug, Clone, Copy, PartialEq, Eq, Hash—GuardContextisCopy); r7-impl F3 (U-RC-A §2’s clock sentence names this unit’s pend arms as one of the two movers; the §9 clocks-equal pin unchanged). -
Round 8: r8-policy F4 (row 15’s
journeynames BOTH denial-day rules — "the last workday on or before the end of the certification period for a timely filer, or the 30th day after filing moved to the next business day for an untimely filer" — the row covers timely and untimely On-Demand renewals alike; §9, the frame table), F5 / r8-impl F1 (the retitle rationale corrected at §9 and the frame table:board.rs:241/:262publish GitLab ISSUE titles,scenario.rs:483is the only reader ofScenario.title; the retitle stands on the TOML row being the human-read label), F7 (§3 / §9: the post-end denial on the extended tick rests on 273.14(e)(1) "continue to process the case" + intake finding 19, not on (e)(2)'s application-anchored "at the end of 30 days" — the outer-bound gloss deleted), F3 REFUTED by the owner (the recert NOMI’s no-date sentence stands —interview/completehas no SOP guard; no change); r8-data F2 (InterviewProjection.warningsis wire-additive but a required source field: the four literal sitesroundtrip.rs:1936,worker.rs:1058,interview_panel.rs:135/:177swept; "workspacecargo clippy --all-targets — -D warningsclean" the criterion; "no consumer break" reworded — §3, §10). -
Round 9: r9-policy F2 (the On-Demand default by-date’s fallback is
max(today, standard_sop − 2)— option (a): the ordinary row’s miss is staged on SOP − 1 and its NOMI has a full legal day to dispatch, so the SOP-tick denial rests on dispatch between two daily ticks rather than on the within-tick leg order production does not fix (main.rs:425/:429,window_fence.rs:97); the ON-SOP case unchanged (renewal_deadline_passed = true); the eve case (by-date SOP − 1) stated honestly as the same-tick race and pinned on the arm-5 sequence — §3, §6, §9 (the proptest and the ordinary-twin pin), §12, Notices 5, the catalogue row, SME item 1), F3 (row 13’sjourney:1556rewritten by this unit’s flipping MR with row 15’s two-rule clause — the Row flip line below and the frame table), N2 (§11 names R4 issue 3 as the surface that makes the NOMI’s "contact us to complete your interview" actionable); r9-impl N2 (the header’s "§3/§4.1/§7"). -
Round 10: r10-policy F3 (DECIDED (b) — the no-date sentence deliberately omits
denial_on_dateon an untimely row whose SOP fell on a non-workday: the SOP has passed and the denial runs on the next business day’s tick, which the letter must not promise; the household is directed to contact the office and an interview completed before the tick still satisfies the row (interview/completehas no SOP guard, r8-policy F3); no new producer fact — §6 and frame Notices 5 one sentence each; the §9 cell pinned: untimely filer, SOP Saturday, NOMI staged Sunday → no date, the passed-deadline sentence, nodenial_on_date), F6 (§6 states the appointment letter’s recert sentences explicitly — "complete your interview by <standard_processing_deadline>", the consequence sentence naming the renewal deadline — "your renewal may be denied on <standard_processing_deadline>" (REWORDED in round 11 to "if you miss your interview and do not contact us by <standard_processing_deadline>, your renewal will be denied" — a deadline, not a denial day; r11-policy F1), replacing the intake "on the 30th day after your filing date" clause and its 273.2(h)(1)(i) cite with 273.14(e)(2) — "your certification period ends <renewal_certification_end_date>";renewal_timelydoes not change them, so the §6/§9 render matrices keep ONE recert cell forinterview-appointment— the untimely twin dropped); r10-data F5 (§3 NOMI:NomiScanRow.standard_processing_deadlineisOption<NaiveDate>(store/interviews.rs:452) —None→ the row is skipped with a WARN naming the #1637 invariant, thesnap_sop_for_guardsposture, neverfalse); r10-impl F2 (§4.1 / §10: both handlers gain theRecertFilingParamsAND theRecertReinstatementParamsextractors HERE — U-RC-C-a registers theArcon the router layer and adds the extractor only to its four consumers, so no unread extractor lands in C-a). -
Round 11: r11-policy F1 (DECIDED option (2), reworded — no new producer key: the appointment letter’s recert consequence sentence becomes "if you miss your interview and do not contact us by <standard_processing_deadline>, your renewal will be denied" — it names the household’s DEADLINE (the SOP, as the On-Demand letter does) and no denial DAY, because the system denial is on the SOP for a timely filer and on the next business day for an untimely filer whose SOP is a non-workday (describe B: Sat 09-19 → Mon 09-21) and a worker may deny earlier — §6, §9’s render cell, frame Notices 5; recorded beside r10-policy F6), r11-policy F2 (ACCEPTED residue, recorded in §3 and §6 beside the r10-policy F3 residue: on the arm-5 path
denial_reinstatableis judged against the SOP-tick denial day; completion before the extended tick satisfies the row, and the eventual denial letter states the window truthfully from its own date; §9 gains the test-max publisher/render pair — the after-the-deadline NOMIdenial_reinstatable = true, the extended-tick denialreinstatement_window_open = false— pinned, not discovered). -
Round 12: r12-policy F3 (§6: the SMS’s "BEFORE {interview_by_date}" → "by {interview_by_date}" in the SAME one-line kind-neutral edit of
rulesets/georgia/notices/snap/interview-on-demand-text.txtandrulesets/default/notices/snap/interview-on-demand-text.txt, so the SMS and the letter’s "Call by: … your interview must be completed by this date." agree — "by" is exact, the miss is staged only whenby_date < today; §9’s SMS render pin asserts it), F4 (§5:renewal_filing_deadlineis recomputed at event time from the liverecert_timely_filing_daywhilerenewal_timelystays frozen at filing — an ACCEPTED residue, the 15th being the federal-fixed 273.14(c)(2) figure the georgia/default pins carry; mirrored at frame Notices 1), r12-data D12-5 (§10: the NAMED B1 fallback forapi/interviews.rsbeyondapi/interviews_context.rs's advisory assembly —snap_sop_for_guards(:102) moves there too if the count crosses 500; mirrored at U-RC-A §4.7).
Row flip: rows 13 (snap.certification.recert-missed-interview-nomi, bound to BOTH describes) and 15 (georgia.snap.certification.on-demand-renewal-interview, describe B — its journey at rulesets/georgia/scenarios/snap.toml:172 rewritten to the interview-by date + completion by the SOP, and its title at :168 RETITLED to "On-Demand renewal interview: notice, call-in by the interview-by date, renewal complete by the SOP date"; r4-policy F7, r7-policy F4) via flow-snap-recert-interview.spec.ts + the integration bindings; row 13’s regulatory_trigger at compliance/scenario-inventory/snap.toml:1555 rewritten to the FULL string in the frame table — "7 CFR 273.14(b)(3); 7 CFR 273.14(b)(3)(iii); 7 CFR 273.2(e)(3); 7 CFR 273.14(e)(2); PAMMS SNAP 3710 Chart 3710.1" (r6-policy F4) — and its journey at :1556 rewritten so its denial clause reads "the renewal is denied on the renewal deadline — the last workday on or before the end of the certification period for a timely filer, or the 30th day after filing moved to the next business day for an untimely filer — if no interview occurs" (row 15’s clause; the two universal/georgia rows that bind this spec state one rule — r9-policy F3); blocked_by = ["#1634"] removed from both. Allowlist flip: snap.recert.on-demand-interview, snap.recert.notice-of-missed-interview, snap.recert.deny-failure-to-complete.
U-RC-C — the 273.14(e)(2) reinstatement (canopy-common + applications + eligibility + snap pin + enrollment + renewals + notices + web)
TWO child issues, TWO MRs (r2-impl F-IMPL-7) — the U-REOPEN :1232 consumer-first two-step kept as ONE unit section: U-RC-C-a = MR1 (weight 5; branch feature/1634-c-a; Closes its issue, Relates to #1634) the FOUR params + every typed consumer tolerating the new basis kind (the grep-derived table in §5, including canopy-applications' own record-back settle) + the kind-aware RECERTIFICATION DENIAL (deadline snapshot through the one denial_reopen_right helper, the Day30ScanRow.renewal_certification_end_date column, the PUBLISHER-derived event bools reinstatable + reinstatement_window_open, the ONE noa-denial recertification branch on them at both of the template’s reopen-by sites (r5-policy F2; r10-policy F1) — lifting the DENY half of U-RC-A’s kind_deferred fence and the worker 409; the pend half and the interview fence stay for U-RC-B) + the dormant fence on the reopen endpoint with the recert PREVIEW contract + the dormant renewals arm + retire-by-id; U-RC-C-b = MR2 (weight 5; branch feature/1634-c-b; Closes its issue AND #1634 — the stream’s final MR, runs the closure gates) the episode migration + the producer (reopen kind arm + eligibility derivation arm) + web variant + row 14. Every "MR1" / "MR2" below means U-RC-C-a / U-RC-C-b. Depends on: U-RC-A (MR1 — the identity columns); U-RC-B (MR2 — the flow spec’s second-household missed-interview denial). MR1 precedes U-RC-B (params owned before consumed).
1. Purpose + regulatory cites
7 CFR 273.14(e)(2), verbatim (eCFR, current as of 2026-09-01; the implementer never fetches it): "If a household files an application before the end of the certification period, but fails to take a required action, the State agency may deny the case at that time, at the end of the certification period, or at the end of 30 days. Notwithstanding the State’s right to issue a denial prior to the end of the certification period, the household has 30 days after the end of the certification period to complete the process and have its application be treated as an application for recertification. If the household takes the required action before the end of the certification period, the State agency must reopen the case and provide a full month’s benefits for the initial month of the new certification period. If the household takes the required action after the end of the certification period but within 30 days after the end of the certification period, the State agency shall reopen the case and provide benefits retroactive to the date the household takes the required action. The State agency shall determine cause for any delay in processing a recertification application in accordance with the provisions of § 273.3(h)(1)." No restoration of the gap months. PAMMS SNAP 3710 Chart 3710.1 (3710.adoc:309-317, the ONLY reinstatement row of the chart, and it is VERIFICATION-scoped: "denied for failure to return verification, and/or the SOP has expired BUT verification was returned within 30 days following the last month of the current certification period → prorate benefits from the date the verification is received, and all renewal requirements are met; process the case within 5 workdays after receipt of the verification"; rows 2 and 5, :270 and :299, close the missed-interview case with "A new application is required if the AU wants to participate in the program again"); the state manual controls over the federal floor (project directive), so which denial reasons are reinstatable is the jurisdiction param snap.certification.recert_reinstatable_denial_reasons (§7; SME item 16) — georgia AND default ["verification_not_provided"] (default is the verbatim Georgia reference copy, rulesets/default/jurisdiction.toml:1-6 "Verbatim deep-copy of rulesets/georgia/ … Not intended for production deployment by any non-Georgia jurisdiction"; 273.14(e)(2) "required action" admits any reason, so a jurisdiction adopting the federal reading widens the list to ["missed_interview", "verification_not_provided"] — r2-policy F6), test-min ["verification_not_provided"] (the strictest, georgia-shaped election) and test-max both reasons — the fixture pair diverges so the reason gate has a fixture pin: under test-min the interview cure is refused 422 denial_reason_not_reinstatable, under test-max it reinstates; the both-reasons truth table runs under test-max (§7/§9; r10-policy F4). The PAMMS anchor "verification received AND all renewal requirements met" (3710.adoc:316) is satisfied BY CONSTRUCTION for every recertification verification_not_provided denial from MR1 on, at BOTH writers: the LEG’s classifier reaches classify_verification only from InterviewState::Satisfied (classify, day30_policy.rs:169-171), and the WORKER writer — whose resolve_denial_evidence arm checks past-due items only today (api/administrative_denials.rs:349-370) and never reads interview_completed_at / interview_waived — is made KIND-AWARE in MR1 (§3 Kind-aware denial): a verification_not_provided denial of a recertification row REQUIRES the SNAP row’s interview satisfied (applications.interview_completed_at set or interview_waived), else 422 interview_not_satisfied, mirroring the leg’s precondition. The interview therefore precedes every recert verification denial, so arm R anchors on cured_on ALONE — the chart’s "and all renewal requirements are met" names no later date (r8-policy F1 / F2, removing the outstanding-interview state r7-policy F3’s belt guarded) — and the interview precondition arm R still carries (§3) is a BELT no recertification row denied verification_not_provided by either writer reaches (the only reinstatable reason in georgia/default; under a both-reasons ruleset an attestation cure of a missed_interview denial with the interview outstanding reaches it — the correct refusal, §3). The INTAKE worker writer is UNCHANGED (273.2(h)(2)'s reopen resumes processing of the application, and the interview may follow; intake arms A/B carry no precondition and need no issue). (The outstanding-interview DENIAL case is the missed_interview reason, which georgia does not reinstate.) 273.10(a)(1)(ii)–(iii) proration + the initial-month floor — (iii) cited by the late-recert-proration row at compliance/scenario-inventory/snap.toml:1545, (ii) by the proration_rounding pin (rulesets/georgia/jurisdiction.toml:218; r2-policy F9, r3-policy F8). By the time the action arrives the lapsed cert is still in force (recertifying after U-RC-A’s projection; no expiry sweep in renewals — services/canopy-renewals/src/store.rs:95-122 is the only expired writer — save an adverse-action termination inside the old period, which the arm tolerates: §4.5 step 2, r12-data D12-2), the enrollment is expired (services/canopy-enrollment/src/expiry_sweep.rs:1-35, store.rs:714-741) and the continuation arm DLQs without a live enrollment (services/canopy-enrollment/src/continuation/arm.rs:461-484; r12-impl F4) — so the landing is a REOPEN of the denied renewal application (U-REOPEN’s episode + saga, migrations/20261220000000_reopen_substrate.sql:6-98) with a new window/arm/SOP and a new signed basis, then the family’s normal downstream: eligibility → determination.completed.snap → renewals mints the cert → enrollment opens a fresh, prorated enrollment.
2. Data model
application_reopen_episodes (canopy-applications; MR2 migration): kind TEXT NOT NULL DEFAULT 'initial' CHECK (kind IN ('initial','recertification')) (= the application’s application_kind, copied for audit); arm CHECK widens ('A','B') → ('A','B','R') — today an UNNAMED inline constraint (20261220000000_reopen_substrate.sql:23 arm TEXT NOT NULL CHECK (arm IN ('A', 'B')), auto-named application_reopen_episodes_arm_check), so the migration is ALTER TABLE application_reopen_episodes DROP CONSTRAINT application_reopen_episodes_arm_check, ADD CONSTRAINT ck_reopen_episode_arm CHECK (arm IN ('A','B','R')) (named this time; r3-data F6) — R = reinstatement, benefit_effective_date = max(cured_on, renewal_certification_end_date + 1 day); ck_reopen_episode_kind_arm CHECK kind = 'recertification') = (arm = 'R'. Why max(…) and not arm B’s cured_on: ANY pre-end denial of a recertification row can be cured before the period ends — the WORKER’s early administrative denial (POST …/administrative-denial, api/administrative_denials.rs — no SOP gate; (e)(2) "may deny the case at that time"; Chart 3710.1 row 3 3710.adoc:279 "deny after the verification deadline") of a TIMELY filer for verification_not_provided, OR the day-30 LEG’s own denial of a timely row on a pre-end SOP (the SOP is the last workday on or before the end, U-RC-A §2: end Sat 10-31 → the leg denies Fri 10-30 and a Sat 10-31 cure is cured_on ≤ end; end Mon 08-31 → the leg denies on 08-31 and a same-day cure is likewise pre-end) — r5-policy F7; a cure before the period end is (e)(2)'s "full month’s benefits for the initial month of the new certification period" (row 3 :282 "re-open … a full month of benefits beginning with the first month of the new certification period") = benefit_effective_date = end + 1; a cure after the end = cured_on. The chart’s wording is read WITH the CFR’s (r6-policy F6): row 3’s "If verification is submitted before the last day of the certification period, re-open … a full month" (3710.adoc:282) and 273.14(e)(2)'s "before the end of the certification period" name the same boundary — a cure ON the last day is pre-end (cured_on ≤ end) and starts the new period on end + 1; the arm carves out no last-day exception, and max(cured_on, end + 1) forces the same answer either way. (An UNTIMELY filer denied by the day-30 leg inside the period is UNREACHABLE: an untimely filing is on day ≥ 16 and recert_timely_filing_day ≤ 28, so filing + 30 ≥ day 32 — SME item 14.) Every other column as today (cure_kind, cured_on server-derived, episode_processing_deadline, dispatch_generation, state); the same MR2 migration also rewrites the episode_processing_deadline column comment (20261220000000_reopen_substrate.sql:25-28, today "(cured_on + standard days)") to "arm A/B: cured_on + standard days; arm R: the pre-end-capped 5-workday SOP" (r10-data F6). SME item 9 records why the brief’s "keep arm = 'B'" preference is not taken.
administrative_denials (MR1): no DDL; the column comment on reopen_deadline_date ("legal_filed_date + denial_reopen_window_days, SNAPSHOTTED", 20261201000000_administrative_denials.sql:11-48) is corrected to "the reopen right’s last day by application kind" (an applied migration — checksum reset on the devstack; the U-RC-A ae39aefc precedent, the MR and the CHANGELOG say so). The reason CHECK (:18, missed_interview | verification_not_provided) is the vocabulary of recert_reinstatable_denial_reasons.
snap_certifications (renewals): no DDL; renewal_determination_id (20260401000000:19) gains its ONLY writer, the new store::retire_renewed_certification (§4.5).
snap_enrollments: no DDL; the reinstatement is a NEW row.
3. Contracts
-
Basis (canopy-common
effective_date_basis.rs:29-135): NEW non-continuation variantEffectiveDateBasis::RecertReinstatement { episode_id: ReopenEpisodeId, action_on: NaiveDate, benefit_effective_date: NaiveDate }, kind tokenrecert_reinstatement(kind():127-135 gains the arm; the serde-tag KAT :156-260 gains the variant).CONTINUATION_CLASS_KINDS(:121) is NOT extended — the pin at :254-262 (== ["in_cert_conversion"], the assert at :256) stays exactly as written; the DB twin20261225000000_continuations_and_issuance_kind.sql:22untouched. -
Context block:
ReopenEpisodeBlock(crates/canopy-contracts-applications/src/applications.rs:515-527) gainsapplication_kind: Option<ApplicationKind>(MR1, wire-additive;None≡initialfor pre-F1 episodes) — at the SOURCE anOptionfield is still required in a struct literal, so MR1 sweeps the two literals outside the producer (api/mod.rs:2133):services/canopy-eligibility/src/derivation.rs:634andcrates/canopy-contracts-applications/tests/roundtrip.rs:541, bothapplication_kind: None; workspacecargo clippy --all-targets — -D warningsclean is the criterion (§10; r8-data F2). Its SOURCE (r5-data F6): the block is built atservices/canopy-applications/src/api/mod.rs:2133-2139(:2152-2161after MR2) from the episode rowralone, and no episodekindcolumn exists until MR2 — so MR1 fillsapplication_kindfrom the LOADED APPLICATION’sapplication_kindcolumn (always in hand in that handler), NEVER from the episode row; MR2’s episodekindcolumn is audit-only and is never read by the context endpoint — eligibility’s derivation (services/canopy-eligibility/src/derivation.rs:296-301,386-397on 9eda862b —:327-340the kind selector and:436-447thederivearm after MR2;orchestrator.rs:2540-2557) chooses the basis kind BY IT — over theOption,NoneandSome(Initial)both selectApplicationReopen; onlySome(Recertification)selectsRecertReinstatement { action_on = cured_on, benefit_effective_date = block.benefit_effective_date }(MR2; r12-data D12-4) — adopting the block’s already-resolved anchor as today. -
Reopen policy kind arm (
services/canopy-applications/src/reopen_policy.rs:6-17doc,resolve_reopen:89-123—:127is theCureKindenum and:133itsimpl, outside the arm table; r5-impl N3; MR2) — closed table, fail-closed 422 otherwise:
| kind | window (initial: guard cured_on ≥ denial_date first; recertification: reason gate, THEN the interview precondition (a handler check), THEN the guard, THEN the snapshot window — §9’s four-way partition over the pure policy fn plus the handler’s precondition) |
arm → benefit_effective_date | episode_processing_deadline |
|---|---|---|---|
initial |
A: |
A → |
|
recertification |
reason gate FIRST (realised as |
R ALWAYS → |
|
cure_kind and the cured_on derivation matrix are U-REOPEN’s unchanged (verification_provided | interview_completed | attestation — the tokens api/reopen_support.rs:106-130 cure_kind / wire_cure_kind; the cured_on derivation :264-372 load_evidence → verification_evidence / interview_evidence / attestation_evidence). Preconditions unchanged: active snap row status = 'denied' with administrative_denial_id, no open episode, no later approved SNAP episode (store/reopen.rs:526-544).
* Policy inputs (reopen_policy.rs:68-81 ReopenInputs carries only legal_filed_date, denial_date, cured_on, snap_standard_days, denial_reopen_window_days and is calendar-free): it gains kind: ApplicationKind (U-RC-A §2’s enum; r5-data F2), reopen_deadline_date (the SNAPSHOT — the recert arm reads it, the initial arm keeps its param-recomputed window), renewal_certification_end_date: Option<NaiveDate> (a Recertification row with None inside the pure fn answers WindowRefusal::ParamOrder — its doc widened — so the totality proptest closes; the handlers answer RenewalIdentityDrift, a redacted 500, before the policy; 1731), standard_processing_deadline (the pre-end SOP cap) and the denial’s reason: AdministrativeDenialReason (AdministrativeDenialRow.reason is a String, store/administrative_denials.rs:25 — the struct opens at :20; DeniedRow and BOTH denial publishers parse it through AdministrativeDenialReason::from_str (crates/canopy-common/src/administrative_denial.rs:64-72, the typed ParseAdministrativeDenialReasonError) at the ROW boundary — a CHECK-impossible token is a DECODE error (the decode_drift shape → a redacted 500), never reinstatable = false and never a 422: a .parse().unwrap_or(…) / .map(…).unwrap_or(false) would print "a new application is required" — a false legal statement — from a drifted row, contradicting U-RC-A §2’s own ApplicationKind drift rule; r7-data F3) — NO borrowed slice and NO lifetime parameter (r4-data F5): it stays DATA-ONLY with its [derive(Debug, Clone, Copy, PartialEq, Eq)] (reopen_policy.rs:69; AdministrativeDenialReason is Copy + Eq, crates/canopy-common/src/administrative_denial.rs:26-28) so the proptest keeps Eq, and the two jurisdiction inputs the recert arm needs arrive as the THIRD argument: resolve_reopen(inputs, calendar: &WorkdayCalendar, recert: &RecertReinstatementParams) (r4-data F2; the calendar is a separate argument because WorkdayCalendar derives only Debug, Clone, Default, crates/canopy-common/src/workdays.rs:25 — r2-data F6). The params home (r4-data F2): NEW params::RecertReinstatementParams { window_days: i64, sop_workdays: u32, interview_verification_headroom_days: i64, reinstatable_reasons: Vec<AdministrativeDenialReason> } loaded by load_recert_reinstatement_params(rulesets_dir, jurisdiction) beside load_denial_params (services/canopy-applications/src/params.rs:109; ADR-011 fail-fast with the §7 boot checks), registered by C-a as Arc<RecertReinstatementParams> on AppDeps (TWO struct literals: main.rs:397 and the in-process harness tests/common/mod.rs:605) and the router layer in app.rs (the ExpeditedParams / DenialParams shape — .layer(Extension(deps.expedited)) app.rs:125, .layer(Extension(deps.denial)) :131) and extracted as Extension<Arc<RecertReinstatementParams>> ONLY by the consumers that READ it — MR1 (U-RC-C-a): the worker denial writer record_administrative_denial (api/administrative_denials.rs:151, beside its Extension<Arc<DenialParams>> at :157 — the publisher’s reinstatable, Kind-aware denial below) and the preview (reopen_reads.rs:52); MR2 (U-RC-C-b): reopen_snap (api/reopen.rs:69, beside Extension<Arc<DenialParams>> :75) with the 3-arg resolve_reopen — r10-impl F2: C-a adds no extractor a handler does not read, and resolve_reopen stays one-arg until MR2; the supervisor attestations op create_reopen_attestation (:378) reads only the kind (no extractor); U-RC-B adds the extractor to schedule_interview / reschedule_interview when it lands G4’s second bound (the headroom) — C-a never adds an extractor those handlers do not read (an unread destructured extractor is unused_variables under -D warnings; r10-impl F2) — and carried to the two legs by their deps structs, Day30EnforceDeps (Kind-aware denial below) and U-RC-B’s NomiLegDeps (U-RC-B §3/§10); DenialParams (params.rs:45-54, Copy; built in exactly ONE place — inside load_denial_params, params.rs:83) is UNCHANGED: it does NOT gain recert_reinstatement_window_days and load_denial_params gains no parameter — the window figure has ONE carrier, RecertReinstatementParams.window_days, and denial_reopen_right takes both carriers (&DenialParams for the initial arm, &RecertReinstatementParams for the recert arm — Kind-aware denial, below); one loader per struct, one key, ONE carrier (r8-data F6 — simplifying the round-1 / round-5 two-carrier shape, r1-data F21 / r5-data F8, which bought a by-value Copy read the recert arm never needed). The WorkdayCalendar Extension (precedent api/mod.rs:1165) is added — in MR2 (r10-impl F2: MR1 has no reader of the calendar on either caller, and an unread extractor fails -D warnings) — to BOTH callers of resolve_reopen (r5-data F4): the write reopen_snap (api/reopen.rs:69) AND the preview (reopen_reads.rs:52 — its handler extracts DenialParams + ProcessingDeadlines but no calendar today, :52-58; it imports resolve_reopen at :27 and calls it per cure row at :246 as resolve_reopen(ReopenInputs { cured_on, ..window })), because MR2’s recert cure previews need arm R’s episode_processing_deadline (5 workdays, pre-end cap, forward roll); that :246 struct-update means the preview’s shared window: ReopenInputs base IS the recert-aware ReopenInputs — kind, reopen_deadline_date, renewal_certification_end_date, standard_processing_deadline, reason filled from LoadedSnapRow (kind, renewal_certification_end_date, standard_processing_deadline) and from denied.denial (reopen_deadline_date, reason) before the per-cure loop (the LoadedSnapRow shape below; r8-data F1). ReopenArm (:23-28, A/B) gains R; token() (:31-38) returns "R"; the token test (:474-475) gains the arm. The policy fn stays pure (the interview-cure arm under a both-reasons param is pinned in the integration truth table).
* MR1 fence (r3-data F5 — the seam stated so the loader is not the fence): MR1 first MOVES DeniedRow (api/reopen_support.rs:173-179), NotReopenable (:181-215) and load_denied_row (:217-258) — three neighbours — into the NEW api/reopen_kind.rs, because reopen_support.rs is 488 lines against the BLOCKING 500-line ADR-030 B1 budget (xtask/src/cmd/quality_budgets.rs:157; validate.rs:282; lock B1_route_module_loc = 18) and the widening below is ~12–20 lines — the module must SHRINK, not grow (r7-data F5); resolve_reopen_inputs (:436) and the preview (reopen_reads.rs:59) import them from the new home. There load_denied_row (:219) returns the ROW FACTS on EVERY arm (r8-data F1): its (NaiveDate, Result<DeniedRow, NotReopenable>) tuple (:222) becomes LoadedSnapRow { filed: NaiveDate, application_kind: ApplicationKind, renewal_certification_end_date: Option<NaiveDate>, standard_processing_deadline: NaiveDate, denied: Result<DeniedRow, NotReopenable> } — the four facts from the ApplicationWithPrograms it already fetches (:223-236; the SNAP program row’s immutable clock; U-RC-A’s identity columns by flatten) and filled BEFORE the three refusal checks, so EpisodeOpen / NotDenied / LaterEpisodeApproved carry them too; DeniedRow (household_id, legal_filed_date, denial) gains nothing here (MR2 adds interview_satisfied, the arm table); ApplicationProgram.standard_processing_deadline is Option<NaiveDate> on the wire (crates/canopy-contracts-applications/src/applications.rs:134), so None → the SAME ApiError::internal as snap_sop_for_guards (api/interviews.rs:152-157, the 1637 invariant — r5-data F9) — while reopen_deadline_date is read from denial (AdministrativeDenialRow.reopen_deadline_date, store/administrative_denials.rs:34) — arm R, the pre-end SOP cap and the preview dates need nothing else (r4-data F4); the loader ALSO moves its denial read (:243-245) below the later-approved check (:246-248; the check reads only household_id + application_id, store/reopen.rs:526-544) — refusal precedence unchanged, the denial row read only on the DENIED arm, so "a denial row in hand" ⇔ denied.is_ok() uniformly (the preview’s per-arm rule, §4.3); load_denied_row itself does NOT refuse — it is the one loader behind its TWO callers (rg load_denied_row\( → resolve_reopen_inputs api/reopen_support.rs:446 and the preview reopen_reads.rs:59; r5-data F5), both of which now destructure LoadedSnapRow (resolve_reopen_inputs fills ReopenInputs.kind / renewal_certification_end_date / standard_processing_deadline from it and reopen_deadline_date / reason from denied.denial), and NotReopenable (:184-188, three variants; codes not_denied / reopen_episode_open / later_episode_approved, :190-196) stays the only source of the preview’s existing blocked_by codes (reopen_reads.rs:78). The fence is applied AFTER the load by the write caller resolve_reopen_inputs (:436-488 — the write reopen_snap's resolver, api/reopen.rs:102; order: NotReopenable FIRST, then the kind fence — the preview’s per-arm order mirrored, so a not-denied recertification row answers not_denied, never the fence) → 409 recert_reinstatement_not_active ("lands with U-RC-C MR2"); the supervisor attestations op (create_reopen_attestation, api/reopen.rs:378) never calls load_denied_row — it loads ApplicationWithPrograms ITSELF via store::get_application_with_programs at reopen.rs:417 and inserts the attestation row without resolving the window — so it applies the SAME application_kind check right there (409 on a recertification row); the reopen BY attestation is a later reopen_snap POST with cure_kind = attestation, which is why MR2’s "attestation cure follows the same matrix" holds. The GET preview (reopen_reads.rs:59) branches on LoadedSnapRow.application_kind WITHOUT going through NotReopenable: a recertification row answers reopenable: false in ALL THREE MR1 cells (the panel keys the reopen affordance on reopenable, contracts applications.rs:826-832; the blocked_by doc gains the three recert codes in MR1 and interview_not_satisfied in MR2 — r3-impl F8), reinstatable: Some(reason ∈ recert_reinstatable_denial_reasons) — the EVENT’s fact, ONE derivation shared with the publishers, so Some(false) in the reason-gate cell and Some(true) in the other two; blocked_by alone carries window / activation state (r7-impl F2) — and one of — in this order — blocked_by: "denial_reason_not_reinstatable" (the REASON GATE first, already in MR1 — the param is owned here; georgia missed_interview — the web renders "a new application is required"), "reinstatement_window_closed" (administrative_denials.reopen_deadline_date < legal_denied_date on the loaded denial row — the comparison the producer folds into the EVENT field reinstatement_window_open, §4.3; r2-policy F4, r4-impl F5), "recert_reinstatement_not_active" (a reinstatable-reason row inside its window — the web renders "not yet available", §8). MR2 answers reopenable: true for that last cell — after a FOURTH cell it inserts between the reason gate and the window, with DeniedRow.interview_satisfied in hand (§3): reopenable: false, reinstatable: Some(true), blocked_by = "interview_not_satisfied" when the row’s interview is neither completed nor waived (the arm-R precondition; the preview and the write agree — a row the POST would 422 is never offered; r7-policy F3) — (the first two keep reopenable: false; reinstatable is unchanged by the MR — it never encodes availability). From MR1 the preview’s DATE fields are truthful on a recertification row on EVERY load arm, not only the denied one (§4.3 — window_closes_on = the denial’s snapshot when denied.is_ok(), else denial_reopen_right(…)'s recert arm called from reopen_reads.rs (= renewal_certification_end_date + recert_reinstatement_window_days; r11-data D4); standard_period_ends_on = None; application_kind = Some(Recertification) — r8-data F1). The U-EXP dormant→activate shape, replaced (not stacked) by the kind arm in MR2.
* Record-back settle (MR1, lands with the variant): settle_reopen_episode_if_named (api/mod.rs:2160-2199; :2184-2220 after MR2) matches ApplicationReopen { episode_id, .. } | RecertReinstatement { episode_id, .. } — a worker-run reinstatement determination settles its episode by CAS exactly as the saga’s; a stale settle WARNs. Without it the episode stays open, the row stays reopen_pending and the next reopen is refused 409 reopen_episode_open. Pin in reopen_http_test.rs beside :1699-1780.
* Kind-aware denial (MR1, both writers — the day-30 enforce_deny scheduler.rs:1685-1745 (the formula at :1721-1725) and the worker api/administrative_denials.rs:216-222): ONE helper owns the DATE (ADR-030 B2, r4-impl F3) — denial_reopen_right(application_id: ApplicationId, kind: ApplicationKind, legal_filed_date: NaiveDate, renewal_certification_end_date: Option<NaiveDate>, DenialParams, &RecertReinstatementParams) → Result<NaiveDate, ReopenRightError> (DenialParams BY VALUE — an 8-byte Copy, pedantic trivially_copy_pass_by_ref; ReopenRightError { Drift([from] RenewalIdentityDrift), DateOverflow { id } }, the same redacted-500 posture) returning reopen_deadline_date = recertification ? renewal_certification_end_date + recert.window_days : legal_filed_date + denial.reopen_window_days (one carrier per key — r8-data F6); the end date is Option because both callers hold it as one — Day30ScanRow.renewal_certification_end_date: Option<NaiveDate> (a nullable SELECT-list column) and Application.renewal_certification_end_date: Option<NaiveDate> — and the Recertification ∧ None cell is CHECK-impossible (ck_applications_renewal_identity, U-RC-A §2), so it surfaces as the drift error RenewalIdentityDrift { id } (the sibling of ApplicationKindDrift, which needs a kind token the helper does not hold — the failure here is a MISSING END DATE) (the U-RC-A §2 row-boundary posture: a CHECK-impossible row is a decode error → a redacted 500, never a silent value or a 422; Initial ignores the argument; r9-data F3) — called by BOTH writers so neither enforce_deny nor record_administrative_denial (:151-251, 87 lines today) crosses the 100-line B2 threshold (quality_budgets.rs:158; no lock bump). The two EVENT BOOLS have ONE owner each and it is the PUBLISHER, not the helper (r5-data F10, r5-policy F2): publish_application_administratively_denied (events.rs:287-311; today (tx, publisher, application_id, household_id, person_id, program, denial: &AdministrativeDenialRow, legal_filed_date)) already receives the stored &AdministrativeDenialRow, which carries legal_denied_date + reopen_deadline_date (store/administrative_denials.rs:33-34) and reason, and GAINS three parameters from each writer (r9-data F3) and returns the typed DeniedEventError { Publish(PublishError), ReasonDrift { denial_id, source }, Identity(RenewalIdentityDrift), DateOverflow { id } } — PublishError has no reason-parse / identity variant; both call sites already map any error —: kind: ApplicationKind, renewal_certification_end_date: Option<NaiveDate> (the leg passes Day30ScanRow's pair — application_kind parsed through ApplicationKind::from_str — and the worker awp.application.application_kind / .renewal_certification_end_date) and recert: &RecertReinstatementParams (the reasons list) — the LEG’s call site is apply_deny (scheduler.rs:1760-1828, the publish at :1811-1821), NOT enforce_deny (:1685-1745, which only computes the snapshot :1721-1725 — it receives the parsed kind as a parameter from enforce_arm, which already parses it — and builds DenyInputs): row and enforce are both in scope there, so the three arguments are passed INLINE in the call’s argument list — row.application_kind (parsed via ApplicationKind::from_str), row.renewal_certification_end_date and &enforce.recert — never threaded through DenyInputs or a local let block, and apply_deny (69 lines today) stays under the 100-line B2 threshold (quality_budgets.rs:158; r12-data D12-1); the WORKER’s call site is the transactional tail write_denial_and_stage (api/administrative_denials.rs:256; the publish at :277-288), not the handler: record_administrative_denial (:151-251) calls it at :224-236 and holds awp and the RecertReinstatementParams Extension, so write_denial_and_stage gains the same three arguments — kind: ApplicationKind, renewal_certification_end_date: Option<NaiveDate>, recert: &RecertReinstatementParams — from the handler and forwards them (its existing [expect(clippy::too_many_arguments)], :241, covers the growth; r11-data D2); it computes reinstatement_window_open = denial.reopen_deadline_date >= denial.legal_denied_date (the one formula the preview shares, §4.3) and reinstatable = denial.reason ∈ recert.reinstatable_reasons — the two writers' events can therefore never disagree with each other or with the preview, and the template compares nothing (r2-policy F4). The initial-row rule (r9-data F3, matching U-RC-B §5’s miss-event row): on an initial row the publisher emits application_kind = "initial" and OMITS the four recert keys — renewal_certification_end_date, reinstatement_period_start, reinstatable, reinstatement_window_open are absent (never false / null) — because a reinstatable: true on an intake verification_not_provided denial would be a misleading audit fact even where the template ignores it; the noa-denial initial branch reads none of them (§6). DenialParams (params.rs:44-86, reopen_window_days :52) is UNCHANGED and load_denial_params gains no parameter (§3 Policy inputs; r8-data F6); Day30EnforceDeps (scheduler.rs:1374-1389) replaces its bare reopen_window_days: i64 (:1381) with denial: DenialParams (Copy) and gains recert: Arc<RecertReinstatementParams> — the helper’s second carrier and the publisher’s reasons list — TWO construction sites (main.rs:284-291 and the in-crate test at scheduler.rs:3106, inside the [cfg(test)] module at :2598; r5-data F8). Day30ScanRow + the DAY30_SCAN_SQL SELECT list (store/day30.rs:19-52) gain renewal_certification_end_date: Option<NaiveDate> (application_kind: String arrived with U-RC-A’s fence) — SELECT-list only, predicate/keyset/index unchanged, the EXPLAIN pin re-attached (U-RC-B’s resolve_interview_state reads the kind from this row). This MR LIFTS THE DENY HALF of U-RC-A’s dormant fence (dormant → activate, the U-EXP shape; r3-data F1, r4-data F1): the kind_deferred arm in enforce_arm (scheduler.rs:1618-1629) is NARROWED from every arm to recertification ∧ would_action() == "pend" — so both deny arms run on a recertification row with the kind-aware snapshot above while the four pend arms still return kind_deferred (the metric day30_recert_deferred keeps firing for them) until U-RC-B, which owns the agency-pending recert prose, deletes the arm — and the worker endpoint’s 409 recert_denial_not_active (api/administrative_denials.rs:151) is replaced by the same kind-aware snapshot; the interview fence (U-RC-A §4.7) is NOT touched here. The kind_deferred token stays in the day30_shadow_findings.applied CHECK as history (no ledger rewrite). The WORKER writer’s interview precondition (MR1; r8-policy F1 — DECIDED): in record_administrative_denial, after the get_application_with_programs load (:176) and BEFORE resolve_denial_evidence (:206-214), a verification_not_provided denial of a RECERTIFICATION row REQUIRES the SNAP row’s interview satisfied — awp.application.interview_completed_at.is_some() || awp.application.interview_waived (the contract Application, applications.rs:49 / :51, already in hand) — else 422 interview_not_satisfied (the existing code; detail "complete or waive the interview before denying a renewal for verification"), nothing written, no event, no letter; the check is a short helper in api/administrative_denials.rs, require_interview_for_recert_verification_denial(&Application, AdministrativeDenialReason) → Result<(), ApiError>, so the handler (87 lines) stays under the B2 threshold. It MIRRORS the day-30 leg, whose classify reaches classify_verification only from InterviewState::Satisfied (day30_policy.rs:169-171): BOTH writers then produce only verification denials whose interview is done, the recert noa-denial verification sentence (§6, "provide the requested verification by <reopen_deadline_date>…") is true as written, and arm R’s precondition is a belt (§3 arm table). The missed_interview arm is unchanged for both kinds (its evidence IS the interview state), and the INTAKE worker writer is UNCHANGED — an initial row’s verification_not_provided denial keeps the evidence-only arm (273.2(h)(2)'s reopen resumes processing; the interview may follow). Pinned (§9).
* Renewals arm contract: an approved determination.completed.snap whose basis kind is recert_reinstatement mints a standard cert [effective_date, expiration_date] from the signed determination (canopy-snap’s benefit_period already signs effective = benefit_effective_date, expiration = effective + certification_months − 1 day, services/canopy-snap/src/determine.rs:246-306; standard_renewal_months is only the notice offset, determine.rs:107-108 — no new snap arm); the lapsed cert is located by the NEW renewals reader store::find_certification_by_renewal_application(tx, application_id) — predicate renewal_application_id = $1 AND active = true, the sibling’s shape (find_certification_by_determination, services/canopy-renewals/src/store.rs:168-180: determination_id = $1 AND active = true, no status filter); no by-renewal_application_id reader exists today — r10-data F6 — and retired by id to expired with renewal_determination_id = determination.id when it is in force (status = 'recertifying'); a cert FOUND but no longer in force (status <> 'recertifying' — already terminated / expired / superseded) → WARN recert_reinstatement_renewed_cert_not_in_force (+ the metric of the same name), the retirement a no-op, and the NEW certification STILL minted — the household’s reinstated benefits never wait on an audit nit (a DLQ would block them); arm R (the reopen write) does NOT refuse on the old cert’s state — the reopen is about the application, renewals owns the cert (r12-data D12-2 — DECIDED; §4.5, the full contract).
4. Endpoints + drains
-
POST /v1/applications/{id}/programs/snap/reopen(api/reopen.rs:69reopen_snap,:201write_reopen) — EXISTING; worker write,require_service_or_exchanged(CASEWORKER_OR_ABOVE_ROLES), claim-derived actor; body unchanged (cure_kind, cure_evidence_refs, attestation_id?, idempotency_key). MR1: the fence (409) —api/reopen.rs(478 lines) gains ≤ 3 lines in MR1: the attestation op’s kind check as a ONE-LINE call into areopen_kind.rshelper (§4.2), the write’s one-line fence and the 409 in its utoipa lists — so the file stays under 500 and the B1 count stays 18 (r8-data F7); the twoExtensionextractors onreopen_snap(:69) —WorkdayCalendar+Arc<RecertReinstatementParams>with their pass-through — are MR2’s (r10-impl F2: MR1 has no reader for them, and an unread extractor fails-D warnings). MR2: the kind arm insidewrite_reopen— same household advisory lock, same saga at step 2,reopen_program_row(store/reopen.rs:473) resetscurrent_workflow_deadlineto theepisode_processing_deadline(5 workdays, pre-end-capped) — which is therefore also the reopened row’s day-30 RE-SCAN clock (DAY30_SCAN_SQLscanscurrent_workflow_deadline ⇐ todaywith no exclusion foractive_reopen_episode_id,store/day30.rs:41-52; r2-data F10): in the normal case the saga’s inline determination settles the episode first (record-back settle, §3) and the row isapproved/deniedbefore the tick; a STALLED saga’s row (parked / DLQ’d determination) stillprocessingat that tick classifies to the agency default —no_action(would-actionnone: a worker determination is pending; the classifier has no pend arm a CURED row can reach — every pend arm needs an open critical item or an interview fault), never a denial (the household has cured) — pinned inreopen_http_test.rs+scheduler_run_http_test.rs(a_reopened_recert_row_rescan_tick_never_denies: the ledgerno_action/skipped, the clock untouched, one denial, the episodeopen; #1731). ADR-030 B1:api/reopen.rs(478 lines on 9eda862b; 480 on MR2’s base, 487 after MR2 — growth ≤ 8, the arm lives inreopen_kind.rs/reopen_policy.rs) andapi/reopen_support.rs(488 on 9eda862b; 410 on MR2’s base after MR1’s move, 432 after MR2) are at the 500-line threshold — MR1 MOVESDeniedRow+NotReopenable+load_denied_row(reopen_support.rs:175-188,:219) into the newapi/reopen_kind.rs, where the fence (MR1) and the kind arm + preview fields (MR2) also live, soreopen_support.rsSHRINKS (r7-data F5); no lock bump. Auth class: Worker write. -
POST …/programs/snap/reopen-attestations(create_reopen_attestation,api/reopen.rs:378) — unchanged supervisor class (origin-enforced); MR1: theapplication_kindcheck on theApplicationWithProgramsit loads itself atreopen.rs:417→ 409recert_reinstatement_not_active(it never resolves the window — r5-data F5) — written as ONE line increate_reopen_attestation,reopen_kind::require_reopen_active(&awp.application)?, the helper living inapi/reopen_kind.rsbeside the fence soapi/reopen.rsgains ≤ 3 lines in MR1 and the B1 count stays 18 (r8-data F7); MR2: an attestation cure of a recertification denial follows the same matrix because the reopen BY attestation is areopen_snapPOST withcure_kind = attestation(the reason gate judges the denial reason, not the attestation). -
GET …/programs/snap/reopen/eligibility—ReopenEligibilityPreview(crates/canopy-contracts-applications/src/applications.rs:855-877on 9eda862b,:869-925after MR2; existingreopenable: bool+ codedblocked_by: Option<String>) gains additiveapplication_kind: Option<ApplicationKind>(None ≡ initial— theReopenEpisodeBlockprecedent, §3;Optionbecause canopy-web fetches the preview server-side on every process-page render andmock_upstream_reopen.rs:95builds the struct, so a required field would 500 the process page for every denied SNAP row on a web started before the new applications — r6-data F3) andreinstatable: Option<bool>(Some(reason ∈ list)on a DENIED recertification row,Noneon the threeNotReopenablearms and on an initial row) — all threeOptionfields (application_kind,reinstatableandstandard_period_ends_on, below) carry[serde(default, skip_serializing_if = "Option::is_none")], the struct’s ownlegal_denied_dateshape (applications.rs:835-836;blocked_by:829-830), so a recertification row’s preview OMITS them rather than emittingnull(r11-data D3) — at the SOURCE bothOptionfields are still required in a struct literal, so MR1 sweeps theReopenEligibilityPreviewliterals outside the producer (reopen_reads.rs:76/:98):services/canopy-web/src/api/mock_upstream_reopen.rs:95andservices/canopy-web/src/api/reopen_panel.rs:428setapplication_kind: None, reinstatable: None(therg "ReopenEligibilityPreview \{"set on main 9eda862b; workspace clippy clean is the criterion, §10; r10-data F2);legal_denied_dateper arm (r10-data F2):Some(denied.denial.legal_denied_date)(thereopen_reads.rs:102expression — the DENIED arm bindsdenied,:73-74, and reads theAdministrativeDenialRow.legal_denied_datethrough.denial) on EVERY DENIED recert cell (reopenablefalse or true — the window-closed panel copy prints the denial date besidewindow_closes_on),Noneon the threeNotReopenablearms; the contract doc atapplications.rs:833-836("present only when the row is reopenable") is rewritten with the:837-841doc-comments below;reopenableisfalsein ALL THREE MR1 recert cells (r3-impl F8):reinstatableis the EVENT’s factreason ∈ recert_reinstatable_denial_reasonsin every DENIED cell —Some(true)for a listed reason even whenblocked_byisreinstatement_window_closed/recert_reinstatement_not_active;blocked_byalone carries window / activation state, one derivation shared with the publishers (r7-impl F2); the reason gate runs FIRST from MR1 on —reopenable: false,reinstatable: Some(false)+blocked_by = "denial_reason_not_reinstatable"when the denial reason is outside the jurisdiction’s list (the web renders "a new application is required"; MR2’s web variant); then — MR2 only, withDeniedRow.interview_satisfiedin hand (§3) — the arm-R INTERVIEW PRECONDITION, ordered exactly as the §3 arm table (after the reason gate, before the window): an interview neither completed nor waived →reopenable: false,Some(true)+blocked_by = "interview_not_satisfied"(the preview never offers a reopen the write would 422 — a BELT cell, unreachable for a recertification row deniedverification_not_providedby either writer from MR1 on — reached under a both-reasons ruleset only by anattestationcure of amissed_interviewdenial with the interview outstanding, §3; the panel renders the generic coded refusal with no affordance, §8; r7-policy F3 as narrowed by r8-policy F1); thenreopenable: false,Some(true)+blocked_by = "reinstatement_window_closed"whenadministrative_denials.reopen_deadline_date < administrative_denials.legal_denied_date— the comparison the producer folded into the EVENT fieldreinstatement_window_open(application.denied.snap, §5), which is NOT a column ofadministrative_denials(20261201000000_administrative_denials.sql:11-48); the preview recomputes it from the two stored dates on theAdministrativeDenialRowit already loads (r4-impl F5); otherwise MR1reopenable: false,Some(true)+blocked_by = "recert_reinstatement_not_active"(MR1 evaluates no interview precondition —DeniedRow.interview_satisfiedlands in MR2 and every MR1 cell isreopenable: falseanyway), MR2reopenable: true,Some(true)with the kind arm’s window/anchor/SOP so the UI computes nothing (the preview branches onLoadedSnapRow.application_kind, never throughNotReopenable— §3). The contract on EVERY load arm (r8-data F1 — DECIDED, from MR1): today the blocked early return (reopen_reads.rs:76-84) fillswindow_closes_on = filed + windowandstandard_period_ends_on = filed + standard(:62-71) for everyNotReopenablearm, so a recertification row with an open episode (row 14’s own flow, betweenPOST …/reopenand the saga’s settle) or not yet denied would read as an initial row —application_kind: None, "Reopen within 60 days",filed + 60. From MR1, becauseload_denied_rowreturns the row facts on every arm (§3LoadedSnapRow), a RECERTIFICATION row answers on EACH of the threeNotReopenablearms —EpisodeOpen(blocked_by = "reopen_episode_open"),NotDenied("not_denied"),LaterEpisodeApproved("later_episode_approved"; the codes atapi/reopen_support.rs:190-196, moving with the enum) —application_kind = Some(Recertification),reopenable: false,blocked_by= the arm’s code (the existing tokens, unchanged),reinstatable = None(no denial row in hand —deniedisErr),window_closes_on= the result of CALLINGdenial_reopen_right(application_id, kind, filed, renewal_certification_end_date, denial_params, &recert)— the same helper, the same drift posture (Recertification ∧ None→RenewalIdentityDrift, a redacted 500 whose RFC 9457 body carries neither the token nor the application id), neverend + windowre-derived inreopen_reads.rs(=renewal_certification_end_date + recert_reinstatement_window_days, so it equals the snapshot on every row either writer denies from MR1 on; r11-data D4),standard_period_ends_on = None,legal_denied_date = None,cures = []; on the DENIED armwindow_closes_on= the denial’sreopen_deadline_date(the snapshot),reinstatable = Some(reason ∈ list)and — MR1 —cures = []on all three DENIED recert cells too (running the intakepreview_cureswould print arm-A/B dates againstfiled + 60, forbidden by r8-data F1; MR2 fills the arm-R rows); an INITIAL row keeps today’s shape on every arm (window_closes_on = filed + window,standard_period_ends_on = Some(filed + standard); the producer emitsapplication_kind = Some(Initial)on it — truthful, additive,skip_serializing_ifso nevernull;None ≡ initialis the READER’s tolerance for pre-#1730 producers) — thereopen_http_test.rs:1376-1395pin ("the window dates are reported off the filing date even when blocked") is kind-scoped, not weakened. *The two REQUIRED date fields (r2-data F2 — DECIDED, from MR1): on a recertification rowwindow_closes_on = administrative_denials.reopen_deadline_datewhen a denial row is in hand (the snapshot — never the intakelegal_filed_date + denial_reopen_window_daysthatreopen_reads.rs:63computes today, which would print 10-09 beside a letter saying 09-30), elserenewal_certification_end_date + recert_reinstatement_window_days(above);standard_period_ends_onbecomesOption<NaiveDate>—Noneon a recertification row on EVERY arm (it has no meaning under arm R;reopen_reads.rs:68) — a pre-1.0CHANGELOG.adocChangedline reading "optional; absent on a recertification row" (r11-data D3) + the OpenAPI regen (the field becomes not-required, nevernullable), and the contracts doc-comments atapplications.rs:837-841(window_closes_on:837-838,standard_period_ends_on:840) rewritten by kind;ReopenCurePreview.arm(:937on MR2’s base; doc “A` \|B”) gains `Rin its doc, and MR2 fillsarm = "R",benefit_effective_date = max(cured_on, end + 1),episode_processing_deadlineon the recert cure previews — as TWO ADDITIVE wire fields the §8 sentences need and the wire lacked (#1731, owner-confirmed):ReopenCurePreview.episode_processing_deadline(present iffarm) andReopenEligibilityPreview.reinstatement_period_start(=end + 1on every recert arm — the no-client-math rule forbids computing it in the BFF), bothOptionwith[serde(default, skip_serializing_if = "Option::is_none")], nevernull, and reproduced into the OpenAPI snapshot. Thestandard_period_ends_on → Option<NaiveDate>consumer sweep, the eight CODE sites on main 9eda862b — the producerreopen_reads.rsamong them;rg -l standard_period_ends_onreturns exactly these eight code files plus the two Antora pages, the OpenAPI snapshot and this plan (the two Antora pagesapi/canopy-applications.adoc:290/api/canopy-web.adoc:98and the OpenAPI snapshot ride Docs obligations 1 / theapi-docsregen — r11-impl F3; r5-data F3):crates/canopy-contracts-applications/src/applications.rs:841(the field);services/canopy-applications/src/api/reopen_reads.rs:68(+:82,:104— the producer,Noneon a recertification row);services/canopy-applications/tests/reopen_http_test.rs:1321(asserts the date → becomesSome(date));services/canopy-web/src/api/reopen_panel.rs:49(the view struct’sString— stays aString, empty whenNone),:173(fmt(p.standard_period_ends_on)→ conditional formatting of theOption),:193,:434(a test literal →Some(day(…)));services/canopy-web/src/api/mock_upstream_reopen.rs:101(builds the CONTRACT struct withday("2026-09-02")→Some(day(…)));services/canopy-web/src/api/applications.rs:4295(a view-struct test literal,String— unchanged);services/canopy-web/templates/applications/process.html:77(<dt>Standard period ends (last arm-A day)</dt><dd>{{ r.standard_period_ends_on }}</dd>— the<dt>/<dd>PAIR IS OMITTED when the preview’sstandard_period_ends_onisNone, thelegal_denied_dateguard at:76being the shape);tests/e2e/specs/flow-snap-intake-reopen.spec.ts:524(the TS preview typestandard_period_ends_on: stringbecomes OPTIONAL —standard_period_ends_on?: string, neverstring | null: the key is absent on a recertification row; r11-data D3) and:672(the intake assertion, unchanged — an initial row still carries the date). Web tolerance in MR1 (because MR1’s preview already shows the recert window): thereopen_panel.rssites above and the process-page headingtemplates/applications/process.html:62"Reopen within 60 days" becomes kind-aware from the preview’sapplication_kind— "Reinstate within 30 days after the certification period" for a recertification (MR1’s heading; MR2’s variant takes §8’s title "Reinstate the denied renewal (7 CFR 273.14(e)(2))" and the 30-day sentence opens the intro — the MR1 heading pin follows the copy; #1731). Auth class: Worker read (require_service_or_exchanged(CASEWORKER_OR_ABOVE_ROLES),reopen_reads.rs:58), unchanged. -
Saga (
reopen_saga.rs:40-45,396-453): steps unchanged —local_reopen→void_later_snap_episodes(a laterinitialre-application of the same household filed inside the window IS voided with the existingsuperseded_by_reopenletter: the reinstatement supersedes the duplicate, 3105:475-479 by analogy) →cancel_void_side_records→dispatch_determination(programs=["snap"], evaluated at legal-today; the block carriesapplication_kind). Driver legcanopy-applications.reopen-sagaunchanged (no new drain). -
Renewals determination subscriber (
services/canopy-renewals/src/determination_subscriber.rs:99-139on 9eda862b —handle:112-132,recert_reinstatement_arm:388-432after MR2; newrecert_reinstatement_armbesideexpedited_arm(:150-162,:180-191after MR2, whose_ ⇒ Nonekeeps it non-exhaustive), MR1 dormant).handlebecomes a KIND DISPATCH (r2-data F9): expedited → today’s chain (the replay + causal guard inline, as now);recert_reinstatement→ the arm below (the replay belt WITHOUT the causal guard); anything else → ack — todayhandlereturnsOk(())as soon asexpedited_armisNone(:108-111), so the dispatch happens BEFORE that early return. The full contract, under the household advisory lock, in one tx:-
Replay FIRST (step 1 as rendered — r6-data F1’s "step 0", the label §9 and the Round 6 record keep):
store::find_certification_by_determination(tx, evt.determination_id)(services/canopy-renewals/src/store.rs:138;:168after MR2) →Some→ ack — thedetermination_subscriber.rs:117-124shape ("a replay of THIS determination is answered here, before the causal guard"); only then locate the lapsed cert. What step 0 guards (§9): a same-id redelivery of a COMMITTED event (commit-before-ack) never reaches the handler — the canopy-mq inbox’sINSERT … ON CONFLICT (event_id) DO NOTHINGclassifies itAlreadyProcessedand acks without running the handler (crates/canopy-mq/src/inbox.rs:131-135,:166;subscriber.rs:1063-1071), and the #433 re-publish this page prescribes as the operator remedy re-emits onlyprocessed_at IS NULLrows (replay.rs:98), i.e. deliveries that never committed — on those nothing was retired, step 0 findsNoneand the arm proceeds as on a first delivery. Step 0 is therefore the belt for the one path the inbox cannot dedup: the same determination re-emitted under a NEW envelope id after a committed first delivery has already retired the lapsed cert toexpired(step 4 below) — without it that re-emission would re-enter the locate step and find "none → DLQ". -
Locate the lapsed cert by
snap_certifications.renewal_application_id = evt.upstream_application_id(U-RC-A’s projection) through the NEWstore::find_certification_by_renewal_application(tx, application_id)(r10-data F6) — predicaterenewal_application_id = $1 AND active = true(the sibling’s shape,store.rs:168-180; NO status filter); none → DLQ, TERMINAL BY DESIGN (r3-data F8): U-RC-A tolerates a dropped projection (rows = 0→ WARN metricrenewal_filing_not_applied+ ack, U-RC-A §4.3), so a renewal whose projection never landed can still be denied and cured; its reinstatement then DLQs and the OPERATOR remedy is the #433 replay of that application’sapplication.submittedevent (the projection UPDATE is idempotent — replay → 1 row), then the replay of the parked determination event; the arm does not fall back torenews_certification_id(one locator, one projection — U-RC-A’s WARN metric names the row so the gap is visible before any cure); any OTHER in-force cert for the household → DLQ (unreachable: U-REOPEN’s "no later approved episode" precondition,store/reopen.rs:526-544, plus the saga’s void step). A cert FOUND but not in force (r12-data D12-2 — DECIDED): the located cert isrecertifyingon every ordinary path (the projection setsstatusandrenewal_application_idin one UPDATE, U-RC-A §4.3) and nothing expires it — butrecertifyingis in the terminated consumer’s INCLUDE class (continuation/terminated.rs:89, U-RC-A §4.4), so an adverse-action termination inside the old period can leave itterminated(or a later supersedeexpired) withrenewal_application_idstill set;status <> 'recertifying'→tracing::warn!recert_reinstatement_renewed_cert_not_in_force(+ the metric of the same name, with the cert id and theapplication_id), step 4 is SKIPPED (the retirement — status +renewal_determination_idstamp — is a no-op: nothing in force to retire) and the arm CONTINUES to step 5: the NEW certification is STILL minted and the event acked — the household’s reinstated benefits never wait on an audit nit (a DLQ would block them, with no operator remedy: no replay makes a terminated cert in force). Arm R (the reopen write) does NOT refuse on the old cert’s state (the reopen is about the application; renewals owns the cert). Pinned §9. -
NO causal guard on this arm — the reopen saga is the sole producer, the lapsed cert is retired by design, and
snap_certs_one_per_determinationis the replay belt. The arm’s doc-comment states WHY: the lapsed cert’s lineage is HTTP-minted withdetermined_at = None(cert_create.rs:60-63"the HTTP path leaves itNone`") and the reopen dispatch carries no `previous_determination_id, socanopy_common::causal::supersedes(causal.rs:46-56:previous == Some(current.id) || current.determined_at.is_some_and(|at| incoming.determined_at > at)) would be FALSE and the finding-29 guard would silently drop every reinstatement (WARN + ack, zero writes — r1-data F7, BLOCKER). Pin: HTTP-minted lapsed cert +previous_determination_id = None→ the cert is minted. -
NEW
store::retire_renewed_certification(tx, cert_id, renewal_determination_id) → u64:UPDATE snap_certifications SET status = 'expired', renewal_determination_id = $2, updated_at = now() WHERE id = $1 AND status IN (IN_FORCE) AND active = true; 0 rows → DLQ (reachable only when step 2 found the cert in force and the CAS still missed — an invariant breach under the household lock; the found-but-not-in-force case never reaches this step, r12-data D12-2).supersede_active_certifications(store.rs:95-122) keeps its signature — its blanket household supersede insidecreate_with_supersedethen finds nothing in force. This is the ONLY writer ofrenewal_determination_id(U-RC-A §11 stays true: non-reinstatement approvals are never stamped). -
create_with_supersede(cert_create.rs:158-200) withNewCertification(:50-63){ household_id: evt.household_id, application_id: evt.upstream_application_id.ok_or(DLQ) (already typed `Option<canopy_common::id::ApplicationId>,crates/canopy-contracts-snap/src/events.rs:133— no conversion; r7-data F7; NOT the snap-localevt.application_idthe expedited arm converts at :177; see the frame’s R4 issue 4), determination_id: evt.determination_id, certification_start_date / _end_date: evt.effective_date / evt.expiration_date (DLQ if absent), certification_type: Standard, noe_recipient: evt.person_id.map(PersonId::from) (pass-through, no DLQ — inert for a ≥3-month cert;require_noe_recipientat :170-171 remains the 422 belt for a ≤2-month cert), determined_at: evt.determined_at (alreadyOption<DateTime<Utc>>on both sides —contracts-snap events.rs:108,cert_create.rs:62; REQUIRED here:None→ DLQ, the #1014 posture) }`. -
Idempotent on
snap_certs_one_per_determination(replay →Existing→ ack).Every other recert approval (timely/untimely, non-reinstatement) stays on the worker
POST /v1/renewals/snap/certifications— out of scope (SME item 6). Auth class: subscriber.
-
-
Enrollment (
auto_enroll.rs; MR1 dormant):validate_for_enrollmentaccepts the kind (no basis-specific assertion — the expeditedbenefit_effective_date == filing_datecheck :283 does not apply); provenance persisted :143-176; a NEW enrollment row (the prior isexpired);first_issuance_plan:538-560 anchors onprovenance.benefit_effective_date→issuance::initial_month_decision→prorate_month_from(issuance.rs:93) withinitial_proration_minimum(initial_month_decision,:160-174; r5-impl N3) APPLIED to a prorated month (SME item 4; a day-1 anchor — the pre-end cure’send + 1— prorates to the full month, so the floor cannot bite there). If the cure lands before the sweep expired the prior enrollment (cure on the day after the period end before the daily tick, or the PRE-END cure of a worker early denial while the prior enrollment is still live), the approval PARKS on the one-live fence (auto_enroll.rs:482-507;enrollment_write_error:484-503after MR2, durable #1130 disposition) and the parking substrate’s replay after the sweep enrolls it exactly once — accepted, pinned (SME item 5). No restoration of gap months (#1113).
5. Events + cutover order
| event | change | cutover |
|---|---|---|
|
NEW basis VARIANT |
two-step: MR1 every typed consumer tolerates — the grep-derived table below (the enumeration IS |
|
ADDITIVE |
additive; both manifests forward the keys in the same MR |
|
ADDITIVE |
NO consumer parses |
|
unchanged; emitted by the arm |
— |
MR1 typed-consumer table (crate/file:line → change; MR1’s acceptance criterion is cargo clippy --all-targets — -D warnings clean with the variant present + every listed test green):
Site (rg -n "ApplicationReopen" --type rust --type ts plus rg -n '"application_reopen"' --type ts and --type rust; the spec’s :833 / :941 intake assertions are no-change hits; the rust snake-token grep’s seven hits are effective_date_basis.rs:133 / :304, envelope.rs:492 / :502, derivation.rs:958, event_routing.rs:699 — inside rows below — and postponement_repeat_gate.rs:420, its own row; r10-data F7, r11-impl F4) |
MR1 change |
|---|---|
|
NEW |
|
a second per-kind RFC 8785 present-fields KAT pinning the frozen |
|
strategy arm for the new variant |
|
each roundtrip fixture set gains the variant |
|
:2135-2151 gains the arm (otherwise |
|
add |
|
MR1: compiles unchanged ( |
|
no match to widen; MR1 pins that an approved |
|
NEW dormant |
|
add |
|
arm: "benefits from <benefit_effective_date> — reinstated renewal, 7 CFR 273.14(e)(2)" |
|
matches BOTH episode-bearing kinds (§3); pin in |
|
|
|
NO change — |
seeds / |
NO change FOR THE BASIS — no |
6. Notices
-
noa-denial(theapplication.denied.snaproute withnotice_type = "notice_of_action",template_key = "noa-denial",rulesets/georgia/notices/manifest.toml:555-567+ the default twin; templatessnap/noa-denial.typin BOTH rulesets; MR1):program_data_keysat :567 (["reason", "legal_filed_date", "reopen_deadline_date"]) gainsapplication_kind,renewal_certification_end_date,reinstatement_period_start,reinstatable,reinstatement_window_openin both manifests. The administrative arms branch onapplication_kind(read asinputs.at("application_kind", default: "initial")— r5-policy F5) — initial: the 273.2(h)(2) 60-day sentence as today; recertification: ONE template branch onapplication_kind × reinstatable × reinstatement_window_open, IDENTICAL logic in both rulesets, the two bools PRODUCER-derived (§5; r5-policy F2, overriding the round-1/round-3 "template prose per ruleset per reason" ruling — the page’s own Notices-1 rule governs: comparisons belong to the producer, and a template that re-derived reinstatability from thereasontoken would be a second, unsynchronised home for a jurisdiction policy fact that an operator wideningrecert_reinstatable_denial_reasonscould not keep truthful):reinstatable ∧ reinstatement_window_open→ the two-date reinstatement sentence "If you <action> by <reopen_deadline_date>, your renewal will be processed without a new application. Benefits begin on the later of the day you complete it and <reinstatement_period_start>." (7 CFR 273.14(e)(2)) — both dates riding the event, no conditional; otherwise (¬reinstatable— georgia’s and default’smissed_interviewby PARAM — or¬reinstatement_window_open, the window that closed before the denial, r2-policy F4) → "A new application is required if you want to receive SNAP again", georgia’s copy adding the cite "(PAMMS SNAP 3710 Chart 3710.1)" and default’s copy carrying none (the reference-copy sentence without the PAMMS cite — default mirrors georgia’s LIST through the param, not through prose; not a federal statement — r2-policy F6, r3-policy F11); the per-reasonprose keeps ONLY the action name ("complete your interview" / "provide the requested verification"). The branch is applied at BOTH of the template’s reopen-by sites (r10-policy F1 — MAJOR, DECIDED):noa-denial.typprintsreopen_deadline_datetwice — the:83-106"You Do NOT Need a New Application Before <reopen-by>" block above, AND the:108-123"What You Can Do" bullets, whose reason-branched entries (:112-120; the interview bullet:113-115, the verification twin:117-119) end "… eligibility interview#if reopen-by != none [ by #pretty-date(reopen-by) to keep this application open]" — gated today ONLY onreopen-by != none(:46readsinputs.at("reopen_deadline_date", default: none)), not onapplication_kindand not on the block’s branch; identical inrulesets/default/notices/snap/noa-denial.typ(the two files are byte-identical). Becausereopen_deadline_dateis present on EVERY recert denial (row 13’s 2026-09-30; the 12-31 filer’s 2027-01-30 withreinstatement_window_open = false), an unbranched bullet would print "A new application is required" AND "Complete Your Interview — … by September 30, 2026 to keep this application open" on the same georgiamissed_interviewletter — the false right SME 10 forbids. So the bullets branch on the SAMEapplication_kind × reinstatable × reinstatement_window_openin both rulesets: in every recert cell other than (reinstatable∧reinstatement_window_open) the bullet prints the action name with NOreopen_deadline_dateand NO "to keep this application open", and "Reapply" (:121) is the operative bullet; in the recert (true, true) cell the bullet prints the action name + "by <reopen_deadline_date>" with the SAME reinstatement clause the:83-106recert branch uses ("your renewal will be processed without a new application") — the two sites stay byte-consistent, and NEVER the initial-application "to keep this application open" doctrine, which is 273.2(g)/(h) reopen language, not 273.14(e)(2) reinstatement; the initial-application cells at both sites are unchanged. The event keepsreopen_deadline_date(a producer fact; no event change). A letter may never print a right its date — or its jurisdiction — does not match. Key-read discipline:reinstatable/reinstatement_window_open/reinstatement_period_start/renewal_certification_end_dateare read INSIDE the recert branch (typed booleans,== true), never at top level; therenders_snap_*_with_placeholder_inputsgate gains itsnoa-denialtwin here (frame Notices 1; r10-policy F5). Source pins + stream-body differentials realise the §9 text assertions until a PDF-text harness exists (canopy-typst returns bytes only; no text-extraction dep in the tree). Agreement pin (MR1, kept as the BELT): for each ruleset, the set of reasons whose rendered recertification letter (window open) carries the reinstatement sentence == the loadedrecert_reinstatable_denial_reasonsvalue (a table-driven render pin that drives the producer + template pair from the ruleset’s param), so a regression in either the publisher’s bool or the template’s branch fails in CI. Render pins:noa-denial× recertification × {reinstatable, not} × {window open, closed} × both rulesets — with the two-site negatives of §9 (every recert cell other than (true, true) contains NEITHER thereopen_deadline_datestring NOR "keep this application open"; the (true, true) cell carries the date at both sites and "keep this application open" nowhere; r10-policy F1) — plus the absent-application_kindcell (§9). -
Reinstatement approval: rides the EXISTING status-only
noa-approvalentry (georgia manifest :413-424 — theheader is:413; r9-impl N2 — + the default twin) — NO manifest entry and NOevent_routing.rschange:basis_kind_tierfalls through (or_else) tostatus_tier(event_routing.rs:292-300), so an approval with an unknown kind routes tonoa-approval; the routing test at :699 pins it (§5 table). No new letter. Thesuperseded_by_reopenvoid letter (U-REOPEN) applies unchanged to a voided duplicate re-application.
7. Params + citations
Owned here (MR1), ALL FOUR rulesets [snap.certification] beside recert_timely_filing_day (rulesets/georgia/jurisdiction.toml:192, default :189, test-min :128, test-max :131). Every pin carries the five REQUIRED fields the frame ledger names (r3-policy F3, r6-policy F3, r7-policy F2): value (= the "value" column below, per ruleset; citation.rs:387-391 reports MissingField { field: "value" } without it), authority (citation.rs:52, a non-Option String), source_ref (a bare String, citation.rs:54; empty → MissingField { field: "source_ref" }, :494-499 — a cargo xtask policy audit error, this MR’s acceptance criterion), effective_date (citation.rs:60, a non-Option String) and verified_date (citation.rs:66, a non-Option String — load_manifest is a plain toml::from_str, :312-316, so a pin without it fails the WHOLE manifest’s parse; verified_date = the MR date on every georgia AND default pin below; test-* pins: effective_date = "2026-01-01", verified_date = the MR date, verified_by = "fixture-design (<child-issue>)" — the committed fixture convention, test-min/citations.toml:507-513; the fixture appendix states no date — r10-policy F4) — the pamms pins (georgia’s three and default’s reasons + SOP pins) effective_date = "2026-06-01" + manual_transmittal = "MT-87" from the cached chart’s header (3710.adoc:3-4 :effective-date: June 2026 / :mt: MT-87) — the MT-87 date rather than the 2023-11-01 the sibling recert_timely_filing_day pin carries for the same source_ref and source_sha256 (georgia/citations.toml:958; both pass the audit) because the chart’s denial and reinstatement rows are MT-87 content (r6-policy F7); the federal pins (two keys, three entries: recert_interview_verification_headroom_days in georgia + default, recert_reinstatement_window_days in default) effective_date = "2025-10-01" — the FY2026 start, the value the tree’s existing 273.14(b) pin carries (shared.timing.renewal_advance_notice_days, rulesets/georgia/citations.toml:2209-2217: effective_date = "2025-10-01" :2213 beside federal_citation = "7 CFR 273.14(b)" :2214; the 273.12(a)(5) federal twin at :96-103 and the 274.2(h) pin at :2219-2226 use the same value; r4-policy F5); the fixture pins effective_date = "2026-01-01" + verified_date = the MR date + verified_by = "fixture-design (<child-issue>)" per test-min/citations.toml:507-513 (r10-policy F4). Boot checks in the applications loader (load_recert_reinstatement_params, §3 Policy inputs; ADR-011 fail-fast — refuse at boot, never clamp; each pinned by a loader test; r4-policy F4): recert_reinstatement_window_days ≥ 30 (7 CFR 273.14(e)(2) "30 days after the end of the certification period" — the household’s right may not be shortened; the load_denial_params ≥ 60 precedent, params.rs:78-82); recert_interview_verification_headroom_days ≥ 10 (273.14(b)(3)(iii)) and ≤ 28 (an OPERATIONAL SANITY CAP on a day COUNT subtracted from the end date — not the day-of-month rationale of the 1..=28 recert_timely_filing_day check, renewals params.rs:176-193, which must exist in every month; the bound degrades to the G4 advisory anyway once unachievable — r5-policy F10); recert_reinstatement_sop_workdays ≥ 1; recert_reinstatable_denial_reasons non-empty and every token ∈ AdministrativeDenialReason::ALL (administrative_denial.rs); a ruleset with recert_reinstatement_window_days = 14 therefore never boots and never prints an unlawful date:
| key | value (georgia / default / test-min / test-max) | citation | consumers |
|---|---|---|---|
|
30 / 30 / 30 / 30 |
georgia: |
MR1’s denial writers (U-RC-B pins), U-RC-B’s NOMI publisher ( |
|
5 / 5 / 5 / 5 — boot check |
georgia: |
MR2’s |
|
|
georgia: |
MR2’s kind arm (the reason gate), MR1’s GET preview, MR1’s two denial publishers ( |
|
10 / 10 / 10 / 10 — boot check |
georgia + default: |
U-RC-B’s recert G4 second bound |
Consumed, not owned: snap.issuance.initial_proration_minimum_cents + snap.issuance.proration_rounding (enrollment, issuance.rs:19-27, main.rs:133-144), snap.determination.standard_certification_months (canopy-snap), jurisdiction.holidays (the WorkdayCalendar). cargo xtask policy audit clean in MR1 (completeness + consistency + reverse-completeness); the pin MR verifies only its FOUR pins move. Nothing here is provisional: the cached chart was read (hash above) and quoted in §1.
8. BFF-UI slice (MR1 tolerance + the worker-denial recovery copy; MR2 the reopen variant)
-
canopy-web’s existing reopen action surface (U-REOPEN-c:
POST /applications/{id}/snap/reopen,…/snap/reopen/resume,…/snap/reopen-attestations; WritePermission + CSRF + ProgramScope(snap); preview + history fetched SERVER-SIDE while the process page renders) gains the recertification variant: the panel title "Reinstate the denied renewal (7 CFR 273.14(e)(2))", the window "complete the action by <reopen_deadline_date>", the anchor "benefits from the later of the action date and <reinstatement_period_start>", the SOP "decision due <episode_processing_deadline>" (the "(5 workdays)" parenthetical is a ruleset figure canopy-web does not hold and does not print — r3-policy F9; the two dates the sentences need ride the additive preview fields of §4.3, filled by the producer; every recert-variant date is a<time datetime>element, the intake panel’s byte pins untouched; #1731); the panel keys every copy choice onblocked_byand the affordance onreopenable, never onreinstatable— which is the event’s factreason ∈ listand readsSome(true)in the window-closed and not-active cells too (r7-impl F2); when the preview saysreopenable: false,reinstatable: Some(false)withblocked_by = "denial_reason_not_reinstatable"the panel renders the AUTHORITY-NEUTRAL copy "A new application is required — this denial reason is not reinstatable in this jurisdiction" (canopy-web is ruleset-agnostic; the PAMMS cite is the georgianoa-denialtemplate’s alone; r3-policy F9) with the file-application affordance INSTEAD of the reopen action, and withblocked_by = "reinstatement_window_closed""The reinstatement window closed on <window_closes_on>, before the denial — a new application is required" (rendered byblocked_reason, a&'static strtable, as the paraphrase "the reinstatement window closed before the denial (see the window date above) — a new application is required" — the date is printed by the window<dl>, the prose points at it) (the preview’s code; the WRITE’s arm-R window refusal answers the existing 422window_closed, andapi/actions_reopen_copy.rs(reopen_refusal_copy,:16) maps BOTH codes to that recert copy on a recertification row — U-RC-C §3; r10-data F3 — and the cure-row refusal prose does the same (refusal_prose_for:window_closedon a recertification row prints the reinstatement-window sentence, never "60-day"; #1731); MR1 already adds its 409recert_reinstatement_not_activearm, "Reinstatement of a denied renewal is not yet available." — the U-RC-A precedent for coded fences, retired by MR2 with the fence), — and the reopen panel carries NOinterview_not_satisfiedrecovery cell (r8-policy F1, narrowing r7-policy F3): that code is unreachable on the reopen write for a recertification row deniedverification_not_providedby either writer (§3 arm table; under a both-reasons ruleset anattestationcure of amissed_interviewdenial with the interview outstanding reaches it — the correct refusal, rendered as the generic coded refusal below), and a cell offering the interview schedule affordance would 409 on a terminal row (snap_sop_for_guardsrefuses everyTERMINAL_PROGRAM_STATUSESrow withprogram_terminal,api/interviews.rs:125-132;deniedis terminal,domain.rs:127-128) — BFF rule 2’s "never dead ends" is met by removing the state, not by a cell; should the belt ever answer (a hand-seeded row) the panel renders the generic coded-refusal copy ofapi/actions_reopen_copy.rs(reopen_refusal_copy,:16) with no affordance. Theinterview_not_satisfiedrecovery copy lives instead on the WORKER DENIAL action (MR1):deny_application(services/canopy-web/src/api/applications.rs:1327, posting to…/administrative-denialat:1360and mapping the upstream(status, code)pairs to copy) renders, for averification_not_provideddenial of a recertification row with the interview outstanding, "complete or waive the interview before denying a renewal for verification" with the interview schedule affordance (a TEXT pointer at#interview-panel— the fragment escapes markup, the sibling shape of everydenial_refusal_copyarm) — the row is live, so schedule is reachable; the MR1 preview’srecert_reinstatement_not_activerenders "reinstatement not yet available" only between MR1 and MR2. The blocked view on a recertification row (EpisodeOpen/NotDenied/LaterEpisodeApproved) renders the RECERT window from the preview’s per-arm dates (§4.3):process.html:73-79's<dl data-reopen-window>shows "Reopen window closes <renewal_certification_end_date + window>" (or the snapshot when a denial row is in hand) with thestandard_period_ends_onpair omitted, under the kind-aware:62heading — never "Reopen within 60 days" /filed + 60(r8-data F1); pinned inreopen_panel.rs'spanel_viewtests (§9). MR1 already carries the panel’s tolerance of the recert preview contract (§4.3: the eight code-sitestandard_period_ends_onsweep —reopen_panel.rs:173conditional formatting, theprocess.html:77pair omitted whenNone, the TS type made optional (r11-data D3); theprocess.html:62heading kind-aware) — MR2 adds the variant proper. Refusal copy keyed on the RFC 9457code(api/actions_reopen_copy.rs). Disposition banner (a page-unstated MR1 addition, for the owner’s confirmation): after the deny-half lift the DENIED banner (disposition_banner.rs,process.html:36) would print the 273.2(h)(2) reopen sentence on a recertification denial — SME 10’s false-right class — so MR1 prints a kind-aware, date-less pointer on arecertificationrow ("See the reinstatement panel below for the 7 CFR 273.14(e)(2) right."); the initial banner is unchanged. -
Determination view:
effective_notefor therecert_reinstatementbasis (MR1, tolerance). -
A11y: dialog keyboard-operable with focus trap + return-to-trigger; window/anchor/SOP dates rendered as text with
<time>datetime attributes; errorsaria-describedby; success/failure announced via live region; status chips never colour-only.
9. Tests
-
Proptest (mandatory): kind-arm totality — arbitrary
(cert_end, denial_date, cured_on, reason, reinstatable_reasons)forrecertificationlands in exactly one of {arm R, reason-refused =WindowRefusal::ReasonNotReinstatable(422denial_reason_not_reinstatable), window-refused =WindowRefusal::Window(the write’s 422window_closed;reinstatement_window_closedis the preview’sblocked_byonly), guard-refused =WindowRefusal::Guard(422before_denial)} (thewindow_refusal_codemap,api/reopen_support.rs:386-388; r10-data F3); invariantsreason ∉ list ⇒ reason-refusedregardless of dates,reopen_deadline_date < denial_date ⇒ window-refusedfor everycured_on(the window closed before the denial),benefit_effective_date = max(cured_on, cert_end + 1),benefit_effective_date > cert_end,episode_processing_deadlineis a workday≥ cured_on— UNCONDITIONALLY, the forward roll of §3 makes it hold (r4-policy F3),cured_on ≤ standard_processing_deadline ⇒ episode_processing_deadline ≤ standard_processing_deadline(r2-policy F5, conditioned on the SOP rather than the end: forSOP < cured_on ≤ cert_endthe deadline isfirst_workday_on_or_after(cured_on), which a weekend end can push past the SOP — the 10-31 → 11-02 example), the loader’s four boot checks (window ≥ 30,10 ≤ headroom ≤ 28,sop_workdays ≥ 1, reasons non-empty ∧ known — each refused value pinned; r4-policy F4), andinitialinputs reproduce the A/B table unchanged with the param-recomputed window; basis serde/KAT roundtrip incl.kind() == "recert_reinstatement"andcontinuation_class() == false; proration-from-action-date (extendissuance.rs:326-401/:501-578: anchor day monotone, floor honoured, day-1 anchor = full month). -
Truth tables = the spec: §3 kind-arm table (integration,
services/canopy-applications/tests/reopen_http_test.rs) under test-max’s BOTH-reasons param — incl. the interview-cure arm (the policy fn is pure) — with the FIXTURE-DIVERGENCE pin (r10-policy F4): the samemissed_interviewrecert denial cured byinterview_completedanswers 422denial_reason_not_reinstatableunder test-min (["verification_not_provided"]) and reinstates (arm R) under test-max (the live suite runs against the devstack’s GEORGIA service and the in-process harness reads a process-global env at build, so the divergence pin —recert_reinstatable_reasons_test.rs— loads the test-min / test-max params directly and drives the pure fn +recert_write_gates; the georgia cells stay live; #1731) — and the PRE-END worker early denial of a timely filer (verification_not_providedon 08-20, cure 08-26 Wed →benefit_effective_date = 2026-09-01, the full initial month, andepisode_processing_deadline = 2026-08-31— capped at the row’s SOP, not 09-02) plus its non-workday twin (end Sat 2026-10-31, SOP 10-30; the worker’s early denial; cure Sat 10-31 →benefit_effective_date = 2026-11-01,episode_processing_deadline = Mon 2026-11-02— the forward roll, r4-policy F3; calendar-shaped and future-dated cells are UNIT pins (recert_arm_edges— the Sat/Mon roll and the 2027 window row) because the live suite cures on the fixed fleet day or an attestation date ≤ today: the live twins are the attestation-dated 08-26 cell, a 07-31 window-closed row and a relative-date LEG twin — the live table proves the arms; #1731) AND the LEG-DENIED twin of that row (end Sat 2026-10-31, SOP 10-30; the day-30 leg’s ownDenyVerificationNotProvidedon the 10-30 tick — a pre-end denial by the LEG, not the worker; cure Sat 10-31 →benefit_effective_date = 2026-11-01,episode_processing_deadline = Mon 2026-11-02— the same cells, pinned separately so both pre-end writers are covered; r5-policy F7) and the WINDOW-CLOSED-BEFORE-DENIAL row (period ending 2026-12-31, untimely filing 12-31, day 30 = 2027-01-30 Sat → denied Mon 2027-02-01 withreopen_deadline_date = 2027-01-30,reinstatement_window_open = false; every cure → window-refused; the previewblocked_by = "reinstatement_window_closed") — plus the georgia refusal (missed_interview→ 422denial_reason_not_reinstatable; anattestationcure of averification_not_provideddenial → arm R); the WORKER WRITER’s interview precondition (MR1,services/canopy-applications/tests/administrative_denial_test.rs; r8-policy F1, r11-impl F5):POST …/administrative-denialwithreason = verification_not_providedon a recertification row whose interview is neither completed nor waived → 422interview_not_satisfied, NOadministrative_denialsrow, NOapplication.denied.snap, NO letter; the same row afterinterview/complete(service token) orinterview/waive→ the denial is WRITTEN with the kind-aware snapshot; aninitialrow with the interview outstanding → denied as today (the intake writer unchanged);reason = missed_interviewon a recertification row → unchanged (evidence-driven); the ARM-R BELT (MR2; r7-policy F3 as narrowed by r8-policy F1): a HAND-SEEDEDadministrative_denialsrow (reason = verification_not_provided, inserted by the test on a recert row with nointerview_completed_atandinterview_waived = false— a state neither writer can produce from MR1 on) → the verification cure answers 422interview_not_satisfied, nothing written, and the GET preview answersreopenable: false,reinstatable: Some(true),blocked_by = "interview_not_satisfied"; afterinterview/complete→ arm R andreopenable: true(the preview/write agreement pin, §4.3); the same test asserts the belt is UNREACHABLE through the writers on that row, in this order: BEFORE the hand-seeded denial (the live recert row, no interview scheduled, a past-due item) the leg classifiesPendNoInterviewScheduled, neverDenyVerificationNotProvided(classify,day30_policy.rs:169-171,:180) and the worker route answers the 422 above; only then is theverification_not_provideddenial seeded — adeniedrow is outsideDAY30_SCAN_SQL(store/day30.rs:48), so the leg never classifies it; under test-max’s both-reasons list anattestationcure of amissed_interviewdenial with the interview outstanding → 422interview_not_satisfied(the belt’s one writer-produced cell, §3); the REASON PARSE posture (r7-data F3): anadministrative_denialsrow whosereasonholds a CHECK-impossible token (the CHECK dropped inside the test transaction) → the reopen write, the preview and both publishers fail with a redacted 500 (thedecode_driftshape), neverreinstatable = false, never a 422; the denial snapshot by kind at both writers through the onedenial_reopen_righthelper (a unit table over both kinds —initial → legal_filed_date + denial_reopen_window_days,recertification → renewal_certification_end_date + recert_reinstatement_window_days; r4-impl F3 — the window-open bool is the publisher pin below, not a helper output; r5-data F10) — AND the lift of the DENY half of U-RC-A’s dormant fence (MR1,services/canopy-applications/tests/day30_enforce_http_test.rs:802-882— the live deny-half twin;scheduler_run_http_test.rscovers the pend arm 6 only — +services/canopy-applications/tests/administrative_denial_test.rs; r3-data F1, r4-data F1): the recert row U-RC-A pinned askind_deferredonDenyVerificationNotProvided(interview completed by the service-only path, checklist item past due — the only deny arm reachable while the interview fence stands, cutover window analysis) is now DENIED on that tick withreopen_deadline_date = renewal_certification_end_date + recert_reinstatement_window_days,reinstatement_window_open = trueand the ledger readsapplied; the same row on a PEND arm (arm 6 never scheduled; arm 3a/3b) STILL returnskind_deferredwith the metricday30_recert_deferred— no episode, no letter, clocks unchanged (the pend half is U-RC-B’s); the workerPOST …/administrative-denialon a recertification row now writes the denial with the same snapshot once the interview is satisfied (the 409recert_denial_not_activeis GONE; theverification_not_provided422 with the interview outstanding is the writer-precondition pin above);POST …/interview/scheduleon a recertification row still answers 409recert_interview_not_active(the interview fence is U-RC-B’s); an initial row unchanged; the preview contract’s absence tolerance — aReopenEligibilityPreviewJSON withoutapplication_kinddeserialisesNone(≡ initial) on canopy-web (r6-data F3); the MR1 fence (409 on the write + attestations; the preview’s MR1 cells — georgiamissed_interview→reopenable: false,reinstatable: Some(false),blocked_by = denial_reason_not_reinstatablealready in MR1; averification_not_providedrow →reopenable: false,reinstatable: Some(true),recert_reinstatement_not_active; window closed →reopenable: false,reinstatable: Some(true),reinstatement_window_closed—reinstatableis the event’s fact in every DENIED cell (Noneon the threeNotReopenablearms, below), r7-impl F2; unchanged on initial — r3-impl F8); the preview on theNotReopenablearms for a RECERTIFICATION row (MR1; r8-data F1) — theEpisodeOpencell (a recert row with an open episode:application_kind = Some(Recertification),reopenable: false,blocked_by = "reopen_episode_open",reinstatable = None,window_closes_on = renewal_certification_end_date + recert_reinstatement_window_days,standard_period_ends_on = None,legal_denied_date = None) and theNotDeniedcell (a LIVE recert row: the same shape withblocked_by = "not_denied") inreopen_http_test.rsbeside the intakenot_deniedpin at:1376-1395, which keeps assertingwindow_closes_on = filed + windowfor an INITIAL row (kind-scoped, not weakened), and the panel’s blocked view inreopen_panel.rs(panel_view,:159; besidepanel_view_degrades_without_inventing_a_cure_or_a_date,:417-443): a blocked recert preview renderswindow_closes_onfrom the recert date, an EMPTYstandard_period_ends_on(theprocess.html:77pair omitted) and the kind-aware heading; the record-back settle for the new kind. -
Race + idempotency pins: duplicate reopen POST same key → one episode; concurrent distinct keys → one 201 + one 409; renewals arm replay (r6-data F1) — the pin drives a redelivery of the SAME event after the first delivery COMMITTED: the second delivery answers at step 0 (
find_certification_by_determination→Some→ ack) with one cert (snap_certs_one_per_determination) and the lapsed cert retired toexpiredexactly once withrenewal_determination_idstamped byretire_renewed_certification, no other cert stamped; a redelivery of a committed event under the SAME envelope id never reaches the handler at all — the canopy-mq inbox’sINSERT … ON CONFLICT (event_id) DO NOTHINGclassifies itAlreadyProcessedand the handler is not run (crates/canopy-mq/src/inbox.rs:131-135,:166; the module doc:18) — so step 0 is the belt for the #433 remedy (which re-publishes only UNPROCESSED rows, i.e. a delivery that never committed) and for commit-before-ack; the locate step’s "none → DLQ" is reachable only on a FIRST delivery; the arm mints from an HTTP-minted lapsed cert (determined_at = None) withprevious_determination_id = None(the no-causal-guard pin); a missingupstream_application_id/determined_at/ period → DLQ; the FOUND-BUT-NOT-IN-FORCE cell (r12-data D12-2): the test seeds arecertifyingcert, TERMINATES it (the terminated consumer’s path,continuation/terminated.rs:89) withrenewal_application_idstill set, then delivers the reinstatement determination → the arm mints the NEW cert, WARNsrecert_reinstatement_renewed_cert_not_in_forceexactly once, the metric of that name +1, the old cert unchanged (norenewal_determination_idstamp), no DLQ, the event acked; the reopen write on that row was never refused for the old cert’s state; enrollment park → sweep → replay → exactly one live enrollment (both the post-end-before-tick and the pre-end cases); saga crash-between-steps resume. -
Cross-service pins: the signed
recert_reinstatementbasis +benefit_effective_dateridedetermination.completed.snap→ enrollment provenance → first issuance prorated from the action date (21/30 for a 2026-09-10 anchor becauseprorate_month_fromprorates over the CALENDAR month —issuance.rs:98-100days_in_month(anchor_date), the fn at:249-258; September has 30 days, an October anchor would be x/31 —proration_month_dayshas no Rust consumer and is not the source of the 30; r8-policy F6); the $10 floor suppresses a sub-minimum prorated month while the cert stands; canopy-snap signseffective = benefit_effective_date,expiration = effective + certification_months − 1 dayand prices fromas_of; a voided duplicate re-application gets one void letter. -
Render pins (the matrix is over the PRODUCER bools, not over
reason— r5-policy F2):noa-denial× recertification × {reinstatabletrue, false} × {reinstatement_window_opentrue, false} × both rulesets — ONLY the (true, true) cell prints the two-date reinstatement sentence; every other cell prints "A new application is required if you want to receive SNAP again" (georgia with the PAMMS cite, default the reference-copy sentence without it — r3-policy F11); the TWO-SITE negatives (r10-policy F1 — the "What You Can Do" bullets,noa-denial.typ:108-123, branch with the:83-106block): every recert cell other than (true, true) contains NEITHER thereopen_deadline_datestring (the renderedpretty-dateof the event’s date, e.g. "September 30, 2026") NOR "keep this application open" anywhere in the letter, and "Reapply" is present; the (true, true) cell contains the date at BOTH sites (the block and the bullet) and "keep this application open" nowhere; the initial-application cells are unchanged (the existing pins); ×reason∈ {missed_interview, verification_not_provided} only for the action name; the initial kind unchanged; the ABSENT-application_kindcell renders the initial branch (r5-policy F5); the §6 agreement pin per ruleset (the belt: the loaded param drives the producer bool that drives the sentence) — source pins + stream-body differentials realise these text assertions until a PDF-text harness exists (the date across two values reaches the page iff the PDF stream bodies differ; the initial cells are byte-identical across rulesets, the recert cell differs by the cite);noa-approvalfor the new kind via the status-only route; and the publisher pin — for both writers the event’sreinstatable/reinstatement_window_openequalreason ∈ list/reopen_deadline_date ≥ legal_denied_datecomputed from the stored row (r5-data F10). -
Flow spec
tests/e2e/specs/flow-snap-recert-reinstatement.spec.ts, describe"flow: recert reinstatement within 30 days of expiry — prorated from the action date (7 CFR 273.14(e)(2))"(API-driven, logical clocks, reset; the reopen shape isflow-snap-intake-reopen.spec.ts). The devstack seeds GEORGIA (xtask/src/cmd/e2e.rs:102defaultjurisdiction = "georgia"), so the flow cures by VERIFICATION — georgia does not reinstate a missed interview. World (#1731; the earlier 03-01 → 08-31 draft denied on an 08-31 SOP tick BELOW the devstack’s day-30 enforce cutoff 2026-09-01 —docker-compose.yml:518,scheduler.rs:1665-1671→cutoff_deferred— so both households ride U-RC-B describe A’s world; every date stays inside the FY2026 parameter window): certification 2026-03-15 → 2026-09-14 (Mon; the SOP). Composition, in order:setClocksTo(ctx, '2026-03-15')→new SnapCaseBuilder().asOf('2026-03-15').certified('2026-03-15', '2026-09-14').build()(tests/e2e/lib/given/snap.ts) →awaitEnrollment(ctx, enrollmentToken, householdId, determinationId)(enrollment.ts) — the build runs UNDER the 03-15 clock because the enrollment’s certification end is the determination’sexpiration_date, elseeffective + certification_months − 1 day(auto_enroll.rs:346-380): only a 03-15 effective date lands 09-14 under the 6-month georgia cert, and an enrollment that does not expire on the sweep leaves the reinstatement approval parked forever → clock 2026-08-19: timely renewal filed (the service-token POST); the interview COMPLETED the same day (interview/complete, service token, steered clock, #1684) → clock 2026-08-20: one eligibility-relevant checklist item requested AND dispatched (requestEnforceableItem,tests/e2e/lib/given/verification-cure.ts) in CHECKLIST mode with NO caller date — a callerdue_dateis a 422 in checklist mode (request_policy.rs:81-85) — sodue = dispatch + verification_response_days= 2026-08-30, inside the period, ≤ SOP − 1 (the SME-17 residual) anddue − dispatched = 10 days ≥ 10(273.14(b)(4)'s minimum holds by construction in checklist mode; r2-policy F8) → clock 2026-09-14: the day-30 armDenyVerificationNotProvided(day30_policy.rs:89) denies ON THE SOP TICK (reason = verification_not_provided,reopen_deadline_date = 2026-10-14,reinstatement_period_start = 2026-09-15; the letter carries the reinstatement sentence; the preview already says REOPENABLE with the verification cure refused only asverification_open) → clock 2026-09-15:runExpirySweep(ctx, enrollmentToken)+awaitEnrollmentStatus(ctx, enrollmentToken, householdId, enrollmentId, 'expired')(enrollment.ts; thejourney-snap-expedited-postponed-lapse.spec.tsprecedent —runSchedulerLegcannot run the sweep, it is enrollment’s endpoint) → clock 2026-09-17:POST /v1/verifications/{id}/resolve(cureByVerification,verification-cure.ts) at the steered clock → worker reopencure_kind = verification_provided,cured_on = 2026-09-17(the resolve’s legal day) → episodekind = recertification,arm = R,benefit_effective_date = 2026-09-17(=max(09-17, end + 1)),episode_processing_deadline = 2026-09-24(5 workdays; no cap — the cure is post-end; the row’sstandard_processing_deadlinenever moves) → saga (the row readsprocessingor alreadyapprovedafter the 201 —reopen_snapdrives the saga inline, §4.1) → determination with basisrecert_reinstatement→ renewals cert2026-09-17 → 2027-03-16, the lapsed certexpiredwithrenewal_determination_id→ fresh enrollment, September prorated from the 17th (14/30, never a combined allotment) →noa-approval. A SECOND household in the same describe (one test — the fleet clock is devstack-global and both are denied on the same tick) runs row 13’s arc (renewal filed 08-25; telephone appointment 09-03 missed → NOMI 09-04 → deniedmissed_interviewon the SHARED 09-14 tick) and its reopen (interview/complete09-17 →cure_kind = interview_completed) answers 422denial_reason_not_reinstatablewhile the preview showsreinstatable: false— the georgia refusal pin. The verification-cure arrange (request + dispatch + past-due + resolve) is lifted into NEWtests/e2e/lib/given/verification-cure.ts(requestEnforceableItem/cureByVerification); #1687 (the row-7 intake verification cure) ADOPTS it later — it is NOT folded into this MR (one MR per issue). Integration binding:reopen_http_test.rskind-arm table.
10. Deployment + index notes
-
MR1 = U-RC-C-a (
ClosesU-RC-C-a;Relates to #1634): the FOUR params + theRecertReinstatementParamsloader with its boot checks + pins; canopy-common variant; every typed consumer in the §5 table (incl. the record-back settle); the kind-aware denial through the onedenial_reopen_right(application_id, kind, legal_filed_date, renewal_certification_end_date: Option<NaiveDate>, DenialParams, &RecertReinstatementParams) → Result<NaiveDate, ReopenRightError>helper (DenialParamsby value; the drift variantRenewalIdentityDrift) and the publisher’s three new parameters (kind,renewal_certification_end_date,recert; the recert keys absent on aninitialrow — §3, r9-data F3), threaded on the worker side through the tailwrite_denial_and_stage(api/administrative_denials.rs:256, publish:277-288; r11-data D2) and passed INLINE on the leg side atapply_deny's publish (scheduler.rs:1760-1828, publish:1811-1821—row.application_kindparsed,row.renewal_certification_end_date,&enforce.recert;apply_denystays under the B2 threshold — r12-data D12-1) (ADR-030 B2 —record_administrative_denialis 87 lines and stays under 100, its new interview precondition a helper;Day30EnforceDeps.reopen_window_days→denial: DenialParams+recert: Arc<RecertReinstatementParams>;DenialParamsandload_denial_paramsUNCHANGED — r8-data F6; no B2 lock bump; r4-impl F3) + the WORKER writer’sinterview_not_satisfiedprecondition on a recertificationverification_not_provideddenial (§3; r8-policy F1) which LIFTS the DENY half of U-RC-A’skind_deferredarm (narrowed towould_action() == "pend") and the worker 409recert_denial_not_active— dormant → activate; the pend half and the interview 409 stay for U-RC-B (r3-data F1, r4-data F1) — +Day30ScanRow.renewal_certification_end_date+application.denied.snapfields (the PUBLISHER-derivedreinstatable+reinstatement_window_open) + the ONEnoa-denialrecertification branch on them at BOTH reopen-by sites (the:83-106block and the:108-123"What You Can Do" bullets, both rulesets — §6; r10-policy F1) + the agreement pin (the belt); the reopen fence (DeniedRow+NotReopenable+load_denied_rowMOVED fromreopen_support.rsintoapi/reopen_kind.rsfirst, so the module shrinks — r7-data F5;load_denied_rowreturnsLoadedSnapRow { filed, application_kind, renewal_certification_end_date, standard_processing_deadline, denied }on EVERY arm, its denial read moved below the later-approved check — r8-data F1; the write callerresolve_reopen_inputsand the attestations op’s one-linereopen_kind::require_reopen_activeatreopen.rs:417— r5-data F5;api/reopen.rsgains ≤ 3 lines, the B1 count 18 unchanged — r8-data F7) + the recert preview contract on EVERY load arm (the reason gate and window gate — the latterreopen_deadline_date < legal_denied_dateon the loaded denial row, r4-impl F5 —reopenable: falsein all three denied cells;window_closes_on= the snapshot when a denial row is in hand, elsedenial_reopen_right(…)called (=renewal_certification_end_date + recert_reinstatement_window_days; r11-data D4);reinstatable = Noneandapplication_kind = Some(Recertification)on theNotReopenablearms — r8-data F1;standard_period_ends_on→Option<NaiveDate>with the pre-1.0CHANGELOG.adocChangedline, theapplications.rs:837-841doc-comments and the eight CODE-site consumer sweep of §4.3 (the two Antora pagesapi/canopy-applications.adoc:290/api/canopy-web.adoc:98ride Docs obligations 1 / theapi-docsregen — r11-impl F3) incl.reopen_http_test.rs:1321→Some(…),mock_upstream_reopen.rs:101→Some(…), theprocess.html:77pair omitted whenNone,flow-snap-intake-reopen.spec.ts:524→standard_period_ends_on?: string(optional, neverstring | null— r11-data D3) — r5-data F3) (MR1 adds theRecertReinstatementParamsextractor only where it is READ — the worker writer and the preview;reopen_snap'sRecertReinstatementParams+WorkdayCalendarExtensions and the preview’sWorkdayCalendarare MR2’s — r10-impl F2); the canopy-web tolerance (thereopen_panel.rssites, the kind-awareprocess.html:62heading);ReopenEpisodeBlock.application_kindfilled from the loaded application’s column (r5-data F6) — wire-additive, source literals swept:services/canopy-eligibility/src/derivation.rs:634(thereopentest helper) andcrates/canopy-contracts-applications/tests/roundtrip.rs:541setapplication_kind: None(anOptionfield is still required in a struct literal), and theReopenEligibilityPreviewliterals swept the same way —mock_upstream_reopen.rs:95andreopen_panel.rs:428setapplication_kind: None, reinstatable: None— withlegal_denied_date = Some(denied.denial.legal_denied_date)(reopen_reads.rs:102) on every DENIED recert cell (reopenable false or true) andNoneon the threeNotReopenablearms (§4.3; r10-data F2), so this MR’s acceptance criterion is workspacecargo clippy --all-targets — -D warningsclean with the fields AND the basis variant present (r8-data F2); the dormant renewals arm +retire_renewed_certification(EXPLAIN attached for the lookup on U-RC-A’sidx_snap_certs_renewal_application). The C-a→C-b window, ACCEPTED (r5-impl F4): MR1’s activated deny writers mail theverification_not_providedletter’s reinstatement sentence whilePOST …/reopenstill answers 409recert_reinstatement_not_active— the letter states the LEGAL right (273.14(e)(2)), and a cure inside that window is honoured once MR2 lands becausecured_onis EVIDENCE-derived (the verification’s resolve day / the interview’s completion day,load_evidence+ its three evidence helpers,api/reopen_support.rs:264-372), never the day the worker presses reopen; so the household loses nothing provided the reopen is recorded before itsreopen_deadline_date. Deployment note: land MR2 before the earliestreopen_deadline_dateMR1 writes — ≥ 30 days after the earliest recertification period end that C-a denies (recert_reinstatement_window_days ≥ 30) — else the worker HOLDS the reopen (the evidence is already on file) until MR2 is deployed; SME item 10 records the acceptance. Restart order: notices → enrollment → renewals → web → applications → eligibility (canopy-security has no change — §5 table); web BEFORE applications is harmless because the preview’s new fields areOption(application_kind: Option<ApplicationKind>,reinstatable: Option<bool>, §4.3) andstandard_period_ends_onwidens toOption— an old applications body deserialises on the new web, and the new body’s extra keys are ignored by an old web (r6-data F3). No drain-before-deploy note (additive). OpenAPI snapshotdocs/modules/ROOT/openapi/applications.jsonregenerated (the preview fields). ADR-030 B1:api/reopen_kind.rssplit (§4.1 — MR1 MOVESDeniedRow+NotReopenable+load_denied_rowthere,reopen_support.rs488 → fewer lines; r7-data F5);store/day30.rsis NOT a B1 surface (B1 countsservices//src/api/.rsonly,xtask/src/cmd/quality_budgets.rs:335-341; r2-impl F-IMPL-5) — its one new column here (U-RC-A addedapplication_kind) is plain code hygiene; no lock bump. -
MR2 = U-RC-C-b (
ClosesU-RC-C-b and #1634; the stream’s final MR — runs the #1634 closure gates): episode migration (version greater than the newest committed applications ordinal on the MR’s base commit —20261229000000_interview_context_recert.sqlon MR2’s base main 9d25ffbe, so MR2 ships20261230000000_reopen_episode_kind.sql— r4-data F7, r5-impl N4;kind; thearmCHECK re-created as the NAMEDck_reopen_episode_armfrom the auto-namedapplication_reopen_episodes_arm_check, §2;ck_reopen_episode_kind_arm; theepisode_processing_deadlinecolumn comment rewritten to "arm A/B: cured_on + standard days; arm R: the pre-end-capped 5-workday SOP" —20261220000000_reopen_substrate.sql:25-28, r10-data F6), kind arm +ReopenArm::R(+WindowRefusal::ReasonNotReinstatable→ 422denial_reason_not_reinstatablein thereopen_support.rs:386-388map; arm R’s window refusal keeps the write’swindow_closed— r10-data F3) + the arm-R interview precondition (DeniedRow.interview_satisfied, 422interview_not_satisfied, and its preview cellblocked_by = "interview_not_satisfied"— §4.3; r7-policy F3) (+ the pre-end SOP cap with the forward roll —WorkdayCalendar::first_workday_on_or_afterin canopy-common,denial_on_datedelegating; r4-policy F3) withresolve_reopen(inputs, calendar, &recert)— theWorkdayCalendarExtension on BOTHreopen_snap(api/reopen.rs:69) and the preview (reopen_reads.rs:52; r5-data F4) and theRecertReinstatementParamsExtension onreopen_snapland HERE (moved from MR1 — r10-impl F2), derivation arm (+ theapi/canopy-eligibility.adocU-PROV-B derivation paragraph’srecert_reinstatementarm sentence,:107-109— the page is prose, there is no basis table; r8-data F5),application.reopened.snapadditive fields + thearmdoc updates, web variant, row 14 flip (incl. itsregulatory_trigger:1607 → the FULL string"7 CFR 273.14(e)(2); PAMMS SNAP 3710 Chart 3710.1"(frame table; r5-policy F9) and thejourney:1608 rewrite of the frame table — "denied for a reason the jurisdiction reinstates …; georgia: failure to return verification only, Chart 3710.1 … processed within the jurisdiction’s reinstatement SOP" — no georgia figure in the universal row, r6-policy F5), allowlist flip, CHANGELOG. Restart order: applications → eligibility → web. No drain-before-deploy note; rollback = stop the producer (revert MR2); MR1 is inert without it. OpenAPI regenerated again if the preview shape moved; no lock bump. -
Indexes: none new HERE — the kind arm rides the existing partial UNIQUE (open episode) and
active_reopen_episode_idindexes; the renewals arm’srenewal_application_idlookup ridesidx_snap_certs_renewal_application(shipped by U-RC-A’s migration, r2-data F5) and U-RC-C-a attaches ITS EXPLAIN; EXPLAIN attached for the denial-row lookup by kind and re-attached forDAY30_SCAN_SQL(checklist 7).
11. Out of scope
Restoration of gap months (#794/#1113); the timely in-cert continuation (#1133 / U-CONT — a cure BEFORE the period ends on a still-processing (not denied) renewal never reaches this unit) and, with it, the approval ANCHOR of a non-reinstatement recertification approval (the Interactive / AgencyFaultPending arms, derivation.rs:364 / :377-385 — SME item 18; F1’s flows never approve a pended or in-period recertification); the late re-application (late-recert-proration, 273.14(e)(3)) — filed as initial, prorated from its own filing date by the existing machinery; minting certs for non-reinstatement recert approvals (worker POST); holding the expiry sweep; portal; TANF/Medicaid analogs; extending CONTINUATION_CLASS_KINDS; the expedited arm’s snap-local application_id defect (determination_subscriber.rs:177, :217 after MR2 — the frame’s R4 issue fix(renewals): the expedited arm stores the snap-local application id on the certification; the reinstatement arm uses upstream_application_id and does not inherit it); the recertification checklist due-date cap (the frame’s R4 issue; SME item 17).
12. FINDINGS RESOLVED
-
R5 / I8 / I12 / P3: reopen of the denied renewal application with a kind arm; renewals arm mints the new period from the signed determination; enrollment opens a fresh prorated enrollment — every writer exists and is reachable after expiry.
-
I9:
RecertReinstatementnon-continuation variant; two-step consumer-first;CONTINUATION_CLASS_KINDSuntouched with its pin. -
R6 / I7 / P8: four
[snap.certification]leaves (the window / SOP / reasons triple + the (b)(3)(iii) interview headroom), all four rulesets, three 3710 pins + one federal pin; the denial row’s snapshot carries the right by kind. -
P4 / SME 3: the 5-workday SOP is VERIFIED against the cached chart (
3710.adoc:317); nothing provisional. -
I10 / SME 4: the floor applies to a prorated month; I11 / R8 / SME 5: park-until-sweep, pinned.
-
I15: the (e)(3) row stays out of scope; the pre-end-cure rule (
max(cured_on, cert_end + 1)) closes the double-issuance hole a naive arm B would open for the worker’s early denial. -
Round 1: r1-policy F1 / SME 16 (the reinstatable-reasons param; georgia verification-only; the reason gate; the letter per reason; row 14 cures by verification; every "Chart 3710.1 supports the interview cure" claim removed), F2 ((e)(2) quoted verbatim; every cite), F5 / F13 (arm R rationale = the worker’s early denial of a timely filer; the two-date letter sentence with
reinstatement_period_start; the floor bites only on a prorated month), F7 / F8 (pin fields complete;operationalverified; nothing provisional — the default SOP pin leftoperationalforpammsin round 6, r6-policy F3), F14 / r1-impl F11 (no manifest entry; the :699 routing pin); r1-data F6 / F7 (BLOCKER — the full arm contract: locate byrenewal_application_id, NO causal guard with the doc-comment reason,retire_renewed_certificationas the only stamp writer,upstream_application_id,determined_atrequired,noe_recipientpass-through), F17 (notice_of_action/noa-denial/ theprogram_data_keysadditions), F18 (the fence’s three call sites; the preview does not 409), F19 (noarmconsumer; MR2 widens the enum + docs), F21 (recert_reinstatement_window_days: i64onDenialParams— SUPERSEDED in round 8: one carrier,RecertReinstatementParams.window_days, r8-data F6); r1-impl F2 (the record-back settle), F3 (the grep-derived MR1 table; canopy-security no change), F4 (Day30ScanRow.renewal_certification_end_datehere;application_kindmoved to U-RC-A in round 3, r3-data F1), F6 (NOTE residue — the flow composition and why the build runs under the 03-01 clock), F8 (api/reopen_kind.rs; thestore/day30_scan.rssplit it also named is superseded by r2-impl F-IMPL-5 —store/day30.rsis not a B1 surface), F9 (OpenAPI regen), F13 (ReopenInputsshape,ReopenArm::R, the calendar Extension, retire-by-id), F15 (denied on the 08-31 tick). -
Round 2: r2-data F2 (the preview contract from MR1:
window_closes_on= the snapshot,standard_period_ends_on→Option+Changedline,ReopenCurePreview.armR, the web tolerance incl. the kind-aware heading), F5 (the U-RC-A index; U-RC-C-a’s EXPLAIN), F6 (resolve_reopen(inputs, calendar)— superseded by round 4’s three-argumentresolve_reopen(inputs, calendar, &recert), r4-data F2;ReopenInputsstaysEq), F9 (handleas a kind dispatch), F10 (the reopened row’s 5-workday re-scan tick: saga settles first; a stalled saga → the agency default, no denial — pinned); r2-policy F3 as refined (the SOP pin’snotes;operationalkept — superseded in round 6 by thepammsreference-copy shape, r6-policy F3), F4 (reinstatement_window_open; the window-closed letter branch, preview code and truth-table row), F5 (the pre-end SOP cap; the 08-26 pin asserts 08-31; the proptest invariant), F6 (default =["verification_not_provided"],pamms, the Georgia-reference-copy note; defaultmissed_interviewprints the "new application" sentence without the PAMMS cite — relabelled the reference-copy sentence in round 3, r3-policy F11), F8 (the flow’s dispatch day 2026-08-06;due − dispatched ≥ 10pinned), F9 (:1545); r2-impl F-IMPL-5 (thestore/day30.rsB1 clause dropped), F-IMPL-7 (two child issues U-RC-C-a / U-RC-C-b, 5 + 5), F-IMPL-10 (api/canopy-eligibility.adoc). -
Round 3: r3-data F1 (MR1 removes U-RC-A’s dormant DENY fence — the
kind_deferredarm and the worker 409 — with the kind-aware snapshot; narrowed in round 4 to the DENY half only, r4-data F1;Day30ScanRowgains onlyrenewal_certification_end_datehere; the removal pinned), F5 (the fence seam:DeniedRow.application_kind— since round 8 the row facts live onLoadedSnapRow, r8-data F1 — the two write callers refuse after the load, the preview branches withoutNotReopenable), F6 (the namedck_reopen_episode_armreplacing the auto-namedapplication_reopen_episodes_arm_check), F8 (the arm’s "none → DLQ" is terminal by design; the #433 replay remedy; norenews_certification_idfallback); r3-policy F3 (value+effective_dateon every §7 pin; MT-872026-06-01), F8 ((iii) at:1545, (ii) byproration_rounding), F9 (the authority-neutral 422 detail and web copy; the PAMMS cite only in the georgia template), F11 (the defaultmissed_interviewsentence relabelled as the reference-copy sentence without the PAMMS cite); r3-impl F8 (reopenable: falsein all three MR1 recert cells; MR2reopenable: true, reinstatable: Some(true)), F10 (verification.ts:88/:96). -
Round 4: r4-data F1 (MAJOR — MR1 lifts only the DENY half of U-RC-A’s
kind_deferredarm (narrowed to the pend dispatch) and the worker 409; the pend half and the interview fence are U-RC-B’s; the C-a→B window analysis under the cutover; §9 pins the half-lift), F2 (params::RecertReinstatementParams+load_recert_reinstatement_params,Extension<Arc<…>>on the handlers that need it;DenialParamsstaysCopywith only the newi64— thei64dropped in round 8,DenialParamsunchanged, r8-data F6;resolve_reopen(inputs, calendar, &recert)), F4 (DeniedRowgainsapplication_kind,renewal_certification_end_date,standard_processing_deadline;reopen_deadline_datefrom the denial — since round 8 the three facts live onLoadedSnapRow, notDeniedRow(r8-data F1);DeniedRowkeepshousehold_id/legal_filed_date/denialand gains onlyinterview_satisfiedin MR2), F5 (no lifetime onReopenInputs— the reasons list arrives through the third argument), F7 (the MR2 migration ordinal); r4-policy F3 (the pre-end SOP cell rolls forward —first_workday_on_or_afteradded toWorkdayCalendar,add_workdays(x, 0)verified NOT to roll; the §9 invariant unconditional, the r2-policy F5 invariant conditioned on the SOP; the 10-31 → 11-02 pin), F4 (the four boot checks in the applications loader, refuse never clamp, each pinned), F5 (thefederalpins' — two keys, three entries —effective_date = "2025-10-01"per the tree’s 273.14(b) pin); r4-impl F3 (ADR-030 B2: the onedenial_reopen_righthelper for both writers;Day30EnforceDepscarriesDenialParams), F5 (§4.3’s window-closed cell names the stored comparisonreopen_deadline_date < legal_denied_date, not the event field). -
Round 5: r5-policy F2 (MAJOR — reinstatability is a PRODUCER bool
reinstatableonapplication.denied.snap; thenoa-denialrecertification arm is ONE branch onapplication_kind × reinstatable × reinstatement_window_open, identical in both rulesets, the per-reason prose reduced to the action name; the agreement pin kept as the belt; §3, §5, §6, §9 — overriding the round-1/round-3 per-ruleset-per-reason ruling), F5 (the absent-key default + render cell), F7 (§2 / §9: "any pre-end denial — the worker’s early denial or the leg’s timely-row denial on a pre-end SOP"; the leg-denied 10-30/10-31 twin pinned), F8 (default/citations.toml:874-881in §7), F10 (§7:≤ 28is an operational sanity cap); r5-data F3 (§4.3: the eight-sitestandard_period_ends_onsweep;process.html:77omitted whenNone; the TS typestring | null— made OPTIONAL (?: string) in round 11, r11-data D3; the twoSome(…)fixtures), F4 (the calendar Extension on BOTHreopen_snapand the preview;reopen_reads.rs:246's..windowbase is the recert-awareReopenInputs), F5 (load_denied_rowhas TWO callers; the attestations op checks the kind on its own load atreopen.rs:417), F6 (ReopenEpisodeBlock.application_kindfrom the loaded application, never the episode row; MR2’skindaudit-only), F8 (twoDay30EnforceDepsconstruction sites;load_denial_paramsgains thei64parameter soDenialParamsstays built in one place — the parameter dropped in round 8,load_denial_paramsunchanged, r8-data F6), F9 (DeniedRow.standard_processing_deadlineNone→ thesnap_sop_for_guardsinternal error —LoadedSnapRow.standard_processing_deadlinesince round 8, r8-data F1), F10 (the publisher computes both bools from the stored row;denial_reopen_rightreturns only the date), F1 (the §5 table’s last row scoped "for the basis"), F2 (ReopenInputs.kind: ApplicationKind, the helper’skindargument); r5-impl F4 (§10: the C-a→C-b window accepted — evidence-derivedcured_on; the land-MR2-before-the-earliest-reopen_deadline_datedeployment note), N3 (reopen_policy.rs:89-123; row 14’s cellU-RC-C-b; oneissuance.rsrange:160-174— SME 4 / §4.6), N4 (§10 MR2 ordinal wording). -
Round 6: r6-policy F3 (MAJOR — the default
recert_reinstatement_sop_workdayspin takes thepammsreference-copy shape withsource_ref/section/federal_citation/value/effective_date = "2026-06-01"/manual_transmittal = "MT-87"/ the two-sentencenotes; everyoperationalmention for the key removed from §7 and the frame ledger, the round records annotated;source_refrequired —citation.rs:54/:494-499), F6 (§2 + the georgia SOP pin’snotes: "before the last day" read with "before the end" — a last-day cure is pre-end, new period fromend + 1), F7 (the MT-87 date clause in §7 — the2023-11-01sibling atgeorgia/citations.toml:958), F8 (:1735-1736kept in §7 — the header is:1735,value = 5:1736; the review’s:1736-1737does not verify); r6-data F1 (MAJOR → MINOR on verification — §4.5 step 0find_certification_by_determination→Some→ ack BEFORE the locate step; §9: the inbox dedups a committed redelivery (inbox.rs:131-135,:166), the locate step’s DLQ is reachable only on a first delivery, the #433 remedy re-publishes only unprocessed rows), F3 (MAJOR —ReopenEligibilityPreview.application_kind: Option<ApplicationKind>,None ≡ initial; MR1’s web-before-applications restart order stated harmless); r6-impl F4 (the Round-2resolve_reopen(inputs, calendar)record marked superseded). -
Round 7: r7-policy F3 (arm R’s interview precondition —
interview_completed_atset orinterview_waived, else 422interview_not_satisfied; a handler check onDeniedRow.interview_satisfied, the policy fn untouched; §1’s anchor sentence corrected for the worker’s early denial; intake unchanged by design; the MR2 preview mirrors it with a fourth cellblocked_by = "interview_not_satisfied"between the reason gate and the window so the preview and the write agree — §1, §3, §4.3, §8, §9, §10, SME item 16 — NARROWED in round 8 to a belt: the state it guarded is removed at the worker writer, r8-policy F1 / F2), F2 (§7’s "five required fields" incl.authority+verified_date;verified_date= the MR date on the four default rows); r7-data F3 (AdministrativeDenialRow.reasonis aString— parsed viaAdministrativeDenialReason::from_strat the row boundary byDeniedRowand both publishers; a CHECK-impossible token is a decode error → redacted 500, neverreinstatable = false, never a 422 — §3, §9), F5 (MR1 MOVESDeniedRow+NotReopenable+load_denied_rowintoapi/reopen_kind.rssoreopen_support.rsshrinks under the blocking B1 gate — §3, §4.1, §10), F7 (application_id: evt.upstream_application_id.ok_or(DLQ)— already typed, §4.5); r7-impl F2 (the preview’sreinstatableis the EVENT’s factreason ∈ list—Some(true)even underreinstatement_window_closed/recert_reinstatement_not_active;blocked_byalone carries window / activation state — §3, §4.3, §8, §9, SME item 16), F4 (citation.rs:387-391in §7). -
Round 8: r8-policy F1 / F2 (MAJOR ×2, the same reachable state — DECIDED: remove it. The WORKER writer is kind-aware in MR1 — a
verification_not_provideddenial of a recertification row requiresinterview_completed_atset orinterview_waived, else 422interview_not_satisfied("complete or waive the interview before denying a renewal for verification"), a helper after the:173load and beforeresolve_denial_evidence(:190-198), mirroring the leg’sInterviewState::Satisfiedprecondition (day30_policy.rs:169-171); the intake writer unchanged (273.2(h)(2)). Consequences: the recertnoa-denialverification sentence is true as written (§6); arm R anchors oncured_onalone — the chart’s "all renewal requirements met" clause is satisfied by construction (§1, §3 arm-R cell); arm R’s owninterview_not_satisfiedprecondition stays as a BELT, unreachable for a recertification row denied by either writer — fires only on a hand-seeded row, or under a both-reasons ruleset on anattestationcure of amissed_interviewdenial (§3); §8’s reopen-panel recovery cell dropped (a schedule affordance would 409program_terminalon a terminal row) and the recovery copy re-homed on the worker denial actiondeny_application; §1’s "NOT by construction for the WORKER’s early denial" sentence rewritten; SME 16 updated; §9’s worker-writer 422 pin (recert row, no interview → 422; with the interview → written; an initial row unchanged) and the hand-seeded belt pin), r8-data F1 (MAJOR — the preview contract on the threeNotReopenablearms:load_denied_rowreturnsLoadedSnapRow { filed, application_kind, renewal_certification_end_date, standard_processing_deadline, denied }on every arm (one loader, two callers; the denial read moved below the later-approved check so "a denial row in hand" ⇔denied.is_ok()); per armapplication_kind = Some(Recertification),window_closes_on= the snapshot when a denial row is in hand elseend + recert_reinstatement_window_days,standard_period_ends_on = None,reinstatable = Noneon the blocked arms,blocked_bythe existing tokensreopen_episode_open/not_denied/later_episode_approved(verified atapi/reopen_support.rs:190-196— the review’sepisode_opendoes not exist); theEpisodeOpen+NotDeniedcells pinned inreopen_http_test.rsbeside:1387-1394(kind-scoped) and the panel’s blocked view inreopen_panel.rs;process.html:73-79renders the recert window — §3, §4.3, §8, §9, §10), F2 (theReopenEpisodeBlock.application_kindsource-literal sweep —derivation.rs:634,roundtrip.rs:495— and "workspace clippy clean" as MR1’s criterion; "wire-additive; source literals swept" — §3, §10), F5 (api/canopy-eligibility.adoc:107-109is prose: the U-PROV-B paragraph gains the arm sentence — §10 MR2, Docs obligations 1), F6 (ONE carrier:denial_reopen_right(kind, legal_filed_date, end, &DenialParams, &RecertReinstatementParams);DenialParamsandload_denial_paramsunchanged;Day30EnforceDepscarriesdenial: DenialParams+recert: Arc<RecertReinstatementParams>— §3 Policy inputs / Kind-aware denial, §10, U-RC-A §10; supersedes the two-carrier records of r1-data F21 / r5-data F8 / r4-data F2 above), F7 (api/reopen.rsgains ≤ 6 lines in MR1 — the attestation kind check is the one-linereopen_kind::require_reopen_active; B1 count 18 unchanged — §4.1, §4.2, §10); r8-policy F6 (§9: 21/30 becauseprorate_month_fromprorates over the calendar month,issuance.rs:98-100; theproration_month_daysattribution dropped — it has no Rust consumer); r8-impl F2 (the child-issue title scopefeat(applications), Docs obligations 4). -
Round 9: r9-data F3 (
denial_reopen_right(kind, legal_filed_date, renewal_certification_end_date: Option<NaiveDate>, &DenialParams, &RecertReinstatementParams) → Result<NaiveDate, ApplicationKindDrift>— the CHECK-impossibleRecertification ∧ Nonecell is the drift error, never a silent value;publish_application_administratively_deniedgainskind: ApplicationKind,renewal_certification_end_date: Option<NaiveDate>,recert: &RecertReinstatementParamsfrom each writer (the leg fromDay30ScanRow, the worker fromawp.application); the initial-row rule — the recert keys ABSENT oninitial, matching U-RC-B §5 — §3 Kind-aware denial, §5, §10, U-RC-A §10); r9-policy N1 (federal_citation = "7 CFR 273.14(e)(2)"on default’sfederalwindow pin and"7 CFR 273.14(b)(3)(iii)"on the twofederalheadroom pins — §7, the frame ledger); r9-impl N2 (§6:413-424). -
Round 10: r10-policy F1 (MAJOR, confirmed —
noa-denialhas a SECOND reopen-by site: the:108-123"What You Can Do" bullets print "… by pretty-date(reopen-by) to keep this application open" gated only onreopen-by != none(:114-115/:117-119;:46), identical in both rulesets, andreopen_deadline_dateis present on every recert denial — so §6 branches BOTH the:83-106block and the bullets on the sameapplication_kind × reinstatable × reinstatement_window_open: action name only, no date, no "to keep this application open", "Reapply" operative in every recert cell other than (true, true); the date + the block’s reinstatement clause in the (true, true) cell, never the 273.2(g)/(h) "keep this application open" doctrine; the event unchanged; §9 gains the negative pins; frame Notices 5 and SME 16 carry the two-site clause), F4 (§7: test-* pinseffective_date = "2026-01-01",verified_date= the MR date,verified_by = "fixture-design (<child-issue>)"; reasons test-min["verification_not_provided"], test-max both — the divergence named in §1, the §7 table’s test-min / test-max cells and §9 (test-min refuses the interview cure 422denial_reason_not_reinstatable, test-max reinstates); the both-reasons truth table runs under test-max), F5 (Notices 1’s key-read discipline, mirrored at §6: the recert-only keys read inside the recert branch or viainputs.at(key, default: …), typed booleans== true, the placeholder-input gate gains thenoa-denialtwin,default_program_datanot widened); r10-data F2 (§4.3 / §10 MR1: theReopenEligibilityPreviewliteral sweep —mock_upstream_reopen.rs:95,reopen_panel.rs:428setapplication_kind: None, reinstatable: None;legal_denied_date = Some(denied.denial.legal_denied_date)(reopen_reads.rs:102) on every DENIED recert cell,Noneon the threeNotReopenablearms; theapplications.rs:833-836doc rewritten), F3 (§3 arm table + reason gate, §9’s partition, §8:WindowRefusal::ReasonNotReinstatable→ 422denial_reason_not_reinstatablein thereopen_support.rs:386-388map; the WRITE keepswindow_closedfor arm R,reinstatement_window_closedstays the preview’sblocked_by,actions_reopen_copy.rsmaps both to the recert copy), F6 (the locate step is the NEW renewals readerstore::find_certification_by_renewal_application(tx, application_id)— §3 / §4.5; MR2’s episode migration rewrites theepisode_processing_deadlinecolumn comment — §2 / §10), F7 (§5: the enumeration grep gainsrg -n '"application_reopen"' --type ts); r10-impl F2 (§3 Policy inputs: C-a registersArc<RecertReinstatementParams>on the router layer inapp.rs(theExpeditedParams/DenialParamsshape,:119/:125) and adds the extractor ONLY toreopen_snap,record_administrative_denial,create_reopen_attestationand the preview; U-RC-B adds it toschedule_interview/reschedule_interviewwith G4’s second bound — mirrored at U-RC-B §4.1). -
Round 11: r11-data D2 (§3 Kind-aware denial / §10 MR1: the worker’s publisher call site is the transactional tail
write_denial_and_stage(api/administrative_denials.rs:242; publish:263), which gainskind: ApplicationKind,renewal_certification_end_date: Option<NaiveDate>,recert: &RecertReinstatementParamsfrom the handler — its existingtoo_many_argumentsexpect covers it), D3 (§4.3:application_kind,reinstatableandstandard_period_ends_onall carry#[serde(default, skip_serializing_if = "Option::is_none")]— the struct’slegal_denied_dateshape; the TS field becomes optional,standard_period_ends_on?: string, neverstring | null; the CHANGELOGChangedline reads "optional; absent on a recertification row" — §4.3, §8, §10 MR1, the round-5 record annotated), D4 (§4.3 / §3 / §10 MR1: the threeNotReopenablearms computewindow_closes_onby CALLINGdenial_reopen_right(kind, legal_filed_date, renewal_certification_end_date, &denial_params, &recert)— one owner, one drift posture — never by re-derivingend + windowinreopen_reads.rs); r11-impl F3 (Docs obligations 1 gainsapi/canopy-applications.adoc:267andapi/canopy-web.adoc:98; §4.3 / §10 MR1 reworded to "the eight CODE sites" — the two Antora pages and the OpenAPI snapshot ride Docs obligations 1 / theapi-docsregen), F4 (§5: the enumeration gainsrg -n '"application_reopen"' --type rust— thecanopy-signingKATenvelope.rs:492is a Rust raw-string JSON; the two intake-spec hitsflow-snap-intake-reopen.spec.ts:833/:941are no-change hits; the same rust grep’sservices/canopy-applications/src/postponement_repeat_gate.rs:420hit — thearb_spectoken strategy, surfaced by the v12 checkers after the ruling — has its own MR1 row: the one-token widening, no production arm, for the owner’s confirmation), F5 (§9 ×2 and U-RC-A §9: "theadministrative_denialstests" →services/canopy-applications/tests/administrative_denial_test.rs, the file the intake row already binds atcompliance/action-catalogue/snap.toml:215); r11-policy F3 (§7:georgia/citations.toml:96-104→:96-103twice — and, caught by the v12 checkers, at thesnap.simplified_reportingtwin mention in §7’s lead paragraph and the frame ledger’s; thenoa-denial.typ:46read in §6 verified CORRECT against the tree and kept — the frame’s Round 11 line carries the four-cite disposition). -
Round 12: r12-data D12-1 (§3 Kind-aware denial / §5 / §10 MR1: the leg’s
application.denied.snappublisher call sits inapply_deny(scheduler.rs:1734-1802, publish:1785), notenforce_deny(:1659-1718— the snapshot formula +DenyInputs); the three arguments are passed inline fromrow.application_kind(parsed viaApplicationKind::from_str),row.renewal_certification_end_dateand&enforce.recert, never throughDenyInputsor a localletblock, soapply_deny(69 lines today by the tree — the review’s ~89 /:1822does not verify; under 100 either way) stays under the B2 budget; U-RC-A §10 and the frame’s catalogue prose annotated), D12-2 (DECIDED — §3 Renewals arm contract / §4.5 step 2 / §9: the locate predicate isrenewal_application_id = $1 AND active = true(the sibling’s shape); a cert found butstatus <> 'recertifying'(already terminated / expired / superseded — reachable becauserecertifyingis in the terminated consumer’s INCLUDE class) → WARN + metricrecert_reinstatement_renewed_cert_not_in_force, the retirement a no-op, the NEW certification STILL minted, ack — never a DLQ, which would block the household’s reinstated benefits on an audit nit with no operator remedy; arm R does not refuse on the old cert’s state; §9 seeds arecertifying-then-terminated cert → mint, one WARN, metric +1, no DLQ), D12-4 (§3 context block and the §5 derivation row:NoneandSome(Initial)both selectApplicationReopen; onlySome(Recertification)selectsRecertReinstatement), r12-impl F4 (§1: the barecontinuation/arm.rs:461-484cite gains its service prefix —services/canopy-enrollment/src/continuation/arm.rs:461-484,peek_live_enrollment;services/canopy-renewals/src/continuation/has noarm.rs).
Row flip: row 14 (snap.certification.recert-household-delay-prorated-reinstatement) via flow-snap-recert-reinstatement.spec.ts + the reopen_http_test.rs binding (test_ref in the frame table); blocked_by = ["#1634"] removed (MR2 = U-RC-C-b). Allowlist flip: snap.recert.reinstate-prorated (MR2 = U-RC-C-b).
SME-flag resolutions inventory (v13 — every policy ambiguity DECIDED in-plan with a cite; items 1, 3, 4, 9, 10, 14 rewritten and 16–17 added by the round-1 rulings; items 1, 6, 7, 16 rewritten and 18 added by the round-2 rulings; items 1, 7, 13, 16 amended and 19 added by the round-3 rulings; items 1, 2, 3, 8, 10, 18 amended by the round-4 rulings; items 4, 9, 10, 16 amended by the round-5 rulings; item 16 amended by the round-6 rulings; items 1, 3, 16, 19 amended and 20 added by the round-7 rulings; item 16 amended by the round-8 rulings; items 1, 8, 18, 19 amended and 21 added by the round-9 rulings; item 16 amended by round 10 (item 1 unchanged); no item amended by round 11; items 19 and 20 amended by round 12; reviewers confirm or overturn)
| Flag | Resolution | Owner |
|---|---|---|
1. G4 NOMI headroom on a recert chain (advisory vs refusing) — and the 273.14(b)(3)(iii) verification headroom |
DECIDED CONDITIONAL for |
U-RC-B (guard); U-RC-C MR1 (the key) |
2. Does |
ENUMERATED (U-RC-A §4.4): one |
U-RC-A |
3. PAMMS 3710 Chart 3710.1 numbers — 5 workdays; the denial-day rule |
DECIDED, VERIFIED against the cached chart (hash |
U-RC-A (clock); U-RC-C MR1 (SOP param); U-RC-B (denial-day pins) |
4. The $10 floor on the reinstatement month |
DECIDED apply, gap-conditional: 273.10(a)(1)(iii) suppresses a sub-$10 INITIAL month; a 273.14(e)(2) reinstatement opens a NEW certification period, so its first month is an initial month (unlike 3730 reopen months, |
U-RC-C |
5. Park-until-sweep vs explicit expire-before-enroll |
DECIDED park: the approval parks on the one-live fence ( |
U-RC-C |
6. Is the reinstatement cert minted by a renewals arm? Do other recert approvals stay on the worker POST? |
YES and YES: |
U-RC-C |
7. Epic home, weight/milestone/labels, round recording, finding numbering, `Done ` token |
DECIDED (frame Docs obligations 4–5): FIVE children under &81 — U-RC-FRAME w2, U-RC-A w8, U-RC-B w5, U-RC-C-a w5, U-RC-C-b w5 (one issue per lettered sub-unit; each MR |
U-RC-FRAME |
8. One recertification application per certification |
DECIDED: partial UNIQUE |
U-RC-A |
9. Episode arm vocabulary — the brief preferred |
DECIDED |
U-RC-C |
10. Where the kind-aware denial ( |
DECIDED U-RC-C MR1, sequenced BEFORE U-RC-B (the brief placed the snapshot in B and the sentence in C): the first recertification denial ever pinned (B’s row 13) must already state the 273.14(e)(2) right — or, when the PUBLISHER’s |
U-RC-C (MR1 writes), U-RC-B (pins) |
11. Action-catalogue shape |
DECIDED: four NEW |
U-RC-FRAME |
12. Tier of the three rows |
DECIDED stay |
U-RC-FRAME |
13. Does an early filer (cert already |
DECIDED yes to both. NOE: 273.14(b)(1)(i) makes it unconditional, verbatim — "The State agency shall provide households certified for one month or certified in the second month of a two-month certification period a notice of expiration (NOE) at the time of certification. The State agency shall provide other households the NOE before the first day of the last month of the certification period, but not before the first day of the next-to-the-last month." (r3-policy F7); the NOE drain and its fence index INCLUDE |
U-RC-A |
14. Untimely filer’s filing + 30 versus the period end |
EVERY untimely filer’s filing + 30 falls AFTER the period end: an untimely filing is on day ≥ 16 of the last month and |
out of scope |
15. Additive |
DECIDED add it: the On-Demand and NOMI letters print two facts (the SOP date and the period end) and |
U-RC-B |
16. Which recertification denials are reinstatable (missed interview vs verification) — PAMMS closes the interview case, the federal floor does not |
DECIDED — the STATE MANUAL controls over the federal floor (project directive; silent → statute fills), encoded as a JURISDICTION PARAM, not code: |
U-RC-C MR1 (param, preview incl. its reason gate and the per-arm contract, the denial publishers' |
17. Verification arm residual: a recert checklist item due ON the SOP day |
STATED, UNCHANGED by F1: the day-30 verification arm’s |
U-RC-FRAME (issue), U-RC-C MR2 (pin) |
18. The approval ANCHOR of a non-reinstatement recertification approval (the reused day-30 PEND arms and the plain in-period approval) |
STATED, NOT CHANGED BY F1 — it belongs to #1133 (timely in-cert recert continuity). The four agency-fault pend arms ( |
#1133 (rule); U-RC-FRAME (the R3 update); U-RC-B (pend mechanics + letter) |
19. Earliest filing of a renewal — is a filing months before the period end a recertification? |
DECIDED as canopy’s ELECTION (r12-policy F5, rewording r3-policy F5’s "not a renewal under the manual" framing — no behaviour change; the state manual controls; silent → statute fills): PAMMS 3710 classifies a renewal only inside the last TWO months — |
U-RC-A |
20. Classification day vs the legal filing date — does the intake weekend/holiday filing shift classify renewal timeliness and the create matrix’s bounds? |
DECIDED (r7-data F1): NO for classification, YES for the clocks. |
U-RC-A |
21. A renewal filed against a certification whose period can still CHANGE — the expedited-postponed short cert with an open postponement episode (U-CONT-c’s in-cert conversion) versus the immutable renewal identity and the one-renewal-per-certification UNIQUE |
DECIDED (r9-data F2 — option (c), keyed on the certification TYPE alone; the owner’s v10 completion — the episode read dropped as non-deciding, the settle-then-flip race closed): a recertification application is NEVER filed against a certification whose period can still change. The U-RC-A create matrix gains the row: |
U-RC-A (the matrix row + pins); U-RC-FRAME (the #1133 R3 text) |
Out of scope (family-level)
Applicant-portal renewal filing (no renew flow exists — services/canopy-portal/src/main.rs:170-233; the frame files the issue); timely in-cert recertification continuity (#1133 adopting U-CONT); the 273.14(e)(3) late re-application proration and the untimely-recert rows (compliance/scenario-inventory/snap.toml:1530-1548 — unfenced; F1 makes them bindable but does not flip them); 273.14(f) expedited service at recertification (snap.recert.expedited-screening-expired-cert, whose stale (e) cite the frame’s R4 issue corrects); agency-fault restoration and gap months (#794, #1113; recert-agency-delay-restoration :1561-1570, whose 273.14(d) cite the same issue corrects to (e)(1)/(e)(3)); the approval ANCHOR of a non-reinstatement recertification approval — the reused day-30 pend arms' later approval (AgencyFaultPending → filing_date) and the plain in-period approval (Interactive → DeterminationDay) — which is #1133’s renewal_certification_end_date + 1 rule (SME item 18; the frame’s R3 step updates #1133’s description; the pend MECHANICS and LETTER on a recert row are U-RC-B’s and in scope); TANF/Medicaid/CAPS recertification analogs (the identity columns are program-portable; the arms are SNAP-fenced); any recertifying-status-driven drain beyond the predicates U-RC-A enumerates; holding or reordering the enrollment expiry sweep for a pending renewal; a second recertification application per certification; any change to canopy-snap’s period-length selection; the expedited arm’s snap-local application_id (R4 issue); the recertification checklist due-date cap (R4 issue; SME item 17); a worker BFF interview-complete action (R4 issue).
Review rounds
v1 — first draft; each round appends vN — <date>: <findings> (a round’s numbered findings are resolved in the owning unit’s FINDINGS RESOLVED; the title’s vN bumps with each round).
v2 — 2026-09-04: round 1 (three lenses + cross-check; 53 numbered findings + 4 cross-check refinements: 1 BLOCKER, ~20 MAJOR, the rest MINOR/NOTE) — resolved per unit FINDINGS RESOLVED; rulings recorded as SME items 16–17 and the §-level text.
v3 — 2026-09-04: round 2 (three lenses + cross-check; 31 findings: 0 BLOCKER, 7 MAJOR of which 1 refuted, the rest MINOR/NOTE) — resolved per unit FINDINGS RESOLVED (cited as r2-policy F#, r2-data F#, r2-impl F#); new SME item 18 (approval anchor of a non-reinstatement recertification approval → 1133); U-RC-C split into the child issues U-RC-C-a / U-RC-C-b, U-RC-A weight 8, stream total 25.
v4 — 2026-09-04: round 3 (three lenses + cross-check; 32 findings: 1 BLOCKER (a TOML shape), 6 MAJOR of which 4 confirmed, the rest MINOR/NOTE; the regulation lens approved) — resolved per unit FINDINGS RESOLVED (cited as r3-policy F, r3-data F#, r3-impl F#); new SME item 19 (earliest filing); the U-RC-A dormant recert DENY fence (kind_deferred / 409 recert_denial_not_active, removed by U-RC-C-a), the typed ApplicationSubmittedV1 contract, the U-RC-B context backfill.
v5 — 2026-09-04: round 4 (three lenses + cross-check; 24 findings: 0 BLOCKER, 4 MAJOR of which 3 confirmed and 1 refuted, the rest MINOR/NOTE; the implementability lens approved subject to one edit) — resolved per unit FINDINGS RESOLVED (cited as r4-policy F#, r4-data F#, r4-impl F#); the A→B/C-a→B windows closed by the full U-RC-A fence (deny + pend + interview; the deny half lifted by U-RC-C-a, the pend half + the interview fence by U-RC-B); (b)(3)(iii) applied to every recertification row (overriding v3’s timely-only reading); the non-workday-SOP corner re-exampled (cert 2026-03-06 → 09-05; superseded in v8 — r7-data F1 / SME item 20).
v6 — 2026-09-04: round 5 (three lenses + cross-check; 30 findings: 0 BLOCKER, 3 MAJOR of which 2 confirmed (notice truth — both letters now branch on producer-derived reinstatability) and 1 downgraded; implementability and data lenses approved) — resolved per unit FINDINGS RESOLVED (cited as r5-policy F#, r5-data F#, r5-impl F#); reinstatability rides the events as PUBLISHER-derived booleans (reinstatable / reinstatement_window_open on the denial, denial_reinstatable / reinstatement_deadline on the NOMI) and the templates branch on them with identical logic in both rulesets — overriding the round-1/round-3 "template prose per ruleset per reason" ruling; canopy_common::recert::ApplicationKind named as the one domain type; the timely DENIAL deadline re-cited to (e)(2) + Chart 3710.1 row 2 (describe A renamed), describe B renamed to the two dates it asserts; the Application struct-literal sweep and the eight-site standard_period_ends_on sweep enumerated; the C-a→C-b window accepted with its deployment note.
v7 — 2026-09-04: round 6 (three lenses + cross-check; 20 findings: 0 BLOCKER, 6 MAJOR of which 5 confirmed and 1 downgraded; the implementability lens approved with nothing material) — resolved per unit FINDINGS RESOLVED (cited as r6-policy F#, r6-data F#, r6-impl F#); the SMS text kind-neutral (pure substitution, fail-closed — no branch); the recert NOMI’s denial_reinstatable folds the window-closed test and its sentence carries reinstatement_period_start; the default SOP pin takes the pamms reference-copy shape under the ledger’s one authority criterion with source_ref required on every pin; the RecertFilingParams carrier of the filing day named once in U-RC-A and reused by U-RC-B; Application.application_kind [serde(default)] and the preview’s application_kind: Option as absence tolerance (restart orders tolerant); the renewals arm answers a replay FIRST; the five child-issue titles fixed verbatim.
v8 — 2026-09-04: round 7 (three lenses + cross-check; 17 findings — 16 numbered (r7-policy F1–F5, r7-data F1–F7, r7-impl F1–F4) plus the policy seam r7-data F1 exposed, decided as SME item 20: 0 BLOCKER, 2 MAJOR of which 1 confirmed and 1 downgraded; the implementability lens approved with nothing material) — resolved per unit FINDINGS RESOLVED (cited as r7-policy F, r7-data F#, r7-impl F#); SME item 20 (classification on the legal receipt day; clocks on the legal filing date); R4 issue 6 (the intake NOMI past-date twin); the recert NOMI’s producer-derived renewal_deadline_passed and its no-date sentence, the recert On-Demand default by-date’s max(today, SOP − 1) fallback with the after-the-deadline sequence stated honestly; arm R’s interview precondition; the preview’s reinstatable as the event’s fact; the RenewalIdentity store argument, the DeniedRow move into api/reopen_kind.rs, the reason-parse posture, the derive lists; row 15 retitled by its flipping MR; the five required citation fields.
v9 — 2026-09-04: round 8 (three lenses + cross-check; 18 findings — 17 numbered (r8-policy F1–F8, r8-data F1–F7, r8-impl F1–F2) plus the cross-check ruling (r8-policy F1 + F2 decided as one state, §1): 0 BLOCKER, 5 MAJOR of which 3 confirmed, 1 downgraded, 1 refuted; the implementability lens approved) — resolved per unit FINDINGS RESOLVED (cited as r8-policy F#, r8-data F#, r8-impl F#); the worker verification denial of a recertification row now requires the interview (removing the outstanding-interview state — arm R anchors on cured_on alone, its interview precondition a belt, the reopen panel’s recovery cell dropped); the preview contract stated for every NotReopenable arm (LoadedSnapRow; the existing tokens reopen_episode_open / not_denied / later_episode_approved); the retitle rationale corrected (board.rs publishes issue titles); row 15’s journey names both denial-day rules; one carrier for the reinstatement window; the create matrix’s two B2 helpers; the InterviewProjection.warnings / ReopenEpisodeBlock.application_kind source-literal sweeps; api/reopen.rs ≤ 6 lines; the (e)(1) authority for the extended-tick denial; the calendar-month 21/30.
v10 — 2026-09-04: round 9 (three lenses + cross-check; 20 findings: 0 BLOCKER, 2 MAJOR confirmed (both U-RC-A seams: the withdrawn-renewal read; a renewal filing refused while a postponement episode is open — SME 21); regulation and implementability lenses approved) — resolved per unit FINDINGS RESOLVED (cited as r9-policy F#, r9-data F#, r9-impl F#); the withdrawn-renewal BFF branch keys on the linked read’s 404 (withdraw_application is the sole active = false writer); the create matrix’s certification_conversion_pending row (keyed on the cert’s certification_type) with the continuation INCLUDE kept and vacuous for in-cert conversions, 1133’s description gaining the recertifying end-date constraint; the On-Demand fallback max(today, SOP − 2) with the ordinary-twin pin on the between-ticks ordering; the short-cert clamp reworded with the 08-20 → 10-19 pin; row 13’s journey rewritten like row 15’s; the deny row’s trigger without (d)(2) (TOML comment); federal_citation on the federal pins; criterion (8) for the R4/R3 deliverables; denial_reopen_right → Result<_, ApplicationKindDrift> with the publisher’s three parameters and the initial-row rule; the kind-aware clock rule routed to its three doc homes; the RenewalIdentity / RenewalsCertDeps homes before tx.begin(); superseding the SME 21 and short-cert clamp clauses earlier in this line — owner’s v10 completion: SME 21 keyed on certification_type alone (no episode read); the short-cert clamp pinned as a pure function on production shapes.
v11 — 2026-09-05: round 10 (three lenses + cross-check; 16 findings: 0 BLOCKER, 1 MAJOR confirmed (noa-denial’s second reopen-by site — the What-You-Can-Do bullets branch with the block), 11 MINOR, 4 NOTE; all three lenses approved) — resolved per unit FINDINGS RESOLVED (cited as r10-policy F, r10-data F#, r10-impl F#); the noa-denial recert branch applied at BOTH reopen-by sites with the negative render pins; closure (c)'s two numbers (+1 vs the final MR’s base, +3 vs the frame’s 122); the untimely non-workday-SOP residue of renewal_deadline_passed recorded and pinned (option (b)); the test-* pin fields and the test-min / test-max reasons divergence; the template key-read discipline in Notices 1; the appointment letter’s recert sentences (one recert render cell); the mq-topology criterion as the tool prints it; the ReopenEligibilityPreview literal sweep + legal_denied_date per arm; WindowRefusal::ReasonNotReinstatable and arm R’s write-side window_closed; the IN_FORCE_CERT_STATUSES splice mechanism + agreement test; the standard_processing_deadline None posture on the NOMI scan; find_certification_by_renewal_application + the episode column comment; the TS grep; the per-child service:: label list; the RecertReinstatementParams Extension registration split C-a / U-RC-B; the four [[allowlist]] blocks verbatim.
v12 — 2026-09-05: round 11 (three lenses + cross-check; 13 findings: 0 BLOCKER, 1 MAJOR confirmed (the kind-aware SNAP clock had two owners — now the pure snap_deadline_by_kind), 7 MINOR, 5 NOTE; data and regulation lenses approved; implementability approved subject to the one owner) — resolved per unit FINDINGS RESOLVED (cited as r11-policy F#, r11-data D#, r11-impl F#); the kind-aware SNAP clock re-homed to ONE owner — the pure snap_deadline_by_kind in domain.rs (resolve_renewal_identity identity-only; five bounded deviations, owner-confirmed); the received_at / derive_legal_filing derivation hoisted above tx.begin(); the appointment letter’s recert consequence sentence names the SOP deadline and no denial day; the arm-5 denial_reinstatable residue recorded and pinned; the worker’s publisher call site write_denial_and_stage gains the three kind arguments; the three optional preview fields' #[serde(default, skip_serializing_if)] shape; the NotReopenable arms call denial_reopen_right; criterion (4)'s second decidable grep; the four one-line cite drifts (two applied, two verified correct and kept); the "application_reopen" rust grep and the arb_spec token row.
v13 — 2026-09-05: round 12 (three lenses + cross-check; 14 findings: 0 BLOCKER, 0 MAJOR confirmed — the one reported MAJOR (an unread helper parameter) downgraded to MINOR by the verifier; 7 MINOR, 7 NOTE; ALL THREE lenses approved) — the clean round; the final fix pass folds every item; the frame MR ships v13