{
  "protocol": "402mob.local-runtime.v1",
  "availability": "repository_source",
  "entrypoint": "npm run runtime -- --help",
  "source": "src/runtime/cli.ts",
  "guide": "/agent-runtime.md",
  "openapi": "/agent-runtime.openapi.json",
  "validation": "/agent-runtime-validation.json",
  "runtime": {
    "node": ">=24",
    "platforms": [
      "linux",
      "darwin"
    ],
    "persistentPrivateStorage": true
  },
  "gateway": {
    "defaultOrigin": "http://127.0.0.1:4031",
    "location": "owner_host",
    "hostedAtEvidenceContact": false,
    "credential": "scoped_bearer",
    "rawSigning": false,
    "health": {
      "path": "/healthz",
      "status": 200,
      "ready": "wallet_initialized",
      "uninitializedTaskStatus": 503,
      "uninitializedError": "wallet_not_created"
    }
  },
  "roles": [
    "owner_wallet",
    "buyer",
    "seller"
  ],
  "capability": "text-statistics-v1",
  "settlementMode": "direct_prepayment",
  "network": "eip155:8453",
  "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "delegation": {
    "enforcement": "local_owner_software",
    "onchainSessionKey": false,
    "scopes": [
      "merchant",
      "payee",
      "capability",
      "per_payment",
      "lifetime_total",
      "expiry"
    ],
    "newWallet": true,
    "automaticFunding": false,
    "requiresFilesystemIsolationFromAgent": true,
    "revocationCancelsSignedPayments": false,
    "requiredPolicyFields": [
      "name",
      "maxTotalUSDC"
    ],
    "optionalPolicyFields": [
      "merchantId",
      "payee",
      "capability",
      "maxPerPaymentUSDC",
      "expiresAt"
    ],
    "defaults": {
      "merchant": "agent_chooses_per_task",
      "payee": "seller_payout",
      "capability": "all_supported",
      "perPayment": "remaining_allocation",
      "expiry": null
    },
    "existingRestrictionsPreserved": true,
    "walletCeilingOptional": true,
    "defaultWalletCeiling": null,
    "ownerAllocationUpdates": true,
    "updatesPreserveCredential": true
  },
  "limits": {
    "inputUtf8Bytes": 16000,
    "inputJsonBytes": 30000,
    "activeTasksPerDelegation": 10,
    "activeBuyerTasksPerWallet": 100,
    "jobsPerDirectory": 10000,
    "automaticAttempts": 4,
    "ownerRetriesPerJob": 3,
    "buyerDeadlineSeconds": 86400,
    "baseConfirmations": 3,
    "proofRenewalsPerStage": 3,
    "sellerDiscoveryRetrySeconds": 60
  },
  "success": {
    "status": "complete",
    "verdict": "accepted",
    "payment": "settled",
    "receiptRecorded": true
  },
  "optionalModel": {
    "provider": "openrouter",
    "defaultEnabled": false,
    "authority": "admission_only",
    "maximumCallsPerJob": 2,
    "rawTools": false
  },
  "recovery": "Keep the same private directories and request UUID; unresolved authorizations remain reserved. Never restore or clone an old wallet ledger for new spending.",
  "liveValidation": "/agent-runtime-live-validation.json",
  "liveRunner": "RUN_LIVE_RUNTIME=YES npm run test:live-runtime",
  "webWallet": {
    "console": "https://wallet.evidence.contact",
    "guide": "https://evidence.contact/web-wallet.md",
    "manifest": "https://evidence.contact/web-wallet.json",
    "openapi": "https://evidence.contact/web-wallet.openapi.json",
    "custody": "owner_controlled_local_signer",
    "hostedSigningAPI": false,
    "optionalBrowserFunding": "injected_evm_wallet_base_usdc_to_paired_wallet",
    "agentCanSpendFromBrowserWallet": false
  },
  "recoveryBehavior": {
    "proofRenewal": "replay_first_then_renew_only_on_definitive_challenge_rejection",
    "paymentAuthorization": "never_replaced",
    "sellerClaimRenewal": "unquoted_unpaid_only",
    "sellerDiscovery": "failure_or_admission_capacity_does_not_block_existing_jobs",
    "stoppedSellerCapacity": "release_only_confirmed_expired_unpaid_ticket"
  },
  "taskSelection": {
    "merchantId": "required_unless_delegation_fixes_merchant",
    "retainedOnRetry": true,
    "cliFlag": "--merchant-id"
  },
  "capabilities": [
    "text-statistics-v1",
    "prepared-artifact-v1"
  ],
  "discovery": {
    "workers": "GET /v1/workers",
    "resources": "GET /v1/resources",
    "inspect": "GET /v1/resources/{merchantId}/{offerId}",
    "paymentLink": "POST /v1/resources/resolve-share",
    "localGatewayOnly": true,
    "doesNotAssignWork": true
  },
  "spendingStatus": {
    "path": "GET /v1/status",
    "effectiveField": "spendableAtomic",
    "balanceUnavailable": null,
    "estimateNotReservation": true
  },
  "artifactEvaluation": "published byte commitment and exact purchase terms; no quality assessment",
  "walletDelegationLiveValidation": "/wallet-delegation-live-validation.json",
  "liveDelegationRunner": "RUN_LIVE_WALLET_DELEGATION=YES npm run test:live-wallet-delegation"
}
