ZapMachine/kanban/tasks/019-single-source-of-truth-for-word-count-cleanup.md

17 lines
624 B
Markdown

---
id: 19
title: Single source of truth for word count + cleanup handleWords
status: done
priority: low
created: 2026-07-17T03:58:05.365933671+02:00
updated: 2026-07-20T01:09:23.968637294+02:00
started: 2026-07-20T01:09:23.970603129+02:00
completed: 2026-07-20T01:09:23.970603129+02:00
tags:
- cleanup
claimed_by: rain-raven
claimed_at: 2026-07-20T01:09:23.968637294+02:00
class: standard
---
From framework review (docs/framework_review.md), P2-1/2. MAX_WORDS drives the template loop but handleWords() independently re-scans POST. Also has / typo. Fix: iterate 1..MAX_WORDS in handleWords, clean up variable naming.