π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
feat(ci): #2089 ADR-127 Phase 3 β bump actions/checkout + setup-node to v4 + deprecated-actions smoke
ruv388665d67c7b
diff --git a/.claude/agents/github/code-review-swarm.md b/.claude/agents/github/code-review-swarm.mdindex 7b2e80aae7..abf706e0b8 100644--- a/.claude/agents/github/code-review-swarm.md+++ b/.claude/agents/github/code-review-swarm.md@@ -250,7 +250,7 @@ jobs:swarm-review:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4with:fetch-depth: 0diff --git a/.claude/agents/github/release-manager.md b/.claude/agents/github/release-manager.mdindex 9526ffa284..b4c2a143c0 100644--- a/.claude/agents/github/release-manager.md+++ b/.claude/agents/github/release-manager.md@@ -308,9 +308,9 @@ jobs:release-validation:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Setup Node.js- uses: actions/setup-node@v3+ uses: actions/setup-node@v4with:node-version: '20'- name: Install and Testdiff --git a/.claude/agents/github/release-swarm.md b/.claude/agents/github/release-swarm.mdindex 8bd4db0f50..0b3c8d1af0 100644--- a/.claude/agents/github/release-swarm.md+++ b/.claude/agents/github/release-swarm.md@@ -280,7 +280,7 @@ jobs:release-swarm:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4with:fetch-depth: 0diff --git a/.claude/agents/github/repo-architect.md b/.claude/agents/github/repo-architect.mdindex 0f20a5363a..55d4d820c3 100644--- a/.claude/agents/github/repo-architect.md+++ b/.claude/agents/github/repo-architect.md@@ -151,8 +151,8 @@ jobs:test:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3- - uses: actions/setup-node@v3+ - uses: actions/checkout@v4+ - uses: actions/setup-node@v4with: { node-version: '20' }- run: npm install && npm test`,message: "ci: Standardize integration workflow across repositories",diff --git a/.claude/agents/github/swarm-pr.md b/.claude/agents/github/swarm-pr.mdindex a208efda1b..4f38eaf88a 100644--- a/.claude/agents/github/swarm-pr.md+++ b/.claude/agents/github/swarm-pr.md@@ -51,7 +51,7 @@ jobs:swarm-handler:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Handle Swarm Commandrun: |COMMENT_BODY_FILE=$(mktemp)diff --git a/.claude/agents/github/workflow-automation.md b/.claude/agents/github/workflow-automation.mdindex 45e773b23a..9f58836db6 100644--- a/.claude/agents/github/workflow-automation.md+++ b/.claude/agents/github/workflow-automation.md@@ -22,7 +22,7 @@ jobs:swarm-analysis:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Initialize Swarmuses: ruvnet/swarm-action@v1@@ -70,7 +70,7 @@ jobs:detect-and-build:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Detect Languagesid: detectdiff --git a/.claude/skills/github-code-review/SKILL.md b/.claude/skills/github-code-review/SKILL.mdindex 8142a52f7d..bb85f37632 100644--- a/.claude/skills/github-code-review/SKILL.md+++ b/.claude/skills/github-code-review/SKILL.md@@ -489,7 +489,7 @@ jobs:swarm-review:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4with:fetch-depth: 0@@ -766,7 +766,7 @@ jobs:build-and-test:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- run: npm install- run: npm test- run: npm run builddiff --git a/.claude/skills/github-multi-repo/SKILL.md b/.claude/skills/github-multi-repo/SKILL.mdindex b392bf9a98..4b87d1000b 100644--- a/.claude/skills/github-multi-repo/SKILL.md+++ b/.claude/skills/github-multi-repo/SKILL.md@@ -331,8 +331,8 @@ jobs:test:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3- - uses: actions/setup-node@v3+ - uses: actions/checkout@v4+ - uses: actions/setup-node@v4with: { node-version: '20' }- run: npm install && npm test`,message: "ci: Standardize integration workflow",diff --git a/.claude/skills/github-release-management/SKILL.md b/.claude/skills/github-release-management/SKILL.mdindex 4ac38df766..7d2b9a23ba 100644--- a/.claude/skills/github-release-management/SKILL.md+++ b/.claude/skills/github-release-management/SKILL.md@@ -685,12 +685,12 @@ jobs:steps:- name: Checkout Repository- uses: actions/checkout@v3+ uses: actions/checkout@v4with:fetch-depth: 0- name: Setup Node.js- uses: actions/setup-node@v3+ uses: actions/setup-node@v4with:node-version: '20'cache: 'npm'diff --git a/.claude/skills/github-workflow-automation/SKILL.md b/.claude/skills/github-workflow-automation/SKILL.mdindex 588d1514e5..5c64bc1b8d 100644--- a/.claude/skills/github-workflow-automation/SKILL.md+++ b/.claude/skills/github-workflow-automation/SKILL.md@@ -166,7 +166,7 @@ jobs:swarm-analysis:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Initialize Swarmuses: ruvnet/swarm-action@v1@@ -192,7 +192,7 @@ jobs:detect-and-build:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Detect Languagesid: detect@@ -819,7 +819,7 @@ jobs:needs: initializeruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Backend Testsrun: |npx ruv-swarm agents spawn --type tester \@@ -830,7 +830,7 @@ jobs:needs: initializeruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Frontend Testsrun: |npx ruv-swarm agents spawn --type tester \@@ -841,7 +841,7 @@ jobs:needs: initializeruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Security Scanrun: |npx ruv-swarm agents spawn --type security \@@ -871,7 +871,7 @@ jobs:outputs:packages: ${{ steps.detect.outputs.packages }}steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4with:fetch-depth: 0diff --git a/.claude/skills/verification-quality/SKILL.md b/.claude/skills/verification-quality/SKILL.mdindex 22250c17ad..6f0b6643cc 100644--- a/.claude/skills/verification-quality/SKILL.md+++ b/.claude/skills/verification-quality/SKILL.md@@ -470,7 +470,7 @@ jobs:verify:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Install Dependenciesrun: npm installdiff --git a/.github/workflows/v3-ci.yml b/.github/workflows/v3-ci.ymlindex ef82288ac2..16178e2a97 100644--- a/.github/workflows/v3-ci.yml+++ b/.github/workflows/v3-ci.yml@@ -89,6 +89,7 @@ on:- 'v3/@claude-flow/cli/.claude/helpers/github-safe.js'- 'scripts/smoke-github-safe-injection.mjs'- 'scripts/smoke-github-actions-pins.mjs'+ - 'scripts/smoke-deprecated-actions.mjs'- '.github/supply-chain/allowed-deps.json'pull_request:branches: [main, develop]@@ -155,6 +156,7 @@ on:- 'v3/@claude-flow/cli/.claude/helpers/github-safe.js'- 'scripts/smoke-github-safe-injection.mjs'- 'scripts/smoke-github-actions-pins.mjs'+ - 'scripts/smoke-deprecated-actions.mjs'- '.github/supply-chain/allowed-deps.json'# witness manifests / fix list β so witness-verify runs on PRs that# touch them (otherwise a stale per-OS manifest only fails post-merge).@@ -1051,6 +1053,35 @@ jobs:- name: Run github actions pin smokerun: node scripts/smoke-github-actions-pins.mjs+ github-deprecated-actions-smoke:+ # Regression guard for ruvnet/ruflo#2089 β ADR-127 Phase 3.+ #+ # Scans every `uses:` line in the same scope as the pins smoke and+ # fails if any deprecated action ref is still present:+ # - actions/checkout@v3 (v4 available since Nov 2023)+ # - actions/setup-node@v3 (v4 available since Nov 2023)+ # - actions/create-release@* (deprecated; replaced by gh CLI)+ # - actions/upload-release-asset@* (deprecated; replaced by gh CLI)+ # - softprops/action-gh-release@v1 (v1 has known CVEs; use @v2)+ #+ # Phase 3 bumps all @v3 refs to @v4. This smoke is the regression gate+ # that prevents them from drifting back via copy-paste from blog posts+ # or AI-generated snippets that still reference the old versions.+ name: github deprecated actions smoke (#2089, ADR-127 Phase 3)+ runs-on: ubuntu-latest++ steps:+ - name: Checkout code+ uses: actions/checkout@v4++ - name: Setup Node.js+ uses: actions/setup-node@v4+ with:+ node-version: '22'++ - name: Run deprecated-actions smoke+ run: node scripts/smoke-deprecated-actions.mjs+pre-bash-hook-smoke:# Regression guard for ruvnet/ruflo#2017 β the `pre-bash` PreToolUse hook# in `.claude/helpers/hook-handler.cjs` is a security gate that refuses todiff --git a/scripts/smoke-deprecated-actions.mjs b/scripts/smoke-deprecated-actions.mjsnew file mode 100644index 0000000000..47149c3689--- /dev/null+++ b/scripts/smoke-deprecated-actions.mjs@@ -0,0 +1,92 @@+#!/usr/bin/env node+/**+ * Deprecated-action regression guard for ruvnet/ruflo#2089 β ADR-127 Phase 3.+ *+ * Fails if any file in scope references:+ * - actions/checkout@v3 (replaced by @v4 in Phase 3)+ * - actions/setup-node@v3 (replaced by @v4 in Phase 3)+ * - actions/create-release@* (archived action β use `gh release create`)+ * - actions/upload-release-asset@* (archived action β use `gh release upload`)+ * - softprops/action-gh-release@v1 (mutable floating ref β use SHA pin or @v2+)+ *+ * The archived actions (create-release, upload-release-asset) are the same+ * ones replaced in ruvnet/neural-trader's release workflow. Catching them+ * here prevents the pattern from re-entering the skill/agent templates.+ *+ * Scope:+ * .claude/agents/github/[name].md+ * .claude/skills/github-[name]/SKILL.md+ * v3/@claude-flow/cli/.claude/commands/github/[name].md+ *+ * Zero runtime dependencies β pure readFileSync + regex.+ * Exit 0: no deprecated refs found.+ * Exit 1: one or more deprecated refs found (file + line reported).+ */++import { readFileSync, readdirSync, existsSync } from 'node:fs';+import { join } from 'node:path';++const REPO_ROOT = process.cwd();++const SCAN_TREES = [+ join(REPO_ROOT, '.claude', 'agents', 'github'),+ join(REPO_ROOT, '.claude', 'skills'),+ join(REPO_ROOT, 'v3', '@claude-flow', 'cli', '.claude', 'commands', 'github'),+];++// Deprecated refs: [pattern, description, replacement]+const DEPRECATED = [+ [/uses:\s+actions\/checkout@v3\b/, 'actions/checkout@v3 (mutable @v3)', 'actions/checkout@v4'],+ [/uses:\s+actions\/setup-node@v3\b/, 'actions/setup-node@v3 (mutable @v3)', 'actions/setup-node@v4'],+ [/uses:\s+actions\/create-release@/, 'actions/create-release (archived)', 'gh release create'],+ [/uses:\s+actions\/upload-release-asset@/, 'actions/upload-release-asset (archived)', 'gh release upload'],+ [/uses:\s+softprops\/action-gh-release@v1\b/, 'softprops/action-gh-release@v1 (mutable floating)', 'SHA-pin or @v2+'],+];++function collectFiles(dir, recursive = false) {+ if (!existsSync(dir)) return [];+ const files = [];+ for (const entry of readdirSync(dir, { withFileTypes: true })) {+ const full = join(dir, entry.name);+ if (entry.isFile() && entry.name.endsWith('.md')) {+ files.push(full);+ } else if (entry.isDirectory() && recursive) {+ files.push(...collectFiles(full, false));+ }+ }+ return files;+}++const filesToScan = [+ ...collectFiles(SCAN_TREES[0]),+ ...collectFiles(SCAN_TREES[1], true),+ ...collectFiles(SCAN_TREES[2]),+];++const violations = [];++for (const filePath of filesToScan) {+ const lines = readFileSync(filePath, 'utf-8').split('\n');+ for (let i = 0; i < lines.length; i++) {+ for (const [pattern, description, replacement] of DEPRECATED) {+ if (pattern.test(lines[i])) {+ violations.push({ file: filePath, line: i + 1, description, replacement, text: lines[i].trim() });+ }+ }+ }+}++if (violations.length === 0) {+ console.log('ok: no deprecated action refs found in scope');+ process.exit(0);+}++console.error(`\n${violations.length} deprecated action reference(s) found:\n`);+for (const v of violations) {+ const rel = v.file.replace(REPO_ROOT + '/', '');+ console.error(` ${rel}:${v.line} ${v.text}`);+ console.error(` deprecated: ${v.description}`);+ console.error(` use instead: ${v.replacement}`);+}+console.error('\nFix: replace the deprecated ref with the recommended alternative.\n');+process.exit(1);diff --git a/v3/@claude-flow/cli/.claude/commands/github/code-review-swarm.md b/v3/@claude-flow/cli/.claude/commands/github/code-review-swarm.mdindex e604f8fea0..559063ff66 100644--- a/v3/@claude-flow/cli/.claude/commands/github/code-review-swarm.md+++ b/v3/@claude-flow/cli/.claude/commands/github/code-review-swarm.md@@ -243,7 +243,7 @@ jobs:swarm-review:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4with:fetch-depth: 0diff --git a/v3/@claude-flow/cli/.claude/commands/github/release-manager.md b/v3/@claude-flow/cli/.claude/commands/github/release-manager.mdindex 7cf2948e1d..65acb0fbeb 100644--- a/v3/@claude-flow/cli/.claude/commands/github/release-manager.md+++ b/v3/@claude-flow/cli/.claude/commands/github/release-manager.md@@ -310,9 +310,9 @@ jobs:release-validation:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Setup Node.js- uses: actions/setup-node@v3+ uses: actions/setup-node@v4with:node-version: '20'- name: Install and Testdiff --git a/v3/@claude-flow/cli/.claude/commands/github/release-swarm.md b/v3/@claude-flow/cli/.claude/commands/github/release-swarm.mdindex 7bc808c0e4..760768f3c8 100644--- a/v3/@claude-flow/cli/.claude/commands/github/release-swarm.md+++ b/v3/@claude-flow/cli/.claude/commands/github/release-swarm.md@@ -273,7 +273,7 @@ jobs:release-swarm:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4with:fetch-depth: 0diff --git a/v3/@claude-flow/cli/.claude/commands/github/repo-architect.md b/v3/@claude-flow/cli/.claude/commands/github/repo-architect.mdindex 531c0227b9..bff58985bb 100644--- a/v3/@claude-flow/cli/.claude/commands/github/repo-architect.md+++ b/v3/@claude-flow/cli/.claude/commands/github/repo-architect.md@@ -153,8 +153,8 @@ jobs:test:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3- - uses: actions/setup-node@v3+ - uses: actions/checkout@v4+ - uses: actions/setup-node@v4with: { node-version: '20' }- run: npm install && npm test`,message: "ci: Standardize integration workflow across repositories",diff --git a/v3/@claude-flow/cli/.claude/commands/github/swarm-pr.md b/v3/@claude-flow/cli/.claude/commands/github/swarm-pr.mdindex a84a2b4143..306409b266 100644--- a/v3/@claude-flow/cli/.claude/commands/github/swarm-pr.md+++ b/v3/@claude-flow/cli/.claude/commands/github/swarm-pr.md@@ -44,7 +44,7 @@ jobs:swarm-handler:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Handle Swarm Commandrun: |COMMENT_BODY_FILE=$(mktemp)diff --git a/v3/@claude-flow/cli/.claude/commands/github/workflow-automation.md b/v3/@claude-flow/cli/.claude/commands/github/workflow-automation.mdindex 1995029898..bf521f3f96 100644--- a/v3/@claude-flow/cli/.claude/commands/github/workflow-automation.md+++ b/v3/@claude-flow/cli/.claude/commands/github/workflow-automation.md@@ -15,7 +15,7 @@ jobs:swarm-analysis:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Initialize Swarmuses: ruvnet/swarm-action@v1@@ -63,7 +63,7 @@ jobs:detect-and-build:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Detect Languagesid: detect