Commit Graph
85 Commits
Author SHA1 Message Date
“BeeRad”andClaude Opus 4.6 d1b63ea7bb fix: remove backlog from ralph/prd.json — belongs in ra-h backlog
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 16:24:34 +11:00
“BeeRad”andClaude Opus 4.6 d5759e63a4 docs: clean up backlog — remove fabricated items, keep only real tasks
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 13:06:24 +11:00
“BeeRad”andClaude Opus 4.6 efb1704cbf docs: add B7 (rename content→notes) and B8 (temporal awareness) to backlog
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>
2026-02-08 12:58:37 +11:00
“BeeRad”andClaude Opus 4.6 918ef637a7 docs: update PRD with phase 2 completion and add backlog
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>
2026-02-08 12:56:08 +11:00
“BeeRad”andClaude Opus 4.6 549476274d feat: separate guides into system and custom sections
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>
2026-02-08 12:51:44 +11:00
“BeeRad”andClaude Sonnet 4.5 7bf94d4c61 docs: update What to Expect sections with guides and proactive capture
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>
2026-02-08 12:29:25 +11:00
“BeeRad”andClaude Sonnet 4.5 0577ec727d fix: strengthen proactive knowledge capture in MCP instructions
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>
2026-02-08 11:42:13 +11:00
“BeeRad”andClaude Sonnet 4.5 e6c8c21f1f fix: tighten MCP instructions and tool description constraints
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>
2026-02-08 11:38:26 +11:00
“BeeRad”andClaude Sonnet 4.5 ed82a85fa9 feat: add start-here master guide + enriched tool descriptions
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>
2026-02-08 11:30:53 +11:00
“BeeRad”andClaude Sonnet 4.5 be675be4e0 feat: MCP server v1.2.0 — guide system + read/write guide tools
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>
2026-02-08 11:15:13 +11:00
“BeeRad”andClaude Opus 4.6 2465e7562c docs: update MCP docs — add rah_get_context, fix local path, auto-create DB
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>
2026-02-08 10:04:15 +11:00
“BeeRad”andClaude Opus 4.6 143587ebf1 feat: MCP server v1.1.0 — proactive knowledge capture, context tool, auto-create DB
Rewrite instructions to encourage proactive capture, add rah_get_context
orientation tool (hub nodes, dimensions, stats), add rah_update_edge,
improve tool descriptions, auto-create database on first connection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 09:59:27 +11:00
“BeeRad”andClaude Opus 4.6 3b04a1bad0 fix: move API keys to .env.local, remove localStorage dual system
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>
2026-02-06 11:46:41 +11:00
“BeeRad” 49ff3678a3 docs: clarify Node 20+ requirement, MCP setup, restart instructions 2026-02-02 15:41:29 +11:00
“BeeRad” 9099b20735 fix: correct docs URL to ra-h.app/docs/open-source 2026-02-02 15:21:52 +11:00
“BeeRad”andClaude Opus 4.5 7beba57f63 fix: fast node creation, first-run modal, simplified docs
- Skip AI calls when no valid OpenAI key (fixes 9-13s timeout)
- Add first-run modal prompting for API key
- Rewrite README for first-time users
- Add /api/health endpoint
- Remove all Anthropic references (not used in OS)
- Fix bootstrap script (dev:local → dev)
- Fix next.config.js devIndicators warning
- Add Node 18+ version check

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 15:10:46 +11:00
“BeeRad”andClaude Opus 4.5 38386afea4 docs: add Mermaid ER diagram to schema docs
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 10:32:35 +11:00
“BeeRad”andClaude Opus 4.5 e8b16e8f50 fix: update all docs with correct MCP setup (npm package)
- docs/0_overview.md - npm config instead of stdio path
- docs/README.md - npm config instead of stdio path
- docs/4_tools-and-guides.md - added standalone server to key files
- docs/8_mcp.md - already updated in previous commit

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 09:53:57 +11:00
“BeeRad”andClaude Opus 4.5 fbbfb737ce fix: update README with correct MCP setup (npm package)
- 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>
2026-02-02 09:50:44 +11:00
“BeeRad”andClaude Opus 4.5 bcea76800b feat: standalone MCP server (ra-h-mcp-server)
- 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>
2026-02-02 09:26:46 +11:00
“BeeRad”andClaude 5c480b01d6 docs: update for Guides system and terminology
- Rename Tools & Workflows to Tools & Guides
- Fix merge conflict in 4_tools-and-guides.md
- Update tool count and feature descriptions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-01 15:22:32 +11:00
“BeeRad” 6f2cc08f4d docs: remove workflows mention from README 2026-02-01 10:10:06 +11:00
“BeeRad” c1dca2f2c9 docs: update tools and workflows 2026-02-01 10:06:08 +11:00
“BeeRad” 91990bd7ae docs: add ASCII banner to README 2026-02-01 10:03:54 +11:00
“BeeRad” 16db5b61b6 docs: standardize RA-OS naming and add process docs 2026-02-01 09:47:33 +11:00
“BeeRad” 6c510096a3 refactor: rename ls_* to rah_* and add optional write tools
- 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.
2026-01-30 08:09:05 +11:00
“BeeRad” f3d240c604 feat: add remote MCP endpoint for external agent access
- Add app/api/mcp/route.ts with read-only ls_* tools
- Tools: ls_search_nodes, ls_get_nodes, ls_query_edges, ls_list_dimensions
- Uses WebStandardStreamableHTTPServerTransport for Vercel serverless
- Stateless mode (sessionIdGenerator: undefined) for proper serverless execution
- CORS headers for cross-origin agent access
- GET endpoint returns server info for debugging

