{
  "name": "Wever Labs Workflow Manifest",
  "version": "0.1.9",
  "workflow_states": [
    "workflow_intake",
    "intake_review",
    "routed",
    "operating",
    "output_ready",
    "delivery_ready",
    "queued",
    "callback_pending",
    "replay_ready",
    "closed"
  ],
  "accepted_workflow_types": [
    "workflow_intake",
    "packet_readiness",
    "distribution_operations",
    "evidence_review",
    "agent_introduction",
    "system_connection_request",
    "operating_tool_discovery",
    "token_operations",
    "settlement_evidence_review",
    "agent_paid_usage_review",
    "payment_request_review",
    "tokenops_evidence_completion",
    "tokenops_result_package",
    "tokenops_usage_receipt",
    "agent_callback_payload",
    "receipt_ledger_review",
    "callback_delivery_review",
    "agent_task_run",
    "agent_run_state_event",
    "agent_result_attestation",
    "task_ledger_review",
    "result_attestation_review",
    "agent_exception_ticket",
    "agent_recovery_request",
    "agent_replay_package",
    "exception_recovery_review",
    "replay_package_review",
    "agent_handshake_request",
    "agent_preflight_check",
    "agent_run_contract",
    "capability_negotiation",
    "preflight_contract_review",
    "run_contract_review",
    "agent_result_contract_v2",
    "agent_settlement_receipt",
    "settlement_receipt_split",
    "result_delivery_envelope",
    "downstream_result_contract_review",
    "wever_os_support_matrix",
    "agent_rail_binding",
    "os_runtime_execution_plan",
    "runtime_binding_review",
    "os_support_check",
    "agent_queue_scheduler_monitor",
    "agent_queue_heartbeat",
    "agent_stuck_task_alert",
    "agent_run_retry_command",
    "queue_health_review",
    "scheduler_heartbeat_review"
  ],
  "response_categories": {
    "sufficient": "Workflow Review Package",
    "partial": "Preliminary Workflow Review + Data Request Package",
    "insufficient": "Workflow Intake Review + Data Request",
    "sufficient_tokenops": "TokenOps Result Package",
    "partial_tokenops": "Preliminary TokenOps Review + Evidence Data Request",
    "ready_callback": "Result ready with usage receipt and callback payload",
    "result_attested": "Result package ready with ledger and attestation records",
    "exception_open": "A paid run has a named exception and recovery path.",
    "recovery_requested": "A requesting agent supplied recovery instructions or missing evidence.",
    "replay_ready": "The OS has prepared a safe replay package from a known state.",
    "handshake_received": "External agent handshake received for preflight review.",
    "preflight_ready": "Capability, evidence, trust, quote, and contract readiness were checked.",
    "run_contract_ready": "Run contract is ready for requesting agent acceptance before execution.",
    "os_support_confirmed": "OS support matrix confirms rail coverage, runtime binding, schemas, and return objects."
  },
  "tool_routes": {
    "packet_readiness": "packetops",
    "document_packet_review": "packetops",
    "distribution_operations": "distributionops",
    "holder_servicing_review": "distributionops",
    "operating_tool_discovery": "wever_labs_os",
    "token_operations": "tokenops",
    "settlement_evidence_review": "tokenops",
    "agent_paid_usage_review": "tokenops",
    "payment_request_review": "wever_labs_os",
    "tokenops_evidence_completion": "tokenops",
    "tokenops_result_package": "tokenops",
    "tokenops_usage_receipt": "tokenops",
    "agent_callback_payload": "tokenops",
    "receipt_ledger_review": "tokenops",
    "callback_delivery_review": "tokenops",
    "agent_task_run": "wever_labs_os",
    "agent_run_state_event": "wever_labs_os",
    "agent_result_attestation": "wever_labs_os",
    "task_ledger_review": "wever_labs_os",
    "result_attestation_review": "wever_labs_os",
    "agent_exception_ticket": {
      "route": "agent_exception_rail",
      "docs": "https://weverlabs.com/agent-exception-rail/"
    },
    "agent_recovery_request": {
      "route": "agent_exception_rail",
      "docs": "https://weverlabs.com/agent-exception-rail/"
    },
    "agent_replay_package": {
      "route": "agent_exception_rail",
      "docs": "https://weverlabs.com/agent-exception-rail/"
    },
    "agent_handshake_request": {
      "route": "agent_handshake_rail",
      "docs": "https://weverlabs.com/agent-handshake/"
    },
    "agent_preflight_check": {
      "route": "agent_handshake_rail",
      "docs": "https://weverlabs.com/agent-handshake/"
    },
    "agent_run_contract": {
      "route": "agent_run_contracts",
      "docs": "https://weverlabs.com/agent-run-contracts/"
    },
    "capability_negotiation": {
      "route": "agent_handshake_rail",
      "docs": "https://weverlabs.com/agent-handshake/"
    },
    "preflight_contract_review": {
      "route": "agent_run_contracts",
      "docs": "https://weverlabs.com/agent-run-contracts/"
    },
    "agent_result_contract_v2": "agent-result-contract",
    "agent_settlement_receipt": "settlement-receipts",
    "settlement_receipt_split": "payment-rails"
  },
  "agent_to_agent_economy": "Wever Labs is building workflow infrastructure for agents and systems to discover, quote, route, operate, and return outputs through OS-governed Work Orders.",
  "receipt_and_callback_contracts": {
    "docs": "https://weverlabs.com/tokenops-receipts/",
    "usage_receipt_schema": "https://weverlabs.com/schemas/tokenops-usage-receipt.schema.json",
    "callback_payload_schema": "https://weverlabs.com/schemas/agent-callback-payload.schema.json"
  },
  "trust_registry_quote_credit_flow": [
    "agent_trust_profile_submitted",
    "trust_reviewed",
    "quote_requested",
    "quote_returned",
    "credit_entitlement_funded",
    "paid_agent_run_authorized",
    "status_available",
    "receipt_issued",
    "callback_payload_ready"
  ],
  "accepted_handoff_types": [
    "agent_trust_profile",
    "agent_quote_request",
    "agent_credit_entitlement",
    "agent_status_response",
    "agent_task_run",
    "agent_run_state_event",
    "agent_result_attestation",
    "task_ledger_review",
    "result_attestation_review",
    "agent_exception_ticket",
    "agent_recovery_request",
    "agent_replay_package",
    "exception_recovery_review",
    "replay_package_review",
    "agent_operating_console_snapshot",
    "agent_task_lifecycle_standard",
    "agent_live_rail_readiness",
    "console_lifecycle_review",
    "live_settlement_readiness_review",
    "agent_result_contract_v2",
    "agent_settlement_receipt",
    "settlement_receipt_split",
    "result_delivery_envelope",
    "downstream_result_contract_review"
  ],
  "task_ledger_state_flow": [
    "quoted",
    "credit_pending",
    "funded",
    "run_created",
    "queued",
    "evidence_review",
    "tool_execution",
    "result_packaged",
    "receipt_issued",
    "callback_ready",
    "callback_delivered",
    "closed",
    "exception_open",
    "recovery_requested",
    "replay_ready",
    "replayed"
  ],
  "agent_task_ledger_and_result_attestation": {
    "docs": "https://weverlabs.com/agent-task-ledger/",
    "ledger_schema": "https://weverlabs.com/schemas/agent-task-run.schema.json",
    "state_event_schema": "https://weverlabs.com/schemas/agent-run-state-event.schema.json",
    "attestation_schema": "https://weverlabs.com/schemas/agent-result-attestation.schema.json"
  },
  "agent_exception_recovery_rail": {
    "docs": "https://weverlabs.com/agent-exception-rail/",
    "exception_endpoint": "https://os.weverlabs.com/api/agents/tasks/{token}/exceptions",
    "recovery_endpoint": "https://os.weverlabs.com/api/agents/tasks/{token}/recover",
    "replay_package_endpoint": "https://os.weverlabs.com/api/agents/tasks/{token}/replay-package",
    "exception_ticket_schema": "https://weverlabs.com/schemas/agent-exception-ticket.schema.json",
    "recovery_request_schema": "https://weverlabs.com/schemas/agent-recovery-request.schema.json",
    "replay_package_schema": "https://weverlabs.com/schemas/agent-replay-package.schema.json",
    "principle": "Paused, partial, or failed paid agent runs should become recoverable operating objects instead of silent dead ends."
  },
  "agent_handshake_preflight_contract_rail": {
    "docs": "https://weverlabs.com/agent-handshake/",
    "contracts_docs": "https://weverlabs.com/agent-run-contracts/",
    "handshake_endpoint": "https://os.weverlabs.com/api/agents/handshake",
    "preflight_endpoint": "https://os.weverlabs.com/api/agents/preflight",
    "contract_endpoint": "https://os.weverlabs.com/api/agents/contracts",
    "contract_status_endpoint": "https://os.weverlabs.com/api/agents/contracts/{contract_id}",
    "handshake_schema": "https://weverlabs.com/schemas/agent-handshake-request.schema.json",
    "preflight_schema": "https://weverlabs.com/schemas/agent-preflight-check.schema.json",
    "run_contract_schema": "https://weverlabs.com/schemas/agent-run-contract.schema.json",
    "principle": "External agents should be able to negotiate capability fit and scope before quote, credit debit, or task execution."
  },
  "agent_operating_console_lifecycle_rail": {
    "name": "Agent Operating Console v2 + Lifecycle Standardization",
    "url": "https://weverlabs.com/agent-operating-console/",
    "description": "Operator cockpit for paid agent runs, credits, settlement intents, lifecycle state, callbacks, exceptions, replay, receipts, and settlement rail state.",
    "console_snapshot_schema": "https://weverlabs.com/schemas/agent-operating-console-snapshot.schema.json",
    "lifecycle_schema": "https://weverlabs.com/schemas/agent-task-lifecycle.schema.json",
    "live_rail_readiness_schema": "https://weverlabs.com/schemas/agent-live-rail-readiness.schema.json",
    "console_snapshot_example": "https://weverlabs.com/examples/agent-operating-console-snapshot-tokenops.json",
    "settlement_policy": "Provider settlement funds credits. Usage receipts record OS work that consumes credits. Webhook verification, release controls, rate limits, abuse controls, legal terms, and pause controls remain visible in the operating loop.",
    "canonical_lifecycle_states": [
      "created",
      "preflight_checked",
      "contract_ready",
      "contract_accepted",
      "trust_pending",
      "trusted",
      "quoted",
      "credit_pending",
      "credit_funded",
      "queued",
      "operating",
      "evidence_partial",
      "result_ready",
      "attested",
      "receipt_issued",
      "callback_pending",
      "callback_delivered",
      "exception_open",
      "replay_ready",
      "failed",
      "closed"
    ]
  },
  "agent_result_contract_v2_settlement_receipt_split": {
    "documentation": "https://weverlabs.com/agent-result-contract/",
    "settlement_receipts": "https://weverlabs.com/settlement-receipts/",
    "result_contract_schema": "https://weverlabs.com/schemas/agent-result-contract-v2.schema.json",
    "settlement_receipt_schema": "https://weverlabs.com/schemas/agent-settlement-receipt.schema.json",
    "tokenops_example": "https://weverlabs.com/examples/tokenops-agent-result-contract-v2.json",
    "receipt_split": "settlement_receipt_funds_credits_usage_receipt_records_consumed_credits",
    "flow": [
      "provider_settlement",
      "settlement_receipt",
      "credits_funded",
      "agent_run",
      "usage_receipt",
      "agent_result_contract",
      "callback_delivered"
    ]
  },
  "wever_os_support_matrix_runtime_binding": {
    "runtime_path": [
      "agent_discovery",
      "handshake",
      "preflight",
      "run_contract",
      "trust_profile",
      "quote",
      "credit_entitlement",
      "settlement_receipt",
      "task_created",
      "queued",
      "tokenops_operating",
      "task_ledger",
      "result_attestation",
      "agent_result_contract_v2",
      "usage_receipt",
      "callback_delivery",
      "console_snapshot"
    ],
    "support_matrix_schema": "https://weverlabs.com/schemas/wever-os-support-matrix.schema.json",
    "rail_binding_schema": "https://weverlabs.com/schemas/agent-rail-binding.schema.json",
    "runtime_execution_plan_schema": "https://weverlabs.com/schemas/os-runtime-execution-plan.schema.json"
  },
  "agent_queue_scheduler_monitor_runtime_heartbeat": {
    "state_flow": [
      "accepted",
      "queued",
      "operating",
      "result_ready",
      "callback_pending",
      "callback_delivered",
      "exception_open",
      "replay_ready",
      "closed"
    ],
    "monitor_url": "https://weverlabs.com/agent-queue-monitor/",
    "api_surface": "https://os.weverlabs.com/api/agents/queue-monitor",
    "heartbeat_surface": "https://os.weverlabs.com/api/agents/queue/heartbeat"
  }
}
