fix: fix: entrypoint-llama.sh su block drops ANTHROPIC_API_KEY and CLAUDE_CONFIG_DIR (#306) #309
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#309
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-306"
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 #306
Changes
AI Review
Summary\n\nSimple, correct fix. The
sucommand strips the environment; the three vars were previously dropped, breaking Claude authentication and config inside the loop. The fix re-exports them using the same pattern already used forFORGE_TOKEN.\n\n### Observations\n\n- infoentrypoint-llama.sh:101-103: The:-empty-string defaults are correct — these vars are optional and the agent code handles empty values gracefully.\n- infoentrypoint-llama.sh:101: API key embedded in thesu -ccommand string could appear inpsoutput, but this is an existing pattern (same asFORGE_TOKEN) acceptable for an internal Docker container.Verdict
APPROVE — Correctly forwards ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL, and CLAUDE_CONFIG_DIR through the su block, matching the existing FORGE_TOKEN pattern.
Reviewed at
5f6235e| AGENTS.mdAI Review: APPROVE — Correctly forwards ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL, and CLAUDE_CONFIG_DIR through the su block, matching the existing FORGE_TOKEN pattern.