# tracing-provider-vocabulary

Grounds the layer of `@miadi/tracing` and `@miadi/tracing-langfuse`: what to call a layer that
traces, scores traces, keeps datasets for evaluation and for narrative, and manages prompt versions,
and which vocabulary its types and a later ontology should use. Survey and proposal only. Nothing in
the code was renamed.

| | |
|---|---|
| address | `miadi-foundation:tracing-provider-vocabulary` |
| date | 2026-10-13 |
| method | `deep-research-foundations`, five parallel lanes, predictions committed first (`e9b74ce8`) |
| verification | mixed: 106 sources, 104 verified ([`source-ledger.yaml`](./source-ledger.yaml)); L6 added 2026-10-19 |
| grounds | `packages/tracing`, `packages/tracing-langfuse`, `packages/episodic-memory-schema/src/episode-tracing.ts` |
| tracking | jgwill/Miadi#769 (the packages) · jgwill/medicine-wheel#161 (five links mapped to PROV) · jgwill/medicine-wheel#159 (an agent's session in the ontology) |

## Verdict

"Tracing" names about half of the layer. Records, instruments and assessments are three classes,
and providers, speech act theory and the W3C standards all keep them apart. Records and instruments
are what W3C PROV covers. Assessment (scores, criteria, a person's judgment) is what DQV, EARL and
Web Annotation cover. The layer is **provenance and assessment**. "Trace" stays the word for one
run record, and `tracing` stays in code. The packet proposes a bilingual concept table, eight code
changes and four decisions. On 2026-10-15, at Guillaume's word, D1 to D4 were decided, A1 and A5
were done in jgwill/Miadi `03685542`, and the wheel ontology exploration was written. On 2026-10-19 Guillaume named
the layer **LLMOps**, so "provenance and assessment" became its one-line description, and
[`vocabulary.md`](./vocabulary.md) was written as the packet's concept list.

## Read in this order

0. [`vocabulary.md`](./vocabulary.md): the concept list as of 2026-10-19. The layer is LLMOps
   (Guillaume's word). It is described along six axes, with English and French terms and the
   standard each maps to.
1. [`synthesis.md`](./synthesis.md): the three classes, findings F1 to F10, the concept table in
   English and French, the names O1 to O4, words not to use, proposed changes A1 to A8, decisions
   D1 to D4, the Jev scoring.
2. [`wheel-ontology-exploration.md`](./wheel-ontology-exploration.md): how
   `@medicine-wheel/ontology-core` would hold questions, instruments, records and assessments as a
   registered kind family, what moves upstream and what Miadi keeps (jgwill/medicine-wheel#161, #159, #164).
3. [`lanes/`](./lanes/): one file per lane with its terms table, findings, candidate names, mappings
   and sources.
   - `provenance-records-process-traces.md` (L1): PROV, archival science, process mining, OpenLineage
   - `observability-and-evaluation.md` (L2): Dapper, OpenTelemetry GenAI, providers' crosswalk for adapters, measurement and agreement
   - `linguistics-semiotics-textual-scholarship.md` (L3): Peirce, Ricoeur, speech acts, conversation analysis, corpus, genetic criticism, ISO 704
   - `datasets-corpora-and-versioned-works.md` (L4): datasheets, DCAT, IFLA LRM, configuration management, prompt evolution
   - `ontology-and-relational-data-governance.md` (L5): SKOS, DQV, Web Annotation, CARE, OCAP®, Local Contexts, Te Mana Raraunga, Wilson
   - `llmops-and-modality.md` (L6, 2026-10-19): LLMOps and MLOps, AgentOps, usage and cost, Palmer and the four statuses
4. [`PREDICTIONS.md`](./PREDICTIONS.md): what the coordinator expected before the lanes returned,
   and how each prediction scored.
5. [`context-layer.md`](./context-layer.md), [`intent-understanding.md`](./intent-understanding.md):
   the packet's framing.

## For an adapter author

The table "Adapter crosswalk" in `lanes/observability-and-evaluation.md` gives each of our resources
in Langfuse, OpenTelemetry GenAI, MLflow and LangSmith. OpenTelemetry carries traces and one
evaluation event. Prompts, datasets and score configurations need the provider's own API.

## Crosswalk

- `knowledge-organization-archives-and-provenance/`: the earlier PROV and OAIS grounding, from
  training knowledge. L1 and L5 go deeper with live sources.
- `self-improving-agent-loops/`: metric validity and Goodhart's law, cited by L2.
- `universe-and-perspective-vocabulary/`: the 2026-09-22 ruling that `ceremony`, `story`, `eng` are
  domains. Kept, with `story` renamed `creative` on 2026-10-14 (jgwill/Miadi#769).
- `bounded-contexts-and-integration-contracts/`: a provider read through a contract is a projection.
