Skip to content

Add BUDGET_EXHAUSTED, AGENT_VERSION_NOT_AVAILABLE error codes #26

@nficano

Description

@nficano

ARCP v1.1 §12 adds three new error codes. Kotlin SDK already has LEASE_EXPIRED. Missing: BUDGET_EXHAUSTED, AGENT_VERSION_NOT_AVAILABLE.

Steps:

  1. Add both to the error code enum/sealed class in lib/src/main/kotlin/dev/arcp/errors/
  2. Wire BUDGET_EXHAUSTED into cost.budget enforcement path
  3. Wire AGENT_VERSION_NOT_AVAILABLE into agent resolution path (when name@version not in welcome's agents advertisement)
  4. Update conformance tests
  5. Document in docs/

Reference: spec §12 error taxonomy.


Audit reference: ARCP SDK Audit v1.1 (2026-05-19)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature implementationv1.1ARCP v1.1 feature work

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions