ai-devkit icon indicating copy to clipboard operation
ai-devkit copied to clipboard

OpenCode integration with dev-lifecycle skill

Open lhn153 opened this issue 6 months ago • 3 comments

Image

Context: I tell the agent to use dev-lifecycle skill to implement a feature. After a while, the agent tried to bootstrap the worktree - it tried to create the docs/ai directory - but it using "ai-devkit init" again, which is interactive, and the session have to wait there until the command timeout.

Is this a bug or it is normal ?

lhn153 avatar May 07 '26 05:05 lhn153

Thanks for sharing your issue @lhn153.

This is not normal. I suspect that this is a bug that happened for some reason

  1. The repo originally had no .ai-devkit.json
  2. You ran ai-devkit init as the main branch
  3. You opened OpenCode to run dev-lifecycle skill
  4. It created a worktree but no .ai-devkit.json in the worktree because it was created from main
  5. It ran ai-devkit lint and found that there was no .ai-devkit.json, so it started to run ai-devkit init again

For this case, I think we can fix by improving the dev-lifecycle with worktree. In the meantime, you can try to specific no worktree in the instruction. For example, use dev-lifecycle skill to implement abc no worktree

codeaholicguy avatar May 07 '26 16:05 codeaholicguy

This has been fixed in the latest release 0.29.0. Please also pull the latest dev-lifecycle skill.

codeaholicguy avatar May 11 '26 10:05 codeaholicguy

Thanks, very helpful.

lhn153 avatar May 12 '26 02:05 lhn153