# Vocabulary of the LLMOps layer

**Address:** `miadi-foundation:tracing-provider-vocabulary/vocabulary.md`
**Date:** 2026-10-19
**Status:** the packet's concept list. It replaces the table in [`synthesis.md`](./synthesis.md) ("The
vocabulary", 2026-10-13 and 15), which stays as the record of how the list began.

## What changed on 2026-10-19

- **The package is LLMOps.** Guillaume, S30 on the session inventory page (verbatim in miadi-chronicle
  `_staging_for_new_episodes/choosing-the-notes-session-inventory-261019/comments-261019.md`): "this new
  package … which is the large language model ops package … I did not like the word tracing for a
  package, because it involved like prompt management systems. It involves other parts of it." This
  revises D1 and D2 of the synthesis (see "Decisions" below).
- **Three domains, five circles.** `miadi-review:4804bd57-7d6d-4d24-8863-31a59bdea7c9` and
  `miadi-review:fb093ca1-70a3-427c-bb37-476854bc2edb`, with jgwill/Miadi#815: domains Creative,
  Ceremonial and Engineering, and circles Story, Stewardship, Engineering, Evaluation and Continuity.
- **Statuses for what is claimed.** jgwill/Miadi#815: "witnessed fact, working hypothesis, envisioned
  feature and fictional scene have separate statuses and traceable links", and "Creative success cannot
  be inferred from a green agent run. Keep author judgment and operational measurements separate."
- **Cost is part of the record.** `miadi-review:a66e014e-67ad-47e2-955e-97e51835564e`, Guillaume's Notes
  and taxonomy: observability is the control surface for the trade-off between performance, speed and
  cost, and arbitrage is the value captured beyond token cost.
- **The wheel has developer kinds.** jgwill/medicine-wheel suite 0.21.0: `repository`, `feature`,
  `capability` (west), with the edges `provides`, `realizes` and `consumes`.

## Six axes

Each thing the layer holds is described along six axes. Each axis answers one question and has its
own short list of values. None of them is a kind of another.

| axis | question | values (EN / FR) | where it is written today |
|---|---|---|---|
| domain | in which project, under which keys? | Creative / Créatif (`creative`), Ceremonial / Cérémoniel (`ceremony`), Engineering / Ingénierie (`eng`) | `domain` key, one provider project each |
| class | what kind of thing is it? | record / enregistrement, instrument / instrument, assessment / évaluation | this list |
| capability | which part of LLMOps handles it? | tracing / traçage, prompt management / gestion des consignes, dataset management / gestion des jeux de données, evaluation / évaluation, usage accounting / comptabilité d'usage | proposed: wheel `capability` nodes |
| circle | who is accountable for it? | Story / Récit, Stewardship / Intendance, Engineering / Ingénierie, Evaluation / Évaluation, Continuity / Continuité | circles of jgwill/Miadi#815 |
| status | how real is what it says? | fact / fait constaté †, hypothesis / hypothèse de travail, envisioned / envisagé †, fiction / fiction | proposed key |
| source | how does the record know it? | captured / capté, given / donné, reported / rapporté, retrieved / récupéré, inferred / inféré, assumed / présumé | proposed key |

**Status and source are two axes, not one.** Linguistics keeps them apart: modality concerns "the status
of the proposition that describes the event" (Palmer 2001), and evidentiality marks where the speaker's
knowledge came from (Aikhenvald 2004, L3-F6). The four statuses of jgwill/Miadi#815 map to four
linguistic categories (L6-F9). A fact is realis. A hypothesis is epistemic modality. An envisioned
feature is irrealis event modality, something not yet actualized. Fiction is none of these: in fiction
the author pretends to assert (Searle), and novels use the indicative. So #815's "witnessed fact" is two
values, `status: fact` with `source: captured`. A fictional scene can be captured from a recording, and
a fact can be reported second-hand. In French use *réalis / irréalis* for the typological terms:
French grammar's *irréel* means only the counterfactual (L6-F10). The six source values come from the 2026-10-15 packet
(captured, reported, inferred, given) and from the Evaluation circle of `4804bd57` §4.3, which asks to
"distinguish supplied-video evidence, externally retrieved information, general model knowledge, and
inference": `retrieved` and `assumed` (model knowledge with no source) are added for it.

**"Engineering" names a domain and a circle.** The Engineering domain is the `eng` provider project,
the records of the Factory's own engineering. The Engineering circle is who is accountable for
capabilities. Write "Engineering domain" or "Engineering circle", never "Engineering" alone. "Evaluation"
also names a circle and a capability. The Evaluation circle uses the evaluation capability, so the two
can share the word when the noun says which.

## Concepts

Match types are SKOS mapping properties. † marks a French term chosen by the coordinator, open to a
French-speaking reader's correction. "state" says whether the code has it.

### The layer

