# Protocol Library exports

GENERATED by `SCRIPTS/build_protocol_exports.mjs` from the one served library
(`cloudflare-pages/for-dentists/protocols/library.json`). Do not hand-edit anything in
this folder — edit or add a record under `platform/protocols/library/`, run
`make protocols-ingest`, then `make protocol-exports`.

- **Library content only.** No PHI: every record is re-checked against
  `platform/protocols/protocol_schema.js`'s Ring-0 key wall (`ringZeroViolations`)
  before export, and the build refuses to write anything if a record carries a
  patient/chart/DOB/contact-shaped key.
- **Every record is `draft_unreviewed` until a licensed reviewer clears it** in HITL
  Rounds (the `protocol_reviews` / `protocol_reviews_ops` queues,
  `platform/protocols/protocol_schema.js`'s `REVIEW_STATUSES`). A protocol appearing
  here is a structurally-validated template with a cited basis — it is **not** a
  clinical instruction, and it has **not** been confirmed by a licensed dentist. Do
  not present an unreviewed protocol as clinical guidance; present it as a sourced,
  drafted template pending review.
- **Licence.** Every *clinical* protocol in this library is required to cite its
  public-domain basis before it can ship — `protocol_schema.js`'s public-domain
  citation floor refuses a clinical record with zero citations. Operational/compliance
  steps without a published authority are labelled `practice_policy` in their
  citation, never presented as a cited rule. Use of this export for implementation,
  teaching, machine learning, or robotics training is welcome under that same
  standard: keep the citation, the `review_status`, and this file's honesty line
  attached to any downstream copy.

## Files

| File | Shape | Use |
|---|---|---|
| `protocols.graph.json` | every served protocol, full `protocol_v1` record | implementation, indexing |
| `protocols.steps.jsonl` | one JSON object per line: protocol id, kind, role, gate, why | ML / robotics training, step-level tasks |
| `protocols.teaching.json` | teaching cards (one per step with a `why`), informational only | teaching, coaching surfaces |
