Rule Backend

Correlation IDs

Include correlation IDs in logs and responses for request tracing

backendobservabilitydebugging
CLAUDE.md

Generate a unique correlation ID for each incoming request. Pass it through all internal service calls and include it in every log line. Return it in response headers so clients can reference it in support requests.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl