fix: entrypoint-llama.sh install_project_crons ignores DISINTO_AGENTS — installs all agents #310
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#310
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?
Problem
entrypoint-llama.sh calls install_project_crons() which installs cron entries for review-poll, dev-poll, and gardener. This caused both containers to run review-poll simultaneously, producing duplicate reviews and error comments on PRs #305 and #307.
Root cause
entrypoint-llama.sh was updated to call install_project_crons (likely from #231 or a related PR). The llama container should only run dev-poll via its while loop — no cron at all.
Cron is not a suitable runtime for the llama container because it does not inherit Docker compose environment variables (ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL, CLAUDE_CONFIG_DIR are lost). The while loop in entrypoint-llama.sh inherits these from PID 1.
Additionally, the local model is only capable of dev work — review and gardener require a more capable model and run in the Anthropic agents container.
Fix
Remove the install_project_crons call and the cron daemon startup from entrypoint-llama.sh. The while loop is the only execution path.
Affected files
Acceptance criteria