Commit f0ff658
fix: content CLI signatures, code dedup, and 226 new tests
Content CLI fixes (cli/_content.py):
- generate/download/syllabus/autopilot/from_obsidian: corrected to match
service function signatures (tuple chapter_range, client contexts, etc.)
Code deduplication:
- create_backup: sync.py imports from maintenance.py (was exact copy)
- list_course_summaries: extracted to services/review.py, shared by MCP + web
Test coverage (+226 tests for agent-session-tools):
- test_classifier.py (56), test_deduplication.py (45),
test_query_logic.py (77), test_maintenance.py (40)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4ad808e commit f0ff658
10 files changed
Lines changed: 2866 additions & 103 deletions
File tree
- packages
- agent-session-tools
- src/agent_session_tools
- tests
- studyctl
- src/studyctl
- cli
- mcp
- services
- web/routes
- tests
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
349 | 348 | | |
350 | 349 | | |
351 | 350 | | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
| 351 | + | |
364 | 352 | | |
365 | 353 | | |
366 | 354 | | |
| |||
0 commit comments