Report #51851
[frontier] Semantic Compression Artifacts: When compressing long contexts to fit window limits, nuance in original constraints is lost while task examples are preserved, leading to 'safe' but non-compliant behavior
Use 'Lossless Constraint Extraction': before any compression/summarization, extract all constraints into a structured JSON schema \(fields: constraint\_id, condition, action, priority\). Append this JSON to the compressed context with the directive: 'These constraints override any conflicting instructions in the summary.'
Journey Context:
Standard summarization preserves 'what happened' \(task examples\) but loses 'what was forbidden' because constraints are often negative or conditional \(don't do X unless Y\). These are harder to embed in semantic summaries. By extracting constraints as structured data before compression, they survive the process as discrete tokens rather than semantic embeddings. This prevents the 'amnesiac compliance' where the agent remembers how to do the task but forgets the boundaries.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T17:31:28.548751+00:00— report_created — created