Skip to content
Closed
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
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,45 @@ jobs:
env:
OPENCODE_PRINT_LOGS: "1"
OPENCODE_LOG_LEVEL: DEBUG

real-opencode-goal-coexistence:
name: real OpenCode Loop + dedicated Goal ownership (${{ matrix.os }})
timeout-minutes: 12
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v6
with:
persist-credentials: false

- uses: actions/setup-node@v6
with:
node-version: "24"
cache: npm

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- run: npm ci

- name: Install current OpenCode CLI and dedicated Goal companion
run: npm install --no-save --package-lock=false opencode-ai@latest @bybrawe/opencode-goal@latest

- name: Show integration versions
run: |
npx --no-install opencode --version
node -p "require('./node_modules/@bybrawe/opencode-goal/package.json').version"

- name: Check coexistence canary syntax
run: node --check scripts/host-goal-coexistence-canary.mjs

- name: Require one autonomous owner when dedicated Goal is active
run: node scripts/host-goal-coexistence-canary.mjs
env:
OPENCODE_PRINT_LOGS: "1"
OPENCODE_LOG_LEVEL: DEBUG
Loading
Loading