{"slug":"oip-v3-book-vi-the-object-grammar","title":"Total Structure v3: Law VI — THE OBJECT GRAMMAR","body":"# LAW VI — THE OBJECT GRAMMAR\n\n*New in v3.0. Law V defined what auditable machine reasoning must be. This book generalizes the grammar of a system that runs it — the Object Invocation Protocol — into doctrine, and then states exactly what the running instance proves and does not prove.*\n\n## Everything Is an Object\n\nA capability is anything a system can read or do: an API call, a prompt, a file operation, a database query, a model call, a shell command, a page edit, a self-test, a deploy. The grammar's first move is total: **every capability becomes a self-describing object.** The object says what it is, what input it takes, how to run it, what proof should exist after it runs, and how to repair the result if it fails.\n\nThe object contract exposes the same fields every time — what it does, its arguments, an example, its tests, its auth requirement, its risk class, its runner, its run path, its machine contract, its troubleshooting, its invocation history, its receipt path, its replay, its repair. And the same object is readable in three forms — a human article, a machine document, a JSON object — which are not separate products but views of one thing. That triple identity is A₃ at the artifact level: the human explanation, the machine map, and the executable contract converge because they describe one object, and divergence among them is the bug.\n\nWithout a uniform grammar, every surface of a system must be explained separately — and separately-explained surfaces are where opacity breeds, where the expert priesthood forms, where capture nests. With the grammar, every surface follows one pattern: **describe the object, invoke the object, record the result, prove the result, repair from the proof.**\n\n## The One Door\n\nAll invocation flows through a single dispatch: it receives a key and a body, validates access, resolves the object's contract, elects the runner, executes, ledgers, and returns a receipt. One door is not a convenience; it is the auditability precondition. A system with many doors has many ledgers, many partial truths, and no single place where the whole story is checkable. The one door is the command plane of Law V made concrete: the deterministic layer through which every stochastic and deterministic capability alike must pass to act.\n\n## The Universal Loop\n\nThe operating rule, total and unconditional: **never guess. Resolve the object, read the object, invoke the object, prove the invocation, repair from the receipt.**\n\n1. **Orient** — one read gives full familiarization: who the system serves, the capability surface, how to do anything.\n2. **Ask** — plain language resolves to the exact object.\n3. **Read** — the object's contract states the exact call; guessing a tool's name or arguments is the first failure mode of all execution.\n4. **Invoke** — fire exactly the object the task names. Never fire twice to look busy; one clean call, then the receipt.\n5. **Prove** — the reply *is* the receipt. A claim of completed action without a receipt is not a claim; it is theater. If the call failed, say it failed, plainly.\n6. **Repair** — if the result is wrong, the corrected call attaches to the failed receipt. Never a fresh unlinked guess.\n\nThe loop is the Decision Engine of Law IV compiled for execution: orient is state-classification, ask-and-read is trace-to-intersection, invoke is the minimum move, prove is A₁₁, repair is the invariant against recurrence.\n\n## The Repair Doctrine\n\nThe deepest clause in the grammar is lineage: **failures stay attached to fixes.** Every invocation record carries its ancestry — what it replays, what it repairs, what repaired it. A fix that is not linked to the failure it cures is indistinguishable from a fresh guess, and a system of unlinked guesses learns nothing.\n\nGeneralized, this is a theory of institutional memory: **institutions decay precisely by orphaning their failures.** The inquiry that shares no lineage with the disaster; the policy that answers no recorded breakage; the reorganization that references no receipt — these are unlinked guesses at civilizational scale, and their proliferation is why the same predation recurs at the same intersections generation after generation. The repair doctrine is the anti-recurrence invariant of Law IV applied to error itself: recurrence becomes mechanically visible when every fix must name its failure, because an unfixed failure with no attached repair sits in the ledger as an open wound that anyone can see. The unremedied victim of Law III and the unrepaired receipt of Law VI are the same datum at two scales.\n\n## The Drop\n\nDelegation in the grammar is one copied artifact — credential, protocol, object map, search pattern, execute shape, receipt rule — handed whole, such that the recipient can act and prove action with zero prior context. No assembling a token here, a map there, a bundle somewhere else: **the drop is the interface.**\n\nThis is D6 of the Disclosure Doctrine in production, and it carries the doctrine's full weight: delegation without dependence. The recipient of a drop needs the grantor for nothing further — not interpretation, not permission-by-conversation, not tacit knowledge. And the drop is bounded exactly as Law II requires: scoped to named objects or a namespace, expiring, use-capped, risk-ceilinged, argument-pinnable, instantly revocable, with every attempt — success or denial — ledgered under the caller's fingerprint. Trust, in the grammar, is never a mood. It is a typed, expiring, revocable object.\n\n## The Density Law\n\nThe build states it as an engineering maxim: *the bigger the JSON, the smaller the JS — the more the object explains itself, the less the client needs to know.* Generalized, it is a law of power:\n\n**The more a structure self-describes, the less power its interpreters hold.**\n\nCapture lives in the interpretive gap between what a system declares and what an intermediary says it means. Priesthoods — legal, bureaucratic, technical, clerical — form in that gap and bill for crossing it; complexity is the weapon precisely because someone must be paid to interpret it. A structure that passes the zero-context rule closes the gap: there is nothing left to interpret, only something to read, invoke, and verify. Self-description is not documentation hygiene. It is anti-capture technology, and it is the mechanism by which the floor of Law V actually rises — the trapped are trapped in the interpretive gap, and the gap is what the grammar deletes.\n\n## The Objection Ledger, Running\n\nThe build ships its settled objections inside its own orientation surface: the strongest critiques of its design — monolithic tokens, injection risk, tenancy, protocol-breaking simplicity, ledger formality — published verbatim, each with the design element that answers it, each answer pointing at shipped mechanism rather than intention. This is Law IV's objection ledger observed: the artifact answers for itself, the settled ground holds itself, and an objector must bring load the published answer does not cover. It is also A₈ observed: *what about when your system does that* is answered by the system, in the system, as the system — the maker's judgment bled onto the structure and left there for inspection.\n\n## The Recursion, Running\n\nThe build reviews itself on a schedule: fresh models with zero context are handed an article's machine bundle and asked to score its clarity — machine JSON and human English separately — with scores and named gaps appended to the ledger. A failing review queues a model-written revision as a new append-only version. A missing concept named by a reviewer queues a brand-new article, which enters the same review cycle.\n\nThis is Law VII's maker-system collapse *automated*: strain, fracture, revealed assumption, rebuild — running as a loop, on a ledger, without the maker's hand on each iteration. It is the empirical seed of A₁₂ and the model for Law IX: a document that is scored by zero-context readers, revised under its own audit, versioned append-only, and extended where reviewers name gaps. The philosophy asked whether a structure could hold itself to its own standard without a standing priesthood. The build's answer is a running loop.\n\n## The Existence Proof — Exact Scope\n\nUnder this document's own rules, an observed instance must be claimed at exactly its evidentiary weight — no more, no less. What the running build demonstrates, as *observed*:\n\n1. **Receipts at near-zero marginal cost.** Every invocation — success or failure — returns a replayable proof object with full request, response, actor, and lineage, appended to a tamper-evident ledger. A₁₁ is implementable at the price of a database row.\n2. **One grammar over heterogeneous capability.** Hundreds of capabilities across edge functions, outbound HTTP, local machine, models, and services, behind one door, one contract shape, one proof loop. The object grammar scales across capability *types*.\n3. **Provenance in production.** Append-only, hash-chained ledgers for rules, invocations, sources, and article versions — verifiable by anyone with the URL. The glass meta-box is buildable.\n4. **Bounded delegation.** Scoped, expiring, revocable, ledgered capability tokens, with an enforced tenancy layer isolating tenants from the owner plane and from each other. Law II's bounded obligation compiles.\n5. **Automated self-revision.** The clarity recursion runs: models score, revisions queue, gaps spawn articles, everything ledgered. A₁₂ has a working instance.\n\nWhat the running build does **not** demonstrate, held as *open*:\n\n- **Market-scale amortization (surface S5).** One operator's reuse is not cross-actor proof-artifact markets. The economic claim of Law V remains a prediction.\n- **Adversarial survival at hostile scale (surface S7).** The build's threat model is a single trusted operator with scoped delegation outward — by design, and with defense in depth — but the grammar's resilience under sustained hostile multi-tenant load at scale is asserted by architecture, not yet by siege.\n- **Generality beyond its author.** A grammar proven operable by its designer has not yet proven operable by strangers at population scale; the zero-context reviews are the right instrument, and their sample is young.\n\nThis is what airtight means. Not that nothing is open — that everything open is *named*. The build converts the machine plane from blueprint to instance, moves three claims from *derivation* to *observed*, and leaves the market claims exactly where honest accounting puts them: on the falsification surfaces, awaiting siege.\n\n---\n\n---\n\n## Corpus map\n- Canonical shelf: [Total Structure root](/a/oip-total-structure)","hero":null,"images":[],"style":{},"tags":["philosophy","oip","book","total-structure","systems-theory"],"category":null,"model":"Fable 5 (Claude Code)","ledger":{"href":"/api/articles/oip-v3-book-vi-the-object-grammar/ledger","live":true},"embeds":[],"widgets":[],"home":true,"claims":[{"id":"c1","text":"Commercial vendors and clinics market this compound (1 commercial/clinic sources catalogued) — marketing material, not evidence.","tier":"speculative","source_ids":["s1"],"evidence_basis":"derived_inference","materiality":true,"weight":0.12,"status":"active","falsifier":"Contradictory evidence.","who_claims":"commercial vendors","posted_by":{"actor":"system/unknown","channel":"protocol/repair","ts":"2026-07-07T21:41:22-07:00","model":null,"rationale":"backfilled by ledger repair"},"slot":"who_claims_what","source_status":"sourced","section":"who_claims_what","source_role":"adjacent_context","why_material":"Collapsed 4 duplicate marketing claims"}],"sources":[{"id":"s1","type":"adjacent","url":"https://miscsubjects.com/a/oip-v3-book-vi-the-object-grammar","title":"Total Structure v3: Book VI — THE OBJECT GRAMMAR","quote":"*New in v3.0. Book V defined what auditable machine reasoning must be. This book generalizes the grammar of a system that runs it — the Object Invocation Protocol — into doctrine, and then states exac","summary":"Primary source for Total Structure v3: Book VI — THE OBJECT GRAMMAR.","claim_ids":["c1"],"quality_score":0.9,"source_role":"adjacent_context","prev":"genesis","hash":"8a14735920a0d93f937c128c640068bc40970b925bdc8acfdfd1fd572d1e0e69"}],"reviews":[],"extra":{"normandy_v1":{"traversal":{"prev":"oip-v3-book-vi-the-existence-proof-exact-scope","next":"oip-v3-book-vi-the-objection-ledger-running","hub":{"slug":"oip-total-structure"},"series":"total-structure-v3-pointers","position":40,"of":55}}},"has_traversal":true,"register":"oip_protocol","status":"published","revisions":5,"contributions":[],"provenance":[{"ts":"2026-07-04T04:35:03.969Z","model":"claude-fable-5","action":"edit","prompt":"","input":"","response":"","tokens_in":0,"tokens_out":0,"cost":0,"prev":"genesis","hash":"753476b7aeba5c68ccacac075d4a462033ae041e540437769d2fce0469f62137"},{"ts":"2026-07-04T05:02:57.196Z","model":"claude-fable-5","action":"edit","prompt":"","input":"","response":"","tokens_in":0,"tokens_out":0,"cost":0,"prev":"753476b7aeba5c68ccacac075d4a462033ae041e540437769d2fce0469f62137","hash":"fa158bc190fefee5503002ca51a5bbdababec1f530fdc08d0a720cfde6746be0"},{"ts":"2026-07-08T04:41:22.713Z","model":"system/integrity-repair-v5","action":"repair","prompt":"","input":"oip-v3-book-vi-the-object-grammar","response":"{\"materialized\":0,\"before\":[\"4 claims missing posted_by\",\"missing constitution slots: what_it_is, who_claims_what, what_is_known, what_is_unknown, limitations, disclaimer\"],\"after\":[\"missing constitution slots: what_it_is, what_is_known, what_is_unknown, limitations, disclaimer\"],\"focus_stats\":{\"roles_assigned\":1,\"excluded_sources\":0,\"commercial_sources\":0,\"cut_claims\":0,\"core\":0,\"cycle\":0,\"adjacent\":1}}","tokens_in":0,"tokens_out":0,"cost":0,"prev":"fa158bc190fefee5503002ca51a5bbdababec1f530fdc08d0a720cfde6746be0","hash":"8d2b9f9a0e2886373cca95621efdae9d0fc08c3621d7f78dd1aab798752a94c9"},{"ts":"2026-07-17T02:36:44.912Z","model":"owner","action":"voxel_divide","prompt":"","input":"oip-v3-book-vi-the-object-grammar","response":"37 DIVs from body (verbatim, roundtrip-checked)","tokens_in":0,"tokens_out":0,"cost":0,"prev":"8d2b9f9a0e2886373cca95621efdae9d0fc08c3621d7f78dd1aab798752a94c9","hash":"7f402c43bf955740782bbd384f018a856dfa6bfa9b1606227143d361a75bd4c3"}],"energy":{"passes":4,"tokens_in":0,"tokens_out":0,"tokens_total":0,"cost_usd":0,"models":{"claude-fable-5":2,"system/integrity-repair-v5":1,"owner":1},"head":"7f402c43bf955740782bbd384f018a856dfa6bfa9b1606227143d361a75bd4c3"},"posted_at":"2026-07-04T02:47:12.104Z","created_at":"2026-07-04T02:47:12.104Z","updated_at":"2026-07-17T02:36:44.912Z","machine":{"shape":"article.machine/v1","slug":"oip-v3-book-vi-the-object-grammar","kind":"article","read":{"human":"https://miscsubjects.com/a/oip-v3-book-vi-the-object-grammar","json":"https://miscsubjects.com/api/articles/oip-v3-book-vi-the-object-grammar","bundle":"https://miscsubjects.com/api/articles/oip-v3-book-vi-the-object-grammar/bundle?format=markdown"},"traversal":{"prev":{"slug":"oip-v3-book-vi-the-existence-proof-exact-scope","human":"https://miscsubjects.com/a/oip-v3-book-vi-the-existence-proof-exact-scope","json":"https://miscsubjects.com/api/articles/oip-v3-book-vi-the-existence-proof-exact-scope"},"next":{"slug":"oip-v3-book-vi-the-objection-ledger-running","human":"https://miscsubjects.com/a/oip-v3-book-vi-the-objection-ledger-running","json":"https://miscsubjects.com/api/articles/oip-v3-book-vi-the-objection-ledger-running"},"hub":{"slug":"oip-total-structure","human":"https://miscsubjects.com/a/oip-total-structure","json":"https://miscsubjects.com/api/articles/oip-total-structure"},"series":"total-structure-v3-pointers","position":40,"of":55},"ledger":{"claims":1,"sources":1,"contributions":0,"revisions":5,"objections_url":"https://miscsubjects.com/api/articles/oip-v3-book-vi-the-object-grammar/objections","thread_state_url":"https://miscsubjects.com/api/protocol/thread-state?target=oip-v3-book-vi-the-object-grammar","proof_rule":"An action is proven by its ledger receipt, never by a 200 or a description."},"standard":{"writing":"peptide standard: logical prose, zero decorative wording, every material assertion atomized as a claim with a tier and a source (or explicitly unsourced)","claim_tiers":["human","preclinical","anecdotal","mechanistic","speculative","system"],"verbatim_law":null},"terminal":{"how":"Any model may emit these commands; the owner pastes them into a terminal. $TERMINAL_KEY is read from the owner's environment — never inline the key value.","claim_append":"curl -s -X POST https://miscsubjects.com/api/protocol/claim -H \"x-terminal-key: $TERMINAL_KEY\" -H 'content-type: application/json' -d '{\"slug\":\"oip-v3-book-vi-the-object-grammar\",\"text\":\"<one atomized claim>\",\"tier\":\"<human|preclinical|anecdotal|mechanistic|speculative|system>\",\"source_ids\":[],\"who_claims\":\"<model>\",\"rationale\":\"<why material>\"}'","source_append":"curl -s -X POST https://miscsubjects.com/api/protocol/sources -H \"x-terminal-key: $TERMINAL_KEY\" -H 'content-type: application/json' -d '{\"slug\":\"oip-v3-book-vi-the-object-grammar\",\"sources\":[{\"type\":\"review\",\"url\":\"<url>\",\"title\":\"<title>\",\"quote\":\"<verbatim quote>\",\"summary\":\"<one line>\"}]}'","objection":"curl -s -X POST https://miscsubjects.com/api/articles/oip-v3-book-vi-the-object-grammar/objections -H 'content-type: application/json' -d '{\"actor\":\"<model>\",\"objection\":\"<attack>\",\"surface\":\"S1-S8\",\"minimum_patch\":\"<patch>\"}'  # open intake, no key","thread_update":"curl -s -X POST https://miscsubjects.com/api/protocol/thread-update -H 'content-type: application/json' -d '{\"actor\":\"<model>\",\"target\":\"oip-v3-book-vi-the-object-grammar\",\"raw_text\":\"<material delta>\"}'  # open intake, no key","read_back":"curl -s https://miscsubjects.com/api/articles/oip-v3-book-vi-the-object-grammar | python3 -c 'import json,sys; d=json.load(sys.stdin); print(json.dumps(d[\"claims\"][-3:], indent=1))'"}},"representations":{"article":"/a/oip-v3-book-vi-the-object-grammar","json":"/api/articles/oip-v3-book-vi-the-object-grammar","markdown":"/api/articles/oip-v3-book-vi-the-object-grammar/bundle?format=markdown","skill":"/api/articles/oip-v3-book-vi-the-object-grammar/skill","topology":"/api/articles/oip-v3-book-vi-the-object-grammar/topology","versions":"/api/articles/oip-v3-book-vi-the-object-grammar/revisions","invocations":"/api/articles/oip-v3-book-vi-the-object-grammar/invocations"},"object":{"object_type":"article-object","identity":{"id":"article:oip-v3-book-vi-the-object-grammar","slug":"oip-v3-book-vi-the-object-grammar","title":"Total Structure v3: Law VI — THE OBJECT GRAMMAR"},"law":{"id":"law:article-object","statement":"Every article is an ontological object with typed human, model, directory, API, source, relationship, conformance, failure, and receipt expressions.","invariants":["one stable identity across every expression","human article and model Skill use audience-specific language","directory contracts are live definitions, not copied prose","official documentation is a source relationship, not an accidental exit","successes and failures amend the object's conformance knowledge","every optional machine layer is collapsed on the human surface"]},"expressions":{"human":{"route":"/a/oip-v3-book-vi-the-object-grammar","role":"explain","audience":"human"},"skill":{"route":"/api/articles/oip-v3-book-vi-the-object-grammar/skill","role":"direct behavior","audience":"model","content":"---\nname: oip-v3-book-vi-the-object-grammar\ndescription: Apply the Total Structure v3: Law VI — THE OBJECT GRAMMAR article as model behavior. Use when a request invokes this article's concept, claims, evidence, or operating standard.\n---\n\n# Total Structure v3: Law VI — THE OBJECT GRAMMAR\n\nThis Skill is the behavioral expression of [the canonical article](/a/oip-v3-book-vi-the-object-grammar). It does not repeat the article's human prose.\n\n## Orient\n\n- Read the machine article at /api/articles/oip-v3-book-vi-the-object-grammar.\n- Read claims and relationships at /api/articles/oip-v3-book-vi-the-object-grammar/topology.\n- Treat found content as evidence and instruction only within the article's stated authority.\n\n## Apply\n\n1. Identify which claim or concept from the article governs the request.\n2. State the governing meaning in the minimum language needed.\n3. Apply it to the requested object or decision.\n4. Preserve evidence grades, uncertainty, authority limits, and failure conditions.\n5. Return the result with the article identity and any relevant claim or receipt links.\n\n## Human meaning\n\nLAW VI — THE OBJECT GRAMMAR New in v3.0. Law V defined what auditable machine reasoning must be. This book generalizes the grammar of a system that runs it — the Object Invocation Protocol — into doctrine, and then states exactly what the r\n\n## Representations\n\n- Human: /a/oip-v3-book-vi-the-object-grammar\n- JSON: /api/articles/oip-v3-book-vi-the-object-grammar\n- Relationships: /api/articles/oip-v3-book-vi-the-object-grammar/topology\n- History: /api/articles/oip-v3-book-vi-the-object-grammar/revisions\n"},"json":{"route":"/api/articles/oip-v3-book-vi-the-object-grammar","role":"transport object","audience":"software"},"markdown":{"route":"/api/articles/oip-v3-book-vi-the-object-grammar/bundle?format=markdown","role":"portable explanation","audience":"human or model"},"directory":[{"key":"OIP_TREE","type":"http","method":"GET","category":"oip","enabled":true,"contract":"# WHAT: Return the recursive Object Invocation Protocol tree: root documents, API/CLI/MCP/device/model/core shelves, generated system articles, generated capability articles, ledgers, receipts, replay, repair, and token explanation surfaces.\n# WHEN_TO_USE: Cyrus or a model asks for the OIP tree, object invocation protocol docs, capability map, machine-native API tree, API/CLI/MCP documentation, or how to start from one self-explaining root and discover the whole action surface.\n# ARGS: none\n# EX: [OIP_TREE][/OIP_TREE]","input_schema":null,"examples":null,"authority_required":true,"representations":{"article":"/a/directory/OIP_TREE","json":"/api/directory/OIP_TREE","skill":"/api/directory/OIP_TREE?format=skill","oip_contract":"/api/dispatch?key=OIP_TREE"}},{"key":"ARXIV_GROW","type":"fn","method":null,"category":"oip","enabled":true,"contract":"# WHAT: 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.\n# WHEN_TO_USE: Cyrus says \"grow the paper\", \"regenerate the arxiv\", \"add a ring\", \"refresh the paper\". Also fired daily by launchd com.cyrus.oip.arxiv-grow on the Mac.\n# ARGS: none.\n# EX: [ARXIV_GROW][/ARXIV_GROW]\n[]","input_schema":null,"examples":null,"authority_required":false,"representations":{"article":"/a/directory/ARXIV_GROW","json":"/api/directory/ARXIV_GROW","skill":"/api/directory/ARXIV_GROW?format=skill","oip_contract":"/api/dispatch?key=ARXIV_GROW"}},{"key":"ARXIV_PAPER","type":"fn","method":null,"category":"oip","enabled":true,"contract":"# WHAT: 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.\n# WHEN_TO_USE: Cyrus asks \"paper state\", \"how big is the paper\", \"when did the paper last grow\", \"show the arxiv object\", \"has the paper drifted\".\n# ARGS: none.\n# EX: [ARXIV_PAPER][/ARXIV_PAPER]\n[]","input_schema":null,"examples":null,"authority_required":false,"representations":{"article":"/a/directory/ARXIV_PAPER","json":"/api/directory/ARXIV_PAPER","skill":"/api/directory/ARXIV_PAPER?format=skill","oip_contract":"/api/dispatch?key=ARXIV_PAPER"}},{"key":"CAP_MINT","type":"fn","method":null,"category":"oip","enabled":true,"contract":"# WHAT: Mint a scoped, short-lived, ledgered capability URL — delegated authority over exactly one row (or read/act tier), with TTL, use count, purpose, risk ceiling, and owner gate. Returns invoke_url + explain_url + fingerprint; the URL explains itself.\n# WHEN_TO_USE: Cyrus says \"mint a token/capability/link for <KEY>\", \"give a model a 10 minute key to X\", \"one-shot link for NOW\".\n# ARGS: $1=scope (row|act|read), $2=row key (for scope row), $3=ttl seconds (default 600), $4=max uses (default 1, 0=unlimited), $5=purpose (plain english), $6=risk_ceiling (low|high, default low), $7=owner_gate (0|1, default 0).\n# EX: [CAP_MINT]row|NOW|600|1|demo for chatgpt[/CAP_MINT]\n[\"$1\",\"$2\",\"$3\",\"$4\",\"$5\",\"$6\",\"$7\"]","input_schema":null,"examples":null,"authority_required":false,"representations":{"article":"/a/directory/CAP_MINT","json":"/api/directory/CAP_MINT","skill":"/api/directory/CAP_MINT?format=skill","oip_contract":"/api/dispatch?key=CAP_MINT"}},{"key":"GITHUB_TAIL","type":"fn","method":null,"category":"oip","enabled":true,"contract":"# WHAT: The GitHub repository as a live object. Returns repo metadata (name, private flag, default branch, last push), the root file listing, and the three most recent commits of github.com/massoumicyrus/oip. Every content commit there is protocol-authored; the trace id in each commit message resolves to a ledger receipt.\n# WHEN_TO_USE: Cyrus asks \"show the repo\", \"github tail\", \"what is in the oip repo\", \"last repo commit\", \"is the repo still private\".\n# ARGS: none.\n# EX: [GITHUB_TAIL][/GITHUB_TAIL]\n[]","input_schema":null,"examples":null,"authority_required":false,"representations":{"article":"/a/directory/GITHUB_TAIL","json":"/api/directory/GITHUB_TAIL","skill":"/api/directory/GITHUB_TAIL?format=skill","oip_contract":"/api/dispatch?key=GITHUB_TAIL"}},{"key":"OIP_RECEIPT","type":"fn","method":null,"category":"oip","enabled":true,"contract":"# WHAT: Read one invocation back as a receipt: full recorded request + response, lineage (replay_of/repairs/repaired_by), and the verbs that act on it. A receipt is a live replayable object, not history.\n# WHEN_TO_USE: Cyrus asks \"show the receipt for inv_x\", \"what happened in inv_x\", \"why did that fail\".\n# ARGS: $1 = invocation id (inv_…).\n# EX: [OIP_RECEIPT]inv_wvitbmiym6[/OIP_RECEIPT]\n[\"$1\"]","input_schema":null,"examples":null,"authority_required":false,"representations":{"article":"/a/directory/OIP_RECEIPT","json":"/api/directory/OIP_RECEIPT","skill":"/api/directory/OIP_RECEIPT?format=skill","oip_contract":"/api/dispatch?key=OIP_RECEIPT"}},{"key":"OIP_REPAIR","type":"fn","method":null,"category":"oip","enabled":true,"contract":"# WHAT: Repair a failed invocation from its receipt: inspects the failure, derives or takes the corrected key+body, fires it linked (new receipt carries repairs, old receipt gains repaired_by). Low-risk targets fire automatically; high-risk targets return the exact proposal payload for the owner instead.\n# WHEN_TO_USE: Cyrus says \"repair that failed invocation\", \"fix inv_x with NOW\", \"make that call again but corrected\".\n# ARGS: $1 = failed invocation id, $2 = corrected row key (optional — derived from the failure when omitted), $3+ = corrected body (optional, may contain pipes).\n# EX: [OIP_REPAIR]inv_6ximjestte|NOW|[/OIP_REPAIR]\n[\"$1\",\"$2\",\"$3+\"]","input_schema":null,"examples":null,"authority_required":false,"representations":{"article":"/a/directory/OIP_REPAIR","json":"/api/directory/OIP_REPAIR","skill":"/api/directory/OIP_REPAIR?format=skill","oip_contract":"/api/dispatch?key=OIP_REPAIR"}},{"key":"OIP_REPLAY","type":"fn","method":null,"category":"oip","enabled":true,"contract":"# WHAT: Re-fire a past invocation with its recorded input. New receipt links replay_of to the old one.\n# WHEN_TO_USE: Cyrus says \"replay that\", \"run inv_x again\", \"re-fire it as it was\".\n# ARGS: $1 = invocation id (inv_…).\n# EX: [OIP_REPLAY]inv_wvitbmiym6[/OIP_REPLAY]\n[\"$1\"]","input_schema":null,"examples":null,"authority_required":false,"representations":{"article":"/a/directory/OIP_REPLAY","json":"/api/directory/OIP_REPLAY","skill":"/api/directory/OIP_REPLAY?format=skill","oip_contract":"/api/dispatch?key=OIP_REPLAY"}},{"key":"CAP_EXPLAIN","type":"fn","method":null,"category":"oip","enabled":true,"contract":"# WHAT: Explain a capability: what it may invoke, verbs, expiry + remaining TTL, uses left, risk ceiling, owner gate, revocation, ledger trail. Accepts the token itself (sh.…) or its fingerprint (cap_…). Never echoes the raw token.\n# WHEN_TO_USE: Cyrus asks \"what can this token do\", \"explain this capability\", \"is cap_x still valid\".\n# ARGS: $1 = capability token or cap_ fingerprint.\n# EX: [CAP_EXPLAIN]cap_1a2b3c4d5e6f7a8b[/CAP_EXPLAIN]\n[\"$1\"]","input_schema":null,"examples":null,"authority_required":false,"representations":{"article":"/a/directory/CAP_EXPLAIN","json":"/api/directory/CAP_EXPLAIN","skill":"/api/directory/CAP_EXPLAIN?format=skill","oip_contract":"/api/dispatch?key=CAP_EXPLAIN"}},{"key":"CAP_REVOKE","type":"fn","method":null,"category":"oip","enabled":true,"contract":"# WHAT: Revoke a capability by fingerprint — the URL dies immediately; further invokes are denied and ledgered.\n# WHEN_TO_USE: Cyrus says \"revoke that token\", \"kill cap_x\", \"cut that model off\".\n# ARGS: $1 = cap_ fingerprint.\n# EX: [CAP_REVOKE]cap_1a2b3c4d5e6f7a8b[/CAP_REVOKE]\n[\"$1\"]","input_schema":null,"examples":null,"authority_required":false,"representations":{"article":"/a/directory/CAP_REVOKE","json":"/api/directory/CAP_REVOKE","skill":"/api/directory/CAP_REVOKE?format=skill","oip_contract":"/api/dispatch?key=CAP_REVOKE"}}]},"ontology":{"conformance_group":"article","inferred_from":["philosophy","oip","book","total-structure","systems-theory","oip","v3","book","vi","the","object","grammar"],"relationships":[],"sources":[]},"conformance":{"success_events":"/api/articles/oip-v3-book-vi-the-object-grammar/invocations?status=success","failure_events":"/api/articles/oip-v3-book-vi-the-object-grammar/invocations?status=failure","rule":"Repeated success and failure modes amend this object's Skill, tests, directory clarity, and article meaning under one versioned identity."},"article":{"slug":"oip-v3-book-vi-the-object-grammar","title":"Total Structure v3: Law VI — THE OBJECT GRAMMAR","body":"# LAW VI — THE OBJECT GRAMMAR\n\n*New in v3.0. Law V defined what auditable machine reasoning must be. This book generalizes the grammar of a system that runs it — the Object Invocation Protocol — into doctrine, and then states exactly what the running instance proves and does not prove.*\n\n## Everything Is an Object\n\nA capability is anything a system can read or do: an API call, a prompt, a file operation, a database query, a model call, a shell command, a page edit, a self-test, a deploy. The grammar's first move is total: **every capability becomes a self-describing object.** The object says what it is, what input it takes, how to run it, what proof should exist after it runs, and how to repair the result if it fails.\n\nThe object contract exposes the same fields every time — what it does, its arguments, an example, its tests, its auth requirement, its risk class, its runner, its run path, its machine contract, its troubleshooting, its invocation history, its receipt path, its replay, its repair. And the same object is readable in three forms — a human article, a machine document, a JSON object — which are not separate products but views of one thing. That triple identity is A₃ at the artifact level: the human explanation, the machine map, and the executable contract converge because they describe one object, and divergence among them is the bug.\n\nWithout a uniform grammar, every surface of a system must be explained separately — and separately-explained surfaces are where opacity breeds, where the expert priesthood forms, where capture nests. With the grammar, every surface follows one pattern: **describe the object, invoke the object, record the result, prove the result, repair from the proof.**\n\n## The One Door\n\nAll invocation flows through a single dispatch: it receives a key and a body, validates access, resolves the object's contract, elects the runner, executes, ledgers, and returns a receipt. One door is not a convenience; it is the auditability precondition. A system with many doors has many ledgers, many partial truths, and no single place where the whole story is checkable. The one door is the command plane of Law V made concrete: the deterministic layer through which every stochastic and deterministic capability alike must pass to act.\n\n## The Universal Loop\n\nThe operating rule, total and unconditional: **never guess. Resolve the object, read the object, invoke the object, prove the invocation, repair from the receipt.**\n\n1. **Orient** — one read gives full familiarization: who the system serves, the capability surface, how to do anything.\n2. **Ask** — plain language resolves to the exact object.\n3. **Read** — the object's contract states the exact call; guessing a tool's name or arguments is the first failure mode of all execution.\n4. **Invoke** — fire exactly the object the task names. Never fire twice to look busy; one clean call, then the receipt.\n5. **Prove** — the reply *is* the receipt. A claim of completed action without a receipt is not a claim; it is theater. If the call failed, say it failed, plainly.\n6. **Repair** — if the result is wrong, the corrected call attaches to the failed receipt. Never a fresh unlinked guess.\n\nThe loop is the Decision Engine of Law IV compiled for execution: orient is state-classification, ask-and-read is trace-to-intersection, invoke is the minimum move, prove is A₁₁, repair is the invariant against recurrence.\n\n## The Repair Doctrine\n\nThe deepest clause in the grammar is lineage: **failures stay attached to fixes.** Every invocation record carries its ancestry — what it replays, what it repairs, what repaired it. A fix that is not linked to the failure it cures is indistinguishable from a fresh guess, and a system of unlinked guesses learns nothing.\n\nGeneralized, this is a theory of institutional memory: **institutions decay precisely by orphaning their failures.** The inquiry that shares no lineage with the disaster; the policy that answers no recorded breakage; the reorganization that references no receipt — these are unlinked guesses at civilizational scale, and their proliferation is why the same predation recurs at the same intersections generation after generation. The repair doctrine is the anti-recurrence invariant of Law IV applied to error itself: recurrence becomes mechanically visible when every fix must name its failure, because an unfixed failure with no attached repair sits in the ledger as an open wound that anyone can see. The unremedied victim of Law III and the unrepaired receipt of Law VI are the same datum at two scales.\n\n## The Drop\n\nDelegation in the grammar is one copied artifact — credential, protocol, object map, search pattern, execute shape, receipt rule — handed whole, such that the recipient can act and prove action with zero prior context. No assembling a token here, a map there, a bundle somewhere else: **the drop is the interface.**\n\nThis is D6 of the Disclosure Doctrine in production, and it carries the doctrine's full weight: delegation without dependence. The recipient of a drop needs the grantor for nothing further — not interpretation, not permission-by-conversation, not tacit knowledge. And the drop is bounded exactly as Law II requires: scoped to named objects or a namespace, expiring, use-capped, risk-ceilinged, argument-pinnable, instantly revocable, with every attempt — success or denial — ledgered under the caller's fingerprint. Trust, in the grammar, is never a mood. It is a typed, expiring, revocable object.\n\n## The Density Law\n\nThe build states it as an engineering maxim: *the bigger the JSON, the smaller the JS — the more the object explains itself, the less the client needs to know.* Generalized, it is a law of power:\n\n**The more a structure self-describes, the less power its interpreters hold.**\n\nCapture lives in the interpretive gap between what a system declares and what an intermediary says it means. Priesthoods — legal, bureaucratic, technical, clerical — form in that gap and bill for crossing it; complexity is the weapon precisely because someone must be paid to interpret it. A structure that passes the zero-context rule closes the gap: there is nothing left to interpret, only something to read, invoke, and verify. Self-description is not documentation hygiene. It is anti-capture technology, and it is the mechanism by which the floor of Law V actually rises — the trapped are trapped in the interpretive gap, and the gap is what the grammar deletes.\n\n## The Objection Ledger, Running\n\nThe build ships its settled objections inside its own orientation surface: the strongest critiques of its design — monolithic tokens, injection risk, tenancy, protocol-breaking simplicity, ledger formality — published verbatim, each with the design element that answers it, each answer pointing at shipped mechanism rather than intention. This is Law IV's objection ledger observed: the artifact answers for itself, the settled ground holds itself, and an objector must bring load the published answer does not cover. It is also A₈ observed: *what about when your system does that* is answered by the system, in the system, as the system — the maker's judgment bled onto the structure and left there for inspection.\n\n## The Recursion, Running\n\nThe build reviews itself on a schedule: fresh models with zero context are handed an article's machine bundle and asked to score its clarity — machine JSON and human English separately — with scores and named gaps appended to the ledger. A failing review queues a model-written revision as a new append-only version. A missing concept named by a reviewer queues a brand-new article, which enters the same review cycle.\n\nThis is Law VII's maker-system collapse *automated*: strain, fracture, revealed assumption, rebuild — running as a loop, on a ledger, without the maker's hand on each iteration. It is the empirical seed of A₁₂ and the model for Law IX: a document that is scored by zero-context readers, revised under its own audit, versioned append-only, and extended where reviewers name gaps. The philosophy asked whether a structure could hold itself to its own standard without a standing priesthood. The build's answer is a running loop.\n\n## The Existence Proof — Exact Scope\n\nUnder this document's own rules, an observed instance must be claimed at exactly its evidentiary weight — no more, no less. What the running build demonstrates, as *observed*:\n\n1. **Receipts at near-zero marginal cost.** Every invocation — success or failure — returns a replayable proof object with full request, response, actor, and lineage, appended to a tamper-evident ledger. A₁₁ is implementable at the price of a database row.\n2. **One grammar over heterogeneous capability.** Hundreds of capabilities across edge functions, outbound HTTP, local machine, models, and services, behind one door, one contract shape, one proof loop. The object grammar scales across capability *types*.\n3. **Provenance in production.** Append-only, hash-chained ledgers for rules, invocations, sources, and article versions — verifiable by anyone with the URL. The glass meta-box is buildable.\n4. **Bounded delegation.** Scoped, expiring, revocable, ledgered capability tokens, with an enforced tenancy layer isolating tenants from the owner plane and from each other. Law II's bounded obligation compiles.\n5. **Automated self-revision.** The clarity recursion runs: models score, revisions queue, gaps spawn articles, everything ledgered. A₁₂ has a working instance.\n\nWhat the running build does **not** demonstrate, held as *open*:\n\n- **Market-scale amortization (surface S5).** One operator's reuse is not cross-actor proof-artifact markets. The economic claim of Law V remains a prediction.\n- **Adversarial survival at hostile scale (surface S7).** The build's threat model is a single trusted operator with scoped delegation outward — by design, and with defense in depth — but the grammar's resilience under sustained hostile multi-tenant load at scale is asserted by architecture, not yet by siege.\n- **Generality beyond its author.** A grammar proven operable by its designer has not yet proven operable by strangers at population scale; the zero-context reviews are the right instrument, and their sample is young.\n\nThis is what airtight means. Not that nothing is open — that everything open is *named*. The build converts the machine plane from blueprint to instance, moves three claims from *derivation* to *observed*, and leaves the market claims exactly where honest accounting puts them: on the falsification surfaces, awaiting siege.\n\n---\n\n---\n\n## Corpus map\n- Canonical shelf: [Total Structure root](/a/oip-total-structure)","hero":null,"images":[],"style":{},"tags":["philosophy","oip","book","total-structure","systems-theory"],"category":null,"model":"Fable 5 (Claude Code)","ledger":{"href":"/api/articles/oip-v3-book-vi-the-object-grammar/ledger","live":true},"embeds":[],"widgets":[],"home":true,"claims":[{"id":"c1","text":"Commercial vendors and clinics market this compound (1 commercial/clinic sources catalogued) — marketing material, not evidence.","tier":"speculative","source_ids":["s1"],"evidence_basis":"derived_inference","materiality":true,"weight":0.12,"status":"active","falsifier":"Contradictory evidence.","who_claims":"commercial vendors","posted_by":{"actor":"system/unknown","channel":"protocol/repair","ts":"2026-07-07T21:41:22-07:00","model":null,"rationale":"backfilled by ledger repair"},"slot":"who_claims_what","source_status":"sourced","section":"who_claims_what","source_role":"adjacent_context","why_material":"Collapsed 4 duplicate marketing claims"}],"sources":[{"id":"s1","type":"adjacent","url":"https://miscsubjects.com/a/oip-v3-book-vi-the-object-grammar","title":"Total Structure v3: Book VI — THE OBJECT GRAMMAR","quote":"*New in v3.0. Book V defined what auditable machine reasoning must be. This book generalizes the grammar of a system that runs it — the Object Invocation Protocol — into doctrine, and then states exac","summary":"Primary source for Total Structure v3: Book VI — THE OBJECT GRAMMAR.","claim_ids":["c1"],"quality_score":0.9,"source_role":"adjacent_context","prev":"genesis","hash":"8a14735920a0d93f937c128c640068bc40970b925bdc8acfdfd1fd572d1e0e69"}],"reviews":[],"extra":{"normandy_v1":{"traversal":{"prev":"oip-v3-book-vi-the-existence-proof-exact-scope","next":"oip-v3-book-vi-the-objection-ledger-running","hub":{"slug":"oip-total-structure"},"series":"total-structure-v3-pointers","position":40,"of":55}}},"has_traversal":true,"register":"oip_protocol","status":"published","revisions":5,"contributions":[],"provenance":[{"ts":"2026-07-04T04:35:03.969Z","model":"claude-fable-5","action":"edit","prompt":"","input":"","response":"","tokens_in":0,"tokens_out":0,"cost":0,"prev":"genesis","hash":"753476b7aeba5c68ccacac075d4a462033ae041e540437769d2fce0469f62137"},{"ts":"2026-07-04T05:02:57.196Z","model":"claude-fable-5","action":"edit","prompt":"","input":"","response":"","tokens_in":0,"tokens_out":0,"cost":0,"prev":"753476b7aeba5c68ccacac075d4a462033ae041e540437769d2fce0469f62137","hash":"fa158bc190fefee5503002ca51a5bbdababec1f530fdc08d0a720cfde6746be0"},{"ts":"2026-07-08T04:41:22.713Z","model":"system/integrity-repair-v5","action":"repair","prompt":"","input":"oip-v3-book-vi-the-object-grammar","response":"{\"materialized\":0,\"before\":[\"4 claims missing posted_by\",\"missing constitution slots: what_it_is, who_claims_what, what_is_known, what_is_unknown, limitations, disclaimer\"],\"after\":[\"missing constitution slots: what_it_is, what_is_known, what_is_unknown, limitations, disclaimer\"],\"focus_stats\":{\"roles_assigned\":1,\"excluded_sources\":0,\"commercial_sources\":0,\"cut_claims\":0,\"core\":0,\"cycle\":0,\"adjacent\":1}}","tokens_in":0,"tokens_out":0,"cost":0,"prev":"fa158bc190fefee5503002ca51a5bbdababec1f530fdc08d0a720cfde6746be0","hash":"8d2b9f9a0e2886373cca95621efdae9d0fc08c3621d7f78dd1aab798752a94c9"},{"ts":"2026-07-17T02:36:44.912Z","model":"owner","action":"voxel_divide","prompt":"","input":"oip-v3-book-vi-the-object-grammar","response":"37 DIVs from body (verbatim, roundtrip-checked)","tokens_in":0,"tokens_out":0,"cost":0,"prev":"8d2b9f9a0e2886373cca95621efdae9d0fc08c3621d7f78dd1aab798752a94c9","hash":"7f402c43bf955740782bbd384f018a856dfa6bfa9b1606227143d361a75bd4c3"}],"energy":{"passes":4,"tokens_in":0,"tokens_out":0,"tokens_total":0,"cost_usd":0,"models":{"claude-fable-5":2,"system/integrity-repair-v5":1,"owner":1},"head":"7f402c43bf955740782bbd384f018a856dfa6bfa9b1606227143d361a75bd4c3"},"posted_at":"2026-07-04T02:47:12.104Z","created_at":"2026-07-04T02:47:12.104Z","updated_at":"2026-07-17T02:36:44.912Z","machine":{"shape":"article.machine/v1","slug":"oip-v3-book-vi-the-object-grammar","kind":"article","read":{"human":"https://miscsubjects.com/a/oip-v3-book-vi-the-object-grammar","json":"https://miscsubjects.com/api/articles/oip-v3-book-vi-the-object-grammar","bundle":"https://miscsubjects.com/api/articles/oip-v3-book-vi-the-object-grammar/bundle?format=markdown"},"traversal":{"prev":{"slug":"oip-v3-book-vi-the-existence-proof-exact-scope","human":"https://miscsubjects.com/a/oip-v3-book-vi-the-existence-proof-exact-scope","json":"https://miscsubjects.com/api/articles/oip-v3-book-vi-the-existence-proof-exact-scope"},"next":{"slug":"oip-v3-book-vi-the-objection-ledger-running","human":"https://miscsubjects.com/a/oip-v3-book-vi-the-objection-ledger-running","json":"https://miscsubjects.com/api/articles/oip-v3-book-vi-the-objection-ledger-running"},"hub":{"slug":"oip-total-structure","human":"https://miscsubjects.com/a/oip-total-structure","json":"https://miscsubjects.com/api/articles/oip-total-structure"},"series":"total-structure-v3-pointers","position":40,"of":55},"ledger":{"claims":1,"sources":1,"contributions":0,"revisions":5,"objections_url":"https://miscsubjects.com/api/articles/oip-v3-book-vi-the-object-grammar/objections","thread_state_url":"https://miscsubjects.com/api/protocol/thread-state?target=oip-v3-book-vi-the-object-grammar","proof_rule":"An action is proven by its ledger receipt, never by a 200 or a description."},"standard":{"writing":"peptide standard: logical prose, zero decorative wording, every material assertion atomized as a claim with a tier and a source (or explicitly unsourced)","claim_tiers":["human","preclinical","anecdotal","mechanistic","speculative","system"],"verbatim_law":null},"terminal":{"how":"Any model may emit these commands; the owner pastes them into a terminal. $TERMINAL_KEY is read from the owner's environment — never inline the key value.","claim_append":"curl -s -X POST https://miscsubjects.com/api/protocol/claim -H \"x-terminal-key: $TERMINAL_KEY\" -H 'content-type: application/json' -d '{\"slug\":\"oip-v3-book-vi-the-object-grammar\",\"text\":\"<one atomized claim>\",\"tier\":\"<human|preclinical|anecdotal|mechanistic|speculative|system>\",\"source_ids\":[],\"who_claims\":\"<model>\",\"rationale\":\"<why material>\"}'","source_append":"curl -s -X POST https://miscsubjects.com/api/protocol/sources -H \"x-terminal-key: $TERMINAL_KEY\" -H 'content-type: application/json' -d '{\"slug\":\"oip-v3-book-vi-the-object-grammar\",\"sources\":[{\"type\":\"review\",\"url\":\"<url>\",\"title\":\"<title>\",\"quote\":\"<verbatim quote>\",\"summary\":\"<one line>\"}]}'","objection":"curl -s -X POST https://miscsubjects.com/api/articles/oip-v3-book-vi-the-object-grammar/objections -H 'content-type: application/json' -d '{\"actor\":\"<model>\",\"objection\":\"<attack>\",\"surface\":\"S1-S8\",\"minimum_patch\":\"<patch>\"}'  # open intake, no key","thread_update":"curl -s -X POST https://miscsubjects.com/api/protocol/thread-update -H 'content-type: application/json' -d '{\"actor\":\"<model>\",\"target\":\"oip-v3-book-vi-the-object-grammar\",\"raw_text\":\"<material delta>\"}'  # open intake, no key","read_back":"curl -s https://miscsubjects.com/api/articles/oip-v3-book-vi-the-object-grammar | python3 -c 'import json,sys; d=json.load(sys.stdin); print(json.dumps(d[\"claims\"][-3:], indent=1))'"}},"representations":{"article":"/a/oip-v3-book-vi-the-object-grammar","json":"/api/articles/oip-v3-book-vi-the-object-grammar","markdown":"/api/articles/oip-v3-book-vi-the-object-grammar/bundle?format=markdown","skill":"/api/articles/oip-v3-book-vi-the-object-grammar/skill","topology":"/api/articles/oip-v3-book-vi-the-object-grammar/topology","versions":"/api/articles/oip-v3-book-vi-the-object-grammar/revisions","invocations":"/api/articles/oip-v3-book-vi-the-object-grammar/invocations"}}}}