Clio PR2 correction: Grow who_am_i is live-verified - wire it on connect

↗ view on GitHub · sloth-ninja · 2026-08-03 · 2ebab293

The 03/08 spike exercised the Grow API with a real token: GET /users/who_am_i,
GET /matters, GET /inbox_leads, GET /users all returned 200. Earlier flag
wrongly called Grow endpoints "unverified".

- oauth: fetchClioIdentity now hits /users/who_am_i for BOTH products on
  connect (Grow parsed defensively for shape drift - data/user/top-level,
  name or first+last); best-effort, connect never fails on a who_am_i hiccup.
- growTools header + BUILD_LOG flags: /matters, /inbox_leads, /users,
  /users/who_am_i are LIVE-VERIFIED; only the matter-note read/write endpoints
  and /contacts remain research-based.
- tests: +2 (Grow identity stored on connect; connect survives who_am_i
  failure). vitest 586/586.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Repository Sloth-ninja/JessicaOSS
Author sloth-ninja <ezanahaddis@gmail.com>
Authored
Parents 4ccb7835
Stats 4 files changed , +105 , -30
Part of Clio connector: per-user OAuth, chat tools, and matter search

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-2ebab293.md from inside the repo you want the change in.

⬇ Download capture-commit-2ebab293.md