diff options
| author | Agando <roduccomm@gmail.com> | 2026-06-23 06:00:45 +0200 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-06-23 06:00:45 +0200 |
| commit | e9b75cd3a801689f57bc8a013f14c058e57e3b46 (patch) | |
| tree | a40a2b9ab142e4f3432d4686f52d177535b51d74 /skills/debug-panel-and-logs.json | |
| parent | 6f6161562c5f1028256f3163083b665719741646 (diff) | |
auto: 2026-06-23_06:00 changes
Diffstat (limited to 'skills/debug-panel-and-logs.json')
| -rw-r--r-- | skills/debug-panel-and-logs.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skills/debug-panel-and-logs.json b/skills/debug-panel-and-logs.json index e7fa6ed..ac1107f 100644 --- a/skills/debug-panel-and-logs.json +++ b/skills/debug-panel-and-logs.json @@ -8,7 +8,7 @@ "troubleshooting" ], "category": "system", - "created": "2026-06-18T00:39:10.885Z", - "updated": "2026-06-18T00:39:10.885Z", + "created": "2026-06-22T19:02:49.949Z", + "updated": "2026-06-22T19:02:49.949Z", "content": "---\nname: debug-panel-and-logs\ndescription: How to use the debug panel, session logging, and terminal diagnostics\ntags: [debug, logging, diagnostics, troubleshooting]\ncategory: system\n---\n## Steps\n1. **Toggle debug panel:**\n - debug — opens real-time debug panel showing last AI tool call, response time, and context\n - Debug panel includes Copy, Export, and Write to VFS buttons\n - Export: saves tool call log as timestamped JSON to downloads\n - Write to VFS: appends debug data to /debug.log (dedup by turn ID)\n\n2. **Session logging:**\n - logs [n] [LEVEL] — view last n log entries (optionally filtered by INFO/WARN/ERROR)\n - logrotate — rotate current.log to dated archive (auto-cleans old logs beyond 10)\n - Logs stored in /logs/ directory: current.log + dated archives\n - Health check runs automatically after complex tasks\n\n3. **Diagnostic commands:**\n - health-check — full audit: VFS size, modules, logs, trash, skills\n - check — quick system health including module requirement status\n - mem — real-time memory usage (also in header)\n - status — network, files, modules, Ollama connectivity\n\n4. **System journals:**\n - debug.log — appended by debug panel VFS button (dedup by turn ID)\n - current.log — system activity log with rotation\n - Auto-save: terminal state auto-saves every 60s\n\n5. **When to use:**\n - AI is behaving unexpectedly → debug to see tool calls\n - User reports errors → logs 50 ERROR to see error entries\n - Memory concerns → mem to check, health-check for full audit" }
\ No newline at end of file |