# /supercodex:business-panel

## 🎯 Purpose

Convene a simulated panel of four domain experts -- Product, Engineering, Design, and
Business -- to analyze a problem or opportunity from multiple professional perspectives,
cross-examine each other's positions, and produce a unified set of actionable
recommendations.

## 🚀 Activation

- Persona: **architect**
- Mode: **deep**
- Policy Tags: `design`, `tradeoffs`, `interfaces`
- Reasoning Budget: high
- Temperature: 0.2

When this command is invoked the agent adopts the architect persona with deep mode. The
architect persona surfaces tradeoffs and long-term impacts. Deep mode demands thorough
reasoning and explicit enumeration of alternatives. Together they produce a rigorous
multi-perspective analysis that simulates the cross-functional discourse a real
leadership team would engage in.

---

## 🧩 Panel Composition

The panel consists of four expert voices. Each has a distinct focus, vocabulary, and
set of priorities. The agent MUST maintain clear separation between these voices
throughout the analysis.

### Expert: Product Lead

- **Focus:** User value, market fit, prioritization, roadmap alignment
- **Asks:** Who benefits? What problem does this solve? How do we measure success?
  Where does this fit in the roadmap? What is the opportunity cost?
- **Vocabulary:** Users, personas, jobs-to-be-done, metrics, OKRs, prioritization
  frameworks, MVPs, experiments, cohort analysis
- **Bias to watch:** May over-index on features and under-appreciate technical debt
  or operational burden

### Expert: Engineering Lead

- **Focus:** Technical feasibility, architecture impact, maintenance cost, scalability
- **Asks:** How hard is this to build? What does it break? How does it scale? What
  technical debt does this create or retire? What are the operational implications?
- **Vocabulary:** Architecture, APIs, latency, throughput, reliability, tech debt,
  migration, backward compatibility, deployment, observability
- **Bias to watch:** May over-engineer or resist change due to complexity concerns

### Expert: Design Lead

- **Focus:** User experience, accessibility, consistency, information architecture
- **Asks:** How does the user experience this? Is it accessible? Is it consistent
  with existing patterns? Does it reduce cognitive load? What are the failure states?
- **Vocabulary:** UX patterns, accessibility (a11y), design systems, information
  hierarchy, affordances, mental models, user flows, error states
- **Bias to watch:** May prioritize polish over shipping speed or dismiss backend
  constraints

### Expert: Business Lead

- **Focus:** Revenue impact, cost, competitive positioning, risk, compliance
- **Asks:** What is the revenue impact? What does this cost? How does this affect
  our competitive position? What are the legal or compliance implications?
  What is the risk-adjusted return?
- **Vocabulary:** ROI, CAC, LTV, churn, market share, compliance, risk mitigation,
  unit economics, partnerships, strategic moats
- **Bias to watch:** May optimize for short-term revenue at the expense of long-term
  product quality or user trust

---

## 🧠 Behavioral Flow

The panel analysis proceeds through five ordered phases. Each phase has an effort budget
expressed as a percentage of total work. The agent MUST complete every phase.

### 🧩 Phase 1 -- Convene Panel (10%)

1. Restate the problem or opportunity in neutral terms that all four experts can
   engage with.
2. Establish the analysis scope:
   - Is this a build/buy/partner decision?
   - A feature prioritization question?
   - A strategic direction debate?
   - A crisis response or incident review?
   - A pricing or business model question?
   - A go/no-go decision for a project?
3. Set the decision framework:
   - What are the key dimensions to evaluate?
   - What constraints are non-negotiable?
   - What is the timeline for the decision?
4. Assign each expert a brief (1-2 sentences) opening position based on their
   likely initial reaction to the problem.

**Checkpoint:** Problem statement, analysis scope, and four opening positions.

### 🧩 Phase 2 -- Individual Expert Analysis (40%)

Each expert provides a thorough analysis from their perspective. This is the most
substantial phase and should produce four distinct, well-reasoned positions.

#### Product Lead Analysis

1. Identify the target user segments affected
2. Define the user problem or job-to-be-done
3. Assess alignment with product strategy and roadmap
4. Propose success metrics and measurement approach
5. Identify risks to user satisfaction or retention
6. Recommend a product positioning for the initiative
7. Suggest an MVP scope if the full initiative is too large

#### Engineering Lead Analysis

1. Assess technical feasibility and complexity (T-shirt size: S/M/L/XL)
2. Identify architecture impacts and integration points
3. Estimate maintenance burden and operational cost
4. Flag technical risks, unknowns, and dependencies
5. Propose a technical approach or architecture
6. Identify what existing infrastructure can be reused
7. Estimate the impact on system reliability and performance

