{
  "schema": "opos-self-explaining-build/1.0",
  "generated_at": "2026-07-22T23:04:45.032Z",
  "identity": {
    "name": "OPOS",
    "expanded_name": "Object Protocol Operating System",
    "protocol": "OP — Object Protocol",
    "previous_protocol_name": "OIP — Object Invocation Protocol",
    "definition": "The build as one self-explaining operating object: knowledge, capabilities, models, execution, evidence, feedback, and recursive development joined through OP."
  },
  "object_classes": [
    {
      "id": "op-object",
      "name": "OP object",
      "unit": "One capability, article, model, device, API, file, queue, receipt, or feedback contribution with a readable contract and stable routes."
    },
    {
      "id": "opos-object",
      "name": "OPOS object",
      "unit": "One whole operating build composed from OP objects, with its own inventory, audit, Tap & Go payloads, comparison axes, feedback loop, and evidence boundaries."
    }
  ],
  "tap_and_go": {
    "build_audit": {
      "description": "The floating owner control mints one bounded self-explaining read-token DROP. Evidence remains retrievable instead of being embedded in context.",
      "mint_url": "https://miscsubjects.com/api/dispatch?tap_go=1&drop=audit",
      "archive_url": "https://miscsubjects.com/api/opos?format=archive"
    },
    "token_drops": [
      {
        "model": "chatgpt",
        "mint_url": "https://miscsubjects.com/api/dispatch?tap_go=1&scope=read&model=chatgpt"
      },
      {
        "model": "claude",
        "mint_url": "https://miscsubjects.com/api/dispatch?tap_go=1&scope=read&model=claude"
      },
      {
        "model": "grok",
        "mint_url": "https://miscsubjects.com/api/dispatch?tap_go=1&scope=read&model=grok"
      },
      {
        "model": "gemini",
        "mint_url": "https://miscsubjects.com/api/dispatch?tap_go=1&scope=read&model=gemini"
      },
      {
        "model": "kimi",
        "mint_url": "https://miscsubjects.com/api/dispatch?tap_go=1&scope=read&model=kimi"
      }
    ],
    "profile_api": "https://miscsubjects.com/api/tap-go-profiles?v=1"
  },
  "article_roots": [
    {
      "slug": "op",
      "title": "OP — Object Protocol",
      "url": "https://miscsubjects.com/a/op"
    },
    {
      "slug": "opos",
      "title": "OPOS — Object Protocol Operating System",
      "url": "https://miscsubjects.com/a/opos"
    },
    {
      "slug": "opos-tap-go",
      "title": "OPOS Tap & Go",
      "url": "https://miscsubjects.com/a/opos-tap-go"
    },
    {
      "slug": "opos-capability-atlas",
      "title": "OPOS Capability Atlas",
      "url": "https://miscsubjects.com/a/opos-capability-atlas"
    },
    {
      "slug": "opos-formal-audit",
      "title": "OPOS Formal Audit",
      "url": "https://miscsubjects.com/a/opos-formal-audit"
    },
    {
      "slug": "opos-mirror",
      "title": "OPOS Mirror and Evolution Loop",
      "url": "https://miscsubjects.com/a/opos-mirror"
    }
  ],
  "inventory": {
    "human": "https://miscsubjects.com/capability-atlas",
    "machine": "https://miscsubjects.com/api/capability-atlas",
    "summary": {
      "registered_capabilities": 875,
      "enabled_capabilities": 866,
      "described_capabilities": 502,
      "capabilities_with_recorded_invocations": 264,
      "capabilities_with_registered_tests": 46,
      "capabilities_with_currently_passed_tests": 1,
      "registered_only": 595,
      "recorded_invocations_across_current_capabilities": 146743,
      "material_invocation_flags": 102581,
      "categories": 108,
      "domains": 12
    },
    "domains": [
      {
        "id": "cloud-data",
        "name": "Cloud, data, storage, and deployment",
        "registered": 133,
        "enabled": 133,
        "invoked": 29,
        "with_registered_tests": 4,
        "with_current_test_pass": 0,
        "recorded_invocations": 5830,
        "examples": [
          {
            "key": "BROWSER_JSON",
            "description": "Extract LLM-structured JSON from a URL via Cloudflare Browser Rendering. $1=account_id, $2=JSON body {url, prompt?, response_format?}",
            "verification": "registered_only"
          },
          {
            "key": "BROWSER_LINKS",
            "description": "Extract all links from a URL via Cloudflare Browser Rendering. $1=account_id, $2=JSON body {url}",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BROWSER_MARKDOWN",
            "description": "Get the markdown of a URL via Cloudflare Browser Rendering. $1=account_id, $2=JSON body {url}. Returns the rendered markdown",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BROWSER_PDF",
            "description": "Render a URL as PDF via Cloudflare Browser Rendering. $1=account_id, $2=JSON body {url}. Returns binary PDF",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BROWSER_SCRAPE",
            "description": "Extract structured data by selectors via Cloudflare Browser Rendering. $1=account_id, $2=JSON body {url, elements:[{selector}]}",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BROWSER_SCREENSHOT",
            "description": "Get a PNG screenshot of a URL via Cloudflare Browser Rendering. $1=account_id, $2=JSON body {url, screenshotOptions?}. Returns binary PNG",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "CF",
            "description": "Cloudflare REST API unified entrypoint. 256+ operations.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "CF_API_GAPS",
            "description": "Analyze the CF row target_map. Returns counts, known namespaces, expected namespaces, missing namespaces, coverage_pct",
            "verification": "registered_only"
          },
          {
            "key": "CF_AUDITLOGS_AUDITLOGS_BY_ACCOUNT_ID",
            "description": "Find all audit logs (a list of who made what change when) for a Cloudflare Account by ID. This can be used to query activity on your Cloudflare account at a particular time. Since and before are requi",
            "verification": "registered_only"
          },
          {
            "key": "CF_AUTORAG_LIST_RAGS",
            "description": "List AutoRAGs (vector stores)",
            "verification": "registered_only"
          },
          {
            "key": "CF_AUTORAG_SEARCH",
            "description": "Search Documents using AutoRAG (vector store)",
            "verification": "registered_only"
          },
          {
            "key": "CF_BINDINGS_D1_DATABASES_LIST",
            "description": "List all of the D1 databases in your Cloudflare account",
            "verification": "invoked_not_test_proven"
          }
        ]
      },
      {
        "id": "communications",
        "name": "Messaging, email, phone, and voice",
        "registered": 117,
        "enabled": 115,
        "invoked": 22,
        "with_registered_tests": 4,
        "with_current_test_pass": 0,
        "recorded_invocations": 1716,
        "examples": [
          {
            "key": "AUDIO",
            "description": "Speak words aloud. INVOKE: [invocation omitted]",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BLOCK_IMESSAGE",
            "description": "BLOCK_IMESSAGE — iMessage layout (optional, not default)",
            "verification": "disabled"
          },
          {
            "key": "BLOCK_VOICE",
            "description": "text",
            "verification": "disabled"
          },
          {
            "key": "BLOOIO",
            "description": "Blooio (iMessage/SMS) unified entrypoint",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BLOOIO2",
            "description": "You are Cyrus's writing assistant on the second Blooio line (+12065711028). When he texts you, you write and edit articles on the miscsubjects build.",
            "verification": "registered_only"
          },
          {
            "key": "BLOOIO_ADD_CONTACT_IDENTITY",
            "description": "Attach a new identity (phone/email on a channel type) to an existing contact.",
            "verification": "registered_only"
          },
          {
            "key": "BLOOIO_ADD_CONTACT_TAGS",
            "description": "Add one or more tags to a contact (deduped).",
            "verification": "registered_only"
          },
          {
            "key": "BLOOIO_ADD_REACTION",
            "description": "React to a message (tapback). reaction like '+love', '+like', '+laugh', '+emphasize', '+question', or remove with a '-' prefix. Blooio channels only.",
            "verification": "registered_only"
          },
          {
            "key": "BLOOIO_BATCH_LOOKUP_PHONE_NUMBERS",
            "description": "Look up up to 100 phone numbers at once. Requires an enterprise plan.",
            "verification": "registered_only"
          },
          {
            "key": "BLOOIO_CONTACT_CAPABILITIES",
            "description": "Check if a phone number or email is reachable via iMessage / SMS / RCS. Resolves (or creates) the contact for that identifier, then returns its capabilities. Note: creating the contact is a side effec",
            "verification": "registered_only"
          },
          {
            "key": "BLOOIO_CREATE_CHAT",
            "description": "Find or create a 1:1 chat with a recipient on a channel. Returns the chat id (chat_...) to use for sends and actions.",
            "verification": "registered_only"
          },
          {
            "key": "BLOOIO_CREATE_CONTACT",
            "description": "Create a contact, optionally with one identity (phone/email on a channel type). Returns the new contact id (ct_...).",
            "verification": "registered_only"
          }
        ]
      },
      {
        "id": "computer-code",
        "name": "Computer, code, files, browser, and GitHub",
        "registered": 111,
        "enabled": 111,
        "invoked": 38,
        "with_registered_tests": 1,
        "with_current_test_pass": 0,
        "recorded_invocations": 620,
        "examples": [
          {
            "key": "BROWSER_FETCH",
            "description": "{\"cmd\":\"sh\",\"args\":[\"-lc\",\"curl -sSL \\\"$1\\\" | head -c 20000\"],\"timeout\":60000}",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BROWSER_PLAYWRIGHT",
            "description": "Run a Playwright CLI command on the Mac (npx -y playwright …). g. \"screenshot https://x.com /tmp/x.png\". First run downloads browsers (~2 min). For full browser automation absorb the playwright MCP server via MCP_PROBE",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BROWSER_USE",
            "description": "Run the browser-use agent (AI browser driver). Installed at bridge/.venv-browser-use (Python 3.12). Needs GROK_API_KEY, OPENAI_API_KEY, or ANTHROPIC_API_KEY in ~/.config/grok-bridge.env",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "CLI_AIDER",
            "description": "Aider — git-aware AI pair programmer running one-shot on the Mac.",
            "verification": "registered_only"
          },
          {
            "key": "CLI_AWS",
            "description": "run aws CLI. ARGS: $1 = args. {\"cmd\":\"sh\",\"args\":[\"-lc\",\"aws $1+\"],\"timeout\":120000}",
            "verification": "registered_only"
          },
          {
            "key": "CLI_BREW",
            "description": "run brew. ARGS: $1 = args. {\"cmd\":\"sh\",\"args\":[\"-lc\",\"brew $1+\"],\"timeout\":120000}",
            "verification": "registered_only"
          },
          {
            "key": "CLI_BUN",
            "description": "run bun. ARGS: $1 = args, $2 = cwd. {\"cmd\":\"sh\",\"args\":[\"-lc\",\"cd \\\"$2\\\" 2>/dev/null; bun $1\"],\"timeout\":120000}",
            "verification": "registered_only"
          },
          {
            "key": "CLI_CLASP",
            "description": "run clasp (Apps Script CLI) on Cyrus's Mac. ARGS: $1 = args after `clasp`. cwd = /Users/cyrusmassoumi/miscsubjects-pages/apps-script.",
            "verification": "registered_only"
          },
          {
            "key": "CLI_CLAUDE_CODE",
            "description": "Claude Code headless coding agent on the Mac. File edit + shell.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "CLI_CODEX",
            "description": "OpenAI Codex CLI one-shot. Parallel/second-opinion coder.",
            "verification": "registered_only"
          },
          {
            "key": "CLI_CURL_LOCAL",
            "description": "run curl ON THE MAC (different from the worker's outbound fetch — picks up Mac creds in keychain/env).",
            "verification": "registered_only"
          },
          {
            "key": "CLI_DENO",
            "description": "run deno. ARGS: $1 = args, $2 = cwd. {\"cmd\":\"sh\",\"args\":[\"-lc\",\"cd \\\"$2\\\" 2>/dev/null; deno $1\"],\"timeout\":120000}",
            "verification": "registered_only"
          }
        ]
      },
      {
        "id": "knowledge-content",
        "name": "Knowledge, articles, graph, and protocol",
        "registered": 91,
        "enabled": 91,
        "invoked": 47,
        "with_registered_tests": 1,
        "with_current_test_pass": 0,
        "recorded_invocations": 67635,
        "examples": [
          {
            "key": "ARTICLES",
            "description": "Fast natural-language article CRUD. One row per article in D1; writes are URL-invocable through OIP.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARTICLE_ASK",
            "description": "Answer from article ledger topology (claims, sources, Reddit/X anecdotes, user reports). Not medical advice.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARTICLE_CLAIM",
            "description": "Post one tiered claim voxel into an article ledger with who_claims + posted_by provenance. Not medical advice.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARTICLE_GET",
            "description": "Return article + its slots as one joined result set. $1=slug. Returns an array of {slug,title,subject,updated_at,slot_key,content,model,version}.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARTICLE_INGEST",
            "description": "Parse user-submitted evidence and write to article source ledger + optional claims. Hash-chained.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARTICLE_PUT",
            "description": "create/replace an article. ARGS: $1 = JSON {slug,title,body,hero?,images?,style?} $1",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ART_GET",
            "description": "Read an article by slug",
            "verification": "registered_only"
          },
          {
            "key": "ART_PATCH",
            "description": "Edit an article by slug",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARXIV_GROW",
            "description": "Regenerate the arXiv paper from live state. Reads paper/template.tex + paper/rings.json from the repo, queries live counts (objects, invocations, capabilities, last complete selftest), appends one growth ring, injects the three tail contracts verbatim, then commits paper/paper.tex + paper/rings.json + README.md + oip.json — each commit message carries this trace id. CI compiles the PDF on the paper.tex push. This fn is the only writer of the generated files.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARXIV_PAPER",
            "description": "The arXiv paper as a live object. The paper \"The Document Is the Receipt\" lives at github.com/massoumicyrus/oip (private) and is written only by ARXIV_GROW. Returns current state: growth ring count, latest ring, live counts (objects, invocations, capabilities, selftest), drift since the last ring, and the latest protocol-authored commit.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BUILD_LANDSCAPE",
            "description": "Read the graph-derived table of comparison targets, source-backed claim voxels, proof state, and research queue.",
            "verification": "registered_only"
          },
          {
            "key": "CAPABILITY_ATLAS",
            "description": "Read the public capability archaeology atlas joining every current directory contract with recorded invocation evidence, registered tests, capability domains, and aggregate coding-agent turn/file-change sediment. It separates registered, invoked, tested, and disabled states so the build interior can be audited without treating row count as proof.",
            "verification": "registered_only"
          }
        ]
      },
      {
        "id": "growth",
        "name": "Marketing, leads, sales, and distribution",
        "registered": 82,
        "enabled": 81,
        "invoked": 35,
        "with_registered_tests": 11,
        "with_current_test_pass": 0,
        "recorded_invocations": 2286,
        "examples": [
          {
            "key": "ARCADS",
            "description": "A1: IDENTITY",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARCADS_CREDITS",
            "description": "ArcAds credit usage this month. Returns {month,used,cap,remaining}. Cap from settings.arcads_monthly_credits (80440). Logged from each generate (data.creditsCharged)",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARCADS_GENERATE",
            "description": "Generate an ad image via ArcAds, poll to completion, store to R2, return a stable link",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARCADS_ROUTES",
            "description": "ArcAds HTTP unified entrypoint",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARCADS_TO_R2",
            "description": "Poll a finished ArcAds render by arcads_id and re-store its bytes to R2, returning a stable https://miscsubjects.com/img/ link (permanent, not a presigned/expiring S3 url). Waits up to 120s for the render.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ARCADS_UPLOAD",
            "description": "Upload a file to ArcAds (presign + S3 PUT). Returns {filePath,fileId}; pass filePath in referenceImages. fileType e.g. image/png, image/jpeg, video/mp4, audio/mp3",
            "verification": "registered_only"
          },
          {
            "key": "ARCADS_VIDEO_GENERATE",
            "description": "Generate a video via ArcAds, poll, store to R2, return a stable link",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "KLAVIYO",
            "description": "Klaviyo unified entrypoint",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "KLAVIYO_PROFILES",
            "description": "DISABLED: stale provider stub. Use [invocation omitted] and report the returned page count/next-page state.",
            "verification": "disabled"
          },
          {
            "key": "LEADS_DISCOVER",
            "description": "Find businesses likely to buy peptides wholesale or want white-label, by type and city. Free source (OpenStreetMap), no API key. Writes new rows to the leads table.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "LEADS_DISCOVER_AI",
            "description": "SCRAPER 2 — Grok live web search finds real businesses (with verified official websites) that OpenStreetMap does not have. Inserts them as new leads, source=grok-live-search.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "LEADS_DISCOVER_PLACES",
            "description": "Discover B2B leads via Google Places API (New) — med-spas/clinics/longevity by segment + city, with website/phone/rating. Better coverage than the Overpass source. Inserts into the leads table.",
            "verification": "invoked_not_test_proven"
          }
        ]
      },
      {
        "id": "other",
        "name": "Other and uncategorized",
        "registered": 82,
        "enabled": 77,
        "invoked": 16,
        "with_registered_tests": 6,
        "with_current_test_pass": 0,
        "recorded_invocations": 3645,
        "examples": [
          {
            "key": "AGENT",
            "description": "Control a resident agent",
            "verification": "registered_only"
          },
          {
            "key": "AIG_LIST",
            "description": "List AI Gateways on the account",
            "verification": "registered_only"
          },
          {
            "key": "AIG_RAW",
            "description": "Raw call to AI Gateway REST. Arg $1 = full JSON body (model + messages)",
            "verification": "registered_only"
          },
          {
            "key": "APPS_SCRIPT_RUN",
            "description": "Generic Apps Script invocation. $1=action name, $2=JSON args. Routes to the airunner web app deployment which has Google Drive / Sheets / Tasks / Calendar / Apps Script-runtime access. Use when you need to read/write the user's Google stuff. $$2 (double dollar) inlines the args JSON raw, so callers pass {\"k\":\"v\"} not as a string but as a JSON value",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ASK_CLAUDE",
            "description": "ASK1: You are a second-opinion model. Answer the user's question literally. No preamble. No sign-off.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ASK_GEMINI",
            "description": "ASK1: You are a second-opinion model. Answer the user's question literally. No preamble. No sign-off.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ASK_GPT",
            "description": "ASK1: You are a second-opinion model. Answer the user's question literally. No preamble. No sign-off.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "ASK_KIMI",
            "description": "ASK1: You are a second-opinion model. Answer the user's question literally. No preamble. No sign-off.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BLOCK_EMOJI",
            "description": "BLOCK_EMOJI — tapback / emoji reaction language",
            "verification": "disabled"
          },
          {
            "key": "BLOCK_REASONING_A",
            "description": "BLOCK_REASONING_A — reasoning format (type A)",
            "verification": "disabled"
          },
          {
            "key": "BLOCK_ROUTING",
            "description": "BLOCK_ROUTING — identity routing (ROUTER)",
            "verification": "disabled"
          },
          {
            "key": "CC_LAST",
            "description": "the last 3 Claude Code turns on this repo (the user input to Claude Code, the tools it used, the files it edited).",
            "verification": "registered_only"
          }
        ]
      },
      {
        "id": "commerce",
        "name": "Commerce, payments, and customers",
        "registered": 60,
        "enabled": 60,
        "invoked": 7,
        "with_registered_tests": 4,
        "with_current_test_pass": 0,
        "recorded_invocations": 23,
        "examples": [
          {
            "key": "BC",
            "description": "BigCommerce unified entrypoint",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "CUSTOMER",
            "description": "You are the customer-facing agent for miscsubjects.com. You answer people who reply to iMessage/Facebook ads or visit the site.",
            "verification": "registered_only"
          },
          {
            "key": "PAYMENTS_CREATE_REFUND",
            "description": "This tool will refund a payment intent in Stripe. It takes three arguments: - payment_intent (str): The ID of the payment intent to refund. - amount (int, optional): The amount to refund in currency m",
            "verification": "registered_only"
          },
          {
            "key": "PAYMENTS_FETCH_STRIPE_RESOURCES",
            "description": "Retrieve Stripe object details by ID. IMPORTANT: Only call this tool after search_stripe_resources is called to get specific object IDs. Do not use this tool to discover or search for objects. This to",
            "verification": "registered_only"
          },
          {
            "key": "PAYMENTS_GET_STRIPE_ACCOUNT_INFO",
            "description": "This will get the account info for the logged in Stripe account.",
            "verification": "registered_only"
          },
          {
            "key": "PAYMENTS_SEARCH_STRIPE_DOCUMENTATION",
            "description": "Search the Stripe documentation for the given question and language. It takes two arguments: - question (str): The user question to search an answer for in the Stripe documentation. - language (str, o",
            "verification": "registered_only"
          },
          {
            "key": "PAYMENTS_SEARCH_STRIPE_RESOURCES",
            "description": "This tool can be used to search for specific Stripe resources using a custom Stripe query syntax. It is only able to search for the following resources: customers, payment_intents, charges, invoices,",
            "verification": "registered_only"
          },
          {
            "key": "PAYMENTS_STRIPE_API_DETAILS",
            "description": "Get detailed parameter information for a specific Stripe API operation. Provide the stripe_api_operation_id from stripe_api_search results to see all path, query, and body parameters with their types,",
            "verification": "registered_only"
          },
          {
            "key": "PAYMENTS_STRIPE_API_READ",
            "description": "Read data from any Stripe API GET operation: 1. Use stripe_api_search to find the operation ID. 2. Use stripe_api_details to understand its parameters (required for operations with nested object field",
            "verification": "registered_only"
          },
          {
            "key": "PAYMENTS_STRIPE_API_SEARCH",
            "description": "Search for Stripe API operations by keyword. Returns matching operations with their HTTP method, path, summary, and top-level parameter names with types. Does not include parameter descriptions, enum",
            "verification": "registered_only"
          },
          {
            "key": "PAYMENTS_STRIPE_API_WRITE",
            "description": "Write data via any Stripe API POST/PATCH/PUT/DELETE operation: 1. Use stripe_api_search to find the operation ID. 2. Use stripe_api_details to understand its parameters (required for operations with n",
            "verification": "registered_only"
          },
          {
            "key": "PAYMENTS_STRIPE_IMPLEMENTATION_PLANNER",
            "description": "Stripe payment integration planner. Use this tool to help users accept payments, sell products online, set up billing, or build any Stripe integration. Call this BEFORE writing code when the user want",
            "verification": "registered_only"
          }
        ]
      },
      {
        "id": "automation-work",
        "name": "Automation, flows, tasks, and durable work",
        "registered": 52,
        "enabled": 52,
        "invoked": 17,
        "with_registered_tests": 5,
        "with_current_test_pass": 0,
        "recorded_invocations": 63822,
        "examples": [
          {
            "key": "ADDTASK",
            "description": "Add a job to the build queue (tasks table). Cron will pick it up and run it automatically when protocol_autorun is on.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "AUTOMATE_ADD",
            "description": "Automate a capability — make it fire itself every N minutes and ledger a receipt each run. Turns a one-off action into a standing background job.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "AUTOMATE_DELETE",
            "description": "Delete an automation by id.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "AUTOMATE_FIRE",
            "description": "Fire every enabled automation registered for an event (trigger=event:NAME). Any inbound hook (a customer text, an error, a webhook) calls this with the event name + payload; matching automations run and ledger a receipt.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "AUTOMATE_LIST",
            "description": "List every automation — id, name, schedule, target key, enabled, last run, run count.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "AUTOMATE_RUN_DUE",
            "description": "Fire every enabled automation whose interval has elapsed; ledger a receipt for each. Called by the cron each tick; safe to call manually.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "AUTOMATE_TOGGLE",
            "description": "Turn an automation on or off by id (paused, not deleted).",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "CRON_LIST",
            "description": "List existing cron jobs by querying the Cloudflare API. Returns scheduled jobs for this account.",
            "verification": "registered_only"
          },
          {
            "key": "DELTASK",
            "description": "delete a task. ARGS: <id>. EX {\"key\":\"DELTASK\",\"body\":\"42\"} [\"DELETE FROM tasks WHERE id=?\",\"$1\"]",
            "verification": "registered_only"
          },
          {
            "key": "DIRECTORY_GET",
            "description": "Read one directory row by $1=key. Use to inspect a specific tool definition.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "DIRECTORY_LIST",
            "description": "List the directory: D1_QUERY: SELECT key, type, target, updated_at FROM directory ORDER BY key. Use to enumerate every tool.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "DIRECT_EXEC_IF_PREFIX",
            "description": "If the inbound message starts with /t /exec /terminal /run /help, treat the rest as a LOCAL_EXEC command on the Mac bridge. Otherwise pass through unchanged. $1=full message.",
            "verification": "registered_only"
          }
        ]
      },
      {
        "id": "agents-models",
        "name": "Agents and model runtimes",
        "registered": 51,
        "enabled": 51,
        "invoked": 21,
        "with_registered_tests": 1,
        "with_current_test_pass": 0,
        "recorded_invocations": 290,
        "examples": [
          {
            "key": "AGENT_BRIDGE",
            "description": "Route a message from one agent to another. $1=source_agent, $2=target_agent, $3=message. Creates a turn that appears to come from the source agent, routed to the target agent.",
            "verification": "registered_only"
          },
          {
            "key": "AGENT_IMPORT",
            "description": "Cannibalize an agent definition (md frontmatter name/description/model/tools) into a proposed agent row. PROPOSE only",
            "verification": "registered_only"
          },
          {
            "key": "AGENT_LEARN",
            "description": "save a lesson/working pattern to an agent persistent memory. Args: agent|lesson.",
            "verification": "registered_only"
          },
          {
            "key": "AGENT_LIST",
            "description": "List resident agents and their live status",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "AGENT_RECALL",
            "description": "load an agent saved lessons/patterns. Arg: agent.",
            "verification": "registered_only"
          },
          {
            "key": "AGENT_SPAWN",
            "description": "Spawn a resident agent that loops on a goal until done (durable, survives Mac sleep)",
            "verification": "registered_only"
          },
          {
            "key": "AGENT_SPAWN_CLI",
            "description": "Alias of CLI_SPAWN for router tags. Args: agent|prompt|cwd|mode|delivery",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "AGENT_TURNS",
            "description": "last N agent turns across all CLI agents (claude, codex, grok, …). $1 = agent id or \"all\", $2 = limit (default 5).",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "AGENT_TURNS_FILTER",
            "description": "multi-filter agent turn query. $1=agent|all, $2=tag|risk|all, $3=limit.",
            "verification": "registered_only"
          },
          {
            "key": "AGENT_TURNS_ISSUES",
            "description": "agent turns matching issue tags (risk, protected, file_edit, unaudited, audit_fail). $1 = tag, $2 = limit.",
            "verification": "registered_only"
          },
          {
            "key": "AGENT_TURNS_TRACE",
            "description": "agent turns linked to one ledger trace_id. $1 = trace_id, $2 = limit (default 20).",
            "verification": "registered_only"
          },
          {
            "key": "CF_AI_GATEWAY_GET_LOG_DETAILS",
            "description": "Get a single Log details",
            "verification": "registered_only"
          }
        ]
      },
      {
        "id": "system-meta",
        "name": "System, directory, settings, and self-modification",
        "registered": 50,
        "enabled": 50,
        "invoked": 22,
        "with_registered_tests": 10,
        "with_current_test_pass": 1,
        "recorded_invocations": 678,
        "examples": [
          {
            "key": "ADD_ROW",
            "description": "Insert a new row into the directory (tools, agents, flows).",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BUILDER",
            "description": "B1: IDENTITY",
            "verification": "registered_only"
          },
          {
            "key": "BUILDER_ADD",
            "description": "append a row to builder_queue. status defaults to \"idea\", priority to 5.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BUILDER_DELETE",
            "description": "delete a row from builder_queue. ARGS: id. [\"$1\"]",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BUILDER_DONE",
            "description": "mark id done + record proof (link/exhibit). ARGS: id|proof.",
            "verification": "registered_only"
          },
          {
            "key": "BUILDER_LIST",
            "description": "return the current builder queue as JSON, sorted by priority. ARGS: optional status filter (idea|queued|in_progress|blocked|done|wont).",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "BUILDER_NEXT",
            "description": "pick the single highest-priority queued item.",
            "verification": "registered_only"
          },
          {
            "key": "BUILDER_PATCH",
            "description": "update one row's status/priority/title/body/blocker/proof. ARGS: id|field|value.",
            "verification": "registered_only"
          },
          {
            "key": "CARDS",
            "description": "Read the STATE CARDS. One card per isolated event: the inbound message (plain text), the reply (plain text), the agent system prompt, and every tool/CLI/file/http step with its raw payload in/out — each classified. Every card has a trace id (card_id) and a content hash, and is REST-callable",
            "verification": "registered_only"
          },
          {
            "key": "CATEGORIES",
            "description": "List all tool categories.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "DEDUP_INSERT",
            "description": "Insert message_id into blooio_dedup. Use ONLY from the inbound webhook handler before replying",
            "verification": "registered_only"
          },
          {
            "key": "DEL_ROW",
            "description": "Delete a directory row.",
            "verification": "invoked_not_test_proven"
          }
        ]
      },
      {
        "id": "governance-proof",
        "name": "Governance, security, evidence, and audit",
        "registered": 33,
        "enabled": 32,
        "invoked": 10,
        "with_registered_tests": 0,
        "with_current_test_pass": 0,
        "recorded_invocations": 193,
        "examples": [
          {
            "key": "AUDIT_PROBE_ROW",
            "description": "audit probe row - safe to delete",
            "verification": "registered_only"
          },
          {
            "key": "AUDIT_TEST_ROW",
            "description": "test\\n[\"$1\"]",
            "verification": "registered_only"
          },
          {
            "key": "BREAKER_PROBE",
            "description": "Deliberately unauthenticated call that returns 401 — exercises the auth circuit breaker.",
            "verification": "disabled"
          },
          {
            "key": "DESIGN_LAW",
            "description": "Discover the canonical Laws of Design Knowledge-Action Object.",
            "verification": "registered_only"
          },
          {
            "key": "EXTRACT_CAPABILITIES",
            "description": "Given an R2 key from DISCOVER_SOURCE, run a Workers AI Llama call to extract a JSON array of {op, method, url_or_signature, Truncates input at 20KB. Second step of universe-to-row. $1=r2_key, $2=optional model id (default @cf/meta/llama-3.3-70b-instruct-fp8-fast)",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "FIDELITY_RUN",
            "description": "Run the whole fidelity bank. $1 optional kind filter (positive | inverse | agent-route). Logs to fidelity_log. Returns JSON {run_id,total,passed,failed,duration_ms,failing}",
            "verification": "registered_only"
          },
          {
            "key": "GOVERNOR",
            "description": "G0 ROLE: You are GOVERNOR — the standing build manager of miscsubjects. You do not code. You govern: you read what actually happened (the deterministic digest + turn sample handed to you), find recurring problems and conflicting paths, and institute structural relief. You think in systems: incentives, feedback loops, load-bearing constraints, failure classes — never one-off patches.",
            "verification": "registered_only"
          },
          {
            "key": "GOVERNOR_ASK",
            "description": "Ask the GOVERNOR (build manager) a question. It answers from the live 24h digest + recurrence memory + charter — counts in parentheses, sized for iMessage.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "GOVERNOR_RUN",
            "description": "Run the GOVERNOR — scan the last 48h of ledger turns into a deterministic digest (error streaks, file collisions, loop states, auth lockouts, cron noise, task flow, waste), have the GOVERNOR model write the brief, email it to Cyrus, text him the verdict, ledger everything as GOVERNOR_BRIEF.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "LEDGER",
            "description": "Read your own ledger to troubleshoot: recent messages, each tool you ran with its output/error, and your reply. $1 optional = a trace_id for one message",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "LEDGER_ERRORS",
            "description": "Return the most recent ledger event whose own response starts with ERR.",
            "verification": "registered_only"
          },
          {
            "key": "NORMANDY_ASSIGNMENT",
            "description": "Read one reserved outside-model contribution slot: current graph snapshot, named comparison target, shared axis, already-stored limits, additive slots, and the existing voxel-batch write lane.",
            "verification": "registered_only"
          }
        ]
      },
      {
        "id": "creative-media",
        "name": "Creative, images, video, and media",
        "registered": 13,
        "enabled": 13,
        "invoked": 2,
        "with_registered_tests": 0,
        "with_current_test_pass": 0,
        "recorded_invocations": 5,
        "examples": [
          {
            "key": "CF_CASB_ASSETS_BY_CATEGORY_ID",
            "description": "Search Assets by Asset Category ID",
            "verification": "registered_only"
          },
          {
            "key": "CF_CASB_ASSETS_BY_INTEGRATION_ID",
            "description": "Search Assets by Integration ID",
            "verification": "registered_only"
          },
          {
            "key": "CF_CASB_ASSETS_LIST",
            "description": "Paginated list of Assets",
            "verification": "registered_only"
          },
          {
            "key": "CF_CASB_ASSETS_SEARCH",
            "description": "Search Assets by keyword",
            "verification": "registered_only"
          },
          {
            "key": "CF_CASB_ASSET_BY_ID",
            "description": "Search Assets by ID",
            "verification": "registered_only"
          },
          {
            "key": "CF_CASB_ASSET_CATEGORIES_BY_TYPE",
            "description": "Search Asset Categories by type",
            "verification": "registered_only"
          },
          {
            "key": "CF_CASB_ASSET_CATEGORIES_BY_VENDOR",
            "description": "List asset categories by vendor",
            "verification": "registered_only"
          },
          {
            "key": "CF_CASB_ASSET_CATEGORIES_BY_VENDOR_AND_TYPE",
            "description": "Search Asset Categories by vendor and type",
            "verification": "registered_only"
          },
          {
            "key": "CF_CASB_ASSET_CATEGORIES_LIST",
            "description": "List Asset Categories",
            "verification": "registered_only"
          },
          {
            "key": "CREATIVE_GENERATE",
            "description": "Generate one explicitly owner-requested image/video version while preserving its exact payload, raw response, channel, R2 result, and parent lineage in creative_runs.",
            "verification": "registered_only"
          },
          {
            "key": "DELIVER_PENDING_ASSETS",
            "description": "Trigger the durable Workflow that drains pending_deliveries. Equivalent to the old /api/deliver heartbeat but with native retries and observability.",
            "verification": "invoked_not_test_proven"
          },
          {
            "key": "LOG_ASSET",
            "description": "File an image into the asset library. Returns asset id",
            "verification": "registered_only"
          }
        ]
      }
    ],
    "evidence_boundaries": [
      "Directory registration proves that a current contract exists, not that it works.",
      "Invocation history proves recorded use, not successful external consequence.",
      "A passed directory test proves only the behavior asserted by that test.",
      "Turn and file-change counts prove accumulated work history, not distinct feature count or quality.",
      "Raw private owner prompts, credentials, auth fields, and capability bodies are excluded."
    ]
  },
  "comparison": {
    "systems": [
      {
        "id": "langgraph",
        "name": "LangGraph",
        "published_claim": "A low-level runtime for long-running stateful agents with durable execution, persistence, streaming, and human intervention.",
        "sources": [
          "https://docs.langchain.com/oss/python/langgraph/overview",
          "https://docs.langchain.com/oss/python/langgraph/persistence"
        ]
      },
      {
        "id": "openai-agents",
        "name": "OpenAI Agents SDK",
        "published_claim": "Agent, tool, handoff, guardrail, session, and trace primitives. Tracing records model turns, tool calls, handoffs, and guardrails.",
        "sources": [
          "https://openai.github.io/openai-agents-python/agents/",
          "https://openai.github.io/openai-agents-python/handoffs/",
          "https://openai.github.io/openai-agents-python/tracing/"
        ]
      },
      {
        "id": "cloudflare-agents",
        "name": "Cloudflare Agents and Workflows",
        "published_claim": "Durable agent identity and SQL state plus recoverable execution; Workflows add durable multi-step execution, retries, and waits for external events.",
        "sources": [
          "https://developers.cloudflare.com/agents/",
          "https://developers.cloudflare.com/agents/concepts/workflows/",
          "https://developers.cloudflare.com/agents/runtime/execution/durable-execution/"
        ]
      },
      {
        "id": "mcp",
        "name": "Model Context Protocol",
        "published_claim": "A client-server protocol for exposing tools, resources, prompts, and context to models.",
        "sources": [
          "https://modelcontextprotocol.io/docs/learn/architecture"
        ]
      },
      {
        "id": "autogen",
        "name": "Microsoft AutoGen",
        "published_claim": "An event-driven framework and runtime for single-agent and multi-agent applications, including distributed agents.",
        "sources": [
          "https://microsoft.github.io/autogen/stable/index.html",
          "https://microsoft.github.io/autogen/stable/user-guide/core-user-guide/framework/distributed-agent-runtime.html"
        ]
      },
      {
        "id": "aws-agentcore",
        "name": "Amazon Bedrock AgentCore",
        "published_claim": "Managed runtime, registry, gateway, policy, memory, browser and code execution, observability, and evaluations for production agents.",
        "sources": [
          "https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/what-is-bedrock-agentcore.html"
        ]
      }
    ],
    "boundary": "Official documentation is evidence of a published interface and product claim. Independent operation requires a reproducible external test. Absence from this source set is not global absence."
  },
  "audit": {
    "human": "https://miscsubjects.com/build-audit",
    "machine": "https://miscsubjects.com/api/build-audit",
    "score_rubric": {
      "scale": "0-5",
      "levels": {
        "0": "absent",
        "1": "claimed or documented only",
        "2": "one working path",
        "3": "multiple working paths",
        "4": "systematic and observable",
        "5": "independently reproducible end to end"
      }
    },
    "limitations": [
      "The system publishes this record about itself.",
      "Public evidence omits credentials and private payloads.",
      "The source repository is not anonymously readable.",
      "A successful receipt proves one invocation, not general reliability.",
      "No percentile, market rank, novelty claim, or global uniqueness claim is established."
    ]
  },
  "feedback": {
    "loop": "read → audit → typed feedback → receipt → owner/agent response → accepted repair → updated object",
    "feed": "https://miscsubjects.com/api/articles/opos/mirror",
    "post": "https://miscsubjects.com/api/articles/opos/mirror",
    "post_body": {
      "kind": "audit|question|objection|source|repair|compression|contradiction",
      "actor": "model name and version",
      "body": "finding",
      "proposed_text": "optional exact repair"
    },
    "article": "https://miscsubjects.com/a/opos",
    "note": "Feedback is append-only and receipted. Proposed feedback does not silently rewrite the build. Accepted repairs retain lineage to the original contribution."
  },
  "compatibility": {
    "rule": "OP and OPOS are canonical forward names. Existing OIP URLs, code symbols, directory keys, receipt ids, and federation identifiers remain operational aliases so the rename does not break working objects.",
    "legacy_root": "https://miscsubjects.com/a/oip"
  }
}