mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-05 02:45:28 +00:00
docs(architecture): refine §4 Other bucket into Media, System, and residual flat
Updates the Route Ownership Map (§4) to break the 23-file catch-all Other bucket into clearer groupings: - **Media** (new): tts + stt — parallel audio I/O with dedicated service packages (services/tts/, services/stt/) - **System / Admin** (new): backup + diagnostics + workspace — operator-only endpoints behind require_admin - **Residual flat**: 9 files with no genuine functional peer stay flat (prefs, upload, hwfit, preset, signature, embedding, emoji, font, personal) Reassigns editor_draft → Gallery and chatgpt_subscription → Auth (both have natural homes in existing domains, no new folder needed). Removes 7 already-migrated shim files from the Other list. Refs #4082 / #4071. No code changes — docs only.
This commit is contained in:
parent
fb8c391a88
commit
173f4282e9
1 changed files with 10 additions and 1 deletions
|
|
@ -163,7 +163,16 @@ Routes can be grouped into logical feature domains. Current flat structure obscu
|
|||
| **Research** | `research_routes.py` | — | LOW |
|
||||
| **MCP** | `mcp_routes.py` | — | LOW |
|
||||
| **Notes** | `note_routes.py` | — | LOW |
|
||||
| **Other** | `prefs_routes.py`, `upload_routes.py`, `vault_routes.py`, `webhook_routes.py`, `workspace_routes.py`, `search_routes.py`, `history_routes.py`, `hwfit_routes.py`, `preset_routes.py`, `signature_routes.py`, `backup_routes.py`, `cleanup_routes.py`, `diagnostics_routes.py`, `embedding_routes.py`, `emoji_routes.py`, `font_routes.py`, `stt_routes.py`, `tts_routes.py`, `compare_routes.py`, `personal_routes.py`, `editor_draft_routes.py`, `admin_wipe_routes.py`, `chatgpt_subscription_routes.py` | 2,000+ | LOW individual, HIGH cumulative |
|
||||
| **Media** (new) | `tts_routes.py`, `stt_routes.py` | 144 | LOW — parallel audio I/O with dedicated service packages (`services/tts/`, `services/stt/`) |
|
||||
| **System / Admin** (new) | `backup_routes.py`, `diagnostics_routes.py`, `workspace_routes.py` | 407 | LOW — operator-only endpoints (`require_admin`): backup/restore, health probes, filesystem browser |
|
||||
| **Other** (residual flat) | `prefs_routes.py`, `upload_routes.py`, `hwfit_routes.py`, `preset_routes.py`, `signature_routes.py`, `embedding_routes.py`, `emoji_routes.py`, `font_routes.py`, `personal_routes.py` | ~2,251 | LOW individual, MEDIUM cumulative — no genuine functional peer; stay flat |
|
||||
|
||||
> **Reassignments into existing domains** (no new folder needed):
|
||||
> - `editor_draft_routes.py` → **Gallery** (persisted gallery-editor sessions with `GalleryImage` back-reference)
|
||||
> - `chatgpt_subscription_routes.py` → **Auth** (OAuth device-flow built on `device_flow.py`)
|
||||
>
|
||||
> **Files already migrated** to subdirectories (now shims, removed from "Other"):
|
||||
> vault, webhook, search, history, cleanup, compare, admin_wipe (slices #5780, #5781, #5779, #5090, #5658, #5660, #5659)
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue