plugsday
Week 1 · November 2, 2026 / foreman-vision

foreman-vision

PluginPassed every check★ 36 · by @ilkemerol

A live, local browser view of the Claude Code sessions on this machine, drawn as a pixel-art office. Each session is a floor and each sub-agent is a worker at a desk. It is a companion to the 'foreman' orchestrator skill.

See it on GitHub

Worth knowing: Changes the agent's instructions or settings. Both Claude reviews found this fine for what it does.

What it can touch

files · read and writenetwork · 9 hostsshell · runs commandssecrets · none found
fileswrite, including every environment variable, ~/.claude/settings.json, ~/.claude/foreman-vision/, ~/.claude/foreman-vision/spool/, ~/.claude/foreman-vision/plugin-root, ~/.claude/foreman-vision/port, ~/.claude/foreman-vision.conf, ~/.claude/projects/
networkclaude.ai, docs.anthropic.com, git-scm.com, github.com, jik-a-4.itch.io, lottiefiles.com, nodejs.org, raw.githubusercontent.com, react.dev
shellruns commands
secretsnone found

What it actually does

The plugin registers a bash hook (hook/fv-hook.sh) on eleven Claude Code hook events, with the '*' matcher on the tool events. The hook appends a trimmed JSON line per event to ~/.claude/foreman-vision/spool/<session>.jsonl. A second hook (hook/fv-ask.sh) runs on PermissionRequest for AskUserQuestion with a 3600 s timeout. It POSTs the question to the local server on 127.0.0.1 with curl and prints the browser pop-up's answer as an 'allow' decision. On SessionStart, plugin-root.sh writes the plugin folder path to ~/.claude/foreman-vision/plugin-root. A Node server (started via /foreman-vision start or `node src/cli.ts serve`) listens on 127.0.0.1:4780. It tails the spool, reads Claude Code transcripts and sub-agent meta files, reads installed_plugins.json to find foreman's version, and streams state to a prebuilt React UI over SSE. The clone install path merges hooks into ~/.claude/settings.json after taking a backup. The visible files show no external network calls and no credential access. The main hook scripts, the server, the installer and the prebuilt JS bundle were not included in the bundle, so they could not be checked.

What the check found

highChanges the agent's instructions or settings

Editing CLAUDE.md, AGENTS.md, memory files, hooks or MCP settings lets a tool keep steering the agent even after it's removed.

