---
name: business-analyse-review
description: "Apply client corrections from ba-review.json and regenerate the interactive HTML document"
model: opus
user_invocable: true
---

# /business-analyse-review

Apply corrections exported from the interactive HTML review (`ba-review.json`) to create a new version of the business analysis, then regenerate the HTML document.

## Triggers

- Explicit invocation: `/business-analyse-review`
- When `ba-review.json` is detected in the project root

## Parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `--path` | No | Path to ba-review.json (default: project root) |

## Prerequisites

- `ba-review.json` must exist (exported from the interactive HTML)
- Business analysis JSON files must exist (at minimum `index.json` + `cadrage.json`)
- Feature status must be `consolidated` or `reviewed`

## Workflow

| Step | File | Role |
|------|------|------|
| 00 | `steps/step-00-init.md` | Locate ba-review.json, detect feature, initialize variables |
| 01 | `steps/step-01-apply.md` | Create new version, apply corrections to JSON files |

After step-01 completes:
1. Determine correction scope (analysis data vs UI design vs both)
2. Route to the appropriate phase for re-execution
3. Regenerate HTML via `/business-analyse-html`

## Correction Routing

After applying corrections, ask the client which phase to re-execute:

| Correction type | Route to | Reason |
|-----------------|----------|--------|
| Entities, rules, UCs, permissions changed | `/business-analyse` step-03 (specify) | Re-run analysis for affected modules |
| Screens, wireframes, navigation changed | `/business-analyse-design` | Re-run UI design for affected modules |
| Both analysis and UI changed | `/business-analyse` step-03, then `/business-analyse-design` | Full re-specification |
| Only cadrage/scope corrections | `/business-analyse-html` | Just regenerate HTML |
| Client approves (no corrections) | `/business-analyse-handoff` | Proceed to PRD generation |

## References

| File | Content |
|------|---------|
| `references/review-data-mapping.md` | Reverse mapping from ba-review.json to module JSON files |

## Entry Point

**FIRST ACTION:** Load `steps/step-00-init.md`
