Skip to content

[codex] Add message 403 diagnostics#37

Merged
andrewkoltsov merged 1 commit into
masterfrom
codex/issue-36-message-403-diagnostics
Apr 1, 2026
Merged

[codex] Add message 403 diagnostics#37
andrewkoltsov merged 1 commit into
masterfrom
codex/issue-36-message-403-diagnostics

Conversation

@andrewkoltsov

Copy link
Copy Markdown
Owner

Summary

  • add message-specific diagnostics for /Messages* endpoint 403 failures
  • probe Auth/TokenInfo on message 403s to report whether the child token advertises the messages scope
  • ship the patch release metadata for 0.3.2, including the refreshed openapi.json

Root Cause

Issue #36 did not reproduce as a repo-wide endpoint bug. The current implementation can read message endpoints on the verified account, so the failure mode appears to vary by child account or token capability. The fix improves diagnostics instead of changing message-call success semantics.

User Impact

Users now get a messages-specific API_REQUEST_FAILED payload with feature, requiredScope, scopePresent, tokenScopes, and a librus auth token-info hint when Librus returns 403 for message endpoints.

Validation

  • npm run validate
  • npm run test:integration

@andrewkoltsov andrewkoltsov marked this pull request as ready for review April 1, 2026 08:30
@andrewkoltsov andrewkoltsov merged commit 3c57a49 into master Apr 1, 2026
6 checks passed
@andrewkoltsov andrewkoltsov deleted the codex/issue-36-message-403-diagnostics branch April 1, 2026 08:31
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