| name | add-business-rule |
| description | Use this when implementing or changing an expense policy rule in PolicyFlow using the owning vertical slice. |
When asked to add or change a business rule in PolicyFlow, work slice first.
Process
- Identify the exact rule in plain language.
- Identify the owning slice or slices.
- Check whether the rule depends on MCP policy tools.
- Keep the rule implementation inside the owning slice whenever possible.
- Update only the minimal Shared code required for true cross-slice concerns.
- Add or update focused tests that mirror the affected slice.
- Verify that the UI in the affected slice shows meaningful validation or workflow feedback.