Commit Graph

7 Commits

  • feat: add /understand-knowledge for Karpathy LLM wiki knowledge bases
    Support the Karpathy LLM wiki pattern — a three-layer architecture
    (raw sources + wiki markdown + schema) with wikilinks, index.md
    categories, and append-only log.md.
    
    Pipeline:
    - parse-knowledge-base.py: deterministic extraction of articles,
      wikilinks, categories from index.md, source nodes from raw/
    - article-analyzer agent: LLM-based entity/claim extraction and
      implicit relationship discovery (builds_on, contradicts, etc.)
    - merge-knowledge-graph.py: combines scan + analysis with entity
      dedup, layer assignment from categories, tour generation
    
    Dashboard:
    - KnowledgeGraphView with d3-force layout (community clustering
      by index.md categories, degree-proportional sizing)
    - 5 knowledge node types (article, entity, topic, claim, source)
    - 6 knowledge edge types with visual styling
    - KnowledgeNodeDetails sidebar (wikilinks, backlinks, preview)
    - Auto-detect kind:"knowledge" → knowledge-only view mode
    
    Core:
    - 5 node types + 6 edge types added to NodeType/EdgeType unions
    - KnowledgeMeta interface (wikilinks, backlinks, category, content)
    - kind field on KnowledgeGraph for view mode detection
    - Zod schemas + node/edge type aliases
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
  • feat: add live demo dashboard on GitHub Pages
    Add a demo mode to the dashboard that fetches graph data from Supabase
    Storage instead of the local Vite dev server, bypasses the token gate,
    and deploys alongside the homepage at /Understand-Anything/demo/.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
  • fix: resolve plugin installation failures for workspace resolution and missing dependencies
    - Add pnpm-workspace.yaml to plugin distribution so workspace:* deps resolve on install
    - Add devlop and hast-util-to-jsx-runtime as explicit dashboard dependencies (pnpm strict hoisting)
    - Make tsconfig.json files self-contained to work outside monorepo root
    - Add prepare script to auto-build core package after pnpm install
    - Bump version to 1.0.2
  • feat: redesign dashboard with dark luxury theme, improve agent pipeline
    - Remove ChatPanel and @anthropic-ai/sdk dependency (redundant with /understand-chat)
    - Replace Monaco editor with styled summary code viewer
    - New graph-first layout: 75% graph + 360px right sidebar
    - Dark luxury aesthetic: deep blacks, gold/amber accents, DM Serif Display typography
    - Add ProjectOverview component for sidebar default state
    - Learn persona now shows tour panel directly in sidebar
    - Add schema validation on graph load with error banner
    - Defensive null checks in store for tour methods
    - Agent pipeline: write intermediate results to disk instead of context
    - Agent models: sonnet for simple tasks, opus for complex (no haiku)
    - Prompt-engineer all 5 agent prompts and SKILL.md
    - Auto-trigger /understand-dashboard after /understand completes
    - Add dashboard screenshot to README
    - Bump version to 1.0.1
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
  • refactor: restructure monorepo into Claude Code plugin layout
    Move packages/{core,dashboard,skill} into understand-anything-plugin/ to
    conform to the Claude Code plugin format. Add .claude-plugin/marketplace.json
    for plugin discovery. Update workspace config and docs accordingly.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>