Add streaming chunked M4B download via .partial files and atomic rename, resume support through HTTP Range headers, full CLI orchestration loop, --verbose flag, and config/secrets templates. Fix 4 API-shape bugs found during live testing: library endpoint returns audiobooks not books, M4B endpoint returns m4b_url not url, narrators nested under audiobook_info, and ISBN int/str type mismatch in history lookup causing re-downloads. 12 new tests (109 total). 6 books downloaded live (~2.9 GB).
1.6 KiB
1.6 KiB
Agent Instructions
Session Logs
Session logs are written to docs/devlog/ after each completed task, issue fix, or milestone.
They capture what was done, decisions & rationale, gotchas & fixes, and next steps. Before starting a new session, read the previous session logs.
| Date | Type | File | Summary |
|---|---|---|---|
| 2026-06-03 | issue | 20260603-slice-3b-live-testing-fixes-issue5_log.md | Issue #5 Live Fixes: 4 critical API-shape bugs found & fixed (audiobooks key, m4b_url key, nested narrators, ISBN int/str). Download loop wired. --verbose flag. 109 tests, 6 books downloaded (~2.9 GB) · 11/11 AC |
| 2026-06-03 | slice | 20260603-slice-3b-m4b-download-pipeline-issue5_log.md | Issue #5 TDD: M4B download pipeline — client endpoint, streaming downloader with resume, path integration, history post-download, CLI orchestration. 11 new tests, 108 total · 11/11 AC |
| 2026-06-03 | slice | 20260603-slice-3a-path-resolution-and-sanitization-issue4_log.md | Issue #4 Complete: Path resolution + sanitization + Book model + custom patterns. 56 new tests, 97 total · 16/16 AC |
| 2026-06-03 | issue | 20260603-project-scaffolding-and-config-module-issue2_log.md | Issue #2 Complete: pyproject.toml + venv + config module (load/merge/validate) + 25 tests. 11/11 AC met |