Skip to content

docs: rename app to Samaritan and sync docs#1

Merged
scaleborg merged 17 commits intomainfrom
feat/skills-chat-integration
Feb 16, 2026
Merged

docs: rename app to Samaritan and sync docs#1
scaleborg merged 17 commits intomainfrom
feat/skills-chat-integration

Conversation

@scaleborg
Copy link
Owner

Summary\n- rename app naming in README/docs/Mintlify from Second Brain to Samaritan\n- align docs API/contracts with current product surfaces\n- include Mintlify contract/schema updates and cleanup of unused Mintlify images\n\nOpened to force CI on this branch.

Includes skills registry, engine view, signal view, career patterns,
user skills API, and all frontend/backend changes to date.
Add migrations 0017-0022 to create normalized child tables for
project_skills, project_tech_stack, project_target_roles,
project_evidence, learning_concepts, learning_tools,
learning_code_snippets, message_sources, and impression_candidates.
Backfill existing JSON data during migration. Update all service-layer
reads to query child tables and writes to dual-write (JSON + child
tables) for safe incremental rollout. Store event large payloads
inline in payload_text column instead of on disk.
Add migration 0023 to DROP the now-redundant JSON columns:
skills_json, tech_stack_json, target_roles_json, evidence_json
(projects), concepts_json, tools_json, code_snippets_json
(learnings), sources_json (messages), candidates_json (impressions).

Remove all json.dumps/json.loads for normalized columns from service
layer. Remove import json from projects.py, extract_projects.py, and
learnings_store.py. Remove _source_list_adapter and TypeAdapter import
from history.py. Update _migrate_json_files to write directly to child
tables. Update migration test to expect sources_json absent.
Cover the full skill routing → dispatch → response flow for both
sync (process_chat) and streaming (process_chat_stream) paths,
including slash command dispatch, fallback when skill is missing,
skills list verification, and startup registration checks.
Wire up /api/skills endpoint and surface skill awareness in the chat UI:
- Slash autocomplete dropdown when typing / in chat input with keyboard nav
- Emerald "Skill: <name>" badge on responses with answer_origin: "skill"
- "Analyzing..." status text for the new analyzing stream status
Snapshot of pattern impact preview work from parallel session.
@scaleborg scaleborg merged commit 357221d into main Feb 16, 2026
7 checks passed
scaleborg added a commit that referenced this pull request Mar 14, 2026
Add 3 cases (tc_fig_001-003) that query figure description content
from the IRPAPERS paper. Tagged with "figure" for filtering.

- tc_fig_001: numeric lookup (recall@20 value from bar chart)
- tc_fig_002: method comparison (best at Recall@1)
- tc_fig_003: pipeline architecture (diagram components)

Results: Faithfulness 0.95-1.0, Context Recall 1.0 on all three.
Figure chunks rank #1-3 in retrieval for all cases.
Dataset version bumped to 2.1.0 (15 → 18 cases).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant