The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
Test CI sessions with real agent actions
shukieshah88cc1a39a20e
diff --git a/.github/workflows/claude-security-review-session.yml b/.github/workflows/claude-security-review-session.ymlnew file mode 100644index 00000000..d2337c48--- /dev/null+++ b/.github/workflows/claude-security-review-session.yml@@ -0,0 +1,71 @@+name: Beacon Claude Security Review telemetry++on:+ pull_request:+ paths:+ - action.yml+ - .github/workflows/claude-security-review-session.yml+ - cli/beacon/**+ - collector-builder/exporter/beaconjsonexporter/**+ - examples/github-actions/**+ workflow_dispatch:++permissions:+ contents: read+ pull-requests: write++jobs:+ security-review:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ with:+ ref: ${{ github.event.pull_request.head.sha || github.sha }}+ fetch-depth: 2++ - uses: actions/setup-go@v5+ with:+ go-version-file: cli/beacon/go.mod++ - name: Build branch Beacon CLI+ run: |+ set -euo pipefail+ mkdir -p /tmp/beacon-session-test+ cd cli/beacon+ go build -o /tmp/beacon-session-test/beacon .++ - name: Download released Beacon collector+ run: |+ set -euo pipefail+ archive=/tmp/beacon-session-test/beacon.tgz+ curl -fsSL \+ https://github.com/asymptote-labs/agent-beacon/releases/download/v0.0.49/beacon_0.0.49_linux_amd64.tar.gz \+ -o "$archive"+ tar -xzf "$archive" -C /tmp/beacon-session-test beacon-otelcol+ chmod +x /tmp/beacon-session-test/beacon /tmp/beacon-session-test/beacon-otelcol++ - name: Start Beacon telemetry+ uses: ./+ with:+ mode: start+ binary-path: /tmp/beacon-session-test/beacon+ harnesses: claude++ - name: Run Claude Code Security Review+ uses: anthropics/claude-code-security-review@main+ with:+ claude-api-key: ${{ secrets.CLAUDE_API_KEY }}+ comment-pr: false+ upload-results: true+ claudecode-timeout: "10"+ run-every-commit: true++ - name: Finish Beacon telemetry+ if: always()+ uses: ./+ with:+ mode: finish+ binary-path: /tmp/beacon-session-test/beacon+ min-events: "1"+ upload-artifact: "true"+ artifact-name: beacon-claude-security-review-runtime-logdiff --git a/.github/workflows/ci-session-smoke.yml b/.github/workflows/codex-action-session.ymlsimilarity index 50%rename from .github/workflows/ci-session-smoke.ymlrename to .github/workflows/codex-action-session.ymlindex d7783b34..7896d3d2 100644--- a/.github/workflows/ci-session-smoke.yml+++ b/.github/workflows/codex-action-session.yml@@ -1,10 +1,10 @@-name: Beacon CI session smoke+name: Beacon Codex Action telemetryon:pull_request:paths:- action.yml- - .github/workflows/ci-session-smoke.yml+ - .github/workflows/codex-action-session.yml- cli/beacon/**- collector-builder/exporter/beaconjsonexporter/**- examples/github-actions/**@@ -14,7 +14,7 @@ permissions:contents: readjobs:- claude-session-smoke:+ codex-review:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4@@ -26,41 +26,43 @@ jobs:- name: Build branch Beacon CLIrun: |set -euo pipefail- mkdir -p /tmp/beacon-session-smoke+ mkdir -p /tmp/beacon-session-testcd cli/beacon- go build -o /tmp/beacon-session-smoke/beacon .+ go build -o /tmp/beacon-session-test/beacon .- name: Download released Beacon collectorrun: |set -euo pipefail- archive=/tmp/beacon-session-smoke/beacon.tgz+ archive=/tmp/beacon-session-test/beacon.tgzcurl -fsSL \https://github.com/asymptote-labs/agent-beacon/releases/download/v0.0.49/beacon_0.0.49_linux_amd64.tar.gz \-o "$archive"- tar -xzf "$archive" -C /tmp/beacon-session-smoke beacon-otelcol- chmod +x /tmp/beacon-session-smoke/beacon /tmp/beacon-session-smoke/beacon-otelcol+ tar -xzf "$archive" -C /tmp/beacon-session-test beacon-otelcol+ chmod +x /tmp/beacon-session-test/beacon /tmp/beacon-session-test/beacon-otelcol- name: Start Beacon telemetry+ id: beaconuses: ./with:mode: start- binary-path: /tmp/beacon-session-smoke/beacon- harnesses: claude+ binary-path: /tmp/beacon-session-test/beacon+ harnesses: codex- - name: Install Claude Code- run: npm install -g @anthropic-ai/claude-code-- - name: Run Claude smoke- env:- ANTHROPIC_API_KEY: ${{ secrets.CLAUDE_API_KEY }}- run: 'claude --print "Say exactly: beacon session smoke"'+ - name: Run Codex Action+ uses: openai/codex-action@main+ with:+ openai-api-key: ${{ secrets.OPENAI_API_KEY }}+ codex-home: ${{ steps.beacon.outputs.codex-home }}+ prompt: "Summarize this pull request and list one potential risk. Do not modify files."+ sandbox: read-only+ safety-strategy: read-only- name: Finish Beacon telemetryif: always()uses: ./with:mode: finish- binary-path: /tmp/beacon-session-smoke/beacon+ binary-path: /tmp/beacon-session-test/beaconmin-events: "1"upload-artifact: "true"- artifact-name: beacon-ci-session-smoke+ artifact-name: beacon-codex-action-runtime-log