- engineering-docs → archive/2026-03-29-engineering-docs (63/63 tasks complete) - phase-2-production-ready → archive/2026-03-29-phase-2-production-ready (89/89 tasks complete) - openspec/specs/ synced with all Phase 1 + Phase 2 + engineering-docs capabilities (22 specs total) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
939 B
939 B
Spec: Python SDK (sentryagent-idp)
Status: Pending CEO approval Workstream: 2 of 8
Scope
sdk-python/directory at project rootAgentIdPClientwith sync and async variantsTokenManagerwith 60s auto-refresh- Service clients:
AgentRegistryClient,CredentialClient,TokenClient,AuditClient AgentIdPErrortyped exception- Full type hints —
mypy --strictclean sdk-python/README.mdwith installation and usage
Acceptance Criteria
- All 14 API endpoints covered
- Sync client:
requestslibrary - Async client:
httpxlibrary mypy --strictpasses with zero errors- Zero untyped code
AgentIdPErrorraised (not raw requests/httpx exceptions) on all failure pathsTokenManagertested: caches token, refreshes at exp-60spyproject.tomlwith: name=sentryagent-idp, python>=3.9, dependencies declared- README matches Node.js SDK structure