Skip to content

Stop routing threads to the "worth a comment" lane, and hide the ones left in the feed - #97

Merged
kev1n merged 1 commit into
mainfrom
drop-context-lane
Sep 23, 2026
Merged

kev1n merged 1 commit into
mainfrom
drop-context-lane

Conversation

@kev1n

@kev1n kev1n commented Sep 23, 2026

Copy link
Copy Markdown
Member

Why

On the 442 leads labelled 2026-09-22, with #96 deployed, the "worth a comment" (context) lane showed 11 threads: none good, 6 weak, 5 bad. The buyer lane showed 146 threads, 49% good and 13% bad. Every one of the 11 got in as no_active_need with fit 3. The lane also skips everything #96 added: OVER_THRESHOLD let any context lead past the score floor, and the lead model only decides buyers.

What

  • routeLead (src/lib/scan/gates.ts) returns "buyer" or null. Helpers and threads where nobody asks are dropped.
  • The feed (OVER_THRESHOLD in src/lib/leads.ts) hides context leads with status new. Stored ones are hidden, not deleted, so nothing is lost. A context lead the user already resolved or hid stays in that tab.
  • LeadKind keeps "context" for those stored rows, and the "Worth a comment" chip still marks them in the lead detail view.

No rescore or migration is needed: the feed stops showing the old rows immediately, and new scans stop creating them.

Tests

550 passing. The routing tests now expect null for a helper or a thread with no active need, even at fit 3. The feed tests cover a hidden new context lead and a resolved one that stays visible.

🤖 Generated with Claude Code

… left in the feed

A helper, or a thread where nobody asks, used to become a `context` lead
whenever the product plainly fit. On the 442 leads labelled 2026-09-22 that
lane showed 11 threads, none good and 5 bad, against 49% good and 13% bad
for buyers, and it skipped both the score floor and the lead model that
decide buyers. routeLead now returns a buyer or nothing.

Context leads already stored stay in the database. A new one is hidden from
the feed; one the user resolved or hid stays in that tab.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@kev1n
kev1n merged commit 65bd7c8 into main Sep 23, 2026
1 check passed
@kev1n
kev1n deleted the drop-context-lane branch September 23, 2026 17:46
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