iiRecord
Agentic AI Atlas · GAP-OBS-004: Policy Decision Trail
page:docs-harness-features-backlog-gaps-observability-gap-obs-004a5c.ai
II.
Page reference

page:docs-harness-features-backlog-gaps-observability-gap-obs-004

Reading · 1 min

GAP-OBS-004: Policy Decision Trail reference

Log every policy and approval evaluation persistently, creating an audit trail of security decisions including which rules were checked, what matched, and what was decided.

Pagewiki/docs/harness-features-backlog/gaps/observability/GAP-OBS-004.mdOutgoing · 0Incoming · 1

GAP-OBS-004: Policy Decision Trail

FieldValue
Categoryobservability
PriorityHigh
EffortM
StatusMissing

Description

Log every policy and approval evaluation persistently, creating an audit trail of security decisions including which rules were checked, what matched, and what was decided.

Current State

Breakpoint approval rules evaluate auto-approval with a reason field, but evaluation is not logged persistently. Capability restrictions in task definitions are advisory. No log of which policy rules were checked.

Target State

Every auto-approval evaluation logged to JSONL. Includes breakpointId, rules checked, matched rule, decision, timestamp. breakpoint:history enriched with decision reasoning. Policy logs accessible via embedded SDK dashboard.

Dependencies

  • GAP-SEC-001 -- governance policy layer for centralized evaluation

Key Files

ComponentPath
Breakpoint evaluatorpackages/sdk/src/breakpoints/evaluator.ts
Breakpoint rulespackages/sdk/src/breakpoints/rules.ts
Logging modulepackages/sdk/src/logging/

Recommendation

Phase 2 implementation. Log every policy evaluation to structured JSONL. Enrich breakpoint:history with decision details. Surface in embedded SDK dashboard.