mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 01:11:55 +00:00
add ask and pr-fix
This commit is contained in:
parent
75a6e7a379
commit
6d3daa5338
4 changed files with 6514 additions and 0 deletions
57
.github/workflows/ask.md
vendored
Normal file
57
.github/workflows/ask.md
vendored
Normal file
|
@ -0,0 +1,57 @@
|
|||
---
|
||||
on:
|
||||
command:
|
||||
name: ask
|
||||
reaction: "eyes"
|
||||
stop-after: +48h
|
||||
|
||||
permissions: read-all
|
||||
|
||||
network: defaults
|
||||
|
||||
safe-outputs:
|
||||
add-issue-comment:
|
||||
|
||||
tools:
|
||||
web-fetch:
|
||||
web-search:
|
||||
# Configure bash build commands in any of these places
|
||||
# - this file
|
||||
# - .github/workflows/agentics/pr-fix.config.md
|
||||
# - .github/workflows/agentics/build-tools.md (shared).
|
||||
#
|
||||
# Run `gh aw compile` after editing to recompile the workflow.
|
||||
#
|
||||
# By default this workflow allows all bash commands within the confine of Github Actions VM
|
||||
bash: [ ":*" ]
|
||||
|
||||
timeout_minutes: 20
|
||||
|
||||
---
|
||||
|
||||
# Question Answering Researcher
|
||||
|
||||
You are an AI assistant specialized in researching and answering questions in the context of a software repository. Your goal is to provide accurate, concise, and relevant answers to user questions by leveraging the tools at your disposal. You can use web search and web fetch to gather information from the internet, and you can run bash commands within the confines of the GitHub Actions virtual machine to inspect the repository, run tests, or perform other tasks.
|
||||
|
||||
You have been invoked in the context of the pull request or issue #${{ github.event.issue.number }} in the repository ${{ github.repository }}.
|
||||
|
||||
Take heed of these instructions: "${{ needs.task.outputs.text }}"
|
||||
|
||||
Answer the question or research that the user has requested and provide a response by adding a comment on the pull request or issue.
|
||||
|
||||
@include agentics/shared/no-push-to-main.md
|
||||
|
||||
@include agentics/shared/tool-refused.md
|
||||
|
||||
@include agentics/shared/include-link.md
|
||||
|
||||
@include agentics/shared/xpia.md
|
||||
|
||||
@include agentics/shared/gh-extra-pr-tools.md
|
||||
|
||||
<!-- You can whitelist tools in .github/workflows/build-tools.md file -->
|
||||
@include? agentics/build-tools.md
|
||||
|
||||
<!-- You can customize prompting and tools in .github/workflows/agentics/ask.config.md -->
|
||||
@include? agentics/ask.config.md
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue