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.
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.
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 |
Files the single-person SNAP application; later signs back in to read the adverse-action letter. |
Caseworker |
Worker portal at the origin |
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 nameWhitfield, date of birth1990-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 |
The Application submitted screen reveals the reference number ( |
|
02 |
Caseworker |
Open the case ( |
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. |
|
03 |
Caseworker |
Determination tab → Action ▾ → Run Determination. |
The SNAP determination returns Approved with a monthly benefit — the eligible baseline. |
|
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 |
|
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). |
|
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. |
|
07 |
Caseworker |
Open the Notices tab. |
Beside the step-03 approval’s |
|
08 |
Applicant |
Back in the applicant browser, go to |
Lands on the applicant Home with the returning-applicant greeting. |
|
09 |
Applicant |
Open the Letters page and click the most recent letter. |
The termination notice ( |
|
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 —
otheris 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/.








