Plan: Typst Form-Building Components (Issue #405)
Status
| Step | Description | Status |
|---|---|---|
1 |
Audit |
Done (2026-05-11) — N/A: three of four components already shipped (likely as part of the typst-document-generation plan, archived). |
2 |
Audit usage. First-consumer requirement per #405 acceptance was "SNAP recertification form" — that template ships at |
Done (2026-05-11) — N/A: first consumer ships and consumes the three live components. |
3 |
Resolve the |
Done (2026-05-11) — N/A: native Typst |
4 |
File the manifest |
Done (2026-05-11) — issue filed; closure note on #405 references it. |
5 |
Close #405 with note pointing at this plan’s audit + the new manifest-form_number issue. Move this plan to |
Done (2026-05-11) — closure note + plan archived. |
Issue: #405
Branch: chore/plan-refresh-mr-3-special-cases (audit landed in the Tier B plan-refresh pass)
Labels: type::chore, priority::low, service::notices, program::snap, workflow::ready
Context
#405 was filed against the typst-document-generation plan’s "Potential Improvements" list, naming four reusable form-building components and identifying the SNAP recertification form as the first consumer. The Tier B plan-refresh pass (2026-05-11) audited the repo and found:
-
Three of the four components already ship in
rulesets/georgia/notices/components/. -
The fourth (
conditional-section.typ) is unnecessary — Typst’s native#ifis the canonical conditional-rendering pattern in this codebase, used in 4 SNAP templates today. -
The first-consumer requirement is satisfied —
snap/renewal-form.typ(135 LOC) ships against the three live components.
The original plan file rewrote #405’s scope as "Build the Form DHS-297-A SNAP NOA-approval Typst template" — a misframing that conflated three independent concerns: (a) form-building components (the actual issue), (b) the SNAP NOA approval template (already shipped at snap/noa-approval.typ), (c) the PAMMS Form 297-A "Rights and Responsibilities" signature page (a separate document, not a NOA). This rewrite collapses the original plan to an audit log + closure note.
Code references
-
rulesets/georgia/notices/components/checkbox-grid.typ:1-33— exportscheckbox,yes-no-question. -
rulesets/georgia/notices/components/data-table.typ:1-50— exportsblank-data-table. -
rulesets/georgia/notices/components/field-row.typ:1-53— exportsfield-row,field-pair,field-triple,filled-field. -
rulesets/georgia/notices/snap/renewal-form.typ:1-135— first consumer (imports three of three components). -
rulesets/georgia/notices/snap/noa-approval.typ:70— native#ifpattern (one of 4 templates using it). -
rulesets/georgia/notices/manifest.toml:17— mislabeledform_number = "DHS-297-A"onnoa-approval(Form 297-A is a different document per PAMMS). -
Archived: typst-document-generation.adoc — predecessor plan that shipped the component library.
Scope
In scope:
-
Verify the named components ship.
-
Verify the first consumer compiles against them.
-
Decide whether
conditional-section.typis worth shipping (decision: no). -
File the manifest
form_numbermislabeling as a separate issue. -
Close #405.
-
Archive this plan.
Out of scope:
-
conditional-section.typitself (resolved: not needed). -
Manifest
form_numberaudit across all templates (filed as separate issue). -
Building the actual PAMMS Form 297-A "Rights and Responsibilities" signature page (separate work, if needed).
-
Per-jurisdiction template variants.
Design
No code changes. The plan’s value is the audit trail explaining why #405 closes without code shipping under this specific issue number. The underlying work (3 components + first consumer + native #if for conditional rendering) shipped earlier and was tracked under the typst-document-generation plan.
Files Touched
| File | Change |
|---|---|
|
This file — rewritten as audit log; will move to |
|
|