Innsigle Use Session provenance

Session provenance

You finish an agent session with a shiny markdown file and no durable record of which prompts, tools, or models the harness captured. Session provenance records those events and proposes a short colophon for review, so the seal can name what the journal actually logged.

See the story first: Walkthrough: conversation → document → colophon

That page shows human prompts, the document the agent wrote, the proposed colophon, and a sealed-page footer, using the multi-agent fixture (Claude + Codex).

In one diagram

You prompt the agent
 ↓
Agent writes a document (model-primary bytes)
 ↓
Skill records journal → builds session record → proposes colo
 ↓
You review · optionally publish the record · sign claim to content bytes

Signing stays a separate, deliberate step. Auto-sign is out of scope.

Layers

LayerWhatPublic?
ContentThe markdown/HTML you shipYes
ColophonComposition + ingredientsYes (in claim)
Session provenancePrompt counts, tools, timelineOptional URL
Raw transcriptFull chatLocal by default

Quick results (fixture)

MetricValue
Human prompts6 (3 prompts × Claude and Codex)
Compositionmodel-primary
ModelsClaude, Codex
Toolsinnsigle-session, sloptimizer

Sloptimizer is listed as a tool. It does not flip composition to human-authored.

Machine pack

FileDescription
human-inputs.jsonScripted human prompts
session-claude.jsonlClaude journal
session-codex.jsonlCodex journal
session-provenance.jsonSession record
colo.jsonProposed colo
sealed-notes-claude.mdDocument from Claude
sealed-notes-codex.mdDocument from Codex

Reproduce

From a full clone of this repo:

npm run test:provenance-driver
innsigle provenance build \
 --journal session.jsonl \
 --generated-at 2026-07-24T18:00:00Z \
 --out l2.json
innsigle provenance propose-colo --provenance l2.json --out colo.json

(From a clone without install: node src/cli.mjs ….)

Check it

What we claim: the fixture driver proposes model-primary and lists rewrite tools without laundering authorship.

npm run test:provenance-driver
# then inspect examples under docs/website/static/examples/provenance/
# or site/examples/provenance/ after a site build

Expect: composition model-primary; ingredients include models and innsigle-session / sloptimizer as tools, not a flip to human-authored.

Spec