Buckets:
mvp-ai/skill-base / github.com /zxhwolfe-dev /aiworkstation-open-source-intelligence /docs /error-codes.md
| # Error Codes | |
| All transports must expose the same `osi.error.v2` envelope. HTTP status codes, | |
| MCP errors and CLI exit codes are adapters around this contract, not separate | |
| business semantics. | |
| ```json | |
| { | |
| "schema_version": "osi.error.v2", | |
| "error": { | |
| "code": "INVALID_INPUT", | |
| "message": "query is required", | |
| "retryable": false, | |
| "details": {"field": "query"} | |
| } | |
| } | |
| ``` | |
| ## Current codes | |
| | Code | Meaning | Retryable | Caller action | | |
| | --- | --- | ---: | --- | | |
| | `INVALID_INPUT` | Required fields, types, lengths or cardinalities are invalid. | No | Correct the request. | | |
| | `UNKNOWN_TOOL` | The requested tool is not in the current nine-tool manifest. | No | Use a declared tool name. | | |
| | `PROVIDER_UNAVAILABLE` | The injected project-intelligence provider failed or timed out. | Yes | Retry with backoff; do not invent results. | | |
| | `UPSTREAM_CONTRACT_ERROR` | The provider returned data that does not satisfy the adapter contract. | No | Quarantine the response and investigate the adapter. | | |
| ## Non-error empty states | |
| The following conditions are successful tool results with explicit `unknowns`, | |
| not exceptions: | |
| - a project is absent from the current healthy public snapshot; | |
| - no candidate satisfies every hard constraint; | |
| - license evidence is unavailable or ambiguous; | |
| - a compatibility claim has not been verified; | |
| - source data is stale but still within an explicitly allowed serving window. | |
| Empty states must never be replaced with guessed facts or fabricated projects. | |
Xet Storage Details
- Size:
- 1.5 kB
- Xet hash:
- ab7a565aa4461f9c1cde87edfa23e4ff1768ecfce30ac56f1a7d551ec1ad2563
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.