rea-tool-design
MOmorluto/rea485k9,215 new stars in the last 7 days
Pre-implementation multi-persona adversarial analysis for gflow-cli proposals. Five expert personas independently evaluate a proposed change before a single line of code is written, then converge on a GO / CAUTION / STOP verdict. Invoke before any high-stakes decision: new transport, auth change, selector redesign, schema migration, API surface change, or backlog item requiring an investigation gate.
predict — Pre-Implementation Multi-Persona AnalysisStructured pre-implementation review. Five expert personas assess the proposal independently, then debate, then converge on a verdict with a confidence score. Surfacing architectural, security, performance, and UX flaws before the first commit is the cheapest place to catch them.
Use before implementing any of:
sapisidhash, cdp_attach, official_veo)ONBOARDING_SELECTORS, NEW_PROJECT_SELECTORS, FRAME_SLOTS_STRUCTgflow_cli/data/Skip for: trivial bug fixes (< 10 lines, isolated, no boundary cross), already-approved PLAN.md tasks entering EXECUTE, pure doc changes.
/gflow:predict <proposal>
<proposal> is a short description of what you intend to build or change —
one paragraph is enough. Examples:
_post_json for all aisandbox-pa routes (Issue #15)"--transport cdp_attach alongside ui_automation"gflow video batch to use a local manifest ledger for skip-already-done"AuthBrowserBlockedError to internal_chromium.py when Google rejects bundled Chromium"Dispatch five personas simultaneously. Each reads AGENTS.md, PLAN.md, KNOWN_ISSUES.md, and the relevant source files for the proposal. Each assesses independently — no persona sees another's output during Phase 1.
Scope: hexagonal target, modular-monolith current shape, dependency direction, module boundary rules.
Asks:
interfaces → application → domain ← infrastructure)?cli.py, a domain model importing from infrastructure)?structlog for all logging)?Output: structured analysis, confidence 0–10, architectural risks.
Scope: Google's anti-bot stack, SAPISIDHASH, G12 block, WAF scoring, profile isolation, secret storage.
Asks:
SecurityError if profile_dir outside GFLOW_CLI_HOME) remain intact?show_locals=False is mandatory on exception renderers.)navigator.webdriver=true?Output: structured analysis, confidence 0–10, security risks with severity.
Scope: Page pool, asyncio.gather, reCAPTCHA mint latency, headless detection, BrowserContext lifecycle.
Asks:
_checkout_page / _checkin_page)? Is there a QueueFull risk?page.evaluate calls? What's the latency budget vs the 200 ms/page threshold?GFLOW_CLI_CONCURRENCY? Could it reduce or increase the safe ceiling?FlowApiClient.__aexit__ runs?Output: structured analysis, confidence 0–10, performance bottlenecks.
Scope: exit codes (RFC 9457), structlog events, Windows/macOS/Linux path handling, --help text, error recovery UX, and the MCP tool surface that mirrors all of it.
Asks:
worker/codec.py path, and any docstring claim that becomes false. If the proposal genuinely has no MCP surface, say so explicitly — silence here is what let #626 ship a CLI unlock with mcp/tools.py still telling agents the combination was rejected.EXIT_CODE_MAP? Is it distinct from existing codes?structlog events does this introduce? Are error_raised / error_unhandled paths handled?GFLOW_CLI_* convention and have a .env.template entry?platformdirs paths, and PYTHONUTF8=1 requirements respected?--help text self-contained and accurate?has-text and no multi-locale text cascades, with the two measured token exceptions (the upscale resolution token, the duration number) as the bar for any further one?Output: structured analysis, confidence 0–10, UX friction points.
Scope: YAGNI, simpler paths, interaction with KNOWN_ISSUES, backlog sequencing.
Asks:
KNOWN_ISSUES.md that makes this approach risky or likely to fail?scripts/ script, isolated spike) that could prove/disprove the core assumption before committing to a full implementation?Output: structured analysis, confidence 0–10, alternative paths, blocking concerns.
After all five personas return:
GO (confidence ≥ 7, no STOP conditions): all personas aligned or concerns are mitigated within the proposal. Safe to proceed to PLAN mode.
CAUTION (confidence 4–6, or one unresolved STOP candidate): proceed but explicitly address the flagged concerns in the PLAN before EXECUTE. Surface the specific mitigations needed.
STOP (confidence < 4, or any hard STOP): one or more of:
On STOP, output the specific blocking concern and the minimum change required to convert to CAUTION.
# Predict: <proposal short title>
## Verdict: <GO | CAUTION | STOP>
**Confidence:** <N>/10
## Summary
<2-3 sentences. What the five personas collectively found.>
## Persona findings
### Architect — <signal> (<confidence>/10)
<findings>
### Security / reCAPTCHA — <signal> (<confidence>/10)
<findings>
### Performance / Playwright — <signal> (<confidence>/10)
<findings>
### CLI UX / Cross-platform — <signal> (<confidence>/10)
<findings>
### Devil's Advocate — <signal> (<confidence>/10)
<findings>
## High-confidence risks (flagged by 2+ personas)
1. …
## Conflicts resolved
- <Persona A vs Persona B — resolution>
## Required mitigations before EXECUTE (CAUTION only)
1. …
## Recommended next step
<One sentence. E.g.: "Open a PLAN.md task for Issue #15 gated on SAPISIDHASH investigation steps 1–3." or "Run the smoke script in scripts/smoke_video_editor.py against the live API before committing to the full design.">
/gflow:scenario <feature>) or Phase 4 Implementation Plan (/gflow:plan <feature>)."/gflow:plan <feature>)."Adapted from vc-predict in vibecode-pro-max-kit (assessment 2026-05-28).
Personas re-scoped to gflow-cli surfaces: Google anti-bot stack, Playwright Page pool, RFC 9457 exit codes, hexagonal architecture target.
MOmorluto/rea485k9,215 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
AFaffaan-m/ECC314k4,125 new stars in the last 7 days
NEnextlevelbuilder/ui-ux-pro-max-skill156k3,077 new stars in the last 7 days
NEnextlevelbuilder/ui-ux-pro-max-skill156k3,077 new stars in the last 7 days
THthedotmack/claude-mem121k1,594 new stars in the last 7 days