Halopen output
“"Refactor the inventory adjustment endpoint so the audit-log entry is written inside the same transaction as the inventory update, not after. Use the existing AuditLogger interface — don't add a new abstraction. Keep the response shape identical. Add a regression test that fails if the audit row commits separately from the inventory row."”
- · Architectural constraint ("inside the same transaction") preserved
- · Negative constraint ("don't add a new abstraction") preserved
- · Existing class name (AuditLogger) captured exactly
- · Test specification ("fails if … commits separately") landed verbatim