Evidence review · technical

Protocol API Structure: REST Surface, Objects, and Phase Machine

#system#protocol#api
bundle · json · system map · manifest

Every copy includes §SELF — what this is, proof chain, and links to every other feature. No context required.

§SELF — this page explains the system
## §SELF — miscsubjects (paste without context)

**Principle:** Self-explaining payload — no external context required. This _self block describes what you are reading and where to look next.

**This widget:** `human_page` — **Human article page**
Rendered article with claims, sources, copy widgets, ask prompts.
- **article slug:** `protocol-api-structure`
- **contains:** rendered article, copy widgets, claims, sources, ask prompts
- **how to use:** Use Copy for LLM or Copy system map — both paste without context.
- **read:** https://miscsubjects.com/a/protocol-api-structure

### Logical proof (verify each step)
1. Articles are voxel graphs of tiered claims, not prose blobs. → https://miscsubjects.com/api/articles/constitution
2. Claims link to hash-chained sources via source_ids. → https://miscsubjects.com/api/articles/protocol-api-structure/sources
3. Ask reads topology; ingest/claim append to ledger. → https://miscsubjects.com/api/protocol
4. Models queue growth: populate → collaborate → repair → reflex. → https://miscsubjects.com/api/protocol/grow
5. Graph proves its own shape (reflex) and $/claim (yield). → https://miscsubjects.com/graph.html?layer=reflex
6. Full feature index + _explain on every API response. → https://miscsubjects.com/api/articles/system-map

### Related features (explains other parts of the system)
- **bundle** — Paste-ready package: body + claims + sources + voxels + provenance + manifest + constitution. · https://miscsubjects.com/api/articles/protocol-api-structure/bundle?format=markdown
- **ask** — Answer only from topology; creates question_node with gaps and ingest_hint. · https://miscsubjects.com/api/articles/protocol-api-structure/prompts
- **topology** — Claims, sources, anecdotes, user reports, related embeds, question graph slice — for ask/ROUTER. · https://miscsubjects.com/api/articles/protocol-api-structure/topology

### Full index
- JSON: https://miscsubjects.com/api/articles/system-map
- Markdown: https://miscsubjects.com/api/articles/system-map?format=markdown

*Not medical advice. Tier-honest. Cite claim/source ids.*

What this article is

This document describes the live REST surface and phase machine for miscsubjects.com. It is system documentation, not a compound catalogue entry.

Who claims what

The build itself defines the contract. GET /api/protocol returns the authoritative machine map. API_QUICKMAP.md and PROTOCOL_SPEC.md are static mirrors of that contract.

What is known

GET /api/protocol exposes the endpoint list, body schemas, and phase definitions. Two planes exist: /api/articles for CRUD and sub-resources, and /api/protocol for phase operations.

Claims live in article.meta.claims[]. Sources live in meta.sources[] with prev/hash chain. All writes are append-only.

POST /api/protocol/draft validates tiers, optionally verifies source URLs, and hash-chains sources. POST /api/protocol/populate ingests sources into an article without rewriting the body. POST /api/protocol/collaborate lets Kimi or Gemini append 1–3 claims. POST /api/protocol/score recomputes claim.weight and applies status:cut when below threshold. GET /api/protocol/next?role=writer hands out one open task atomically. POST /api/protocol/run executes one scheduler tick inside the 100-second request limit. GET /api/matrix/gaps lists missing roots and cross cells. POST /api/matrix/seed fills from the canonical catalog. Webhook POST /api/articles/{slug}/webhook accepts atomic appends of kind:claim|source|widget.

What we do not know

Not every phase listed in PROTOCOL_SPEC.md has a deployed cron worker. Some phases still require manual POST /api/protocol/grow or dispatch tools. Rate limits and per-tenant quotas on gateway model calls are environment-dependent and not shown in the public contract.

Limitations

Protocol slugs are immutable. Hard DELETE is blocked. Corrections use PATCH status:retracted or new revisions. Every phase transition must finish inside Cloudflare’s ~100-second cap. Batch work uses grow batch or cron ticks.

Disclaimer

This API map is a research-ledger transport layer only. It grants no medical authority.

Key evidence

