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
6 changes: 3 additions & 3 deletions .github/workflows/released-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
run: |
npm install --prefix "$RUNNER_TEMP/aictrl-owned-cli" \
--ignore-scripts --no-audit --no-fund \
@aictrl/cli@0.5.6 @aictrl/cli-linux-x64-baseline@0.5.6
node -e 'const fs=require("node:fs"); const root=process.env.RUNNER_TEMP+"/aictrl-owned-cli/node_modules/@aictrl/"; for(const name of ["cli","cli-linux-x64-baseline"]){const p=JSON.parse(fs.readFileSync(root+name+"/package.json","utf8")); if(p.version!=="0.5.6") throw new Error("Unexpected package version"); console.log(p.name+"@"+p.version)}'
@aictrl/cli@0.5.7 @aictrl/cli-linux-x64-baseline@0.5.7
node -e 'const fs=require("node:fs"); const root=process.env.RUNNER_TEMP+"/aictrl-owned-cli/node_modules/@aictrl/"; for(const name of ["cli","cli-linux-x64-baseline"]){const p=JSON.parse(fs.readFileSync(root+name+"/package.json","utf8")); if(p.version!=="0.5.7") throw new Error("Unexpected package version"); console.log(p.name+"@"+p.version)}'
- name: Run owned fixture against released native artifact
shell: bash
run: |
node "$RECIPE_DIR/smoke.mjs" \
--binary "$RUNNER_TEMP/aictrl-owned-cli/node_modules/@aictrl/cli-linux-x64-baseline/bin/aictrl" \
--expected-sha256 44af63abe00fad5c371d34fdb7cffd13d7a0c1bf8808706906b2cf1c088d3092 \
--expected-sha256 322d3c9cd11f2fabc24b2291350ce653513941ea6ce90fdf76ff7a9d3145aa55 \
--evidence-dir "$RUNNER_TEMP/aictrl-owned-evidence"
- name: Retain only inert fixture evidence
if: always()
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
GH_TOKEN: ${{ github.token }}

# Pin a version for reproducible runs; update it when you upgrade.
- run: npm install -g @aictrl/cli@0.5.6
- run: npm install -g @aictrl/cli@0.5.7

# The harness loads AGENTS.md files as instructions, and the pull request can add them.
# Remove them so the review follows only the prompt below.
Expand Down
6 changes: 3 additions & 3 deletions examples/released-smoke/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Released CLI consumer-contract smoke

A credential-free companion to the [real-provider PR review recipe](../../README.md#2-drop-in-github-actions-pr-review-split-secret-pattern). It runs the published **0.5.6** binary. A scripted loopback provider requests a real file read and checks the returned bytes. It tests CLI integration, JSON events and failure handling; it does not measure model coding quality or establish safety for untrusted checkouts.
A credential-free companion to the [real-provider PR review recipe](../../README.md#2-drop-in-github-actions-pr-review-split-secret-pattern). It runs the published **0.5.7** binary. A scripted loopback provider requests a real file read and checks the returned bytes. It tests CLI integration, JSON events and failure handling; it does not measure model coding quality or establish safety for untrusted checkouts.

## Run locally

Expand All @@ -9,10 +9,10 @@ Use Node **20.20.2** and the published Linux x64 baseline native package. Packag
```bash
CLI_DIR=$(mktemp -d)
npm install --prefix "$CLI_DIR" --ignore-scripts --no-audit --no-fund \
@aictrl/cli@0.5.6 @aictrl/cli-linux-x64-baseline@0.5.6
@aictrl/cli@0.5.7 @aictrl/cli-linux-x64-baseline@0.5.7
node examples/released-smoke/smoke.mjs \
--binary "$CLI_DIR/node_modules/@aictrl/cli-linux-x64-baseline/bin/aictrl" \
--expected-sha256 44af63abe00fad5c371d34fdb7cffd13d7a0c1bf8808706906b2cf1c088d3092 \
--expected-sha256 322d3c9cd11f2fabc24b2291350ce653513941ea6ce90fdf76ff7a9d3145aa55 \
--evidence-dir "$CLI_DIR/evidence"
```

Expand Down
4 changes: 2 additions & 2 deletions examples/released-smoke/smoke.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ let pendingFailure
let signalVersion = 0
const report = {
recipe: marker,
expectedVersion: "0.5.6",
releaseSourceCommit: "7d4c1f77f6df656ec7238453da953ef0bfa41a4e",
expectedVersion: "0.5.7",
releaseSourceCommit: "6b077911903bd691c4ab1406a71665fcd1ec9ffa",
startedUTC: new Date().toISOString(),
nodeVersion: process.version,
binary,
Expand Down
6 changes: 3 additions & 3 deletions examples/released-smoke/workflow.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
run: |
npm install --prefix "$RUNNER_TEMP/aictrl-owned-cli" \
--ignore-scripts --no-audit --no-fund \
@aictrl/cli@0.5.6 @aictrl/cli-linux-x64-baseline@0.5.6
node -e 'const fs=require("node:fs"); const root=process.env.RUNNER_TEMP+"/aictrl-owned-cli/node_modules/@aictrl/"; for(const name of ["cli","cli-linux-x64-baseline"]){const p=JSON.parse(fs.readFileSync(root+name+"/package.json","utf8")); if(p.version!=="0.5.6") throw new Error("Unexpected package version"); console.log(p.name+"@"+p.version)}'
@aictrl/cli@0.5.7 @aictrl/cli-linux-x64-baseline@0.5.7
node -e 'const fs=require("node:fs"); const root=process.env.RUNNER_TEMP+"/aictrl-owned-cli/node_modules/@aictrl/"; for(const name of ["cli","cli-linux-x64-baseline"]){const p=JSON.parse(fs.readFileSync(root+name+"/package.json","utf8")); if(p.version!=="0.5.7") throw new Error("Unexpected package version"); console.log(p.name+"@"+p.version)}'
- name: Run owned fixture against released native artifact
shell: bash
run: |
node "$RECIPE_DIR/smoke.mjs" \
--binary "$RUNNER_TEMP/aictrl-owned-cli/node_modules/@aictrl/cli-linux-x64-baseline/bin/aictrl" \
--expected-sha256 44af63abe00fad5c371d34fdb7cffd13d7a0c1bf8808706906b2cf1c088d3092 \
--expected-sha256 322d3c9cd11f2fabc24b2291350ce653513941ea6ce90fdf76ff7a9d3145aa55 \
--evidence-dir "$RUNNER_TEMP/aictrl-owned-evidence"
- name: Retain only inert fixture evidence
if: always()
Expand Down
Loading