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
34 changes: 19 additions & 15 deletions .github/workflows/red-team-benchmark.lock.yml

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

9 changes: 7 additions & 2 deletions .github/workflows/red-team-benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ steps:
run: |
npm ci 2>&1 | tail -5
npm run build 2>&1 | tail -5
sudo tee /usr/local/bin/awf > /dev/null <<'WRAPPER'
sudo tee /usr/local/bin/awf > /dev/null <<WRAPPER
#!/bin/bash
exec node "$GITHUB_WORKSPACE/dist/cli.js" "$@"
exec node "${GITHUB_WORKSPACE}/dist/cli.js" "\$@"
WRAPPER
sudo chmod +x /usr/local/bin/awf
awf --version
Expand All @@ -69,6 +69,11 @@ steps:
npm install -g @anthropic-ai/claude-code
command -v claude

- name: Install Codex CLI
run: |
npm install --ignore-scripts -g @openai/codex@0.135.0
command -v codex
Comment thread
lpcox marked this conversation as resolved.

- name: Write AWF benchmark config
run: |
mkdir -p /tmp/gh-aw/agent
Expand Down
3 changes: 3 additions & 0 deletions scripts/ci/red-team-benchmark-workflow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ describe('red-team benchmark workflow config', () => {
expect(source).toContain('Install Claude CLI');
expect(source).toContain('npm install -g @anthropic-ai/claude-code');

// Codex CLI for red-team/user-task agents
expect(source).toContain('Install Codex CLI');
expect(source).toContain('npm install --ignore-scripts -g @openai/codex@0.135.0');
// Build and install AWF from source
expect(source).toContain('Build and install AWF from source');
expect(source).toContain('npm run build');
Expand Down
Loading