fix: hire-an-agent does not generate or store FORGE_<AGENT>_TOKEN for new users #237
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#237
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
When hire-an-agent creates a new user (e.g. architect-bot), it does not generate a Forgejo API token for the new agent or add it to .env as FORGE__TOKEN.
Observed: after running
disinto hire-an-agent architect-bot architect, the user was created and .profile repo seeded, but no FORGE_ARCHITECT_TOKEN was generated or added to .env. The architect-run.sh script needs this token (line: FORGE_TOKEN="${FORGE_ARCHITECT_TOKEN:-${FORGE_TOKEN}}").All agent run scripts follow the same pattern — they override FORGE_TOKEN with their role-specific token for identity. Without it, the agent runs under dev-bot's identity.
Expected behavior
After hire-an-agent creates a new user, it should:
For existing users where the password was reset, the same flow should work since hire-an-agent already resets the password.
Affected files
Acceptance criteria