Commit Graph

3 Commits

Author SHA1 Message Date
Christian Gick
90c700e445 fix: Replace hardcoded IPs with DNS hostnames
- DB_HOST: 10.0.1.1 → infra.agiliton.internal

Improves maintainability and enables dynamic DNS resolution.

Relates to CF-382

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-24 16:52:20 +02:00
Christian Gick
7f86d256c9 fix(CF-303): Remove internal IP from run.sh log message
Removed hardcoded internal IP address from debug log to comply with
CF-303 IP exposure validation. Changed to generic message.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-20 10:18:33 +02:00
Christian Gick
6c8862dcc0 fix: Hardcode DB config and start server before DB connection
- db.ts: Hardcode 10.0.1.1 (infra VM) to prevent env var issues
- index.ts: Start MCP server before DB connection (fixes Claude Code timing)
- run.sh/run.js: Add wrapper scripts with embedded env vars
- start.sh: Update with correct WireGuard config

Fixes task-mcp failing to connect in Claude Code sessions after
WireGuard migration. The server must respond to MCP initialize
before stdin closes, which requires starting before slow DB ops.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 14:11:58 +02:00