Skip to content

docs(aw): elevate workflow recompilation to a critical invariant#47863

Merged
pelikhan merged 1 commit into
mainfrom
copilot/update-instructions-compile
Jul 24, 2026
Merged

docs(aw): elevate workflow recompilation to a critical invariant#47863
pelikhan merged 1 commit into
mainfrom
copilot/update-instructions-compile

Conversation

Copilot AI commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

This updates the .github/aw repository overlay to make post-edit compilation of agentic workflow markdown a hard requirement. The goal is to prevent drift between .md sources and compiled workflow state.

  • Problem framing

    • Workflow edits were not emphasized strongly enough as requiring immediate recompilation, despite this being an operational invariant for agent behavior.
  • What changed

    • Added a CRITICAL INVARIANT rule to /home/runner/work/gh-aw/gh-aw/.github/aw/instructions.md.
    • Explicitly requires running gh aw compile after any modification to .github/workflows/*.md.
    • Added gh aw compile --watch as the iterative path during active editing.
  • Resulting guidance (snippet)

    - **CRITICAL INVARIANT:** After **any** modification to agentic workflow markdown files (`.github/workflows/*.md`), you **must** run `gh aw compile` (or `gh aw compile --watch` while iterating) before stopping. Treat this as mandatory.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title docs: emphasize compile invariant in .github/aw instructions docs(aw): elevate workflow recompilation to a critical invariant Jul 24, 2026
Copilot AI requested a review from pelikhan July 24, 2026 21:21
@pelikhan
pelikhan marked this pull request as ready for review July 24, 2026 21:24
Copilot AI review requested due to automatic review settings July 24, 2026 21:24
@pelikhan
pelikhan merged commit 44b56e1 into main Jul 24, 2026
@pelikhan
pelikhan deleted the copilot/update-instructions-compile branch July 24, 2026 21:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Elevates workflow recompilation to a mandatory repository instruction.

Changes:

  • Adds a critical invariant requiring recompilation after workflow Markdown edits.
  • Documents watch mode for iterative editing.
Show a summary per file
File Description
.github/aw/instructions.md Adds mandatory workflow recompilation guidance.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Medium


Add your repository-specific standards here, for example:

- **CRITICAL INVARIANT:** After **any** modification to agentic workflow markdown files (`.github/workflows/*.md`), you **must** run `gh aw compile` (or `gh aw compile --watch` while iterating) before stopping. Treat this as mandatory.
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.83.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants