Rich progress bars with live %/ETA/speed/file size for interactive terminals; plain log lines for pipes/cron. Reads Content-Length from HTTP response so percentage works from first chunk onward. Per-book failure isolation prevents one bad book from stopping the batch. 18 new tests, 156 total passing.
2.8 KiB
2.8 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-output-polish-progress-bars-and-failure-isolation-issue8_log.md | Issue #8 Complete: TTY-aware download reporting — rich progress bars (interactive) + plain log lines (cron). Per-book failure isolation. Content-Length → live %/ETA/speed. 18 new tests, 156 total · 8/8 AC |
| 2026-06-03 | slice | 20260603-slice-5-accompanying-files-and-output-structure-issue7_log.md | Issue #7 Complete: PDF extras + cover art download with config toggles, .partial→atomic rename, non-critical failure handling, output structure verification. 12 new tests, 134 total · 11/11 AC |
| 2026-06-03 | slice | 20260603-slice-6-mp3-fallback-issue6_log.md | Issue #6 Complete: MP3 fallback pipeline — manifest fetch, ZIP download+extract+resume, format strategy selector (m4b_mp3_fallback/mp3_only/m4b_only), --limit CLI flag. 12 new tests, 122 total · 11/11 AC |
| 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 |