Class ApprovalProps
Persisted decision from an IApprovalGate. The combination of
(, , ,
) at the top level allows reviewer queries
("show every denial last week for tool X") without scanning value rows.
The approval id itself lives on the value_string column of
_objects (partial index on PostgreSQL/SQLite; no index on MSSQL) and,
normalized, in value_unique (per-scheme unique — one decision per id),
not in props.
[RedbScheme("LLM Approval")]
public class ApprovalProps
Inheritance
Properties
ApprovedBy
Identifier of the approver (user / service) — null when auto-approved.
public string? ApprovedBy { get; set; }
ConversationId
Owning conversation (null for ad-hoc approvals).
public string? ConversationId { get; set; }