ruflo-business-pods
Reviewed
at commit 13af5f1
ADR-164 Phase 2 — business-domain pod templates for the federated business autopilot. Ships the sales pod template (templates/sales.json) and a single-tick…
0 upvotes
Log in to upvote or save- Made by
- ruvnet
- Pinned commit
-
13af5f1208960c98832d6d9096a8d7ec45bcdc3e - What we checked
-
Checks calls to this plugin's business_pod_* tools and blocks pod templates that hold secret-looking values or credential-named fields, and template paths that climb out of their folder, point at credential files or are not .json. It can only deny. It adds a /pods-mod command and writes counters to a status file in your project. Also ships a pod-sales skill that runs a bundled local dry-run script.
Review details
Static review of the source at the pinned commit; not run. Delta review of the changes since 828a8d7; the rest carries over from the review at that commit. Registers session.start (registers /pods-mod, reads the project root, writes counters), tool.call (guard on business_pod_validate and business_pod_route_backend only; everything else passes) and command.run for /pods-mod (status, scan, path; answered locally). The guard denies secret shapes or credential-named fields in podTemplate, and podTemplatePath values with a NUL byte, .., credential locations (.env, .ssh, .aws and similar) or a non-.json extension. $.fs.write is used only for .claude-flow/pods-mod/status.json (rule names and counts). No network, process or env use in the hook. The pod-sales skill pre-approves Bash (no unpinned packages) and tells Claude to run scripts/pod-tick.mjs, read in full at an earlier review: it uses only node:fs, node:path and node:crypto, is dry-run by default, refuses --live, reads a pod template JSON, writes a budget ledger under <cwd>/.business-pods/budget/<roomId>.json and appends a status envelope to .business-pods/.agentbbs/room-*.jsonl. It makes no network calls and does not invoke the model. The ledger path joins the template roomId, whose allowed characters include dots and slashes, so a hostile template could place the ledger outside .business-pods. Changes in this version: plugin.json gains a repository URL field only; hooks, script and permissions are unchanged. Template JSON files and scripts/smoke.sh were not reviewed.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: yes
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
ADR-164 Phase 2 — business-domain pod templates for the federated business autopilot. Ships the sales pod template (templates/sales.json) and a single-tick runner (scripts/pod-tick.mjs) that pre-flights templates via business_pod_validate, reserves budget through a file-based stub ledger (atomic SQLite tracker is Phase 3 per ADR-164.1), resolves each agent role against ruflo's agent registry, constructs dry-run prompts, and posts an envelope summary to the room via federation_bbs_publish. Dry-run by default — --live is reserved for Phase 3 Managed-Agent + claude-p wiring. As a mod (ADR-445 pattern): a tighten-only tool guard, a local slash command, and a status file the console shows.
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/ruflo-business-pods/)