Task E2:S01:T11 - RW Step 7 kboard hygiene for completed tasks (BR-062)
Task ID: E2:S01:T11
Status: COMPLETE
Priority: CRITICAL
Created: 2026-04-07
Last updated: 2026-04-10 (scope extended: full-mode Step 7 prune for COMPLETE rows + regression coverage validated)
Version Anchor: v0.2.1.11+2
Version: v0.2.1.11+2
Code: E2S01T11
Summary
Fix RW Step 7 Kanban update behavior so completed tasks are not left in the in-progress MoSCoW list on kboard.md in either kanban_init (RW -k) or full RW mode.
Input
- BR-062
packages/frameworks/workflow mgt/scripts/update_kanban_docs.pydocs/project-management/kanban/kboard.md
Deliverable
kanban_initpath enforces in-progress board hygiene for completed tasks.- Full RW Step 7 path also enforces in-progress board hygiene by pruning COMPLETE rows from active MoSCoW sections.
- Regression coverage prevents stale completed rows in active MoSCoW board for both mode paths.
Acceptance Criteria
-
RW -kno longer leaves completed task rows inkboard.mdin-progress MoSCoW section. - Full RW Step 7 no longer leaves completed task rows in
kboard.mdin-progress MoSCoW section. - Existing metadata/timestamp behavior for
kanban_initremains intact. - Regression test or deterministic verification step added for this specific scenario.
- BR-062 status and references updated after implementation.
Links
Implementation Evidence
update_kanban_docs.py(update_kanban_board):- Added
kanban_init-mode pruning for stale target-task rows already marked✅ COMPLETEin MoSCOW in-progress section. - Added full-mode active-list cleanup to prune COMPLETE rows from active kboard MoSCoW sections.
- Retains existing board metadata and timestamp normalization behavior.
- Added
test_update_kanban_docs.py:- Added
test_4_2_kanban_init_prunes_stale_completed_rowto cover BR-062 repro path and assert unrelated rows are preserved. - Added
test_4_4_full_mode_prunes_completed_rows_from_active_kboardto lock the normal RW Step 7 behavior.
- Added