A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live
provenance
Every record names the commit, the branch and the episode that made it
What it is
- URI
majordomus://feature/provenance- Kind
feature- Identity
provenance- Path
.ai/repo/features/provenance.md- Provenance
- declared
- Media type
text/markdown- As a capability
- feature.provenance
Front matter
{
"schema": "feature/v1",
"id": "provenance",
"kind": "feature",
"title": "Every record names the commit, the branch and the episode that made it",
"short_title": "Provenance",
"headline": "Who did what, under which task, at which commit, in which session is a ledger the tool writes and a person can read back, not a memory of a conversation.",
"summary": "The ledger records every durable event with its task and its head; identity fields on any record are computed from git and refused when authored; a closed session is an immutable record of what one episode produced; the person's prompts are captured by the provider's hooks; and retention is capped by policy rather than by forgetting.",
"status": "stable",
"weight": 110,
"domain": "evidence",
"featured": true,
"areas": [
"observability",
"cost"
],
"audiences": [
"enterprise",
"engineering-lead"
],
"commands": [
"history",
"session",
"capture",
"watch"
],
"kinds": [
"session"
],
"rules": [
"majordomus.ledger-integrity",
"project.never-author-identity",
"majordomus.session-records",
"majordomus.retention-caps"
],
"docs": [
"docs/CONTINUITY.md",
"docs/ECONOMICS.md"
],
"adrs": [
"adr-0009",
"adr-0014"
],
"claims": [
"ledger-integrity",
"git-identity",
"task-commit-attribution",
"event-vocabulary",
"record-retention",
"history-ledger-read",
"retention-caps",
"telemetry",
"cost-per-outcome"
],
"use_cases": [
"read-back-what-happened",
"open-and-close-a-session"
],
"cockpit": [
"continuity"
],
"related": [
"continuity",
"knowledge"
],
"tags": [
"audit",
"ledger",
"sessions"
]
}Content
---
schema: feature/v1
id: provenance
kind: feature
title: Every record names the commit, the branch and the episode that made it
short_title: Provenance
headline: Who did what, under which task, at which commit, in which session is a ledger the tool writes and a person can read back, not a memory of a conversation.
summary: The ledger records every durable event with its task and its head; identity fields on any record are computed from git and refused when authored; a closed session is an immutable record of what one episode produced; the person's prompts are captured by the provider's hooks; and retention is capped by policy rather than by forgetting.
status: stable
weight: 110
domain: evidence
featured: true
areas: [observability, cost]
audiences: [enterprise, engineering-lead]
commands: [history, session, capture, watch]
kinds: [session]
rules: [majordomus.ledger-integrity, project.never-author-identity, majordomus.session-records, majordomus.retention-caps]
docs: [docs/CONTINUITY.md, docs/ECONOMICS.md]
adrs: [adr-0009, adr-0014]
claims: [ledger-integrity, git-identity, task-commit-attribution, event-vocabulary, record-retention, history-ledger-read, retention-caps, telemetry, cost-per-outcome]
use_cases: [read-back-what-happened, open-and-close-a-session]
cockpit: [continuity]
related: [continuity, knowledge]
tags: [audit, ledger, sessions]
---
## What it does
Every command that changes durable state appends one event to the ledger, with the task and
the head it happened at, from a closed vocabulary. `majordomus history` reads it back and
validates it; `watch` reports drift between policy, projections, state and git with the
command that reproduces each finding. A closed session record names the branch, the commit
it started from, the one it ended at, the commits between, the paths changed and every
record the episode produced, all derived; the working copy is named by a hash, never by a
path on somebody's machine.
That is the foundation for tracing a change from the provider and model class that made it,
through the session and the task, to the commit and the decision it rests on — as data a
program can read, on every surface.
## What it does not do
It measures no tokens and no cost itself; the ledger records the events a cost model
needs, and the economics subsystem, which measures tokens only in matched runs, says what it
does and does not measure. It makes no
compliance claim: what it provides is a trail with computed identities, and what an
organisation does with it is the organisation's.