# Cascade Protocol reference > A pod holds one person's health records as files, and an app reads and writes it through `cascade-runtime`, the reference runtime. These pages are built from the repositories on every merge: how to build an app, the example pods, and what the vocabulary and the runtime promise. Links here are absolute, under https://the-cascade-protocol.github.io/cascade-runtime-js/. Start with the guide, then read the index to find anything else. ## For an agent - [AGENTS.md](https://the-cascade-protocol.github.io/cascade-runtime-js/AGENTS.md): the guide to building an app on a pod, with every call of `cascade-runtime` and code for each - [index.json](https://the-cascade-protocol.github.io/cascade-runtime-js/index.json): every page and file of this site, each with its title, kind and what it is built from - [Conformance results as JSON](https://the-cascade-protocol.github.io/cascade-runtime-js/conformance/results.json): the latest run on main, by feature. `at` is when this site was built, not when the run was made; the vocabulary the run used is the `cascade-vocabulary` entry of `ranWith`, while `vocabulary` is the one these pages were read from ## See it work - [Every example pod, and what built these pages](https://the-cascade-protocol.github.io/cascade-runtime-js/examples.html) - [See an app running in your browser, nothing to install](https://the-cascade-protocol.github.io/cascade-starter-kit/try/) ## Build an app - [Quick start](https://the-cascade-protocol.github.io/cascade-runtime-js/start.html) - [The API: openPod and every call](https://the-cascade-protocol.github.io/cascade-runtime-js/api/): what a coding agent reads, as a page. ## Understand the data model - [Look up a term](https://the-cascade-protocol.github.io/cascade-runtime-js/terms/): every class and property a pod carries, the shape that checks it, and the queries and rules that use it - [Read a query](https://the-cascade-protocol.github.io/cascade-runtime-js/queries/): every named question, view, matcher rule and derivation, what it is for, its SPARQL, the terms it reads and its rows on the example pod ## Know why it is built this way - [Decision notes](https://the-cascade-protocol.github.io/cascade-runtime-js/decisions/): why each term, rule and shape is as it is, each Choice row beside the rules that apply it. ## Read the rules - [Arrivals, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/arrivals.feature): as written, for a tool - [Consent tiers, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/consent.feature): as written, for a tool - [Currency, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/currency.feature): as written, for a tool - [Medication lifecycle, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/lifecycle.feature): as written, for a tool - [The matcher's procedure, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/matcher.feature): as written, for a tool - [Naming, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/naming.feature): as written, for a tool - [Nothing is edited or deleted, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/nothing-is-edited.feature): as written, for a tool - [Opening a pod, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/opening.feature): as written, for a tool - [Syncs, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/sync.feature): as written, for a tool - [The conformance kit, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/the-kit.feature): as written, for a tool - [Write order, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/write-order.feature): as written, for a tool - [Alex Rivera's pod, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/alex-rivera.feature): as written, for a tool - [Martin Okafor's pod, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/martin-okafor.feature): as written, for a tool - [Priya Natarajan's pod, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/priya-natarajan.feature): as written, for a tool - [Tamsin Vale's pod, the feature file](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/tamsin-vale.feature): as written, for a tool - [The runtime's rules](https://the-cascade-protocol.github.io/cascade-runtime-js/spec/): every rule beside the note that ruled it, its examples and their latest result. ## Check conformance - [Look up a Bridge term](https://the-cascade-protocol.github.io/cascade-runtime-js/terms/bridge.html): how a case is judged: the test types, verdicts, gap and accounting terms of the Bridge's own namespace, and the shapes that use them - [Conformance results](https://the-cascade-protocol.github.io/cascade-runtime-js/conformance/): the reference runtime's pass and fail for each feature, from the latest run on main. - [The runtime's tests](https://the-cascade-protocol.github.io/cascade-runtime-js/conformance/tests/cascade-runtime-js/): the newest run on main, case by case: npm test, node:test over every package. - [The vocabulary's tests](https://the-cascade-protocol.github.io/cascade-runtime-js/conformance/tests/cascade-vocabulary/): the newest run on main, case by case: pytest over the shapes, queries, kits and features. - [The starter kit's tests](https://the-cascade-protocol.github.io/cascade-runtime-js/conformance/tests/cascade-starter-kit/): the newest run on main, case by case: npm test, node:test over the kit. - [The sandbox's tests](https://the-cascade-protocol.github.io/cascade-runtime-js/conformance/tests/cascade-sandbox/): the newest run on main, case by case: npm test, node:test over the sandbox. - [The reference tables' tests](https://the-cascade-protocol.github.io/cascade-runtime-js/conformance/tests/cascade-reference-tables/): the newest run on main, case by case: npm test, node:test over the tables' host. - [The Rust Bridge's tests](https://the-cascade-protocol.github.io/cascade-runtime-js/conformance/tests/cascade-bridge-rs/): the newest run on main, case by case: cargo nextest over every crate. - [The Bridge specification's tests](https://the-cascade-protocol.github.io/cascade-runtime-js/conformance/tests/cascade-bridge-spec/): the newest run on main, case by case: pytest over the specification's files, the adapter profile and the compatibility tool. - [The FHIR R4 adapter's fixture cases](https://the-cascade-protocol.github.io/cascade-runtime-js/conformance/tests/cascade-bridge-adapter-fhir-r4/): the newest run on main, case by case: each fixture case of the adapter, run by each host of each engine it must pass with. - [The C-CDA adapter's fixture cases](https://the-cascade-protocol.github.io/cascade-runtime-js/conformance/tests/cascade-bridge-adapter-ccda/): the newest run on main, case by case: each fixture case of the adapter, run by each host of each engine it must pass with. ## Map FHIR or C-CDA to the model - [See where each FHIR R4 or C-CDA path goes](https://the-cascade-protocol.github.io/cascade-runtime-js/adapters/): each adapter's explorer: from a FHIR R4 or C-CDA path to the Cascade term and record it is written as, and what it drops and why ## Look inside a pod - [Alex Rivera's pod as data](https://the-cascade-protocol.github.io/cascade-runtime-js/alex-rivera/explorer.json): every file, query, act and view of the pod in one JSON object; the explorer page is a script that reads it. - [How Alex Rivera's pod is laid out](https://the-cascade-protocol.github.io/cascade-runtime-js/alex-rivera/layout.html): the pod's folders and what each holds, on a page that reads without script. - [Martin Okafor's pod as data](https://the-cascade-protocol.github.io/cascade-runtime-js/martin-okafor/explorer.json): every file, query, act and view of the pod in one JSON object; the explorer page is a script that reads it. - [How Martin Okafor's pod is laid out](https://the-cascade-protocol.github.io/cascade-runtime-js/martin-okafor/layout.html): the pod's folders and what each holds, on a page that reads without script. - [Priya Natarajan's pod as data](https://the-cascade-protocol.github.io/cascade-runtime-js/priya-natarajan/explorer.json): every file, query, act and view of the pod in one JSON object; the explorer page is a script that reads it. - [How Priya Natarajan's pod is laid out](https://the-cascade-protocol.github.io/cascade-runtime-js/priya-natarajan/layout.html): the pod's folders and what each holds, on a page that reads without script. - [Tamsin Vale's pod as data](https://the-cascade-protocol.github.io/cascade-runtime-js/tamsin-vale/explorer.json): every file, query, act and view of the pod in one JSON object; the explorer page is a script that reads it. - [How Tamsin Vale's pod is laid out](https://the-cascade-protocol.github.io/cascade-runtime-js/tamsin-vale/layout.html): the pod's folders and what each holds, on a page that reads without script. ## Point an agent at it - [Connect Claude Desktop or another MCP client to a pod](https://the-cascade-protocol.github.io/cascade-runtime-js/mcp/): cascade-mcp: install, start, the tools it offers and which need the person's yes ## Contribute - [How decisions are made](https://the-cascade-protocol.github.io/cascade-runtime-js/decisions/#the-bar): what a note must show, and who reads it before it is accepted. - [cascade-vocabulary](https://github.com/the-cascade-protocol/cascade-vocabulary): The terms, shapes, queries and rules a pod is built and read by, and the conformance kits that test a runtime. - [cascade-runtime-js](https://github.com/the-cascade-protocol/cascade-runtime-js): The reference runtime, in TypeScript: it opens a pod, runs its questions and builds these pages. - [cascade-bridge-spec](https://github.com/the-cascade-protocol/cascade-bridge-spec): The Cascade Bridge specification: the contract every adapter and bridge follows. - [cascade-bridge-rs](https://github.com/the-cascade-protocol/cascade-bridge-rs): Cascade Bridge in Rust: it runs adapters under the sparql-1.1 profile. - [cascade-bridge-adapter-fhir-r4](https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4): The adapter that turns FHIR R4 JSON into Cascade records. - [cascade-bridge-adapter-ccda](https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda): The adapter that turns C-CDA R2.1 XML into Cascade records. - [cascade-starter-kit](https://github.com/the-cascade-protocol/cascade-starter-kit): The app template create-cascade-app makes, and the try/ page that runs one in your browser. - [cascade-reference-tables](https://github.com/the-cascade-protocol/cascade-reference-tables): The reference tables the matcher joins records of the same thing by, their builders, and the feed apps read. - [cascade-reference-tables site](https://the-cascade-protocol.github.io/cascade-reference-tables/) - [cascade-sandbox](https://github.com/the-cascade-protocol/cascade-sandbox): A pretend health system with a past: demo FHIR hospitals that answer as of a date, for testing apps. ## Optional - [How well a model answers from a pod](https://the-cascade-protocol.github.io/cascade-runtime-js/evals/): recorded runs of a model answering a person's questions, against reading her downloads in full.