Hitonabi
47f7a85510
Ruff-Cleanup: ganzes MC2-Repo lint-grün + projekt-passende ruff.toml
...
Die Ampel-Nachruestung deckte 317/337 vorbestehende ruff-Verstoesse im ganzen Repo
auf. Aufgeraeumt:
- ruff.toml: intentionale Muster als Projekt-Politik ausgenommen (BLE001 blind-except,
S110/S112 try-except-pass/continue, PLW1510 subprocess-best-effort, B008 FastAPI-
Depends/File-Idiom, EXE001 Shebang, + wenige Stil-Regeln). __init__.py-Re-Exports
geschuetzt (F401).
- ruff --fix: 128 mechanische (Import-Sortierung, PEP585/604-Annotationen, tote Imports,
ueberfluessige noqa) auto-behoben.
- 12 echte Reste von Hand: PERF402/102, PLC3002 (Lambda->walrus), ISC004 (String-Concat
geklammert), F841/RUF059 (ungenutzte Vars), PIE810 (startswith-Tuple), UP031 (f-string),
UP035 (veraltete typing-Imports).
Ergebnis: 'ruff check .' = 0, 'compileall' grün. Kein Verhaltenswechsel (nur Stil/Modernisierung).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-24 20:53:36 +02:00
Hitonabi
21ea7e1dd3
backend: Pydantic response_models für 5 GET-Endpoints hinzufügen
...
- health.py: HealthResponse
- eigenleben.py: EigenlebenOverviewResponse + SkillTextResponse
- chronik.py: ChronikResponse + ChronikItem
- wissen.py: WissenListResponse + WissenFileResponse
- reminders.py: ReminderListResponse + ReminderOut
py_compile bestanden, /docs zeigt neue Schemata.
Response-Payloads unverändert — nur Typisierung hinzugefügt.
2026-07-15 19:33:39 +02:00
Hitonabi
63a83c69c3
Feat: Hirn-Bereitschaft im /api/health + Frontend-Warnung
...
/api/health liefert jetzt brain:{role,model,ready} (echter /running-Check —
ein abgestuerztes/nicht geladenes Agent-Hirn 'fast' erscheint dort nicht).
Frontend zeigt 'Hirn offline (model)' + Amber-Punkt, statt dass der Ausfall
nur als App-Fehler ('Provider returned an empty stream') auftaucht.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-28 21:42:42 +02:00
Hitonabi
cff3f0b1a8
feat(2.0): Phase 1 — Engine + Routing (Herzstueck)
...
Backend-Services: fit/caps/sources (portiert), discover (live HF + Fit +
Caps + ranked recommendation), llama-swap write/register + groups (Ko-
Residenz swap:false), LiteLLM-Gateway-Config + gateway-Service (model:auto +
Fallbacks). Router: discover/fit/register/groups/routing; health zeigt
gateway_reachable. Frontend: Modelle&Routing mit Caps-Chips, Fit-Badges,
Discover-Tab (live), Routing-View.
Lokal verifiziert: Backend-Smoke (alle Endpunkte) + Frontend-Build +
Browser (Shell, Discover, Caps/Fit). Box-Verifikation offen.
Docs: README + docs/STATUS.md (Phasen-Tracker + Resume-Guide).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-25 08:01:12 +02:00
Hitonabi
b805c294eb
feat(2.0): Phase 0 — Greenfield-Skeleton (FastAPI + React/shadcn)
...
Backend: FastAPI mit /api/health + /api/models (read-only aus llama-swap
config, Logik aus v1 portiert). Frontend: Vite + React + Tailwind v4 +
shadcn-Style App-Shell mit Cmd+K, Dark-default, PWA-Manifest; Modelle-View
live aus /api/models. Deploy-Geruest (systemd-Unit :9001, build/deploy-
Skripte, NOPASSWD-sudoers, kein Klartext-Passwort).
Verifiziert: Backend-Endpunkte + Frontend-Build + gerenderte Shell.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-24 22:17:45 +02:00