{
  "commit": "be0b8b3add7915f936c12da00e7f72d9ee791946",
  "digest": "c1a85e34",
  "model": {
    "commit": "be0b8b3add7915f936c12da00e7f72d9ee791946",
    "digest": "c1a85e34",
    "externals": [
      {
        "by": "models",
        "detail": "",
        "kind": "model gateway",
        "name": "AI Gateway"
      },
      {
        "by": "ci",
        "detail": "",
        "kind": "CI connector",
        "name": "Buildkite"
      },
      {
        "by": "ci",
        "detail": "",
        "kind": "portal server",
        "name": "Buildkite MCP"
      },
      {
        "by": "ci",
        "detail": "",
        "kind": "CI connector",
        "name": "Cloudflare Containers"
      },
      {
        "by": "mirror",
        "detail": "",
        "kind": "mirror",
        "name": "GitHub"
      },
      {
        "by": "github",
        "detail": "",
        "kind": "app",
        "name": "GitHub App"
      },
      {
        "by": "linked",
        "detail": "",
        "kind": "OAuth",
        "name": "Linked Cloudflare accounts"
      },
      {
        "by": "land",
        "detail": "",
        "kind": "portal",
        "name": "MCP Server Portal"
      }
    ],
    "files": 330,
    "hostnames": [
      {
        "access": [],
        "by": "site",
        "host": "pigeon.dev",
        "public_paths": [],
        "worker": "pigeon-platform"
      },
      {
        "access": [],
        "by": "public_host",
        "host": "platform.pigeon.dev",
        "public_paths": [],
        "worker": "pigeon-platform"
      },
      {
        "access": [],
        "by": "public_host, proxy",
        "host": "proxy.pigeon.dev",
        "public_paths": [
          "/git/",
          "/cf/"
        ],
        "worker": "pigeon-proxy"
      }
    ],
    "links": [
      {
        "from": "pigeon-platform",
        "kind": "service binding",
        "to": "pigeon-sites",
        "via": "SITES"
      },
      {
        "from": "pigeon-platform",
        "kind": "service binding",
        "to": "pigeon-model-gateway",
        "via": "MODELS"
      },
      {
        "from": "pigeon-platform",
        "kind": "service binding",
        "to": "pigeon-ci-gateway",
        "via": "CI"
      },
      {
        "from": "pigeon-platform",
        "kind": "service binding",
        "to": "pigeon-ai-agents",
        "via": "AI_AGENTS"
      },
      {
        "from": "pigeon-platform",
        "kind": "Durable Object",
        "to": "pigeon-ci-gateway",
        "via": "CI_SCHEDULER (CiScheduler)"
      },
      {
        "from": "pigeon-platform",
        "kind": "Durable Object",
        "to": "pigeon-model-gateway",
        "via": "MODEL_JOBS (ModelJobs)"
      },
      {
        "from": "pigeon-sites",
        "kind": "service binding",
        "to": "pigeon-platform",
        "via": "PLATFORM"
      },
      {
        "from": "pigeon-model-gateway",
        "kind": "service binding",
        "to": "pigeon-platform",
        "via": "PLATFORM"
      },
      {
        "from": "pigeon-ci-gateway",
        "kind": "service binding",
        "to": "pigeon-platform",
        "via": "PLATFORM"
      },
      {
        "from": "pigeon-ci-gateway",
        "kind": "Durable Object",
        "to": "pigeon-platform",
        "via": "CI_RUNNER (CiRunner)"
      },
      {
        "from": "pigeon-proxy",
        "kind": "service binding",
        "to": "pigeon-platform",
        "via": "PLATFORM"
      },
      {
        "from": "pigeon-ai-agents",
        "kind": "service binding",
        "to": "pigeon-platform",
        "via": "PLATFORM"
      }
    ],
    "parts": [
      {
        "bindings": [],
        "calls": [
          "apns",
          "ci",
          "console",
          "crypto",
          "expiry",
          "mcp",
          "secrets_store",
          "users",
          "versions",
          "webauthn"
        ],
        "capability": true,
        "interface": [
          "ios_releases",
          "apple_status",
          "apns_register",
          "apns_unregister",
          "apns_status",
          "apns_send"
        ],
        "name": "apple",
        "permissions": [],
        "summary": "The apple capability (docs/plans/ios.md): the App Store Connect credentials as slots on the secrets page, each checked before it is written; apple_status, which reads (never writes) what Apple holds for the app dev.pigeon.app; and, from phase 2, two console writes, each bound to the signed-in person's passkey:"
      },
      {
        "bindings": [],
        "calls": [
          "architecture",
          "custom_domain",
          "home",
          "mcp",
          "r2",
          "site_publish",
          "versions",
          "zones"
        ],
        "capability": true,
        "interface": [
          "site_publish"
        ],
        "name": "site",
        "permissions": [],
        "summary": "The public site on a zone's apex, served by the hosting Worker itself, by host (docs/plans/platform-self-hosting.md, S1). In order:"
      },
      {
        "bindings": [],
        "calls": [
          "approvals",
          "catalogue",
          "console",
          "design",
          "instances",
          "lanes",
          "mcp",
          "versions"
        ],
        "capability": true,
        "interface": [
          "architecture_describe",
          "architecture_draw",
          "architecture_layout",
          "architecture_check",
          "mcp_conformance"
        ],
        "name": "architecture",
        "permissions": [],
        "summary": "pigeon's architecture, drawn in the design system from two sources, so nothing on it is written by hand and the same inputs always give the same page: - the repository's code: the building blocks in src/core/src and the capabilities in src/capabilities/src (each module's //! summary, interface, the modules it uses and the permission names in Policy::new(...) and *PERMISSIONS* consts), and the hosting Worker's wrangler.toml, (Method::X, \"/path\") routes and #event(...) handlers; - the capabilities the Worker hosts: their MCP tools and their footprints, the hostnames, Workers and resources each brings."
      },
      {
        "bindings": [],
        "calls": [
          "console",
          "expiry",
          "instances",
          "mcp",
          "remote",
          "versions"
        ],
        "capability": true,
        "interface": [
          "ci_pool",
          "ci_route",
          "ci_submit",
          "ci_status",
          "ci_jobs",
          "ci_cancel",
          "ci_commit",
          "ci_buildkite_plan"
        ],
        "name": "ci",
        "permissions": [],
        "summary": "CI, served by core from the pigeon-ci crate: a thin Capability over pigeon_ci::Ci, so core keeps serving CI's tools and /ci/ routes itself until it binds pigeon-ci-gateway (docs/plans/workers-split.md, phase 4). Core hosts the scheduler and the runners, and acts with the parent token (pigeon_ci::Accounts::Parent)."
      },
      {
        "bindings": [],
        "calls": [
          "approvals",
          "instances",
          "land",
          "mcp",
          "oauth",
          "passkeys",
          "site_passkeys",
          "users",
          "versions"
        ],
        "capability": true,
        "interface": [],
        "name": "console",
        "permissions": [],
        "summary": "The console at /app/<instance>/<area>/<view> (docs/plans/console-redesign.md): its shell and assets, its one read path (/app/op, ops), its one write path (/console/write/<action>/{begin,finish}, write), and one-hop redirects from the old console's bookmarks (/, /approvals, /secrets, /app?tab=…, ...) into it (page::bookmark). A person signs in once with a passkey and gets a session cookie: HttpOnly, SameSite Strict, kept only as a hash in the Directory, ending after 30 minutes idle or 8 hours. The session lets them read; every write still takes a passkey of its own, bound to what it changes. Every POST is JSON and must come from this host's own pages, except a read or write an app (the iOS app) makes by bearer for the person it acts for: that one is made exactly as that person's session would make it, with the same allowlist, binding and passkey (app_person, Post::takes_bearer, session::admitted)."
      },
      {
        "bindings": [],
        "calls": [
          "apple",
          "approval",
          "approver",
          "delegates",
          "ingest",
          "instances",
          "land",
          "mcp",
          "membership",
          "policy",
          "portal_oauth",
          "users",
          "versions"
        ],
        "capability": true,
        "interface": [
          "approvals_list",
          "approvals_status"
        ],
        "name": "approvals",
        "permissions": [],
        "summary": "Passkey approval of single tool calls (docs/plans/tool-approvals.md). gate asks the person's policy about every call dispatch runs, as call_tool with the tool's name as target. A call whose rule needs the passkey answers at once with a pending approval; the person approves that exact call on the console's Approvals tab; the caller calls again with the approval's id, and the call runs once. Every step is a policy audit line. The records, digests and state changes are pigeon_core::approval's; the Directory keeps them."
      },
      {
        "bindings": [],
        "calls": [
          "approval",
          "approvals",
          "durable",
          "instances",
          "land",
          "split",
          "users"
        ],
        "capability": true,
        "interface": [
          "BINDING",
          "enqueue",
          "Approver::new",
          "Approver::fetch",
          "Approver::alarm",
          "acting_refusal"
        ],
        "name": "approver",
        "permissions": [],
        "summary": "The Approver: runs what an approval stands for once the person approves it, as the caller that asked, with no agent round-trip (docs/plans/approvals-auto-run.md). The console's approve write only hands the approval's id here (enqueue); this object keeps it and runs it from its alarm, so the run outlives the console's request. Each run is claimed in the Directory first (once, ever), made through the same dispatch as /mcp with the caller, its role and the person's policy checked again now, and its outcome recorded on the approval: done with its answer and any next approval, or failed with why."
      },
      {
        "bindings": [],
        "calls": [
          "catalogue",
          "instances",
          "mcp",
          "versions"
        ],
        "capability": true,
        "interface": [
          "capabilities_versions",
          "capabilities_upgrade_plan"
        ],
        "name": "versioning",
        "permissions": [],
        "summary": "Versions, read-only: what every hosted capability declares (capabilities_versions), and what moving each instance's pins up to the newest served versions would take (capabilities_upgrade_plan). Neither changes anything; a pin moves only through instance_propose and the person's passkey. The design is in docs/plans/versioning.md."
      },
      {
        "bindings": [],
        "calls": [
          "approval",
          "catalogue",
          "cloudflare",
          "console",
          "custom_domain",
          "data_store",
          "email",
          "federation",
          "ingest",
          "jobs_audit",
          "linked",
          "mcp",
          "membership",
          "passkeys",
          "r2",
          "secrets",
          "secrets_store",
          "site_auth",
          "split",
          "users",
          "versions",
          "workers",
          "zones"
        ],
        "capability": true,
        "interface": [
          "instances_list",
          "console_manifest",
          "capability_options",
          "capabilities_options",
          "instance_plan",
          "instance_apply",
          "instance_retire_plan",
          "instance_retire_apply",
          "instance_rename_home",
          "instance_subdomains",
          "instance_propose"
        ],
        "name": "instances",
        "permissions": [],
        "summary": "Instances: named units of what the platform runs, here or in a Cloudflare account a person linked. Code declares only their shape (record); every value an instance holds (its account, zones, sites, buckets, Workers, routes, subdomains and repository) is data, kept in the Directory. A record changes only with the signed-in person's passkey, bound to the hash of the exact record they approve and to the version they edited, so pigeon touches only what a person named. The console's Instances tab shows every instance and edits one; over MCP they can only be listed."
      },
      {
        "bindings": [],
        "calls": [
          "catalogue",
          "cloudflare",
          "console",
          "expiry",
          "instances",
          "linked",
          "mcp",
          "secrets_store",
          "tokens",
          "users",
          "versions"
        ],
        "capability": true,
        "interface": [
          "secrets_list",
          "credentials_expiry",
          "secrets_request"
        ],
        "name": "secrets",
        "permissions": [],
        "summary": "Secrets: the one way a value gets into the platform, so no one has to open Cloudflare's dashboard and no value passes through a chat. Each capability declares the secrets it needs; the console's Access › Secrets lists them, set or missing, and lets a person replace one (the console's secret-set write). Seeing the list takes the console's session, and each write takes a passkey of its own whose challenge is bound to the person, the secret's name and a hash of the new value, so an approval covers that one value. Before it is written, the owning capability checks the value works. Values are never shown, logged or kept by pigeon: they go straight to the Secrets Store. Over MCP, secrets can be listed and a link to set one handed out, but never set."
      },
      {
        "bindings": [],
        "calls": [
          "cloud_scope",
          "console",
          "data_store",
          "digitalocean",
          "email",
          "federation",
          "ingest",
          "instances",
          "site_publish"
        ],
        "capability": true,
        "interface": [
          "Placement::as_str",
          "Entry::offers_choice",
          "Entry::enablement",
          "CATALOGUE",
          "PLUMBING",
          "is_plumbing",
          "MULTI_INSTANCE",
          "JOBS",
          "find",
          "is_home",
          "hosted_enabled",
          "linked_placements",
          "placement",
          "placements",
          "own_worker_name",
          "problems",
          "enabled",
          "PROFILES",
          "profile",
          "field_of",
          "on_of",
          "is_on",
          "needs",
          "dependents"
        ],
        "name": "catalogue",
        "permissions": [],
        "summary": "The capability catalogue (docs/plans/capability-scoping.md): for each capability a hosting Worker runs for an instance, where it may run (its Placement), what its data is about (its Scope) and which instances may enable it (its Availability). Every console view comes from a capability enabled on the selected instance: hosted_enabled says which of the hosted capabilities are, and console_manifest shows only their views. An instance record lists the catalogue capabilities it enables in capabilities, checked by problems; each sits in the record at its entry's field (docs/plans/record-reshape.md). The capabilities a record enables by its own profile fields (publishing, source, CI, Metrics) are instances::tools::CAPABILITIES. Pure: no I/O."
      },
      {
        "bindings": [],
        "calls": [
          "catalogue",
          "console",
          "digitalocean",
          "instances",
          "mcp",
          "s3",
          "versions"
        ],
        "capability": true,
        "interface": [
          "NAME",
          "STATUS",
          "instance_tools",
          "home_enabled",
          "platform_enabled",
          "discovered_globally",
          "route",
          "authorize",
          "OPTIONS"
        ],
        "name": "cloud_scope",
        "permissions": [],
        "summary": "Cloud Gateway instance opt-in. Scoped status answers from the approved instance record. Provider operations require a future instance-bound implementation."
      },
      {
        "bindings": [],
        "calls": [
          "catalogue",
          "cloud_scope",
          "console",
          "crypto",
          "ingest",
          "instances",
          "jobs",
          "linked",
          "mcp",
          "users",
          "versions"
        ],
        "capability": true,
        "interface": [
          "digitalocean_status",
          "digitalocean_verify",
          "digitalocean_spaces_status",
          "digitalocean_droplet_status",
          "digitalocean_droplet_jobs",
          "digitalocean_droplet_job",
          "digitalocean_spaces_verify"
        ],
        "name": "digitalocean",
        "permissions": [],
        "summary": "Read-only DigitalOcean connection verification against an approved instance's team."
      },
      {
        "bindings": [],
        "calls": [
          "approval",
          "console",
          "data_read",
          "data_store",
          "digitalocean",
          "instances",
          "jobs",
          "linked",
          "mcp",
          "passkeys",
          "r2",
          "s3",
          "secrets_store",
          "users",
          "versions"
        ],
        "capability": true,
        "interface": [
          "NAME",
          "data_instance_tools",
          "KIND",
          "PENDING_MS",
          "REPORT_ROWS",
          "Target::new",
          "runs",
          "check_job_binding",
          "cap_report",
          "spaces_prefix"
        ],
        "name": "ingest",
        "permissions": [],
        "summary": "The data-ingest capability (decision 13 of docs/plans/ingest.md): plan, start, watch, report on and stop a run that copies only what R2 does not already hold."
      },
      {
        "bindings": [],
        "calls": [
          "data_store",
          "git",
          "instances",
          "mcp",
          "s3",
          "secrets_store",
          "versions"
        ],
        "capability": true,
        "interface": [
          "instance_tools",
          "source_of",
          "scoped_instance",
          "SETUP",
          "INLINE_MAX",
          "Provider::slug",
          "Account::scaleway",
          "Account::digitalocean",
          "Account::backblaze",
          "Account::id",
          "Account::binding",
          "validate",
          "find",
          "bucket_allowed"
        ],
        "name": "data_read",
        "permissions": [],
        "summary": "The data capability's read tools, data_read_* (docs/plans/record-reshape.md): read-only access to the instance's own data store (its R2 bucket, through the data Worker) and to S3-compatible object storage (Scaleway, DigitalOcean Spaces, Backblaze B2) from accounts declared in code, the approved location of which an instance record names at data.read. They replace the storage capability, which is removed. Nothing here writes. An external account is off until it is declared: with none, every account tool only says how to set one up. Keys live in the Secrets Store, one secret per account, and are never answered by any tool."
      },
      {
        "bindings": [],
        "calls": [
          "catalogue",
          "console",
          "data_read",
          "email",
          "ingest",
          "instances",
          "jobs_audit",
          "r2",
          "users"
        ],
        "capability": true,
        "interface": [
          "NAME",
          "MAIL_IMPORT",
          "mail_import_enabled",
          "BACKUP_SCOPES",
          "backup",
          "data_jobs_audit_bucket",
          "verify_data_jobs_audit",
          "backup_audit_bucket",
          "mail_import_audit_bucket",
          "settings",
          "read",
          "enabled",
          "planned_apart",
          "placement",
          "inline",
          "worker",
          "placement_problems",
          "MULTIPART_SETTINGS",
          "MULTIPART_CONNECTIONS",
          "RULES",
          "tier",
          "store_name",
          "b2_slot",
          "key_setting",
          "url_setting",
          "SETUP",
          "reach",
          "call",
          "OPTIONS"
        ],
        "name": "data_store",
        "permissions": [],
        "summary": "The data capability: an instance's unified data store, lite tier (docs/plans/email.md, \"Tiers\"; docs/plans/data-worker.md). The record enables it with data = {tier = \"lite\"}; an instance plan makes its bucket, D1 and data Worker (instances::data_plan). Core reaches the data Worker only through signed contract ops at /data/call, with the instance's DATA_KEY, after the checks of data-worker.md decision 3. The home instance uses the same path, so there is one code path."
      },
      {
        "bindings": [],
        "calls": [
          "catalogue",
          "digitalocean",
          "ingest",
          "instances",
          "jobs_audit",
          "r2",
          "users"
        ],
        "capability": true,
        "interface": [
          "LIST",
          "GET",
          "ENRICHED",
          "TOOLS",
          "VIEWS",
          "owned",
          "capped",
          "from_ingest",
          "from_health",
          "dedupe",
          "group",
          "Filter::from_args",
          "Filter::keeps",
          "assemble",
          "stages",
          "ingest_detail",
          "health_detail"
        ],
        "name": "jobs",
        "permissions": [],
        "summary": "Jobs: one read of everything an instance ran on temporary compute (docs/plans/jobs-unified.md). Data-ingest runs (copy, dry run, continuation, large-file and failed-file pick-ups, on a Cloudflare Container, a DigitalOcean Droplet or a Scaleway Instance) and the DigitalOcean runner checks, each through an adapter from its own records. Nothing is migrated."
      },
      {
        "bindings": [],
        "calls": [
          "catalogue",
          "console",
          "instances",
          "linked",
          "r2",
          "sign",
          "webauthn"
        ],
        "capability": true,
        "interface": [
          "default_bucket",
          "diagnostic_object",
          "export",
          "export_pipeline",
          "OPTIONS"
        ],
        "name": "jobs_audit",
        "permissions": [],
        "summary": "Redacted, terminal runner diagnostics for an approved instance's private R2 bucket."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "cloudflare_oauth",
          "console",
          "crypto",
          "data_store",
          "email",
          "instances",
          "mcp",
          "membership",
          "secrets_store",
          "tokens",
          "users",
          "versions",
          "webauthn"
        ],
        "capability": true,
        "interface": [
          "linked_setup",
          "linked_check",
          "linked_scopes",
          "linked_status"
        ],
        "name": "linked",
        "permissions": [],
        "summary": "Linked accounts: another Cloudflare account a person links to an instance with Cloudflare's own OAuth consent screen, so no token passes through a person's hands or a chat."
      },
      {
        "bindings": [],
        "calls": [
          "approval",
          "console",
          "digitalocean",
          "ingest",
          "instances",
          "users"
        ],
        "capability": true,
        "interface": [
          "Role::name",
          "Role::parse",
          "parse_setting",
          "MEMBERS_TABLE",
          "MEMBERS_SEED",
          "key",
          "LAST_OWNER",
          "Access::concerned",
          "Access::role",
          "Access::check",
          "Access::visible",
          "Access::may_manage",
          "refusal",
          "member_change",
          "write_need",
          "OWN_RULES",
          "OWN_TOOLS",
          "tool_need",
          "access",
          "require",
          "check_write",
          "check_tool",
          "grant"
        ],
        "name": "membership",
        "permissions": [],
        "summary": "Per-instance membership (docs/plans/membership.md). Identity stays platform-level: one sign-in and one set of passkeys per person, in the Directory. What a person may do on an instance is their role there: owner, operator or viewer, kept in the Directory's members table by (instance, person), not in the instance's record, so a record's digest never changes with who belongs to it. A platform admin is owner everywhere without a row."
      },
      {
        "bindings": [],
        "calls": [
          "access",
          "approval",
          "console",
          "delegates",
          "digitalocean",
          "durable",
          "federation",
          "github",
          "identity",
          "ingest",
          "instances",
          "jobs_audit",
          "linked",
          "mcp",
          "membership",
          "policy_file",
          "proxy",
          "site_auth",
          "site_passkeys",
          "source",
          "versions",
          "webauthn"
        ],
        "capability": true,
        "interface": [
          "users_whoami",
          "users_list",
          "users_people",
          "users_bootstrap",
          "users_invite",
          "users_enrol",
          "users_link",
          "users_unlink",
          "users_remove",
          "users_remove_preview",
          "users_admin",
          "instance_members",
          "instance_member_set",
          "apps_cleanup",
          "apps_cleanup_apply",
          "users_rename"
        ],
        "name": "users",
        "permissions": [],
        "summary": "Users: standard users, who are people, and service users, who are agents. A service user can be linked to a standard user, to act for them; the person approves the link with a passkey. A person is the platform's admin or a member (\"platform roles\", below); a service user acting for a person has that person's role. Every user has a display name and nothing else about them is kept."
      },
      {
        "bindings": [],
        "calls": [
          "approvals",
          "expiry",
          "github_app",
          "instances",
          "linked",
          "mcp",
          "oauth",
          "policy",
          "remote",
          "secrets_store",
          "site_publish",
          "users",
          "versions"
        ],
        "capability": true,
        "interface": [
          "github_status"
        ],
        "name": "github",
        "permissions": [],
        "summary": "The GitHub App: pigeon reads an instance's repository and hears its pushes as one App (GITHUB_APP_ID and GITHUB_APP_CLIENT_ID in the Worker's vars name it; its private key and webhook secret are Secrets Store secrets the person sets in the console's Access › Secrets). The key never leaves core: core mints short-lived installation tokens, narrowed to one approved instance's repository and read access, through installation_token_for; the sites Worker gets one only through the instance-scoped sites_scope callback. /github/hook checks each delivery's X-Hub-Signature-256 before reading it, accepts pushes only from the installation an instance's record names, and records the latest push per instance. A push to main is kept as a pending deploy, bound to the approved publishing record; the platform's minute cron runs it (run_pending) through the sites Worker's private site_deploy_queued, acting for the person who linked the instance, and tries again a deploy a redeploy cut off. github_status shows how the latest went."
      },
      {
        "bindings": [],
        "calls": [
          "console",
          "expiry",
          "instances",
          "mcp",
          "secrets_store",
          "split",
          "versions",
          "webauthn"
        ],
        "capability": true,
        "interface": [
          "MANIFEST_TTL_MS",
          "capabilities",
          "unreachable",
          "forget",
          "Remote::new",
          "Remote::options_dropped",
          "call_owned_instance",
          "instance_context",
          "global_context"
        ],
        "name": "remote",
        "permissions": [],
        "summary": "Capabilities hosted by another Worker, reached over a Cloudflare Service Binding. A remote capability looks like any other Capability to core: dispatch, the tool list, console sections, secrets, queue fan-out and the architecture page need no special case. Core asks each bound Worker for its manifest and keeps it a minute, so a capability deploy needs no core deploy. Calls carry the caller, signed with the bound Worker's own key (CALLER_KEY_<WORKER>, crate::split::signing_key_name). A Worker that does not answer is left out and shown as unreachable, rather than failing everything."
      },
      {
        "bindings": [],
        "calls": [
          "artifacts",
          "git",
          "land",
          "mcp",
          "pack",
          "patch",
          "queues",
          "rebase",
          "versions"
        ],
        "capability": true,
        "interface": [
          "source_resolve_revision",
          "source_read_file",
          "source_token",
          "source_tokens",
          "source_revoke",
          "branch_patch",
          "branch_push",
          "session_credential",
          "setup_source"
        ],
        "name": "source",
        "permissions": [],
        "summary": "The source repository in Cloudflare Artifacts: the repository itself (imported from a git remote when created), the queue its push events go to with the hosting Worker as consumer, and short-lived git tokens on demand. Coding agents write their branches here through MCP with branch_push, or with a session_credential through the git proxy (push)."
      },
      {
        "bindings": [],
        "calls": [
          "approval",
          "ci",
          "cloudflare",
          "instances",
          "land",
          "ledger",
          "linked",
          "mcp",
          "proxy",
          "remote",
          "secrets_store",
          "site_auth",
          "sites_scope",
          "tokens",
          "users",
          "versions",
          "webauthn"
        ],
        "capability": true,
        "interface": [
          "workers_setup",
          "manifest_refresh"
        ],
        "name": "split",
        "permissions": [],
        "summary": "Core's side of the Workers split (docs/plans/workers-split.md): the capability Workers' tools merged with this Worker's own, the ops a capability Worker asks core (at https://core/<op> over its PLATFORM binding), and two tools: workers_setup, which makes the keys that sign callers (each Worker's own) and SITE_KEY, and manifest_refresh."
      },
      {
        "bindings": [],
        "calls": [
          "artifacts",
          "attribution",
          "ci",
          "dispatch",
          "durable",
          "git",
          "gitobj",
          "lanes",
          "ledger",
          "mcp",
          "mcp_portal",
          "observability",
          "policy",
          "portal_oauth",
          "proxy",
          "remote",
          "split",
          "users",
          "versions",
          "webauthn"
        ],
        "capability": true,
        "interface": [
          "land",
          "land_status",
          "land_list",
          "land_watch",
          "work_status",
          "land_cancel",
          "portal_sync",
          "portal_oauth_redirects",
          "portal_oauth_redirects_apply"
        ],
        "name": "land",
        "permissions": [],
        "summary": "Landing: a session's branch to main and to the deployed platform, with no person in between unless one is asked for. land {branch} answers at once, and the Lander's alarm checks the branch's tip is a fast-forward of main under refs/heads/claude/ or refs/heads/codex/, the agents' namespaces (state::PREFIXES; a failed check ends it refused), then runs CI job test at it, waits for a person's passkey approval when the setting asks for one or the commit changes what the gate itself runs, moves main to it through the platform's own git path, and deploys each Worker it affects in that Worker's lane (lanes): the Worker's deploy job uploads it through the Cloudflare API proxy with its own job token. Every step is reported by land_status and the result is noted on the commit under refs/notes/land."
      },
      {
        "bindings": [],
        "calls": [
          "api_calls",
          "approval",
          "cloudflare",
          "cost",
          "dispatch",
          "land",
          "lanes",
          "ledger",
          "mcp",
          "tokens",
          "users",
          "versions"
        ],
        "capability": true,
        "interface": [
          "observability_worker_metrics",
          "containers_images",
          "observability_monitors_plan",
          "observability_monitors_apply",
          "observability_summary",
          "observability_errors",
          "tokens_status",
          "cloudflare_calls",
          "cost_daily"
        ],
        "name": "observability",
        "permissions": [],
        "summary": "observability_summary: a read-only look at how the platform's Workers are doing and what the platform costs, from Cloudflare's metrics, logs and billable usage, plus pigeon's own model cost and deploys. The folding is plain functions with no Worker types, so the smoke suite runs them on fixtures. See docs/plans/observability.md. It also answers containers_images (images), the read-only look at container applications and images."
      },
      {
        "bindings": [],
        "calls": [
          "api_calls",
          "durable",
          "oauth",
          "secrets_store",
          "tokens",
          "webauthn"
        ],
        "capability": true,
        "interface": [
          "BINDING",
          "OBJECT",
          "MIN_LEFT_MS",
          "CALLS_KEPT_HOURS",
          "HARD_CAP",
          "DEFAULT_SOFT_CEILING",
          "CEILING_RANGE",
          "GAUGE_MAX_AGE_MS",
          "ACCOUNT_CACHE_MS",
          "check_ceiling",
          "live_now",
          "caller_hash",
          "lease_key",
          "Ledger::new",
          "Ledger::with_settings",
          "Ledger::gauge_set",
          "Ledger::ceiling_set",
          "Ledger::gauge",
          "Ledger::rows",
          "Ledger::lease",
          "Ledger::holds",
          "Ledger::release",
          "Ledger::reap",
          "Ledger::mint_transient",
          "Ledger::revoke_transient",
          "TokenLedger::new",
          "TokenLedger::fetch",
          "lease",
          "holds",
          "release",
          "gauge",
          "ceiling_set",
          "reap",
          "flush_calls",
          "calls"
        ],
        "name": "ledger",
        "permissions": [],
        "summary": "The token ledger: one shared Cloudflare API token per (caller, permission set), minted and revoked only by core (docs/plans/token-minting.md, decisions 3 and 6)."
      },
      {
        "bindings": [],
        "calls": [
          "ci",
          "console",
          "land",
          "mcp",
          "oauth",
          "users",
          "versions"
        ],
        "capability": true,
        "interface": [],
        "name": "proxy",
        "permissions": [],
        "summary": "Proxy credentials: what a cloud session holds to reach the platform's proxies, /git/ and /cf/, and nothing else. A proxy credential is a bearer token of its own kind, so the MCP endpoint, which looks up only access tokens, never accepts one; and the proxies accept nothing else. Its value is shown once, when it is issued, and kept only as a hash; its id is the first characters of that hash. The console's Access › Tokens lists, issues and revokes them: seeing the list takes the console's session, and issuing or revoking takes a passkey of its own whose challenge is bound to the person and that one credential's label and lifetime, or id. Every proxied request is logged as one audit line: who, which route, and what came of it."
      },
      {
        "bindings": [],
        "calls": [
          "github",
          "instances",
          "oauth",
          "site_publish",
          "split"
        ],
        "capability": true,
        "interface": [
          "approved_record"
        ],
        "name": "sites_scope",
        "permissions": [],
        "summary": "Operation-specific callbacks for a Sites Worker with verified publishing context."
      },
      {
        "bindings": [],
        "calls": [
          "ai_gateway",
          "cloudflare",
          "dispatch",
          "observability",
          "users"
        ],
        "capability": true,
        "interface": [
          "GATEWAY_READ",
          "line_of",
          "with_status",
          "billing_days",
          "roles_of",
          "live_days",
          "merge_day",
          "merge_month",
          "closed_by_month",
          "gateway_settled",
          "live_window",
          "stored_truncated",
          "wanted_months",
          "apply_promotional_grants",
          "assemble",
          "cost_daily"
        ],
        "name": "cost",
        "permissions": [],
        "summary": "cost_daily: read-only daily cost buckets for the iOS app's Cost screen. It joins Cloudflare's billable usage, the AI Gateway's cost per model family and run (models_daily), and the AI agent runs' roles. Closed days are kept in the Directory's settings, one key per month, so the all range reaches back past the gateway's 31-day window. A closed day's gateway logs do not change once its UTC day has ended, so a stored day that holds the gateway's reading (gateway_settled) is not listed again: a read lists the gateway's logs only from the oldest day of its range that is not stored yet (live_window), usually today alone. Listing every gateway's logs for 7 days took longer than the console's 10-second read limit. The folding is pure; only cost_daily reads or writes anything."
      },
      {
        "bindings": [],
        "calls": [
          "approvals",
          "console",
          "data_store",
          "dispatch",
          "instances",
          "mcp",
          "versions"
        ],
        "capability": true,
        "interface": [
          "NAME",
          "MUST_BE_GATED",
          "ungated",
          "FIRST_ADDRESSES",
          "settings",
          "enabled",
          "domain",
          "config",
          "valid_local",
          "valid_destination",
          "field_problems",
          "RULES",
          "with_address",
          "with_forward",
          "instance_tools",
          "mailbox_names",
          "merge_mailboxes",
          "OPTIONS"
        ],
        "name": "email",
        "permissions": [],
        "summary": "The email capability (docs/plans/email.md): mail received by Email Routing on the instance's zone, through one catch-all rule, into the instance's unified data store (the data capability). Listed addresses are mailboxes of their own; everything else lands in catch-all. Everything is kept; no tool deletes mail."
      },
      {
        "bindings": [],
        "calls": [
          "apple",
          "design",
          "mcp",
          "passkeys",
          "users",
          "versions"
        ],
        "capability": true,
        "interface": [
          "oauth_clients",
          "oauth_revoke",
          "oauth_issue_token"
        ],
        "name": "oauth",
        "permissions": [],
        "summary": "OAuth for the MCP endpoint, as the MCP authorization spec asks, so any MCP client can sign in: it finds the server from /.well-known/, registers itself, and sends the person to /oauth/authorize, where they sign in with a passkey and allow it. Each registered client is a service user; allowing it links it to the person, so it acts for them. Its tokens are bearer tokens, kept only as hashes. A service user can also be issued a long-lived token directly, for agents with no browser."
      },
      {
        "bindings": [],
        "calls": [
          "console",
          "instances",
          "mcp",
          "passkeys",
          "site_auth",
          "users",
          "versions"
        ],
        "capability": true,
        "interface": [
          "site_passkey"
        ],
        "name": "site_passkeys",
        "permissions": [],
        "summary": "Passkeys for a site pigeon-sites serves (docs/plans/sites.md, part A). Core holds the Directory, so it does the WebAuthn checks; pigeon-sites asks through the one tool here and decides for itself who may come in. The relying party is the site's own host, so a passkey made for one host cannot sign in on another."
      },
      {
        "bindings": [],
        "calls": [
          "artifacts",
          "git",
          "mcp",
          "pack",
          "r2",
          "versions"
        ],
        "capability": true,
        "interface": [
          "changelog",
          "changelog_update"
        ],
        "name": "changelog",
        "permissions": [],
        "summary": "The changelog of main (docs/plans/changelog.md): made after the fact from git history, on each Artifacts push to main or to the landing notes, and kept as R2 objects in pigeon's own account. It never commits, and it never holds up a landing, a deploy or CI: it runs from the queue after every other capability, a run that takes longer than RUN_LIMIT_MS is left for the next push, and a failure is only logged. It reads and writes the bucket through core's BINDING when core has one (no token at all), and otherwise through the R2 API with short-lived tokens minted from the parent token."
      },
      {
        "bindings": [],
        "calls": [
          "approval",
          "users"
        ],
        "capability": true,
        "interface": [
          "KNOWN",
          "OWN",
          "known",
          "override_allowed",
          "Grant::from_row",
          "Grant::kind",
          "app_of",
          "group",
          "app_with",
          "still_members",
          "GRANTS_SQL",
          "ASSIGNMENTS_TABLE",
          "DISCONNECT_GRANT",
          "steps",
          "payload",
          "plan_lines",
          "suggest",
          "ASSIGN",
          "KIND",
          "cleanup_plan",
          "cleanup_apply"
        ],
        "name": "delegates",
        "permissions": [],
        "summary": "Delegates: an app acting for a person. One model for both ways an app reaches pigeon."
      },
      {
        "bindings": [],
        "calls": [
          "mcp",
          "versions"
        ],
        "capability": true,
        "interface": [
          "call"
        ],
        "name": "dispatch",
        "permissions": [],
        "summary": "call {tool, args}: runs any hosted capability's tool by name. A session's MCP tool list is fixed when the session starts, so a tool deployed after it is unreachable by name; through call it is not. The tool runs as a direct call would (crate::dispatch): the same caller, the same checks, the same errors. call never calls itself, and gives its caller nothing it did not have: every tool it reaches is on the same endpoint, for the same caller."
      },
      {
        "bindings": [],
        "calls": [
          "catalogue",
          "console",
          "digitalocean",
          "instances",
          "mcp",
          "membership",
          "users"
        ],
        "capability": true,
        "interface": [
          "NAME",
          "DISCOVER",
          "READS",
          "changed",
          "permitted",
          "Available::load",
          "Available::names",
          "Available::tools",
          "Available::call",
          "OPTIONS"
        ],
        "name": "federation",
        "permissions": [],
        "summary": "Explicit, bilateral MCP read access between instances served by this core."
      },
      {
        "bindings": [],
        "calls": [
          "artifacts",
          "expiry",
          "git",
          "mcp",
          "secrets_store",
          "versions"
        ],
        "capability": true,
        "interface": [
          "source_mirror"
        ],
        "name": "mirror",
        "permissions": [],
        "summary": "Keeps a read-only copy of an Artifacts repository on another git host, such as GitHub, for disaster recovery. Artifacts is the source of truth: the copy only follows it, and a mirror that fails never holds anything up."
      },
      {
        "bindings": [],
        "calls": [
          "design",
          "mcp",
          "users",
          "versions",
          "webauthn"
        ],
        "capability": true,
        "interface": [
          "passkeys_list",
          "passkeys_remove"
        ],
        "name": "passkeys",
        "permissions": [],
        "summary": "Passkeys: how a person proves who they are. It serves the /auth pages Access lets everyone reach, where the passkey is the only gate: registering a passkey from a single-use enrolment link, and approving a service user's link with one. Later, the same sign-in grants OAuth."
      },
      {
        "bindings": [],
        "calls": [
          "mcp",
          "policy_file",
          "users",
          "versions"
        ],
        "capability": true,
        "interface": [
          "policy_check"
        ],
        "name": "policy",
        "permissions": [],
        "summary": "The policy, as the platform uses it: .pigeon/policy.toml, built into the Worker, read by pigeon_core::policy. policy_check answers one request as the person's delegate: the service account acting for the standard user. The Lander takes from it which landings wait for a passkey, and the git proxy which ref updates it lets through. Every decision is one audit line in the Worker's log; policy_check's and the Lander's are also kept, the latest readable with recent. The console no longer lists them."
      },
      {
        "bindings": [],
        "calls": [
          "access",
          "approval",
          "users"
        ],
        "capability": true,
        "interface": [
          "KIND",
          "check_uri",
          "summary",
          "plan",
          "differences",
          "redirects",
          "apply"
        ],
        "name": "portal_oauth",
        "permissions": [],
        "summary": "Change one exact OAuth redirect URI on the Access application behind the MCP Server Portal (docs/plans/mcp-portal.md, \"Phase 6\"). The functions at the top are pure: they check a URI, summarise the application, plan one change and compare two reads. The two handlers at the bottom read and write through an Access Session and ask a person's approval first."
      },
      {
        "bindings": [],
        "calls": [
          "custom_domain",
          "mcp",
          "versions",
          "zones"
        ],
        "capability": true,
        "interface": [
          "setup_platform"
        ],
        "name": "public_host",
        "permissions": [],
        "summary": "A hostname served by a Worker in public, with no Access in front: every path on it checks its callers itself or is open to all."
      },
      {
        "bindings": [],
        "calls": [
          "users"
        ],
        "capability": true,
        "interface": [
          "WARN_DAYS",
          "CACHE_MS",
          "RETRY_MS",
          "EXPIRED_SHOWN_MS",
          "status",
          "days_left",
          "Row::new",
          "Row::needs_you",
          "date",
          "forget",
          "secrets",
          "proxy"
        ],
        "name": "expiry",
        "permissions": [],
        "summary": "Credential expiry, seen before it bites. Each capability can say when its secrets stop working (crate::Capability::secret_expiry), as the issuer reports it; the answer is cached for a day in the Directory, so the console and credentials_expiry ask an issuer at most daily. Proxy credentials carry their own expires_at, so they need no check. A row warns WARN_DAYS ahead and flags a credential that has expired or that its issuer refuses. Nothing here ever holds or shows a value."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "git",
          "pack",
          "repository",
          "secrets_store",
          "tokens"
        ],
        "capability": false,
        "interface": [
          "ensure",
          "repo",
          "delete",
          "with_cached_token",
          "mint",
          "REPO_KEPT_MS",
          "RepoCache::key",
          "RepoCache::get",
          "RepoCache::put",
          "RepoCache::forget",
          "forget_repo",
          "with_cached_repo",
          "session",
          "tokens",
          "revoke",
          "store",
          "EVENTS_PERMISSIONS",
          "events_source",
          "read_file",
          "read_revision",
          "read_tree"
        ],
        "name": "artifacts",
        "permissions": [],
        "summary": "Cloudflare Artifacts: git repositories hosted on Cloudflare, grouped into namespaces. This capability creates repositories (empty or imported from a public git remote) and mints, lists, revokes and stores the git tokens that reach them. Git sends a token as Authorization: Bearer <token>."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "tokens",
          "workers"
        ],
        "capability": false,
        "interface": [
          "attach",
          "detach",
          "attached_id"
        ],
        "name": "custom_domain",
        "permissions": [],
        "summary": "Attaches a hostname to a Worker as a Workers Custom Domain, so Cloudflare creates its DNS record and certificate; and detaches it again, only from the Worker named."
      },
      {
        "bindings": [],
        "calls": [
          "ai_gateway"
        ],
        "capability": false,
        "interface": [
          "price",
          "price_at",
          "cost_micros",
          "estimate_micros"
        ],
        "name": "model_prices",
        "permissions": [],
        "summary": "One table of model prices, shared by the AI agents' budget and the model gateway's cache rows. The numbers are Anthropic's pricing and prompt-caching pages, as read for docs/plans/ai-agents.md on 2026-11-22: input and output per model; cache reads cost 0.05x the input price, 5-minute cache writes 1.25x and 1-hour writes 2x."
      },
      {
        "bindings": [],
        "calls": [
          "oauth",
          "r2"
        ],
        "capability": false,
        "interface": [
          "profile",
          "protected",
          "site",
          "base_url",
          "release_id",
          "release_key",
          "is_release_id",
          "stage",
          "activate",
          "staged",
          "MAX_RELEASES",
          "releases",
          "live",
          "resolve",
          "NOT_FOUND_PAGE",
          "pick",
          "cache_control",
          "etag",
          "decode_path",
          "is_script_type",
          "needs_scan",
          "scriptless"
        ],
        "name": "site_publish",
        "permissions": [],
        "summary": "Shared publishing profile, release identifiers, and the release code every publisher uses: pigeon-sites for linked instances, core for the home instance. A release is staged into a Store (the blobs it lacks, deploys/{release}.json, then release-meta/{release}.json) and made live by one write of crate::r2::LIVE, so the previous release stays whole until that last write; a rollback checks a staged release belongs to the same target and moves live back; a listing reads the releases and the live one. A Worker serving a release itself (core, on the home instance's apex) reads it with live and pick, as site_worker.js does for linked instances."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "tokens"
        ],
        "capability": false,
        "interface": [
          "PERMISSIONS",
          "APPS_READ_PERMISSION",
          "APPS_WRITE_PERMISSION",
          "Session::open",
          "Session::open_apps",
          "Session::finish",
          "Session::service_token",
          "Session::rotate",
          "Session::policy",
          "Session::app",
          "Session::remove_app",
          "Session::remove_policies",
          "Session::find_service_token",
          "Session::bypass_policy",
          "Session::app_aud",
          "Session::portal_app",
          "Session::put_app",
          "Session::team_domain",
          "Session::service_token_name",
          "Session::remove_service_token"
        ],
        "name": "access",
        "permissions": [],
        "summary": "Cloudflare Access objects: service tokens, reusable policies and self-hosted applications. A Session holds one minted token for a run of operations. Each finds its object by name or domain first, so running it again changes nothing."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "tokens"
        ],
        "capability": false,
        "interface": [
          "WRITE_PERMISSIONS",
          "READ_PERMISSIONS",
          "RUN_PERMISSIONS",
          "SECRET_SCOPE",
          "WORKERS_AI",
          "METADATA_HEADER",
          "PAYLOAD_HEADER",
          "MAX_TAGS",
          "UNAUTHORIZED_CODE",
          "refused_token",
          "secret_name",
          "spec",
          "ensure",
          "drift",
          "stored_key_drift",
          "credits_guard",
          "byok_ready",
          "workers_ai_guard",
          "endpoint",
          "workers_ai_headers",
          "credits_error",
          "gateway_settings",
          "provider_configs",
          "ensure_provider",
          "metadata_header",
          "run",
          "LOG_ID_HEADER",
          "stream",
          "Log::tag",
          "canonical_model",
          "Filter::keeps",
          "LogsReader::open",
          "LogsReader::logs",
          "LogsReader::finish",
          "MAX_LOG_IDS",
          "check_log_id",
          "cost_answer",
          "log_costs",
          "Dimension::named",
          "summarize",
          "error_code"
        ],
        "name": "ai_gateway",
        "permissions": [],
        "summary": "Cloudflare AI Gateway: one gateway in front of many model providers. This block has a gateway exist, keeps its providers' keys (bring your own keys, stored in the Secrets Store and named {gateway}_{provider}_{alias}), sends requests through it and reads its logs. Requests carry cf-aig-authorization, a token minted for the call and revoked after; a provider's key never leaves Cloudflare."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "tokens"
        ],
        "capability": false,
        "interface": [
          "PERMISSIONS",
          "sync",
          "servers",
          "create_server",
          "update_server"
        ],
        "name": "mcp_portal",
        "permissions": [],
        "summary": "Cloudflare MCP server portals: a portal lists an MCP server's tools as it last synced them, about every two hours on its own. A sync asks it to read them again now, so tools a deploy added or removed show at once."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "tokens"
        ],
        "capability": false,
        "interface": [
          "ensure",
          "subscribe"
        ],
        "name": "queues",
        "permissions": [],
        "summary": "Cloudflare Queues: has a queue exist and a Worker consume it. Both are found by name first, so running it again changes nothing."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "sign",
          "tokens"
        ],
        "capability": false,
        "interface": [
          "LIVE",
          "blob_key",
          "manifest_key",
          "blob_of_key",
          "encode_key",
          "content_type",
          "manifest_of",
          "missing",
          "resolve",
          "prune",
          "ensure_bucket_with",
          "bucket_exists",
          "private_domains",
          "require_private_bucket",
          "ensure_bucket",
          "put_with",
          "put",
          "put_in_batches",
          "put_objects",
          "get_with",
          "get",
          "delete_with",
          "delete",
          "empty_bucket",
          "delete_bucket",
          "list_with",
          "list"
        ],
        "name": "r2",
        "permissions": [],
        "summary": "R2 buckets and objects through Cloudflare's REST API, and the layout pigeon deploys a static site in."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "git",
          "tokens"
        ],
        "capability": false,
        "interface": [
          "READ_PERMISSIONS",
          "CREDENTIALS_PERMISSIONS",
          "HOST",
          "PER_START",
          "application",
          "applications",
          "next_cursor",
          "add_page",
          "repositories"
        ],
        "name": "registry",
        "permissions": [],
        "summary": "Cloudflare's container registry and the container applications that run from it, read only: which applications exist and the image each runs, and which repositories and tags the account's registry (registry.cloudflare.com) holds. The registry is read with pull-only credentials living five minutes, made with a token minted for the call and revoked after; neither ever leaves this block. The calls are the ones wrangler 4.166.0's containers images list makes."
      },
      {
        "bindings": [],
        "calls": [
          "git",
          "s3",
          "webauthn"
        ],
        "capability": false,
        "interface": [
          "INLINE_MAX",
          "revision",
          "file_path",
          "github_resolve",
          "github_read_file",
          "github_archive"
        ],
        "name": "repository",
        "permissions": [],
        "summary": "Shared read operations for an already selected repository."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "site_auth",
          "tokens"
        ],
        "capability": false,
        "interface": [
          "WORKERS",
          "WRITE_PERMISSION",
          "read",
          "site_key",
          "PER_PAGE",
          "more_pages",
          "Writer::open",
          "Writer::list",
          "Writer::create",
          "Writer::update",
          "Writer::delete",
          "Writer::put",
          "Writer::put_scoped",
          "Writer::finish"
        ],
        "name": "secrets_store",
        "permissions": [],
        "summary": "The account's Secrets Store. A Worker binding reads one bound secret; every other operation goes through the API on a token minted for it and revoked after."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "tokens",
          "webauthn"
        ],
        "capability": false,
        "interface": [
          "valid_segment",
          "valid_hostname",
          "metadata",
          "multipart",
          "content_type",
          "boundary_from",
          "route_for",
          "plan_route",
          "plan_delete",
          "workers_dev_url",
          "is_not_found",
          "id_of",
          "subdomain_of",
          "conflict_message",
          "upload",
          "exists",
          "enable_workers_dev",
          "disable_workers_dev",
          "delete",
          "routes",
          "custom_domains"
        ],
        "name": "workers",
        "permissions": [],
        "summary": "Wraps Cloudflare's REST API for small Workers."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "tokens"
        ],
        "capability": false,
        "interface": [
          "active"
        ],
        "name": "zones",
        "permissions": [],
        "summary": "Zones in the account, such as pigeon.dev. A zone is added and its nameservers moved by hand; this finds it and checks it is active."
      },
      {
        "bindings": [],
        "calls": [
          "github_app",
          "webauthn"
        ],
        "capability": false,
        "interface": [
          "API",
          "BUNDLE_ID",
          "TOKEN_SECS",
          "is_apple_id",
          "is_issuer_id",
          "p8_der",
          "jwt_signing_input",
          "sign_jwt",
          "sign_es256",
          "api_error",
          "get",
          "patch",
          "parts",
          "send_part",
          "pkcs8_pem",
          "is_version",
          "post",
          "b64",
          "unb64",
          "new_key"
        ],
        "name": "apple",
        "permissions": [],
        "summary": "The App Store Connect API client (docs/plans/ios.md, §2): the ES256 JWT that every request carries, the checks on the ids the person enters, and one read-only GET. The key never leaves this Worker, and no error holds the key or a token."
      },
      {
        "bindings": [],
        "calls": [
          "oauth"
        ],
        "capability": false,
        "interface": [
          "TOOL_CALL_TTL_MS",
          "INSTANCE_DRAFT_TTL_MS",
          "LINKED_PLAN_TTL_MS",
          "USE_TTL_MS",
          "MAX_PENDING_PER_CALLER",
          "REDACTED",
          "Kind::name",
          "Kind::named",
          "Kind::ttl_ms",
          "Kind::applies_on_approve",
          "State::name",
          "RunStatus::name",
          "RESULT_MAX",
          "LINE_MAX",
          "RUN_STALE_MS",
          "line",
          "kept_result",
          "canonical",
          "call_digest",
          "payload_digest",
          "redact",
          "purpose",
          "new",
          "is_stale",
          "expire",
          "decide",
          "take",
          "stale_draft",
          "runnable",
          "claim",
          "finish",
          "run_stale",
          "recall"
        ],
        "name": "approval",
        "permissions": [],
        "summary": "Approvals of single actions, each bound to a digest of exactly that action: approved once with the person's passkey, and used once. Gated tool calls and instance drafts share it. This module is pure: the Directory stores records, and the console and dispatch call these functions."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "git",
          "oauth",
          "webauthn"
        ],
        "capability": false,
        "interface": [
          "verifier",
          "challenge",
          "OFFLINE_ACCESS",
          "authorize_url",
          "code_form",
          "refresh_form",
          "revoke_form",
          "basic",
          "read_tokens",
          "needs_refresh",
          "callback_params",
          "exchange",
          "refresh",
          "revoke",
          "granted_accounts"
        ],
        "name": "cloudflare_oauth",
        "permissions": [],
        "summary": "Cloudflare as an OAuth provider, with pigeon as the client."
      },
      {
        "bindings": [],
        "calls": [
          "design",
          "git"
        ],
        "capability": false,
        "interface": [
          "CSP",
          "CONSOLE",
          "console_redirect",
          "Asset::path",
          "Asset::content_type",
          "Asset::bytes",
          "ASSET_CACHE",
          "route",
          "home_html",
          "architecture_html",
          "NARROW_MEDIA",
          "architecture_picture",
          "unavailable_html"
        ],
        "name": "home",
        "permissions": [],
        "summary": "The pages of the pigeon.dev apex: the home page and the architecture page, as pure HTML, the images they use, and the routing of a method and path to one of them. No Cloudflare calls. Both Workers that can own the apex (pigeon-sites and the platform) serve from here."
      },
      {
        "bindings": [],
        "calls": [
          "oauth"
        ],
        "capability": false,
        "interface": [
          "PREFIX",
          "mint",
          "lookup_hash",
          "allows_job",
          "allows_fetch",
          "reaches"
        ],
        "name": "job_token",
        "permissions": [],
        "summary": "Job tokens. A job token lets one CI runner fetch one commit of one repository and report back for one job, until the job's deadline, and nothing else. It is shown only to that runner and kept only as its hash, beside its grant, in the scheduler; it is dropped as the job ends."
      },
      {
        "bindings": [],
        "calls": [
          "git",
          "sign"
        ],
        "capability": false,
        "interface": [
          "EMPTY_SHA256",
          "UNSIGNED_PAYLOAD",
          "parse_keys",
          "backblaze_read_scope",
          "verify_backblaze_read_key",
          "Endpoint::host",
          "uri_encode",
          "object_path",
          "sign",
          "PRESIGN_MAX_S",
          "presign_get",
          "presign_url",
          "amz_date",
          "parse_list_buckets",
          "parse_list_objects",
          "parse_error",
          "list_objects_query",
          "send"
        ],
        "name": "s3",
        "permissions": [],
        "summary": "A small S3 client for S3-compatible object storage (Scaleway, DigitalOcean Spaces, Backblaze B2). Path-style addressing only. Request signing (AWS Signature Version 4) and the XML readers are pure, so they can be checked against recorded inputs. Provider calls are separated from the pure parsing and signing helpers. A secret key never appears in an error or in Debug output."
      },
      {
        "bindings": [],
        "calls": [
          "oauth",
          "sign"
        ],
        "capability": false,
        "interface": [
          "SESSION_MS",
          "COOKIE",
          "config_of",
          "ORIGIN_AUTH",
          "ORIGIN_PROTECTED",
          "ORIGIN_CHECK",
          "SITE_KEY",
          "origin_key",
          "session_key",
          "binding",
          "issue",
          "verify",
          "set_cookie",
          "clear_cookie",
          "cookie_value",
          "allowed",
          "subject",
          "split_subject",
          "safe_next",
          "gate"
        ],
        "name": "site_auth",
        "permissions": [],
        "summary": "Passkey sign-in for a site pigeon-sites serves (docs/plans/sites.md, part A). Everything here is pure: the config read from a host's entry, the session cookie, who may sign in, and which requests the gate lets through. pigeon-sites calls it; nothing here calls a Worker. A host with no config is never touched."
      },
      {
        "bindings": [],
        "calls": [
          "cloudflare",
          "durable"
        ],
        "capability": false,
        "interface": [
          "DEFAULT_TTL_SECS",
          "Policy::new",
          "MintRequest::new",
          "mint_body",
          "mint",
          "LEDGER_BINDING",
          "LEDGER_OBJECT",
          "DEFAULT_SOFT_CEILING",
          "mint_for",
          "mint_as",
          "revoke_for",
          "revoke_as",
          "revoke",
          "verify",
          "verify_detail",
          "NAME_PREFIX",
          "WORKER_NAME_PREFIX",
          "name",
          "minted",
          "parse_ms",
          "sweep_plan",
          "sweep",
          "list_all",
          "CAPACITY_ERROR",
          "quota_error",
          "capacity_error",
          "live_pigeon",
          "count_live",
          "Scoped::open",
          "Scoped::open_for",
          "Scoped::value",
          "Scoped::finish"
        ],
        "name": "tokens",
        "permissions": [],
        "summary": "Mints and revokes short-lived Cloudflare account API tokens from a parent token. A minted token's value is returned to the caller only; it is never stored or logged."
      },
      {
        "bindings": [],
        "calls": [
          "webauthn"
        ],
        "capability": false,
        "interface": [
          "MAX_PAYLOAD",
          "TOKEN_REUSE_SECS",
          "TOKEN_MIN_REFRESH_SECS",
          "PER_MINUTE",
          "PER_DAY",
          "signing_input",
          "token_fresh",
          "reuse_token",
          "drop_on_gone",
          "may_refresh",
          "is_environment",
          "host",
          "is_device_token",
          "bundle_id",
          "PushType::parse",
          "PushType::as_str",
          "PushType::priority",
          "payload",
          "headers",
          "action",
          "rate_limit"
        ],
        "name": "apns",
        "permissions": [],
        "summary": "APNs, the pure parts: provider token input, hosts, headers, payloads, the error table and the send rate limit. Nothing here calls the network or holds a key (docs/plans/ios.md, §3)."
      },
      {
        "bindings": [],
        "calls": [
          "sign"
        ],
        "capability": false,
        "interface": [
          "verify",
          "read"
        ],
        "name": "buildkite_hook",
        "permissions": [],
        "summary": "Buildkite pipeline webhooks: a delivery's X-Buildkite-Signature checked before anything in it is read (HMAC-SHA256 with the webhook token over \"<timestamp>.<body>\", within a replay window), then what it says about one build. No error repeats the signature, the token or the body."
      },
      {
        "bindings": [],
        "calls": [
          "pack"
        ],
        "capability": false,
        "interface": [
          "VERSION",
          "walk",
          "landing_of",
          "date_utc",
          "subject",
          "render",
          "newest_days"
        ],
        "name": "changelog",
        "permissions": [],
        "summary": "The changelog of main, from git history: one entry per commit, grouped by UTC date, newest first, with the landing id when a land note names the commit. Pure: the I/O is the changelog capability's (docs/plans/changelog.md)."
      },
      {
        "bindings": [],
        "calls": [
          "api_calls"
        ],
        "capability": false,
        "interface": [
          "call",
          "call_raw",
          "call_with",
          "call_fresh"
        ],
        "name": "cloudflare",
        "permissions": [],
        "summary": "A minimal Cloudflare API client: one call, its result or its errors. Every call is counted by method, path template and status class (crate::api_calls)."
      },
      {
        "bindings": [],
        "calls": [
          "webauthn"
        ],
        "capability": false,
        "interface": [
          "join_sealed",
          "split_sealed",
          "key_from",
          "seal",
          "open"
        ],
        "name": "crypto",
        "permissions": [],
        "summary": "Wraps AES-256-GCM from WebCrypto."
      },
      {
        "bindings": [],
        "calls": [
          "pack"
        ],
        "capability": false,
        "interface": [
          "ZERO",
          "refs",
          "fetch",
          "fetch_filtered",
          "fetch_with",
          "fetched",
          "read_file",
          "path_ids",
          "push",
          "base64",
          "COMMANDS_MAX",
          "is_id",
          "commands",
          "pack_start",
          "refusal",
          "UPLOAD_REQUEST_MAX",
          "upload_request"
        ],
        "name": "git",
        "permissions": [],
        "summary": "Git's smart HTTP protocol (v0), enough to copy refs between two remotes without a git binary: read a remote's refs, fetch a pack from one, push that pack to the other."
      },
      {
        "bindings": [],
        "calls": [
          "sign",
          "webauthn"
        ],
        "capability": false,
        "interface": [
          "pkcs1_to_pkcs8",
          "private_key_der",
          "jwt_signing_input",
          "delivery_fingerprint",
          "verify_webhook",
          "read_push",
          "token_request",
          "status_body",
          "sign_jwt",
          "installation_token",
          "app"
        ],
        "name": "github_app",
        "permissions": [],
        "summary": "GitHub App authentication and the few REST calls pigeon needs."
      },
      {
        "bindings": [],
        "calls": [
          "webauthn"
        ],
        "capability": false,
        "interface": [
          "HEADER",
          "caller",
          "verify"
        ],
        "name": "identity",
        "permissions": [],
        "summary": "Who sent a request through Cloudflare Access. Access adds a signed JWT to each request it lets through, in Cf-Access-Jwt-Assertion; this checks its RS256 signature against the team's published keys, its issuer, its audience (the Access application) and its expiry."
      },
      {
        "bindings": [],
        "calls": [
          "sign"
        ],
        "capability": false,
        "interface": [
          "HEADER",
          "MAX_URL",
          "check_url",
          "signature",
          "verify",
          "KEY_NOTE",
          "post"
        ],
        "name": "notify",
        "permissions": [],
        "summary": "Signed POSTs to a caller's notify URL, which any gateway can send when something the caller asked for changes (a CI job, a model job): which URLs they may go to (https to a DNS name, no port, no user, no IP literal, nothing local and never the platform itself), and the signature, Pigeon-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256(key, \"<t>.<body>\")>, with a key of the caller's own, handed to them once. A post never carries a secret or a model's answer; a failed one is the sender's to retry."
      },
      {
        "bindings": [],
        "calls": [
          "webauthn"
        ],
        "capability": false,
        "interface": [
          "resource_metadata",
          "server_metadata",
          "challenge",
          "pkce",
          "redirect_allowed",
          "token",
          "hash",
          "form",
          "encode"
        ],
        "name": "oauth",
        "permissions": [],
        "summary": "OAuth 2.1 pieces for an MCP server, as the MCP authorization spec asks: the protected resource and authorization server metadata, PKCE (S256 only), redirect URI checks, and tokens, which are random and kept only as hashes."
      },
      {
        "bindings": [],
        "calls": [
          "webauthn"
        ],
        "capability": false,
        "interface": [
          "verify"
        ],
        "name": "oidc",
        "permissions": [],
        "summary": "OIDC ID tokens, verified: a JWT signed with RS256, checked against the issuer's JWKS (which the caller fetches), then its standard claims. Only RS256 is accepted, so a token cannot pick a weaker or symmetric algorithm; the claims are read only once the signature verifies; and no error repeats the token."
      },
      {
        "bindings": [],
        "calls": [
          "merge3"
        ],
        "capability": false,
        "interface": [
          "CONTEXT",
          "FILE_MAX",
          "PATCH_MAX",
          "SECRET_NAMES",
          "branch_ref",
          "precheck",
          "file_diff",
          "assemble"
        ],
        "name": "patch",
        "permissions": [],
        "summary": "A branch as one unified patch that git apply --3way takes. Pure: no I/O, so it runs natively in tests. A break-glass session that cannot reach Artifacts gets a branch's code this way. Files that must not travel in a patch (binary, submodules, symlinks, secrets, too large) are left out and named in a skipped list, never dropped silently. A patch is never cut short: over PATCH_MAX it is an error."
      },
      {
        "bindings": [],
        "calls": [
          "policy"
        ],
        "capability": false,
        "interface": [
          "TEXT",
          "current",
          "decide",
          "request",
          "audit_line",
          "audit_line_for",
          "run_label"
        ],
        "name": "policy_file",
        "permissions": [],
        "summary": "The person's policy file, .pigeon/policy.toml, as built into this binary and read by crate::policy. In pigeon-core so that core and the proxy Worker (pigeon-proxy) decide every request by the same rules."
      },
      {
        "bindings": [],
        "calls": [
          "gitobj",
          "pack",
          "sign"
        ],
        "capability": false,
        "interface": [
          "changes",
          "apply",
          "tree",
          "merge_base",
          "parents",
          "commit"
        ],
        "name": "rebase",
        "permissions": [],
        "summary": "Path-level rebase for the Lander. A session branch's changed files are laid onto a main that moved, one whole path at a time. There is no content merge here (crate::merge3 does text merges); a path that both sides changed is the caller's to refuse or merge."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "FLUSH_EVERY_MS",
          "OVERFLOW",
          "CLASSES",
          "template",
          "class",
          "codes",
          "record",
          "drain",
          "restore",
          "due",
          "view"
        ],
        "name": "api_calls",
        "permissions": [],
        "summary": "Counts this isolate's Cloudflare API calls by method, path template and status class, so the account's API budget can be read per path (docs/plans/token-minting.md, \"The account's API budget\")."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "PERSON_NAME",
          "PERSON_EMAIL",
          "LANDER",
          "CI",
          "AI_AGENTS_EMAIL",
          "author",
          "ai_agent_name"
        ],
        "name": "attribution",
        "permissions": [],
        "summary": "Who pigeon's git commits name. The person is the author of every commit pigeon writes itself, so GitHub attributes it to their user; the part of pigeon that wrote it is the committer. This is the one place these identities are spelled (docs/plans/commit-attribution.md)."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "Pipeline::create",
          "Pipeline::get",
          "Pipeline::cancel",
          "scopes",
          "expires_at",
          "json",
          "page",
          "Org::clusters",
          "Org::create_cluster",
          "Org::update_cluster",
          "Org::queues",
          "Org::create_queue",
          "Org::update_queue",
          "Org::pipeline",
          "Org::create_pipeline",
          "Org::update_pipeline",
          "Org::services",
          "Org::create_service",
          "Org::update_service"
        ],
        "name": "buildkite",
        "permissions": [],
        "summary": "Buildkite's REST API, as pigeon uses it. The CI gateway creates a build on a pipeline, reads one, cancels one, and checks what an API token may do. The setup reads and writes an organization's clusters, hosted queues, the pipeline and notification services. The token goes in the Authorization header only; no error repeats it."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "MARKER",
          "RUNTIME_SCOPES",
          "SETUP_SCOPES",
          "MCP_SCOPES",
          "HOOK_EVENTS",
          "Kind::name",
          "Kind::parse",
          "Step::kind",
          "Step::key",
          "Step::goes_ahead",
          "hash",
          "description",
          "missing_scopes",
          "wants",
          "fill",
          "plan"
        ],
        "name": "buildkite_setup",
        "permissions": [],
        "summary": "Buildkite setup, planned: what pigeon needs in Buildkite (a cluster, hosted queues, one pipeline, the webhook to the CI gateway) and the Cloudflare MCP server that gives sessions Buildkite's MCP, compared with what is there. Pure: the capability observes, this module decides, the capability applies. See docs/plans/buildkite-mcp.md."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "MAX",
          "HEADER_MAX",
          "PREREQUISITES_MAX",
          "decode",
          "too_large",
          "parse",
          "Bundle::tip"
        ],
        "name": "bundle",
        "permissions": [],
        "summary": "Git bundles, as git bundle create writes them (formats v2 and v3), read far enough to push one: the commits it needs the repository to have already (its prerequisites), the refs it carries and the pack after them, whose SHA-1 trailer is checked. The pack is passed on as it is, so every commit keeps its id, author, committer, message and trailers. A bundle's pack is usually thin (objects stored as changes to objects of its prerequisites); the receiving git resolves those, as it does for any push."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "present",
          "start",
          "MAX_KEEP_MS",
          "keep_for",
          "ask_keep",
          "running",
          "monitor",
          "watch",
          "destroy",
          "post"
        ],
        "name": "containers",
        "permissions": [],
        "summary": "Cloudflare Containers, as a Durable Object holds one: start it from a named image at an instance size, see whether it runs, wait for it to end, stop it. Reached through the JS API (ctx.container), since workers-rs's typed start options lack image and instance, which the durable_object scheduling policy needs. Errors carry the JS error's message, never the options, so an environment value never reaches a log."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "TOKENS",
          "BASE",
          "COMPONENTS",
          "BACKGROUND",
          "stylesheet",
          "CSP",
          "Page::render",
          "escape"
        ],
        "name": "design",
        "permissions": [],
        "summary": "pigeon's design system for web deployments: tokens, base styles and components as CSS, and a page shell that inlines them. Pure: no Cloudflare calls, no token."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "Db::open",
          "Db::exec",
          "Db::rows",
          "Db::row",
          "opt",
          "serve",
          "call"
        ],
        "name": "durable",
        "permissions": [],
        "summary": "Durable Objects with SQLite storage, made easy to use: an object opens a Db with its migrations and answers JSON operations with serve; a Worker reaches it with call."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "parse_time",
          "from_field"
        ],
        "name": "expiry",
        "permissions": [],
        "summary": "When a secret stops working, as its issuer reports it: the type and the parsing of an issuer's expiry field, shared by core and the capability Workers."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "Object::blob",
          "Object::tree",
          "Object::commit",
          "Object::id",
          "zlib_stored",
          "pack"
        ],
        "name": "gitobj",
        "permissions": [],
        "summary": "Git objects without a git binary: blobs, trees of files and commits, their SHA-1 ids, and an undeltified version-2 pack of them, enough to push a small commit such as a notes commit. The pack's zlib streams are stored deflate blocks, so no compressor is needed."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "SMOKE",
          "SMOKE_DIR",
          "is_smoke",
          "ARTIFACT_LANES",
          "Worker::artifact",
          "Worker::is_worker",
          "parse",
          "matches",
          "Map::owner",
          "Map::worker",
          "Map::classify",
          "Map::overlap",
          "Map::deploy_order",
          "Map::platform_workers",
          "Map::scripts",
          "LOCK",
          "lock_members_only"
        ],
        "name": "lanes",
        "permissions": [],
        "summary": "The workers map: which Worker owns which repository paths."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "Tool::bare",
          "unknown_tool",
          "answer",
          "lint_tool",
          "conformance"
        ],
        "name": "mcp",
        "permissions": [],
        "summary": "A Model Context Protocol server over the streamable HTTP transport, stateless: each POST carries one JSON-RPC message and is answered with plain JSON. It offers tools only; the caller supplies them and how to run one."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "MAX_EDITS",
          "DUP_RUN",
          "merge",
          "try_merge",
          "try_merge_with"
        ],
        "name": "merge3",
        "permissions": [],
        "summary": "Line-level three-way merge for text files, in the manner of git merge-file (diff3)."
      },
      {
        "bindings": [],
        "calls": [
          "git"
        ],
        "capability": false,
        "interface": [
          "INFLATED_MAX",
          "commits",
          "objects",
          "SCAN_MAX",
          "commit_parents",
          "commit_parents_with",
          "walk",
          "tree_entries",
          "commit_tree",
          "read_path",
          "path_id",
          "read_tree"
        ],
        "name": "pack",
        "permissions": [],
        "summary": "Git packs, read far enough to know a push's history: the commits in a pack and their parents, deltas resolved within the pack, and whether one commit descends from another."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "Kind::name",
          "Kind::named",
          "Approval::meets",
          "Approval::name",
          "NO_MATCH",
          "parse",
          "matches",
          "Policy::evaluate",
          "Policy::rule"
        ],
        "name": "policy",
        "permissions": [],
        "summary": "Policy for what an actor may do."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "ID_LEN",
          "within_prefix"
        ],
        "name": "proxy_caller",
        "permissions": [],
        "summary": "Who a proxied request is for, shared by core (the Lander's deploy grants) and the proxy."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "hmac_sha256",
          "hex",
          "unhex",
          "equal",
          "verify_hex"
        ],
        "name": "sign",
        "permissions": [],
        "summary": "HMAC-SHA256 signing and constant-time comparison: for checking a webhook delivery before anything in it is read, and for signing what pigeon posts. A secret is never compared in a way that stops at the first differing byte."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "MAX_INFLATED",
          "read",
          "year_of"
        ],
        "name": "tarball",
        "permissions": [],
        "summary": "A repository tarball, as GitHub's codeload serves it (.tar.gz), read into its files: gzip inflated with miniz_oxide, then the ustar entries walked. Only regular files are kept, paths relative to the archive's one top folder. Pure: no I/O. Symlinks, devices and anything outside the top folder are skipped, and a .. segment is refused."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "BEGAN",
          "Version::parse",
          "Version::compatible",
          "Requirement::parse",
          "Requirement::floor",
          "Requirement::matches",
          "Component::new",
          "Component::began",
          "Component::entry",
          "Component::breaking",
          "Component::serving",
          "Component::current",
          "Component::served",
          "Component::select",
          "Component::work",
          "Component::problems",
          "find",
          "pin_problems",
          "pin_status",
          "upgrade"
        ],
        "name": "versions",
        "permissions": [],
        "summary": "Versions of pigeon's parts, and instances' pins on them (docs/plans/versioning.md)."
      },
      {
        "bindings": [],
        "calls": [],
        "capability": false,
        "interface": [
          "ES256",
          "BROWSER_SCRIPT",
          "CHALLENGE_TTL_MS",
          "random",
          "register",
          "assert",
          "b64url",
          "unb64url"
        ],
        "name": "webauthn",
        "permissions": [],
        "summary": "WebAuthn passkeys, checked on the server: ES256 credentials only, user presence and verification required. The browser hands over a new credential's public key with getPublicKey() and its authenticator data with getAuthenticatorData(), so no CBOR is read here."
      }
    ],
    "resources": {
      "containers": [
        "CiRunner (base: pigeon-ci-base@sha256:02b7487373a8)",
        "Sandbox (sandbox: pigeon-ai-agent-sandbox@sha256:5dcfddbb7653)"
      ],
      "gateways": [
        "pigeon",
        "pigeon-anthropic",
        "pigeon-cloudflare",
        "pigeon-openai"
      ],
      "mirrors": [],
      "objects": [
        "AI_AGENT_RUNS (AiAgentRuns)",
        "APPROVER (Approver)",
        "CI_RUNNER (CiRunner)",
        "CI_SCHEDULER (CiScheduler)",
        "DIRECTORY (Directory)",
        "LANDER (Lander)",
        "MODEL_JOBS (ModelJobs)",
        "SANDBOXES (Sandbox)",
        "TOKEN_LEDGER (TokenLedger)"
      ],
      "permissions": [],
      "queues": [
        "pigeon-ci-events",
        "pigeon-source-events"
      ],
      "repos": [],
      "secrets": [
        "APNS_KEY",
        "APNS_KEY_ID",
        "APPLE_ASC_ISSUER_ID",
        "APPLE_ASC_KEY",
        "APPLE_ASC_KEY_ID",
        "APPLE_SEAL_KEY",
        "APPLE_TEAM_ID",
        "BUILDKITE_API_TOKEN",
        "CALLER_KEY_AI_AGENTS",
        "CALLER_KEY_CI_GATEWAY",
        "CALLER_KEY_CLOUD_GATEWAY",
        "CALLER_KEY_MODEL_GATEWAY",
        "CALLER_KEY_OWN",
        "CALLER_KEY_PROXY",
        "CALLER_KEY_SITES",
        "CF_OAUTH_CLIENT_SECRET",
        "CF_PARENT_TOKEN",
        "GITHUB_APP_PRIVATE_KEY",
        "GITHUB_APP_WEBHOOK_SECRET",
        "GITHUB_MIRROR_TOKEN",
        "LINK_KEY",
        "SITE_KEY"
      ],
      "unused": [],
      "zone": "pigeon.dev"
    },
    "versions": [
      {
        "kind": "capability",
        "name": "ai-agents",
        "version": "1.0.0",
        "worker": "pigeon-ai-agents"
      },
      {
        "kind": "capability",
        "name": "apple",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "approvals",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "architecture",
        "version": "1.1.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "template",
        "name": "blog",
        "version": "2.0.1",
        "worker": "pigeon-sites"
      },
      {
        "kind": "capability",
        "name": "changelog",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "ci",
        "version": "1.0.0",
        "worker": "pigeon-ci-gateway"
      },
      {
        "kind": "connector",
        "name": "ci.buildkite",
        "version": "1.0.0",
        "worker": "pigeon-ci-gateway"
      },
      {
        "kind": "connector",
        "name": "ci.containers",
        "version": "1.0.0",
        "worker": "pigeon-ci-gateway"
      },
      {
        "kind": "capability",
        "name": "cloud",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "console",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "data",
        "version": "2.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "data-email",
        "version": "2.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "data-ingest",
        "version": "2.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "connector",
        "name": "data.read.backblaze",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "connector",
        "name": "data.read.digitalocean",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "connector",
        "name": "data.read.scaleway",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "digitalocean",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "dispatch",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "github",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "instances",
        "version": "1.1.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "installed",
        "name": "instances.site_worker",
        "version": "1.1.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "land",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "template",
        "name": "landing",
        "version": "1.1.0",
        "worker": "pigeon-sites"
      },
      {
        "kind": "capability",
        "name": "linked",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "connector",
        "name": "linked.cloudflare",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "mirror",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "models",
        "version": "1.1.0",
        "worker": "pigeon-model-gateway"
      },
      {
        "kind": "capability",
        "name": "multi-instance",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "oauth",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "observability",
        "version": "1.2.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "passkeys",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "policy",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "proxy",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "public_host",
        "version": "1.0.1",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "secrets",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "site",
        "version": "1.0.1",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "site_passkeys",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "sites",
        "version": "1.0.0",
        "worker": "pigeon-sites"
      },
      {
        "kind": "capability",
        "name": "source",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "split",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "template",
        "name": "timeline",
        "version": "1.0.1",
        "worker": "pigeon-sites"
      },
      {
        "kind": "capability",
        "name": "users",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      },
      {
        "kind": "capability",
        "name": "versioning",
        "version": "1.0.0",
        "worker": "pigeon-platform"
      }
    ],
    "workers": [
      {
        "after": [
          "architecture",
          "portal_sync"
        ],
        "containers": [
          "CiRunner"
        ],
        "crons": [
          "* * * * *"
        ],
        "deploy_job": "deploy",
        "handlers": [
          "fetch",
          "queue",
          "scheduled"
        ],
        "lane": "core",
        "merged_into": null,
        "name": "pigeon-platform",
        "objects": [
          {
            "binding": "DIRECTORY",
            "class": "Directory",
            "owner": "pigeon-platform"
          },
          {
            "binding": "CI_SCHEDULER",
            "class": "CiScheduler",
            "owner": "pigeon-ci-gateway"
          },
          {
            "binding": "CI_RUNNER",
            "class": "CiRunner",
            "owner": "pigeon-platform"
          },
          {
            "binding": "MODEL_JOBS",
            "class": "ModelJobs",
            "owner": "pigeon-model-gateway"
          },
          {
            "binding": "LANDER",
            "class": "Lander",
            "owner": "pigeon-platform"
          },
          {
            "binding": "TOKEN_LEDGER",
            "class": "TokenLedger",
            "owner": "pigeon-platform"
          },
          {
            "binding": "APPROVER",
            "class": "Approver",
            "owner": "pigeon-platform"
          }
        ],
        "published_by": null,
        "queues": [
          {
            "queue": "pigeon-ci-events",
            "role": "produces"
          }
        ],
        "routes": [
          "GET /health",
          "OPTIONS /mcp",
          "POST /mcp",
          "* /apple/",
          "* /app/oauth",
          "* /auth/",
          "* /.well-known/",
          "* /oauth/",
          "* /git/",
          "* /cf/",
          "* /github/",
          "* /linked/",
          "* /console/",
          "* /app",
          "* /approvals",
          "* /instances",
          "* /architecture",
          "* /access",
          "* /settings",
          "* /secrets",
          "* /tokens",
          "* /cost",
          "* /gateways"
        ],
        "secrets": [
          "CF_PARENT_TOKEN",
          "GITHUB_MIRROR_TOKEN",
          "BUILDKITE_API_TOKEN",
          "CF_OAUTH_CLIENT_SECRET",
          "LINK_KEY",
          "SITE_KEY",
          "CALLER_KEY_SITES",
          "CALLER_KEY_CI_GATEWAY",
          "CALLER_KEY_MODEL_GATEWAY",
          "CALLER_KEY_CLOUD_GATEWAY",
          "CALLER_KEY_AI_AGENTS",
          "CALLER_KEY_PROXY",
          "GITHUB_APP_PRIVATE_KEY",
          "GITHUB_APP_WEBHOOK_SECRET",
          "APPLE_TEAM_ID",
          "APPLE_ASC_ISSUER_ID",
          "APPLE_ASC_KEY_ID",
          "APPLE_ASC_KEY",
          "APNS_KEY_ID",
          "APNS_KEY",
          "APPLE_SEAL_KEY"
        ],
        "services": [
          {
            "binding": "SITES",
            "service": "pigeon-sites"
          },
          {
            "binding": "MODELS",
            "service": "pigeon-model-gateway"
          },
          {
            "binding": "CI",
            "service": "pigeon-ci-gateway"
          },
          {
            "binding": "AI_AGENTS",
            "service": "pigeon-ai-agents"
          }
        ],
        "source": "",
        "tools": [
          "cloud_status",
          "digitalocean_status",
          "digitalocean_verify",
          "digitalocean_spaces_status",
          "digitalocean_droplet_status",
          "digitalocean_droplet_jobs",
          "digitalocean_droplet_job",
          "digitalocean_spaces_verify",
          "setup_platform",
          "setup_proxy_host",
          "site_publish",
          "source_resolve_revision",
          "source_read_file",
          "source_token",
          "source_tokens",
          "source_revoke",
          "branch_patch",
          "branch_push",
          "session_credential",
          "setup_source",
          "source_mirror",
          "ios_releases",
          "apple_status",
          "apns_register",
          "apns_unregister",
          "apns_status",
          "apns_send",
          "data_read_accounts",
          "data_read_list_buckets",
          "data_read_list_objects",
          "data_read_head_object",
          "data_read_get_object",
          "users_whoami",
          "users_list",
          "users_people",
          "users_bootstrap",
          "users_invite",
          "users_enrol",
          "users_link",
          "users_unlink",
          "users_remove",
          "users_remove_preview",
          "users_admin",
          "instance_members",
          "instance_member_set",
          "apps_cleanup",
          "apps_cleanup_apply",
          "users_rename",
          "passkeys_list",
          "passkeys_remove",
          "oauth_clients",
          "oauth_revoke",
          "oauth_issue_token",
          "secrets_list",
          "credentials_expiry",
          "secrets_request",
          "approvals_list",
          "approvals_status",
          "policy_check",
          "land",
          "land_status",
          "land_list",
          "land_watch",
          "work_status",
          "land_cancel",
          "portal_sync",
          "portal_oauth_redirects",
          "portal_oauth_redirects_apply",
          "observability_worker_metrics",
          "containers_images",
          "observability_monitors_plan",
          "observability_monitors_apply",
          "observability_summary",
          "observability_errors",
          "tokens_status",
          "cloudflare_calls",
          "cost_daily",
          "call",
          "workers_setup",
          "manifest_refresh",
          "github_status",
          "architecture_describe",
          "architecture_draw",
          "architecture_layout",
          "architecture_check",
          "mcp_conformance",
          "capabilities_versions",
          "capabilities_upgrade_plan",
          "linked_setup",
          "linked_check",
          "linked_scopes",
          "linked_status",
          "data_ingest_connections",
          "data_ingest_connection_verify",
          "data_ingest_plan",
          "data_ingest_multipart_check",
          "data_ingest_start",
          "data_ingest_status",
          "data_ingest_report",
          "data_ingest_stop",
          "jobs_list",
          "jobs_get",
          "data_email_status",
          "data_email_mailboxes",
          "data_email_list",
          "data_email_get",
          "data_email_address_set",
          "data_email_forward_set",
          "instances_list",
          "console_manifest",
          "capability_options",
          "capabilities_options",
          "instance_plan",
          "instance_apply",
          "instance_retire_plan",
          "instance_retire_apply",
          "instance_rename_home",
          "instance_subdomains",
          "instance_propose",
          "site_passkey",
          "changelog",
          "changelog_update"
        ],
        "uses": [
          "cloud",
          "digitalocean",
          "public_host",
          "public_host",
          "site",
          "source",
          "mirror",
          "apple",
          "data",
          "users",
          "passkeys",
          "oauth",
          "secrets",
          "proxy",
          "approvals",
          "policy",
          "land",
          "observability",
          "dispatch",
          "split",
          "github",
          "architecture",
          "versioning",
          "linked",
          "data-ingest",
          "data-email",
          "instances",
          "multi-instance",
          "site_passkeys",
          "console",
          "changelog"
        ],
        "workers_dev": false
      },
      {
        "after": [
          "portal_sync"
        ],
        "containers": [],
        "crons": [],
        "deploy_job": "deploy-sites",
        "handlers": [
          "fetch"
        ],
        "lane": "sites",
        "merged_into": "pigeon-platform",
        "name": "pigeon-sites",
        "objects": [],
        "published_by": null,
        "queues": [],
        "routes": [],
        "secrets": [
          "SITE_KEY",
          "CALLER_KEY_OWN"
        ],
        "services": [
          {
            "binding": "PLATFORM",
            "service": "pigeon-platform"
          }
        ],
        "source": "",
        "tools": [
          "site_render",
          "site_deploy",
          "site_releases",
          "site_rollback"
        ],
        "uses": [
          "sites"
        ],
        "workers_dev": false
      },
      {
        "after": [
          "portal_sync"
        ],
        "containers": [],
        "crons": [],
        "deploy_job": "deploy-model-gateway",
        "handlers": [
          "fetch"
        ],
        "lane": "model-gateway",
        "merged_into": "pigeon-platform",
        "name": "pigeon-model-gateway",
        "objects": [
          {
            "binding": "MODEL_JOBS",
            "class": "ModelJobs",
            "owner": "pigeon-model-gateway"
          }
        ],
        "published_by": null,
        "queues": [],
        "routes": [],
        "secrets": [
          "CALLER_KEY_OWN"
        ],
        "services": [
          {
            "binding": "PLATFORM",
            "service": "pigeon-platform"
          }
        ],
        "source": "",
        "tools": [
          "models_setup",
          "models_providers",
          "models_run",
          "models_submit",
          "models_status",
          "models_result",
          "models_cancel",
          "models_logs",
          "models_cost",
          "models_daily",
          "models_billing",
          "models_usage"
        ],
        "uses": [
          "models"
        ],
        "workers_dev": false
      },
      {
        "after": [
          "portal_sync",
          "connectors_setup"
        ],
        "containers": [],
        "crons": [],
        "deploy_job": "deploy-ci-gateway",
        "handlers": [
          "fetch"
        ],
        "lane": "ci-gateway",
        "merged_into": "pigeon-platform",
        "name": "pigeon-ci-gateway",
        "objects": [
          {
            "binding": "CI_SCHEDULER",
            "class": "CiScheduler",
            "owner": "pigeon-ci-gateway"
          },
          {
            "binding": "CI_RUNNER",
            "class": "CiRunner",
            "owner": "pigeon-platform"
          }
        ],
        "published_by": null,
        "queues": [
          {
            "queue": "pigeon-ci-events",
            "role": "produces"
          }
        ],
        "routes": [
          "* /ci/"
        ],
        "secrets": [
          "CALLER_KEY_OWN",
          "BUILDKITE_API_TOKEN"
        ],
        "services": [
          {
            "binding": "PLATFORM",
            "service": "pigeon-platform"
          }
        ],
        "source": "",
        "tools": [
          "ci_pool",
          "ci_route",
          "ci_submit",
          "ci_status",
          "ci_jobs",
          "ci_cancel",
          "ci_commit",
          "ci_buildkite_plan"
        ],
        "uses": [
          "ci"
        ],
        "workers_dev": false
      },
      {
        "after": [],
        "containers": [],
        "crons": [],
        "deploy_job": "deploy-proxy",
        "handlers": [
          "fetch"
        ],
        "lane": "proxy",
        "merged_into": null,
        "name": "pigeon-proxy",
        "objects": [],
        "published_by": null,
        "queues": [],
        "routes": [],
        "secrets": [
          "CALLER_KEY_OWN"
        ],
        "services": [
          {
            "binding": "PLATFORM",
            "service": "pigeon-platform"
          }
        ],
        "source": "",
        "tools": [],
        "uses": [],
        "workers_dev": false
      },
      {
        "after": [
          "portal_sync"
        ],
        "containers": [
          "Sandbox"
        ],
        "crons": [],
        "deploy_job": "deploy-ai-agents",
        "handlers": [
          "fetch"
        ],
        "lane": "ai-agents",
        "merged_into": "pigeon-platform",
        "name": "pigeon-ai-agents",
        "objects": [
          {
            "binding": "AI_AGENT_RUNS",
            "class": "AiAgentRuns",
            "owner": "pigeon-ai-agents"
          },
          {
            "binding": "SANDBOXES",
            "class": "Sandbox",
            "owner": "pigeon-ai-agents"
          }
        ],
        "published_by": null,
        "queues": [],
        "routes": [],
        "secrets": [
          "CALLER_KEY_OWN"
        ],
        "services": [
          {
            "binding": "PLATFORM",
            "service": "pigeon-platform"
          }
        ],
        "source": "",
        "tools": [
          "ai_agents_start",
          "ai_agents_estimate",
          "ai_agents_status",
          "ai_agents_stop",
          "ai_agents_pause",
          "ai_agents_resume",
          "ai_agents_inbox",
          "ai_agents_answer",
          "ai_agents_extend",
          "ai_agents_note",
          "ai_agents_register",
          "ai_agents_report",
          "ai_agents_handoff",
          "ai_agents_setup",
          "ai_agents_models",
          "ai_agents_config",
          "ai_agents_compare"
        ],
        "uses": [
          "ai-agents"
        ],
        "workers_dev": false
      }
    ]
  }
}