Repository navigation
feat(automation): ball-board v7 -- a mailbox provider's matter is not one client - #5450
Merged
Merged
Conversation
… one client The CRM-mail join was measured, not guessed: no CRM person matches a mail matter by name, username or address (crm_people has no email), so the join stays the explicit ball_link. The defect runs the other way: jcrm keys a matter by domain, so gmail.com is one matter of 14 people under one terminal stage while 3 of them wrote last. pooled_matter names such a matter; the board counts it and says so on the card, the ball stays jcrm's. Closes #5449 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closes #5449 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Contributor
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
This was referenced Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #5449
Why
The owner asked for one "where is the ball" status per client, with the CRM and the mail joined by client. Before writing a join I measured it.
crm_peoplehas no email column. The join stays the explicitball_linkthat v2 added; an automatic join would only invent pairs.gmail.comis one matter of 14 people under one terminal stage ("rejected", so nobody's move), while 3 of them wrote last within a day.What
pooled_matter(matter_is_shared, people): a matter named by a shared domain with more than one person is a mailbox, not a client.POOLED_IS_COUNTED: the board reports the number and names it on the card. The ball stays jcrm's, because the board has no per-person stage to put in its place.POOLED_SEEN = 2(gmail.com, groups.io) andCRM_MAIL_OVERLAP_SEEN = 0record the measurement.Checks
t27c check: Typecheck OK.tri hooks commit-msgandtri hooks pre-push: PASSED, run by hand with~/t27-ball'stri, because the worktree hooks look only in this worktree'starget/.The host change is in 999-multibots-telegraf. The source fix (split shared-domain matters by address) belongs in jcrm
classify().🤖 Generated with Claude Code