Skip to content

Commit 4e5d009

Browse files
authored
Merge pull request #8 from githubnext/add-recompile-instruction
Add agentic workflow recompilation instruction
2 parents 1bca27a + 8407338 commit 4e5d009

7 files changed

Lines changed: 643 additions & 248 deletions
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
description: "Agentic workflow recompilation: always recompile after changing workflow files"
3+
---
4+
5+
# Agentic Workflows
6+
7+
After modifying any `.md` workflow file under `.github/workflows/`, always
8+
recompile both agentic workflows and APM integration files before committing:
9+
10+
```bash
11+
gh aw compile
12+
apm compile
13+
```
14+
15+
Commit the regenerated `.lock.yml` and integration files together with your
16+
changes. The CI `APM Self-Check` job will fail if generated files are stale.

.github/copilot-instructions.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
11
<!-- Generated by APM CLI from .apm/ primitives -->
2-
<!-- Build ID: 791e09362ff0 -->
2+
<!-- Build ID: cdb5b8cab974 -->
33
<!-- APM Version: 0.12.4 -->
44

5+
<!-- Source: .apm/instructions/agentic-workflows.instructions.md -->
6+
# Agentic Workflows
7+
8+
After modifying any `.md` workflow file under `.github/workflows/`, always
9+
recompile both agentic workflows and APM integration files before committing:
10+
11+
```bash
12+
gh aw compile
13+
apm compile
14+
```
15+
16+
Commit the regenerated `.lock.yml` and integration files together with your
17+
changes. The CI `APM Self-Check` job will fail if generated files are stale.
18+
<!-- End source: .apm/instructions/agentic-workflows.instructions.md -->
19+
520
<!-- Source: .apm/instructions/linting.instructions.md -->
621
# Linting (canonical contract)
722

.github/workflows/cli-consistency-checker.lock.yml

Lines changed: 97 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/daily-doc-updater.lock.yml

Lines changed: 128 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/daily-test-improver.lock.yml

Lines changed: 165 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/pr-review-panel.lock.yml

Lines changed: 110 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/triage-panel.lock.yml

Lines changed: 111 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)