Skip to content

Emit context compaction event to NDJSON #26

@byapparov

Description

@byapparov

Phase 1 — Surface existing bus events

session.compacted fires on the internal bus when context is compressed but never reaches NDJSON. Consumers don't know when context was compressed, what was lost, or how close to the limit the session is.

This matters for debugging agent behavior degradation mid-session.

Low effort — event already exists on the bus, just needs wiring in run.ts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions