mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 09:41:04 +01:00
- Classify Codex auth/refresh failures into three distinguishable classes: refresh_token_reused, refresh_token_expired, refresh_token_invalidated - Emit codex.credential_health telemetry event with company/agent/adapter dimensions (AC1: queryable per company/agent/adapter confirmed) - Track seed source (configured_key/host_file/snapshot_file), last_refresh age bucket (lt_1h/lt_8d/gte_8d/missing), and rotations_detected - Define codex.sync_back_outcome event shape; emission point marked TODO(PAP-1872) pending Phase 1.1 landing - Enforce I5 (no token material in telemetry) via unit test that asserts refresh/access/id tokens, openai key, account_id, and email never appear in emitted payloads - fix(codex): read remote credential telemetry snapshot from remote CODEX_HOME - test(codex): isolate refresh telemetry fixture - Rebased onto master after PAP-1911 security review and PAP-1978 conflict resolution Co-Authored-By: Paperclip <noreply@paperclip.ing>