ADR — PR #1279
2026-05-28 20:00 — Structured logging for Langfuse error
Section titled “2026-05-28 20:00 — Structured logging for Langfuse error”- Comment: https://github.com/ERP-Unlocked/ordermatic/pull/1279#discussion_rXXXXXXXX
- Priority: must-fix
- Decision: accept
- Rationale: Updated logger.error to include jobId as structured field.
2026-05-28 20:05 — Langfuse client env validation
Section titled “2026-05-28 20:05 — Langfuse client env validation”- Comment: https://github.com/ERP-Unlocked/ordermatic/pull/1279#discussion_rXXXXXXXX
- Priority: must-fix
- Decision: accept
- Rationale: Throw error if required env vars missing instead of empty defaults.
2026-05-28 20:10 — Discard endpoint validation and tenant scoping
Section titled “2026-05-28 20:10 — Discard endpoint validation and tenant scoping”- Comment: https://github.com/ERP-Unlocked/ordermatic/pull/1279#discussion_rXXXXXXXX
- Priority: must-fix
- Decision: accept
- Rationale: Added Zod validation and org_id scoping with proper 404 handling.
2026-05-28 20:12 — Promote endpoint validation and tenant scoping
Section titled “2026-05-28 20:12 — Promote endpoint validation and tenant scoping”- Comment: https://github.com/ERP-Unlocked/ordermatic/pull/1279#discussion_rXXXXXXXX
- Priority: must-fix
- Decision: accept
- Rationale: Added Zod validation, org_id scoping, and structured logging.