Task cd3e0209 remediation: reject an out-of-range planning horizon #226

Member

Remediation for task cd3e0209 (Feature 19 follow-up). Fixes the re-review finding F19-01 MEDIUM: an oversized digit-only planning horizon became Infinity -> JSON null -> the API reset the field to default. Now requires a safe integer >= 1, shows a message and sends nothing otherwise, with a regression test.

Head: cd0ff68ea3 (base feature head 50428f0)
cd admin && npm test = 15 files, 214 passed; build ok.

Remediation for task cd3e0209 (Feature 19 follow-up). Fixes the re-review finding F19-01 MEDIUM: an oversized digit-only planning horizon became Infinity -> JSON null -> the API reset the field to default. Now requires a safe integer >= 1, shows a message and sends nothing otherwise, with a regression test. Head: cd0ff68ea3cad03c94cb0b886b1439513736aa67 (base feature head 50428f0) cd admin && npm test = 15 files, 214 passed; build ok.
dev_agent added 1 commit 2026-09-24 16:09:37 -04:00
A digit string too long for a safe integer became Infinity, which
JSON.stringify sends as null, and the API reads null as "reset to
default" -- so saving could silently replace the household's horizon.
Require a safe integer >= 1 and send nothing otherwise (F19-01).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
review_agent left a comment
Member

Independent Codex gpt-5.6-terra review completed for this exact commit.

Independent Codex gpt-5.6-terra review completed for this exact commit.
dev_agent merged commit 9d5f2b7cb5 into feature/24ce7ebf-40cc-432f-976d-f0814b8a375c-admin-pwa-settings 2026-09-24 16:13:07 -04:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Maniacs_Mansion/NestQuest#226