🌊 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
fix(ruflo-protector): status.json carries version 1 and the *Ms times the Mods scan needs; the console maps the plugin to Security & Doctor
ruvda60cdfb3a56
diff --git a/plugins/ruflo-console/hooks/plugin-map.ts b/plugins/ruflo-console/hooks/plugin-map.tsindex c0e953c876..eb23f12158 100644--- a/plugins/ruflo-console/hooks/plugin-map.ts+++ b/plugins/ruflo-console/hooks/plugin-map.ts@@ -52,6 +52,7 @@ export const PLUGIN_MAP: Readonly<Record<string, PluginHome>> = {'ruflo-ruvector': home('vector'),'ruflo-ruvllm': home('neural'),'ruflo-rvf': home('sandbox'),+ 'ruflo-protector': home('secure'),'ruflo-security-audit': home('secure'),'ruflo-sparc': home('missions'),'ruflo-swarm': home('swarm'),diff --git a/plugins/ruflo-console/tests/plugin-coverage.spec.ts b/plugins/ruflo-console/tests/plugin-coverage.spec.tsindex a8f3d8cfa9..1b29427665 100644--- a/plugins/ruflo-console/tests/plugin-coverage.spec.ts+++ b/plugins/ruflo-console/tests/plugin-coverage.spec.ts@@ -42,7 +42,7 @@ describe('plugin coverage', () => {expect(homeOf('ruflo-cost-tracker')).toBe('cost')expect(homeOf('ruflo-ruos:deploy')).toBe('swarm')expect(homeOf('not-a-plugin:thing')).toBeNull()- expect(pluginsOfView('secure')).toEqual(['ruflo-aidefence', 'ruflo-security-audit'])+ expect(pluginsOfView('secure')).toEqual(['ruflo-aidefence', 'ruflo-protector', 'ruflo-security-audit'])})it('every section that owns a plugin has an ask entry (so each home can also be asked about)', async () => {diff --git a/plugins/ruflo-protector/hooks/store.ts b/plugins/ruflo-protector/hooks/store.tsindex 192aa09be0..2f6fbd34f3 100644--- a/plugins/ruflo-protector/hooks/store.ts+++ b/plugins/ruflo-protector/hooks/store.ts@@ -52,8 +52,9 @@ export function statusText(s: Status, now: number): string {const o = s.alertCountsconst summary = `Project Anatole · ${s.mode} · ${o.open} open alert${o.open === 1 ? '' : 's'} · ${s.blocked} blocked · baseline ${m.mature ? 'mature' : `learning ${m.pct}%`}${s.degraded ? ` · degraded: ${s.degraded}` : ''}`return `${JSON.stringify({- schemaVersion: 1, name: 'protector', modVersion: s.version, mode: s.mode, guard: s.mode !== 'off', calls: s.calls, blocked: s.blocked,- startedAt: s.startedAt, updatedAt: now, summary: summary.slice(0, 200), alerts: o,+ // `version` and the two `*Ms` keys are what the console's mod scan (ADR-446) requires: without them the Mods page lists this file as refused.+ schemaVersion: 1, version: 1, name: 'protector', modVersion: s.version, mode: s.mode, guard: s.mode !== 'off', calls: s.calls, blocked: s.blocked,+ startedAt: s.startedAt, startedMs: s.startedAt, updatedAt: now, updatedMs: now, summary: summary.slice(0, 200), alerts: o,baseline: { state: m.mature ? 'mature' : 'learning', maturity: m.pct, events: s.baseline.events, sessions: s.baseline.sessions, firstSeenAt: s.baseline.firstSeenAt },rules: s.ruleCounts, degraded: s.degraded,}, null, 2)}\n`diff --git a/plugins/ruflo-protector/tests/mod.test.ts b/plugins/ruflo-protector/tests/mod.test.tsindex c9d9037eec..2befec876f 100644--- a/plugins/ruflo-protector/tests/mod.test.ts+++ b/plugins/ruflo-protector/tests/mod.test.ts@@ -43,6 +43,12 @@ describe('defaults', () => {expect(w.commands).toContain('protector')const s = json(w.files, 'status.json')expect(s).toMatchObject({ schemaVersion: 1, name: 'protector', mode: 'learn', calls: 0, blocked: 0, degraded: false })+ // What the console's mod scan (ADR-446) needs to accept the file: version 1 and numeric start/update times, equal to the ADR's startedAt/updatedAt.+ expect(s.version).toBe(1)+ expect(typeof s.startedMs).toBe('number')+ expect(typeof s.updatedMs).toBe('number')+ expect(s.updatedMs).toBe(s.updatedAt)+ expect(s.startedMs).toBe(s.startedAt)expect(s.baseline).toMatchObject({ state: 'learning', events: 0 })expect(s.alerts).toMatchObject({ open: 0, total: 0 })expect(typeof s.summary).toBe('string')