From b8661feb48bc598c306ec9f1e0dc2ed41a8e2626 Mon Sep 17 00:00:00 2001 From: opencode-probe Date: Tue, 15 Sep 2026 15:06:46 -0400 Subject: [PATCH] Fix CAP-001 (register ci) + add dormant RWX dispatch trigger --- .rwx/dispatch.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ capabilities.json | 1 + 2 files changed, 45 insertions(+) create mode 100644 .rwx/dispatch.yml diff --git a/.rwx/dispatch.yml b/.rwx/dispatch.yml new file mode 100644 index 0000000..4c446c0 --- /dev/null +++ b/.rwx/dispatch.yml @@ -0,0 +1,44 @@ +# RWX ad-hoc dispatch triggers (dormant until dispatched via UI/API/CLI). +# Proves the wave-ci rwx-dispatch path end to end without touching push CI. +on: + cli: + init: + commit-sha: ${{ event.git.sha }} + environment: trial + dispatch: + - key: wave-cli-verify + params: + - key: environment + name: Environment label + description: Free-form label recorded in the run title only. No deploys. + default: trial + required: false + init: + commit-sha: ${{ event.git.sha }} + environment: ${{ event.dispatch.params.environment }} + +base: + image: ubuntu:24.04 + config: rwx/base 1.2.0 + +tasks: + - key: code + call: git/clone 2.1.0 + with: + repository: https://github.com/wave-av/cli.git + ref: ${{ init.commit-sha }} + github-token: ${{ github.token }} + + - key: node + call: nodejs/install 1.2.0 + with: + node-version: "22.23.2" + + - key: verify + use: [code, node] + run: | + npm ci --no-audit --no-fund + npm run type-check + npx vitest run + env: + DISPATCH_ENV: ${{ init.environment }} diff --git a/capabilities.json b/capabilities.json index 4344861..47cb357 100644 --- a/capabilities.json +++ b/capabilities.json @@ -24,6 +24,7 @@ "billing", "captions", "chapters", + "ci", "clip", "collab", "completion",