Skip to content

Expand profile inspection metadata - #1

Merged
KingAkeem merged 2 commits into
mainfrom
agent/expand-profile-inspection
Jul 17, 2026
Merged

KingAkeem merged 2 commits into
mainfrom
agent/expand-profile-inspection

Conversation

@KingAkeem

@KingAkeem KingAkeem commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

What changed

  • Request the useful public X user fields supported by the current integration.
  • Return identifiers as strings and expose profile media, verification, protection, entities, location, website, pinned/recent post IDs, and public metrics.
  • Add readiness and configuration-aware error responses instead of surfacing missing credentials as opaque failures.
  • Translate X provider failures into actionable responses, including depleted credits, rate limits, invalid access, and missing profiles.

Why

Profile inspection previously returned a narrow record and failed unclearly when the bearer token was unavailable. The richer contract gives the desktop workspace useful investigation context while keeping configuration problems actionable.

Validation

  • Covered by the platform FastAPI regression suite, including X provider error mapping.
  • Verified through the nginx /focus/readyz route with the configured X credential.

@KingAkeem
KingAkeem marked this pull request as ready for review July 17, 2026 20:08
@KingAkeem
KingAkeem merged commit f5f1c1e into main Jul 17, 2026
3 checks passed
@KingAkeem
KingAkeem deleted the agent/expand-profile-inspection branch July 17, 2026 20:08
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