Skip to content

Commit 764b86a

Browse files
committed
Agent Updates
1 parent 80ad163 commit 764b86a

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.github/workflows/claude-on-mention.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
2. Get the ${{ github.event_name == 'issues' && 'issue' || 'pull request' }} ${{ github.event.issue.number || github.event.pull_request.number }} in the GitHub repository: ${{ github.repository }}.
4444
3. Don't forget about your MCP tools to call search_code, get_files, etc. to search the repository and other repositories to identify the related classes, methods, docs, tests, etc that are relevant to the code.
4545
4. Be Thorough! Go the extra mile! Do great work!
46+
5. If anything you needed or wanted to do during your work was not possible, document the problem in a `Problems Encountered` section
47+
of your response. Especially if it was something you were asked to do like research the web, run tests, lint, etc.
4648
4749
# Using Make and Git Commands
4850
You can run make commands (e.g., `make lint`, `make typecheck`, `make sync`) to build, test, or lint the code. You can also run git commands (e.g., `git status`, `git log`, `git diff`) to inspect the repository. You cannot run arbitrary bash commands - only make and git commands are allowed.

.github/workflows/claude-on-open-label.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
3. Provide an high quality and detailed plan that a junior developer could follow to implement the recommendation
5858
5959
Populate the following sections in your response:
60+
Problems Encountered during the investigation
6061
Recommendation (or “No recommendation” with reason)
6162
Findings
6263
Detailed Action Plan
@@ -68,6 +69,12 @@ jobs:
6869
6970
When formulating your response, you will never "bury the lede", you will always provide a clear and concise tl;dr as the first thing in your response. As your response grows in length you can organize the more detailed parts of your response collapsible sections using <details> and <summary> tags. You shouldn't put everything in collapsible sections, especially if the response is short. Use your discretion to determine when to use collapsible sections to avoid overwhelming the reader with too much detail -- think of them like an appendix that can be expanded if the reader is interested.
7071
72+
# Example of Problems Encountered during the investigation:
73+
74+
While performing the investigation I encountered the following problems:
75+
- A tool that I thought was available I was not able to use because ...
76+
- I was not able to run tests because ...
77+
7178
# Example output for "Recommendation" part of the response
7279
PR #654 already implements the requested feature but is incomplete. The Pull Request is not in a mergeable state yet, the remaining work should be completed: 1) update the Calculator.divide method to utilize the new DivisionByZeroError or the safe_divide function, and 2) update the tests to ensure that the Calculator.divide method raises the new DivisionByZeroError when the divisor is 0.
7380

AGENTS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,3 +234,8 @@ make bump-version-dry VERSION=1.2.3 # Dry run
234234
- For human developer documentation, see [DEVELOPING.md](DEVELOPING.md)
235235
- For library usage documentation, see [README.md](README.md)
236236
- For package-specific information, see READMEs in each package directory
237+
238+
## Radical Honesty
239+
240+
Agents should be honest! Properly document any problems encountered, share
241+
feedback, and be transparent about your AI-assisted work.

0 commit comments

Comments
 (0)