16 claims · tier-ranked · API
system
Immutable slugs (protocol) block DELETE; corrections use PATCH status:retracted or new revisions, never hard delete.
system
GET /api/protocol returns the live machine contract — endpoint list, body schemas, and phase definitions; it is the authoritative API map.
system
The protocol splits into two planes: /api/articles for CRUD and sub-resources, and /api/protocol for phase operations (populate, review, score, grow).
system
Claims live in article.meta.claims[]; sources in meta.sources[] with prev/hash chain; provenance in meta.provenance[] — all append-only.
system
POST /api/protocol/draft validates tiers, optionally verifies source URLs, hash-chains sources, and publishes or updates the article head.
system
POST /api/protocol/populate ingests science + social sources into an article without rewriting body — forest-first growth.
system
POST /api/protocol/collaborate lets Kimi or Gemini read topology and append 1–3 claims with posted_by; optional require_challenge for adversary pass.
system
POST /api/protocol/score recomputes claim.weight from base(tier) + endorsement_sum − adversary_sum; claims below cut_threshold get status:cut.
system
GET /api/protocol/next?role=writer atomically claims one open task; POST /api/protocol/run executes one scheduler tick inside the 100s request cap.
system
GET /api/matrix/gaps audits missing peptide roots and unwritten cross cells; POST /api/matrix/seed deterministically fills pipeline from canonical catalog.
6 more ranked claims
system0.35
Webhook POST /api/articles/{slug}/webhook accepts atomic append of kind:claim|source|widget without replacing article head.
miscsubjects protocol (system tier)
Architecture axiom — verifiable via live GET endpoints cited in text.
system0.35
The build documents API_QUICKMAP.md and PROTOCOL_SPEC.md as human-readable mirrors; GET /api/protocol is the runtime truth.
miscsubjects protocol (system tier)
Architecture axiom — verifiable via live GET endpoints cited in text.
system0.35
Not every PROTOCOL_SPEC phase has a dedicated cron worker deployed yet — some remain manual via POST /api/protocol/grow or dispatch tools.
miscsubjects protocol (system tier)
Architecture axiom — verifiable via live GET endpoints cited in text.
system0.35
Rate limits and per-tenant quotas on gateway model calls are environment-dependent — not exposed in the public contract.
miscsubjects protocol (system tier)
Architecture axiom — verifiable via live GET endpoints cited in text.
system0.35
Phase transitions are stateless per request: each POST must finish inside Cloudflare's ~100s cap; batch work uses grow batch or cron ticks.
miscsubjects protocol (system tier)
Architecture axiom — verifiable via live GET endpoints cited in text.
system0.35
This API map does not grant medical authority — it is a research-ledger transport layer only.
miscsubjects protocol (system tier)
Architecture axiom — verifiable via live GET endpoints cited in text.
Model swipes · 2 from 1 model · swipe →verify
1 / 2
grok/grok-4.3editor
synthesize_body2026-06-29 16:54
synthesize_body
inspect — what it was prompted & output
prompted with
(default writer prompt)

input: protocol-api-structure
it output
## Regeneration vs degeneration — where this fits

The body breaks down tissue and rebuilds it at the same time. A problem lasts when breakdown moves faster than repair. Most drugs block signals such as pain or swelling. They do not rebuild the tissue that created the signal. This article places one compound inside that frame. It asks whether the compound affects repair steps rather than signal suppression.

## What it is

The ledger contains no entries for this compound. No name, structure, or origin is recorded.

## How it works

No mechanism data exists in the ledger. No pathway, receptor, or cell target is listed.

## Why it would work (logic chain)

No logic chain is present. No if-then steps connect the compound to any repair outcome.

## Why people take it

The ledger lists no stated reasons. No user goals are recorded.

## How many people take it

The ledger shows zero tracked users. The number of people who take this compound is unknown.

## Evidence inventory

- Sources total: 0
- Studies catalogued: 0
- Reddit posts: 0
- X posts: 0
- Other anecdote sources: 0
- Claims human: 0
- Claims preclinical: 0
- Claims anecdotal: 0

No human studies, animal studies, or anecdotes are stored.

## What scientists say

The ledger contains no scientist statements. No papers or expert comments are recorded.

## What people say on Reddit

The ledger contains no Reddit posts. No user 
c26b0608ed698b37
grok/grok-4.3editor
synthesize_body2026-06-29 17:00
synthesize_body
inspect — what it was prompted & output
prompted with
(default writer prompt)

input: protocol-api-structure
it output
## What this article is

This document describes the live REST surface and phase machine for miscsubjects.com.  
It is system documentation, not a compound catalogue entry.

## Who claims what

The build itself defines the contract.  
GET /api/protocol returns the authoritative machine map.  
API_QUICKMAP.md and PROTOCOL_SPEC.md are static mirrors of that contract.