Usage: claude mcp add --transport http latent-space https://latentspace.ra-h.app/api/mcp
2026-01-30 08:01:28 +11:00
“BeeRad” f67d6af862 chore: bump next to 15.1.12 2026-01-29 21:18:16 +11:00
“BeeRad” 5e0cf94dc5 docs: update tools and workflows 2026-01-29 21:03:01 +11:00
“BeeRad” 104b02b02f fix: disable vector setup when embeddings disabled 2026-01-29 21:03:01 +11:00
“BeeRad”andClaude Opus 4.5 b31441b35f feat(rah-light): replace workflows with guides system
- 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>
2026-01-29 16:29:24 +11:00
“BeeRad”andClaude Opus 4.5 f383d770ca docs: update documentation for RA-H Light
- Rewrite 0_overview.md for 2-panel UI + MCP focus
- Delete 1_architecture.md (agent hierarchy no longer applies)
- Delete 3_context-and-memory.md (agent context no longer applies)
- Rewrite 4_tools-and-workflows.md for MCP tools only
- Rewrite 6_ui.md for 2-panel layout
- Delete 7_voice.md (voice removed)
- Update 8_mcp.md with correct tool list (11 tools)
- Rewrite 9_open-source.md for RA-H Light
- Update README.md with new doc structure

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 16:06:54 +11:00
“BeeRad”andClaude Opus 4.5 ea61ef1023 docs: update prd.json and progress.txt for story 15 - SPRINT COMPLETE
All 15 stories pass. RA-H Light is complete:
- Removed: chat agents, voice, delegation, Anthropic integration
- Kept: node/edge/dimension CRUD, workflows, MCP server (11 tools)
- UI: 2-panel layout with settings modal

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:46:41 +11:00
“BeeRad”andClaude Opus 4.5 c557e95f04 docs: update prd.json and progress.txt for story 14
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:44:46 +11:00
“BeeRad”andClaude Opus 4.5 a7234be5f4 feat(rah-light): update README for lite version
- 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>
2026-01-29 15:44:06 +11:00
“BeeRad”andClaude Opus 4.5 883299d070 docs: update prd.json and progress.txt for story 13
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:43:27 +11:00
“BeeRad”andClaude Opus 4.5 0d2d4bf0fd feat(rah-light): remove extraction tools from MCP servers
- Remove rah_extract_url, rah_extract_youtube, rah_extract_pdf tools
- These tools called API endpoints that don't exist (/api/extract/*)
- MCP servers now expose 11 tools (down from 14):
  - Node CRUD: add, search, update, get
  - Edge CRUD: create, query, update
  - Dimension CRUD: create, update, delete
  - Semantic search: search_embeddings

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:42:49 +11:00
“BeeRad”andClaude Opus 4.5 a088b19556 docs: update prd.json and progress.txt for story 12
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:40:52 +11:00
“BeeRad”andClaude Opus 4.5 3181041090 feat(rah-light): remove unused prompts.ts type file
- 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>
2026-01-29 15:40:18 +11:00
“BeeRad”andClaude Opus 4.5 8e1220ff65 docs: update prd.json and progress.txt for story 11
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:39:17 +11:00
“BeeRad”andClaude Opus 4.5 3c3faa0c09 feat(rah-light): remove unused npm packages
- 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>
2026-01-29 15:38:43 +11:00
“BeeRad”andClaude Opus 4.5 b116bb57a4 docs: update prd.json and progress.txt for story 10
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:37:14 +11:00
“BeeRad”andClaude Opus 4.5 5cc198f52b feat(rah-light): simplify settings panel
- 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>
2026-01-29 15:36:40 +11:00
“BeeRad”andClaude Opus 4.5 e165c65627 docs: update prd.json and progress.txt for story 9
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:35:40 +11:00
“BeeRad”andClaude Opus 4.5 ee4053a0cf feat(rah-light): remove unused supabaseTokenRegistry
- 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>
2026-01-29 15:35:08 +11:00
“BeeRad”andClaude Opus 4.5 3dd766e248 docs: update prd.json and progress.txt for story 8
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:34:14 +11:00
“BeeRad”andClaude Opus 4.5 8a3b6df609 feat(rah-light): clean up unused agent services
- Delete src/services/ai.ts (not imported anywhere)
- Delete src/services/agents/registry.ts (only used by contextBuilder)
- Delete src/services/helpers/ directory (contextBuilder.ts, logger.ts - unused)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:33:37 +11:00
“BeeRad”andClaude Opus 4.5 cc5397e9ba docs: update prd.json and progress.txt for stories 3-7
- 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>
2026-01-29 15:30:49 +11:00
“BeeRad”andClaude Opus 4.5 2661be7c80 feat(rah-light): remove RAHChat and related components
- Deleted src/components/agents/RAHChat.tsx
- Deleted src/components/agents/TerminalInput.tsx
- Deleted src/components/agents/TerminalMessage.tsx
- Deleted src/components/agents/hooks/useSSEChat.ts
- Deleted src/components/helpers/ReasoningTrace.tsx
- Deleted src/components/helpers/ToolDisplay.tsx
- Simplified WorkflowsPane to show MCP integration message (no chat)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:30:05 +11:00
“BeeRad”andClaude Opus 4.5 a398819e26 feat(rah-light): remove chat pane, simplify to two-panel layout
- 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>
2026-01-29 15:27:53 +11:00
“BeeRad”andClaude Opus 4.5 d9c0ba89fe feat(rah-light): remove chat API routes
- Deleted app/api/rah/chat/route.ts
- Deleted app/api/rah/usage/route.ts
- Deleted empty app/api/rah/ directory
- RAHChat.tsx references removed in Story 7

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:24:03 +11:00
“BeeRad”andClaude Opus 4.5 92e48a2175 feat(rah-light): remove chat agent panels
- 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>
2026-01-29 15:22:14 +11:00
“BeeRad”andClaude Opus 4.5 844a9b57ab feat(rah-light): remove delegateToWiseRAH orchestration tool
- 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>
2026-01-29 15:20:35 +11:00
“BeeRad”andClaude Opus 4.5 fa96c238c2 feat(rah-light): remove voice features
- Delete voice hooks: useVoiceSession, useRealtimeVoiceClient, useAssistantTTS, useVoiceInterruption
- Delete voice API routes: /api/voice/tts, /api/realtime/ephemeral-token
- Delete voice service: src/services/voice/usageLogger.ts
- Clean up RAHChat.tsx: remove voice stub hooks and voice-related state/handlers
- Clean up TerminalInput.tsx: remove voice props, mic icons, amplitude visualizer

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:17:31 +11:00
“BeeRad”andClaude Opus 4.5 6b7bb5a5f9 feat(rah-light): remove agent delegation system
- Delete src/services/agents/delegation.ts (AgentDelegationService)
- Delete app/api/rah/delegations/ directory (all routes)
- Delete src/components/agents/DelegationIndicator.tsx
- Update workflowExecutor.ts to work without delegation streaming
- Update executeWorkflow.ts tool to execute workflows directly
- Update quickAdd.ts to execute directly without delegation tracking
- Add stub AgentDelegation types to UI components for compatibility
- Add stub voice hooks to RAHChat.tsx (will be removed in story 2)

