Skip to content

3.2 Emission quality

3. Actions / PL3-emission-quality

3.2 Emission quality

code produces structured, correlated, breadcrumb-style signal. Silent handlers are a bug, not a feature. Correlation identifiers reference production entities via pseudonymous tokens (user-ID, session-ID, request-ID), not PII-derived values (email, phone, name) — logs are an engineering surface, and `PL4-pii-masking` applies


Levels

Level 0

Sparse or unstructured logs; silent handlers leave the agent blind to what happened

Level 1

Logs exist but inconsistent structure, missing correlation IDs

Level 2

Structured logs with correlation IDs, state transitions, and decision breadcrumbs throughout. Correlation IDs are pseudonymous; raw PII is not used as a correlation identifier, and log payloads are scrubbed of PII at the emission boundary per `PL4-pii-masking`

Level 3

Emission gaps detected from incident postmortems auto-generate logging-improvement tasks; emission quality measurably improves over time


Recipes that advance this criterion

No recipes yet.