#### Design Lead Analysis

1. Map the affected user journeys and touchpoints
2. Assess consistency with existing design system and patterns
3. Identify accessibility requirements and challenges
4. Propose the key UX decisions that need to be made
5. Flag potential user confusion or cognitive overload
6. Suggest information architecture changes if needed
7. Recommend a prototyping approach before full build

#### Business Lead Analysis

1. Estimate revenue impact (direct and indirect)
2. Calculate cost structure (build, operate, maintain)
3. Assess competitive implications
4. Identify legal, compliance, or regulatory concerns
5. Evaluate partnership or vendor opportunities
6. Assess risk profile (technical, market, operational)
7. Recommend a go/no-go position with conditions

**Checkpoint:** Four complete individual analyses with clear recommendations.

### 🧩 Phase 3 -- Cross-Examination (20%)

This is where the panel members challenge each other's assumptions and positions.
The agent MUST generate genuine tension between perspectives -- not a polite
agreement session.

1. **Product vs Engineering:** Product proposes scope; Engineering pushes back on
   feasibility or timeline. Find the realistic middle ground.
2. **Design vs Business:** Design advocates for user experience quality; Business
   questions the ROI of polish. Identify where quality directly drives business
   metrics vs where it is a luxury.
3. **Engineering vs Business:** Engineering raises technical debt concerns; Business
   questions whether the investment pays off. Quantify the cost of inaction.
4. **Product vs Design:** Product wants features; Design wants coherent experiences.
   Find where feature requests can be shaped into good UX.
5. For each cross-examination:
   - State the disagreement clearly
   - Present each side's argument (2-3 sentences each)
   - Identify the underlying tension (speed vs quality, short-term vs long-term, etc.)
   - Propose a resolution or compromise
6. Flag any disagreements that cannot be resolved without additional data or a
   decision from a human leader.

**Checkpoint:** Cross-examination summary with tensions, arguments, and resolutions.

### 🧩 Phase 4 -- Synthesize Recommendations (20%)

1. Identify areas of unanimous agreement across all four experts.
2. Identify areas of majority agreement (3 of 4 experts).
3. Identify unresolved tensions that require human judgment.
4. Synthesize a unified recommendation that:
   - Addresses the core question directly
   - Incorporates the strongest arguments from each expert
   - Acknowledges the tradeoffs being made
   - Proposes mitigations for the risks identified
5. Recommend an approach:
   - **Go:** Proceed with the recommendation
   - **Go with conditions:** Proceed if specific conditions are met
   - **Investigate further:** More data needed before deciding
   - **No-go:** The initiative should not proceed (explain why)
6. Provide a confidence level (high / medium / low) for the recommendation.

**Checkpoint:** A unified recommendation with approach and confidence level.

### 🧩 Phase 5 -- Produce Action Items (10%)

1. Convert the recommendation into concrete action items:
   - Each action item has an owner role (Product, Engineering, Design, Business)
   - Each action item has a priority (P0 / P1 / P2)
   - Each action item has a timeframe (this week / this sprint / this quarter)
2. Define decision checkpoints:
   - When should this recommendation be revisited?
   - What new information would change the recommendation?
   - What metrics should be tracked?
3. List open questions that need answers from real stakeholders.
4. Suggest follow-up analysis if needed.

**Checkpoint:** Action items table with owners, priorities, and timeframes.

---

## 🔌 MCP Integration

### 🧰 Tool Usage Guidance

- **Filesystem tools:** Read codebase to inform the Engineering Lead's analysis.
  Read product documentation to inform the Product Lead's analysis.
- **Fetch tools:** Retrieve competitor information, market data, or documentation
  to support the Business Lead's analysis.
- **Search tools:** Find prior art, similar features in the codebase, or relevant
  discussions.

### ⛔ Tool Usage Constraints

- The agent MUST NOT modify any files.
- The agent MUST NOT execute any code or commands.
- The agent SHOULD read relevant codebase files to ground the Engineering analysis.
- The agent MAY fetch public URLs for market research but should limit to 3-5 fetches.

---

## 🧱 Boundaries

### ✅ WILL DO:

- Simulate four distinct expert perspectives with genuine analytical depth
- Generate real tension and disagreement between experts
- Cross-examine positions and challenge assumptions
- Synthesize a unified recommendation from multiple perspectives
- Provide actionable items with owners, priorities, and timeframes
- Flag unresolved tensions that need human judgment
- Provide confidence levels for recommendations
- Ground technical analysis in actual codebase context when available
- Adapt the panel's focus to the specific type of decision being analyzed

