Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Function issueAdapterCapabilityReceipt

    • Returns {
          adapter: {
              capabilities: {
                  controls: {
                      activeWhen: (
                          "adapter_run"
                          | "gateway_routed"
                          | "hook_observe"
                          | "hook_control"
                      )[];
                      id:
                          | "gateway.route"
                          | "gateway.model"
                          | "gateway.budget"
                          | "gateway.freeze"
                          | "tool.allowlist"
                          | "provider.allow"
                          | "provider.deny"
                          | "provider.ask"
                          | "provider.steer";
                  }[];
                  declarationVersion: "1";
                  definitionVersion: string;
                  events: {
                      activeWhen: (
                          "adapter_run"
                          | "gateway_routed"
                          | "hook_observe"
                          | "hook_control"
                      )[];
                      id:
                          | "process.started"
                          | "process.stdout"
                          | "process.stderr"
                          | "process.exited"
                          | "model.request"
                          | "model.response"
                          | "action.requested"
                          | "action.completed"
                          | "action.failed"
                          | "action.decision";
                  }[];
                  lossiness: {
                      level: "unknown"
                      | "partial"
                      | "redacted"
                      | "normalized";
                      omitted: string[];
                  };
                  verification: {
                      authority: "amc"
                      | "publisher";
                      evidenceRefs: string[];
                      status: "unverified" | "fixture_verified";
                  };
                  versionSource: | "unknown"
                  | "adapter_binary"
                  | "package_probe"
                  | "host_runtime"
                  | "shell_runtime"
                  | "mixed_runtime";
              };
              displayName: string;
              id: string;
              kind: "CLI"
              | "LIBRARY_NODE"
              | "LIBRARY_PYTHON";
              providerFamily:
                  | "OPENAI_COMPAT"
                  | "ANTHROPIC"
                  | "GEMINI"
                  | "XAI_GROK"
                  | "OPENROUTER"
                  | "CUSTOM_HTTP";
              source: "plugin"
              | "builtin";
          };
          effective: {
              controls: (
                  | "gateway.route"
                  | "gateway.model"
                  | "gateway.budget"
                  | "gateway.freeze"
                  | "tool.allowlist"
                  | "provider.allow"
                  | "provider.deny"
                  | "provider.ask"
                  | "provider.steer"
              )[];
              events: (
                  | "process.started"
                  | "process.stdout"
                  | "process.stderr"
                  | "process.exited"
                  | "model.request"
                  | "model.response"
                  | "action.requested"
                  | "action.completed"
                  | "action.failed"
                  | "action.decision"
              )[];
          };
          inspection: {
              configuration: {
                  status: "missing"
                  | "invalid"
                  | "signed_selected"
                  | "not_selected";
              };
              hook: {
                  mode: "observe"
                  | "control"
                  | null;
                  provider: "claude-code" | "gemini-cli" | null;
                  status:
                      | "not_applicable"
                      | "invalid"
                      | "observe"
                      | "control"
                      | "expired"
                      | "drifted"
                      | "not_installed"
                      | "agent_mismatch";
              };
              runtime: {
                  command: string
                  | null;
                  status: "detected" | "version_unavailable" | "not_detected";
                  version: string | null;
              };
          };
          issuedAt: string;
          receiptHash: string;
          receiptId: string;
          receiptVersion: "amc.adapter-capability-receipt.v1";
          signature: {
              digestSha256: string;
              envelope?: {
                  alg: "ed25519";
                  fingerprint: string;
                  pubkeyB64: string;
                  sigB64: string;
                  signedTs: number;
                  signer: {
                      attestationLevel: "SOFTWARE"
                      | "HARDWARE";
                      notaryFingerprint?: string;
                      type: "VAULT" | "NOTARY";
                  };
                  v: 1;
              };
              signature: string;
              signedTs: number;
              signer: "auditor";
          };
          subject: { adapterId: string; agentId: string };
          verification: {
              reasons: string[];
              status: "partial" | "verified" | "fail_closed";
          };
      }