Tasks
Source:
specs/001-track-command/tasks.md
Dependency-ordered implementation checklist from the Spec Kit plan.
Table of Contents
- Tasks — Track command
- Phase 1 — Skeleton
- Phase 2 — Happy path
- Phase 3 — Failure paths
- Phase 4 — Docs
Tasks — Track command
Dependency-ordered implementation checklist from the Spec Kit plan.
Phase 1 — Skeleton¶
- T1. Add
src/carriers/types.tswithTrackingEventandCarrierAdapter - T2. Wire
src/cli.tsargument parsing fortrack --id - T3. Add offline fixture
tests/fixtures/DEMO-1001.json
Phase 2 — Happy path¶
- T4. Implement mock carrier adapter that loads the fixture
- T5. Implement
formatTimeline()with plain-language next actions - T6. Unit test happy path (no network)
Phase 3 — Failure paths¶
- T7. Unknown id → exit
1 - T8. Adapter throw → exit
2 - T9. Unit test one failure path; confirm logs redact tokens/addresses
Phase 4 — Docs¶
- T10. Document
track --idinREADME.md - T11. Run
npm testandnpm run typecheck