Journey: A timely SNAP recertification — benefits continue with no break

An applicant files a SNAP application through the real portal front door and is approved; the caseworker certifies the case. Inside the last month of that certification period the household files its renewal on time (by the 15th, 7 CFR 273.14(c)), the interview is held, and the caseworker approves the renewal while the old period is still running. Nothing changes that day for the household: the old enrollment keeps issuing to its own end, and the approval is recorded as a scheduled successor that starts the day after the old period ends. On that day the enrollment expiry sweep expires the old row and lands the successor in the same pass, its first month a full month (7 CFR 273.14(e)(1); PAMMS SNAP 3710); the renewals scheduler mints the new certification at period start. The applicant signs back in and sees benefits continuing under the new period.

NOTE

Reproducibility tier: Clock-driven harness. The renewal decision must fall inside the old period and the successor lands the day after it ends, so the journey plays under an advancing fleet logical clock (ADR-033 test-clock builds): the arrange chooses a certification end inside the renewal window through the ORDER arm (the one production seam that lets a spec pick a benefit period, #969), the renewal filing and the interview are harness beats (POST /v1/applications with renews_certification_id, the interview schedule / complete endpoints — there is no applicant-portal renewal filing and no worker UI for the interview endpoints yet), and the day jump to the old end + 1 with the sweep and scheduler passes replays from the paired spec. Every worker-visible surface — the Determination tab, its Benefit continuations panel and the Renewals tab — is verifiable at its own beat, and the applicant’s /home at the end. The expiry sweep and the renewals pass have no operator UI: in production they are the hourly fenced probes, keyed on the legal day; the harness calls POST /v1/enrollments/expiry-sweep/run and POST /v1/renewals/scheduler/run (service callers) to run one pass now.

IMPORTANT

This walkthrough is paired with the automated spec tests/e2e/specs/journey-snap-timely-recert.spec.ts, covering scenario snap.certification.timely-recert-uninterrupted-benefits (journey tier). The screenshots below are captured by that spec (applicant shots app-NN-…, worker shots step-NN-…). See Verifying the journey to run it.

Personas & credentials

Persona Credentials / identity Role in the journey

Applicant (Imani Okonkwo)

Files at the portal /apply flow; the Application ID (HH-…) + 12-digit passcode shown on submit are the /lookup sign-in.

Files the SNAP application (head of household only, no income); signs back in once the successor has landed to see benefits continuing.

Caseworker

Worker portal at the origin cargo xtask dev status prints, signed in as jane.caseworker through the AC-8 notice and Kanidm’s pages (her password and TOTP secret are in .devstack/idp/kanidm.json; see UAT Facilitator Guide). The harness puts the household on her caseload (the #408 gate on her enrollment reads).

Certifies the approved case over its enrollment period, watches the renewal arrive, runs the in-period determination on the renewal, and re-opens the case on the day the successor lands.

Bring-up & reset

CANOPY_CARGO_FEATURES=canopy-api/test-clock cargo xtask dev start --profile full
cargo xtask seed --seed 42             # deterministic fixtures

The journey needs the test-clock build (Testing › the journey-lane gate); the Demo Runbook owns the bring-up, the feature’s stickiness, the reset between journeys and the fresh browser contexts the applicant and worker sessions need.

Concrete precondition

The exact inputs the journey turns on (read them from the paired spec so page and spec agree):

  • Applicant files at /apply (composition + categories only — no amounts): a single working-age adult — head of household only, no dependents — Imani Okonkwo, DOB 1984-03-09, at a Georgia address; income step No one works right now. Eligible on the facts as filed; no wage is recorded.

  • The arranged period (harness, the spec-local arrangeInPeriodRenewal): the ORDER arm approves the case with as_of = the first of the month N − 1 months before NEXT month (N = the georgia pack’s standard row months under [[snap.certification.categories]] — jurisdictionCategoryMonths('standard') in the spec — 6), so the enrollment’s certification end is next month’s month-end and its renewal date — day 15 of next month (georgia recert_timely_filing_day) — is at least fifteen days ahead of today on every calendar day (a filing stamped now is timely even when a weekend receipt legally files on Monday, #1637). Auto-enrollment lands the live row for that period; the first issuance is the anchor month.

  • The certification the caseworker creates: the enrollment’s own period, typed as the signed calendar-month pair (start = the enrollment’s certification_start_date, end = its certification_end_date), type standard — the post-approval SOP, and the period the renewal renews.

  • The renewal (harness): filed today with renews_certification_id = that certification, so application_kind = recertification, renewal_timely = true (today is on or before the 15th of the last month) and renewal_certification_end_date = the old end.

  • The interview (harness): a telephone appointment for the day after the legal filing day (tomorrow on a weekday) 14:30 ET, held on that day (the clock steps one day; still inside the period).

  • The decision day: tomorrow — inside the old period.

The walkthrough, step by step

# Screen Action Expected Screenshot

01

Applicant

At /apply: Begin application → About you (Imani Okonkwo, DOB 1984-03-09) → Household (just me) → Safety (standard protections) → Income (no one works right now; quick-check 0) → Review → Submit application.

The Application submitted reveal shows the HH-… reference + 12-digit passcode. Save both.

Application submitted

02

Harness

arrangeInPeriodRenewal(applicationId, householdId, today) (spec-local) — the ORDER arm approves the case for the period described above and records the decision back.

The application reads determined; the household’s SNAP enrollment settles active for the arranged period (the Determination tab’s SNAP pill reads SNAP Active — the spec waits for the settle, #2073).

(no screenshot — the worker’s first capture is step 03)

03

Caseworker

Open the case (/cases/<HH-…>?program=snap) → Determination tab.

The SNAP group reads Approved with a monthly benefit; the enrollment card shows the arranged period; the Benefit continuations panel is empty ("No continuing determination is on record for this enrollment.").

Case approved and enrolled

04

Caseworker

Determination tab → the program group’s Actions panel → Create certification; enter the enrollment’s period (start = its start, end = its end), type Standard → submit.

The handler redirects to the Household tab, which shows the certification period ending on the enrollment’s end. Renewals now holds the period the renewal will renew.

(no screenshot — the paired spec captures the Renewals tab after the filing)

05

Harness

File the renewal today: POST /v1/applications with renews_certification_id = the certification just created (received now — the household’s newest application, so the worker’s Run Determination binds to it).

The application is a recertification: renewal_timely = true, renewal_certification_end_date = the old end, the SNAP row pending.

(see step 06)

06

Caseworker

Renewals tab.

The tab shows the in-force certification with its end date and the renewal filed against it.

Renewal filed

07

Harness

Schedule the telephone interview for tomorrow 14:30 ET (POST …/interview/schedule, context recert), advance the fleet clock to tomorrow, complete it (POST …/interview/complete).

interview_completed_at is set; the decision day (tomorrow) is still inside the old period.

(no screenshot)

08

Caseworker

Determination tab → Run Determination (the newest application is the renewal; the tab shows Change reported on because the household is enrolled, but an in-period renewal approval is a recert_approval and ignores it — the paired spec fills today’s date).

Approved. The signed basis is recert_approval { renewal_certification_end_date = old end } with benefit_effective_date = old end + 1 = the new period’s start (7 CFR 273.14(e)(1)); the new period ends the pack’s standard row months (jurisdictionCategoryMonths('standard')) later and its "Renew by" is the 273.14(c) deadline of that period. Nothing is enrolled today: GET /v1/enrollments/successors?household_id= shows ONE scheduled row (the approval’s determination, the new period) and the household still has exactly one enrollment — the old row, period and revision untouched, still issuing. On the Determination tab the Benefit continuations panel says, verbatim, Recertified — the new period starts YYYY-MM-DD (the new start).

Renewal approved in period; the successor scheduled

09

Harness

Advance the fleet clock to the old end + 1; run one expiry-sweep pass (POST /v1/enrollments/expiry-sweep/run) and one renewals scheduler pass (POST /v1/renewals/scheduler/run).

The old enrollment is expired; a NEW enrollment (the approval’s determination) starts on the old end + 1 with the new end and the new allotment; the successor row reads landed and names that enrollment; its first issuance is the FULL month (prorated = false, never combined) at the new allotment; renewals now answers the household’s in-force certification as the new period, opened from the renewal decision (determination_id = the approval), the recertifying one superseded. In production the two hourly probes do this on the first tick after legal midnight of the start day.

(no screenshot)

10

Caseworker

Re-open the case → Determination tab.

The enrollment card shows the new period; the Benefit continuations panel’s renewal line is gone (a landed successor says nothing — the card is the evidence). The SNAP pill reads SNAP Active once the successor’s first issuance settles (the spec waits for it, #2073).

The successor is the live enrollment

11

Applicant

Sign back in at /lookup with the HH-… reference + passcode → land on /home.

Your benefits: the SNAP card is Active, its monthly amount is the renewed allotment and its "Renew by" is the NEW period’s renewal date; Coming up names "Certification ends" on the NEW end. Benefits continued with no break.

Applicant home — benefits continue

Expected outcome / oracle

The oracle is relational — real rows compared to each other, never a policy dollar:

  • The in-period approval is signed recert_approval with benefit_effective_date = the renewed certification’s end + 1 (the determination list).

  • Between the approval and that day the household holds exactly ONE enrollment — the old row, untouched — and ONE scheduled successor naming the approval and the new period (the successors read).

  • On the old end + 1 the old row is expired, the successor is landed and names the new enrollment, whose period starts that day; its first issuance is a FULL month (prorated = false) at the new allotment; the renewals certification in force is the new period opened from the approval.

  • The applicant home’s SNAP card and timeline name the NEW period’s renewal date and end.

The spec’s second test (API-driven, a fresh household) pins the newest decision wins rule the successor obeys: a second in-period approval supersedes the scheduled successor (the read shows the newer determination_id, still one row, still scheduled), and a denial withdraws it (withdrawn, the closure date the old end + 1, no new period) while the old row stays the live, issuing enrollment to its own end — the case closes at that end, not at the denial.

Honest scope

  • The renewal filing and the interview are harness beats. The applicant portal has no renewal-filing affordance and the interview endpoints have no worker UI on the renewal, so those two beats are the production endpoints called by the spec; the walkthrough narrates them.

  • The arrange is the ORDER arm. A certification end inside the renewal window on any calendar day is only constructible through the order arm’s benefit anchor (#969) — a production seam, not clock fakery; the renewal path after it is the ordinary one.

  • The landing is a scheduler pass. The successor lands on the first expiry-sweep pass after legal midnight of its start day (the hourly fenced probe in production); the harness triggers one pass so the journey does not wait an hour, and logs — never asserts — the pass’s counters, because the probe may have taken the row first.

  • No dollar is asserted. The allotment, the first month’s amount and the supplement-free landing are read off the determination and the ledger.

Verifying the journey

cargo xtask e2e --no-refresh --devstack-profile full -- \
  specs/journey-snap-timely-recert.spec.ts --project journey

The spec walks the steps above end to end and asserts the oracle under "Expected outcome / oracle". Fresh app-NN / step-NN captures land in test-results/e2e/walkthroughs/journey-snap-timely-recert/, which is where the committed PNGs under docs/modules/ROOT/assets/images/walkthroughs/ come from. The journey lane needs the test-clock devstack build — see Bring-up & reset above.

The service-level pins behind each beat: canopy-eligibility’s derivation (recert_approval_anchors_at_the_old_end_plus_one_inside_the_period, tests/orchestrator_dispatch_test.rs::in_period_recertification_row_anchors_at_the_old_end_plus_one), canopy-enrollment’s successor module (successors::infra_tests, from the scheduled approval through the full-month landing, the supersede, the withdrawal and the day-of race) and canopy-renewals' decision record and due mint (determination_subscriber::infra_tests).

See also

Edit this page · default