Files deleted:
- src/services/agents/delegation.ts
- app/api/rah/delegations/route.ts
- app/api/rah/delegations/stream/route.ts
- app/api/rah/delegations/[sessionId]/route.ts
- app/api/rah/delegations/[sessionId]/summary/route.ts
- src/components/agents/DelegationIndicator.tsx

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:11:15 +11:00
“BeeRad”andClaude Opus 4.5 08012a8e5a chore: add ralph infrastructure for rah-light strip-down
- 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>
2026-01-29 15:01:10 +11:00
“BeeRad”andClaude Opus 4.5 9b2db68751 chore: codebase audit — remove dead code, unused deps, clean configs
Phase 1: Delete 19 dead component/service/tool files (4,200+ lines)
Phase 2: Remove 13 unused npm packages (Radix UI, shadcn utilities, ytdl-core, etc.)
Phase 3: Database schema — drop agent_delegations, add performance indexes
Phase 4: Remove 12 dead types from database.ts/analytics.ts/helpers.ts
Phase 5: Strip shadcn/ui theme from tailwind config
Phase 6: Clean env vars, fix broken imports (LocalKeyGate, MapViewer)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 08:52:15 +11:00
“BeeRad”andClaude Opus 4.5 65d22315e1 sync: interactive map canvas from private repo
- React Flow replaces custom SVG map (node dragging, edge creation, SSE sync)
- Redesigned QuickAddInput and EdgeExplanationModal (match SearchModal design)
- Selection highlighting with edge/node dimming
- Added tabBar prop to BasePaneProps and PaneHeaderProps
- Removed stale activeDelegations prop from QuickAddInput callers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 13:01:46 +11:00
“BeeRad”andClaude Opus 4.5 05523b7cb2 sync: Major UI updates from private repo (Jan 16-24)
Features synced:
- UI Panels Refactor: flexible pane system with ChatPane, NodePane,
  DimensionsPane, WorkflowsPane, ViewsPane, MapPane
