feat(F449): MCP Server Staging — auth, routes, server, migration, tests @implements: [F-449]

f449_staging/backend/mcp_auth.py (276 Zeilen)
f449_staging/backend/mcp_routes.py (307 Zeilen)
f449_staging/backend/mcp_server.py (228 Zeilen)
f449_staging/migration_f449.sql (64 Zeilen)
f449_staging/tests/test_mcp_server.py (406 Zeilen)
+1281 Zeilen — Staging-Artefakte für F449 MCP-Server-Erweiterung
This commit is contained in:
Bernd (Hermes)
2026-09-17 06:02:37 +02:00
parent a1f4ed0d73
commit bb9146805a
6 changed files with 1287 additions and 4 deletions
+6 -4
View File
@@ -1,8 +1,8 @@
# Projekt-STATUS — Hermes Rocket.Chat Plugin
> **Stand:** 15. September 2026 — `F93+F100` Adaptive-Timeout-Verdrahtung im Router: `_llm_room_lookup()` nutzt `timeout = max(LLM_ROOM_LOOKUP_TIMEOUT, min(adaptive_timeout.current_timeout(), ADAPTIVE_MAX_WAIT_FOR))` statt statisch 15s. Bug: äußeres statisches 15s-Timeout schlug immer vor dem inneren adaptiven Timeout (bis 59.3s) zu. Rainer-Freigabe 15.09. (3 Bedingungen: Vorher-Stand gesichert, Cap 45s, Nachher-Stand 24h post-Deploy durch Bernd). Neue Konstante `ADAPTIVE_MAX_WAIT_FOR` (env `ARCHIVAR_ADAPTIVE_MAX_WAIT_FOR`, Default 45.0). 4 neue Tests. **Gepusht auf origin/main.**
> **Letzter fachlicher Commit:** `f0f3537` — fix(F93,F100): Adaptive Timeout mit Router verdrahtet — Cap 45s
> **Gitea-Remote:** ✅ Synchron — `f0f3537` + `ebd057e` + `0d9275d` + `6e8854d` + `b61e19d` + `05531f1` gepusht auf origin/main.
> **Deployment:** ⚠️ .101 deployed bei `230edb9` (Pre-I2) — Butler-Kurator (`fe9ee21`+`fd983b6`+`7d18c4c`) + Stopword-Blocklist (`6cbea1b`) + F169 Reset-Endpoint (`44b2ada`) + F172 Pacing (`05531f1`) + F423 ::getcontext (`6e8854d`+`ebd057e`) + F93+F100 Adaptive-Timeout-Router (`f0f3537`) noch nicht auf .101 deployt. Deployment via `install.sh --update-only --no-restart` (P-115). Gateway-Restart per Preflight-Briefing (P-111).
> **Stand:** 17. September 2026 — `f449_staging` Verzeichnis (MCP Server Staging für F449). `003ffb1` commitiert f449_staging/backend/mcp_auth.py, mcp_routes.py, mcp_server.py, migration_f449.sql, tests/test_mcp_server.py (+1281 Zeilen). Staging-Artefakte für F449 MCP-Server-Erweiterung. **Gepusht auf origin/main.**
> **Letzter fachlicher Commit:** `003ffb1` — docs: Tagesabschluss auto-commit — f449_staging Verzeichnis
> **Gitea-Remote:** ✅ Synchron — `003ffb1` + `a1f4ed0` + `f0f3537` + `ebd057e` + `0d9275d` + `6e8854d` + `b61e19d` + `05531f1` gepusht auf origin/main.
> **Deployment:** ⚠️ .101 deployed bei `230edb9` (Pre-I2) — Butler-Kurator (`fe9ee21`+`fd983b6`+`7d18c4c`) + Stopword-Blocklist (`6cbea1b`) + F169 Reset-Endpoint (`44b2ada`) + F172 Pacing (`05531f1`) + F423 ::getcontext (`6e8854d`+`ebd057e`) + F93+F100 Adaptive-Timeout-Router (`f0f3537`) + f449_staging (`003ffb1`) noch nicht auf .101 deployt. Deployment via `install.sh --update-only --no-restart` (P-115). Gateway-Restart per Preflight-Briefing (P-111).
> **Uncommitted:** STATUS.md (dieses Update)
> **Deployment-Pfad:** `~/.hermes/plugins/platforms/rocketchat/`
> **Dev-Repo-Pfad:** `~/projekte/Hermes_rocket.chat_Plugin/plugin/`
@@ -27,6 +27,8 @@
| Commit | Beschreibung | Datum |
|---|---|---|
| `003ffb1` | docs: Tagesabschluss auto-commit — f449_staging Verzeichnis (f449_staging/backend/mcp_auth.py, mcp_routes.py, mcp_server.py, migration_f449.sql, tests/test_mcp_server.py, +1281 Zeilen — Staging-Artefakte für F449 MCP-Server-Erweiterung) | 16.09. |
| `a1f4ed0` | docs: STATUS.md — f0f3537 F93+F100 Adaptive-Timeout-Router nachgetragen | 15.09. |
| `f0f3537` | fix(F93,F100): Adaptive Timeout mit Router verdrahtet — Cap 45s — `_llm_room_lookup()` nutzt `max(LLM_ROOM_LOOKUP_TIMEOUT, min(adaptive_timeout.current_timeout(), ADAPTIVE_MAX_WAIT_FOR))` statt statisch 15s. `ADAPTIVE_MAX_WAIT_FOR` (45s, env `ARCHIVAR_ADAPTIVE_MAX_WAIT_FOR`). 4 Dateien +210/-5, 4 neue Tests, @implements [F-93, F-100] | 15.09. |
| `7613ce6` | docs: STATUS.md — ebd057e F423 v0.19.0-Fallback nachgetragen | 08.09. |
| `ebd057e` | fix(F423): ::getcontext versionstoleranter Agent-Lookup — v0.19.0-Fallback — _resolve_resident_agent() nutzt v0.21.0+ runner._resident_agent_for, v0.19.0 Fallback auf _running_agents + _agent_cache. Behebt 'Keine aktive Session' auf .45. 2 Dateien +126/-4, 4 neue Tests, @implements [F-423] | 08.09. |