From e59e21b64bb86e4ad9b90a72531a945533432024 Mon Sep 17 00:00:00 2001 From: Bulat Yapparov Date: Tue, 1 Dec 2026 15:08:31 +0000 Subject: [PATCH] chore: verify the published 0.5.7 CLI in consumer smoke Pins the released smoke, its example workflow and README, and the root README's PR-review recipe to 0.5.7. The runner expects version 0.5.7 from release commit 6b0779119 and the Linux x64 baseline binary 322d3c9c...45aa55 from npm. refs #267 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Br5cc1EsMnL19BcXrbDvUC --- .github/workflows/released-smoke.yml | 6 +++--- README.md | 2 +- examples/released-smoke/README.md | 6 +++--- examples/released-smoke/smoke.mjs | 4 ++-- examples/released-smoke/workflow.example.yml | 6 +++--- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/released-smoke.yml b/.github/workflows/released-smoke.yml index b7fb185..1237981 100644 --- a/.github/workflows/released-smoke.yml +++ b/.github/workflows/released-smoke.yml @@ -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() diff --git a/README.md b/README.md index 5f248a7..1eaa90e 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/examples/released-smoke/README.md b/examples/released-smoke/README.md index aed016c..7fae97e 100644 --- a/examples/released-smoke/README.md +++ b/examples/released-smoke/README.md @@ -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 @@ -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" ``` diff --git a/examples/released-smoke/smoke.mjs b/examples/released-smoke/smoke.mjs index 2e1edae..1bb96ee 100644 --- a/examples/released-smoke/smoke.mjs +++ b/examples/released-smoke/smoke.mjs @@ -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, diff --git a/examples/released-smoke/workflow.example.yml b/examples/released-smoke/workflow.example.yml index 2523c81..0b2dec7 100644 --- a/examples/released-smoke/workflow.example.yml +++ b/examples/released-smoke/workflow.example.yml @@ -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()