fix: hire-an-agent formula lookup fails for agents with run- prefix formulas #213
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#213
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
hire-an-agent looks for
formulas/<role>.tomlby default, but several agents have formulas namedrun-<role>.toml(gardener, supervisor, planner, predictor, architect). Running:fails with:
The
--formulaflag works as a workaround but the default should handle both naming conventions.Proposed solution
In the formula lookup, try both
formulas/<role>.tomlandformulas/run-<role>.tomlbefore failing:Affected files
Acceptance criteria
disinto hire-an-agent gardener-bot gardenerfindsformulas/run-gardener.tomlautomaticallydisinto hire-an-agent dev-bot devstill findsformulas/dev.toml--formulaoverride still works