Skip to content

devin: make the type spawnable with --model and a -- seeded prompt - #1827

Open
nekowasabi wants to merge 1 commit into
fujibee:mainfrom
nekowasabi:feat/devin-spawnable
Open

nekowasabi wants to merge 1 commit into
fujibee:mainfrom
nekowasabi:feat/devin-spawnable

Conversation

@nekowasabi

Copy link
Copy Markdown

Summary

devin is a registered agent type but is not spawnable. The Devin CLI does have an interactive boot mode that accepts a seeded initial prompt: devin [--model <id>] -- "<prompt>". This PR declares that mode in the manifest so spawn.sh devin works.

Changes

  • scripts/drivers/types/devin/type.conf: add spawnable=yes, model_arg=--model, prompt_arg=--. The prompt must follow --; a bare positional is read as a Devin Desktop [PATH].
  • scripts/drivers/types/devin/template.md: replace the "not spawnable" note. Delivery stays off.
  • README.md / README.ja.md: add devin to the spawnable list.
  • tests/test_type_registry.bats: the spawnable set now includes devin.

Verification

  • bats tests/test_type_registry.bats tests/test_spawn.bats: 157/157 pass.
  • Manual check on macOS (agmsg 1.7.0 with these manifest keys, tmux): spawn.sh devin <name> --model swe-2-max --boot-prompt ... launched
    devin --model swe-2-max --permission-mode dangerous --respect-workspace-trust=false -- "/agmsg actas <name> ..."
    (the permission flags came from spawn_options.yaml). The seat ran the task and replied through send.sh; the lead received the reply.

Not covered

  • Delivery is unchanged (delivery_modes=off). A spawned Devin seat does not get later messages pushed to it; it sees them only when it checks its inbox.
  • Not tested on Linux or Windows.

🤖 Generated with Claude Code

devin starts an interactive session seeded with an initial prompt when the
prompt follows `--` (`devin [--model <id>] -- "<prompt>"`). A bare positional
is read as a Devin Desktop [PATH], so the manifest sets prompt_arg=--.

- type.conf: spawnable=yes, model_arg=--model, prompt_arg=--
- template.md: replace the not-spawnable note; delivery stays off
- README / README.ja: devin joins the spawnable list
- test_type_registry.bats: spawnable set now includes devin

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant