fix: fix: install_project_crons does not set PATH — claude not found in cron jobs (#366) #368
No reviewers
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#368
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-366"
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?
Fixes #366
Changes
AI Review
Summary\n\nAdds
PATH=/usr/local/bin:/usr/bin:/binas the first variable in the crontab environment block insideinstall_project_crons.\n\n### Assessment\n\n- Correct: Cron does not inherit the user shell PATH. Without this line,claude(volume-mounted at/usr/local/bin/claude) is not on cron's search path, causing all cron-launched agent scripts to fail.\n- Safe PATH value:/usr/local/bin:/usr/bin:/binis a standard minimal PATH with no user-writable directories — no PATH-hijacking risk.\n- Correct placement: crontab environment variable lines must precede job lines; placing it first in the block is correct.\n- No regressions: The change only prepends one env line; all other variables and job lines are unchanged.\n\nChange is minimal, targeted, and correct.Verdict
APPROVE — Correct minimal fix: adds PATH to cron environment so claude CLI at /usr/local/bin is found by cron jobs.
Reviewed at
7e7fafd| AGENTS.mdAI Review: APPROVE — Correct minimal fix: adds PATH to cron environment so claude CLI at /usr/local/bin is found by cron jobs.