- Strip kanban, grid, and saved views from ViewsOverlay (1103→631 lines)
- Add sort order dropdown (Updated/Edges/Created) with localStorage persistence
- Polish filter button, dropdown, and filter chips
- Switch to server-side dimension filtering with AND logic (dimensionsMatch=all)
- Add description preview and edge count to node cards
- Add 'created' sort option and dimensionsMatch param to types, service, API
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add minWidth: 0 on all flex containers to enable proper truncation
- Title now truncates with ellipsis instead of pushing panel out
- Explanation row truncates to single line with ellipsis and title tooltip
- Type chip has flexShrink: 0 + whiteSpace: nowrap to prevent wrapping
- Delete button uses compact × with flexShrink: 0 (inline, not separate)
- Edit input has minWidth: 0 to prevent overflow
- Remove expand/collapse (5-item limit) — show all connections in tab
- Tighter spacing (6px padding, 2px gap) matching private repo polish
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add 'edges' to content tab bar (Notes | Desc | Edges | Source)
- Edges tab shows count badge, has Create/Cancel toggle for search
- Replace full-screen connections modal with inline tab content
- Search input appears conditionally via edgeSearchOpen state
- Connections button near title now switches to edges tab
- Remove ~400 lines of modal overlay code
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove guides from LeftToolbar pane type buttons
- Remove 'guides' from PaneType union and PANE_LABELS
- Remove GuidesPane from pane exports and ThreePanelLayout rendering
- Add migration to reset persisted slots that had type 'guides'
- Guides remain accessible via Settings modal (GuidesViewer tab)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add DimensionIconsContext for app-wide dimension icon sharing
- Enhanced getNodeIcon() with favicon/YouTube/PDF detection + dimension icons
- Propagate dynamic icons to GridView, ListView, SearchModal, FocusPanel, ViewsOverlay, FolderViewOverlay
- Add RahEdge component with hover labels for map edges
- Update RahNode with dimension-colored borders and icon support
- Add MiniMap with dimension color coding to MapPane
- MCP server: add description field to rah_update_node, bump standalone to v1.4.2
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Check Node version on startup, exit with clear message if >=24
- Catch better-sqlite3 load failure with actionable error message
- Cap engines to node >=18 <24 in package.json
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Switch rah_search_nodes and rah_search_content from LIKE to FTS5 with word-split LIKE fallback
- Rebuild nodes_fts and chunks_fts indexes on server startup
- Cap chunk field at 10K chars in rah_get_nodes (adds chunk_truncated, chunk_length)
- Multi-word queries now work ("Tesla manufacturing" finds both words anywhere)
- Relevance-ranked results when FTS available
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
B8 includes research into datetime column vs metadata approach,
schema migration considerations for packaged Mac app, and MCP
temporal querying patterns. Depends on B7.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add phase 2 (MCP guides) stories 16-19 as completed. Restructure PRD
into phases with a backlog section. Add B5 for MCP stress testing and
efficiency audit.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add system/custom guide separation with section headers, lock icons,
delete functionality for custom guides, and usage counter.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
All 3 doc files now describe the propose-a-node pattern, guide system,
and updated orientation flow.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Replaces generic "offer to save" with specific triggers and the
propose-a-node pattern for minimal-friction approval.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Clarifies get_context vs start-here hierarchy ("also" keyword).
Adds batch/result limits to rah_get_nodes, rah_search_nodes,
rah_query_edges descriptions. Adds title length to rah_add_node.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Adds immutable "start-here" system guide as the master orientation doc
for agents. Enriches all tool descriptions with key rules at point of
use so agents can execute simple tasks without reading guides.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Adds full guide system to MCP standalone server. System guides (schema,
creating-nodes, edges, dimensions, extract) are bundled and immutable.
Users can create up to 10 custom guides via rah_write_guide. Syncs guide
infrastructure from main repo to OS repo app code.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
All 3 doc files now list all 12 tools including rah_get_context and
rah_update_edge. Fixed local dev path (was stdio-server.js, now index.js).
Added "What to Expect" sections explaining proactive behavior.
Removed "run app first" requirement since DB auto-creates.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Single source of truth: OPENAI_API_KEY in .env.local. Deleted the
apiKeyService class/singleton that stored keys in localStorage.
All server code reads process.env directly. FirstRunModal and
Settings now show .env.local instructions instead of key input.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Changed from old stdio-server.js path to npx ra-h-mcp-server
- Added local development alternative
- Fixed tool list (removed rah_update_edge, added rah_list_dimensions)
- Added HTTP method section for real-time UI updates
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Added apps/mcp-server-standalone/ with direct SQLite access
- Works without RA-OS app running
- Install via: npx ra-h-mcp-server
- Updated docs/8_mcp.md with setup instructions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename all tools to rah_* prefix (generic, not Latent Space specific)
- Update server info to be generic RA-H branding
- Add optional write tools behind MCP_ALLOW_WRITES=true env var:
- rah_add_node, rah_update_node
- rah_create_edge, rah_update_edge
- rah_create_dimension, rah_update_dimension, rah_delete_dimension
- Read tools always enabled: rah_search_nodes, rah_get_nodes,
rah_query_edges, rah_list_dimensions
- No embedding search (disabled by DISABLE_EMBEDDINGS on hosted deployments)
This makes the HTTP MCP endpoint a general feature of ra-h_os that any
deployment can use, not specific to Latent Space Hub.
- Remove entire workflow system (API routes, services, tools, components)
- Add guides system from main ra-h repo (for external agent integration)
- Update pane types: 'workflows' → 'guides' throughout
- Update LeftToolbar to show guides icon instead of workflows
- Update SettingsModal with GuidesViewer tab
- Add GuidesPane for browsing guides in main UI
- Clean up prompts to remove workflow references
- Update tool registry to remove workflow tools
- Add gray-matter package for frontmatter parsing
Guides are essential for RA-H Light as they help external agents
(via MCP) understand the knowledge base context and usage patterns.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename to RA-H Light
- Describe as knowledge management backend for AI agents
- Add MCP integration section with Claude Code setup
- List all 11 available MCP tools
- Remove references to chat agents, voice, 3-panel interface
- Keep essential sections: quick start, project layout, commands, docs
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Delete src/types/prompts.ts (was used by deleted contextBuilder.ts)
- All other type files verified in use: analytics.ts, database.ts, logs.ts, views.ts, pdf-parse.d.ts
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove @ai-sdk/anthropic (was used by deleted Claude chat agent)
- Remove @ai-sdk/react (was used by deleted chat UI hooks)
- All remaining packages are actively used
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update ContextViewer description to remove chat reference
- All existing tabs remain useful for MCP/workflow functionality:
- Logs, Tools, Workflows, API Keys, Database, Context, External Agents
- No agent-specific or voice settings were present
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Delete src/services/context/supabaseTokenRegistry.ts (stub for private version, not imported)
- Keep requestContext.ts (used by workflow executor, middleware)
- Keep autoContext.ts (used by workflow API and tools)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Story 3: delegateToWiseRAH removed
- Story 4: Chat agent panels removed
- Story 5: Chat API routes removed
- Story 6: Two-panel layout (chat removed)
- Story 7: RAHChat and related components removed
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Deleted src/components/panes/ChatPane.tsx
- Removed 'chat' from PaneType in types.ts
- Updated ThreePanelLayout.tsx to remove chat pane case and references
- Updated LeftToolbar.tsx to remove chat icon and type
- Default slot B is now null (closed) instead of chat
- Cmd+\ now opens node pane instead of chat
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Deleted src/components/agents/AgentsPanel.tsx
- Deleted src/components/agents/MiniRAHPanel.tsx
- Deleted src/components/agents/WiseRAHPanel.tsx
- These components were not imported anywhere
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Deleted src/tools/orchestration/delegateToWiseRAH.ts
- Removed delegateToWiseRAH from registry.ts and groups.ts
- Deleted tests/evals/scenarios/delegate-wise.ts and delegate-mini.ts
- Updated tests/evals/scenarios/index.ts to remove deleted test imports
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- prd.json with 15 user stories for phases 1-3
- prompt.md customized for deletion workflow
- progress.txt initialized
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use React Portal to render popup to document.body
- Fixes stacking context issue that blocked button clicks
- Added mounted state for proper SSR hydration
- Increased z-index to 99999 with explicit pointer-events
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix .gitignore: logs/ -> /logs/ to only ignore root logs dir
- Add app/api/logs/route.ts (was being ignored by gitignore)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Copy /api/logs route from main repo (was never synced)
- Remove debug console.log statements
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The literal <username> string was being copied to .env.local, causing
EACCES errors when the app tried to create /Users/<username>/...
Now commented out - the code auto-detects using os.homedir()
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Settings viewers: consistent minimal styling across all tabs
- MapViewer: cluster layout, node sizing by edge count, transparent flat circles, connected node highlighting
- SettingsCog: green ring around settings icon for visibility
- All viewers: refined typography, spacing, and card styling
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix chunk_status: pass chunk_status/chunk/metadata to context builder
- Fix vector search: scope by node_id BEFORE similarity search
- Add eval logging system (RAH_EVALS_LOG=1)
- Add eval dashboard at /evals
- Add vitest for testing
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Added drag-to-chat: drag any node into chat input to insert [NODE🆔"title"]
- Added application/x-rah-node MIME type to all drag sources
- New views folder: GridView, KanbanView, ListView, ViewFilters, ViewPanel
- UI improvements: green pill node IDs, grid card fixes, dimension folder redesign
- Drop handler in TerminalInput with visual feedback
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Redesigned welcome screen with centered Start button and CAPTURE quick add
- Improved QuickAddInput with elegant mode tabs and circular submit button
- Restored existing connections view in connections modal with edit/delete
- Spotlight-style search modals across all search experiences
- Three-panel color system and neutral design updates
- Fixed textarea resize jump and node ID badge styling
- Simplify CONTRIBUTING.md for open source contributors
- Update version to 0.1.0 (Open Source) in overview
- Clarify BYO-key requirement in UI docs
- Expand open source explanation in docs/9
- Add comprehensive pre-public release audit notes