Run 1 Bug Fixes — Implementation Summary
Date: 2026-04-07 → 2026-04-10
Repositories: operations, arda-frontend-app, documentation
Plan: run-1-bug-fixes/project-plan.md
Exit gate: plan/run-1-bug-fixes/validate-exit.sh
Phase doc: phase-1-bug-fixes/verification.md
Status
Section titled “Status”All seven tracker tasks completed. Exit criteria passed (unit + integration + frontend smoke).
Three customer-reported defects resolved:
- #815 / #816 — Card notes mapping leaked order history into the printed
notesfield whenKanbanCard.noteswas null or blank. Fix collapses the fallback chain to an empty string, so cards without notes print with a blank notes area. - #595 — No way to reset a card from
PRINTEDback toNOT_PRINTED. Added anUNMARKevent type, aprintEventRoute()helper, aPOST /kanban-card/{eId}/event/unmarkendpoint, and a frontend dropdown action gated onPRINTEDstatus. - B-2 verification — Confirmed
ItemPrintercorrectly mapsItem.notesto the Documintnotesfield for labels and breadcrumbs; no code change required.
Key technical decisions
Section titled “Key technical decisions”- Separate
printEventRoute()helper instead of generalisingeventRoute(). The two helpers return different state-change payload types (KanbanCardStateChangevsKanbanCardPrintStateChange); a generic was rejected as larger than the surface change warranted. See implementation-log § T-1.4. - Empty-string fallback for card notes rather than null, matching
SAC::PRINT::FR-0016and the Documint template’s expectation that the field is always present. - Unmark UI placed in the existing card row dropdown rather than as a new action button, to avoid an extra cell in the cards table.
Validation outcome
Section titled “Validation outcome”make buildinoperations— green (unit tests + coverage).- Frontend regression suite (Jest + Playwright smoke) — green.
- API tests for unmark deferred to Run 4 because card test data was not available locally.
Merged in
Section titled “Merged in”operations— #163 (merge7a81c9c), portions covering phase 1.arda-frontend-app— #741 (mergeb878516), unmark UI and notes-related fixes.
Copyright: (c) Arda Systems 2025-2026, All rights reserved
Copyright: © Arda Systems 2025-2026, All rights reserved