fix: Instruct AI workspace agents to wait for sub-agents #82
Merged
Work Horse opened 2 months ago

OpenCode can exit successfully after starting sub-agents (e.g. via Oh My OpenCode) before they finish, which prints the run-prompt success marker too early. Add a TASK_PROMPT rule so agents wait for sub-agents to complete.

Fixes OD-2854

Commits were merged into target branch
  • fix: Instruct AI workspace agents to wait for sub-agents
    OpenCode can exit successfully after starting sub-agents (e.g. via Oh My OpenCode) before they finish, which prints the run-prompt success marker too early. Add a TASK_PROMPT rule so agents wait for sub-agents to complete.
    
    Fixes OD-2854
    
    Co-authored-by: Cursor <[email protected]>
    2 months ago
  • Unknown commented 2 months ago

    Reviewed the TASK_PROMPT change against OD-2854 and the surrounding workspace completion flow. The instruction directly addresses premature agent completion, and I found no actionable correctness, security, style, or test-coverage concerns.

  • Unknown approved 2 months ago
  • Robin Shen merged 2 months ago (merge commit: 8ff733dd )
  • testabc commented 2 months ago

    test abc

  • Robin Shen commented 2 months ago

    @testabc please do not add random comments on this site. I'd suggest to spin up a OneDev instance locally to test it out.

1/1
Submitter Work Horse
Target main
Source issue-2854-ai-workspace-prompt-sub-agents
Merge Strategy
Create Merge Commit
Watchers (2)
Reference
pr OD-82
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover