Repository navigation
Commit 80ff4db
[TASK-395688] Perfect Meetings: better people research, confidence, and profiles (#122)
## Summary
The meeting researcher missed an attendee because the prompt replaced
the email-derived name with "(full name unknown)". The agent then
searched only the address and gave up after one search.
- **Research prompt:** passes the email handle as a hint (`email handle
"demarcus"`) and the likely company name, and tells the agent which
searches to try, in order, when the full name is unknown (handle +
company + LinkedIn, handle + company, then the quoted email). It must
run at least two before giving up.
- **Confidence:** new People `Confidence` select (High/Low). A partial
match (such as a first name at the right company) is saved as Low. A
later match can replace it, but it never overrides High. Setting High by
hand locks the name and role. The Next meeting card shows `(low
confidence) <role>`.
- **People profiles:** each prep writes a `## Profile` section above `##
Notes` on every attendee's page:
- role and responsibilities, with the source linked
- meetings in the last 90 days from the calendar (three one-month
`listEvents` calls), linked to Meetings pages
- a summary of recent meetings and email
A Low match gets a warning callout. Profile writes are best effort and
never fail the brief.
- **Profile links:** new People `LinkedIn`, `X`, `Instagram` and
`Personal site` URL properties. The researcher looks only for the empty
ones, and the prompt lists known profiles so it skips them. Each URL has
to be on its network's domain. The Next meeting person cards link to the
profiles that are set.
- **Parsing:** unwraps Markdown links the agent added around emails,
domains, and URLs. It had returned `[mintlify.com](http://mintlify.com)`
as a domain.
## Testing
- `npm run check`, `npm test` (89 passing), `npm run build`
- Deployed to dev and tested with hand-made test meetings, so no
calendar invites were created or sent:
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent e1a59e4 commit 80ff4db
15 files changed
Lines changed: 1228 additions & 103 deletions
File tree
- apps/templates/perfect-meetings
- blocks/nextMeeting
- src
- lib
- workflows/lib
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
25 | 37 | | |
26 | 38 | | |
27 | 39 | | |
| |||
32 | 44 | | |
33 | 45 | | |
34 | 46 | | |
35 | | - | |
| 47 | + | |
36 | 48 | | |
37 | 49 | | |
38 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments