core: Inventar/Placement, Konfig-Validierung, CLI, HTTP-API, LiteLLM-Konfiguration, Beispiel-Skills

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 00:47:13 +02:00
co-authored by Claude Opus 5.5
parent f2da893f71
commit 4cbe313c62
20 changed files with 1085 additions and 19 deletions
+2 -1
View File
@@ -176,7 +176,8 @@ class Lifecycle:
cand = self.get(cid)
model = cand["target"].get("model")
since = next((h["ts"] for h in cand.get("history") or [] if h["to"] == "canary"), None)
rows = [r for r in self.store.list_cases(stage=1, since=since) if r["model"] == model]
column = "adapter" if cand["kind"] == "adapter" else "model"
rows = [r for r in self.store.list_cases(stage=1, since=since) if r[column] == model]
return {"pass_rate": pass_rate(rows), "n": len([r for r in rows if r["passed"] is not None])}
# --- Promote / Rollback -----------------------------------------------------------------