* fix(plugins): give every function-hook plugin a Codex hook manifest
Codex 0.172 rejects a hooks/hooks.json that carries Claude Code's
function-hook `modules` key ("unknown field `modules`, expected
`description` or `hooks`") and drops that plugin's hooks, printing the
warning on every start (#3688). Only ruflo-adr, ruflo-ddd, ruflo-sparc
and ruflo-swarm had the fix.
Apply the ruflo-swarm pattern to the other 39 plugins whose installed
root declares `modules`: a .codex-plugin/plugin.json (name, description,
version, author, homepage, license, as in the existing four) pointing at
hooks/codex-hooks.json. That file keeps the classic command hooks and
drops only `modules`; ruflo-metaharness keeps its SessionStart secret
bridge, all others get an explicit no-op whose description says the mod
part does not run on this host. ruflo-ai-team and ruflo-x-gateway are
untouched: their marketplace roots (directory/) ship no hooks.
Codex caches plugins by <name>/<version>/, and
audit-plugin-version-bump requires it, so each of the 39 gets a patch
bump, with the smoke.sh pins, ruflo-console's CONSOLE_VERSION, the
protector README and the console/mods/protector changelogs updated.
The swarm-only test is generalized into
tests/plugins/codex-plugin-hook-manifests.test.mjs, which covers every
plugin whose installed root has a `modules` key and now runs in
all-plugins-smoke.yml.
Co-Authored-By: RuFlo <ruv@ruv.net>
* fix(ruflo-metaharness): no SessionStart hook on Codex
The hook writes OPENROUTER_API_KEY through CLAUDE_ENV_FILE, which Codex
does not provide, so on Codex it does nothing. Shipping it would add a
new hook Codex asks the user to review, which stops a phone-started
Codex tab at a review screen.
Co-Authored-By: RuFlo <ruv@ruv.net>
---------
Co-authored-by: r <r@x>
ruflo-graph-intelligence
Graph Intelligence Engine for RuFlo: single-entry personalized PageRank, streaming delta updates and witness-signed reasoning artifacts (ADR-123). Library: npm test, npm run build.
Solver dependency: @ruvnet/sublinear-core ^1.0.0, the zero-dependency core of sublinear-time-solver (solve, pageRank, personalizedPageRank, forwardPush, backwardPush, estimateEntry). The engine's forward-push and CG run in-process (src/infrastructure/solver-bridge.ts) and never imported the old sublinear-time-solver dependency, so swapping it shrank the lockfile from 1,015 to 77 packages without changing results; signed artifacts keep their solverVersion label.
Skills
sublinear-core— personalized PageRank, local forward/backward push and sparse solves with@ruvnet/sublinear-core, and when to useagentdb_graph-pathfinderor the fullsublinear-time-solverinstead.
As a mod (0.2.0-alpha.6)
A function-hook mod ships beside the skills (ADR-445 pattern). Needs a Claude Code with mods (2.1.287+); older builds ignore it. No network, no process spawning: it only tightens calls to this plugin's own tools and reads through tools already connected.
| Piece | Default | What it does |
|---|---|---|
| Write guard | on | Refuses a call to a sublinear/* (sublinear_*) tool whose input holds a key, token or password: graph, node and seed ids land in signed artifacts that federation can copy. |
/graph-mod |
— | status, scan <text>, tools (lists connected graph-intelligence tools); answered locally, no model call. |
| Status file | — | .claude-flow/graph-mod/status.json (version, updatedMs, mode flags and counters); written at session start and when a counter changes. |
Options (userConfig): guard on|off. Refusals never echo the value they matched.
bash plugins/ruflo-graph-intelligence/scripts/smoke.sh # stages the mod and runs claude plugin test (7 tests); the engine's own tests: npm test