feat: integrate supervisor into edge container #344
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#344
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Run the supervisor agent inside the edge container alongside the dispatcher and Caddy. The edge container already has the Docker socket and infrastructure access the supervisor needs.
See #232 for full design rationale.
Changes
docker/edge/Dockerfile
Add claude binary. The binary is bind-mounted at runtime (same pattern as agents container), but the Dockerfile may need supporting packages. Current Dockerfile already has bash, jq, curl, git, docker-cli.
docker-compose.yml (edge service)
Add to the edge service:
/home/johba/.local/share/claude/versions/2.1.84:/usr/local/bin/claude:ro${HOME}/.claude.json:/root/.claude.json:roand${HOME}/.claude:/root/.claude:rodocker/edge/entrypoint-edge.sh
Add supervisor loop in background, same pattern as the dispatcher:
This goes between the dispatcher start and the Caddy exec, following the existing pattern at line 17:
bash /opt/disinto/docker/edge/dispatcher.sh &Do NOT use cron — the while-true loop inherits env vars from PID 1.
state/.supervisor-active
Create the guard file so check_active passes.
Prior art
Dependencies
Depends on the supervisor cleanup issue (LOG_FILE fix, dead file removal)
Acceptance criteria
Dependencies
Depends on #343
Stale in-progress issue detected
no_active_session_no_open_pr2026-04-07T09:09:22ZStatus: This issue was labeled
in-progressbut no active tmux session exists.Action required: A maintainer should triage this issue.