open_document_client factory with registry capability probe #4

Merged
nsaspy merged 2 commits from rage/5-open-document-client into main 2026-09-09 16:20:16 +00:00
Owner

Adds open_document_client(*, base_url, api_key) -> AsyncStarIntelClient: performs a synchronous capability probe against the client manifest and raises ManifestError naming starintel-server#5 when documents.create is not contracted. This is the factory pro-actors' HttpDocumentPublisher consumes (its BlockingError contract). Mock server gains a document-ops toggle. Gates: pytest 86 passed/2 skipped, ruff clean, mypy strict clean, prolog-verify check passed.

Adds open_document_client(*, base_url, api_key) -> AsyncStarIntelClient: performs a synchronous capability probe against the client manifest and raises ManifestError naming starintel-server#5 when documents.create is not contracted. This is the factory pro-actors' HttpDocumentPublisher consumes (its BlockingError contract). Mock server gains a document-ops toggle. Gates: pytest 86 passed/2 skipped, ruff clean, mypy strict clean, prolog-verify check passed.
nsaspy merged commit 2d886d257b into main 2026-09-09 16:20:16 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starintel-labs/starintel-client!4
No description provided.