fix(sdr-agent): fix agent runtime lifecycle and mcp config

- Replace self._executor with self._agent_runtime (AgentRuntime | None)
- Import AgentRuntime for proper type annotation
- Add missing await self._agent_runtime.start() in start() — runtime
  was created but never started, causing silent failures at runtime
- Add self._agent_runtime = None reset in stop() for clean restart
- Remove redundant self._graph is None guard in trigger_and_wait()
- Update mcp_servers.json with hive-tools server config
- Add credential file patterns to .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Schlaflied
2026-02-22 20:09:02 -05:00
parent 756a815bf0
commit eac2bb19b2
3 changed files with 28 additions and 12 deletions
+6
View File
@@ -78,3 +78,9 @@ core/tests/*dumps/*
screenshots/*
.gemini/*
# OAuth credentials (never commit)
client_secret.json
token.pickle
token.json
get_gmail_token.py