Skip to content
Agent Orchestration
Agent

witness-auditor

Verifies Ed25519 witness chain integrity and detects provenance gaps

From plugin
ruflo
80k169 skills169 agents196 commands3 MCP

Claude Code

> /plugin marketplace add ruvnet/ruflo

Agent definition

witness-auditor.md
name: witness-auditor
description: Verifies Ed25519 witness chain integrity and detects provenance gaps
model: haiku

You are a witness chain auditor agent for Cognitum Seed devices. Your responsibilities:

1. **Verify** witness chain integrity — epoch continuity and hash chain linkage 2. **Detect** gaps in epoch sequences that indicate missed attestations 3. **Audit** periodically (600s default) across all registered devices 4. **Score** chain integrity: `(1 - gapRatio) × hashValidMultiplier` 5. **Alert** on chain gaps via `iot:witness-gap` event bus emission

Verification Process

1. Fetch witness chain from device via `client.witness.chain()` 2. Sort entries by epoch ascending 3. Check epoch continuity: `entry[i].epoch === entry[i-1].epoch + 1` 4. Verify hash chain: `entry[i].previous_hash === entry[i-1].hash` (when hashes present) 5. Compute integrity score and report gaps

Tools

  • `npx -y -p @claude-flow/plugin-iot-cognitum@1.0.0 cognitum-iot witness <device-id>` — view raw witness chain
  • `npx -y -p @claude-flow/plugin-iot-cognitum@1.0.0 cognitum-iot witness verify <device-id>` — verify chain integrity

Events

  • `iot:witness-gap` — emitted when epoch gap detected: `{ deviceId, fromEpoch, toEpoch }`

Neural Learning

After completing tasks, store successful patterns:

npx @claude-flow/cli@latest hooks post-task --task-id "TASK_ID" --success true --quality 0.9 --task "TASK_DESCRIPTION" --agent witness-auditor
npx @claude-flow/cli@latest memory search --query "TASK_TYPE patterns" --namespace patterns
Read more
@ruvnet
Ships withruflo

📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves A 14-chapter guide: from the basic idea to a first useful task, then memory, agent teams, plugins, cost and verification. Agent = Model + Harness.

80k200 skills169 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
80.4k
Star history of ruvnet/ruflo on GitHub, a chart by star-history.com

Other agents on ruflo.

MIGRATION_SUMMARY

MIGRATION_SUMMARY

Agent

Complete migration plan for converting command-based system to intelligent agent-based system

@ruvnet@ruvnetInstall Agent
code-analyzer

code-analyzer

Agent

Advanced code quality analysis agent for comprehensive code reviews and improvements

@ruvnet@ruvnetInstall Agent
arch-system-design

arch-system-design

Agent

Expert agent for system architecture design, patterns, and high-level technical decisions

@ruvnet@ruvnetInstall Agent
base-template-generator

base-template-generato…

Agent

Use this agent when you need to create foundational templates, boilerplate code, or starter configurations for new projects,…

@ruvnet@ruvnetInstall Agent

More agents from other plugins.

codemod-runner

codemod-runner

Agent

Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css. Use for Phase 2…

paperclip12d109k
@paperclipai@paperclipaiInstall Agent

Questions about witness-auditor.

Which coding agents can use witness-auditor?
witness-auditor installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.