logwarden: 3 records, 10 violations (1 blank or non-JSON lines)

fix first: the top 4 places cause 100% of the lines with violations
  25.0%	1 line	logger app.auth, event user_logged_in	adr_sensitive_data ×1, adr_trace_context ×1; fields: password, trace_id
  25.0%	1 line	logger app.clients.llm, event upstream_call_failed	adr_failure_context ×1
  25.0%	1 line	logger x, event Loaded # models	adr_banned_synonym ×1, adr_environment_value ×1, adr_event_name ×1, adr_missing_required ×1, adr_semconv_prefix ×1, missing_attribute ×1; fields: deployment.environment.name, foo_bar, http_route, service.version, status
  25.0%	1 line	lines that aren't JSON	adr_non_json_line ×1

  1	adr_banned_synonym - Banned synonym for an OTel semconv field
	fix: Rename the field to the semconv name given in the message.
	e.g. §2: 'status' is a banned synonym; use http.response.status_code

  1	adr_environment_value - Environment value is not a documented one
	fix: Set deployment.environment.name to development, staging, test or production.
	e.g. §3: environment 'dev' must be one of development, staging, test, production

  1	adr_event_name - Event is a constant snake_case name
	fix: Use a fixed name like import_completed and move variable data into fields: log.info("import_completed", rows_imported=n).
	e.g. §4: event 'Loaded 3 models' must be a constant snake_case name

  1	adr_failure_context - Failure line does not say what failed
	fix: On warning/error and *_failed lines log exc_info=True (gives exception.type), or error.type, or http.response.status_code.
	e.g. §10: 'upstream_call_failed' is a failure line without exception.type, error.type or http.response.status_code

  1	adr_missing_required - Required resource fields on every line
	fix: Add service.name, service.version and deployment.environment.name in one shared processor/formatter, not at call sites.
	e.g. §3: required field 'service.version' missing

  1	adr_non_json_line - Line is not a JSON object
	fix: Route every logger (including third-party libraries) through the JSON formatter. If the input mixes in non-log output, capture only the service's output.
	e.g. §1: line is not a JSON object (plain text)

  1	adr_semconv_prefix - Semconv name written with underscores
	fix: Use the dotted semconv key (http_route -> http.route). In structlog pass it as **{"http.route": value}.
	e.g. §2: 'http_route' uses '_' where semconv uses '.'; probably 'http.route'

  1	adr_sensitive_data - Secret or personal data in a log line
	fix: Don't log secrets, tokens, credentials, emails or card numbers. Log an id, a size or a redacted value instead, and redact in the shared processor.
	e.g. §8: 'password' holds a secret or credential; don't log it (log an id or a redacted value)

  1	adr_trace_context - trace_id/span_id not in W3C format
	fix: Take trace_id and span_id from the active OTel span: format(ctx.trace_id, "032x") and format(ctx.span_id, "016x"); omit both when no span is active.
	e.g. §7: trace_id must be 32 lowercase hex characters (W3C), not all zeros

  1	missing_attribute - Unknown field
	fix: Use the OTel semconv name if one exists. If it is a real domain field, declare it in logwarden-fields.yaml.
	e.g. Attribute 'foo_bar' does not exist in the registry.

by service:
  yallmp	3 lines	9 violations	0.0% compliant lines	top: adr_banned_synonym
  (none)	1 line	1 violation	0.0% compliant lines	top: adr_non_json_line

findings (first 10):
  line 1	adr_banned_synonym	§2: 'status' is a banned synonym; use http.response.status_code
  line 1	adr_semconv_prefix	§2: 'http_route' uses '_' where semconv uses '.'; probably 'http.route'
  line 1	missing_attribute	Attribute 'foo_bar' does not exist in the registry.
  line 1	adr_environment_value	§3: environment 'dev' must be one of development, staging, test, production
  line 1	adr_missing_required	§3: required field 'service.version' missing
  line 1	adr_event_name	§4: event 'Loaded 3 models' must be a constant snake_case name
  line 2	adr_non_json_line	§1: line is not a JSON object (plain text)
  line 3	adr_failure_context	§10: 'upstream_call_failed' is a failure line without exception.type, error.type or http.response.status_code
  line 4	adr_sensitive_data	§8: 'password' holds a secret or credential; don't log it (log an id or a redacted value)
  line 4	adr_trace_context	§7: trace_id must be 32 lowercase hex characters (W3C), not all zeros

not failing: undefined_enum_variant=1
