fix: agents container missing procps package — formula-session check_memory fails #211
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#211
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
lib/formula-session.sh check_memory (line 48) calls the free command to check available memory:
The agents Docker image (Debian bookworm based) does not have procps installed, so free is not available:
This crashes any agent that sources formula-session.sh (gardener, supervisor, planner, predictor, architect).
Proposed solution
Add procps to the Dockerfile:
Alternatively, make check_memory graceful when free is missing:
Both fixes are recommended — install the package and add the fallback.
Affected files
Acceptance criteria