mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
The "guard" check failed: __tests__/helper-signing.test.ts's Ed25519 provenance gate (ADR-174) caught that v3/@claude-flow/cli/.claude/helpers/ hook-handler.cjs -- the npm-shipped, cryptographically signed helper artifact -- no longer matched helpers.manifest.json's signed hash. The previous commit's CJS-mirror port (done by an independent adversarial critic reviewing this PR) edited that file directly; re-signing it requires the GCP-held ruflo-helpers-signing-key, a release-time operation explicitly out of scope and authority for this nightly research session. A second, separate test (session-start-hook-settings-risk-scan.test.ts's "root and package hook-handler.cjs copies are byte-identical" check) means the root copy can't diverge from the package copy either, so reverting only one side was not an option. Reverted hook-handler.cjs (both copies) and the parity-test's node/deno/ bun/php sample additions to their pre-critique state. The core candidate (settings-risk-scanner.ts + its own test/corpus) is untouched and remains ACCEPT on its own evaluation. The CJS-mirror gap the critic found is real and still open -- recorded in the gist/issue as a disclosed, not-fixed finding for a future night that can go through the real signing pipeline, rather than fixed here by defeating the gate that exists to catch exactly this kind of unsigned edit.