SkilldexAll articles

Audit skill actions with a small factual record

Record who requested which action, what was authorized, and what the system confirmed.

An audit record must explain an action long after the surrounding chat is gone. A concise record of identity, scope, decision, and effect is often more useful than a raw transcript, and it can avoid retaining confidential inputs that are unrelated to the audit purpose.

Write events around authoritative transitions

Record when a proposal is accepted, when authorization is evaluated, and when the service confirms or rejects a side effect. Include stable versions and references needed to trace the event to the right resource. Distinguish requested, denied, queued, and committed states instead of collapsing all attempts into a single event.

Keep review access separate from operations

Limit who can inspect audit particulars and how long different facts are retained. A day-to-day dashboard can show counts, while a privileged review can look up the exact action record. Avoid putting full content or access tokens in routine records when an appropriate digest or controlled reference provides the needed evidence.

Prove the trail on a synthetic run

Ask a reviewer who was not present to reconstruct the sequence using audited facts. Check whether they can tell which policy was applied, which downstream record changed, and whether the final summary matched it. Fix missing links without broadening general access.

Sources