05 — Law Layer

Ledger

Accountability · Governance · Provenance

Ledger is not an optional log. It is the law layer. The black-box flight recorder of Auroch. Every command, briefing, dataset build, artifact, export, incident, review decision — recorded.

Not an optional log. The law layer. The black-box flight recorder of Auroch.

— The Ledger doctrine
What Gets Recorded

Every consequential event.

REC 01
Winnie Commands
Every command executed by the operator, with context and outcome.
REC 02
AVN Briefings & Exports
Source mode, lens, hash, provenance, caveats, uncertainty.
REC 03
Prospect Dataset Builds
Run scope, signals captured, quality score, manifest hash.
REC 04
Prospect Exports
Entitlement check, recipient, slice, license, redaction policy.
REC 05
Prometheion Artifacts
Lineage, prompt, provider, version, hash, export records.
REC 06
Performance Incidents
Degraded service, incident creation, recovery events.
REC 07
Review Decisions
Approved · Rejected · Blocked · Internal-only — with reviewer attribution.
REC 08
Daily Loop & Boot
Loop runs, boot reports, system diagnostics summaries.
REC 09
User-Approved Memories
Memory promotion events — approved persistent context.
The Event Spine

Append-only.
Privacy-aware.

17 typed events ride the spine — every consequential moment in the organism. Stored at ~/.winnie/auroch-events.jsonl.

Event Types
daily.loop.*
started · completed · failed — the Auroch Awakening Loop heartbeat.
briefing.*
generated · exported — AVN briefing lifecycle.
wire.interpreted
Lens interpretation completed against a wire item.
prospect.signal.detected
New signal surfaced by Prospect mining.
dataset.built
A dataset version was produced, hashed, scored.
dataset.export.*
requested · blocked — governance decision points.
artifact.generated
Prometheion produced a new artifact version.
artifact.exported
Artifact left the forge — recorded with destination.
scene.generated
Syna produced a scene specification.
task.created
A task was registered with the operator.
memory.suggested
A memory promotion was proposed for approval.
ledger.recorded
A cross-system event was registered with the Ledger.
health.degraded
A service moved out of nominal state.
incident.created
An incident was opened against a degraded service.
review.required
A governance gate is requesting human review.
system.diagnostics.completed
A full diagnostics pass finished — results recorded.
Cross-System

One endpoint.
All pillars.

POST /api/ledger/events
Cross-system event ingestion. Mapped to build log entries with provenance.
Endpoint
emit_event()
Helper used by every pillar to publish a typed event to the spine.
Helper
list_events()
Stream events for review, diagnostics, or audit purposes.
Helper
get_events_by_type()
Filtered retrieval by event type — used by /daily and /auroch-diagnose.
Helper
The Mantra

Winnie operates. AVN interprets. Prospect discovers.
Prometheion creates. Ledger proves. Performance watches. MERGE contains.