Commit graph

18 commits

Author SHA1 Message Date
Natalie
2d5ae395dc feat(mcp): add classify_message tool to mcp-prospector (prospector copilot) + architecture docs for desktop coworker composition
mcp-prospector is the prospector copilot MCP for Claude desktop coworker (Executor) to use central intelligence.

- New tool `classify_message(text, handle?, phone?, has_call?, local_is_known_contact?)`: runs fast efficient rules classifier (our distilled model from training data) + full central stack (LLM via GPU model-boss if deployed, mrnumber, macsync/quinn-messenger context via thread/classify, qualification). Supports passing local desktop context for Contacts gate.
- Local fastClassify/fastTemplate inlined for the MCP (pure, no extra dep issues).
- Updated README with full architecture:
  - Composition: quinn-messenger (messaging), mrnumber (screening), classifier (fast + GPU LLM), macsync (data), quinn-desktop (local MCP for addressbook/Contacts gate, other sensors).
  - Desktop coworker loads multiple MCPs (this central + quinn-messenger MCP + quinn-desktop local MCP).
  - SKILL instructs workflow: desktop local lookup first, then central classify_message for combined result using optimized model + all sources.
  - Replaces pure local stopgap rules with central quality while keeping desktop facts.
- This lets the desktop coworker classify messages using the full prospector copilot feature (central brain on GPU + local).

Follows project: prospector central in api, macsync network, MCP as tool interface for agents, hybrid fast rules + LLM.

Part of making prospector copilot the way for coworker + replace claude deps (GPU for LLM part).
2026-06-28 11:59:10 -04:00
Natalie
90936f749f Merge remote-tracking branch 'origin/main'
# Conflicts:
#	.project/handoffs/20260628_tours-landing-pages-db-driven.md
#	.project/plans/mr-number-prospector-integration.md
#	codebase/@features/api/scripts/backfill-tour-landings-20260628.ts
2026-06-28 09:23:01 -04:00
Natalie
1b3e8af550 feat(prospector-mcp): add mr_number_check + mr_number_history tools
Expose Mr. Number client screening through the quinn-prospector MCP:
- mr_number_check records an app-lookup verdict (client_id + phone + result
  + notes) via POST /admin/screening/check with service=mr-number; the
  server auto-creates a reputation award/flag on approved/denied.
- mr_number_history lists a client's screening checks via
  GET /admin/screening?clientId=.

Mirrors mr_lookup.py record_screening() wire body (clientId required — the
BFF rewrite drops it from the path).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 08:16:04 -04:00
Natalie
14728baedd feat(prospector): integrate macsync outbox/calls/notes/mark-read + pastebin live templates + conversation state machine + warm-queue backfill
- shared/mac-sync/send: outbox enqueue, notes list, calls?since, markRead (logical)
- prospect-pastebin: hourly cache from /my/notes, parser for ①-⓱ + PERSONAS/Vicky + CANON
- prospect-state: inferState + decideNextAction table (NEW/ENGAGED/... x archetype → template + priority + timing)
- prospect-cockpit: send now enqueues outbox (priority/not_before), calls markRead + worked stamp
- prospect-backfill: warm scope since 2026-06-22 does classify + pastebin render + outbox enqueue + guardrails (never-text, dedupe, handled)
- prospect-classifier/structural: call signal (texted+called) in facts/prompts for higher intent
- prospect-draft: generateWithEngine prefers pastebin render when actionTemplateKey
- mcp-prospector: expose warm_queue status/start tools
- prospector never sends direct iMessage anymore (delegates to macsync outbox for true status/pacing)
- collective: full auto-send guardrails + hourly pastebin + inbound+outbound + mark handled
2026-06-28 06:38:11 -04:00
Natalie
1235696046 refactor(mcp-prospector): delegate to @lilith/agent-prospector
Move the prospector cockpit logic into the published @lilith/agent-prospector
package (^0.4.0) and reduce the MCP to a thin adapter — index.ts/client.ts shrink
by ~900 lines. Bump to 0.5.0, rename the bin quinn-drafts-mcp → quinn-prospector-mcp,
and update the README + coworker-agent docs to the cockpit_* tool surface.
2026-06-21 17:35:08 -05:00
Natalie
2a449596e9 feat(mcp-prospector): cockpit tools mirroring the quinn.my Prospector UX
Reorient the prospector MCP around the /my/prospects cockpit API that powers
quinn.my Prospector: add cockpit_stream / cockpit_tour_board and friends with
human-readable formatters (new cockpit-format.ts), extend the API client, and
rewrite the README (quinn-drafts → quinn-prospector, black:3912).
2026-06-21 16:24:43 -05:00
autocommit
84d31a0afe feat(prospector-quinn): Introduce AI prospecting tools (heat scoring, reply generation) and Quinn-AI gateway integration, alongside frontend UI updates, backend API refactoring, and infrastructure enhancements for edge-purge and proxy services.
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-10 20:40:01 -07:00
autocommit
158a704418 breaking(api): 💥 Update client entity schema, prospector classification, and admin photo export routes with breaking changes
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-10 14:58:14 -07:00
autocommit
12de9ea5e5 deps-upgrade(deps): ⬆️ Update dependency versions to enforce consistent and compatible package.json and lockfile across the codebase
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-10 14:58:14 -07:00
autocommit
978b2c314c feat(mcp-prospector): Introduce McpProspectorClient class for MCP prospector service integration
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-03 06:37:09 -07:00
autocommit
3d17f125ce feat(client-repo): Introduce ClientRepository and ClientProspector for client data management and MCP prospecting with admin interfaces
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-02 23:24:06 -07:00
autocommit
b5bf784ff9 feat(mcp-prospector): Add archetype filtering to prospect lists with new filtering logic and API support
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-14 15:38:13 -07:00
autocommit
0aa85b9070 feat(mcp-prospector): Configure rate limiting settings in MCP prospector to enforce new throttling rules
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-13 11:30:10 -07:00
autocommit
fcbe74fe46 feat(mcp-prospector): Add prospect management client functions for fetching, listing, tagging, and funnel stage operations
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-12 21:30:51 -07:00
autocommit
46c9cf2f67 feat(mcp-prospector): Introduce McpProspectorClient class for MCP prospector data fetching and service interactions
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-12 21:24:16 -07:00
autocommit
8b9276dc7a remove(mcp-prospector): 🔥 Remove MCP Prospector client implementation, logging utilities, and documentation; update dependency lockfile and README
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-12 20:34:44 -07:00
autocommit
d1f112c68b chore(api): 🔧 Update TypeScript config for MCP Drafts and MCP Prospector modules with new compiler options and paths
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-12 20:34:43 -07:00
autocommit
fcaeb8e8ce deps-upgrade(api): ⬆️ Update MCP drafts and prospector dependencies to latest versions
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-12 20:34:43 -07:00