Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 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

feat(mods): ruflo-console is a required mod plugin; catalog lists /ruflo

ruv6383a282670c
diff --git a/plugins/ruflo-console/catalog/command-catalog.json b/plugins/ruflo-console/catalog/command-catalog.json
index b1af3c998b..5dd840b3bd 100644
--- a/plugins/ruflo-console/catalog/command-catalog.json
+++ b/plugins/ruflo-console/catalog/command-catalog.json
@@ -11118,6 +11118,132 @@
],
"status": "shipped"
},
+ {
+ "definition": {
+ "argumentsSchema": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "disposition": "view",
+ "id": "ruflo-console/ruflo",
+ "kind": "query",
+ "legacyNames": [],
+ "modNames": [
+ "ruflo"
+ ],
+ "modelVisibility": "same-as-legacy",
+ "ownerPlugin": "ruflo-console",
+ "requiredCapabilities": [],
+ "requiredHostFeatures": [
+ "command.register"
+ ],
+ "revision": 1,
+ "schemaVersion": 1,
+ "source": {
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
+ "path": "plugins/ruflo-console/hooks/register.ts",
+ "repository": "ruvnet/ruflo"
+ },
+ "viewId": "ruflo-console/ruflo"
+ },
+ "divergent": false,
+ "notes": [
+ "registered by a function-hook mod; exists only while that mod is loaded"
+ ],
+ "sources": [
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:ffe068efbc87930a56a025f536e2ab1ae7b88f6f73484603279079e74cd51ccb",
+ "observedInvocation": "/ruflo",
+ "package": "ruflo-console@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-console/hooks/register.ts"
+ },
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:267dec2e2e39444fa3e74090597e744270a4e3895cc9e9cee9a715300c6edb61",
+ "observedInvocation": "/ruflo",
+ "package": "ruflo-mods@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-mods/hooks/register.ts"
+ },
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:5f4ab3f7bd004b10c6b2c9c02db7707d7418833cce3114bb481c6f694f8638d4",
+ "observedInvocation": "/ruflo",
+ "package": "ruflo-swarm@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-swarm/hooks/register.ts"
+ }
+ ],
+ "status": "shipped"
+ },
+ {
+ "definition": {
+ "argumentsSchema": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "disposition": "view",
+ "id": "ruflo-console/ruflo-console",
+ "kind": "query",
+ "legacyNames": [],
+ "modNames": [
+ "ruflo-console"
+ ],
+ "modelVisibility": "same-as-legacy",
+ "ownerPlugin": "ruflo-console",
+ "requiredCapabilities": [],
+ "requiredHostFeatures": [
+ "command.register"
+ ],
+ "revision": 1,
+ "schemaVersion": 1,
+ "source": {
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
+ "path": "plugins/ruflo-console/hooks/register.ts",
+ "repository": "ruvnet/ruflo"
+ },
+ "viewId": "ruflo-console/ruflo-console"
+ },
+ "divergent": false,
+ "notes": [
+ "registered by a function-hook mod; exists only while that mod is loaded"
+ ],
+ "sources": [
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:ffe068efbc87930a56a025f536e2ab1ae7b88f6f73484603279079e74cd51ccb",
+ "observedInvocation": "/ruflo-console",
+ "package": "ruflo-console@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-console/hooks/register.ts"
+ },
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:267dec2e2e39444fa3e74090597e744270a4e3895cc9e9cee9a715300c6edb61",
+ "observedInvocation": "/ruflo-console",
+ "package": "ruflo-mods@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-mods/hooks/register.ts"
+ },
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:5f4ab3f7bd004b10c6b2c9c02db7707d7418833cce3114bb481c6f694f8638d4",
+ "observedInvocation": "/ruflo-console",
+ "package": "ruflo-swarm@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-swarm/hooks/register.ts"
+ }
+ ],
+ "status": "shipped"
+ },
{
"definition": {
"argumentsSchema": {
@@ -11996,7 +12122,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8a1e11f3bde0ba6c3855f23e420eeb6f003c8374",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-mods/hooks/session.ts",
"repository": "ruvnet/ruflo"
},
@@ -12010,7 +12136,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:1e09a065293c6375ba3b3217df30af34c13ac2bb76c45a999481aa0d66d1829d",
+ "digest": "sha256:2ed654965391a2fd6c9f208c094e88bfd8fa6b468d5189da74040e50b9953312",
"observedInvocation": "/ruflo-mods",
"package": "ruflo-mods@ruflo",
"shippedIn": [],
@@ -12716,7 +12842,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8ceed8810b9bbae9596270f5172935ae62edfe5b",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-swarm/hooks/commands.ts",
"repository": "ruvnet/ruflo"
},
@@ -12730,7 +12856,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:881c470446c3b0d20e4930b23001cb20ca2f0689562350546e30737869616234",
+ "digest": "sha256:8c960de3d7e1850ecff9b2fbbc36db68b5f124d8ddb784dc3f3b9d1248a3472d",
"observedInvocation": "/ruflo-swarm-claims",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -12761,7 +12887,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8ceed8810b9bbae9596270f5172935ae62edfe5b",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-swarm/hooks/commands.ts",
"repository": "ruvnet/ruflo"
},
@@ -12775,7 +12901,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:881c470446c3b0d20e4930b23001cb20ca2f0689562350546e30737869616234",
+ "digest": "sha256:8c960de3d7e1850ecff9b2fbbc36db68b5f124d8ddb784dc3f3b9d1248a3472d",
"observedInvocation": "/ruflo-swarm-consensus",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -12806,7 +12932,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8ceed8810b9bbae9596270f5172935ae62edfe5b",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-swarm/hooks/commands.ts",
"repository": "ruvnet/ruflo"
},
@@ -12820,7 +12946,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:881c470446c3b0d20e4930b23001cb20ca2f0689562350546e30737869616234",
+ "digest": "sha256:8c960de3d7e1850ecff9b2fbbc36db68b5f124d8ddb784dc3f3b9d1248a3472d",
"observedInvocation": "/ruflo-swarm-pane",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -12851,7 +12977,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8ceed8810b9bbae9596270f5172935ae62edfe5b",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-swarm/hooks/commands.ts",
"repository": "ruvnet/ruflo"
},
@@ -12865,7 +12991,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:881c470446c3b0d20e4930b23001cb20ca2f0689562350546e30737869616234",
+ "digest": "sha256:8c960de3d7e1850ecff9b2fbbc36db68b5f124d8ddb784dc3f3b9d1248a3472d",
"observedInvocation": "/ruflo-swarm-status",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -12896,7 +13022,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8ceed8810b9bbae9596270f5172935ae62edfe5b",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-swarm/hooks/commands.ts",
"repository": "ruvnet/ruflo"
},
@@ -12910,7 +13036,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:881c470446c3b0d20e4930b23001cb20ca2f0689562350546e30737869616234",
+ "digest": "sha256:8c960de3d7e1850ecff9b2fbbc36db68b5f124d8ddb784dc3f3b9d1248a3472d",
"observedInvocation": "/ruflo-swarm-topology",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -13011,7 +13137,7 @@
{
"binding": "mod-middleware-on-markdown",
"channel": "mod-registration",
- "digest": "sha256:2a743e04846e61d9bce6c9a39c266a8e44977c055d590b53697b950cc21f5bf1",
+ "digest": "sha256:5f4ab3f7bd004b10c6b2c9c02db7707d7418833cce3114bb481c6f694f8638d4",
"observedInvocation": "/ruflo-swarm:watch",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -13433,6 +13559,6 @@
"status": "shipped"
}
],
- "sourceCommit": "8a1e11f3bde0ba6c3855f23e420eeb6f003c8374",
- "sourceDigest": "sha256:a21f24c53c5620e6f9f4f630fd58358c307ac5526eda503787fb19748671e5f8"
+ "sourceCommit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
+ "sourceDigest": "sha256:220a22890159ac6079ed8bfe5a8e6c8d3323ba6eac5f45773810b6a18c54acdb"
}
diff --git a/v3/@claude-flow/cli/__tests__/mods/command-registry.test.ts b/v3/@claude-flow/cli/__tests__/mods/command-registry.test.ts
index 87c182922e..a75b91215b 100644
--- a/v3/@claude-flow/cli/__tests__/mods/command-registry.test.ts
+++ b/v3/@claude-flow/cli/__tests__/mods/command-registry.test.ts
@@ -187,6 +187,14 @@ describe('engine validate parsing', () => {
expect(v).toMatchObject({ passed: true, commandHooks: ['ruflo-mods'], hostCalls: ['command.register', 'fs.read', 'prompt.fill'] });
expect(parseValidateOutput('x', 1, 'error').passed).toBe(false);
});
+
+ it('splits an alternation matcher into its names and drops a dynamic (?) matcher', () => {
+ const text = ' ❯ ./register.ts hooks: command.run{command=?}, command.run{command=ruflo|ruflo-console}, command.run{command=ruflo-swarm:watch}';
+ const v = parseValidateOutput('ruflo-swarm', 0, text);
+ expect(v.commandHooks).toEqual(['ruflo', 'ruflo-console', 'ruflo-swarm:watch']);
+ expect(v.dynamicCommandHook).toBe(true);
+ expect(parseValidateOutput('x', 0, ' ❯ ./a.ts hooks: command.run{command=x}').dynamicCommandHook).toBeUndefined();
+ });
});
describe('repository gates', () => {
diff --git a/v3/@claude-flow/cli/__tests__/mods/mods-commands.test.ts b/v3/@claude-flow/cli/__tests__/mods/mods-commands.test.ts
index a1dee0bd0b..badbee53d2 100644
--- a/v3/@claude-flow/cli/__tests__/mods/mods-commands.test.ts
+++ b/v3/@claude-flow/cli/__tests__/mods/mods-commands.test.ts
@@ -42,7 +42,7 @@ const status = (all: Finding[], name: string) => all.find((f) => f.name === name
/**
* A stand-in claude. `marketplace add|update` leaves a clone carrying
- * ruflo-mods and ruflo-swarm (not ruflo-console: pending), or, with
+ * ruflo-mods, ruflo-swarm and ruflo-console, or, with
* mode 'stale', a clone without any of them; `install <id>` records it the
* way Claude Code does. Every argv is logged.
*/
@@ -60,7 +60,7 @@ if (argv[1] === 'marketplace' && argv[3] && argv[3].startsWith('/')) {
} else if (argv[1] === 'marketplace') {
const clone = path.join(cfg, 'marketplaces', 'ruflo');
fs.mkdirSync(path.join(clone, 'plugins'), { recursive: true });
- if (${JSON.stringify(mode)} === 'ok') for (const p of ['ruflo-mods', 'ruflo-swarm']) {
+ if (${JSON.stringify(mode)} === 'ok') for (const p of ['ruflo-mods', 'ruflo-swarm', 'ruflo-console']) {
fs.mkdirSync(path.join(clone, 'plugins', p, '.claude-plugin'), { recursive: true });
fs.writeFileSync(path.join(clone, 'plugins', p, '.claude-plugin', 'plugin.json'), '{}');
}
@@ -100,7 +100,7 @@ describe('ADR-404 ruflo mods install (standalone)', () => {
expect(read(join(root, '.claude', 'settings.local.json'))).toEqual({});
});
- it('adds the marketplace at the scope, installs every plugin the clone carries, reports ruflo-console pending', async () => {
+ it('adds the marketplace at the scope, installs every mod plugin the clone carries', async () => {
fakeClaude('ok');
const r = await sub(modsCommand, 'install').action!(ctx());
expect(r).toMatchObject({ success: true, data: { resolvable: true } });
@@ -108,14 +108,15 @@ describe('ADR-404 ruflo mods install (standalone)', () => {
'plugin marketplace add ruvnet/ruflo --scope local',
'plugin install ruflo-mods@ruflo --scope local',
'plugin install ruflo-swarm@ruflo --scope local',
+ 'plugin install ruflo-console@ruflo --scope local',
]);
const all = await findings();
expect(status(all, 'plugin ruflo-mods@ruflo')).toBe('pass');
expect(status(all, 'plugin ruflo-swarm@ruflo')).toBe('pass');
- expect(all.find((f) => f.name === 'plugin ruflo-console@ruflo')).toMatchObject({ status: 'warn', message: expect.stringContaining('pending') });
+ expect(status(all, 'plugin ruflo-console@ruflo')).toBe('pass');
// A re-run: the marketplace is known now, so it is updated, not re-added.
await sub(modsCommand, 'install').action!(ctx());
- expect(calls()[3]).toBe('plugin marketplace update ruflo');
+ expect(calls()[4]).toBe('plugin marketplace update ruflo');
});
it('the reported bug: a stale clone fails doctor; install refreshes it and doctor passes', async () => {
@@ -153,10 +154,10 @@ describe('ADR-404 mods uninstall: claude plugin uninstall exactly what ruflo ins
mkdirSync(join(cfg, 'cache', 'pre'), { recursive: true });
writeFileSync(join(cfg, 'installed_plugins.json'), JSON.stringify({ version: 2, plugins: { 'ruflo-swarm@ruflo': [{ scope: 'local', installPath: join(cfg, 'cache', 'pre'), projectPath: root }] } }));
await sub(modsCommand, 'install').action!(ctx());
- expect(read(join(root, '.claude-flow', 'mods', 'install.json')).files[join(root, '.claude', 'settings.local.json')].claudeInstalled).toEqual(['ruflo-mods@ruflo']);
+ expect(read(join(root, '.claude-flow', 'mods', 'install.json')).files[join(root, '.claude', 'settings.local.json')].claudeInstalled).toEqual(['ruflo-mods@ruflo', 'ruflo-console@ruflo']);
const r = await sub(modsCommand, 'uninstall').action!(ctx());
expect(r.success).toBe(true);
- expect(calls().filter((c) => c.includes(' uninstall '))).toEqual(['plugin uninstall ruflo-mods@ruflo --scope local']);
+ expect(calls().filter((c) => c.includes(' uninstall '))).toEqual(['plugin uninstall ruflo-mods@ruflo --scope local', 'plugin uninstall ruflo-console@ruflo --scope local']);
expect(Object.keys(read(join(cfg, 'installed_plugins.json')).plugins)).toEqual(['ruflo-swarm@ruflo']);
expect(read(join(root, '.claude', 'settings.local.json'))).toEqual({});
});
@@ -165,7 +166,7 @@ describe('ADR-404 mods uninstall: claude plugin uninstall exactly what ruflo ins
describe('ADR-404 mods install --source local (dogfooding)', () => {
const checkout = () => {
const dir = join(home, 'ruflo-checkout');
- for (const p of ['ruflo-mods', 'ruflo-swarm']) {
+ for (const p of ['ruflo-mods', 'ruflo-swarm', 'ruflo-console']) {
mkdirSync(join(dir, 'plugins', p, '.claude-plugin'), { recursive: true });
writeFileSync(join(dir, 'plugins', p, '.claude-plugin', 'plugin.json'), '{}');
}
diff --git a/v3/@claude-flow/cli/__tests__/mods/mods-plugin-resolve.test.ts b/v3/@claude-flow/cli/__tests__/mods/mods-plugin-resolve.test.ts
index a70770cc82..bcbb4db359 100644
--- a/v3/@claude-flow/cli/__tests__/mods/mods-plugin-resolve.test.ts
+++ b/v3/@claude-flow/cli/__tests__/mods/mods-plugin-resolve.test.ts
@@ -37,7 +37,7 @@ function fakeFs(files: Record<string, unknown>, dirs: string[] = []): ReadFs {
}
const known = { [join(CFG, 'plugins', 'known_marketplaces.json')]: { ruflo: { source: { source: 'github', repo: 'ruvnet/ruflo' }, installLocation: CLONE } } };
-const fresh = { [manifest('ruflo-mods')]: '{}', [manifest('ruflo-swarm')]: '{}' };
+const fresh = { [manifest('ruflo-mods')]: '{}', [manifest('ruflo-swarm')]: '{}', [manifest('ruflo-console')]: '{}' };
const staleOnlySwarm = { [manifest('ruflo-swarm')]: '{}' };
const installedHere = (entry: Record<string, unknown> = {}) => ({
[join(CFG, 'plugins', 'installed_plugins.json')]: { version: 2, plugins: { 'ruflo-mods@ruflo': [{ scope: 'local', installPath: CACHE, projectPath: ROOT, ...entry }] } },
@@ -81,14 +81,15 @@ describe('ADR-404 plugin resolution: findings', () => {
it('the reported bug: a stale clone and no cached install FAILS with the exact commands', () => {
const f = byName(resolveFindings(ROOT, 'local', CFG, fakeFs({ ...known, ...staleOnlySwarm }, [CLONE])));
expect(f['plugin ruflo-mods@ruflo']).toMatchObject({ status: 'fail', message: expect.stringContaining('/ruflo-mods is an unknown command') });
- expect(f['plugin ruflo-mods@ruflo']!.fix).toBe(`cd "${ROOT}" && claude plugin marketplace update ruflo && claude plugin install ruflo-mods@ruflo --scope local && claude plugin install ruflo-swarm@ruflo --scope local`);
+ expect(f['plugin ruflo-mods@ruflo']!.fix).toBe(`cd "${ROOT}" && claude plugin marketplace update ruflo && claude plugin install ruflo-mods@ruflo --scope local && claude plugin install ruflo-swarm@ruflo --scope local && claude plugin install ruflo-console@ruflo --scope local`);
expect(f['plugin ruflo-swarm@ruflo']!.status).toBe('pass');
});
- it('a plugin not yet in the marketplace is pending (warn), never a failure', () => {
- const f = byName(resolveFindings(ROOT, 'project', CFG, fakeFs({ ...known, ...fresh }, [CLONE])));
- expect(f['plugin ruflo-console@ruflo']).toMatchObject({ status: 'warn', message: expect.stringContaining('pending') });
- expect(MOD_PLUGINS.find((p) => p.id === 'ruflo-console@ruflo')!.required).toBe(false);
+ it('ruflo-console is required: a clone without it is stale (fail), never pending', () => {
+ expect(MOD_PLUGINS.find((p) => p.id === 'ruflo-console@ruflo')!.required).toBe(true);
+ const f = byName(resolveFindings(ROOT, 'project', CFG, fakeFs({ ...known, [manifest('ruflo-mods')]: '{}', [manifest('ruflo-swarm')]: '{}' }, [CLONE])));
+ expect(f['plugin ruflo-console@ruflo']).toMatchObject({ status: 'fail' });
+ expect(f['plugin ruflo-console@ruflo']!.message).not.toContain('pending');
});
it('no clone yet: warn (Claude Code clones it at its next interactive start); the fix adds it at the same scope', () => {
@@ -113,10 +114,10 @@ describe('ADR-404 plugin resolution: findings', () => {
expect(Object.keys(f)).toEqual(['ruflo marketplace', 'plugin ruflo-mods@ruflo']);
});
- it('repairCommands quotes the project root and installs only required plugins', () => {
+ it('repairCommands quotes the project root and installs every required plugin', () => {
const cmds = repairCommands('/a b/c', 'local', true);
expect(cmds[0]).toBe('cd "/a b/c"');
- expect(cmds.join('\n')).not.toContain('ruflo-console');
+ expect(cmds.join('\n')).toContain('claude plugin install ruflo-console@ruflo --scope local');
});
});
@@ -156,7 +157,7 @@ describe('ADR-404 repair', () => {
return { exec, calls, fs };
};
- it('adds the unknown marketplace at the scope, then installs what the clone carries; ruflo-console is pending', async () => {
+ it('adds the unknown marketplace at the scope, then installs every mod plugin the clone carries', async () => {
const { exec, calls, fs } = harness([], { ...known, ...fresh });
const r = await repairPluginInstall({ projectRoot: ROOT, scope: 'project', configDir: CFG, claude: '/bin/claude', exec, env: {}, fs });
expect(r.ok).toBe(true);
@@ -164,8 +165,8 @@ describe('ADR-404 repair', () => {
['plugin marketplace add ruvnet/ruflo --scope project', ROOT, MARKETPLACE_TIMEOUT_MS],
['plugin install ruflo-mods@ruflo --scope project', ROOT, INSTALL_TIMEOUT_MS],
['plugin install ruflo-swarm@ruflo --scope project', ROOT, INSTALL_TIMEOUT_MS],
+ ['plugin install ruflo-console@ruflo --scope project', ROOT, INSTALL_TIMEOUT_MS],
]);
- expect(r.steps.at(-1)).toMatchObject({ state: 'pending', argv: ['plugin', 'install', 'ruflo-console@ruflo', '--scope', 'project'] });
expect(calls.flatMap((c) => c.args)).not.toContain('-y');
});
@@ -184,7 +185,7 @@ describe('ADR-404 repair', () => {
const second = harness([0, 1, 0], { ...known, ...fresh });
const collected = await repairPluginInstall({ projectRoot: ROOT, scope: 'local', configDir: CFG, claude: '/bin/claude', exec: second.exec, env: {}, fs: second.fs });
expect(collected.ok).toBe(false);
- expect(second.calls).toHaveLength(3);
+ expect(second.calls).toHaveLength(4);
});
it('an exec that throws is a failed step, not a crash', async () => {
diff --git a/v3/@claude-flow/cli/scripts/e2e-mods-init.sh b/v3/@claude-flow/cli/scripts/e2e-mods-init.sh
index 0ccae9e433..426cfe3c7d 100755
--- a/v3/@claude-flow/cli/scripts/e2e-mods-init.sh
+++ b/v3/@claude-flow/cli/scripts/e2e-mods-init.sh
@@ -80,14 +80,14 @@ check "settings.json declares extraKnownMarketplaces.ruflo" "js \"s.extraKnownMa
check "settings.json sets CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1" "js \"s.env?.CLAUDE_CODE_ENABLE_FUNCTION_HOOKS === '1'\""
check "classic hooks still written" "js \"JSON.stringify(s.hooks ?? {}).includes('hook-handler.cjs')\""
check "init ran marketplace add at project scope" "grep -q 'βœ“ claude plugin marketplace add ruvnet/ruflo --scope project' '$W/init.log'"
-check "init installed ruflo-mods and ruflo-swarm" "grep -q 'βœ“ claude plugin install ruflo-mods@ruflo --scope project' '$W/init.log' && grep -q 'βœ“ claude plugin install ruflo-swarm@ruflo --scope project' '$W/init.log'"
-check "init reports ruflo-console pending" "grep -q 'ruflo-console@ruflo --scope project (pending' '$W/init.log'"
+check "init installed ruflo-mods, ruflo-swarm and ruflo-console" "grep -q 'βœ“ claude plugin install ruflo-mods@ruflo --scope project' '$W/init.log' && grep -q 'βœ“ claude plugin install ruflo-swarm@ruflo --scope project' '$W/init.log' && grep -q 'βœ“ claude plugin install ruflo-console@ruflo --scope project' '$W/init.log'"
check "init states what loads and the rollout-switch fallback" "grep -q 'rollout switch off, they do nothing and the classic hooks keep every event' '$W/init.log'"
cc plugin list --json > "$W/plugin-list.json" 2>/dev/null
check "claude plugin list: ruflo-mods@ruflo installed and enabled" "js \"has('ruflo-mods@ruflo')\""
check "claude plugin list: ruflo-swarm@ruflo installed and enabled" "js \"has('ruflo-swarm@ruflo')\""
+check "claude plugin list: ruflo-console@ruflo installed and enabled" "js \"has('ruflo-console@ruflo')\""
ruflo mods status --json > "$W/status.json" 2>/dev/null
-check "mods status: ruflo-console reported pending" "grep -A3 'plugin ruflo-console@ruflo' '$W/status.json' | grep -q pending"
+check "mods status: ruflo-console loads (not pending)" "! grep -A3 'plugin ruflo-console@ruflo' '$W/status.json' | grep -q pending"
ruflo mods doctor > "$W/doctor.log" 2>&1; rc=$?
check "mods doctor exits 0" "[[ $rc -eq 0 ]]"
FRESH_W="$W"
diff --git a/v3/@claude-flow/cli/src/commands/mods.ts b/v3/@claude-flow/cli/src/commands/mods.ts
index 21bca84c40..05d6e6423c 100644
--- a/v3/@claude-flow/cli/src/commands/mods.ts
+++ b/v3/@claude-flow/cli/src/commands/mods.ts
@@ -86,7 +86,7 @@ const installSub: Command = {
pluginInstall: ctx.flags.pluginInstall !== false && ctx.flags['plugin-install'] !== false,
});
if (result.install.dryRun) return { success: true, data: result };
- if (result.resolvable) output.writeln('Restart Claude Code, then run /ruflo-mods in a session to see what the mod owns. Check with: ruflo mods doctor');
+ if (result.resolvable) output.writeln('Restart Claude Code, then run /ruflo in a session to open the console (/ruflo mods shows what the mod owns). Check with: ruflo mods doctor');
const data = { ...result.install, resolvable: result.resolvable };
return result.resolvable || ctx.flags.strict !== true ? { success: true, data } : { success: false, exitCode: 1, data };
},
diff --git a/v3/@claude-flow/cli/src/mods/command-registry/catalog.generated.json b/v3/@claude-flow/cli/src/mods/command-registry/catalog.generated.json
index b1af3c998b..5dd840b3bd 100644
--- a/v3/@claude-flow/cli/src/mods/command-registry/catalog.generated.json
+++ b/v3/@claude-flow/cli/src/mods/command-registry/catalog.generated.json
@@ -11118,6 +11118,132 @@
],
"status": "shipped"
},
+ {
+ "definition": {
+ "argumentsSchema": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "disposition": "view",
+ "id": "ruflo-console/ruflo",
+ "kind": "query",
+ "legacyNames": [],
+ "modNames": [
+ "ruflo"
+ ],
+ "modelVisibility": "same-as-legacy",
+ "ownerPlugin": "ruflo-console",
+ "requiredCapabilities": [],
+ "requiredHostFeatures": [
+ "command.register"
+ ],
+ "revision": 1,
+ "schemaVersion": 1,
+ "source": {
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
+ "path": "plugins/ruflo-console/hooks/register.ts",
+ "repository": "ruvnet/ruflo"
+ },
+ "viewId": "ruflo-console/ruflo"
+ },
+ "divergent": false,
+ "notes": [
+ "registered by a function-hook mod; exists only while that mod is loaded"
+ ],
+ "sources": [
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:ffe068efbc87930a56a025f536e2ab1ae7b88f6f73484603279079e74cd51ccb",
+ "observedInvocation": "/ruflo",
+ "package": "ruflo-console@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-console/hooks/register.ts"
+ },
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:267dec2e2e39444fa3e74090597e744270a4e3895cc9e9cee9a715300c6edb61",
+ "observedInvocation": "/ruflo",
+ "package": "ruflo-mods@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-mods/hooks/register.ts"
+ },
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:5f4ab3f7bd004b10c6b2c9c02db7707d7418833cce3114bb481c6f694f8638d4",
+ "observedInvocation": "/ruflo",
+ "package": "ruflo-swarm@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-swarm/hooks/register.ts"
+ }
+ ],
+ "status": "shipped"
+ },
+ {
+ "definition": {
+ "argumentsSchema": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "disposition": "view",
+ "id": "ruflo-console/ruflo-console",
+ "kind": "query",
+ "legacyNames": [],
+ "modNames": [
+ "ruflo-console"
+ ],
+ "modelVisibility": "same-as-legacy",
+ "ownerPlugin": "ruflo-console",
+ "requiredCapabilities": [],
+ "requiredHostFeatures": [
+ "command.register"
+ ],
+ "revision": 1,
+ "schemaVersion": 1,
+ "source": {
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
+ "path": "plugins/ruflo-console/hooks/register.ts",
+ "repository": "ruvnet/ruflo"
+ },
+ "viewId": "ruflo-console/ruflo-console"
+ },
+ "divergent": false,
+ "notes": [
+ "registered by a function-hook mod; exists only while that mod is loaded"
+ ],
+ "sources": [
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:ffe068efbc87930a56a025f536e2ab1ae7b88f6f73484603279079e74cd51ccb",
+ "observedInvocation": "/ruflo-console",
+ "package": "ruflo-console@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-console/hooks/register.ts"
+ },
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:267dec2e2e39444fa3e74090597e744270a4e3895cc9e9cee9a715300c6edb61",
+ "observedInvocation": "/ruflo-console",
+ "package": "ruflo-mods@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-mods/hooks/register.ts"
+ },
+ {
+ "binding": "mod-register",
+ "channel": "mod-registration",
+ "digest": "sha256:5f4ab3f7bd004b10c6b2c9c02db7707d7418833cce3114bb481c6f694f8638d4",
+ "observedInvocation": "/ruflo-console",
+ "package": "ruflo-swarm@ruflo",
+ "shippedIn": [],
+ "sourcePath": "plugins/ruflo-swarm/hooks/register.ts"
+ }
+ ],
+ "status": "shipped"
+ },
{
"definition": {
"argumentsSchema": {
@@ -11996,7 +12122,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8a1e11f3bde0ba6c3855f23e420eeb6f003c8374",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-mods/hooks/session.ts",
"repository": "ruvnet/ruflo"
},
@@ -12010,7 +12136,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:1e09a065293c6375ba3b3217df30af34c13ac2bb76c45a999481aa0d66d1829d",
+ "digest": "sha256:2ed654965391a2fd6c9f208c094e88bfd8fa6b468d5189da74040e50b9953312",
"observedInvocation": "/ruflo-mods",
"package": "ruflo-mods@ruflo",
"shippedIn": [],
@@ -12716,7 +12842,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8ceed8810b9bbae9596270f5172935ae62edfe5b",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-swarm/hooks/commands.ts",
"repository": "ruvnet/ruflo"
},
@@ -12730,7 +12856,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:881c470446c3b0d20e4930b23001cb20ca2f0689562350546e30737869616234",
+ "digest": "sha256:8c960de3d7e1850ecff9b2fbbc36db68b5f124d8ddb784dc3f3b9d1248a3472d",
"observedInvocation": "/ruflo-swarm-claims",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -12761,7 +12887,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8ceed8810b9bbae9596270f5172935ae62edfe5b",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-swarm/hooks/commands.ts",
"repository": "ruvnet/ruflo"
},
@@ -12775,7 +12901,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:881c470446c3b0d20e4930b23001cb20ca2f0689562350546e30737869616234",
+ "digest": "sha256:8c960de3d7e1850ecff9b2fbbc36db68b5f124d8ddb784dc3f3b9d1248a3472d",
"observedInvocation": "/ruflo-swarm-consensus",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -12806,7 +12932,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8ceed8810b9bbae9596270f5172935ae62edfe5b",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-swarm/hooks/commands.ts",
"repository": "ruvnet/ruflo"
},
@@ -12820,7 +12946,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:881c470446c3b0d20e4930b23001cb20ca2f0689562350546e30737869616234",
+ "digest": "sha256:8c960de3d7e1850ecff9b2fbbc36db68b5f124d8ddb784dc3f3b9d1248a3472d",
"observedInvocation": "/ruflo-swarm-pane",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -12851,7 +12977,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8ceed8810b9bbae9596270f5172935ae62edfe5b",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-swarm/hooks/commands.ts",
"repository": "ruvnet/ruflo"
},
@@ -12865,7 +12991,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:881c470446c3b0d20e4930b23001cb20ca2f0689562350546e30737869616234",
+ "digest": "sha256:8c960de3d7e1850ecff9b2fbbc36db68b5f124d8ddb784dc3f3b9d1248a3472d",
"observedInvocation": "/ruflo-swarm-status",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -12896,7 +13022,7 @@
"revision": 1,
"schemaVersion": 1,
"source": {
- "commit": "8ceed8810b9bbae9596270f5172935ae62edfe5b",
+ "commit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
"path": "plugins/ruflo-swarm/hooks/commands.ts",
"repository": "ruvnet/ruflo"
},
@@ -12910,7 +13036,7 @@
{
"binding": "mod-register",
"channel": "mod-registration",
- "digest": "sha256:881c470446c3b0d20e4930b23001cb20ca2f0689562350546e30737869616234",
+ "digest": "sha256:8c960de3d7e1850ecff9b2fbbc36db68b5f124d8ddb784dc3f3b9d1248a3472d",
"observedInvocation": "/ruflo-swarm-topology",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -13011,7 +13137,7 @@
{
"binding": "mod-middleware-on-markdown",
"channel": "mod-registration",
- "digest": "sha256:2a743e04846e61d9bce6c9a39c266a8e44977c055d590b53697b950cc21f5bf1",
+ "digest": "sha256:5f4ab3f7bd004b10c6b2c9c02db7707d7418833cce3114bb481c6f694f8638d4",
"observedInvocation": "/ruflo-swarm:watch",
"package": "ruflo-swarm@ruflo",
"shippedIn": [],
@@ -13433,6 +13559,6 @@
"status": "shipped"
}
],
- "sourceCommit": "8a1e11f3bde0ba6c3855f23e420eeb6f003c8374",
- "sourceDigest": "sha256:a21f24c53c5620e6f9f4f630fd58358c307ac5526eda503787fb19748671e5f8"
+ "sourceCommit": "5194355c2a1e1066b674f9a76d5d74f9e1fd0aec",
+ "sourceDigest": "sha256:220a22890159ac6079ed8bfe5a8e6c8d3323ba6eac5f45773810b6a18c54acdb"
}
diff --git a/v3/@claude-flow/cli/src/mods/command-registry/engine-report.generated.json b/v3/@claude-flow/cli/src/mods/command-registry/engine-report.generated.json
index d012b623a8..0a5502bb89 100644
--- a/v3/@claude-flow/cli/src/mods/command-registry/engine-report.generated.json
+++ b/v3/@claude-flow/cli/src/mods/command-registry/engine-report.generated.json
@@ -7,8 +7,8 @@
{
"builtin": false,
"name": "ruflo",
- "repoCommand": false,
- "verdict": "free"
+ "repoCommand": true,
+ "verdict": "taken"
},
{
"builtin": false,
@@ -19,8 +19,8 @@
{
"builtin": false,
"name": "ruflo-console",
- "repoCommand": false,
- "verdict": "free"
+ "repoCommand": true,
+ "verdict": "taken"
}
],
"engine": {
@@ -37,6 +37,40 @@
"validations": [
{
"commandHooks": [
+ "ruflo",
+ "ruflo-console"
+ ],
+ "hostCalls": [
+ "clock.after",
+ "clock.every",
+ "command.register",
+ "env.get",
+ "fs.list",
+ "fs.read",
+ "fs.stat",
+ "process.run",
+ "ruflo.lastRoute",
+ "ruflo.segment",
+ "ruflo.snapshot",
+ "session.usage",
+ "settings.read",
+ "store.get",
+ "store.set",
+ "tool.list",
+ "ui.blit",
+ "ui.close",
+ "ui.invalidate",
+ "ui.open",
+ "ui.panes",
+ "ui.resolve"
+ ],
+ "passed": true,
+ "plugin": "ruflo-console"
+ },
+ {
+ "commandHooks": [
+ "ruflo",
+ "ruflo-console",
"ruflo-mods"
],
"hostCalls": [
@@ -69,13 +103,11 @@
},
{
"commandHooks": [
- "ruflo-swarm-claims",
- "ruflo-swarm-consensus",
- "ruflo-swarm-pane",
- "ruflo-swarm-status",
- "ruflo-swarm-topology",
+ "ruflo",
+ "ruflo-console",
"ruflo-swarm:watch"
],
+ "dynamicCommandHook": true,
"hostCalls": [
"agent.list",
"clock.after",
@@ -101,6 +133,10 @@
}
],
"vendoredTypes": [
+ {
+ "path": "plugins/ruflo-console/types/index.d.ts",
+ "sha256": "eecfa69c120ee84b99455fa46bf5f75a9ed5345ae33c5404ad6bf8a14aa230f7"
+ },
{
"path": "plugins/ruflo-mods/types/index.d.ts",
"sha256": "91ea45bc0d650c56bd9274299220fd83c47136d47759eeca81ecce33a1c68149"
diff --git a/v3/@claude-flow/cli/src/mods/command-registry/engine-report.ts b/v3/@claude-flow/cli/src/mods/command-registry/engine-report.ts
index 0d600a827a..ee6e14b120 100644
--- a/v3/@claude-flow/cli/src/mods/command-registry/engine-report.ts
+++ b/v3/@claude-flow/cli/src/mods/command-registry/engine-report.ts
@@ -19,6 +19,8 @@ export interface PluginValidation {
readonly passed: boolean | 'unknown';
readonly commandHooks: readonly string[];
readonly hostCalls: readonly string[];
+ /** A `command.run{command=?}` matcher: names chosen at run time, which only the source scan can list. */
+ readonly dynamicCommandHook?: true;
readonly reason?: string;
}
@@ -40,10 +42,14 @@ export function parseValidateOutput(plugin: string, status: number | null, text:
const lines = text.split('\n');
const hooksText = lines.filter((l) => /\.(?:ts|js) hooks:\s/.test(l)).join('\n');
const callsText = lines.filter((l) => /\.(?:ts|js) calls:\s/.test(l)).join('\n');
- const commandHooks = [...new Set([...hooksText.matchAll(/command\.run\{command=([^}]+)\}/g)].map((m) => m[1]))].sort();
+ // `command=a|b` is one matcher on two names; `command=?` is computed at run time, so it names nothing.
+ const commandHooks = [...new Set([...hooksText.matchAll(/command\.run\{command=([^}]+)\}/g)]
+ .flatMap((m) => m[1].split('|'))
+ .filter((name) => name !== '?'))].sort();
+ const dynamicCommandHook = /command\.run\{command=\?\}/.test(hooksText);
const hostCalls = [...new Set([...callsText.matchAll(/\$\.([a-zA-Z]+\.[a-zA-Z]+)/g)].map((m) => m[1]))].sort();
const passed = /Validation passed/.test(text) && status === 0;
- return { plugin, passed, commandHooks, hostCalls, ...(passed ? {} : { reason: text.trim().split('\n').slice(-3).join(' | ').slice(0, 300) }) };
+ return { plugin, passed, commandHooks, hostCalls, ...(dynamicCommandHook ? { dynamicCommandHook: true as const } : {}), ...(passed ? {} : { reason: text.trim().split('\n').slice(-3).join(' | ').slice(0, 300) }) };
}
function sha256File(path: string): string {
diff --git a/v3/@claude-flow/cli/src/mods/command-registry/generate.ts b/v3/@claude-flow/cli/src/mods/command-registry/generate.ts
index af1f23dba0..ec5570cbdb 100644
--- a/v3/@claude-flow/cli/src/mods/command-registry/generate.ts
+++ b/v3/@claude-flow/cli/src/mods/command-registry/generate.ts
@@ -128,6 +128,11 @@ export function generate(input: GenerateInput): GenerateResult {
// whether or not an engine was available to confirm it.
const engineHooks: ModCommandHook[] = hooksFromValidations(engine.validations)
.map((h) => sourceHooks.find((s) => s.plugin === h.plugin && s.command === h.command) ?? h);
+ // A plugin whose matcher the engine reports as `?` names its commands only in source: keep those.
+ const dynamicPlugins = new Set(engine.validations.filter((v) => v.dynamicCommandHook).map((v) => v.plugin));
+ for (const s of sourceHooks) {
+ if (dynamicPlugins.has(s.plugin) && !engineHooks.some((h) => h.plugin === s.plugin && h.command === s.command)) engineHooks.push(s);
+ }
const useEngine = engine.validations.length > 0 && engine.validations.every((v) => v.passed === true);
const inventory = collectInventory({
repoRoot: input.repoRoot,
diff --git a/v3/@claude-flow/cli/src/mods/command-registry/inventory.ts b/v3/@claude-flow/cli/src/mods/command-registry/inventory.ts
index 72e2e1f15b..396d36ef2f 100644
--- a/v3/@claude-flow/cli/src/mods/command-registry/inventory.ts
+++ b/v3/@claude-flow/cli/src/mods/command-registry/inventory.ts
@@ -230,7 +230,7 @@ export function scanModHooksFromSource(repoRoot: string): ModCommandHook[] {
const text = readFileSync(full, 'utf8');
const seen = new Set<string>();
for (const m of text.matchAll(/command\.run'\s*,\s*\{\s*command:\s*'([a-z0-9._:-]+)'/gi)) seen.add(m[1]);
- for (const m of text.matchAll(/\.register\(\{\s*name:\s*'([a-z0-9._:-]+)'/gi)) seen.add(m[1]);
+ for (const m of text.matchAll(/\.register(?:Command)?\(\{\s*name:\s*'([a-z0-9._:-]+)'/gi)) seen.add(m[1]);
for (const m of text.matchAll(/\{\s*name:\s*'(ruflo-[a-z0-9-]+)'\s*,\s*description:/gi)) seen.add(m[1]);
for (const command of [...seen].sort()) {
hooks.push({ plugin, command, sourcePath: toPosix(relative(repoRoot, full)) });
diff --git a/v3/@claude-flow/cli/src/mods/install.ts b/v3/@claude-flow/cli/src/mods/install.ts
index d9adc5b7fb..a22b8ecf9a 100644
--- a/v3/@claude-flow/cli/src/mods/install.ts
+++ b/v3/@claude-flow/cli/src/mods/install.ts
@@ -43,7 +43,7 @@ export interface ModPlugin {
export const MOD_PLUGINS: readonly ModPlugin[] = [
{ id: MOD_PLUGIN_ID, required: true },
{ id: 'ruflo-swarm@ruflo', required: true },
- { id: 'ruflo-console@ruflo', required: false }, // pending: feat/ruflo-console-mod
+ { id: 'ruflo-console@ruflo', required: true },
];
export const MOD_PLUGIN_IDS: readonly string[] = MOD_PLUGINS.map((p) => p.id);
diff --git a/v3/docs/adr/ADR-404-claude-code-mods-function-hooks.md b/v3/docs/adr/ADR-404-claude-code-mods-function-hooks.md
index 3172dc72c6..17ede6c203 100644
--- a/v3/docs/adr/ADR-404-claude-code-mods-function-hooks.md
+++ b/v3/docs/adr/ADR-404-claude-code-mods-function-hooks.md
@@ -264,7 +264,7 @@ Status: Proposed. This amends "A separate, opt-in plugin" above. The plugin stay
- The directory must hold the `ruflo` `.claude-plugin/marketplace.json`.
- Doctor reports the source type, and warns when a project declares one source while Claude Code knows `ruflo` by another.
- Claude Code keeps one `ruflo` marketplace per config dir, so the switch applies machine-wide. Install says so and prints how to switch back.
-- **Adding a plugin.** `MOD_PLUGINS` is the one list to edit. `required: false` marks a plugin that is not yet released on main (ruflo-console today). If such a plugin is missing from the marketplace, it is reported as "pending" and never fails a check.
+- **Adding a plugin.** `MOD_PLUGINS` is the one list to edit. `required: false` marks a plugin that is not yet released on main (none today; ruflo-console was until it shipped in 3.51.0). If such a plugin is missing from the marketplace, it is reported as "pending" and never fails a check.
### Why default-on is safe, and where that argument stops