| code token | concept | EN | FR | admitted | definition | maps to | state |
|---|---|---|---|---|---|---|---|
| `@miadi/tracing` (today) | LLMOps layer | LLMOps | LLMOps (opérations des grands modèles de langage †) | provenance and assessment (description), tracing (deprecated as the layer's name) | The package that holds the records, instruments and assessments of language-model operations, across the three domains, behind a provider. It does not perform the operations (deployment, fine-tuning, serving). | LLMOps as a subcategory of MLOps (Pahune and Akhtar 2024; Kreuzberger et al. 2023 principles P4, P7, P8), close and broader (L6-F2, L6-F4) | name decided by Guillaume 2026-10-19; npm name open |
| `TracingProvider` | provider | provider | fournisseur | backend | The external service that stores the records and instruments: Langfuse first. The vocabulary never names it. | L2 crosswalk | exists |

### Capabilities (what the package provides)

Each rides the wheel's `capability` kind (west), `provides`d by the package's `repository` node. A
feature `realizes` one. Example: "a prompt held by its label is pinned to the version the label names"
(jgwill/Miadi `03685542`) realizes prompt management.

| concept | EN | FR | definition | holds | maps to |
|---|---|---|---|---|---|
| tracing | tracing | traçage | Recording runs as traces, observations and sessions, as they happen. | records | OTel traces (L2), PROV `prov:Activity` (L1) |
| prompt management | prompt management | gestion des consignes † | Keeping prompts as versioned texts, with pointers that say which version is in use. | instruments | Langfuse prompts, MLflow Prompt Registry (L2), `lrm:Work` (L4) |
| dataset management | dataset management | gestion des jeux de données | Keeping datasets with their purpose and version, and the runs made over them. | instruments | `dcat:Dataset` (L4) |
| evaluation | evaluation | évaluation | Assessing records against criteria, by a rule, a judge model or a person. | assessments | DQV, EARL, `oa:assessing` (L1, L5) |
| usage accounting | usage accounting | comptabilité d'usage † | Counting what a run consumed (tokens, time) and computing its cost from a dated price. | measures on records | `gen_ai.usage.*`, `gen_ai.client.operation.duration` (L6-F6); FinOps reads it (L6-F7) |

### Records (what happened)

| code token | concept | EN | FR | admitted | definition | maps to | state |
|---|---|---|---|---|---|---|---|
| none | record | record | enregistrement † | | What the layer kept of something that happened, captured as it happened. | `prov:Bundle` close | top concept |
| `trace` | run record | trace | trace | | The record of one run, made of observations. | `prov:Bundle` (record), `prov:Activity` (run), Langfuse Trace exact | exists |
| none | observation | observation | observation | span, step | One step inside a trace: a call, a tool use, a generation. | Langfuse Observation exact, OTel Span close | proposed (A2) |
| `session` | provider session | session | session | conversation, thread | The provider's grouping of the traces of one interaction. | Langfuse Session exact, XES case close | exists |
| none | working session | working session | session de travail † | agent session | One agent conversation, identified by its session id across resumes and renames. | `prov:Activity` + `prov:wasAssociatedWith` | jgwill/medicine-wheel#159 |
| none | evaluation run | evaluation run | passe d'évaluation † | dataset run, experiment | One pass over an evaluation set, each item linked to the trace it produced. | Langfuse dataset run exact | proposed |
| none | usage | usage | jetons consommés † | token usage | What one observation consumed: input and output tokens, including cached and reasoning tokens. | `gen_ai.usage.input_tokens`, `gen_ai.usage.output_tokens` exact (L6-F6) | provider holds it, not the contract |
| none | cost | cost | coût | | Usage multiplied by a unit price. Prices change, so a cost is revisitable only when it names its price source and date. | no OpenTelemetry attribute; FOCUS `BilledCost` partial (L6-F6) | provider holds it |
| none | latency | latency | latence | duration | The time between an observation's start and end. | `gen_ai.client.operation.duration` exact (L6-F6) | provider holds it |

### Instruments (what work is made with or tested against)

| code token | concept | EN | FR | admitted | definition | maps to | state |
|---|---|---|---|---|---|---|---|
| none | instrument | instrument | instrument | | What work is made with or tested against: chosen, versioned, managed. | `prov:Plan`, `prov:Collection` (broader) | top concept |
| `prompt` | prompt | prompt | consigne | prompt (FR) | A versioned instruction given to a model, a directive act. | `prov:Plan` close, `lrm:Work` close | exists |
| `version` | prompt version | version | version | state (FR état) | One fixed text of a prompt. | `lrm:Expression` close, `dcat:version` exact, `prov:wasRevisionOf` exact | exists, pinned when held by label (`03685542`) |
| `label` | version pointer | version pointer | pointeur de version † | label | A name that points at one version and can move: computed (`latest`) or declared by an authorized person (`production`). | `latest` → `dcat:hasCurrentVersion` exact, `production` → none | exists |
| `dataset` | dataset | dataset | jeu de données | collection | A set of items assembled for one declared purpose: corpus, evaluation, exemplars or training. | `dcat:Dataset` exact | exists, purpose and version proposed (A3) |
| none | criterion | criterion | critère | quality criterion | The aspect of quality judged, with its author, its intended use and its level of measurement. | `dqv:Dimension` close, `earl:TestCriterion` close | proposed |
| `score-config` | metric | metric | métrique † | score configuration | A criterion narrowed to a name, a data type and a range. | `dqv:Metric` close, Langfuse ScoreConfig exact | exists |

### Assessments (what the work is worth, and who said so)

| code token | concept | EN | FR | admitted | definition | maps to | state |
|---|---|---|---|---|---|---|---|
| none | assessment | assessment | évaluation | | What a work is worth against a criterion, and who said so. | `oa:assessing` broader | top concept |
| none | score | score | score | note (FR) | A value given to a trace, an observation, a session or an evaluation run against a metric, by a rule or a judge model. Its source is `inferred`. | `dqv:QualityMeasurement` close, `earl:TestResult` close, `earl:mode earl:automatic` | proposed (A2) |
| none | judgment | judgment | jugement | appraisal, author judgment | A person's assessment of a target against criteria, in their own words, its body a witnessed turn. Its source is `given`. | `oa:Annotation` + `oa:assessing`, `earl:mode earl:manual` | proposed (jgwill/medicine-wheel#161) |

An evaluation run can carry cost beside its quality score as a second metric, since accuracy alone
hides what a result cost (Kapoor et al., L6-F7). jgwill/Miadi#815 names the score and judgment split
from the author's side: "Operational evidence and creator
experience are visible as distinct assessments." A score is operational evidence. A judgment is the
creator's experience. Neither is derived from the other.

### Relations (what an episode does with a held thing)

| token | reads | for | state |
|---|---|---|---|
| `is-traced-in` | the episode's work is traced in this trace or session | records | exists |
| `is-prompted-by` | the episode's work is prompted by this prompt version | prompts | exists |
| `generates-with` | the episode writes with this creative prompt or corpus | prompts, datasets | exists |
| `is-evaluated-with` | the episode's work is tested against this evaluation set | datasets | exists |
| `is-assessed-against` | the episode's work is assessed against this metric or judge prompt | metrics, judge prompts | exists since 2026-10-15; `is-scored-by` reads as it |

## Decisions, revised 2026-10-19

- **D1, revised by Guillaume's word.** The package is LLMOps. "Tracing" names one capability. Until
  the package team names the npm package, `@miadi/tracing` stays published. Every `miadi-tracing:`
  address already held keeps resolving, as S28 recommends. The vocabulary asks only this of any address
  form: it names the domain, the resource, the id and the version, and never the provider.
- **D2, revised.** The layer is called LLMOps. "Provenance and assessment" stays as the one-line
  description of what it does: records and instruments are what W3C PROV covers, and assessments are
  what DQV, EARL and Web Annotation cover.
- **D3 stands.** "Version pointer" for `label`, "metric" for `score-config`.
- **D4 stands.** The concept scheme lives in `@medicine-wheel/ontology-core`. The capabilities above
  ride its `capability` kind, and the artefact kinds of
  [`wheel-ontology-exploration.md`](./wheel-ontology-exploration.md) ride `knowledge` beside the
  developer kinds.
- **D5, new.** `domain` stays the word for Creative, Ceremonial and Engineering. The reviews and
  jgwill/Miadi#815 say "domains", the 2026-09-22 ruling said `domain`, and S28 asked for one word.

## Cautions

- LLMOps has no agreed definition. Its own authors say so (Diaz-de-Arcaya et al. 2024, L6-F1). It is a
  practitioner term from 2023, and AWS renamed its FMOps/LLMOps material to GenAIOps in December 2025.
  The name is Guillaume's choice for the package, not a standard the package conforms to.
- Model choice and guardrail configuration are instruments in the literature (L6, coverage table) and
  are not among the five resources. They stay at the provider until a need appears.
  **2026-11-20:** a need appeared on the harness side, not at the provider. The kit's PreToolUse
  guards (the word gate first) are guardrail configuration the factory keeps as code, and none
  recorded its decisions. jgwill/miadi-orchestration-kit `foundations/agent-harness-and-controlled-language/`
  grounds them, and `rispecs/agent-harness-hooks/` specifies a guard ledger. On the axes above, a
  guard's refusal is `source: captured` from a machine and a person's correction is `source: given`.
  The capture had filed 58 guard refusals as corrections (measured 2026-11-20, kit packet's
  `01-reverse-engineer.md`).
- OpenTelemetry GenAI is at Development status. Pin a version before writing its names into a type.

## Open

- **Q1** The wheel direction of each artefact kind, for the circle. Suite 0.21.0 left `feature`
  without a direction for the same reason.
- **Q2** The npm name of the LLMOps package, for the package team.
- **Q3** Address forms beyond `miadi-trace:` and `miadi-prompt:` (`miadi-score:`, `miadi-dataset:`),
  for S28.
