Expand description
Observability: tracing init, audit log, security events.
Uses config::ObservabilityConfig for SKILLLITE_QUIET, LOG_LEVEL, AUDIT_LOG, etc.
Enums§
- Tracing
Mode - Tracing initialization mode.
Functions§
- audit_
command_ invoked - Audit: command_invoked — alias for execution_started (backward compat)
- audit_
confirmation_ requested - Audit: confirmation_requested (Rust-side L3 scan)
- audit_
confirmation_ response - Audit: confirmation_response (Rust-side user/auto)
- audit_
edit_ applied - Audit: edit_applied — agent wrote a file change via search_replace
- audit_
edit_ failed - Audit: edit_failed — agent attempted an edit that failed (not found, non-unique, etc.)
- audit_
edit_ inserted - Audit: edit_inserted — agent inserted lines via insert_lines
- audit_
edit_ previewed - Audit: edit_previewed — agent computed a dry-run diff via preview_edit
- audit_
evolution_ event - Audit: evolution event — logged when evolution produces changes or rolls back.
- audit_
execution_ completed - Audit: execution_completed (Rust-side)
- audit_
execution_ started - Audit: execution_started (right before spawn — Python name: execution_started)
- audit_
skill_ invocation - Audit: skill_invocation (P0 可观测 - 记录谁在什么上下文调用了哪个 Skill、输入摘要、输出摘要)
- init_
tracing - Initialize tracing. Call at process startup. When SKILLLITE_QUIET=1 (or SKILLBOX_QUIET for compat), only WARN and above are logged.
- security_
blocked_ network - Security event: network blocked
- security_
sandbox_ fallback - Security event: sandbox fallback (e.g. Seatbelt failed, using simple execution)
- security_
scan_ approved - Security event: scan approved — user approved after high/critical scan
- security_
scan_ high - Security event: scan found high/critical
- security_
scan_ rejected - Security event: scan rejected — user rejected after high/critical scan