Revisão e Trilha de Auditoria
Revisão e Trilha de Auditoria
Seção intitulada “Revisão e Trilha de Auditoria”This feature protects legal text integrity over time
Seção intitulada “This feature protects legal text integrity over time”Leci includes a dedicated revision path to ensure legal content changes are traceable and attributable. This avoids silent edits that would undermine trust in legal outputs.
Current implemented mechanism
Seção intitulada “Current implemented mechanism”The SQL function leci.apply_revision(...) performs controlled updates and logs revision records. It restricts editable fields to legal text-sensitive columns and records old/new values, actor, reason, and optional suggestion linkage.
Suggestion-to-revision lifecycle
Seção intitulada “Suggestion-to-revision lifecycle”The intended flow is:
- suggestion submitted against a node;
- revision applied via
apply_revision; - revision persisted in
revisions; - linked suggestion status updated to
applied.
Non-negotiable invariant
Seção intitulada “Non-negotiable invariant”Governance status
Seção intitulada “Governance status”🚧 Planned Feature — Reviewer roles, approval policy, and SLA-based governance workflow are roadmap-defined and not fully implemented yet.
Audit quality checks
Seção intitulada “Audit quality checks”Recommended checks for operational maturity:
- every legal text update has a revision record;
- revision actor and reason are not null in governed flows;
- suggestion state transitions are consistent when linked.