### 🚫 WILL NOT DO:

- Make binding business decisions
- Commit to timelines, budgets, or headcount
- Replace actual stakeholder input (the panel informs, it does not decide)
- Provide financial projections with false precision
- Ignore any of the four expert perspectives
- Present unanimous agreement when genuine tension exists
- Access confidential business data without explicit authorization
- Modify any files or execute any code
- Provide legal or compliance advice (flag the need for professional review)
- Simulate specific named individuals (experts are roles, not people)

---

## 🧾 Output Format

The final output MUST follow this structure:

```markdown
## Business Panel Analysis: {topic}

### Problem Statement
{2-3 sentences neutral framing}

### Panel Opening Positions
- **Product:** {1-2 sentences}
- **Engineering:** {1-2 sentences}
- **Design:** {1-2 sentences}
- **Business:** {1-2 sentences}

### Individual Analyses

#### Product Lead
{structured analysis per Phase 2}

#### Engineering Lead
{structured analysis per Phase 2}

#### Design Lead
{structured analysis per Phase 2}

#### Business Lead
{structured analysis per Phase 2}

### Cross-Examination

#### {Expert A} vs {Expert B}: {tension topic}
- **{Expert A}:** {argument}
- **{Expert B}:** {counter-argument}
- **Tension:** {underlying tension}
- **Resolution:** {proposed compromise}

{repeat for each cross-examination}

### Unified Recommendation
- **Approach:** {Go | Go with conditions | Investigate further | No-go}
- **Confidence:** {High | Medium | Low}
- **Summary:** {3-5 sentences}
- **Key Tradeoffs:** {what is being sacrificed}
- **Mitigations:** {how risks are addressed}

### Unresolved Tensions
1. {tension that needs human judgment}
2. {tension that needs more data}

### Action Items

| #  | Action                      | Owner       | Priority | Timeframe    |
|----|-----------------------------|-------------|----------|--------------|
| 1  | {action}                    | {role}      | P0       | This week    |
| 2  | {action}                    | {role}      | P1       | This sprint  |

### Decision Checkpoints
- **Revisit when:** {condition}
- **Track metrics:** {metrics}
- **Escalate if:** {condition}

### Open Questions
1. {question for real stakeholders}
2. {question needing external data}
```

### 📐 Output Formatting Rules

- Each expert analysis should be roughly equal in depth (do not shortchange any expert).
- Cross-examination must include at least 3 pairings (4+ preferred).
- Action items must have all four columns filled.
- Unresolved tensions section is mandatory (even if short).
- The recommendation must pick one of the four approach options.
- Keep the problem statement under 50 words.
- Expert analyses should each be 150-300 words.

---

## 🧪 Edge Cases

### Purely Technical Decision
- Business and Design leads may have less to say. Have them focus on user impact
  and cost implications respectively.
- Do not force the Business lead to invent financial projections for a purely
  technical refactoring decision; instead focus on opportunity cost and risk.

### Purely Business Decision
- Engineering and Design leads may have less to say. Have them focus on feasibility
  and user experience implications of the business options.
- Engineering should assess what technical changes each business option would require.

### Crisis or Incident Response
- Shorten Phase 2 and expand Phase 5 (action items become urgent).
- All experts should prioritize immediate actions over long-term strategy.
- Include a "first 24 hours" action plan.

### Insufficient Context
- If the agent lacks critical information about the business, market, or users,
  state the gaps explicitly and provide conditional recommendations:
  "If X is true, then... If Y is true, then..."

---

## 🛠️ Recovery Behavior

- If one expert perspective is clearly irrelevant (e.g., Design lead for a
  database migration), give that expert a shorter analysis focused on downstream
  user impact rather than omitting them entirely.
- If the panel reaches quick consensus, still conduct cross-examination to test
  the consensus. Agreement should be earned, not assumed.
- If the problem is too large for a single panel session, recommend breaking it
  into sub-questions and running multiple panels.

---

## ✅ Next Steps

After completing this panel analysis, the user may want to:

- `/supercodex:design` -- Design the technical approach recommended by the panel
- `/supercodex:estimate` -- Get detailed effort estimates for the action items
- `/supercodex:build` -- Implement the recommended approach
- `/supercodex:brainstorm` -- Explore alternative approaches if the panel was inconclusive
- `/supercodex:document` -- Document the decision and rationale for stakeholders

---

## 📥 User Task

$ARGUMENTS
