Repository navigation
[claude-sim] F1: Todo collection; list, add, complete, delete - #9
Merged
Merged
Conversation
…T008) - src/lib/todoTitle.ts: shared validate/normalize rule with unit tests (AC1, AC3, AC6) - Todos collection with open access until F4, registered in payload config - Generated migration 20261129_034046_todos and regenerated payload-types.ts - e2e helpers clearTodos/createTodo/listTodos Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, T009-T013) - Server page reads todos via Local API (force-dynamic) into TodoList client component - e2e: AC2 list/empty state, AC1 server-side title validation via REST - Todos afterError hook restores ValidationError field messages in 400 responses, which the production build otherwise drops Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… T014-T016) - Enter/Add creates via POST /api/todos, prepends doc, clears and refocuses input - Client-side validateTodoTitle, server 400 field messages, generic save error - Double-submit guard; 44px input/button, wrapping form - e2e: AC3 journeys incl. validation, rapid Enter and server failure Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… T017-T019) - Controlled checkbox per todo, disabled while saving, updated in place on 2xx - Error alert and unchanged state on failure; data-completed strikes title - 44x44 label hit area around the checkbox - e2e: AC4 toggle, reload persistence, position and failure Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…S4, T020-T022) - Per-todo Delete button (44px), disabled while deleting, removed on 2xx - Error alert keeps the todo on failure - e2e: AC5 delete, reload persistence, empty state and failure Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lish (T023-T026) - AC2: no horizontal scroll (project viewport and 375px) and 44px targets with a 200-char title - AC3: markup in titles renders as plain text - Confirm AC-prefixed test titles and AC1-AC6 coverage; full checks.sh gate green - T026: curl server-validation check done; browser walkthrough covered by phone/desktop e2e Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- T027: confirm the todos migration snapshot JSON is committed (since ed7bcdb). A scratch DB with all migrations applied gives "No schema changes detected" from `payload migrate:create` - T028: document the afterError ValidationError workaround (suspected duplicate module instance breaking instanceof) in research.md R10, with a follow-up to remove it - T029: rapid-submit test now fires two same-tick submits and asserts a single POST, so the re-entry guard is exercised; escape regex metacharacters in the US4 item() helper Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #5. Risk tier: normal.
Built by the Archon build engine:
1e299a9e(Spec Kit specify, clarify, plan, tasks). Spec inspecs/001-todo-list/.b63f4cf5(bengine-ship). Run 1e299a9e was cancelled by a harness bug in the checks node (missingmkdir), not by the app.evidence/review/f1-*.json.txton the harness branch.Known follow-ups the reviewer raised:
Todos.tshas anafterErrorhook that works around Payload's production error formatter (research.md R10). The root cause is unconfirmed.() => true) until F4, as the spec allows.Simulated decisions D2–D5 are in
decisions/SIMULATED.md.Generated by Claude Code