Files
ruflo/.github/workflows
rUvandr ad343eb14d feat(release): SLSA provenance publishing + pinned init output (ADR-545) (#5048)
* feat(release): publish the train with SLSA provenance (ADR-545)

stable-npm-release publishes with --provenance (id-token: write), checks
repository.url before publishing, defaults to a dry run, publishes only
from main, and promotes to latest only after the registry holds a SLSA v1
attestation for exactly the verified archive built in ruvnet/ruflo.
Only latest moves (ADR-513). ADR-545 records the client review items.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(release): drop the dead root npm ci step that runs security's tsc prepare

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(release): clear x-gateway audit gate; allow HEAD dry runs (ADR-545)

npm audit fix clears the 2 high advisories; a scoped override lifts
rimraf's glob to ^14.0.2 for the remaining glob/minimatch moderates
(0 vulnerabilities, 142/142 gateway tests). tag=HEAD (dry run only)
builds the dispatched commit so a release can be rehearsed before it
is tagged.

Co-Authored-By: RuFlo <ruv@ruv.net>

* docs(adr-545): record RuVector#1516 and the laptop-only package gap

Co-Authored-By: RuFlo <ruv@ruv.net>

* chore(release): commit the signed helper manifest for 3.78.1 (ADR-545)

CI verifies the committed manifest; the signing key stays off CI.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(release): npm ls --all warns instead of gating (#5047)

The published 3.78.1 tree already has invalid nested ranges; the
functional smoke checks stay the gate until #5047 aligns the pins.

Co-Authored-By: RuFlo <ruv@ruv.net>

* feat(cli): pin init output to the CLI's exact version, add repin and provenance check (ADR-545)

- init writes @claude-flow/cli, claude-flow and ruflo pinned to the running
  CLI's version (one specifier helper, src/init/pinning.ts); third-party MCP
  refs (ruv-swarm, flow-nexus, agentic-jujutsu) pinned to known versions.
  `--channel latest` keeps the previous floating output byte-for-byte.
- `ruflo init repin` / `init --repin`: idempotent rewrite of settings.json,
  .mcp.json, CLAUDE.md and .claude/helpers with --dry-run and a per-line
  report. Leaves signed helpers, JSON keys and #2448 runaway hook commands
  alone and says why.
- Helper refresh never rewrites signed helpers, so pins survive it.
- Provenance check (registry attestations, SLSA v1 predicate, subject digest
  == dist.integrity, repo == github.com/ruvnet/ruflo) via
  `doctor -c provenance`, after repin, and as a non-fatal warning at init.
  Fetch is injectable; tests use recorded registry fixtures.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(release): test the federation WebSocket fallback by removing agentic-flow

The CLI now depends on stable agentic-flow ^3.0.0, so pinning the
alpha no longer forces the fallback; the smoke step was stale.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(cli): pin untagged npx runs in helper scripts; update #2206 CI guard (ADR-545)

`npx @claude-flow/cli hooks …` with no tag floats exactly like @latest.
The generated pre-commit hook and copied unsigned helpers (post-commit,
pre-commit) ran it untagged. Init now pins those runs on copy and in the
generator, and `init repin` pins them in .claude/helpers. Docs copied from
the package and the user's CLAUDE.md are left as is. The --prefix form used
by the signed helpers is not matched.

The wizard-init guard required the literal `ruflo@latest` in
mcp-generator.ts; it now requires the args to run the ruflo wrapper via
ourSpec('ruflo', …).

Co-Authored-By: RuFlo <ruv@ruv.net>

* docs(adr-545): CI-only train publishing in CLAUDE.md; record dry-run findings

Co-Authored-By: RuFlo <ruv@ruv.net>

* chore(x-gateway): bump plugin to 0.10.6 for the dependency audit fix

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(adr-545): unambiguous flag regex (CodeQL ReDoS), anchored scope replace, keep doctor help ending in metaharness)

Co-Authored-By: RuFlo <ruv@ruv.net>

* ci: exclude the node:test provenance gate test from the vitest ratchet (runs via node --test in v3-ci)

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-11-19 16:21:20 -05:00
..