mirror of
https://github.com/Z3Prover/z3
synced 2026-01-28 21:08:43 +00:00
[WIP] Add SpecBot workflow for code annotation with assertions (#8388)
* Initial plan * Add SpecBot agentic workflow for automatic specification mining Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Fix SpecBot network configuration and add documentation Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
75096354f1
commit
105bc0fd57
4 changed files with 1737 additions and 0 deletions
49
.github/workflows/specbot.md
vendored
Normal file
49
.github/workflows/specbot.md
vendored
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
---
|
||||
description: Automatically annotate code with assertions capturing class invariants, pre-conditions, and post-conditions using LLM-based specification mining
|
||||
|
||||
on:
|
||||
schedule: weekly
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
target_path:
|
||||
description: 'Target directory or file to analyze (e.g., src/ast/, src/smt/smt_context.cpp)'
|
||||
required: false
|
||||
default: ''
|
||||
target_class:
|
||||
description: 'Specific class name to analyze (optional)'
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
roles: [write, maintain, admin]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: read
|
||||
pull-requests: read
|
||||
|
||||
tools:
|
||||
github:
|
||||
toolsets: [default]
|
||||
view: {}
|
||||
glob: {}
|
||||
grep: {}
|
||||
edit: {}
|
||||
bash:
|
||||
- ":*"
|
||||
|
||||
safe-outputs:
|
||||
create-pull-request:
|
||||
if-no-changes: ignore
|
||||
missing-tool:
|
||||
create-issue: true
|
||||
|
||||
timeout-minutes: 45
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
|
||||
---
|
||||
|
||||
<!-- Edit the file linked below to modify the agent without recompilation. Feel free to move the entire markdown body to that file. -->
|
||||
@./agentics/specbot.md
|
||||
Loading…
Add table
Add a link
Reference in a new issue