8 workstreams scoped per OpenSpec standards: 1. HashiCorp Vault integration (secret management) 2. Python SDK (sentryagent-idp) 3. Go SDK (idp-sdk-go) 4. Java SDK (ai.sentryagent:idp-sdk) 5. OPA policy engine (dynamic ABAC, hot-reload Rego) 6. Web Dashboard UI (React 18 + TypeScript) 7. Prometheus + Grafana monitoring (7 metrics, pre-built dashboard) 8. Multi-region Terraform deployment (AWS + GCP) Status: proposed — awaiting CEO dependency approvals (A0.1–A0.5) before any implementation begins. 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