mirror of
https://github.com/Z3Prover/z3
synced 2026-01-24 11:04:00 +00:00
Fix workflow compilation errors and relocate documentation files (#8295)
* Initial plan * Fix workflow compilation errors and recompile all workflows - Fixed code-conventions-analyzer.md: changed missing-tool.create-pull-request to create-issue - Moved documentation files (CI_MIGRATION.md, CI_TESTING.md, NUGET_BUILD_README.md) from .github/workflows/ to .github/ - Recompiled all workflows successfully - All .lock.yml files regenerated 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
995e8c6555
commit
50157d400a
9 changed files with 8 additions and 10 deletions
2
.github/agents/agentic-workflows.agent.md
vendored
2
.github/agents/agentic-workflows.agent.md
vendored
|
|
@ -100,8 +100,6 @@ When a user interacts with you:
|
|||
3. **Follow the loaded prompt's instructions** exactly
|
||||
4. **If uncertain**, ask clarifying questions to determine the right prompt
|
||||
|
||||
**Note**: For campaign-related tasks (creating multi-workflow campaigns, orchestrator workflows, etc.), use the `agentic-campaigns` agent instead.
|
||||
|
||||
## Quick Reference
|
||||
|
||||
```bash
|
||||
|
|
|
|||
2
.github/aw/create-agentic-workflow.md
vendored
2
.github/aw/create-agentic-workflow.md
vendored
|
|
@ -304,7 +304,7 @@ safe-outputs:
|
|||
---
|
||||
|
||||
<!-- Edit the file linked below to modify the agent without recompilation. Feel free to move the entire markdown body to that file. -->
|
||||
@./agentics/<workflow-id>.md
|
||||
{{#runtime-import agentics/<workflow-id>.md}}
|
||||
```
|
||||
|
||||
**Note**: This example omits `workflow_dispatch:` (auto-added by compiler), `timeout-minutes:` (has sensible default), and `engine:` (Copilot is default). The `roles: read` setting allows any authenticated user (including non-team members) to file issues that trigger the workflow, which is essential for community-facing issue triage.
|
||||
|
|
|
|||
2
.github/aw/create-shared-agentic-workflow.md
vendored
2
.github/aw/create-shared-agentic-workflow.md
vendored
|
|
@ -13,7 +13,7 @@ You are a conversational chat agent that interacts with the user to design secur
|
|||
|
||||
## Core Responsibilities
|
||||
|
||||
**Build on create-agentic-workflow**
|
||||
**Build on agentic workflows**
|
||||
- You extend the basic agentic workflow creation prompt with shared component best practices
|
||||
- Shared components are stored in `.github/workflows/shared/` directory
|
||||
- Components use frontmatter-only format (no markdown body) for pure configuration
|
||||
|
|
|
|||
4
.github/aw/update-agentic-workflow.md
vendored
4
.github/aw/update-agentic-workflow.md
vendored
|
|
@ -322,7 +322,7 @@ If no agentics file exists, edit the markdown body of the workflow file.
|
|||
|
||||
## Prompt Editing Without Recompilation
|
||||
|
||||
**Key Feature**: If the workflow uses runtime imports (e.g., `@./agentics/<workflow-id>.md`), you can edit the imported prompt file WITHOUT recompiling the workflow.
|
||||
**Key Feature**: If the workflow uses runtime imports (e.g., `{{#runtime-import agentics/<workflow-id>.md}}`), you can edit the imported prompt file WITHOUT recompiling the workflow.
|
||||
|
||||
**When to use this**:
|
||||
- Improving agent instructions
|
||||
|
|
@ -331,7 +331,7 @@ If no agentics file exists, edit the markdown body of the workflow file.
|
|||
- Adding security notices
|
||||
|
||||
**How to do it**:
|
||||
1. Check if the workflow has a runtime import: `@./agentics/<workflow-id>.md`
|
||||
1. Check if the workflow has a runtime import: `{{#runtime-import agentics/<workflow-id>.md}}`
|
||||
2. If yes, edit that file directly - no compilation needed!
|
||||
3. Changes take effect on the next workflow run
|
||||
|
||||
|
|
|
|||
6
.github/aw/upgrade-agentic-workflows.md
vendored
6
.github/aw/upgrade-agentic-workflows.md
vendored
|
|
@ -143,7 +143,7 @@ After fixing all errors:
|
|||
3. **Refresh Agent and Instruction Files**
|
||||
|
||||
After successfully upgrading workflows, refresh the agent files and instructions to ensure you have the latest versions:
|
||||
- Run `gh aw init` to update all agent files (`.github/agents/*.md`) and instruction files (`.github/aw/github-agentic-workflows.md`)
|
||||
- Run `gh aw init --push` to update all agent files (`.github/agents/*.md`) and instruction files (`.github/aw/github-agentic-workflows.md`), then automatically commit and push the changes
|
||||
- This ensures that agents and instructions are aligned with the new gh-aw version
|
||||
- The command will preserve your existing configuration while updating to the latest templates
|
||||
|
||||
|
|
@ -190,12 +190,12 @@ Upgraded all agentic workflows to gh-aw version [VERSION].
|
|||
- ✅ No compilation errors or warnings
|
||||
|
||||
### Post-Upgrade Steps
|
||||
- ✅ Refreshed agent files and instructions with `gh aw init`
|
||||
- ✅ Refreshed agent files and instructions with `gh aw init --push`
|
||||
|
||||
## Files Changed
|
||||
- Updated `.md` workflow files: [LIST]
|
||||
- Generated `.lock.yml` files: [LIST]
|
||||
- Updated agent files: [LIST] (if `gh aw init` was run)
|
||||
- Updated agent files: [LIST] (if `gh aw init --push` was run)
|
||||
```
|
||||
|
||||
### If Compilation Errors Cannot Be Fixed
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ safe-outputs:
|
|||
category: "Agentic Workflows"
|
||||
close-older-discussions: true
|
||||
missing-tool:
|
||||
create-pull-request: true
|
||||
create-issue: true
|
||||
network: defaults
|
||||
timeout-minutes: 20
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue