Two parallel activation paths for llama agents (ENABLE_LLAMA_AGENT vs [agents.X] TOML) #846
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
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#846
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
Llama-backed sidecar agents can be activated through two different mechanisms:
ENABLE_LLAMA_AGENT=1env flag toggles a hardcodedagents-llamaservice block indocker-compose.yml.[agents.X]TOML block consumed byhire-an-agent, emitting a service per block.Neither the docs nor the CLI explain which path wins. Setting both produces a YAML
mapping key "agents-llama" already definederror from compose because the service block is duplicated.Sub-symptom: env-var naming collision
The two paths key secrets differently:
FORGE_TOKEN_LLAMA,FORGE_PASS_LLAMA.FORGE_TOKEN_<FORGE_USER_UPPER>— e.g.FORGE_TOKEN_DEV_QWEN.A user migrating between paths ends up with two sets of secrets in
.env, neither cleanly mapped to the currently-active service block. Silent auth failures (401 from Forgejo) follow.Why it bites
.envand breaks the next bring-up.Proposal
[agents.X]path as canonical.ENABLE_LLAMA_AGENTbranch and its hardcoded service block from the generator.ENABLE_LLAMA_AGENTin.envatdisinto uptime: decide betweenOption (a) is simpler and appropriate since no external consumers depend on this flag.
Acceptance
ENABLE_LLAMA_AGENTremoved from compose generator; presence in.envtriggers a clear migration error..env.exampleanddocs/agents-llama.mdupdated (see doc follow-up issue).Related: #845, #847.
Blocked — issue #846
closed_externally2026-04-16T11:39:38Z