## What is known

GET /api/protocol exposes the endpoint list, body schemas, and phase definitions.  
Two planes exist: /api/articles for CRUD and sub-resources, and /api/protocol for phase operations.  

Claims live in article.meta.claims[]. Sources live in meta.sources[] with prev/hash chain. All writes are append-only.  

POST /api/protocol/draft validates tiers, optionally verifies source URLs, and hash-chains sources.  
POST /api/protocol/populate ingests sources into an article without rewriting the body.  
POST /api/protocol/collaborate lets Kimi or Gemini append 1–3 claims.  
POST /api/protocol/score recomputes claim.weight and applies status:cut when below threshold.  
GET /api/protocol/next?role=writer hands out one open task atomically.  
POST /api/protocol/run executes one scheduler tick inside the 100-second request limit.  
GET /api/matrix/gaps lists missing roots and cross cells. POST /api/matrix/seed fills from the canonical catalog.  
Webhook POST /api/articles/{slug}/webhook accepts atomic appends 
3231ab1ea5e9503b
Ask this article · 8 suggested prompts

Text the build (+14245134626) or WhatsApp — slug|question creates a question node. Paste evidence with ingest slug|q:NODE_ID|your paste.

What does the ledger say about this (system tier): "Immutable slugs (protocol) block DELETE; corrections use PATCH status:retracted or new revisions, never hard delete."?
ask protocol-api-structure claim c_api_16 · paste includes §SELF
What does the ledger say about this (system tier): "GET /api/protocol returns the live machine contract — endpoint list, body schemas, and phase definitions; it is the authoritative API map."?
ask protocol-api-structure claim c_api_1 · paste includes §SELF
What does the ledger say about this (system tier): "The protocol splits into two planes: /api/articles for CRUD and sub-resources, and /api/protocol for phase operations (populate, review, sco…"?
ask protocol-api-structure claim c_api_2 · paste includes §SELF
What does the ledger say about this (system tier): "Claims live in article.meta.claims[]; sources in meta.sources[] with prev/hash chain; provenance in meta.provenance[] — all append-only."?
ask protocol-api-structure claim c_api_3 · paste includes §SELF
What does the ledger say about this (system tier): "POST /api/protocol/draft validates tiers, optionally verifies source URLs, hash-chains sources, and publishes or updates the article head."?
ask protocol-api-structure claim c_api_4 · paste includes §SELF
What does the ledger say about this (system tier): "POST /api/protocol/populate ingests science + social sources into an article without rewriting body — forest-first growth."?
ask protocol-api-structure claim c_api_5 · paste includes §SELF
How does miscsubjects article protocol (constitution) relate to Protocol API Structure: REST Surface, Objects, and Phase Machine for my condition?
ask protocol-api-structure related protocol · paste includes §SELF
How does Protocol Widgets: Self-Explanation, Vault Cards, and Native Embeds relate to Protocol API Structure: REST Surface, Objects, and Phase Machine for my condition?
ask protocol-api-structure related protocol-widgets · paste includes §SELF
protocol-api-structure · posted 2026-06-29 · updated 2026-06-29 · 2 prior revisions · grok/build (protocol-meta-articles)
Ledger API & provenance
Provenance · 3 model passes · 3625 tokens · $0 · 2 models
chain head ab33048eebe70c8a
write grok/build · 2026-06-29 16:53 · 0 tok · c401918a3550
synthesize_body grok/grok-4.3 · 2026-06-29 16:54 · 1547 tok · 49ed398e8b7f
synthesize_body grok/grok-4.3 · 2026-06-29 17:00 · 2078 tok · ab33048eebe7
verify chain →
REST + ledger
read GET /api/articles/protocol-api-structure · GET /api/articles/protocol-api-structure?format=post (the editable body)
create/replace POST /api/articles/protocol-api-structure · PUT /api/articles/protocol-api-structure (replace, keeps revision) · PATCH /api/articles/protocol-api-structure (merge)
delete DELETE /api/articles/protocol-api-structure
writes need header x-terminal-key
LLM bundle GET /api/articles/protocol-api-structure/bundle?format=markdown — body + claims + sources + provenance + manifest
post claim POST /api/protocol/claim · iMessage claim protocol-api-structure|tier|assertion
system map GET /api/articles/system-map?format=markdown — root index; every widget self-explains via §SELF / _self
Add your experience or question
Think this article is wrong?
Call bullshit on CharlieOS →