feat(20a): disinto hire-an-agent subcommand + retrofit dev-qwen #83
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?
Parent
Part of #20 — agent .profile repo.
What to do
Add a
hire-an-agentsubcommand tobin/disinto:The command should:
<agent-name>via API (skip if exists)<agent-name>/.profileon Forgejo (user-scoped, like GitHub special repos).profilewith:formula.toml— copied fromformulas/<role>.tomljournal/— empty dir with.gitkeepknowledge/— empty dir with.gitkeepstate/.<role>-activeif not presentUse the admin FORGE_TOKEN to create the user, then the new user token (or admin on behalf) to create the repo.
Retrofit dev-qwen
After implementing the subcommand, run it:
This creates the dev-qwen user (already exists), creates
dev-qwen/.profilerepo, and copies the current dev formula.Verification
curl http://localhost:3000/api/v1/repos/dev-qwen/.profilereturns 200.profilerepo containsformula.toml,journal/,knowledge/formula.tomlcontent matches currentformulas/review-pr.tomlor equivalent dev formulaDependencies
None — first step.