Commit Graph

4 Commits

Author SHA1 Message Date
Symbiont
b7e026acc6 Add life support: systemd services + heartbeat timer
- symbiont-api.service: always-on API server, auto-restart on crash
- symbiont-heartbeat.timer: 5-min health checks + queue processing
- heartbeat.py: CLI auth check, disk check, ledger stats, queue drain

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 19:41:19 +00:00
Symbiont
71041b92b1 Fix dispatcher: pipe via stdin, use real cost from CLI JSON
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 19:33:09 +00:00
Symbiont
49f73e5b46 Fix CLI flags: remove --max-tokens, add --dangerously-skip-permissions
Claude Code CLI uses positional args for prompts, not --prompt flag.
Also enables full access mode so orchestrator runs without permission prompts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 19:32:00 +00:00
Symbiont
bd8be87a65 Initial scaffold: router, dispatcher, ledger, scheduler, API
Core orchestrator for self-sustaining AI agent:
- Dispatcher: talks to Claude Code CLI with model tier selection
- Router: classifies tasks via Haiku, routes to cheapest capable model
- Scheduler: queue management + systemd self-wake timers
- API: FastAPI endpoints for task execution and monitoring
- Ledger: JSONL cost tracking for every inference call

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 19:21:07 +00:00