AgentAuditEntry constructor
const
AgentAuditEntry({
- int opId = 0,
- required String op,
- required String? targetId,
- String? locator,
- required AgentAuditEntryPoint entry,
- required String scopeId,
- required bool allowed,
- String? denyReason,
- int? gate,
- int undoRef = -1,
- required DateTime appliedAt,
- required String toolName,
- String? programId,
- String? programSha256,
- required AgentAuditOutcome outcome,
- int? mutationCount,
- int? logBytes,
Implementation
const AgentAuditEntry({
this.opId = 0,
required this.op,
required this.targetId,
this.locator,
required this.entry,
required this.scopeId,
required this.allowed,
this.denyReason,
this.gate,
this.undoRef = -1,
required this.appliedAt,
required this.toolName,
this.programId,
this.programSha256,
required this.outcome,
this.mutationCount,
this.logBytes,
}) : assert(allowed == (denyReason == null)),
assert(gate == null || !allowed);