{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-semantic-convention-attribute-drift-is-corrupting-safety-signal-audit-replay",
  "title": "What structural signals indicate semantic-convention attribute drift is corrupting safety-signal audit replay",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent runtime that emits safety signals (refusals, redactions, escalations, policy hits) as structured telemetry whose attribute keys and value types are governed by a versioned semantic convention (e.g. GenAI/OpenTelemetry-style `gen_ai.*` schemas). Does not cover unstructured log lines or free-text audit notes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-semantic-convention-attribute-drift-is-corrupting-safety-signal-audit-replay.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-semantic-convention-attribute-drift-is-corrupting-safety-signal-audit-replay.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-semantic-convention-attribute-drift-is-corrupting-safety-signal-audit-replay.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1501,
    "python_slice_tokens": 426,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A safety signal is not a log message; it is a *typed claim* whose meaning is fixed by a schema version. The failure mode here is **attribute-schema drift under replay**: the emitting agent and the replaying auditor resolve the same attribute key to different types or semantics, so the auditor reconstructs a decision that the emitter never made. The distincti...",
    "what_was_observed": "An agent fleet emitted safety signals across a rolling schema upgrade. Emitter instances on convention v1.4 wrote `gen_ai.safety.action` as an integer enum (`0=allow, 1=redact, 2=block, 3=escalate`). A partial deploy moved some emitters to v2.0, where the same key became a string enum and — critically — the numeric ordering was redefined (`1=block, 2=redact`). During a routine audit replay, the auditor loaded all rec...",
    "condition_of_validity": "The invariant that bounds this failure: **an attribute value is only interpretable in conjunction with the schema version that was active at emission time, and that version must be embedded in the record itself, not inferred from ingestion context.** A replay is valid only if, for every signal, `resolve(key, value, emitting_schema_version) == resolve(key, va...",
    "decision_boundary": "Bound the failure at the ingestion boundary with a **reject-on-ambiguity** rule rather than a coerce-on-mismatch rule. Concretely: (1) every safety signal carries `schema.version` as a first-class, non-optional attribute set by the emitter at construction; (2) the auditor resolves each attribute through the *record's* declared version, never a global default...",
    "operational_effect": "With reject-on-ambiguity, the 4,100 misclassified records become a single drift alarm keyed to the v1.4→v2.0 enum reordering, and the audit reports \"N unplayable records across a version boundary\" instead of a fabricated block count. The cost is that partial audits must report a coverage gap; the benefit is that the gap is honest. Teams that instead add a co..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "1cc93339ccab5d795dc0d84cdcbca0f2dec6e1555de565ece835d16aa16a13a0",
    "verified_classes": [
      "SchemaDriftError",
      "SafetySignal"
    ],
    "verified_functions": [
      "replay_attribute",
      "audit_replay"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "SchemaDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
