Files
ruflo/plugins/ruflo-rvf
chaitanya-y20 13af5f1208 chore(plugins): give every plugin manifest a repository field
44 of the 48 `plugins/*/.claude-plugin/plugin.json` manifests had no
`repository`, while the four that do already point at the repo URL their
`homepage` names. The field is what the directory listing and
`npm view` read, and its absence is invisible until something reads it.

Add it to the 44 that lack it, then make `scripts/audit-plugin-manifest.mjs`
enforce it so the next plugin cannot ship without one:

- check 6 in the script header, the violation in `auditManifest`, and the
  clean-run summary line. A manifest may carry the repository as a string or
  as an object's `url`; anything else is reported as missing, and a value that
  is not an http(s) URL is reported separately.
- the required-field lists in `create-plugin` and `validate-plugin` skills, so
  a scaffolded plugin passes the gate it is told to satisfy.

Verified with the repo's own gates:

- `node scripts/audit-plugin-manifest.mjs` scans 48 manifests, clean.
- removing the field from one manifest reports `repository field: missing or
  empty` and exits 1; setting it to `ruvnet/ruflo` reports `repository is a URL`
  and exits 1; restoring it exits 0.
- `node scripts/check-plugin-manifests.mjs` is unchanged by this diff (its two
  nested-manifest findings belong to `ruflo-ai-team/directory` and
  `ruflo-x-gateway/directory`, which this change does not touch).
- `node scripts/audit-plugin-secrets.mjs` clean, 48 manifests.

No plugin version is bumped: the installed artifact's behaviour does not change
and no user-visible surface reads the field from an installed copy, so there is
nothing for a version bump to deliver. The `Plugin version bump` workflow will
flag the 44 manifests it sees as shipped files, and this PR needs the
`skip-plugin-version-check` label rather than 44 unrelated version bumps that
would collide with each plugin's own release cadence.

Closes #4774
2026-11-05 09:25:38 +05:30
..

ruflo-rvf

RVF format for portable agent memory, session persistence, and cross-platform transfer.

Install

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-rvf@ruflo

Features

  • RVF format: Portable vector memory with embeddings, metadata, and causal graphs
  • Session persistence: Save and restore complete agent sessions across conversations
  • Cross-project transfer: Export and import knowledge between projects
  • Claude memory bridge: Import Claude Code auto-memories into AgentDB
  • Format migration: Upgrade RVF files across versions

Encryption at rest (ruflo 3.6.25+)

Sessions persisted by this plugin land at .claude-flow/sessions/*.json, which are written through fs-secure.writeFileRestricted({encrypt:true}) per ADR-096. Behavior under the gate:

  • Off by default (CLAUDE_FLOW_ENCRYPT_AT_REST unset / falsy) — sessions are plaintext JSON at mode 0600, same as ruflo 3.6.24 and earlier.
  • On (CLAUDE_FLOW_ENCRYPT_AT_REST=1 + CLAUDE_FLOW_ENCRYPTION_KEY set to 64-char hex or 44-char base64) — each session save is AES-256-GCM with RFE1 magic-byte prefix. Session restore transparently decrypts via the magic sniff; legacy plaintext sessions still load unchanged during migration.

When exporting RVF files for cross-machine transfer, the encryption gate does NOT apply to the exported bytes — the encryption is at-rest on the originating host. If the RVF is itself sensitive, transport security (sealed boxes / signed blobs) is the next phase per the ADR roadmap.

Confirm the gate state with ruflo doctor -c encryption.

Commands

  • /rvf -- Memory stats, saved sessions, storage metrics

Skills

  • rvf-manage -- Manage RVF files for portable memory
  • session-persist -- Persist and restore agent sessions

Compatibility

  • CLI: pinned to @claude-flow/cli v3.6 major+minor.
  • Verification: bash plugins/ruflo-rvf/scripts/smoke.sh is the contract.

Cross-plugin RVF ownership

RVF (RuVector Format) cognitive containers appear in three plugins. Each owns a different slice:

Slice Owner What it does
Portable memory + session persistence ruflo-rvf (this plugin) High-level skills for save/restore, cross-machine transfer
Browser sessions as RVF ruflo-browser ADR-0001 Each browser session is allocated as an RVF container at session-start (manifest, trajectory, screenshots, snapshots, cookies, findings)
RVF tooling (10 subcommands) ruflo-ruvector ADR-0001 `ruvector rvf create

This plugin sits on top of ruvector's tooling and feeds browser's session-as-RVF model.

Namespace coordination

This plugin owns the rvf-sessions AgentDB namespace (kebab-case, follows the convention from ruflo-agentdb ADR-0001 §"Namespace convention"). Reserved namespaces (pattern, claude-memories, default) MUST NOT be shadowed.

rvf-sessions indexes saved session manifests + their RVF container paths. Accessed via memory_* (namespace-routed).

Verification

bash plugins/ruflo-rvf/scripts/smoke.sh
# Expected: "10 passed, 0 failed"

Architecture Decisions

  • ruflo-ruvector — exposes the ruvector rvf * tooling this plugin sits on top of
  • ruflo-browser — uses RVF containers for session-as-skill artifacts (ADR-0001 there)
  • ruflo-agentdb — namespace convention owner

As a mod

Function-hook mod (ADR-445, pattern of ruflo-agentdb). It loads from hooks/hooks.json → hooks/register.ts.

A guard for portable memory: memory_store, session_save, hooks_session-end and hooks_transfer refuse secrets, so an RVF export or saved session does not carry them off-machine. Deletes (memory_delete, session_delete) are not gated: those tools have no confirm flag a mod could rely on.

  • Command: /rvf-mod answers locally with no model call. Verbs: status, scan <text>, tools (which memory and session tools are connected).
  • Status file: .claude-flow/rvf-mod/status.json ({version, updatedMs, ...counters}), written at session start and as counters change.
  • Safety: no network, no process spawning; it only uses tools already connected.
  • Option guard (on by default, off to disable): a tighten-only tool.call guard. A call to one of the tools above whose input holds a key, token, private key or password is denied. The reason never repeats the secret.
  • Test: claude plugin validate plugins/ruflo-rvf, claude plugin test plugins/ruflo-rvf, bash plugins/ruflo-rvf/scripts/smoke.sh.