Skip to content
Alpha: see what works today →
Menu

decisions/model-proposed-writes.md on GitHub, at the commit these pages were built from

What a write a model proposed records

Status: draft, 2026-11-13, for the-cascade-protocol/cascade-runtime-js#758. Adds cascade:ModelProposerRole, the shapes cascade:ModelProposedActShape, cascade:ModelProposerAssociationShape, cascade:OneModelProposerShape, cascade:PersonRetractionAuthorShape and cascade:ModelProposedJudgmentShape, and the rule Y3 of runtime/consent.feature, with Y2's examples. Amends cascade:PersonJudgmentShape, which allowed an act one association, and judgments.md, row "maker". Depends on consent-tiers.md (a write to a pod is at ask) and judgments.md.

Question

A model offered a person's pods may propose a write: an entry, or a judgment (same, different, wrong, before), or the retraction of one. The door asks the person, and writes only on their yes (consent-tiers.md, row "ask"). What does the pod record of it, so that a reader can tell a write a model proposed from one the person made directly, and see who said yes?

What makes it hard: a pod only grows (X1), so what it records of a write is all a reader will ever know of how it came to be; the person's judgments already name their author in a role (judgments.md, row "maker"), and the views treat a person's judgment differently from the matcher's, so a confirmed proposal must stay the person's; and the door knows little of the model: an MCP server is told the client's name and version, not which model is behind it.

What others do

Each quotation was read at its source on 2026-11-13 (verified), but where a line says otherwise.

Sources: FHIR R4 Provenance (https://hl7.org/fhir/R4/provenance-definitions.html), HL7 provenance participant types (https://terminology.hl7.org/CodeSystem-provenance-participant-type.html), AI Transparency on FHIR (https://build.fhir.org/ig/HL7/aitransparency-ig/, its requirements.md, use_cases.md and EX_Provenance.fsh at https://github.com/HL7/aitransparency-ig on main), PROV-O (https://www.w3.org/ns/prov-o), PAV (http://purl.org/pav/), the MCP SDK in cascade-runtime-js on 2026-11-13; the comments on the-cascade-protocol/cascade-runtime-js#758.

Choice

thing prior art what we do borrowed or diverged Rules that cite it
where it is said PROV-DM association with a role; FHIR's one Provenance per activity on the act that wrote it, as a document's parts are (republishing-sources.md): an entry's session, the blank-node act a judgment's prov:wasGeneratedBy names, or a retraction, itself an act (Y3) borrowed from PROV-DM
the model FHIR Device; PROV prov:SoftwareAgent; the AI Transparency IG's AI agent one prov:qualifiedAssociation of the act, in cascade:ModelProposerRole, whose prov:agent is the model, a prov:SoftwareAgent named by an IRI, typed in the act's file, never the runtime (Y3; cascade:ModelProposerAssociationShape) borrowed: an agent in a role; the role is ours
the person who said yes HL7 verifier; FHIR onBehalfOf the act's association in cascade:PatientRole, as the person's own acts carry, whose agent is the pod's owner; an act a model proposed has one (Y3; cascade:ModelProposedActShape) borrowed: the role the person's own acts already name
a judgment's author HL7 author "therefore has responsibility"; PROV attribution the person who said yes: a judgment a model proposed is prov:wasAttributedTo them, never the model, and is a person's judgment in every rule and view; a retraction is prov:wasAssociatedWith them, the same person as its association in cascade:PatientRole (Y3; cascade:ModelProposedJudgmentShape, cascade:PersonJudgmentShape, cascade:PersonRetractionAuthorShape) diverged from the AI Transparency IG, which makes the AI the author
told apart the IG's AIAST label a write the person made directly names no association in cascade:ModelProposerRole; one a model proposed names exactly one, so a reader asks for the role alone (Y3; cascade:OneModelProposerShape) ours: the role is the label
when the act's time is the yes's: the step's, as a person's own act carries its own (Y3) ours
asking MCP elicitation the door asks once per call, and writes on a yes only; a no, a dismissal and no answer write nothing (Y2, whose examples this note adds) borrowed from consent-tiers.md

Why

Why one new term, and not an HL7 code or none. (rows "the model", "told apart") A role is what PROV-DM gives for the part an agent played, and the shapes and every reader have to pick the model's association out by it, so it needs an IRI. PROV-O defines no roles. The HL7 participant types are the community's list, and none fits: author carries the responsibility for the content, which here is the person's, who said yes; enterer is a scribe, who types what the author says, while a model also proposes judgments the person did not state; informant reports information that contributed, but says nothing of a proposal the person accepted, and is used of a next of kin; composer is a device the author drives. And the codes have no IRIs, so any of them would be a cascade: term in any case, as cascade:AuthorRole is. Leaving the role off, and telling the model apart by its type alone, fails because every act is already associated with a prov:SoftwareAgent, the runtime that performed it, and PROV-O makes the qualified and the unqualified association one, so the type does not say which agent proposed.

Why the person stays the author. (row "a judgment's author") The rules that read judgments, which revision is current, which records are one, whether a judgment counts, all turn on whether a judgment is a person's or the matcher's. A judgment the person said yes to is one they chose to make: if it were attributed to the model, a Before or a Different the person confirmed would stop counting as theirs, and every view would need a third kind of maker. PROV's attribution is the ascribing of an entity to an agent, and the person is the one it is ascribed to; the model's part is in the association, which PROV allows any number of. The AI Transparency IG makes the AI the author because it records a clinical system's use of AI, where the AI's output is the product; in a pod, the person's yes is.

Why on the act, as the person's role already is. (row "where it is said") A person's judgment names its author's role on the act that generated it, and a document names its author, custodian and transmitter on the act that wrote it (judgments.md, row "maker"; republishing-sources.md). The model's part is one more association on the same act, so a query that reads prov:wasGeneratedBy/prov:qualifiedAssociation reads it with no new path, and one that reads prov:wasAttributedTo is unchanged. PROV-O's own property chain makes each qualified association a prov:wasAssociatedWith, so the unqualified statement is not written twice.

Why the person who said yes is the pod's owner. (row "the person who said yes") The door acts for the person whose pod it opened, and the question is shown to them. The role the person's own writes carry, cascade:PatientRole, is the same act seen from the same side: the person acting for themselves. A separate verifier role would say no more, and would make a confirmed judgment differ from a direct one in the person's role as well as the model's.

Why the door names the model and what it names it by is the door's. (row "the model") An MCP server knows the client's name and version, not the model; a page's WebMCP knows less. So the vocabulary requires only that the model is a prov:SoftwareAgent named by an IRI, typed where the act is, and never the runtime, which every act already names by prov:wasAssociatedWith. A door may label it with what it knows.

Alternatives that lost

Still open

What would change our mind