From 802dff517383cb9952366477bebf976202e06374 Mon Sep 17 00:00:00 2001 From: Reuven Date: Sat, 9 May 2026 09:42:08 -0400 Subject: [PATCH] ci: extend path filter to plugin witness scripts (silent coupling fix) The witness-verify and plugin-hooks-smoke jobs depend on: - plugins/ruflo-core/scripts/witness/** - plugins/ruflo-core/scripts/test-hooks.mjs - plugins/ruflo-core/hooks/hooks.json - verification.md.json + verification-history.jsonl + witness-fixes.json Previously the workflow only triggered on 'v3/**' or itself, so changes to those plugin scripts shipped without re-running the verify job they're supposed to gate. Two recent fixes (b289c009e witness probe-path, b5a57cbf1 docs) both shipped untested for this reason. Also enables workflow_dispatch for manual re-runs. Co-Authored-By: RuFlo --- .github/workflows/v3-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/v3-ci.yml b/.github/workflows/v3-ci.yml index df00177994..4dc0c68877 100644 --- a/.github/workflows/v3-ci.yml +++ b/.github/workflows/v3-ci.yml @@ -6,10 +6,22 @@ on: paths: - 'v3/**' - '.github/workflows/v3-ci.yml' + # Witness-verify + plugin-hooks-smoke depend on these scripts; + # path filter keeps CI in sync with their changes. + - 'plugins/ruflo-core/scripts/witness/**' + - 'plugins/ruflo-core/scripts/test-hooks.mjs' + - 'plugins/ruflo-core/hooks/hooks.json' + - 'verification.md.json' + - 'verification-history.jsonl' + - 'witness-fixes.json' pull_request: branches: [main] paths: - 'v3/**' + - 'plugins/ruflo-core/scripts/witness/**' + - 'plugins/ruflo-core/scripts/test-hooks.mjs' + - 'plugins/ruflo-core/hooks/hooks.json' + workflow_dispatch: env: NODE_VERSION: '20'