feat!: replace tmux with heimdall session supervisor#8
Merged
Conversation
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
0a63a21 to
bbe34d9
Compare
Complete architecture pivot: remove tmux dependency and the internal cc-sup Rust supervisor, replacing both with heimdall (hm) — the standalone, tested, released PTY session supervisor. Session management: - Replace tmux pane polling with heimdall Unix socket protocol - Add supervisor_client.py: async client for heimdall binary framing - Web terminal via WebSocket relay to heimdall subscriptions - Agent state machine from heimdall classifier (idle/thinking/ streaming/tool_use/dead) - Session creation launches `hm run --detach` instead of tmux - Agent pruning probes heimdall status sockets every 5s Architecture changes: - Delete cc-sup/ directory (1,474 lines of Rust replaced by heimdall v1.0.0 with 5,480 lines, 92% coverage, 254 tests) - Remove dashboard plugin system (BaseDashboard, discovery.py) — replaced with direct HTMX partials - Remove APScheduler — replaced with asyncio background tasks - SSE event bus for real-time dashboard updates - Agent identity via DRASILL_SESSION_ID env var (set by heimdall pre-exec seam) New features: - /health/deps dashboard page: dependency health checks with green/red status, versions, install links - Shared doctor.py module for CLI (check-deps) and dashboard - claude added as required dependency check - hm clean-logs recipe in justfile for orphaned log cleanup Plugin hooks: - Stop hook checks inbox via DRASILL_SESSION_ID - Idle notification hook injects messages at idle prompt - No join/leave commands — platform owns agent lifecycle Docs updated: ARCH.md, mesh.md, terminal.md, plugin.md, database.md, deployment.md, SKILL.md, README.md, CLAUDE.md
bbe34d9 to
afe07b7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete architecture pivot — removes tmux and the internal cc-sup Rust supervisor, replacing both with heimdall (hm) v1.0.0.
hm run --detachcc-sup/directory (replaced by standalone heimdall repo with 92% coverage)/health/depsdashboard page for dependency health checksclaudeas required dependencyTest plan
uv run pytest— 197 tests passing, 96% coverageuv run ruff check— zero lint errorsjustfileupdated: hm commands, doctor, clean-logs