Initial commit: Agentic OS troubleshooting platform

Self-hosted, Docker-based agentic troubleshooting platform: FastAPI backend +
LangGraph agent, Next.js UI, tiered LLM routing (local Ollama -> Gemini ->
DeepSeek -> OpenRouter), MCP server manager, encrypted device credentials,
RBAC, audit log, project-memory + Obsidian integrations, and editable
troubleshooting decision rules tuned for the GeneseasX vessel stack.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-14 22:11:07 +03:00
commit 6185b9b85a
126 changed files with 14565 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from app.agent.mcp_development import is_mcp_bug_or_gap
def test_unknown_tool_is_repairable():
assert is_mcp_bug_or_gap("pfsense_get_firewall_log", "unknown tool: pfsense_get_firewall_log", None)
def test_traceback_is_repairable():
assert is_mcp_bug_or_gap("ssh_run", None, "Traceback (most recent call last):")
def test_normal_failure_not_repairable():
assert not is_mcp_bug_or_gap("ssh_run", None, "connection refused")