Skip to content

Commit fa1ff66

Browse files
Copilotedburns
andauthored
Add gh aw compile rules to copilot-instructions.md
Agent-Logs-Url: https://github.com/github/copilot-sdk-java/sessions/89971704-9134-4bf9-9b66-b0c57810ee86 Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
1 parent d12554b commit fa1ff66

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ Test method names are converted to lowercase snake_case for snapshot filenames t
222222
- **DO NOT** modify test snapshots in `target/copilot-sdk/test/snapshots/` - these come from reference implementation
223223
- **DO NOT** alter the Eclipse formatter configuration in `pom.xml` without team consensus
224224
- **DO NOT** remove or skip Checkstyle or Spotless checks
225+
- **YOU MUST ALWAYS** run `gh aw compile <workflow-name>` after editing any `.github/workflows/*.md` agentic workflow source file to regenerate the corresponding `.lock.yml`. The lock file contains a content hash of the frontmatter — any edit to the `.md` without recompiling will cause the workflow to fail at runtime with a "lock file out of sync" error.
226+
- **DO NOT** edit `.github/workflows/*.lock.yml` directly — these are auto-generated by `gh aw compile` from the `.md` source files.
225227

226228
### Security Guidelines
227229

0 commit comments

Comments
 (0)