Skip to content

feat(kernel): proactive v2 — event-driven proactive architecture #786

@crrow

Description

@crrow

Description

Implement event-driven proactive architecture (Proactive V2) to replace the polling-only heartbeat mechanism. Three layers: Event Source (ProactiveSignal variants in KernelEvent), Event Filter (rule-based quiet hours/cooldowns/rate limiting), and Mita Context Pack (structured event delivery replacing vague heartbeat message).

Phase 1 scope: internal session events (SessionIdle, TaskFailed, SessionCompleted) + time events (MorningGreeting, DailySummary) + filter + context pack.

Design doc: docs/plans/2026-03-20-proactive-v2-design.md

Component

kernel (core runtime, heartbeat, event bus)

Alternatives considered

  • Separate event system outside KernelEvent — rejected to avoid dual event pipelines
  • LLM-based filtering — rejected for cost; pure rules suffice
  • Heartbeat as sole driver — current state, insufficient for real-time response

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:claudeOperations performed by ClaudecoreCore system changesenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions