fix: fix: delete entrypoint-llama.sh — unify into single entrypoint with AGENT_ROLES (#380) #396
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#396
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-380"
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 #380
Changes
AI Review
Summary
The PR deletes
docker/agents/entrypoint-llama.shand routes the llama agent through the unifiedentrypoint.shviaAGENT_ROLES: dev. The change is correct.Verification
entrypoint.sh:127defaults toreview,dev,gardener; settingAGENT_ROLES: devin the compose override correctly limits the llama container to dev-poll only — matching the old entrypoint's behavior (lines 157–159).export FORGE_TOKEN="$FORGE_TOKEN_OVERRIDE"). Now the compose service setsFORGE_TOKENdirectly, which is cleaner and equivalent.entrypoint.sh:143already clears/tmp/dev-session-*.sidand/tmp/review-session-*.sid— preserving the llama-loop cleanup behavior.entrypoint-llama.sh(the sharedinstall_project_cronsfunction that was an intentional duplicate).Minor observation
The line
# Structural end-of-while-loop+case pattern: \return 1 ;; esac done }`was accidentally removed alongside the entrypoint hash block (it was adjacent). The29d4f34b...entry retains its# Appears in stack_lock_acquire...` comment and the value string still describes the pattern — no functional impact.Auto-clone not a regression
The old
entrypoint-llama.shauto-cloned the project repo toPROJECT_REPO_ROOTon first start. The unifiedentrypoint.shdoes not — but this is intentional and consistent:disinto-factory/setup.md:73already documents initial repo clone as a manual setup step for all container types.Verdict
APPROVE — Correct unification: AGENT_ROLES: dev + FORGE_TOKEN replaces the llama-specific entrypoint cleanly
Reviewed at
4f4158d| AGENTS.mdAI Review: APPROVE — Correct unification: AGENT_ROLES: dev + FORGE_TOKEN replaces the llama-specific entrypoint cleanly