OpenCode integration with dev-lifecycle skill
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 ?
Thanks for sharing your issue @lhn153.
This is not normal. I suspect that this is a bug that happened for some reason
- The repo originally had no .ai-devkit.json
- You ran ai-devkit init as the main branch
- You opened OpenCode to run dev-lifecycle skill
- It created a worktree but no .ai-devkit.json in the worktree because it was created from main
- 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
This has been fixed in the latest release 0.29.0. Please also pull the latest dev-lifecycle skill.
Thanks, very helpful.