This is an example design summary for a small local-only POC. It is intentionally
short; real features should use the full docs/designs/<feature>/ Worker Gate
packet.
UI or CLI boundary
-> task service
-> typed task model
-> in-memory task store for POC only
| Component | Responsibility | Handoff Note |
|---|---|---|
| Task boundary | Accepts create/list/complete requests | Keep thin; no business rules here |
| Task service | Owns create, sort, complete behavior | Unit test this first |
| Task model | Typed fields: id, title, owner, due date, status | Replace raw dicts before handoff |
| In-memory store | Demo-only state | Replace with persistence before production |
- User submits a synthetic task.
- Boundary parses input into a typed task request.
- Service validates title, owner, and due date.
- Store saves the task in memory.
- Open-task view sorts incomplete tasks by due date.
- Completing a task changes status and removes it from the open-task view.
- Localhost only.
- Synthetic data only.
- No auth, no payments, no external APIs, no public tunnel.
- No production/customer data.
- Unit: create task validates required fields.
- Unit: open tasks sort by due date.
- Unit: completed tasks are hidden from open list.
- Smoke: create task, list open tasks, complete task, confirm it disappears.
- Persistent storage.
- Multi-user permissions.
- Notifications.
- Public deployment.
- Analytics.