From 7560bfa856f2dba5f31e970d8521b4670d5be594 Mon Sep 17 00:00:00 2001 From: Santhi Prakash Date: Wed, 26 Aug 2026 04:58:05 +0000 Subject: [PATCH] test(hooks): run session-start payload test in CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Problem: session-start-test.sh was not referenced by any workflow, so envelope regressions never failed CI. - Fix: add a validate-skills step that runs the test and skips when jq is missing. - Verification: bash hooks/session-start-test.sh → session-start JSON payload OK --- .github/workflows/test-plugin-install.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test-plugin-install.yml b/.github/workflows/test-plugin-install.yml index 782b330e..14f19a0e 100644 --- a/.github/workflows/test-plugin-install.yml +++ b/.github/workflows/test-plugin-install.yml @@ -40,6 +40,14 @@ jobs: - name: Test reference-link validator run: node --test scripts/validate-reference-links-test.js + - name: Test session-start hook payload + run: | + if ! command -v jq >/dev/null 2>&1; then + echo "jq not found; skipping session-start hook test" + exit 0 + fi + bash hooks/session-start-test.sh + validate-commands: name: Validate command parity and description sync runs-on: ubuntu-latest