test/fixtures/spike-foreman.jsonl:7 {"ts":1791784579454,"event":"PreToolUse","payload":{"session_id":"cebc39db-0e31-479b-9183-f2158982f69d","cwd":"C:\\Users\\dev\\Desktop\\workspace\\foreman-visio

test/fixtures/spike-foreman.jsonl:8 {"ts":1791784592190,"event":"PostToolUse","payload":{"session_id":"cebc39db-0e31-479b-9183-f2158982f69d","cwd":"C:\\Users\\dev\\Desktop\\workspace\\foreman-visi

automated rule

mediumChanges the agent's instructions or settings

Editing CLAUDE.md, AGENTS.md, memory files, hooks or MCP settings lets a tool keep steering the agent even after it's removed.

README.md:131 node src/cli.ts install # adds the hooks to ~/.claude/settings.json (backup first)

automated rule

mediumContains invisible characters

Zero-width and other invisible characters can hide words or split them so filters and reviewers miss them.

src/about.ts:12 const head = /^⟦U+FEFF⟧?---\r?\n([\s\S]*?)\r?\n---/.exec(text)?.[1] ?? '';

automated rule

mediumContains invisible characters

Zero-width and other invisible characters can hide words or split them so filters and reviewers miss them.

test/about.test.ts:17 assert.equal(skillVersion('⟦U+FEFF⟧' + skill(meta)), '1.13.3');

automated rule

mediumTurns off the agent's permission prompts

Switches the agent to run commands or make edits without asking first.

test/hook.test.ts:152 decision: { behavior: 'allow', updatedInput: { ...input, answers: A }, updatedPermissions: [{ type: 'setMode', mode: 'bypassPermissions' }] } } });

automated rule

mediumGoes through every environment variable

Reads the whole environment, usually to pass it on to another program. Together with a webhook or paste-site address it is how credential stealers work.

test/install.test.ts:67 const env: NodeJS.ProcessEnv = Object.fromEntries(Object.entries(process.env).filter(([k]) => !/^(path|claude_code_git_bash_path)$/i.test(k)));

automated rule

mediumDownloads programs or archives while running

Files fetched at run time weren't part of this check, and they can change at any time.

web/dist/assets/index-DcTJHebd.js:12 `+V(`term.more`,{n:e.more})}):null]})}function Rn({s:e,a:t,now:n,closing:r,onClose:i}){let a=t.parentId?e.agents.find(e=>e.id===t.parentId):void 0,o=[[V(`detail

automated rule

mediumHooks run on every Claude Code event, including every tool call

The plugin runs a bash script on SessionStart, prompts, every Pre/PostToolUse with the '*' matcher, notifications, sub-agent events and permission requests. This is needed for a live session viewer, but it means third-party code runs on every action the agent takes, in every session on the machine.

hook/hooks.json:14 "PreToolUse": [{ "matcher": "*", "hooks": [{ "type": "command", "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hook/fv-hook.sh\"" }] }],

README.md:218 1. **Hook.** The plugin, or `install` for a clone, registers `hook/fv-hook.sh` for Claude Code's `SessionStart`, `SessionEnd`, `UserPromptSubmit`, `PreToolUse`,

Claude review

mediumPermissionRequest hook can answer AskUserQuestion with an 'allow' decision from the browser

fv-ask.sh is registered on PermissionRequest for AskUserQuestion and prints an allow decision built from whatever the local server returns. The scope is narrow, and the tests show it strips extra fields such as a setMode bypassPermissions escalation. Still, the hook takes part in permission decisions, and anything that can drive the local server's answer endpoint could answer the agent's questions. The script itself was not included, so it could not be checked.

hook/hooks.json:22 { "matcher": "AskUserQuestion", "hooks": [{ "type": "command", "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hook/fv-ask.sh\"", "timeout": 3600 }] },

README.md:218 1. **Hook.** The plugin, or `install` for a clone, registers `hook/fv-hook.sh` for Claude Code's `SessionStart`, `SessionEnd`, `UserPromptSubmit`, `PreToolUse`,

Claude review

mediumCore scripts and the prebuilt UI bundle could not be reviewed

These files were not in the bundle: hook/fv-hook.sh, hook/fv-ask.sh, bin/fv-server.sh, src/server.ts, src/install.ts and the 465 KB minified web/dist bundle, which drew a fetch-binary rule hit. They carry most of the behaviour, so the README's privacy claims (local-only, no external requests) could not be confirmed. A person should look at them before listing.

README.md:270 `web/dist` is committed, so the plugin and a fresh clone work without npm. **Run `npm run build` before every push.** The build writes a hash of the web sources

README.md:248 - Nothing leaves your machine: no accounts, no telemetry, no external requests at runtime. Every asset is served locally.

Claude review

mediumClone install edits ~/.claude/settings.json

The clone method merges hook entries into Claude Code's global settings. It takes a backup first, refuses to write invalid JSON, and has an uninstall command. This is expected for the purpose, but it is a persistent change to the agent's configuration.

README.md:131 node src/cli.ts install # adds the hooks to ~/.claude/settings.json (backup first)

Claude review

mediumCaptures every tool call and prompt event to disk, and reads full session transcripts

Hooks with matcher "*" on PreToolUse, PostToolUse and other events spool command labels, cwd and file paths into ~/.claude/foreman-vision. The server also reads Claude Code transcripts, which can contain secrets the agent saw. Everything stays local according to the docs, and this is expected for a session visualizer. It is still a broad view of the user's activity, and the hook and server sources were not available to confirm the trimming or that nothing leaves the machine.

hook/hooks.json:14 "PreToolUse": [{ "matcher": "*", "hooks": [{ "type": "command", "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hook/fv-hook.sh\"" }] }],

README.md:249 - Hook payloads contain prompts and file paths, so the hook keeps only short, trimmed fields and writes them under your Claude config folder.

README.md:219 2. **Server.** A small `node:http` server tails the spool files, links sub-agents to the calls that spawned them by their ids (no timing guesses), reads token a

Claude review

Keep an eye on it

This check is of one commit. Watch foreman-vision and we'll email you if a later commit changes what it can touch.

Made this? Add the badge

Checked by Plugsday

[![Checked by Plugsday](https://plugsday.com/badge/ilkemerol-foreman-vision-pub.svg)](https://plugsday.com/tools/ilkemerol-foreman-vision-pub)

About this check

Checked November 5, 2026 at commit 44713eb5e6db, 293 files. Rules for known red flags, then two Claude reviews, one of them told to assume the author is malicious. A later commit hasn't been checked. How checks work.