🌊 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
ci(guard): make the leaf-publish diff check actually run in PR CI
ruvnet1116724a65e4
diff --git a/.github/workflows/v3-ci.yml b/.github/workflows/v3-ci.ymlindex 5fd3c9846f..ff57442d52 100644--- a/.github/workflows/v3-ci.yml+++ b/.github/workflows/v3-ci.yml@@ -1749,7 +1749,13 @@ jobs:# rather than passing silently) and only the range check runs.if: github.event_name == 'pull_request'shell: bash- run: git fetch --no-tags --depth=1 origin "$GITHUB_BASE_REF"+ # --depth=1 is NOT enough: it fetches the base tip with no shared history,+ # so `base...HEAD` fails with "no merge base" and the check sits out. Fetch+ # enough history for a merge base, and map it to refs/remotes so the audit+ # can name it as origin/<base>.+ run: |+ git fetch --no-tags --depth=50 origin \+ "+refs/heads/${GITHUB_BASE_REF}:refs/remotes/origin/${GITHUB_BASE_REF}"- name: Run leaf-package publish audit (#3335, #3390)# Only four @claude-flow/* components are bundled into the releasediff --git a/scripts/audit-leaf-package-publish.mjs b/scripts/audit-leaf-package-publish.mjsindex dca847e8cf..c52802ab55 100755--- a/scripts/audit-leaf-package-publish.mjs+++ b/scripts/audit-leaf-package-publish.mjs@@ -181,11 +181,25 @@ if (!base) {'Range coverage above was still checked; this is a skip, not a pass.');} else {+ // Three-dot is the correct question for a PR ("what did this branch introduce"),+ // but it needs a merge base, which a shallow CI clone may not have — that is+ // exactly how this check silently sat out its first real run. Fall back to+ // two-dot, which needs no common ancestor and still answers "does this tree+ // differ from base", and say which mode actually ran.let changed = [];- try {- changed = git(['diff', '--name-only', `${base}...HEAD`]).split('\n').filter(Boolean);- } catch {- notes.push(`diff check NOT EXERCISED — could not diff against '${base}' (shallow clone?).`);+ let mode = null;+ for (const [spec, label] of [[`${base}...HEAD`, 'three-dot'], [`${base}`, 'two-dot']]) {+ try {+ changed = git(['diff', '--name-only', spec, ...(label === 'two-dot' ? ['HEAD'] : [])])+ .split('\n').filter(Boolean);+ mode = label;+ break;+ } catch { /* try the next spec */ }+ }+ if (!mode) {+ notes.push(`diff check NOT EXERCISED — could not diff against '${base}' by any spec.`);+ } else {+ notes.push(`diff check ran (${mode} vs ${base}, ${changed.length} file(s) changed).`);}if (changed.length > 0) {