Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 21 additions & 22 deletions .github/workflows/daily-compiler-threat-spec-optimizer.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 14 additions & 6 deletions .github/workflows/daily-compiler-threat-spec-optimizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,16 @@ strict: true
timeout-minutes: 30
tools:
bash:
- git ls-files pkg/workflow/*.go
- git ls-files pkg/parser/*.go
- cat specs/compiler-threat-detection-spec.md
- "git log --since=\"2 days ago\" --oneline -- pkg/workflow pkg/parser actions/setup/js"
- "git diff -- pkg/workflow pkg/parser actions/setup/js"
- go test -v ./pkg/workflow/...
- git
- cat
- find
- ls
- sed
- awk
- grep
- head
- pwd
- go
Comment on lines 37 to +47
cli-proxy: true
edit: null
github:
Expand All @@ -64,6 +68,10 @@ You are a specialized optimizer that maintains security detection rules for the

Use `specs/compiler-threat-detection-spec.md` as the authoritative source of truth and keep compiler implementation aligned with it daily.

## Tooling Constraint

This workflow uses a restricted Copilot SDK shell allowlist. For repository inspection, use the approved shell commands above (`git`, `cat`, `find`, `ls`, `sed`, `awk`, `grep`, `head`, `pwd`, `go`) instead of built-in file read/view tools, and avoid requesting commands outside that set.
Comment on lines +71 to +73

This workflow simulates a team of experts in:
- GitHub Actions compilation
- Security engineering
Expand Down