mirror of
https://github.com/Heretek-AI/agency-control-plane.git
synced 2026-11-07 10:46:08 -10:00
Adds scripts/accept/wave-4.sh (approval attacks, launcher/Director, NATS, web build, Chromium smoke test) to `make accept`, installs with --frozen-lockfile --ignore-scripts, updates the wave-2/3 probes to the pinned-key flow, and adds .github/workflows/ci.yml (pull_request + push to main, bun 1.4.2, SHA-pinned actions, nats-server + Chromium, make check + make accept). README documents key generation, starting the dispatcher + UI, worker/Director configuration, and NATS. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012AuVk4nEvBXaTjs4G6wdW4
58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
name: ci
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ci-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check-and-accept:
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 30
|
|
steps:
|
|
# Third-party actions are pinned to full commit SHAs (tag in the comment).
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2
|
|
with:
|
|
bun-version: 1.4.2
|
|
|
|
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
|
with:
|
|
go-version: "1.23"
|
|
cache: false
|
|
|
|
- name: Install dependencies (no lifecycle scripts)
|
|
run: bun install --frozen-lockfile --ignore-scripts
|
|
|
|
- name: Install nats-server (JetStream integration test)
|
|
run: |
|
|
go install github.com/nats-io/nats-server/[email protected]
|
|
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
|
|
|
|
- name: Install Chromium for the UI smoke test
|
|
run: ./node_modules/.bin/playwright-core install --with-deps chromium
|
|
|
|
- name: make check
|
|
run: make check
|
|
|
|
- name: make accept
|
|
run: make accept
|
|
|
|
- name: Upload UI screenshot
|
|
if: always()
|
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
with:
|
|
name: ui-screenshot
|
|
path: docs/evidence/ui.png
|
|
if-no-files-found: ignore
|