Skip to content

Pivot: focus Klonode on contextualization, drop chat UI #77

@smorchj

Description

@smorchj

The pivot

Klonode is not a Claude wrapper. It is a contextualizer that rides alongside Claude Code. Claude Code handles the conversation. Klonode watches, learns, and improves the routing. Two tools, one job each.

With recent Claude Code UI/framework improvements there is no reason to rebuild the chat experience. All our energy should go into making the contextualizer as good and solid as it can be.

Shipped

PR #78 — pivot foundation + live node graph

Phase 1: Foundational delete (-4377 lines). Removed the chat/CO/agent surface: ChatPanel, stores/chat, stores/agents, stores/settings, api/chat (+/stream, /classify), api/co, api/agents, core/agents/*.

Phase 2: Live node graph watcher (+875 lines). Server tail watcher on ~/.claude/projects/<path-hash>/*.jsonl, SSE endpoint, client EventSource wrapper, scope settings store, top bar watcher pill + Project/Machine scope toggle. Verified end-to-end: every Read into packages/core/... triggers a pulse ring on the packages node in real time. Also includes five bug fixes uncovered during verification (slash mismatch, stacking setIntervals, break→continue, lifetime tuning, project-scope ancestor walk).

Roadmap — open issues

The learning model is the heart of the contextualizer pivot. It works like human memory: repetition (boring, accumulative signals) builds confidence, emotion (rare, high-weight, time-decayed signals) builds urgency. Repetition is background hum; emotion is what makes the suggestions panel light up.

Foundation

Learning model

Analyzer trigger

User-facing output

Nice-to-have

Dependency order

#78 (shipped) ──┐
                ├── #79 ── #80 ─┐
                │               ├── #82 ── #83
                └── #79 ── #81 ─┤         ── #84
                                │
                #79 ────────────┴── #85

What we deleted (reminder)

  • ChatPanel as primary UI
  • Compare mode (with/without Klonode)
  • CO as a chat session
  • /api/chat/classify endpoint
  • Plan approval flow
  • Multi-agent / spawn_subagent plans (never built, dropped from roadmap)
  • sendMessage / approvePlan / sendComparison in stores/chat.ts
  • Related API routes that only existed to serve the chat panel

Plus six redundant issues closed that were scoped around the old model: #73, #71, #64, #63, #62, #44.

What stays and gets better

  • packages/core analyzer, content-extractor, generator, routing-graph, optimizer
  • packages/ui GraphView, TreeView, ContextEditor, GitHubView
  • CLI: klonode init, klonode optimize, klonode status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions