Skip to main content
VelinStyle v1.4.0
⌂ Home

Audit & Undo 1.4.0

A semantic decision trail explains allowed and rejected changes and provides stack-based rollback.

Read APIs

const log = controller.getAuditLog();
controller.undoLast();
controller.undoAll();

Audit fields

Entries carry timestamp, intent type/target, reason, source, outcome, constraint hits, and semantic previous/next values. They do not contain HTML snippets, form values, or raw DOM trees.

Undo model

Reversible applies store inverse attribute patches. undoLast() restores the latest; undoAll() drains the stack. The Phase 6.1 Inspector delegates to these controller methods.

Retention boundary

The implemented default is an in-memory audit surface. Optional persistence remains host-controlled; Adapt does not create a hidden user profile.

Events

EventUse
velin-adapt-applySuccessful semantic mutation
velin-adapt-errorRejected intent or guardrail
velin-adapt-changeObserved semantic contract change