{"_self":{"principle":"Self-explaining payload — no external context required. This _self block describes what you are reading and where to look next.","widget":"article_bundle","feature":"bundle","name":"LLM article bundle","what":"Paste-ready package: body + claims + sources + voxels + provenance + manifest + constitution.","contains":"body, claims, sources, voxels, provenance, question graph, constitution, llm_manifest","slug":"oip-what-is-a-proxy","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/bundle?format=markdown"},"how_to_use":"Paste into any LLM. Read §SELF first. Write back via ingest or claim endpoints in llm_manifest.","write":null,"imessage":null,"router_tag":null,"proof_chain":[{"step":1,"claim":"Articles are voxel graphs of tiered claims, not prose blobs.","verify":"https://miscsubjects.com/api/articles/constitution"},{"step":2,"claim":"Claims link to hash-chained sources via source_ids.","verify":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/sources"},{"step":3,"claim":"Ask reads topology; ingest/claim append to ledger.","verify":"https://miscsubjects.com/api/protocol"},{"step":4,"claim":"Models queue growth: populate → collaborate → repair → reflex.","verify":"https://miscsubjects.com/api/protocol/grow"},{"step":5,"claim":"Graph proves its own shape (reflex) and $/claim (yield).","verify":"https://miscsubjects.com/graph.html?layer=reflex"},{"step":6,"claim":"Full feature index + _explain on every API response.","verify":"https://miscsubjects.com/api/articles/system-map"}],"related_features":[{"id":"topology","name":"Article topology","what":"Claims, sources, anecdotes, user reports, related embeds, question graph slice — for ask/ROUTER.","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/topology"}},{"id":"voxels","name":"Voxel graph","what":"Claims as atoms, sources as edges (supported_by, posted_by). Per-claim provenance.","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/voxels","write":"https://miscsubjects.com/api/protocol/claim"}},{"id":"ask","name":"Ask protocol","what":"Answer only from topology; creates question_node with gaps and ingest_hint.","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/prompts","write":"https://miscsubjects.com/api/protocol/ask"}},{"id":"ingest","name":"Ingest protocol","what":"Parse pasted evidence → source ledger + claims + evidence_ingest node.","urls":{"write":"https://miscsubjects.com/api/protocol/ingest"}},{"id":"claim_post","name":"Claim post protocol","what":"Prompt-injection style POST — one claim voxel with who_claims + posted_by.","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/voxels","write":"https://miscsubjects.com/api/protocol/claim"}},{"id":"llm_manifest","name":"LLM manifest","what":"Machine-readable read/write contract for external LLMs.","urls":{"read":"https://miscsubjects.com/api/articles/llm-manifest"}}],"system_map":"https://miscsubjects.com/api/articles/system-map","system_map_markdown":"https://miscsubjects.com/api/articles/system-map?format=markdown","not_medical_advice":true},"_explain":{"feature":"bundle","name":"LLM article bundle","what":"Paste-ready package: body + claims + sources + voxels + provenance + manifest + constitution.","why":"Every feature is auditable collective intelligence","how":"Paste into any LLM. Read §SELF first. Write back via ingest or claim endpoints in llm_manifest.","model":null,"verifies":null,"urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/bundle?format=markdown"},"imessage":null,"router":null,"related":[{"id":"topology","what":"Claims, sources, anecdotes, user reports, related embeds, question graph slice — for ask/ROUTER."},{"id":"voxels","what":"Claims as atoms, sources as edges (supported_by, posted_by). Per-claim provenance."},{"id":"ask","what":"Answer only from topology; creates question_node with gaps and ingest_hint."},{"id":"ingest","what":"Parse pasted evidence → source ledger + claims + evidence_ingest node."},{"id":"claim_post","what":"Prompt-injection style POST — one claim voxel with who_claims + posted_by."},{"id":"llm_manifest","what":"Machine-readable read/write contract for external LLMs."}],"not_medical_advice":true},"bundle_version":1,"generated_at":"2026-07-04T22:34:42.152Z","slug":"oip-what-is-a-proxy","title":"What Is a Proxy","url":"https://miscsubjects.com/a/oip-what-is-a-proxy","register":"oip_protocol","tags":["oip","protocol"],"posted_at":"2026-07-04T18:31:19.310Z","updated_at":"2026-07-04T19:01:15.099Z","body":"## What It Is\n\n**A proxy is an intermediary that receives a request, optionally modifies it, forwards it to a real target, receives the response, optionally modifies it, and returns it to the original caller.** It is the universal interception point. Nothing passes through a proxy without the proxy knowing.\n\n## Why It Matters\n\nMost systems are black boxes. A caller sends a request. A result comes back. What happened in between is invisible. The proxy destroys that darkness.\n\nIt makes the invisible visible. Every request, every response, every header, every body, every error — the proxy sees it all. That visibility is the foundation of audit. Without a proxy, you are guessing. With a proxy, you are observing.\n\nIt also makes the system controllable. A proxy can block, rewrite, cache, rate-limit, route, or transform. It turns a hardcoded pipe into a programmable surface.\n\nThe philosophical point is deeper. A system that cannot be observed cannot be audited. A system that cannot be audited cannot be trusted. The proxy is the minimal mechanism that converts an opaque interaction into an observable one. That is why it sits at the heart of every open, deterministic, auditable protocol.\n\n## How It Works\n\nStep 1: A caller makes a request. The caller thinks it is talking to the target. It is not. It is talking to the proxy.\n\nStep 2: The proxy intercepts the request. It reads the headers, the body, the method, the path. It logs everything. It can modify anything.\n\nStep 3: The proxy forwards the request to the real target. Or it does not. It might return a cached response. It might return an error. It might route to a different target entirely. The caller does not know. The caller should not need to know.\n\nStep 4: The target processes the request and returns a response.\n\nStep 5: The proxy intercepts the response. It reads, logs, and optionally modifies the response.\n\nStep 6: The proxy returns the response to the caller. The caller receives the result, unaware that a proxy was ever involved.\n\nConcrete example: A user sends an HTTP GET to `api.example.com/users`. The proxy at `proxy.example.com` receives the request. It logs the user agent, the auth token, the timestamp. It adds a trace ID header. It forwards to `api.example.com/users`. The API returns JSON. The proxy logs the response time, the status code, the response size. It strips an internal header. It returns the JSON to the user. The user got the same data. The system now has a complete record of the interaction.\n\n## The Contract\n\nA proxy honors this contract:\n\n- **Interception**: Every request and response passes through the proxy before reaching its destination.\n- **Transparency**: The proxy does not break the caller-target contract unless explicitly configured to do so. The caller and target should behave the same way with or without the proxy.\n- **Observability**: The proxy produces a complete, timestamped record of every interaction.\n- **Mutability**: The proxy may modify requests and responses according to declared rules.\n- **Determinism**: Given the same input and the same rules, the proxy produces the same output. No hidden state, no magic.\n\nIn formal terms: `Proxy(Input, Rules) → (Log, Output)`. The same Input and Rules always produce the same Log and Output.\n\n## Real Examples\n\n**1. HTTP Proxy (Squid, Nginx, HAProxy)**\nIntercepts web traffic. Caches responses. Blocks malicious sites. Logs every URL. This is the most common proxy. Millions of requests per second pass through proxies like this.\n\n**2. Reverse Proxy / Load Balancer (AWS ALB, Cloudflare)**\nSits in front of a fleet of servers. Receives external requests. Routes them to healthy backends. Returns the backend response. The client sees one endpoint. Behind it are fifty servers, or five hundred, and the proxy decides which one answers.\n\n**3. API Gateway (Kong, AWS API Gateway)**\nA proxy with policy. Authenticates requests. Rate-limits. Transforms JSON to XML. Routes `/v1/users` to one service and `/v2/users` to another. Every API call is logged, metered, and auditable.\n\n**4. Database Proxy (PgBouncer, ProxySQL)**\nSits between application and database. Pools connections. Routes read queries to replicas. Logs slow queries. The application thinks it is talking directly to Postgres. It is talking to a proxy that manages the real connections.\n\n**5. Transparent Interception (mitmproxy, Charles, Wireshark)**\nCaptures traffic without the caller's knowledge. Used for debugging, security audits, and testing. The proxy proves what was actually sent and received. It removes the ambiguity of \"the server said...\"\n\n## Common Mistakes\n\n**Mistake 1: Thinking a proxy is just for caching.**\nCaching is one feature. The real power is interception, control, and audit. A proxy that only caches is like using a race car to drive to the grocery store.\n\n**Mistake 2: Believing the proxy is invisible.**\nIt is not. Latency increases. Headers may change. Timeouts may differ. A proxy that is not accounted for in debugging is a hidden variable that destroys reproducibility.\n\n**Mistake 3: Using a proxy without logging.**\nA proxy that intercepts but does not log is a missed opportunity. The whole point is to make the system observable. If you do not capture the data, you have built a black box with a window that you never look through.\n\n**Mistake 4: Treating the proxy as a trusted boundary.**\nA proxy can be compromised. It can be misconfigured. It can be bypassed. It is not a security silver bullet. It is a control point. Control points must themselves be audited.\n\n**Mistake 5: Not versioning proxy rules.**\nA proxy that modifies requests must do so deterministically. If the rules change without documentation, the system becomes unpredictable. Version your proxy rules the same way you version your code.\n\n## Connection to OIP\n\nThe Open, Deterministic, Auditable Protocol demands three things from every component: the system must be open (its behavior is inspectable), deterministic (the same input produces the same output), and auditable (every action leaves a trace).\n\nThe proxy is the mechanical realization of all three.\n\n**Open**: The proxy makes the flow of data visible. You can read the request. You can read the response. You can read the rules that transformed them. Nothing is hidden.\n\n**Deterministic**: A proxy governed by explicit rules produces the same output for the same input, every time. The rules are code. Code is versioned. Versioned code is deterministic.\n\n**Auditable**: Every request and response is logged with a timestamp and a trace ID. The log is immutable. The log is the proof. If you need to know what happened, you read the proxy log. You do not ask the server. You do not ask the caller. You ask the proxy. The proxy knows because the proxy was there.\n\nIn OIP, the proxy is not optional infrastructure. It is the mechanism by which opacity becomes transparency. It is the guardrail that turns an uncontrolled system into a controlled one. Without it, you have faith. With it, you have evidence.\n\n## Connection to the Grain Philosophy\n\nThis protocol is part of the [Open Inventory Protocol](/a/philosophy) — a living system of self-describing voxels that serves the Grain philosophy. The OIP is the interface. The philosophy is the core.\n","claims":[],"sources":[],"voxels":{"slug":"oip-what-is-a-proxy","counts":{"voxels":0,"sources":0,"edges":0},"note":"slim bundle — full voxels at /api/articles/oip-what-is-a-proxy/voxels"},"constitution":{"url":"https://miscsubjects.com/api/articles/constitution"},"provenance":[],"contributions":[],"topology":null,"slim":true,"ledger_totals":{"claims":0,"sources":0,"exported_claims":0,"exported_sources":0},"question_graph":{"slug":"oip-what-is-a-proxy","questions":[],"evidence":[],"edges":[],"counts":{"questions":0,"evidence":0,"edges":0}},"verification":{"provenance":{"valid":true,"entries":0,"head":"genesis"},"sources":{"valid":true,"entries":0,"head":"genesis"}},"counts":{"claims":0,"sources":0,"provenance":0,"contributions":0,"questions":0,"evidence_ingests":0,"voxel_edges":0},"llm_manifest":{"version":"1","site":"https://miscsubjects.com","purpose":"Peptide evidence articles with hash-chained source ledgers, tiered claims, and a question graph. LLMs should READ bundles/URLs and WRITE back via ingest — never invent doses.","read":{"human_page":"https://miscsubjects.com/a/oip-what-is-a-proxy","bundle_json":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/bundle","bundle_markdown":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/bundle?format=markdown","topology":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/topology","question_graph":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/question-graph","sources":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/sources","provenance":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/provenance","contributions":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/contributions","graph_topology":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/graph-topology?question={question}","voxels":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/voxels","constitution":"https://miscsubjects.com/api/articles/constitution","ontology":"https://miscsubjects.com/api/articles/ontology","system_map":"https://miscsubjects.com/api/articles/system-map","system_map_markdown":"https://miscsubjects.com/api/articles/system-map?format=markdown","health":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/health","repair":"POST https://miscsubjects.com/api/protocol/repair","list_articles":"https://miscsubjects.com/api/articles","graph_canvas":"https://miscsubjects.com/graph.html?slugs=oip-what-is-a-proxy","graph_yield":"https://miscsubjects.com/api/graph?slugs=oip-what-is-a-proxy&layer=yield","obsidian_vault":"https://miscsubjects.com/api/articles/obsidian-vault?slugs=oip-what-is-a-proxy","graph_query":"https://miscsubjects.com/api/v1/query?from=oip-what-is-a-proxy&kind=claim&where=tier=human"},"ask":{"description":"Answer only from topology; creates a question_node with gaps.","api":"POST https://miscsubjects.com/api/protocol/ask","body":{"slug":"{slug}","question":"string"},"imessage":"oip-what-is-a-proxy|your question","router_tag":"[ARTICLE_ASK]oip-what-is-a-proxy|question[/ARTICLE_ASK]","auth":"x-terminal-key header for API; iMessage/WhatsApp via miscsubjects build"},"ingest":{"description":"Parse pasted evidence → source ledger + claims + evidence_ingest node.","api":"POST https://miscsubjects.com/api/protocol/ingest","body":{"slug":"{slug}","evidence":"paste text","question_node_id":"optional qn_..."},"imessage":"ingest oip-what-is-a-proxy|q:{node_id}|paste evidence","router_tag":"[ARTICLE_INGEST]oip-what-is-a-proxy|evidence[/ARTICLE_INGEST]","tiers":["human","preclinical","anecdotal","mechanistic","speculative"]},"claim":{"description":"Prompt-injection style POST — one claim voxel with who_claims + posted_by provenance.","api":"POST https://miscsubjects.com/api/protocol/claim","body":{"slug":"{slug}","text":"one assertion","tier":"human|preclinical|anecdotal|mechanistic|speculative","who_claims":"study author, platform, or model id","source_ids":"optional [s1]"},"imessage":"claim oip-what-is-a-proxy|tier|assertion — who claims it?","router_tag":"[ARTICLE_CLAIM]oip-what-is-a-proxy|tier|assertion[/ARTICLE_CLAIM]","slots":["what_it_is","who_claims_what","what_is_known","what_is_unknown","mechanism","limitations","disclaimer"]},"tiers":{"human":0.8,"preclinical":0.5,"anecdotal":0.3,"mechanistic":0.3,"speculative":0.1},"invariants":["Self-explaining — every API JSON has _self; every paste widget has §SELF; root index at /api/articles/system-map","Append-only — revisions preserved at ?rev=n","Source chain verifies integrity, not truth","Answers must cite claim ids and source ids from topology","Not medical advice"],"constitution":{"version":1,"principle":"Articles are voxel graphs of claims — not prose blobs. Every assertion is a claim atom with tier, weight, source_ids, and posted_by provenance.","slots":[{"id":"what_it_is","required":true,"answers":"What is this peptide/stack/condition?"},{"id":"who_claims_what","required":true,"answers":"Who claims what — study authors, platforms, n=?"},{"id":"what_is_known","required":true,"answers":"What is known with tier labels (human/preclinical/anecdotal)"},{"id":"what_is_unknown","required":true,"answers":"What is NOT known — explicit gaps"},{"id":"mechanism","required":false,"answers":"Proposed mechanism (mechanistic tier only)"},{"id":"limitations","required":true,"answers":"Limits of evidence — no dose advice"},{"id":"disclaimer","required":true,"answers":"Not medical advice"}],"claim_rules":["One claim = one falsifiable assertion. No compound claims.","Every claim must declare tier: human|preclinical|anecdotal|mechanistic|speculative|system.","system tier = architecture/design axioms (not biological mechanism). Use for protocol self-definition.","Sourced claims must cite source_ids from the hash-chained ledger.","Unsourced claims must set source_status: unsourced and why_material.","posted_by is mandatory on every new claim (model id, human, or channel).","No medical advice, no doses, no 'you should take'.","Bad information is retracted (status:retracted), never deleted — retraction event stays on ledger.","Adversary challenges link via challenges[] / challenged_by[] — target may be downweighted.","Leaked secrets are scrubbed to [REDACTED:secret-leak] with scrub_events tombstone — honest audit trail."],"source_rules":["Every source is a voxel edge: type, url, exact quote, summary, found_by, accessed_at.","Sources hash-chain — prev/hash on append.","Anecdotal sources must name platform (reddit|x|youtube|imessage|user_entry)."],"ontology_rules":["Peptide articles (bpc-157, tb-500) are tree roots.","Condition articles (bpc-157-glp1-gut-damage) branch from peptides.","Stack articles (wolverine-stack-glp1) compose peptides — never duplicate peptide mechanism prose.","If an article has no parent embeds and is not a root peptide → sprawl candidate.","Misstep = duplicate scope with another slug; merge or reparent via embeds."],"post_protocol":{"claim":"POST /api/protocol/claim","source":"POST /api/protocol/sources","ingest":"POST /api/protocol/ingest","webhook":"POST /api/articles/<slug>/webhook {kind:claim|source}","imessage_claim":"claim {slug}|{tier}|your assertion — who claims it, source?","imessage_ingest":"ingest {slug}|evidence paste"}},"this_article":{"slug":"oip-what-is-a-proxy","url":"https://miscsubjects.com/a/oip-what-is-a-proxy","bundle_url":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/bundle?format=markdown"}},"api_urls":{"bundle":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/bundle","bundle_markdown":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/bundle?format=markdown","topology":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/topology","voxels":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/voxels","constitution":"https://miscsubjects.com/api/articles/constitution","ontology":"https://miscsubjects.com/api/articles/ontology","question_graph":"https://miscsubjects.com/api/articles/oip-what-is-a-proxy/question-graph","ask":"https://miscsubjects.com/api/protocol/ask","ingest":"https://miscsubjects.com/api/protocol/ingest","claim":"https://miscsubjects.com/api/protocol/claim","system_map":"https://miscsubjects.com/api/articles/system-map","system_map_markdown":"https://miscsubjects.com/api/articles/system-map?format=markdown"}}