How chincai-org/taylor-hackerdorm-domarthon works
Sharpmon is a customer-support harness optimization service. Users create a benchmark-backed tree, inspect a parent harness and its history through the web UI or MCP, submit bounded parent-relative changes, and receive an automatically evaluated child node; regressions remain recorded but cannot be used as parents. The map includes the documented REST, MCP, and web surfaces, plus harness import/runtime and model-chat capabilities. Some route and frontend internals were not sampled, so those links rely on README documentation; optional external integrations are shown separately.
Main entry points: mcp_server.py MCP tools · evaluator.py Rollout and council evaluator · main.py FastAPI application · tree_creation.py Tree initialization
Components 21
Product interfaces
- FastAPI application
app/main.py - REST API
app/api/main.py - Tree endpoints
app/api/routes/trees.py - DeepSeek endpoints
app/api/routes/deepseek.py - MCP tools
app/mcp_server.py - Gallery and tree pages
app/web/templates
Harness optimization
- Tree initialization
app/services/tree_creation.py - Harness import and validation
app/harness/importer.py - Harness formats and runtime
app/harness/dsh.py - Suggested changes
app/harness/suggested_changes.py - Tree history digest
app/services/tree_digest.py
Evaluation
- Rollout and council evaluator
app/services/evaluator.py - LLM client
app/services/deepseek_client.py - Agent tool runtime
app/services/tool_runtime.py
Persistence
- Tree repository
app/db/repository.py - Tree and benchmark records
app/db/models.py - SQL database
app/db/engine.py
Other components
- Workbuddy optimizer
- Web user
- Candidate agent service
- Judge model council
Connections 30
- Web user → FastAPI application: opens pages
README.md - Workbuddy optimizer → MCP tools: uses MCP
README.md - FastAPI application → REST API: mounts API
app/main.py - FastAPI application → MCP tools: mounts MCP
app/main.py - FastAPI application → Gallery and tree pages: renders pages
app/main.py - REST API → Tree endpoints: registers routes
app/api/main.py - REST API → DeepSeek endpoints: registers routes
app/api/main.py - Tree endpoints → Tree initialization: creates trees
app/api/routes/trees.py - MCP tools → Tree initialization: creates trees
app/mcp_server.py - MCP tools → Suggested changes: applies changes
app/mcp_server.py - MCP tools → Tree history digest: builds digest
app/mcp_server.py - Tree initialization → Harness import and validation: imports harness
app/services/tree_creation.py - Tree initialization → Harness formats and runtime: serializes harness
app/services/tree_creation.py - Tree initialization → Tree repository: persists tree
app/services/tree_creation.py - MCP tools → Rollout and council evaluator: evaluates children
app/mcp_server.py - DeepSeek endpoints → LLM client: requests chat
app/api/routes/deepseek.py - DeepSeek endpoints → Agent tool runtime: executes tools
app/api/routes/deepseek.py - LLM client → Agent tool runtime: runs tool calls
app/services/deepseek_client.py - Rollout and council evaluator → LLM client: requests judgments
app/services/evaluator.py - Rollout and council evaluator → Candidate agent service: sends rollout
- Rollout and council evaluator → Judge model council: sends ballots
app/services/evaluator.py - Rollout and council evaluator → Tree repository: stores scores
app/services/evaluator.py - Tree repository → Tree and benchmark records: queries records
app/db/repository.py - SQL database → Tree and benchmark records: creates tables
app/db/engine.py - FastAPI application → SQL database: initializes tables
app/main.py - Web user → Tree endpoints: creates trees
README.md - Gallery and tree pages → Tree endpoints: loads tree data
README.md - MCP tools → Tree repository: reads tree state
app/mcp_server.py - Harness import and validation → Harness formats and runtime: validates format
app/harness/importer.py - Rollout and council evaluator → Candidate agent service: calls candidate API