Skip to content

docs: 0.2.2 — teach agents the Leadbay inbox + two-scoring-layers mental model#14

Merged
milstan merged 1 commit intomainfrom
milstan/agent-inbox-model
Apr 21, 2026
Merged

docs: 0.2.2 — teach agents the Leadbay inbox + two-scoring-layers mental model#14
milstan merged 1 commit intomainfrom
milstan/agent-inbox-model

Conversation

@milstan
Copy link
Copy Markdown
Contributor

@milstan milstan commented Apr 21, 2026

Summary

Agents using Leadclaw were calling pull_leads like a generic DB query rather than as a daily inbox, and didn't know that leads past the auto-qualified top ~10 still exist and can be deepened on demand. This is a docs/copy-only 0.2.2 patch that reframes the agent-facing surface (MCP server instructions, composite tool descriptions, plugin manifest, README) around how Leadbay actually works: an inbox delivered per login, paced by user consumption; two scoring layers (basic score + AI-qualified top ~10 with ai_agent_lead_score); and a daily-check-in rhythm with host-agnostic scheduling. No schema changes — wire-compatible with 0.2.1.

Test plan

  • pnpm -r typecheck green
  • pnpm -r test green (core 58, leadclaw 12, mcp 20 — includes new SERVER_INSTRUCTIONS mental-model assertion)
  • Contract test (manifest version ↔ pkg version parity) passes after 0.2.2 bump
  • Manual: connect MCP server to Claude Desktop / Cursor and confirm first reply to "show me leads" frames it as today's inbox

🤖 Generated with Claude Code

…tal model

Agents were calling pull_leads like a generic DB query rather than treating it
as a daily inbox, and didn't know that leads past the auto-qualified top ~10
can still be deepened on demand. This reframes the agent-facing surface to
match how Leadbay actually works.

- SERVER_INSTRUCTIONS gains "How Leadbay works" (inbox + consumption-based
  pacing), "Two scoring layers" (basic score vs AI-qualified top ~10 with
  ai_agent_lead_score), and "Suggested rhythm" (daily check-in, host-agnostic
  scheduling hint). Verification mandate still leads.
- Composite descriptions (pull_leads, research_lead, bulk_qualify_leads,
  enrich_titles, account_status) reinforce the same model so the agent sees
  it at both top level and per-tool.
- OpenClaw plugin manifest description rewritten to match.
- README gains a "How Leadbay thinks" section.
- Non-regression test guards the inbox/pace/scoring/daily language.
- Bump @leadbay/mcp and @leadbay/leadclaw to 0.2.2 (patch — copy-only, no
  schema changes, wire-compatible with 0.2.1).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@milstan milstan merged commit f04033f into main Apr 21, 2026
1 check passed
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