plugsday
Week 2 · November 9, 2026 / red-green

red-green

PluginPassed every check★ 4 · by @futorio

A Claude Code plugin that implements one ticket or spec in a project. It runs a multi-agent workflow: research, test-case planning, test-first (red → green) implementation, project gates (lint, tests, build), then review and fix rounds, on a separate git worktree that is fast-forwarded when accepted.

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 · 2 hostsshell · runs commandssecrets · 2 keys
fileswrite, including .claude/red-green/profile.json, CLAUDE.md, AGENTS.md
networkapi.github.com, www.speedscope.app
shellruns commands
secretsLENS_KEYS, STRIPE_KEY

What it actually does

The setup skill reads the project's CI config, build files and rule files, and may query GitHub Actions history with `gh`. It writes `.claude/red-green/profile.json` and adds or replaces a short `## red-green` section in CLAUDE.md or AGENTS.md. The start skill creates a git worktree and branch, then runs the project's chosen gate commands through `run_gates.mjs`, which runs them in a detached background process that can outlive the call, with a 2-hour default timeout. It launches the workflow script, whose sub-agents read the repo, write code and tests, and commit on the worktree branch. Afterwards it fast-forwards the user's branch when every check passes, and removes the worktree and the run's scratch directories. Helper scripts `contracts.mjs` (property-test runner) and `mutate.mjs` (by-hand mutation testing) run a user-supplied test or build command. No code sends data off the machine except the optional `gh` CI-history lookup. No secrets or credential files are read, and nothing installs itself to keep running.

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.

skills/setup/SKILL.md:104 Edit `CLAUDE.md` at the project root when it exists, else `AGENTS.md`; with neither, ask the user which one to create.

automated rule

mediumRuns code that is built while it runs

eval, exec and new Function run text as code, which makes it hard to know what will actually run.

.claude/workflows/red-green/skills/contracts.mjs:257 const r = exec(command, dir, seed, next.length)

.claude/workflows/red-green/skills/contracts.mjs:279 const r = exec(command, dir, seed, count)

automated rule

mediumHas a hidden comment that speaks to the agent

HTML comments don't show when Markdown is displayed, but agents read them.

.claude/workflows/red-green/template/defaults/fix.md:1 <!-- Block fix: its default instructions and the earlier fixes' note. A part keeps its whitespace: the note starts with a

automated rule

mediumHas a hidden comment that speaks to the agent

HTML comments don't show when Markdown is displayed, but agents read them.

.claude/workflows/red-green/template/defaults/gates.md:1 <!-- Block gates: the gates step's default instructions. -->

automated rule

mediumHas a hidden comment that speaks to the agent

HTML comments don't show when Markdown is displayed, but agents read them.

.claude/workflows/red-green/template/defaults/implement.md:1 <!-- Block implement: its default instructions, the retry's note and the property notes, one per branch. -->

automated rule

mediumHas a hidden comment that speaks to the agent

HTML comments don't show when Markdown is displayed, but agents read them.

.claude/workflows/red-green/template/defaults/research.md:1 <!-- Block research: its default instructions, the retry's note, and the research section every later block's defaults include. -->

automated rule

mediumRuns code that is built while it runs

eval, exec and new Function run text as code, which makes it hard to know what will actually run.

.claude/workflows/red-green/template/render.mjs:69 const fromCore = (parts, name) => new Function(`${parts.map(p => PARTS[p]).join('\n')}\nreturn ${name}`)()

automated rule

mediumRuns project-declared gate commands in detached background processes

Gate commands from `profile.json` run with shell: true in a detached process group. A supervisor process is also detached, so gates outlive the agent's call; the default timeout is 7200s. This is what a gates runner is for, but a malicious or edited `.claude/red-green/profile.json` in a cloned repo would get its commands run. Users should check the profile before running `/red-green:start` on someone else's repo.

.claude/workflows/red-green/skills/run_gates.mjs:95 const p = spawn(g.command, { cwd: o.repo, shell: true, stdio: ['ignore', fd, fd], detached: true })

.claude/workflows/red-green/skills/run_gates.mjs:156 child = spawn(process.execPath, [...process.execArgv, process.argv[1], ...process.argv.slice(2), '--supervise', joined], { stdio: 'ignore', detached: true })

.claude/workflows/red-green/skills/mutate.mjs:71 const p = spawn(cmd, { cwd, env, shell: true, stdio: ['ignore', 'ignore', 'ignore'], detached: true })

Claude review

mediumSetup and start execute scripts that were not in the reviewed bundle

The setup skill's first step runs workflow-doctor.sh, and the start skill's accept step runs trace.mjs. Both files were omitted from the bundle, so their behaviour is unverified. They are the most plausible place for hidden behaviour, and a person should read them before listing.

skills/setup/SKILL.md:17 Run `${CLAUDE_PLUGIN_ROOT}/.claude/workflows/red-green/workflow-doctor.sh`. Each `MISSING` line is a tool the user

skills/start/SKILL.md:104 1. Save the spans: `node <tools>/.claude/workflows/red-green/trace.mjs <wf dir> > <run>/trace.jsonl`, `<wf dir>` as in § 4

Claude review

Keep an eye on it

This check is of one commit. Watch red-green 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/futorio-red-green.svg)](https://plugsday.com/tools/futorio-red-green)

About this check

Checked November 9, 2026 at commit 774ae2ebfe05, 83 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.