Journey: SNAP substantial lottery/gambling winnings → adverse action

An applicant files a SNAP application through the real applicant portal. A caseworker records the household’s wages, approves and certifies the case, then records substantial lottery/gambling winnings the household reports mid-certification; a re-determination finds the household over the gross-income limit, so eligibility ends and a written adverse-action Notice of Action is generated. The applicant then signs back in and reads that letter — the file → act → notice → see-it arc that 7 CFR 273.11(r) and 273.12 bound, shown across BOTH portals side by side.

NOTE

Reproducibility tier: Fully manual. Every step below can be reproduced live, by hand, through the two served portals — the applicant files the case at /apply in one browser and the caseworker works it at /cases in another. No harness, given-library, or pre-seeded case is required; the case is the one the presenter files during the demo.

IMPORTANT

This walkthrough is paired with the automated spec tests/e2e/specs/journey-snap-lifecycle.spec.ts, covering scenario snap.change.substantial-lottery-winnings. The screenshots below are captured by that spec (worker shots step-NN-…, applicant shots app-NN-…). See Verifying the journey to run it.

Personas & credentials

Persona Credentials / identity Role in the journey

Applicant

Files at the portal /apply wizard, on the URL cargo xtask dev status prints for canopy-portal. On submission a reference number (HH-xxxxxxxx) + a 12-digit passcode (dddd-dddd-dddd) are shown once — the applicant signs back in at /lookup with that pair.

Files the single-person SNAP application; later signs back in to read the adverse-action letter.

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).

Records the wages, approves + certifies the case, records the winnings, re-determines, and confirms the notice.

Bring-up & reset

CANOPY_CARGO_FEATURES=canopy-api/test-clock cargo xtask dev start --profile full

Page-specific: drive the two personas in separate browser contexts (or one incognito window) so the applicant’s /lookup session and the caseworker’s canopy-web session stay apart. The Demo Runbook owns seeding, reset and credentials; cargo xtask dev status prints the ephemeral host ports.

Concrete precondition

The exact inputs this journey depends on (the #979/#991 bar — the applicant side is as reproducible as the worker side):

  • Applicant files (portal /apply): a single-person household — head of household only, no other members.

    • Head: first name Dana, last name Whitfield, date of birth 1990-04-12.

    • Safety question: Standard protections are fine; income step: No one works right now (the portal authors no income — the worker records it).

  • Caseworker records (worker portal):

    • Baseline wages: income type wages, $300 / month, effective today — a construction extreme robustly below any gross-income limit (an input, not an asserted value).

    • Windfall: income type other, $12,000, effective today — a construction extreme robustly above any gross-income limit.

    • Certification period: start one month ago, end eleven months ahead (a ~12-month window spanning today).

The walkthrough, step by step

# Screen Action Expected Screenshot

01

Applicant

At /apply, work the wizard: Begin application → save the Application ID → About you (Dana Whitfield, DOB 1990-04-12) → Who lives with you? (add no one) → Standard protections are fine → No one works right now (leave the quick-check amounts at 0) → Review → Submit application.

The Application submitted screen reveals the reference number (HH-…) + the 12-digit passcode. Note them down — they are shown only once.

Applicant credential reveal

02

Caseworker

Open the case (/cases/<HH-…>?program=snap) → Income tab → + Add income for the head → income type wages, amount 300, frequency monthly, effective date today → Add.

The wages row is recorded against the head — the portal-filed case had zero income, so this is the real income the determination will read.

Wages recorded

03

Caseworker

Determination tab → Action ▾ → Run Determination.

The SNAP determination returns Approved with a monthly benefit — the eligible baseline.

Approved determination

04

Caseworker

On the Determination tab, open the program group’s Actions panel → Create certification; enter start one month ago and end eleven months ahead → Create certification.

Redirects to the Household tab, whose Certification card now shows the period (start – end) and type. Observed: the case hero’s SNAP pill reads SNAP Active — the paired spec waits for the household’s newest enrollment to settle active (awaitSnapEnrollmentActive, #2073) before this first post-approval capture, so the pill no longer depends on the auto-enrollment settle tick.

Certification created

05

Caseworker

Income tab → + Add income for the head → income type other, amount 12000, frequency monthly, effective date today → Add.

The winnings row is recorded against the head (the same income-claim the determination reads).

Windfall recorded

06

Caseworker

Return to the Determination tab → enter the date the change was reported in Change reported on → Run Determination. (The household is already enrolled, so this re-run is an interim change anchored at its report date — 7 CFR 273.12(c); the Action ▾ item carries no date field and is refused for an enrolled household, its banner pointing here.)

The same case now returns Denied — the reported winnings pushed gross income over the limit. Because the enrollment is live, the denial is applied through the adverse-action pipeline: canopy-enrollment stages a termination behind 7 CFR 273.13 advance notice rather than closing the case on the spot.

Denied determination

07

Caseworker

Open the Notices tab.

Beside the step-03 approval’s notice_of_action row, an adverse_action_termination entry — the noa-termination advance notice the adverse-action pipeline sends for the staged termination (the determination’s own denial NOA is suppressed for a continuation-class denial) — with a downloadable PDF.

Adverse-action notice

08

Applicant

Back in the applicant browser, go to /lookup, enter the reference number
passcode from step 01 → Continue.

Lands on the applicant Home with the returning-applicant greeting.

Applicant home

09

Applicant

Open the Letters page and click the most recent letter.

The termination notice (noa-termination) the caseworker’s re-determination triggered is now visible to the applicant — the outcome reflected back across the portal boundary.

Applicant letter

Expected outcome / oracle

The oracle is relational / derived, never a dollar figure or a policy threshold:

  • The same case flips Approved → Denied purely because a life-event (the reported windfall) crossed the gross-income boundary — Denied is a permitted post-change state, Approved is not.

  • A notice row appears on the case Notices tab (the pipeline fired end to end: determination → staged termination → noa-termination).

  • That letter reflects back to the applicant — a non-empty subject appears on the applicant Letters page after they sign back in.

Honest scope

  • The worker Income tab’s Add income form has no "irregular / lottery" income type, so the windfall is recorded as income type other. For the SNAP gross-income test that is equivalent — other is counted as unearned income (services/canopy-snap/src/determine.rs), so it drives the same eligibility flip.

  • The applicant portal captures identity + household composition only, never amounts; the filing claims the apply address as the head’s residential fact (#1137). This journey has no address-dependent logic, so the worker authors no address; all income is recorded by the caseworker.

  • The oracle asserts the derived Approved → Denied flip and the NOA’s appearance, not any dollar figure or timely-notice window.

  • The denial of an enrolled household is a continuation-class denial (#1133). The step-03 approval auto-enrolled the household, so the step-06 re-run is an interim_change (7 CFR 273.12(c)): the roster reads Denied, but the case is not closed on the spot — canopy-enrollment stages a termination behind 7 CFR 273.13 advance notice (noa-termination), and the case closes when that action enacts after the notice period.

Verifying the journey

cargo xtask e2e --devstack-profile full -- \
  specs/journey-snap-lifecycle.spec.ts --project journey

The journey lane needs the test-clock build the bring-up above produces — cargo xtask e2e refuses a selection naming it otherwise (the journey-lane gate). Fresh screenshots land in test-results/e2e/walkthroughs/journey-snap-lifecycle/ for commit into docs/modules/ROOT/assets/images/walkthroughs/journey-snap-lifecycle/.

Edit this page · default