mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-03 22:12:01 +09:00
docs(plugins): README names the piiGuard option (#4861)
Co-Authored-By: RuFlo <ruv@ruv.net>
This commit is contained in:
1 parent
59377fdb63
commit
d96d246e5c
2 files changed
+5
-4
No files matched your search
@@ -116,9 +116,9 @@ bash plugins/ruflo-federation/scripts/smoke.sh
|
||||
|
||||
Since this version the plugin is also a function-hook mod (ADR-445 pattern; needs Claude Code 2.1.287 or later). It never calls the network or spawns a process, and it only tightens: it can refuse a call, never allow one.
|
||||
|
||||
- **Guard** (default on): refuses outbound federation calls (`x_federation_publish`, `x_federation_channel_publish`, `x_federation_sync`, `federation_bbs_publish`, `federation_bbs_sync`, and `federation`-namespace memory writes) that hold a key, token or password or personal data (an SSN or a Luhn-valid card number). The reason names the kind of secret, never the value.
|
||||
- **Guard** (default on): refuses outbound federation calls (`x_federation_publish`, `x_federation_channel_publish`, `x_federation_sync`, `federation_bbs_publish`, `federation_bbs_sync`, and `federation`-namespace memory writes) that hold a key, token or password, or input too large to screen, or (while `piiGuard` is on) personal data (an SSN or a Luhn-valid card number). The reason names the kind of secret, never the value.
|
||||
- **`/federation-mod`**: answered locally, no model turn: `status`, `scan <text>` (would the guard refuse this?), and `tools` (the connected federation tools).
|
||||
- **Status file**: `.claude-flow/federation-mod/status.json` (`{version, updatedMs, guard, blocked}`), written at session start and when a call is blocked.
|
||||
- **Option**: `guard` (`on` | `off`, default `on`) in the plugin's `userConfig`.
|
||||
- **Options** (`userConfig`): `guard` (`on` | `off`, default `on`) and `piiGuard` (`on` | `off`, default `on`). `piiGuard: off` makes the SSN/card check informational only: personal data may leave, while secrets are still refused whenever `guard` is on (#4861).
|
||||
|
||||
Test it: `claude plugin test plugins/ruflo-federation` and `bash plugins/ruflo-federation/scripts/smoke.sh`.
|
||||
@@ -137,12 +137,13 @@ A function-hook mod ships beside the skills (ADR-445 pattern). Needs a Claude Co
|
||||
|
||||
| Piece | Default | What it does |
|
||||
|---|---|---|
|
||||
| **Write guard** | on | Refuses a secret in a learned pattern, trajectory step/end, `neural_train` or `hooks_transfer` call, or a `memory_store` into a pattern namespace. A transfer also refuses an email address (IPFS is public). |
|
||||
| **Write guard** | on | Refuses a secret in a learned pattern, trajectory step/end, `neural_train` or `hooks_transfer` call, or a `memory_store` into a pattern namespace. A transfer also refuses an email address (IPFS is public) while the PII guard is on. |
|
||||
| **PII guard** | on | The email refusal on `hooks_transfer`. Off lets a transfer holding an email publish; a secret is still refused while the write guard is on. |
|
||||
| **Reset confirm** | on | Refuses `hooks_intelligence-reset` unless the call carries `confirm: true`. |
|
||||
| **`/intelligence-mod`** | — | `status`, `scan <text>`, `stats` (calls `hooks_intelligence_stats` through the connected tool); answered locally, no model call. |
|
||||
| **Status file** | — | `.claude-flow/intelligence-mod/status.json` (`version`, `updatedMs`, mode flags and counters); written at session start and when a counter changes. |
|
||||
|
||||
Options (`userConfig`): `guard` on\|off, `confirmReset` on\|off. Refusals never echo the value they matched.
|
||||
Options (`userConfig`): `guard` on\|off, `piiGuard` on\|off, `confirmReset` on\|off. Refusals never echo the value they matched.
|
||||
|
||||
```bash
|
||||
claude plugin test plugins/ruflo-intelligence # 11 tests
|
||||
|
||||
Reference in new issue
Block a user