It improves the speed and context your agents need when working on serious projects.
I have that too, it is called diff. You can pull it from a git repo with this command called git diff, or, if you don't wanna install git, by adding .patch to a pull request url on GitHub.
create_issue_body () {
cat << EOF
### Objective
Analyze the impact of attached patch file for correctness, side-effects and
whether it satisfies the stated goal.
### Stated goal
${pr_description}
### Context
- Attached file \`${pr_number}.patch\`
### Constraints
- Analyze each line that the patch proposes to change
- Check for correctness and caveats
- Check each changed line for side-effects
- Where existing functions are changed, report on the impact to these functions
...
EOF
}
That way, you don't need to change source management frameworks and you have less friction.
I have that too, it is called
diff. You can pull it from a git repo with this command calledgit diff, or, if you don't wanna installgit, by adding.patchto a pull request url on GitHub.curl -LO "https://github.com/<owner>/<repo>/pull/<pr_number>.patch"And then you queue it up to your bot, like so:
create_issue_body () { cat << EOF ### Objective Analyze the impact of attached patch file for correctness, side-effects and whether it satisfies the stated goal. ### Stated goal ${pr_description} ### Context - Attached file \`${pr_number}.patch\` ### Constraints - Analyze each line that the patch proposes to change - Check for correctness and caveats - Check each changed line for side-effects - Where existing functions are changed, report on the impact to these functions ... EOF }That way, you don't need to change source management frameworks and you have less friction.
but was it built for agents?!
The bash function above? Yeah.
I meant
diff, but really it was just commentary on everything being rebuilt for agents which feels like a load of bullshitdiff is built for intelligence in general 😂