Story: Regen entities with latest codegen templates
Table of Contents
This page documents a story in Sprint 22. It captures the goal, current status, acceptance criteria, and the tasks that compose it.
Goal
Currency's commissioning (sprint 22, PR #1470 and the currency_pair
work it merged with) landed substantial new shared codegen template
capability that didn't exist when most already-commissioned entities
were last synced: generic hidden_by_default list-column support,
badge-repaint-on-cache-load fix, aspect-correct icon sizing
(icon_text_left column style), has_related_entity_shortcuts,
has_generate_action=/=has_toolbar, version-navigation UI, NATS
notification-wiring, the paste-block extension-point mechanism, and
SQL default-value auto-quoting. Sweep entities one at a time, re-run
their codegen profiles, diff against the repo, and reconcile: adopt
capability that fits, document any deliberate divergence the way
currency did for its two permanently-hand-written files.
One task per entity swept, starting with country (the next-oldest fully-commissioned entity after currency).
Status
| Field | Value |
|---|---|
| State | DONE |
| Parent sprint | Sprint 22 |
| Now | Country regenerated and reconciled — real generator bug, SQL bootstrap-filter/clock_timestamp fixes, and a new needs_item_delegate template generalization (icon-only entities now get the same aspect-correct sizing as badge entities) all landed. Closed as a scoped pilot; remaining entities recaptured. |
| Waiting on | Nothing. |
| Next | None — see Sweep remaining already-commissioned entities against latest codegen templates. |
| Last touched | 2026-07-10 |
Acceptance
- For each swept entity: every codegen profile it participates in has been re-run and each output file's diff reviewed.
- Genuine drift (template capability that should apply but doesn't
yet) is adopted; deliberate divergence is documented in the task's
* Result. - Full local build and test suite pass clean per entity.
- Verified live in the client, not just by diff/compile.
Tasks
| Task | State | Start | End | Description |
|---|---|---|---|---|
| Regen country against latest codegen templates | DONE | 2026-07-09 | Country was last synced in sprint 21, before currency's commissioning landed substantial new shared-template capability. Re-run every codegen profile country participates in, diff against the repo, and reconcile drift. |
Decisions
Closed 2026-07-10 at sprint 22 close scoped to the country pilot: the sweep-and-reconcile process is proven and country is fully regenerated and reconciled, but the sweep itself is open-ended (new entity per pickup, no fixed batch) and doesn't fit a STARTED-forever story. Remaining entities recaptured as Sweep remaining already-commissioned entities against latest codegen templates for future opportunistic pickup.