Skip to content

tracking: session intelligence remainder (resurrected from #827, #804) #994

Closed

Description

@Sinity

Context

#827 was closed as "superseded" but the cited successor issues (#838, #804, #803, #802, #828) cover different scopes. #804 was closed with two ACs incomplete and no follow-up issue. The capabilities below are not currently tracked anywhere.

Capabilities

From #827:

  • Resume brief (session resumption summary surface)
  • Auto-classification of sessions (work / exploration / debug / etc.)
  • Learning feedback loop (corrections feeding back into classification)
  • Tool usage analytics (per-tool, per-session breakdowns)
  • Productivity analytics

From #804:

  • Timeline JSON UI renderer (data exists, no surface consumes it)
  • Hook-event timing analysis (granular timing not exposed)
  • Dedicated tests for temporal analysis surfaces

Source

Activity

  1. added
    type:feat
    type:tracking
    area:insights
    on May 9, 2026
  2. Sinity commented on May 11, 2026

    @Sinity
    OwnerAuthor

    Strengthening pass — session intelligence remainder

    This tracker is broad; make it implementation-friendly by splitting capabilities into substrate, stored product, and surface layers.

    Suggested scope split:

    • Resume brief: durable summary model plus CLI/MCP/API/read-surface rendering. It should cite sessions/messages/events used, not just produce prose.
    • Auto-classification: typed classification taxonomy, confidence/evidence payload, correction mechanism, and rebuild semantics.
    • Learning feedback loop: user corrections are stored as metadata/training signals without changing content hashes; rebuilds consume them deterministically.
    • Tool usage analytics: aggregate over parsed content blocks/provider events/actions with explicit provider/source coverage gaps.
    • Productivity analytics: derived rollups over sessions/work events; avoid subjective scoring unless evidence/caveats are explicit.
    • Timeline/session timing: message timeline JSON and per-tool timing should preserve provenance and distinguish hook timestamps from sort-key reconstruction.

    Implementation anchors:

    • Session insight models/storage under polylogue/insights/ and polylogue/storage/insights/session/.
    • Semantic/action extraction under polylogue/archive/semantic/ and content blocks/provider events.
    • User metadata/tag/summary paths for correction persistence.
    • CLI/MCP/API surfaces after substrate products exist.

    Acceptance should require one durable model per capability before UI work. Each model needs: schema/storage, rebuild path, readiness status, public read API, focused tests, and a small surface rendering.

  3. Sinity commented on May 17, 2026

    @Sinity
    OwnerAuthor

    Decomposition (2026-05-17)

    Split into six PR-sized children covering all capabilities listed in the body, mapped to the substrate / product / surface split from the strengthening pass.

    # Child Capability source Scope summary
    #1129 feat(insights): resume brief as durable insight + CLI/MCP/reader surfaces #827 W1 Promote insights/resume.py to a stored insight with provenance cites; CLI polylogue resume, MCP tool, reader panel
    #1130 feat(insights): session auto-classification with typed taxonomy and confidence #827 W3 Closed taxonomy enum, heuristic classifier, SessionClassificationInsight with confidence + evidence, auto-tags via #817
    #1131 feat(insights): learning feedback loop — corrections as deterministic rebuild signal #827 W10 UserCorrection storage outside content-hash boundary; rebuild paths consult corrections; CLI + MCP entry points
    #1133 feat(insights): tool usage analytics with explicit provider coverage #827 W11 Per-tool / per-provider rollups over action_events + content blocks; explicit coverage map; MCP tool
    #1134 feat(insights): productivity analytics rollups with explicit caveats #827 W16 Hour-of-day, project focus, context switching, outcome breakdown; no opaque scoring
    #1135 feat(insights): session timeline renderer with provenance and hook-vs-sortkey distinction #804 carry-over Renders message_timeline_json from #944 in CLI / reader / MCP; hook precedence with fidelity tag

    Status

  4. Sinity commented on May 17, 2026

    @Sinity
    OwnerAuthor

    Closing — all decomposition children shipped

    Per the 2026-05-17 decomposition comment, this umbrella tracked six child issues covering every #827 / #804 capability. All six are now closed:

    Capability Child Status
    Resume brief #1129 CLOSED
    Session auto-classification #1130 CLOSED
    Learning feedback loop #1131 CLOSED
    Tool usage analytics #1133 CLOSED
    Productivity analytics #1134 CLOSED
    Timeline renderer + hook-vs-sortkey #1135 CLOSED

    All capabilities from the #994 body (#827 + #804 carry-overs) are routed and closed via children. Closing as completed.

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

    area:insightstype:feattype:tracking

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions