Synedrix OS
OS agent 8 of 12 · os-agt-008

Audit & Lineage Agent

Reconstructs what happened, why, and under whose authority, from traces, policy decisions and tool call logs. Strictly read-only.

FAMILY
Observability
OS LAYER
Layer 10
DECISION SCOPE
recommend
RISK TIER
medium
VERSION
0.2
ESCALATION PATH
  1. Audit & Lineage AgentAudit & Lineage AgentAudit & Lineage Agent
Mission

What the Audit & Lineage Agent is for

Correlate workflow execution traces, agent invocation records, policy decisions, and tool call logs into structured run lineage, and respond to explainability queries with a complete, sourced reconstruction of what happened, why, and under whose authority.

Family: Observability. Registry definition version 0.2.

Position

Where it sits in the architecture

Every OS agent is assigned to one of the twelve canonical layers, and inherits that layer's boundary.

Layer 10: Observability

Governance and observability

Make execution measurable, explainable, and reviewable.

Read the Observability layer

Other OS agents at this layer

Authority

What it may decide, and where it stops

Every agent declares its authority explicitly. The boundary is as much a part of the design as the capability.

Decision scope

RECOMMEND

Proposes actions and produces outputs. Never executes them.

It produces lineage and audit outputs and modifies no record. Read-only by design, and listed in no agent's allowed tools.

Side effects it may trigger

None. This agent triggers no side effects.

Approval required

None for standard lineage queries. Access to sensitive policy decision details may require a role-based authorisation check through the Policy Guard Agent.

Risk tier: medium · Governance class: autonomous

AUTHORITY BOUNDARY
The Audit & Lineage Agent is strictly read-only and always will be. It may never modify, redact, or amend audit records. Any amendment to audit state is a human operator action with its own audit trail.
Contract

What goes in and what comes out

The input and output contracts are fixed by the registry, so any workflow can rely on them.

It receives

A query of one of four types (lineage trace, decision explanation, policy audit, run summary), with the entity, workflow and time range it concerns.

{ query_type: lineage_trace | decision_explanation | policy_audit | run_summary, entity_id?, workflow_id?, correlation_id, time_range? }

It always returns

A lineage: the ordered steps with timestamp, actor, action, inputs, outputs, policy decision and authority, and whether the audit is complete.

{ lineage_id, query_type, entity_id?, workflow_id?, steps: [{ timestamp, actor, action, inputs, outputs, policy_decision?, authority }], audit_complete: bool, correlation_id }
Access

Tools, systems and memory

An agent may use only what its definition lists. Anything else is an authority-boundary change.

Tools allowed

  • Supabase audit trail reader
  • Neo4j lineage graph reader
  • Langfuse trace reader
  • Log aggregation query adapter

Systems allowed

  • Supabase (read)
  • Neo4j (read)
  • Langfuse (read)
  • Grafana and Loki log store (read)

Memory scope

  • Audit state: read
  • Graph memory: read
  • LLM trace memory: read
Task surface

The task classes it handles

Autonomous classes need no approval gate. Gate classes are the control itself, so they are not graded.

trace-lineageAUTONOMOUS
explain-decisionAUTONOMOUS
audit-policyAUTONOMOUS
summarise-runAUTONOMOUS
In the system

Who it works with

Agents never act alone. These are the hand-offs that matter for this one.

Reads the policy decisions it recorded; sensitive detail may need a check through it.

Owner workflows: WF-OS-AUDIT-QUERY; WF-OS-LINEAGE-TRACE; WF-OS-INCIDENT-POSTMORTEM.

Common questions

Audit & Lineage Agent questions, answered

Short, citable answers drawn from this page.

What does the Audit & Lineage Agent do?

It correlates execution traces, agent invocations, policy decisions and tool call logs into run lineage, and explains what happened, why and under whose authority.

Can the Audit & Lineage Agent change audit records?

No. It is strictly read-only and always will be. It may never modify, redact or amend audit records; any amendment is a human operator action with its own audit trail.

What questions can the Audit & Lineage Agent answer?

Four query types: a lineage trace, a decision explanation, a policy audit and a run summary, each scoped by entity, workflow, correlation id and time range.

Can another agent call the Audit & Lineage Agent?

No. It is listed in no agent's allowed tools. It triggers no side effects and reads only audit state, graph memory and LLM trace memory.

Who does the Audit & Lineage Agent escalate to?

Audit findings that need action go to a human compliance owner. Access to sensitive policy decision detail may need a role-based check through the Policy Guard Agent.

The full registry definition of the Audit & Lineage Agent, with every field summarised on this page, lives in the documentation repository, which is private while the platform is being built.

Follow the buildAll twelve agents

Back to the platform overview

Latest post