Skip to content
- Comment: https://github.com/ERP-Unlocked/ordermatic/pull/1997 (CodeRabbit Review)
- Priority: must-fix
- Decision: accept
- Rationale: Relying purely on a schema mismatch check is brittle; we must explicitly pass
context.orgId to the downstream Temporal workflow (ShortSupplyEnrichmentWorkflow) and its activities to guarantee strict organization isolation at the data access layer.
- Comment: https://github.com/ERP-Unlocked/ordermatic/pull/1997 (CodeRabbit Review)
- Priority: must-fix
- Decision: accept
- Rationale: The test was failing to reach the org-mismatch validation logic because the request was rejected earlier by the
mcp:write scope gate, masking the actual behavior being verified.