- Source Content Reader: content type detection + 4 formatters
  (transcript, book, markdown, raw)
- Source Content Search: Cmd+F search in Source Reader
- Feed Layout Overhaul: LeftToolbar, SplitHandle, CollapsedRail
- Map Panel: promoted to first-class pane
- Edge policy simplification: auto-inference + direction correction

New files:
- src/components/panes/* (pane system)
- src/components/layout/CollapsedRail.tsx
- src/components/layout/LeftToolbar.tsx
- src/components/layout/SplitHandle.tsx
- src/components/focus/source/* (Source Reader + formatters)
- src/components/views/ViewsOverlay.tsx

Updated:
- ThreePanelLayout.tsx (complete refactor)
- FocusPanel.tsx (Source tab integration)
- API routes (dimensions GET, edges auto-inference)
- Database services (nodes, edges, dimensions)

Dependencies added:
- react-markdown
- remark-gfm

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 21:54:21 +11:00
“BeeRad” cea1df7f1f sync: Focus Panel UX Refresh from private repo
- Three-tab interface: Notes | Desc | Source
- Markdown preview with node tokens (react-markdown + remark-gfm)
- Formatting toolbar (H1/H2/H3/Bold/Italic)
- @mention functionality for linking nodes
- Description edit with 280 char limit

Run `npm install` to get new dependencies.
2026-01-14 22:15:09 +11:00
“BeeRad”andClaude Opus 4.5 419d29dbe8 sync: PDF file upload from private repo
- Add drag-and-drop PDF upload to Quick Capture
- New upload endpoint with size limits (warn 10MB, reject 50MB)
- Add extractFromBuffer method to PaperExtractor
- Visual feedback: drag-over highlight, file preview card

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 20:13:13 +11:00
“BeeRad”andClaude Opus 4.5 2cbc950fd4 sync: Idea Genealogy + Quick Capture Overhaul
From private repo:

Idea Genealogy:
- Required edge explanations across UI/tools/API/MCP
- Inferred edge schema (category/type/confidence)
- Added part_of relationship type
- Connection UI chips (Made by / Part of / Came from / Related)

Quick Capture Overhaul:
- Jina.ai fallback for JS-rendered sites (Twitter, SPAs)
- Simplified UI: removed mode buttons, auto-detect input type
- Renamed to "Add Stuff", moved to top-right
- Auto-edge creation from description entities
- Increased content summary length (500→1500 chars)

Description Generation Fix:
- Simplified prompt to "what is this"
- Added link/dimensions context
- Better creator attribution

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 17:08:26 +11:00
“BeeRad” f7b8b2058c sync: description generation fix - simplified prompt 2026-01-13 11:38:25 +11:00
“BeeRad” 4f030c7d29 sync: ingestion improvements from private repo
- Fixed dimension auto-assignment (locked dimensions now properly assigned)
- Added description field as grounding context for AI
- Updated embedding format: Title → Description → Content → Dimensions
- Description-weighted search (5x boost)
- Bug fixes: extraction tool dimension display, DimensionSearchModal closing
- Removed quickLink tool (use Quick Link workflow instead)
- Added regenerate-description API endpoint
2026-01-13 11:03:56 +11:00
“BeeRad”andClaude Opus 4.5 3f0426ecf4 sync: Agent Architecture Overhaul - AI SDK 6 + workflow optimization
Synced from private repo (feature/ai-sdk-6-upgrade):
- Upgrade AI SDK 5 → 6 (packages + API changes)
- Add sqliteQuery tool for flexible read-only queries
- New WorkflowExecutor with workflow-specific tools
- 83% token reduction for workflow execution
- Remove mini-rah dead code (simplified architecture)
- Add context management usage endpoint
- Fix Connect workflow instructions
- Clickable node references in workflow UI

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 20:59:27 +11:00
“BeeRad”andClaude Opus 4.5 f9271aeeb4 sync: Workflows P2 features from private repo
- 5 bundled workflows (prep, research, connect, integrate, survey)
- quickLink tool for fast edge creation
- queryDimensionNodes tool for dimension queries
- Workflow orchestration tools (list, get, edit)
- Dimension awareness with active dimension tracking
- Unified Workflows tab in Agent Panel
- MCP server updates for workflow execution

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 18:54:34 +11:00
“BeeRad” 3951d9daf4 docs: streamline repo docs, point to ra-h.app/docs
- Delete CODE_OF_CONDUCT.md (generic boilerplate)
- Simplify README.md, link to ra-h.app/docs as primary
- Simplify CONTRIBUTING.md
- Fix bug_report.md (was referencing PostgreSQL, uses SQLite)
- Gut bloated PR template
- Simplify feature_request.md
- Update docs/README.md to point to website
- Update docs/9_open-source.md
2026-01-05 12:57:03 +11:00
“BeeRad” 0f408bc907 docs: sync documentation from private repo
- Rewrite 3_context-and-memory.md (auto-context system, remove legacy memory)
- Create 7_voice.md (voice interface documentation)
- Update 0_overview.md, 1_architecture.md, 4_tools-and-workflows.md, 6_ui.md, 8_mcp.md
- Add simple human-readable intros to all docs
- Update README.md with voice doc reference

Synced from ra-h commit 4a3d7e0
2026-01-05 12:42:51 +11:00
“BeeRad” a3647c0693 sync: editable workflows from private repo
- Users can edit/create workflows from Settings → Workflows tab
- File-based storage for custom workflows
- Bundled workflows serve as fallback when no user file exists
- Added createEdge tool access for workflows (Quick Link)
- Cleaned up stale terminology in workflow prompts

Files synced:
- src/services/workflows/workflowFileService.ts (NEW)
- app/api/workflows/[key]/route.ts (NEW)
- src/services/workflows/registry.ts
- src/components/settings/WorkflowsViewer.tsx
- src/tools/infrastructure/registry.ts
- src/services/agents/wiseRAHExecutor.ts
- src/config/workflows/integrate.ts
- src/config/prompts/wise-rah.ts
2026-01-04 16:30:25 +11:00
“BeeRad”andClaude Opus 4.5 8190df8cf2 fix: LocalKeyGate popup buttons now clickable
- 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>
2025-12-30 15:33:12 +11:00
“BeeRad”andClaude Opus 4.5 bcfeb285bb fix: add /api/logs route (fix gitignore that was blocking it)
- 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>
2025-12-30 14:43:39 +11:00
“BeeRad”andClaude Opus 4.5 3e89407a53 fix: add missing /api/logs route, remove debug logging
- 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>
2025-12-30 14:41:00 +11:00
“BeeRad”andClaude Opus 4.5 c562f69efa debug: add console.log to LocalKeyGate and settings event
Debugging button click issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 14:13:59 +11:00
“BeeRad”andClaude Opus 4.5 e71e768828 fix: remove hardcoded <username> placeholder from .env.example
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>
2025-12-30 12:41:26 +11:00
“BeeRad”andClaude Opus 4.5 0e6bf12ad3 fix: OS release prep - bootstrap script, deps, docs
- Fix bootstrap script (.env.example.local → .env.example)
- Fix @langchain/core version conflict (^1.0.1 → ^0.3.0)
- Add settings:open event listener for LocalKeyGate button
- Pin Next.js to 15.1.3 (was "latest")
- Default runtime to 'local' mode
- Remove desktop app references from UI text
- Rewrite MCP docs for web-only context
- Add SECURITY.md, CODE_OF_CONDUCT.md, CHANGELOG.md
- Add docs/README.md, docs/TROUBLESHOOTING.md
- Update README with platform support table

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 12:24:56 +11:00
“BeeRad”andClaude Opus 4.5 ffbd47563e sync: Settings panel redesign + Map visualization overhaul
- 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>
2025-12-30 09:11:19 +11:00
“BeeRad”andClaude Opus 4.5 2f2ef10ec9 sync: bug fixes + eval system from private repo
- 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>
2025-12-28 16:09:25 +11:00
“BeeRad”andClaude e15f223ed8 sync: Drag-to-chat + views system from private repo
- 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>
2025-12-25 19:36:34 +11:00
“BeeRad”andClaude Opus 4.5 c9d85998c1 sync: Phase 3 Agent Features from private repo
Features synced:
- LucideIconPicker component (115 icons for dimension customization)
- Dimension editing modal (descriptions + icons)
- Compound filters (per-column AND filters)
- Improved dimension assignment with keyword tagging
- queryDimensions and getDimension agent tools

New files:
- src/components/common/LucideIconPicker.tsx
- src/tools/database/queryDimensions.ts
- src/tools/database/getDimension.ts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 10:05:02 +11:00
“BeeRad” 57a20899a5 sync: UI polish - welcome screen, connections modal, search modals
- 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
2025-12-24 16:55:10 +11:00
“BeeRad” ce5bee826c sync: features from private repo (2025-12-24)
Synced from ra-h private repo:
- Collapsible chat panel (Cmd+\)
- FolderViewOverlay with Kanban/Grid/List views
- Updated agent prompts
- Improved executor and quickAdd services
- New views.ts types

Files kept at OS versions (auth/backend deps):
- SettingsModal, RAHChat, useSSEChat
- Delegation tools and wiseRAHExecutor
- openExternalUrl (no Tauri)

Added stub: supabaseTokenRegistry.ts for compatibility
2025-12-24 09:57:32 +11:00
“BeeRad” 52602a06c4 docs: pre-release audit and documentation improvements
- 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
2025-12-24 09:43:51 +11:00
“BeeRad” 79895100c0 docs: add agent handover notes 2025-12-15 16:25:58 +11:00
“BeeRad” fb87e7cb32 docs: restore open source porting notes 2025-12-15 16:21:12 +11:00
“BeeRad” 733d1c3407 Initial commit: RA-H Open Source Edition
Local-first knowledge management system with BYO API keys.

Features:
- 3-panel UI (Nodes | Focus | Helpers)
- SQLite + sqlite-vec for vector search
- Agent system (Easy/Hard mode orchestrators)
- Content extraction (YouTube, PDF, web)
- Integrate workflow for connection discovery
- Dimension system with auto-assignment

Tech stack:
- Next.js 15 + TypeScript + Tailwind CSS
- Anthropic (Claude) + OpenAI (GPT) via Vercel AI SDK

Setup:
  npm install && npm rebuild better-sqlite3
  scripts/dev/bootstrap-local.sh
  npm run dev

MIT License
2025-12-15 16:14:28 +11:00