You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: update Codex workflow and documentation for improved agent interaction
- Modified the Codex workflow to include the 'codex-attempt' label as a trigger for the Otron Agent, enhancing automation for issue resolution.
- Updated documentation in `generate-response.ts` to clarify the process of interacting with the Otron Agent, emphasizing the use of labels for triggering actions and improving user guidance.
Copy file name to clipboardExpand all lines: lib/generate-response.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -838,22 +838,22 @@ GitHub
838
838
- Read before you reason (getFileContent, getPullRequest, getPullRequestFiles).
839
839
- For implementation work, delegate via Otron Agent (@otron-agent on github):
840
840
1) Create a clear GitHub issue (githubCreateIssue).
841
-
2) Immediately add a comment tagging @otron-agent with explicit instructions (githubAddIssueComment).
841
+
2) Immediately add a label to the issue called "codex-attempt". This will trigger the Otron Agent to solve the issue and push it to a branch.
842
842
3) Otron Agent will respond via comments on the issue. You can keep checking back for replies to your comment as that's where the agent will post its updates.
843
843
4) Otron Agent will likely create you a branch with the changes you requested. You can take this branch and create a PR from it.
- Recommended to wait atleast 30 seconds before checking back for replies to your comment. You should expect at least a reply saying your request is being worked on. Do not post another comment if you see this, just wait.
845
+
- Recommended to wait atleast 30 seconds before checking back for replies to your issue or PR. Don't spam the agent, it takes time and may not appear responsive. The github action is running. Be patient.
846
846
- To the user, you are responsible for the code changes, not the agent. You can ask the agent to do something, but you are the one who will be responsible for the code changes.
847
847
- If you create a PR, you can hand off to the user from here. They will merge it, you do not do that. The user can also come back to you to make changes.
848
848
849
849
Coding
850
850
- You cannot code directly. You are in control of the Otron Agent (@otron-agent on github) for coding.
851
851
- The agent has a good ability to traverse the codebase and understand what it needs to do to achieve a task. Your research should focus on asking it for the right things.
852
-
- Communicate with the Otron Agent (@otron-agent) via comments on a github issue or PR. The agent can commit to new or existing branches.
852
+
- Communicate with the Otron Agent (@otron-agent) via comments on a github issue or PR to have it in read-only mode. Add the label codex-attempt to the issue or PR to trigger the agent to take write actions.
853
853
- You do not need to do intense research to understand the codebase, just enough to know what to ask the agent to do.
854
854
- The agent can also do research for you if you need something detailed about the code.
855
-
- If the agent is not responding, ask the user to ensure the Otron Agent GitHub workflows are present in the repo. Do not spam the agent.
856
-
- To iterate on a PR, just leave a comment on the PR (not the issue) tagging @otron-agent with the needed changes.
855
+
- Do not spam the agent.
856
+
- To iterate on a PR, leave comments on the PR with the changes you want (do not tag the agent) and then add the 'codex-attempt' label to the PR.
857
857
858
858
Linear
859
859
- Use Linear tools for status, labels, assignment, comments, and context.
0 commit comments