[routes] session_routes.py at 1072 lines exceeds AGENTS.md ~400 line limit #778
Labels
No labels
area:chat
area:core
area:llm
area:routes
area:tools
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sleepy/odysseus#778
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
routes/session_routes.pyis 1072 lines with 23 endpoint handlers mixing:The
auto_sort_sessionsfunction alone is ~220 lines with deeply nested LLM calls and fallback logic.AGENTS.md violation
Suggested split
routes/session/crud.py— basic session CRUDroutes/session/export.py— export/importroutes/session/sort.py— auto-sort logicroutes/session/compact.py— session compaction