Plan: View and record the TANF work-standard basis on the work-requirement tab (#2314)
Status: Done (2026-10-26) — !1802
Epic: none — follow-up to #2193 (TANF 261.34 limits; its Out of scope names "a portal UI for the basis")
Issues: #2314 (parent) · U1 #3020 (w3) · U2 #3021 (w5) · U3 #3022 (w5) · follow-ups #3023, #3024
Branches: feat/tanf-work-standard-batch-read, feat/web-work-standard-timeline, feat/web-record-work-standard-basis
This is a Design + Scope plan: GitLab owns tracking, the child issues carry the implementer brief, and the plan freezes when U1 starts.
Context
#2193 records a dated work-standard basis in canopy-tanf. One path takes POST to record a basis and GET to list a person’s timeline (services/canopy-tanf/src/api/work_requirement_handlers.rs:486-533, crates/canopy-contracts-tanf/src/paths.rs:44). The basis in force on a date is decided by store::basis_in_force (services/canopy-tanf/src/store/mod.rs:557-565). The POST refuses two inputs with uncoded 422s (work_requirement_handlers.rs:538-558), while log_activity codes its own refusals (:235-265). A summary month whose job-search limit has no basis in force answers 422 work_standard_unrecorded, and a listed child canopy-persons does not return can answer work_standard_child_unknown (services/canopy-tanf/src/participation/week_standard.rs:67-75). In a batch, one person’s refusal fails the whole request. Today only the API and the test client can record a basis (crates/canopy-test-lib/src/clients/tanf.rs:275-298).
Since #2312 the work-requirement tab reads by person and in bulk (services/canopy-web/src/api/case_detail/tanf_tabs.rs:136-183):
-
the household’s named roster:
GET /v1/households/{id}and one namespersons:batchGet, never the SSN-opening/full(services/canopy-web/src/api/household_head.rs:113-144, #2680); -
work-requirements:batchGetfor every member; -
activities/summary:batchGet?detail=rowfor the members on file.
It renders one card per member with a work requirement on file (tanf_tabs.rs:186-215; services/canopy-web/templates/cases/tab_work_req.html:21-55). A failed summary read keeps the cards and returns Partial (tab_work_req.html:9-15). The activity form picks its member from the roster (#2414) and validates the typed body before any I/O (services/canopy-web/src/api/actions_tanf.rs:206-264, #2411). It proves membership (:309, #2540), writes on the worker’s delegation (:320-324) and maps coded 422s (:266-284). The two bulk reads admit a system caller or canopy-web’s delegation of a case reader (crates/canopy-auth/src/delegated.rs:553-563, the #2312 ruling). The issue predates these changes. Where it names exchanged_write_client, /full or a household-keyed read, this plan uses the seams above.
This work is governed by:
-
ADR-001 Amendment 1 §B4: bulk reads use
:batchGet. -
ADR-034 §3: a policy input is never assumed, so the form prefills nothing.
-
ADR-019 and ADR-043: the BFF is the authorization boundary and never downgrades to the service token.
-
ADR-044: program scope.
-
The ADR-033 §5 amendment: decision instants come from the injected
DecisionClock. The basisPOSTalready stamps from it (work_requirement_handlers.rs:500-503); nothing here adds a clock read.
No pack value changes. The 45 CFR 261.34(c) figures stay in rulesets/federal/tanf-work-activity-limits.json:7-9, and no copy names them.
Maintainer rulings (2026-10-26, on #2314).
-
Q1: a basis panel renders only for members with a work-requirement row on file (D1).
-
Q2: canopy-tanf names the row in force for the
as_ofthe tab sends (D3). -
Q3: one
persons:batchGetreads every listed child withinclude_inactive: false, so canopy-web’s unknown-child flag equals canopy-tanf’s (D4). This supersedes the issue’s "children not on the roster" wording. -
Q4 and Q7: canopy-tanf’s own child-list refusals (#3023) and an audit event for a recorded basis (#3024) are follow-up issues.
-
Q5: axe runs in e2e on the populated and empty panel; render tests pin the error and partial markup.
-
Q6: the hours-unavailable marker names the summary’s coded refusal instead of "didn’t respond" (D4, U2).
-
Q8: Recorded by resolves through the worker directory (D5).
Scope
In scope:
-
U1: canopy-tanf codes the two basis refusals and serves a bulk timeline read.
-
U2: the tab shows each on-file member’s timeline: the in-force row, child names, unknown children and the error states. The hours-unavailable marker names the summary’s coded refusal (Q6).
-
U3: the record form and its BFF action, with field errors, the membership proof, the delegation, and a Playwright journey with axe audits.
Out of scope:
-
canopy-tanf refusing an unknown child, or the subject listed as their own child. The BFF refuses the second (D7). Both are #3023.
-
An audit event for a recorded basis.
log_activitystages one (services/canopy-tanf/src/events.rs:211-219) and the basisPOSTdoes not. This is #3024. -
canopy-reporting’s #1771 roster heuristic. ACF-199 behaviour is unchanged.
-
The work-activity action’s redirect, which carries no
program=tanfand so lands on the worker’s first program (services/canopy-web/src/api/actions.rs:422-425,services/canopy-web/src/api/case_detail/page.rs:243-250). That is #3017; the new action’s redirect carriesprogram=tanf. -
A panel for a member with no work-requirement row (D1), and editing a basis: bases are append-only by design.
Design
D1 — member set. The basis panel renders inside each on-file member’s existing card. The job-search limit reads only activity rows. Each activity row hangs off a work-requirement row: log_activity creates one (work_requirement_handlers.rs:187), and so does the applicant’s determination (services/canopy-tanf/src/determine.rs:486-492). So every person the summary can refuse for a missing basis is on file, and the tab already reads only them. A basis recorded through the API for someone not on file stays inert until that person’s first activity, when their card and timeline appear. canopy-tanf’s data decides the member set; canopy-web applies no age or relationship rule.
D2 — coded refusals (U1). check_basis_year returns ApiError::unprocessable_coded("effective_date_out_of_range", …). check_custodial_children returns unprocessable_coded("custodial_children_required", …). Each detail string stays as it is. The handler’s utoipa 422 description names both codes.
D3 — bulk timeline read (U1).
-
Path:
paths::BATCH_WORK_STANDARD_BASES = "/v1/work-requirements/work-standard-basis:batchGet". It is a static segment, as the summary batch is (services/canopy-tanf/src/api/mod.rs:180-186). -
Contract types, in
crates/canopy-contracts-tanf/src/work_requirements.rsnext toWorkStandardBasis:-
BatchGetWorkStandardBasesRequest { person_ids: Vec<PersonId>, as_of: NaiveDate }; -
WorkStandardTimeline { person_id: PersonId, bases: Vec<WorkStandardBasis>, in_force_basis_id: Option<Uuid> }.
-
-
Handler
batch_work_standard_bases:-
It admits through
principal.admit(&delegated::TANF_POST_WORK_REQUIREMENTS_WORK_STANDARD_BASIS_BATCH_GET)?. -
More than
BATCH_GET_MAX_IDS(500,:80) ids is the siblings' uncoded 422. -
Ids are deduplicated in first-occurrence order, as
batch_month_activitiesdoes (:809-830). -
It makes one
store::list_work_standard_bases_for_personscall (store/mod.rs:535-553). That query’sORDER BY person_id, effective_date DESC, created_at DESC, id DESCgives each person the singleGETorder (:516-528). -
A pure
timelines_in_request_order(ids, rows, as_of)setsin_force_basis_id = store::basis_in_force(&bases, as_of).map(|b| b.id). -
Exact-set: an id with no basis gets empty
basesandNone.
-
-
as_ofis the caller’s legal day. The read stamps nothing and reads no clock. -
Admission, in
delegated.rs:Admission::system().and_user_roles_via(&[WEB], CASE_READER_ROLES). This is the #2312 shape, with no direct user arm. -
ApiDocregisters the path and both schemas. The OpenAPI path count pin goes from 31 to 32 (mod.rs:268-283). -
There is no migration.
idx_tanf_work_standard_bases_person_effectiveserves the set query (services/canopy-tanf/migrations/20261225000001_tanf_work_standard_bases.sql:28-29). -
canopy-test-lib gains
batch_work_standard_bases(&[PersonId], NaiveDate).
D4 — the tab’s reads (U2). read_work_requirements keeps the roster read and the status read. Then:
-
If any member is on file, it
tokio::join!s the summary batch withpost_read(paths::BATCH_WORK_STANDARD_BASES, …). That read covers the on-file ids, withas_ofset to the tab’s legal day, the day the summary month comes from (services/canopy-web/src/api/case_detail/tab.rs:118). -
If any basis lists children, it makes one
persons:batchGetcovering every distinct listed child. It uses a newServiceClients::active_person_cores(services/canopy-web/src/clients.rs, besideperson_coresat:2563-2583) withinclude_inactive: false, the same request canopy-tanf makes when it resolves the children (week_standard.rs:126-131).-
A child this read does not return is the unknown person behind
work_standard_child_unknown. -
Reading every listed child, on the roster or not, keeps canopy-web’s flag equal to canopy-tanf’s. A roster name would not, because the roster reads
include_inactive: true(clients.rs:2576).
-
-
Failure arms:
-
A failed roster or status read is the error block, as today.
-
A failed summary read is today’s
Partialmarker, but its copy follows the cause (Q6). The summary’s 422 is read withclassify_upstream(services/canopy-web/src/case_detail/sections/representatives/refusals.rs:140-175). Onwork_standard_unrecordedthe marker reads "Hours unavailable: a member has job-search hours in a month with no work-standard basis in force". Onwork_standard_child_unknownit says a basis lists a child the person record doesn’t know. Any other failure keeps "didn’t respond" (tab_work_req.html:12-14). The marker names no person, so a household with several members leaks nothing about which one failed. -
A failed timeline read shows
data-work-standard-unavailableon each card, never the empty state, and returnsPartial. -
A failed children read renders the rows with
data-child-names-unavailablein the children cell, never blank names, and returnsPartial. -
Outcome precedence:
Error, thenPartialwhen any secondary read failed, thenEmptywhen no member is on file, elsePopulated.
-
-
Budget per render:
-
canopy-persons: one household read and at most two
persons:batchGetcalls (names, children); -
canopy-tanf: one status read, at most one summary read and at most one timeline read;
-
the process-cached worker directory (D5);
-
no per-member and no per-child call.
-
-
The reads and their view mapping move to a child module,
tanf_tabs/work_standard.rs, with each function at most 40 lines.work_req/Plugin.tomllists the new endpoint.
D5 — the panel (U2). A partial, templates/cases/_work_standard_basis.html, is included in each card. Each member gets a WorkStandardPanel { person_id, rows: Option<Vec<BasisRow>> }:
-
BasisRowholdseffective_date,single_custodial_parent,children: Vec<ChildCell { name, unknown }>,recorded_by,recorded_atandin_force. -
The table:
-
<caption>Work-standard basis for {name}, newest first</caption>; -
header cells
<th scope="col">: Effective date, Single custodial parent, Custodial children, Recorded by, Recorded at, Status; -
rows in canopy-tanf’s order, never re-sorted;
-
"In force today" as text in the Status cell of the row whose id is
in_force_basis_id.
-
-
An unknown child reads "Unknown person — record a corrected basis" (
data-child-unknown). -
Recorded by is
crate::audit::resolve_actor(&recorded_by, None, session_worker_id, &names): "you", the directory name, or "another worker". This follows the CAPS note precedent (services/canopy-web/src/api/case_detail/caps_tab.rs:113-128). Recorded at uses the format%Y-%m-%d %H:%M UTC. -
Empty state (
data-work-standard-empty): "No work-standard basis is recorded. The activities summary is refused for any month with job search or job readiness hours and no basis in force on its last day." The copy names no figure, age, state or brand. -
The session’s worker id reaches the renderer through
WorkReqView<'a> { household_id, csrf_token, can_write, activities, as_of, session_worker_id }. That struct replaces the loose arguments ofrender_work_req_tab,render_tanf_work_reqandwork_req::fetch, which would otherwise cross clippy’s seven-argument limit.
D6 — the form (U3). It renders for writers only, inside a <details> in the partial:
-
hidden
_csrf,household_id, andperson_idset to the card’s member; -
a labelled
<input type="date" name="effective_date" required>with novalue; -
<fieldset><legend>Single custodial parent</legend>holding radiosyesandno,required, neither checked; -
<fieldset><legend>Custodial children</legend>with one checkbox per other roster member (name="custodial_child_ids"), labelled with the name and "born YYYY-MM-DD", or "date of birth not on file". When there are none, it reads "No other household member."
NamedMember gains date_of_birth: Option<NaiveDate>, set from the method PersonCore::birth_date() (services/canopy-web/src/clients.rs:2062-2066), which parses the wire’s date_of_birth: Option<String> as %Y-%m-%d and yields None for an absent or unparseable value. Either None renders "date of birth not on file". read_named_roster already holds the cores. Every id carries the prefix wsb-{person_id}-. The form carries method/action and hx-post, with hx-target="#wsb-result-{person_id}". That target is a role="status" aria-live="polite" aria-atomic="true" data-swap-errors data-field-error-region div.
D7 — the action (U3). The route is POST /actions/tanf/work-standard-basis, handled by record_work_standard_basis_tanf in a new child module, api/actions_tanf/work_standard.rs. actions_tanf.rs is 418 lines, and a nested file stays outside the B1 glob (xtask/src/cmd/quality_budgets.rs:444). Its extractors are AuthenticatedWorker, WritePermission, ProgramScope<Tanf>, Extension<Arc<ServiceClients>>, HeaderMap and axum_extra::extract::Form, which takes repeated keys (actions_wic.rs:274). In order:
-
parse_work_standard_basis(&form)makes no I/O and collects every field error:-
the household id;
-
the subject and each child as a
PersonId(a non-id is the not-a-member 403, as infact_editor.rs:256-273); -
the date;
-
the radio,
yesornoonly; -
the children, deduplicated in order;
-
the subject among the children is a 422 on
custodial_child_ids; -
yeswith no child is a 422 on the same field.
-
-
One
household_head::read_rostercall proves the subject and every child withProvenPerson::on_roster(services/canopy-web/src/persons_write.rs:53-61). Anyone off the roster is a 403: "That person is not a member of this household." A failed roster read is a 502. -
The write is
clients.tanf.clone().into_authorized(&scope.authorized()).post::<RecordWorkStandardBasisRequest, WorkStandardBasis>(UpstreamPath::template(WORK_STANDARD_BASIS).bind("person_id", subject.person_id()), …). canopy-tanf records the worker’s subject. A delegation that cannot be minted fails the action, with no fallback to the service token. -
classify_upstream(services/canopy-web/src/case_detail/sections/representatives/refusals.rs:147-163) maps the upstream answer:-
422
effective_date_out_of_rangeis a field error oneffective_date; -
422
custodial_children_requiredis a field error oncustodial_child_ids; -
a 403 is a 403;
-
anything else is a 502, "Not saved."
The upstream body is never echoed.
-
-
On success: an htmx request gets
HX-Redirect, a plain post gets a 303, the representatives shape (services/canopy-web/src/api/representatives_shared.rs:57-72). The target is/cases/{hh}?program=tanf&focus_section=work-req¬ice=work-standard-recorded. The slug joinsALLOWED_NOTICES(case_detail/allowlists.rs:20-43) with the banner "Work-standard basis recorded."
A refusal renders templates/cases/_work_standard_result.html (WorkStandardRefusal { status, title, message, field_errors, person_id }), using FieldError (representatives/forms.rs:34-52). Each item carries id="wsb-{person_id}-error-{field}" data-field-error data-field="{field}". The log line carries ids and the worker’s name, never the custody facts. Registration:
-
program_action_routes.rstanf_routes; -
SCOPE_POLICY("record_work_standard_basis_tanf", ScopeRule::RequireExtractor(PS_TANF))(xtask/src/cmd/route_authz.rs:1586-1602); -
the route harness’s
action_id_routes(action_id_route_tests.rs:279-310).
D8 — field-error binding (U3). One attribute, data-field-error, marks a field error in both sections. The representatives templates (templates/case_detail/sections/_rep_action_result.html, _rep_history.html, _representatives.html) and the binder rename data-rep-field-error to it; no alias remains. The htmx:afterSwap binder (services/canopy-web/static/js/canopy-web.js:91-111) fires for a target with data-field-error-region as well as the rep-action-result id, reads [data-field-error], and sets aria-invalid and aria-describedby on the named input; for custodial_child_ids that is the first checkbox. The representatives behaviour is otherwise unchanged, and its tests keep their assertions under the new name.
Units (weights by complexity) — U1 → U2 → U3
Weights: 1 trivial · 2 small · 3 medium · 5 large · 8 very large. One unit = one independently shippable MR = one child issue.
U1 (w3, #3020) — canopy-tanf: coded basis refusals and the bulk timeline read
Files: crates/canopy-contracts-tanf/src/{paths,work_requirements}.rs, crates/canopy-contracts-tanf/tests/roundtrip.rs, crates/canopy-auth/src/delegated.rs, crates/canopy-auth/src/identity_receiver/delegated_routes/tests.rs (128 → 129), services/canopy-tanf/src/api/{work_requirement_handlers,mod}.rs, services/canopy-tanf/tests/batch_status_test.rs, crates/canopy-test-lib/src/clients/tanf.rs, docs/modules/ROOT/openapi/tanf.json, docs/modules/ROOT/pages/api/canopy-tanf.adoc, docs/modules/ROOT/pages/authorization-inventory.adoc, CHANGELOG.adoc.
Tests:
-
work_standard_basis_testsassert each 422’s status and RFC 9457code, asactivity_value_testsdo (work_requirement_handlers.rs:300-313). -
Unit tests and a
proptestovertimelines_in_request_order:-
one entry per unique id, in first-occurrence order;
-
each person’s order is a sort by (
effective_date,created_at,id) descending; -
in_force_basis_idequalsbasis_in_force.
-
-
An infra test over
EphemeralSchema::new_for_tanf, guarded oncanopy_test_lib::infrastructure_available()and never#[ignore]:-
person A has a same-day correction and a future-dated row; person B has one row; person C has none;
-
the batch answers A, B and C in request order;
-
each person’s bases equal the single
GET; -
A’s in-force basis is the correction.
-
-
batch_status_test.rs: canopy-web’s delegation is admitted; canopy-cli’s is 403actor_not_allowed; 501 ids is a 422 (thea_web_delegation_reads_both_batches_and_a_cli_delegation_neitherandbatchget_over_cap_is_422shapes,:322-394). -
The roundtrip
proptestcovers both new types, and the path pin reads 32.
U2 (w5, #3021) — canopy-web: the basis timeline on each on-file card
Files: services/canopy-web/src/api/case_detail/tanf_tabs.rs, …/tanf_tabs/work_standard.rs (new), …/tanf_tabs/tests.rs, services/canopy-web/templates/cases/tab_work_req.html, templates/cases/_work_standard_basis.html (new), api/case_detail/{program_tab,tab}.rs, case_detail/sections.rs, case_detail/sections/work_req.rs, case_detail/sections/work_req/Plugin.toml, services/canopy-web/src/clients.rs, docs/modules/ROOT/pages/api/canopy-web.adoc (the tab row, :80), CHANGELOG.adoc.
Tests (stub upstream as work_req_upstream, with person_reads_stub and a routed worker directory):
-
Request budget, extending
the_tab_reads_its_members_in_two_bulk_calls_by_person:-
one household read;
-
a names batch with
include_inactive: true, then a children batch withinclude_inactive: falseover exactly the distinct listed children, one of them off the roster; -
one status read, one summary read, and one timeline read naming the on-file ids with
as_of2026-11-15; -
zero unrouted requests.
-
-
Rendering:
-
rows in the stub’s order;
-
"In force today" on the row whose id the stub names, which is not the first row (a future-dated row leads), proving canopy-web uses the service’s id and not its position;
-
a roster child, an off-roster child and an unknown child flagged with the prompt;
-
Recorded by as "you", a directory name and "another worker";
-
a caption and
<th scope="col">.
-
-
Arms:
-
a timeline 500 gives
data-work-standard-unavailable, no empty-state copy, andPartial; -
a children 500 gives the names marker with no empty cell, and
Partial; -
a summary 422
work_standard_unrecordedgives the no-basis hours marker,work_standard_child_unknowngives the unknown-child marker, and a summary 500 keeps "didn’t respond"; each isPartialwith the cards kept; -
an empty timeline gives the empty-state copy;
-
the existing error and empty arms are unchanged.
-
-
the_basis_panel_names_no_hour_figure_or_age_threshold: every digit in_work_standard_basis.htmlsits inside aclassattribute or a template expression, and the word "six" is absent.
U3 (w5, #3022) — canopy-web: record a basis
Files: services/canopy-web/src/api/actions_tanf.rs (mod work_standard;), …/actions_tanf/work_standard.rs and …/actions_tanf/work_standard/tests.rs (new), api/program_action_routes.rs, api/action_id_route_tests.rs, api/work_standard_route_tests.rs (new) and its mod line in services/canopy-web/src/api/mod.rs, api/household_head.rs and the NamedMember constructors (api/applications.rs:6903, api/case_detail/determination_legs/tests.rs:11, tanf_tabs/tests.rs:123, wic_tab/tests.rs:97), templates/cases/_work_standard_basis.html, templates/cases/_work_standard_result.html (new), templates/case_detail/sections/{_rep_action_result,_rep_history,_representatives}.html (the D8 rename), api/case_detail/allowlists.rs and its tests, services/canopy-web/static/js/canopy-web.js, xtask/src/cmd/route_authz.rs, tests/e2e/specs/worker-portal-tanf-actions.spec.ts, docs/modules/ROOT/pages/api/canopy-web.adoc (a row beside :291), CHANGELOG.adoc, this plan and nav.adoc (the close).
Tests:
-
Unit: each
parse_work_standard_basisrefusal names its field. The coded-arm table holds, including an uncoded 422 and an unknown code falling to the generic arm. The copy is pinned against the realApiErrorwire, as with theupstream_errorhelper (actions_tanf/tests.rs:100-146). -
Log line: a
tracingcapture over a successful and a refused post asserts the event carries the household and person ids and the worker’s name, and neither the radio value nor any child id (the custody facts). -
Render:
-
both groups sit in a
<fieldset>with a<legend>, and every control has a labelforits id; -
the date has no
valueand no radio ischecked; -
the subject is not among the checkboxes, and each checkbox shows the name and date of birth;
-
a read-only render has no form, and no text input is named
person_id.
-
-
Routed, through
route_test_harness(CaseSpec,route_case_driver.rs:48-65):-
a valid post is a 303 to the D7 target and exactly one write,
POST /v1/work-requirements/{TEST_PERSON}/work-standard-basis, whose body parses as the contract, carried on the worker’s delegation (assert_delegated); -
an outsider subject or child is a 403 with zero writes;
-
the subject as a child is a 422 with zero upstream calls and zero bearers;
-
bearers_failgives no 303 and zero writes; -
each
READ_ONLYrole is theWRITE_DENIAL403, and a worker without TANF is the scope 403; -
the redirect helper sends
HX-Redirectexactly whenhx-requestis present.
-
-
E2E (
worker-portal-tanf-actions.spec.ts):-
build the case with
new SnapCaseBuilder().addMember({… relationship: 'child' …}).build(), thencreateTanfCase(tests/e2e/lib/given/tanf.ts:70); -
open
/cases/{hh}?program=tanf&focus_section=work-req; -
the head’s panel shows
data-work-standard-empty; runrunAxeAudit(severity: 'serious', scoped to the panel); -
submit
yeswith a date and no child: the field error is announced, the first checkbox hasaria-invalid="true"and anaria-describedbynaming the error’s id, and the date keeps its value; -
check the child and submit: after the redirect, the first row reads the date, Yes, the child’s name, "you" and "In force today"; run
runAxeAuditpopulated. -
No assertion is a bare status range: each step asserts the value the behaviour produces.
-
Risks
-
One member without a basis fails the household’s summary batch. fail-closed, as today. Mitigation: the D5 empty-state copy names the cause on the member’s card, and the D4 marker names the coded refusal (Q6).
-
canopy-tanf changes how it resolves children. silent: canopy-web’s unknown-child flag would drift from the refusal it explains. Mitigation:
active_person_corescitesweek_standard.rs:126-131, and U2’s budget test pinsinclude_inactive: false. -
A basis recorded by a system caller. silent: its Recorded by reads "another worker", because the wire carries no actor class. Mitigation: in production only this action writes bases, always on a worker’s delegation.
-
The roster changes between the proof and the write. silent: a member who has just left could gain a basis. This is the #996 guard’s accepted posture; the row is append-only and a correction outranks it.
-
A slow timeline read. fail-closed: the
Partialmarker shows, never a false empty. Mitigation: it is joined with the summary read inside the section’s 5 s budget. -
No JavaScript. fail-closed: the plain post answers with the result fragment, and the entered values are lost. Mitigation: HTML
requiredattributes; the representatives section degrades the same way. -
The error and partial states have no e2e axe audit. silent for any rule a render test cannot see. Mitigation: render tests pin the markup. No e2e lever degrades canopy-tanf alone (
tests/e2e/lib/fault.ts:29-34).
Verification
-
cargo xtask test: the unit and integration lanes pass (see Testing). -
cargo xtask dev reload(there is no schema change),cargo xtask api-docs --update(U1), thencargo xtask e2e. -
cargo xtask route-authz audit,web-paths audit,delegated-routes,neutrality-lintandquality-budgetsare clean. -
Screenshots of the panel populated, empty, unavailable and refused, in light and dark.
-
cargo xtask validate, withCANOPY_CARGO_FEATURES=canopy-api/test-clock,canopy-api/test-fault. -
Close: U3 sets Status
Done (YYYY-MM-DD) — !N, moves this plan and its nav entry underplans/archive/, passescargo xtask plan-lint --doneand carriesCloses #2314. U1 and U2 carryRelates to #2314.
Documentation Updates
-
canopy-tanf API (U1): the two codes in the
POSTsection and in the 422 row of the error table (:503); a section for the bulk read with its body, order, cap,in_force_basis_idand access. -
authorization-inventory.adoc(U1): the canopy-tanf route row, and the delegated-routes row fromcargo xtask delegated-routes doc. -
canopy-web pages + actions: the tab row (U2); the
/actions/tanf/work-standard-basisrow (U3). -
CHANGELOG.adoc== Unreleased: U1 under=== Addedand=== Changed, U2 and U3 under=== Added.Unreleasedalready holds more than one release’s worth, so a cut is due (#3016); making the cut is not this plan’s task. -
No change to
data-models/canopy-tanf.adoc(no migration) or to the Service Catalog (no new service, table or event).
Review log
| round | vendor | resolved model | verdict |
|---|---|---|---|
1 |
Anthropic |
Claude Fable 5.1, gadhs/pi’s plan review at exit_plan_mode |
FLAGS (2026-10-26), fixed: D6 named a |
2 |
Gemini 4 Argon, pi’s integrated second-vendor review |
FLAGS (2026-10-26), fixed: D7’s "the log line never carries custody facts" had no test (U3 now captures the log line); |