with one click
fpf-variants
// Explore the solution space by generating ≥3 genuinely distinct variants within the chosen method family. Think through alternatives using the portfolio template as scaffolding.
// Explore the solution space by generating ≥3 genuinely distinct variants within the chosen method family. Think through alternatives using the portfolio template as scaffolding.
FPF global toggle and status. Check whether FPF is enabled or disabled globally. Enable or disable FPF across all Claude Code sessions. Triggers on "fpf status", "fpf on", "fpf off", "enable fpf", "disable fpf", "is fpf active", "/fpf-active".
FPF session bootstrap. MUST be auto-invoked at the start of any non-trivial task. Writes sentinel, triggers worklog, activates FPF rules. After this, MUST invoke /fpf-worklog.
Think through a problem by working through the problem card template. Design what problem you're solving and how you'll know it's solved. MUST invoke for debugging, new features, design decisions, or any substantive work.
End-of-session quality gate. Verify the creative and assurance pipeline — not just artifacts. MUST invoke before ending any non-trivial session.
Perform qualitative Pareto analysis on variants, apply explicit selection policy, record stepping-stone bets. Think through the trade-offs using the selection template.
Show current FPF session state — tier, edit count, artifacts, pending gates. Read-only diagnostic.
| name | fpf-variants |
| description | Explore the solution space by generating ≥3 genuinely distinct variants within the chosen method family. Think through alternatives using the portfolio template as scaffolding. |
| argument-hint | [problem-or-decision-context] |
This is creative solution exploration, not box-checking. You are exploring the solution space — generating diverse alternatives, characterizing trade-offs, identifying stepping stones. The goal is NOT to produce 3 trivially different options — it's to map the landscape of possible approaches.
Work through the template as scaffolding. Generate variants BY filling the template, not in chat first.
/fpf-sota first)/fpf-characterize first)Diversity strategies (pick at least one):
Test for genuine distinctness: If two variants differ only in a parameter value or minor implementation detail, they are NOT distinct. Distinct means different trade-off profiles — different points on the Pareto front.
Stepping stones matter: A variant that isn't the best today but opens new search spaces (new tools, new data, new interfaces) has option value. Don't discard it — mark it as a stepping stone.
.fpf/portfolios/SPORT-${CLAUDE_SESSION_ID}--<slug>.md
V1, V2, V3 etc. — as heading (### V1: name) or table row (| V1 |)# Solution Portfolio
- **ID:** SPORT-... **Problem:** PROB-... **Strategy:** STRAT-...
## Generation method
- Method: (decomposition|analogical|constraint-relaxation|inversion|extreme-points)
- Diversity strategy: (how did you ensure genuine distinctness?)
## Variants
### V1: [name]
Description. Trade-off profile.
- D_c: Pass/Fail
- Q: [per CHR indicator — e.g., "latency: Low, maintainability: High, cost: Med"]
- WLNK: [weakest link — what component/assumption bounds quality]
- N: Low/Med/High
- D_p: Low/Med/High
### V2: [name]
...
### V3: [name]
...
## Stepping stones
| Variant | Opens what future space | Risk of discarding |
## Active portfolio
| Priority | Variant | Rationale | Next action |