{
  "version": "0.27.0",
  "_schema": "Each intent has an `acceptance` one-liner (the shared contract) + bindings[]. Each binding: { file, provides[], requires[] (a '?' suffix = conditional, e.g. custom-domain only), prereqs[], verify (a read-only acceptance check), cost (relative note) }. Discovery layer for cold-start agents — pair with /EPHEMERA.md (the contract) and /llms.txt.",
  "intents": [
    {
      "intent": "web",
      "description": "static site (SPA or multipage) over HTTPS from a global CDN",
      "knobs": [
        "SITE_TYPE",
        "DOMAIN_MODE",
        "EDGE_PROTECTION",
        "BUDGET_ALARM"
      ],
      "acceptance": "GET / → 200 + body marker EPHEMERA-OK; deep link per SITE_TYPE (spa→200 app-shell / static→404 miss); HTTPS enforced",
      "bindings": [
        {
          "file": "web.aws.md",
          "provides": [
            "site(DOMAIN_NAME|cloudfront.net)"
          ],
          "requires": [
            "delegated-zone?"
          ],
          "prereqs": [
            "aws CLI + credentials (aws-vault)",
            "custom domain → a delegated zone (domain.*.md)"
          ],
          "verify": "curl -s -o /dev/null -w '%{http_code}' https://$DIST_DOMAIN/  # 200; direct S3 object → 403",
          "cost": "low — CloudFront egress/GB + ACM free; +~$5/mo if EDGE_PROTECTION (WAF) on",
          "maturity": "proven-live"
        },
        {
          "file": "web.cloudflare.md",
          "provides": [
            "site(DOMAIN_NAME|workers.dev)"
          ],
          "requires": [
            "cf-zone?"
          ],
          "prereqs": [
            "wrangler + Cloudflare account",
            "custom domain → a cf-zone (domain.cloudflare.md)"
          ],
          "verify": "curl -s -o /dev/null -w '%{http_code}' https://$URL/  # 200; no separate origin to lock down",
          "cost": "very low — Workers free/low tier, no per-GB egress",
          "maturity": "proven-live"
        },
        {
          "file": "web.gcp.md",
          "provides": [
            "site(DOMAIN_NAME|LB_IP)"
          ],
          "requires": [
            "delegated-zone?"
          ],
          "prereqs": [
            "gcloud + a GCP project (billing enabled)",
            "custom domain → a delegated zone (domain.*.md)"
          ],
          "verify": "curl -s -o /dev/null -w '%{http_code}' https://${DOMAIN_NAME:-$LB_IP}/  # 200; origin is public-read (asymmetry)",
          "cost": "low-medium — global forwarding-rule hourly base + Cloud CDN egress/GB",
          "maturity": "proven-live"
        },
        {
          "file": "web.gcp-firebase.md",
          "provides": [
            "site(DOMAIN_NAME|SITE_ID.web.app)"
          ],
          "requires": [
            "delegated-zone?"
          ],
          "prereqs": [
            "firebase-tools CLI + a Firebase-enabled GCP project",
            "custom domain → a delegated zone (domain.*.md)"
          ],
          "verify": "curl -s -o /dev/null -w '%{http_code}' https://${DOMAIN_NAME:-${SITE_ID}.web.app}/  # 200; free *.web.app HTTPS closes the temp-URL gap (Asymmetry #3)",
          "cost": "low — free 10GB/mo bandwidth + auto-SSL; Blaze egress ~$0.15/GB beyond; no per-request WAF",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "auth",
      "description": "user authentication — declaratively enable sign-in methods; mint + verify ID tokens server-side",
      "knobs": [
        "SIGN_IN_EMAIL",
        "SIGN_IN_ANON",
        "SIGN_IN_GOOGLE",
        "AUTH_DOMAINS",
        "USERNAME_MODE",
        "CLIENT_SECRET",
        "IDENTITY_POOL",
        "POOL_TIER"
      ],
      "acceptance": "enabled methods reflect the knobs; a user can be minted and its ID token verified (→ uid); an invalid token is rejected",
      "bindings": [
        {
          "file": "auth.firebase.md",
          "provides": [
            "identity(GCP_PROJECT)"
          ],
          "requires": [
            "firebase-project"
          ],
          "prereqs": [
            "firebase-tools + gcloud (authed)",
            "a Firebase-enabled GCP project (one-time console activation)",
            "Google sign-in → an OAuth client id/secret"
          ],
          "verify": "signUp (REST) → idToken → accounts:lookup resolves the uid; a garbage token → 400",
          "cost": "free — base Firebase Auth (email/pw, anonymous, Google); phone/SMS + Identity Platform enterprise are paid (out of scope)",
          "maturity": "proven-live"
        },
        {
          "file": "auth.aws.md",
          "provides": [
            "identity(USER_POOL_ID)",
            "aws-credential-broker(IDENTITY_POOL_ID) — IDENTITY_POOL=auth-only"
          ],
          "requires": [
            "aws-account"
          ],
          "prereqs": [
            "aws CLI v2 (authed)",
            "credential broker (aws-vault/SSO) → --no-session for EVERY iam call",
            "Google sign-in → an OAuth client id/secret"
          ],
          "verify": "sign-up → initiate-auth → get-user resolves the sub; garbage token rejected (negative); dogfooded live 2026-07-01 incl. the broker end-to-end",
          "cost": "free ≤10k MAU (essentials tier); NO console gates — fully CLI-able (the asymmetry vs Firebase's console bootstrap)",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "task-runner",
      "description": "async task API: submit → queue → process out-of-band → poll status",
      "knobs": [
        "STATE_STORE",
        "ENGINE"
      ],
      "acceptance": "POST a task → accepted + id; GET status → reaches a terminal state after processing; submit is idempotent",
      "bindings": [
        {
          "file": "task-runner.aws.md",
          "provides": [
            "task-api"
          ],
          "requires": [],
          "prereqs": [
            "aws CLI + credentials (aws-vault)"
          ],
          "verify": "curl -s $API/tasks -d '{}'  # → id; then GET $API/tasks/$id until status terminal",
          "cost": "low — SQS + Lambda + API Gateway + DynamoDB, pay-per-use",
          "maturity": "proven-live"
        },
        {
          "file": "task-runner.cloudflare.md",
          "provides": [
            "task-api"
          ],
          "requires": [],
          "prereqs": [
            "wrangler + Cloudflare account (Queues + D1)"
          ],
          "verify": "curl -s $WORKER/tasks -d '{}'  # → id; then GET $WORKER/tasks/$id until status terminal",
          "cost": "very low — Worker + Queues + D1 free/low tier",
          "maturity": "authored"
        }
      ]
    },
    {
      "intent": "durable-execution",
      "description": "multi-step durable orchestration: each step's output is persisted, retried independently, and resumed across failures, sleeps, and external events without re-running prior steps",
      "knobs": [
        "TRIGGER"
      ],
      "acceptance": "trigger an instance → advances through every step to complete; a transiently-failing step retries while already-completed steps are NOT re-run (memoization); a waitForEvent-parked instance resumes on send-event",
      "bindings": [
        {
          "file": "workflow.cloudflare.md",
          "provides": [
            "workflow(WF_NAME @ WORKER_NAME)"
          ],
          "requires": [],
          "prereqs": [
            "wrangler + Cloudflare account (Workflows)"
          ],
          "verify": "wrangler workflows trigger $WF '{...}'  # then: wrangler workflows instances describe $WF latest → reaches complete; send-event resumes a parked instance",
          "cost": "very low — Worker + Workflows free/low tier",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "email",
      "description": "send transactional email from your domain, authenticated (DKIM/SPF/DMARC)",
      "acceptance": "send a test message → provider accepts/queued; DKIM + SPF + DMARC present in DNS; recipient receives an authenticated message",
      "_note": "ALL email bindings (incl. the AWS/SES one) Require a Cloudflare zone for the DKIM/SPF/DMARC DNS records — correct for this stack, surprising for a pure-AWS adopter. See the contact-form recipe.",
      "bindings": [
        {
          "file": "email.aws.md",
          "provides": [
            "email-sender(DOMAIN_NAME)"
          ],
          "requires": [
            "cf-zone"
          ],
          "prereqs": [
            "aws CLI + SES (out of sandbox for arbitrary recipients)",
            "a Cloudflare zone for DKIM/SPF/DMARC DNS"
          ],
          "verify": "aws sesv2 send-email …  # → MessageId; check recipient + DMARC TXT",
          "cost": "lowest at volume — SES per-1k; 🔴 sandbox gate before production recipients",
          "maturity": "authored"
        },
        {
          "file": "email.cloudflare.md",
          "provides": [
            "email-sender(DOMAIN_NAME)"
          ],
          "requires": [
            "cf-zone"
          ],
          "prereqs": [
            "wrangler + Cloudflare account",
            "the sending domain's zone on Cloudflare"
          ],
          "verify": "curl Cloudflare email send API  # → 200; check recipient + DKIM",
          "cost": "low — Email Routing + send; bundled with the zone",
          "maturity": "dogfooded"
        },
        {
          "file": "email.resend.md",
          "provides": [
            "email-sender(DOMAIN_NAME)"
          ],
          "requires": [
            "cf-zone"
          ],
          "prereqs": [
            "Resend API key",
            "a Cloudflare zone for the DKIM/SPF records Resend returns"
          ],
          "verify": "curl https://api.resend.com/emails …  # → id; check recipient + DKIM",
          "cost": "free tier then per-message; fastest to first-send (resend.dev before DNS)",
          "maturity": "authored"
        }
      ]
    },
    {
      "intent": "payments",
      "description": "accept payments — hosted checkout over a deterministic price catalog, webhook events, customer self-service portal",
      "knobs": [
        "BILLING",
        "WEBHOOK",
        "TAX",
        "MODE"
      ],
      "acceptance": "catalog discoverable by a deterministic key (re-apply finds, never duplicates); a checkout session mints and its hosted URL is reachable; a test-card purchase completes with the completion event asserted from the provider's event log; (subscription) a portal session mints for the purchasing customer",
      "bindings": [
        {
          "file": "payments.stripe.md",
          "provides": [
            "price(lookup_key)",
            "publishable-key(pk_…)",
            "webhook-secret(pointer)"
          ],
          "requires": [
            "https-receiver(RECEIVER_URL) — only when WEBHOOK=endpoint"
          ],
          "prereqs": [
            "a Stripe account; Dashboard-minted key (console gate — exact click-path in §1; sandbox recommended)",
            "restricted-key scopes incl. Events-read (the acceptance poll) + Balance-read (the preflight ping)",
            "stripe CLI only for the optional `listen` delivery proof"
          ],
          "verify": "real 4242 test-card purchase → checkout.session.completed matched to the exact session via /v1/events (fail-closed poll); portal session mints; dogfooded live 2026-07-02 in a sandbox incl. 💥 teardown (verified inert)",
          "cost": "$0 idle, $0 test mode; live = per-transaction (≈2.9%+30¢) — no denial-of-wallet surface (no infrastructure to run up). ⚠ catalog teardown is archive-not-delete (products with prices never delete); the first API-created portal config becomes the undeactivatable account default",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "domain",
      "description": "domain registration and a live, delegated DNS zone",
      "acceptance": "domain registered (owned, not available); zone live and delegated (domain NS == zone NS); Provides a usable managed zone",
      "bindings": [
        {
          "file": "domain.aws.md",
          "provides": [
            "delegated-zone(DOMAIN_NAME)"
          ],
          "requires": [],
          "prereqs": [
            "aws CLI + Route53 Domains"
          ],
          "verify": "dig +short NS $DOMAIN_NAME  # == the hosted-zone NS",
          "cost": "registration fee (annual, ~non-refundable) + Route53 hosted zone ~$0.50/mo",
          "maturity": "authored"
        },
        {
          "file": "domain.cloudflare.md",
          "provides": [
            "cf-zone(DOMAIN_NAME)"
          ],
          "requires": [],
          "prereqs": [
            "Cloudflare account (the purchase/transfer is a dashboard step — no register API)"
          ],
          "verify": "dig +short NS $DOMAIN_NAME  # == the two CF nameservers; zone status active",
          "cost": "at-cost registration (registry + ICANN, no markup) + free zone",
          "maturity": "authored"
        }
      ]
    },
    {
      "intent": "platform",
      "description": "AWS network + ECS Fargate platform (Provides/Requires composition via SSM)",
      "knobs": [
        "SERVICE",
        "ENV",
        "NETWORK_MODE",
        "WANT_PRIVATE"
      ],
      "acceptance": "network: SSM /network/* all resolve + cert valid; cluster + ALB healthy; service: tasks RUNNING + ALB target healthy + app GET / → 200",
      "bindings": [
        {
          "file": "network.aws.md",
          "provides": [
            "vpc",
            "subnets(public+private)",
            "cert (published to SSM /network/*)"
          ],
          "requires": [],
          "prereqs": [
            "aws CLI + credentials"
          ],
          "verify": "aws ssm get-parameters --names /network/vpc /network/cert/$AWS_REGION  # all resolve",
          "cost": "low — VPC free; NAT gateway hourly only if WANT_PRIVATE",
          "maturity": "dogfooded"
        },
        {
          "file": "ecs-cluster.aws.md",
          "provides": [
            "ecs-cluster",
            "alb"
          ],
          "requires": [
            "vpc",
            "subnets",
            "cert (SSM /network/*)"
          ],
          "prereqs": [
            "aws CLI",
            "network.aws.md run first (SSM /network/* populated)"
          ],
          "verify": "aws ecs describe-clusters + aws elbv2 describe-load-balancers  # ACTIVE / active",
          "cost": "medium — ALB hourly base + LCU",
          "maturity": "authored"
        },
        {
          "file": "ecs-service.aws.md",
          "provides": [
            "service(SERVICE)"
          ],
          "requires": [
            "ecs-cluster",
            "alb"
          ],
          "prereqs": [
            "aws CLI",
            "ecs-cluster.aws.md run first"
          ],
          "verify": "aws ecs describe-services  # runningCount==desired + ALB target healthy; curl ALB / → 200",
          "cost": "medium — Fargate vCPU/memory per running task",
          "maturity": "authored"
        }
      ]
    },
    {
      "intent": "object-storage",
      "description": "S3-compatible blob storage (assets, uploads, processed output) — private by default; zero egress on R2",
      "knobs": [
        "ACCESS",
        "LOCATION",
        "JURISDICTION",
        "CORS",
        "LIFECYCLE",
        "NOTIFY",
        "ACCESS_LEVELS",
        "VERSIONING"
      ],
      "acceptance": "put then get an object → byte-identical round-trip; ACCESS=private has NO reachable public URL (negative 403/404); ACCESS=public-* serves 200",
      "bindings": [
        {
          "file": "storage.cloudflare.md",
          "provides": [
            "r2-bucket(BUCKET_NAME)"
          ],
          "requires": [
            "cf-zone? (ACCESS=public-domain)",
            "queue? (NOTIFY=queue)"
          ],
          "prereqs": [
            "wrangler + Cloudflare account",
            "public-domain → a cf-zone (domain.cloudflare.md)",
            "notify → a queue (task-runner.cloudflare.md)"
          ],
          "verify": "wrangler r2 object put/get round-trip; private → guessed r2.dev URL 403/404 (negative)",
          "cost": "very low — storage/GB + ops; ZERO egress (the R2 headline)",
          "maturity": "proven-live"
        },
        {
          "file": "storage.aws.md",
          "provides": [
            "s3-bucket(BUCKET)"
          ],
          "requires": [
            "aws-credential-broker? (ACCESS_LEVELS=per-user)",
            "queue? (NOTIFY=queue)",
            "lambda? (NOTIFY=lambda)"
          ],
          "prereqs": [
            "aws CLI v2 (authed)",
            "per-user → auth.aws.md applied with IDENTITY_POOL=auth-only",
            "notify → an existing queue (task-runner.aws.md) or Lambda ARN"
          ],
          "verify": "put/get round-trip; anonymous URL 403 while a presigned GET serves 200 (negative pair); per-user prefixes proven on real scoped creds; dogfooded live 2026-07-01",
          "cost": "low — storage/GB + requests + PER-GB EGRESS (the S3 asymmetry vs R2's zero egress)",
          "maturity": "proven-live"
        },
        {
          "file": "storage.rustfs.md",
          "provides": [
            "s3-endpoint(http://BIND_IP:PORT)",
            "s3-bucket(<name>)"
          ],
          "requires": [
            "mesh-node(SERVICE_HOST)? (BIND=tailnet)"
          ],
          "prereqs": [
            "a macOS host with an attached volume, ssh by key as a service account that is logged in after boot",
            "the volume's UUID (the mount gate)",
            "aws CLI on watcher as a plain S3 client",
            "a secret store: keychain (default) / sigil / manual on watcher; file (default) / keychain on the host"
          ],
          "verify": "from watcher: /health 200, unsigned GET / 403, 12 MB round-trip, If-None-Match 412, retained-version delete AccessDenied; ✔@LAN_PEER port + console refuse LAN; ✔@SERVICE_HOST second start + wrong-volume refused; consumer push exit≠0 with the service stopped (applied live 2026-09-16: reboot partial, host Tailscale gap; arc pull from a second actor unrun)",
          "cost": "$0 cloud: your own host and disk; no egress fees",
          "maturity": "dogfooded"
        }
      ]
    },
    {
      "intent": "http-service",
      "description": "request→response API Worker on a route/custom-domain, composing resource bindings (D1/KV/R2/AI/Vectorize/DO/Queue)",
      "knobs": [
        "ROUTING",
        "SECRETS",
        "OBSERVABILITY",
        "BOT_PROTECT",
        "BINDINGS",
        "EXPOSE",
        "AUTH",
        "BIND_S3",
        "BIND_LAYER"
      ],
      "acceptance": "GET /healthz → 200; a request touching a bound resource returns live data; route/custom-domain serves 200; no secret value present in wrangler.jsonc (negative)",
      "bindings": [
        {
          "file": "service.cloudflare.md",
          "provides": [
            "http-service(WORKER_NAME@URL)"
          ],
          "requires": [
            "cf-zone? (route/custom-domain)",
            "r2-bucket?",
            "d1-db?",
            "kv-namespace?",
            "vectorize-index?",
            "workers-ai?",
            "durable-object?",
            "queue?"
          ],
          "prereqs": [
            "wrangler + Cloudflare account",
            "each bound resource applied first (Requires-discovery)"
          ],
          "verify": "curl $URL/healthz → {ok:true}; curl $URL/ping-db → binding live; grep config for secret value (negative)",
          "cost": "very low — Worker requests; no cold start, no IAM",
          "maturity": "authored"
        },
        {
          "file": "service.aws.md",
          "provides": [
            "http-service(FN@URL)"
          ],
          "requires": [
            "identity? (AUTH=jwt)",
            "s3-bucket? (BIND_S3)",
            "lambda-layer? (BIND_LAYER)"
          ],
          "prereqs": [
            "aws CLI v2 (authed) + zip",
            "broker creds → --no-session for iam steps",
            "AUTH=jwt → auth.aws.md applied (the authorizer validates its ID tokens)"
          ],
          "verify": "GET /healthz 200; /ping-store live data via the exec-role binding; secret read in-handler + ABSENT from config (negative); no-token 401 → ID-token 200; dogfooded live 2026-07-01",
          "cost": "very low — Lambda invokes; Function URL free, HTTP API ~$1/M requests (🔴 public-endpoint denial-of-wallet gate)",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "lambda-layer",
      "description": "shared-dependency packaging: build a versioned, attachable layer once so many functions reuse it without re-bundling; the deliverable is an ARN, not a runtime",
      "knobs": [
        "RUNTIME",
        "PKG"
      ],
      "acceptance": "a probe function that vendors nothing imports the package ONLY after the layer is attached (false→true flip, and false again on detach); re-apply reuses the latest version (no silent mint)",
      "bindings": [
        {
          "file": "lambda-layer.aws.md",
          "provides": [
            "lambda-layer(LAYER_NAME, LayerVersionArn)"
          ],
          "requires": [],
          "prereqs": [
            "aws CLI v2 (authed) + zip",
            "RUNTIME=python → pip; RUNTIME=nodejs → npm (package must ship CommonJS)",
            "broker creds → --no-session for the probe harness's iam steps"
          ],
          "verify": "aws lambda get-layer-version → CodeSize>0 + runtime match; probe fn import flips false→true on attach (proven live 2026-07-05, both runtimes)",
          "cost": "~$0 — layers are free; probe invokes are free-tier",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "inference",
      "description": "run AI models (text-gen/embeddings/image/asr/translation) — at the edge (Cloudflare Workers AI, optional AI Gateway) or on a local daemon (Ollama: no cloud account, no egress, no per-token bill)",
      "knobs": [
        "MODEL_CLASS",
        "MODE"
      ],
      "acceptance": "an inference call returns well-formed non-empty output for the model class, using the resolved model id, and the endpoint answers at the resolved URL; edge bindings additionally guard the billable endpoint (unauthenticated call 403 when PROTECT set — negative)",
      "bindings": [
        {
          "file": "inference.cloudflare.md",
          "provides": [
            "inference-endpoint(WORKER_NAME@URL)",
            "embeddings? (MODEL_CLASS=embeddings)"
          ],
          "requires": [
            "cf-zone? (route/custom-domain)"
          ],
          "prereqs": [
            "wrangler + Cloudflare account (Workers AI)",
            "a model id from the live catalog"
          ],
          "verify": "curl -X POST $URL/infer → well-formed for class; unauthenticated 403 when PROTECT set",
          "cost": "per-request/token (denial-of-wallet) — guard with PROTECT + AI Gateway rate-limit",
          "maturity": "authored"
        },
        {
          "file": "inference.ollama.md",
          "provides": [
            "inference-endpoint(http://localhost:11434, MODEL)",
            "openai-compat(/v1)"
          ],
          "requires": [],
          "prereqs": [
            "ollama installed (daemon + CLI)",
            "a pulled/pullable base model",
            "enough local RAM for the chosen NUM_CTX"
          ],
          "verify": "curl -s localhost:11434/api/tags | grep \"$MODEL\"  # served tag present; then /api/chat → done_reason=stop, eval_count>0, non-empty final answer",
          "cost": "free — local compute only; no account, no egress, no per-token bill (💥 only on `ollama rm`)",
          "maturity": "dogfooded"
        }
      ]
    },
    {
      "intent": "messaging",
      "description": "send and receive chat messages via a provider app/bot — a referenceable bot handle (bidirectional) or a single inbound channel webhook, driven by one declarative App Manifest",
      "knobs": [
        "MODE",
        "SCOPES",
        "EVENTS",
        "DELIVERY"
      ],
      "acceptance": "the rendered app manifest validates against the provider schema; the app authenticates (identity resolves); the chosen MODE's channel works — incoming-webhook posts 200, a bot's Socket Mode connection opens (wss://). Live event delivery is proven one layer up, by the consuming composition",
      "bindings": [
        {
          "file": "messaging.slack.md",
          "provides": [
            "slack-bot(APP_ID@TEAM)",
            "slack-channel(webhook)? (MODE=incoming-webhook)"
          ],
          "requires": [],
          "prereqs": [
            "a Slack workspace + an admin who can install the app",
            "OAuth consent at install (the 🔴 gate)",
            "curl + jq for the apps.manifest.* Web API calls"
          ],
          "verify": "auth.test → {ok:true} (bot identity); socket MODEs: apps.connections.open → wss://; incoming-webhook: curl the URL → ok",
          "cost": "free — Slack app registration; Socket Mode is free (the bot-http public-URL MODE is the non-free path)",
          "maturity": "dogfooded"
        }
      ]
    },
    {
      "intent": "agent",
      "description": "a running assistant process bridging a chat surface to an inference endpoint — receives messages, calls a model, strips the reasoning channel, replies in-thread; a composed leaf (Requires messaging + inference)",
      "knobs": [
        "AGENT_MODEL",
        "TRIGGERS",
        "RUN_MODE",
        "PERSONA"
      ],
      "acceptance": "a chat message (DM or @mention) produces a well-formed non-empty reply posted in the same thread, generated by the resolved/discovered model tag; a reply never leaks a reasoning-channel span or a secret value (negative)",
      "bindings": [
        {
          "file": "agent.local.md",
          "provides": [],
          "requires": [
            "inference-endpoint (inference.ollama.md)",
            "slack-bot (messaging.slack.md)"
          ],
          "prereqs": [
            "python3 + slack_bolt (Socket Mode)",
            "an Ollama daemon serving the model (inference.ollama.md)",
            "an installed Slack bot app; bot + app tokens in the macOS Keychain (messaging.slack.md)"
          ],
          "verify": "DM/@mention the bot → in-thread model reply; python3 test_agent_brain.py passes; grep the runner for eval/exec/Popen → none (model output is never executed)",
          "cost": "free — a local process; no cloud account, no per-token bill",
          "maturity": "dogfooded"
        }
      ]
    },
    {
      "intent": "code-review",
      "description": "pre-merge adversarial code review — run a change through independent external agentic CLIs (second/third opinions from vendors that don't share your primary model's blind spots), synthesize, and gate the merge on a fresh passing verdict",
      "knobs": [
        "REVIEWERS",
        "INSTALL_HOOK",
        "VCS",
        "EGRESS",
        "ADJUDICATE"
      ],
      "acceptance": "a /adversarial-review run over a diff emits a verdict artifact {verdict: pass|fail}; the pre-merge gate fails CLOSED (exit 2, blocks) when the checkpoint tool is unavailable/stale or the verdict is missing; no secret value ever reaches engine stdout, the verdict, or the external models (negative — the value-never-logged invariant)",
      "bindings": [
        {
          "file": "adversarial-review.multi-model.md",
          "provides": [
            "/adversarial-review skill",
            "pre-merge review gate (PreToolUse)",
            "reusable review engine"
          ],
          "requires": [
            "a target repo with a checkpoint/diff tool (Arc or git)",
            "≥1 external headless agentic CLI on PATH (agy=Gemini / grok=xAI / ollama=local / claude)",
            "jq",
            "a project-invariants file the reviewers are told to attack"
          ],
          "prereqs": [
            "the target repo root ($PROJECT_DIR / $CLAUDE_PROJECT_DIR — never a hardcoded path)",
            "at least one reviewer CLI authenticated + on PATH"
          ],
          "verify": "/adversarial-review on a diff → verdict {pass|fail}; the gate exits 2 when the verdict is missing/stale; grep engine output for a secret value → none (negative)",
          "cost": "per external-CLI call (each vendor's own pricing/quota); a local-only (ollama) reviewer keeps it free + no-egress",
          "maturity": "authored"
        }
      ]
    },
    {
      "intent": "vector-search",
      "description": "similarity search / RAG index — store embeddings, query nearest neighbors by metric",
      "knobs": [
        "DIMENSIONS",
        "METRIC",
        "METADATA_INDEX"
      ],
      "acceptance": "index exists with resolved DIMENSIONS+METRIC; insert then query a near-identical vector → top-1; wrong-dimension insert is rejected (negative)",
      "bindings": [
        {
          "file": "vector.cloudflare.md",
          "provides": [
            "vectorize-index(INDEX_NAME)"
          ],
          "requires": [
            "workers-ai (DIMENSIONS must match the embedding model — inference.cloudflare.md MODEL_CLASS=embeddings)"
          ],
          "prereqs": [
            "wrangler + Cloudflare account",
            "DIMENSIONS = the embedding model's output width"
          ],
          "verify": "wrangler vectorize get → dims+metric; insert+query top-1; bad-dim insert errors (negative)",
          "cost": "per-query + per-stored-dimension",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "relational-database",
      "description": "primary application database (D1/SQLite) — versioned schema, migrations, shared across Workers, optional read replication",
      "knobs": [
        "SCHEMA_MODE",
        "ACCESS",
        "REPLICATION"
      ],
      "acceptance": "schema applied (tables exist); write then read round-trip; SCHEMA_MODE=migrations re-apply is a no-op; ACCESS=shared → second Worker reads first Worker's write",
      "bindings": [
        {
          "file": "database.cloudflare.md",
          "provides": [
            "d1-db(DB_NAME, database_id)"
          ],
          "requires": [],
          "prereqs": [
            "wrangler + Cloudflare account",
            "consumers bind the SAME database_id"
          ],
          "verify": "wrangler d1 execute → table exists; insert+select round-trip; migrations apply re-run no-op",
          "cost": "very low — per-row read/write + storage; free/low tier",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "stateful-coordination",
      "description": "Durable Objects — addressable, strongly-consistent state (sessions, websocket rooms, counters) with a migrations lifecycle",
      "knobs": [
        "PATTERN",
        "BACKING",
        "ALARMS",
        "ROUTING"
      ],
      "acceptance": "state persists across requests to the same object id; different ids isolated; PATTERN=websocket-room fan-out reaches a 2nd client; a v2 migration keeps v1 object state",
      "bindings": [
        {
          "file": "realtime.cloudflare.md",
          "provides": [
            "durable-object(CLASS_NAME@WORKER_NAME)"
          ],
          "requires": [
            "cf-zone? (route/custom-domain)"
          ],
          "prereqs": [
            "wrangler + Cloudflare account",
            "BACKING=sqlite for the free plan"
          ],
          "verify": "POST then GET same ?room → persists; different ?room → isolated; redeploy v2 keeps v1 state",
          "cost": "very low — DO requests + duration; hibernation makes idle websocket rooms free",
          "maturity": "authored"
        }
      ]
    },
    {
      "intent": "document-database",
      "description": "serverless key/document table (items, sessions, events, state) — key-addressed, schemaless; NOT SQL (see relational-database) and NOT Amazon DocumentDB",
      "knobs": [
        "GSI",
        "TTL",
        "STREAM",
        "PITR"
      ],
      "acceptance": "read-after-write-consistent round-trip (attribute-identical); key (+index) query answers; declared TTL/stream config live; a deleted item is gone (negative)",
      "bindings": [
        {
          "file": "document-db.aws.md",
          "provides": [
            "document-table(TABLE)"
          ],
          "requires": [
            "lambda? (STREAM consumer)"
          ],
          "prereqs": [
            "aws CLI v2 (authed)",
            "stream consumer → an existing Lambda whose role carries the stream-read grants"
          ],
          "verify": "shape-assert (keys/GSI/stream = knobs); consistent round-trip; gsi1 query; record-level stream delivery to the consumer proven; dogfooded live 2026-07-01",
          "cost": "~$0 idle — DynamoDB on-demand pay-per-request; NO instances (DynamoDB, not DocumentDB)",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "data-api",
      "description": "managed GraphQL API over a document table — CRUD without handler code, realtime subscriptions, multi-auth on one endpoint (user tokens / API key / IAM)",
      "knobs": [
        "API_KEY",
        "IAM_ACCESS",
        "API_KEY_DAYS"
      ],
      "acceptance": "schema live + directives match enabled providers; authorized put→get round-trip via a user token; unauthenticated + disabled-mode negatives; API-key mode serves when on; @aws_subscribe declared",
      "bindings": [
        {
          "file": "data-api.aws.md",
          "provides": [
            "data-api(API_ID@GRAPHQL_URL)",
            "realtime(WSS_URL) — subscriptions ride the same API"
          ],
          "requires": [
            "document-table (document-db.aws.md)",
            "identity (auth.aws.md)"
          ],
          "prereqs": [
            "aws CLI v2 (authed)",
            "broker creds → --no-session for iam steps",
            "both upstream plans applied (Requires-discovery by their deterministic names)"
          ],
          "verify": "user ID token drives putItem→getItem through APPSYNC_JS resolvers; unauthenticated → 401; garbage key rejected while the real key serves (two live modes, one endpoint); dogfooded live 2026-07-01 first pass",
          "cost": "~$4/M query+mutation ops + subscription minutes; ~$0 idle (🔴 public billable endpoint). ⚠ the api-key VALUE is the da2-… string — transient fetch only, never ledgered",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "observability",
      "description": "alerting struts — one notification channel + a deterministic alarm per watched resource + a monthly cost guard; watchers are copyable patterns (namespace + metric + dimension + threshold)",
      "knobs": [
        "EMAIL_ALERT",
        "WATCH_LAMBDA",
        "WATCH_QUEUE",
        "WATCH_TABLE",
        "WATCH_API",
        "BILLING_GUARD",
        "BUDGET_LIMIT"
      ],
      "acceptance": "channel exists + subscription state honest (PendingConfirmation named); every enabled watcher alarmed + wired, quiet; a forced alarm shows a SUCCESSFUL SNS action (time-bounded — end-to-end to the topic); disabled watcher has no alarm; budget limit + notification per knob",
      "bindings": [
        {
          "file": "observability.aws.md",
          "provides": [
            "sns-topic(TOPIC_ARN) — the alerts channel"
          ],
          "requires": [
            "only what you watch: lambda? queue? table? http-api? — all borrowed, discovered"
          ],
          "prereqs": [
            "aws CLI v2 (authed)",
            "email alerts → an inbox to click the SNS confirmation link (⏳ human step)",
            "watched resources applied first (their own plans)"
          ],
          "verify": "strut test: set-alarm-state ALARM → history shows 'Successfully executed action' post-test → back to OK; Budgets→SNS policy handshake validated at create-budget; dogfooded live 2026-07-01",
          "cost": "~$0 small-fleet (10 alarms + 2 budgets free); Budgets chosen over the classic billing alarm (no us-east-1 / console gates). Noise decision: ALARM + recovery both notify",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "cost-guard",
      "description": "the account's spend smoke detector — a dollar-threshold budget alert on account-wide usage-based spend, optionally layered with per-metric usage alerts, reaching a confirmed human inbox. (AWS sibling lives INSIDE observability.aws.md as BILLING_GUARD=budget — deliberate, not a missing binding; a standalone budgets-only cost-guard.aws.md would be this intent's AWS binding.)",
      "knobs": [
        "NOTIFY_EMAIL",
        "BUDGET_USD",
        "LAYERS",
        "PRODUCTS",
        "USAGE_LIMITS"
      ],
      "acceptance": "an account-wide dollar-threshold billing alert exists + enabled; the destination reaches a human (confirmed, or attested where the provider makes it unobservable); re-running mints no duplicates (exactly one alert per name); teardown removes only plan-owned alerts and verifies count 0",
      "bindings": [
        {
          "file": "cost-guard.cloudflare.md",
          "provides": [
            "cost-guard(CF_ACCOUNT_ID)"
          ],
          "requires": [],
          "prereqs": [
            "CLOUDFLARE_API_TOKEN with account-level Notifications edit",
            "Pay-as-you-go account for the budget layer (Enterprise unsupported)"
          ],
          "verify": "GET alerting/v3/policies → every ephemera-cost-guard-* policy enabled with the email mechanism; negative: exactly 1 per name (group_by). Dogfooded live 2026-07-15 (billing_budget_alert proven API-bindable; usage product slugs are server-validated metric-level names — invalid → 17106, fails free)",
          "cost": "$0 — notification policies are free; the always-on backstop for a platform with no hard spend cap",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "source-connection",
      "description": "a managed OAuth connection between the cloud and a git provider (GitHub/GitLab/Bitbucket) — authorized once by a human, then referenced by ARN from CI/CD consumers. AWS-shaped intent (CodeConnections): Cloudflare folds git auth into its Workers Builds/Pages dashboard integration — no standalone connection resource, deliberate asymmetry not a missing binding",
      "knobs": [
        "PROVIDER",
        "CONN_NAME",
        "ENV"
      ],
      "acceptance": "create → PENDING (the human-gate negative); console OAuth handshake → AVAILABLE; re-apply reuses the same ARN by name+ManagedBy tag (create is non-idempotent, dup names allowed); teardown deletes only the owned connection + warns about the lingering git-side app install",
      "bindings": [
        {
          "file": "source-connection.aws.md",
          "provides": [
            "source-connection(CONN_NAME, ConnectionArn)"
          ],
          "requires": [],
          "prereqs": [
            "aws CLI v2 (authed; IAM calls need broker no-session mode)",
            "a human with admin on the git org for the 🔴 console OAuth handshake (no CLI exists for it)"
          ],
          "verify": "aws codeconnections get-connection → ConnectionStatus AVAILABLE (PENDING = handshake not done, consumers must refuse). PARTIALLY dogfooded live 2026-07-12: create→PENDING, tag-discovery, teardown proven; handshake/AVAILABLE unrun (needs a real GitHub org)",
          "cost": "$0 — the connection resource is free",
          "maturity": "dogfooded"
        }
      ]
    },
    {
      "intent": "ci-runner",
      "description": "self-hosted CI runner for GitHub Actions / GitLab jobs, executing in the cloud account (CodeBuild) — jobs target it via a runs-on label; the git side needs no secrets because auth rides a source-connection",
      "knobs": [
        "PROVIDER",
        "REPO_URL",
        "PROJECT_NAME",
        "COMPUTE",
        "NETWORK",
        "DIND",
        "ENV"
      ],
      "acceptance": "project bound to OUR connection ARN (source.auth CODECONNECTIONS); webhook with WORKFLOW_JOB_QUEUED filter; refuses a PENDING connection with the remedy; re-apply converges without duplicates; end-to-end: a pushed workflow job runs on the runner",
      "bindings": [
        {
          "file": "ci-runner.aws.md",
          "provides": [
            "ci-runner(PROJECT_NAME)"
          ],
          "requires": [
            "source-connection(CONN_NAME, ConnectionArn) — AVAILABLE",
            "vpc + private NAT subnets (only when NETWORK=vpc, from network.aws.md)"
          ],
          "prereqs": [
            "aws CLI v2 (authed; IAM via broker no-session)",
            "source-connection.aws.md applied + handshaken"
          ],
          "verify": "batch-get-projects → source.auth CODECONNECTIONS + our ARN; webhook filter present. PARTIALLY dogfooded live 2026-07-12 (connection-skipped path: PENDING-refusal, create/observe-reuse determinism, teardown + absence proven; AVAILABLE/webhook/end-to-end job unrun)",
          "cost": "~$0 idle — CodeBuild bills per build-minute only",
          "maturity": "dogfooded"
        }
      ]
    },
    {
      "intent": "sdd",
      "description": "spec-driven development — a recursive, in-plan orchestrator that triages a council-produced design spec into an ordered list of Arc slice-intents, dispatches multi-model executor CLIs (claude / agy / grok / rift-served OpenRouter models) to build each slice in its own worktree, and reconciles every round against the spec until satisfied or blocked. The slice registry is arc_query_intents alone — no daemon memory, no side files; git is forbidden inside the run (Arc-only axiom).",
      "knobs": [
        "SPEC_PATH",
        "ROSTER",
        "MAX_CONCURRENT",
        "SPEND_CEILING_USD",
        "ROUND_LIMIT",
        "REGATE_AT",
        "DISPATCH_DEADLINE_MIN"
      ],
      "acceptance": "non-abandoned children-of-PARENT_INTENT_ID == SLICES_TOTAL; a round-N-verdict event exists on the parent for every round N ≤ ROUND; a re-run while VERDICT=satisfied is a no-op (0 new declares, 0 executor calls, ledger unchanged); Arc-only proven by two negatives — engine-transcript word-boundary `git` count == 0 AND no slice worktree holds a `.git/`",
      "bindings": [
        {
          "file": "sdd-fleet.local.md",
          "provides": [
            "sdd-run(PARENT_INTENT_ID)",
            "slice-intent(id)"
          ],
          "requires": [
            "an Arc-tracked project with a live capture daemon",
            "a readable SPEC_PATH (the council spec under execution)",
            "≥1 executor CLI on PATH + authed (claude / agy / grok / rift)"
          ],
          "prereqs": [
            "arc daemon running (`arc daemon status` → daemon running: yes)",
            "1-token echo round-trip proves auth, not mere `command -v` presence",
            "rift on PATH for rift-* seats (serves OpenRouter Kimi/GLM/DeepSeek; model ids probed live via `rift models`, never hardcoded; always pass --provider openrouter explicitly)",
            "every engine block run under /opt/homebrew/bin/bash — zsh mis-slices the transcript log_cmd and leaks the prompt, false-failing the git-negative"
          ],
          "verify": "Toy planted-flaw dogfood 2026-07-22 (parent #55): all 3 acceptance clauses PASS — idempotence no-op, slices==non-abandoned-children, verdict-per-round, plus the Arc-only double negative (transcript grep -cw git == 0 under bash AND no .git/ in any slice worktree). Council-spec round-1 dogfood same day (parent #62, in-repo worktrees, REAL 3-vendor roster claude/agy/grok live+authed): 3/4 slices merged via arc_intent_merge with 0 conflicts, round-1 verdict=another-round (one finding remains) — proves the recursion against a real multi-slice spec, not just the toy.",
          "cost": "~$0 orchestration (Arc calls are free) — each roster seat bills its own vendor (Anthropic session tokens / Gemini / xAI / OpenRouter); SPEND_CEILING_USD is the aggregate between-round halt; rift-seat spend is measured per-turn ($), other seats estimated",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "account",
      "description": "the zeroth onboarding plan — nothing installed, no account → a free Cloudflare account, a working wrangler CLI, and verified authentication; the unstated prerequisite every other *.cloudflare.md plan assumes",
      "knobs": [
        "AUTH_MODE",
        "ACCOUNT_MODE",
        "TOKEN_SCOPE"
      ],
      "acceptance": "npx wrangler whoami succeeds and prints the Account ID (+ email in oauth-login mode or when the token carries User Details:Read); the human is never sent off to figure out a toolchain alone — every human-only step (signup, OAuth consent) ships a verbatim script; no secret value anywhere in the transcript, argv, shell history, or disk (probe-only)",
      "bindings": [
        {
          "file": "account.cloudflare.md",
          "provides": [
            "cf-account(ACCOUNT_ID)",
            "authed-wrangler(TOKEN_SCOPE)"
          ],
          "requires": [],
          "prereqs": [
            "a working email address (Cloudflare verifies it at signup)",
            "Node ≥ 18 (wrangler runs on it; the plan offers to install it)"
          ],
          "verify": "npx wrangler whoami → an Account ID table (+ email in oauth-login / User Details:Read). PARTIALLY proven live 2026-07-23 on an already-authed machine: observe-first + whoami + Keychain token hand-off + the §3 liveness probe both directions (valid token → \"token valid\" exit 0, invalid → \"token INVALID\" exit 1, fail-closed both ways). UNRUN: nothing→signup (§1), the oauth-login branch (§3), a fresh-token mint from the recommended template, and the scope-table permission labels against the live Create Custom Token picker",
          "cost": "$0 — free Cloudflare plan throughout, no credit card",
          "maturity": "dogfooded"
        }
      ]
    },
    {
      "intent": "archive",
      "description": "recover media locked inside an opaque application store (worked binding: macOS Messages chat.db + Attachments) into a plain dated review tree with a manifest — dates reconstructed from a ladder (message date → EXIF → filename → mtime-if-not-clustered → undated), duplicates folded in by size-then-hash, nothing deleted without a hash-verified counterpart",
      "knobs": [
        "ORGANIZE_BY",
        "INCLUDE_VIDEO",
        "APPLY_MIN_SIZE",
        "RESOLVE_NAMES",
        "TEARDOWN_MODE"
      ],
      "acceptance": "every source file is copied or classified as duplicate/filtered, with counts reconciling three ways (script tally, find, manifest); no fabricated dates (undated files marked, never guessed); source path-set unchanged after the run (negative); nothing deleted without a hash-identical counterpart proven at a 🔴 gate, with every exempt-by-class file enumerated",
      "bindings": [
        {
          "file": "archive.local.md",
          "provides": [
            "media-archive(DEST)",
            "manifest(DEST/manifest.csv)"
          ],
          "requires": [],
          "prereqs": [
            "Full Disk Access for the terminal (~/Library/Messages is TCC-protected)",
            "read access to the source home + free space ≥ source size",
            "sqlite3 + python3 (both ship with macOS)"
          ],
          "verify": "on-disk file count == manifest rows == script COPIED tally (three-way); negative: source path-set identical to the §1 baseline; negative: zero manifest rows dated by mtime under a year folder. Contributor-dogfooded live against a real ~7GB Messages store (copy-timestamp trap, size-then-hash dedupe, stale-AFP-fork, epoch ambiguity, orphan-attachment gap all folded in). Review-hardened at promotion 2026-07-23 — the two embedded scripts (plan.py, verify_gate.py) were reconstructed from this plan's own spec, unverified until a live run; §4's copier is prose-only, Director-synthesized",
          "cost": "$0 — local compute + disk only; a same-volume consolidation transiently doubles the footprint during the copy",
          "maturity": "dogfooded"
        }
      ]
    },
    {
      "intent": "receive-inbound-email",
      "description": "receive inbound email at an address on your domain and hand it to your application over HTTP — the inbound sibling of send-transactional-email",
      "knobs": [
        "DURABILITY"
      ],
      "acceptance": "mail sent to ADDRESS@DOMAIN reaches the Worker's email() handler; the handler's POST to WEBHOOK_URL returns 2xx; the received message shows dkim=pass in Authentication-Results",
      "bindings": [
        {
          "file": "email-routing.cloudflare.md",
          "provides": [
            "email-webhook(DOMAIN, ADDRESS→WEBHOOK_URL)"
          ],
          "requires": [
            "cf-zone"
          ],
          "prereqs": [
            "wrangler + Cloudflare account",
            "the receiving domain's zone on Cloudflare",
            "an API token scoped Email Routing: Edit (zone) — a Workers-deploy-only token errors 10000 on rule-create"
          ],
          "verify": "wrangler email routing rules list $DOMAIN  # → ADDRESS→worker rule present; wrangler tail shows email() fire + webhook 2xx; received message Authentication-Results shows dkim=pass",
          "cost": "low — Email Routing itself is free; cost is the Worker invocation (Workers free/paid tier) + whatever durability store (DO/D1) you add for store-then-process",
          "maturity": "proven-live"
        }
      ]
    },
    {
      "intent": "mesh",
      "description": "put ONE node on an authenticated WireGuard mesh so the services it runs for other nodes travel inside the tunnel and nowhere else — and prove the 'nowhere else' from a vantage the node cannot fake",
      "knobs": [
        "HOSTNAME_POLICY",
        "TAGS",
        "PEERS",
        "MESH_ONLY_PORTS",
        "LOOPBACK_ONLY_PORTS",
        "LAN_PEER_MODE",
        "TS_SSH"
      ],
      "acceptance": "node online with a stable mesh address (control plane); every declared peer reachable AND identity attested by a party neither end controls; every mesh-only port refuses LAN cleartext, proven from a LAN vantage never from self; teardown leaves no node key",
      "bindings": [
        {
          "file": "mesh.tailscale.md",
          "provides": [
            "mesh-node(NODE_HOSTNAME, TS_IP)",
            "mesh-reachability(PEERS)"
          ],
          "requires": [],
          "prereqs": [
            "tailscale CLI + a tailnet login on this node (browser login is a human step)",
            "a LAN peer on the same tailnet for the confinement probe (ssh, or manual paste)"
          ],
          "verify": "tailscale status --json Self.Online + DNSName; tailscale ping + whois(IP) per peer; non-member name fails to resolve; nc probe run ON the LAN peer: mesh-only ports refuse LAN_IP, accept TS_IP (dogfooded 2026-09-05: §1–§3 live, §4 pending manual)",
          "cost": "$0 — a personal tailnet is free; no cloud resources",
          "maturity": "dogfooded"
        }
      ]
    },
    {
      "intent": "build",
      "description": "produce and VERIFY artifacts for Linux, Windows and macOS from a single Mac — no cloud, no hosted CI; three seams (linkage, port existence, verification surface) resolve each target to the cheapest honest lane L0 native → L1 cross → L2 container → L3 hardware",
      "knobs": [
        "STACK",
        "TARGETS",
        "LINKAGE",
        "RUST_LINKER",
        "WINDOWS_MODE",
        "VERIFY_DEPTH",
        "CACHE_ROOT"
      ],
      "acceptance": "right triple per artifact (file/lipo); executed where it ships or the ledger row says unverified and names the missing surface; nothing regenerable in-tree (negative check); deterministic lanes — same resolved inputs ⇒ same lane",
      "bindings": [
        {
          "file": "build.local.md",
          "provides": [
            "artifact(TARGET)",
            "built.manifest(triple, hash, verify surface)"
          ],
          "requires": [],
          "prereqs": [
            "Xcode CLT",
            "rustup (Rust lanes) or Node ≥ 20 (Node lanes)",
            "Docker Desktop/colima for L2",
            "a Windows box (ssh or manual) for L3 only"
          ],
          "verify": "per target: artifact exists + file/lipo confirms the triple; runs on its surface (this Mac / container / $WINDOWS_HOST); caches proven out-of-tree by a negative check",
          "cost": "$0 — local compute; GBs of disk for caches, deliberately out-of-tree",
          "maturity": "authored"
        }
      ]
    }
  ],
  "recipes": [
    {
      "file": "docker-build.md",
      "description": "Dockerfile & compose construction runbook + a 16-check agent-runnable audit (dogfooded); feeds ecs-service/ci-runner image seams",
      "maturity": "proven-live"
    },
    {
      "file": "aws-alerts-to-slack.md",
      "description": "CloudWatch → SNS → Lambda → Slack webhook golden path (proven live; the fleet's first agent-composition dogfood)",
      "maturity": "proven-live"
    },
    {
      "file": "contact-form-site.md",
      "description": "static site + contact form → email golden path (which plans, what order, which knobs)",
      "maturity": "authored"
    },
    {
      "file": "local-slack-agent.md",
      "description": "local Ollama model answering Slack DMs in-thread over Socket Mode — no cloud account",
      "maturity": "authored"
    },
    {
      "file": "multi-worker-app.md",
      "description": "static frontend + API Workers + background processor sharing D1/R2 (+optional AI/vectors/sessions)",
      "maturity": "authored"
    },
    {
      "file": "releases-page-clerk.md",
      "description": "the fleet's release-page pattern: static-assets site + thin clerk Worker, cloned per project",
      "maturity": "proven-live"
    },
    {
      "file": "cloudflare-traffic-triage.md",
      "description": "read-only Cloudflare traffic attribution from the zone's own analytics API (GraphQL) — who/what/since-when, a scanner-vs-scraper signature table, and a gated response playbook; proven on a Free-plan zone",
      "maturity": "proven-live"
    },
    {
      "file": "mac-ai-enablement.md",
      "description": "New-Mac permission runbook (traps measured in production; the sequence itself unrun on a fresh machine) for agent work — provoke every macOS TCC prompt deliberately in one sitting (a missing grant usually stalls silently rather than erroring); ssh-has-no-GUI-session traps; code-identity rules that make grants survive upgrades; launchd agent vs daemon + the 256 open-file default; a sweep that tells granted from never-asked; and a re-runnable §7 posture check for drift (Developer Tools grant on the agent's responsible process, Spotlight sentinel + mdutil -E, build-cache size, PATH under launchd via .zprofile, locked login keychain), each row with a falsifier.",
      "maturity": "authored"
    },
    {
      "file": "homedepot-cart-from-bom.md",
      "maturity": "proven-live",
      "description": "Browser-agent procurement runbook (Claude / Grok / Cursor / Codex — runtime-neutral verbs + a runtime map): a contractor's material list (CSV, sheet, doc, pasted text, or a project description → gated draft takeoff) → homedepot.com cart at a ZIP-resolved store, one verified add at a time, reconciled ledger, 🔴 never checks out. Dogfooded live as guest (quantities, cart reconcile, teardown); measured traps: no bulk-add surface exists, element-handle clicks are silent no-ops, typed quantity reverts to 1 without a pointer click, >4 s overlay before the add confirms, per-store pickup maximums, per-line delivery fees. Pro pricing unmeasured (needs the account holder's own login)."
    },
    {
      "file": "design-md.md",
      "maturity": "proven-live",
      "description": "DESIGN.md runbook for any UI project (web, SwiftUI, Compose): ADOPT a design system before the first screen (extends a base + brand-layer overrides only, or instantiate the template; tokens are data that generate tokens.css / DesignTokens.swift / a Compose Theme) and AUDIT an existing UI against it with computed checks — token deltas classified inherited/overridden/drifted/stale, raw values counted per file with the grep rules printed, contrast for every pair in both themes from the RENDERED colour (gradient stops, HSL recipes) not the token table, tap-target floors, device-only floors reported UNCHECKED never passed. Carries the platform-neutral floors table. Spec by a design-system maintainer; dogfooded read-only against the Axiom base, reproducing its five measured gaps; adopt on a fresh native app unrun."
    },
    {
      "file": "agent-setup-wizard.md",
      "maturity": "authored",
      "description": "Interview-to-plan runbook for adopting agent skills, plugins and doctrine without inheriting someone else's world view: 11 fixed-answer questions about how you work, a versioned rule table (each row = reason + provenance + retire-if), dependency closure, then a skills.user.md plan with Deviations (every difference from the reference profile names the answer that caused it) and Overrides (evidence about the table). Opens with an on-ramp for engineers who think in tools (lint-config translation table, Stage 0/1/2 adoption ladder) and a worked derivation. Verify is a plugin-free installed-vs-declared check, run against a real plan. v0.3 adds design-before-code, plan-writing and finishing rows plus upstream dependency closure, and pairs with agent-work-lifecycle.md for the order. Authored: no person has run the interview yet."
    },
    {
      "file": "agent-work-lifecycle.md",
      "maturity": "authored",
      "description": "The order that makes agent skills work: clarify → design (human approves) → plan → isolate → implement test-first → review the diff → verify with a command's output → integrate (human go when outward-facing) and re-verify the MERGED base → record a ledger line from that run → publish and check from the receiving side, with root-cause debugging as a side loop. Each stage has entry, what the agent does, exit EVIDENCE, the failure it prevents and when to skip it; the artifact each stage hands on; an earn-a-plan gate; a right-sizing table from typo to multi-agent; where the human decides; and the hand-off failures between stages. Names roles, not products. Sibling to agent-setup-wizard.md (which practices) — this is how they connect."
    }
  ]
}
