Skip to content

fix(lcm): converge summary and git-correlation projections for retained sessions #843

Description

@ScriptedAlchemy

Evidence

The active profile retains a large canonical corpus but has no usable discovery projections:

  • 244,016 raw messages: Claude 189,397; Codex 33,323; Cursor 21,296
  • zero summary nodes/frontiers for every nonempty provider
  • incomplete token estimates
  • git correlation has zero spans, commits, and projection generation
  • a known TraceDecay worktree returns no correlated sessions
  • bounded message_search and lcm_grep calls exceed the 30-second dispatch deadline, including a single-session query
  • lcm_doctor returned typed application.retained.authority-unavailable twice

Raw rows are present, so this is not an empty-data result. Query deadlines should not be raised; ordinary background convergence should build bounded discovery projections.

Acceptance

  • Attribute why summary-DAG, token-estimate, and git-correlation convergence remained at zero while raw ingestion continued.
  • Preserve canonical redaction/content authority and typed unavailable states.
  • A known TraceDecay worktree returns its correlated session.
  • A direct-user 12-hour search over this profile completes under five seconds.
  • LCM status reports nonzero current summary and git-correlation generations.
  • Recovery is bounded/background and does not block lexical, graph, or ordinary retrieval admission.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions