Everything Is a Markdown File
Wolffish is designed to be debuggable. Every layer of the system produces human-readable markdown artifacts that you can open in any text editor. There are no binary logs, no proprietary formats, no special tools required.If you can’t debug it by reading a markdown file, it’s a bug in Wolffish.
Four Sources of Truth
When something goes wrong, the answer lives in one of these four places:Debug Snapshots
The exact context sent to the LLM on every turn. Shows what the model actually saw.
Event Logs
Chronological record of every event that fired in the system.
Task Files
Step-by-step logs of tool execution — what ran, what returned, what failed.
Episode Files
What Wolffish remembered from conversations. Stored as markdown in hippocampus.
File Locations
| Artifact | Path | Written By |
|---|---|---|
| Debug snapshots | brain/prefrontal/.debug/context-{timestamp}.md | prefrontal.buildContext() |
| Event logs | brain/corpus/YYYY-MM-DD.log.md | corpus event bus |
| Task files | brain/motor/tasks/TASK-{id}.md | motor.createTask() |
| Episode files | brain/hippocampus/episodes/*.md | hippocampus.save() |
~/.wolffish/workspace/ by default).
Quick Diagnostic Flow
Follow this sequence when something goes wrong:Tools
You don’t need anything special to debug Wolffish. The app includes a built-in file viewer and markdown editor that lets you browse all debug artifacts without leaving Wolffish. For most debugging, it’s all you need. Recommended setup:- VS Code with the workspace open at
~/.wolffish/workspace/brain/ - Markdown Preview side panel for reading debug snapshots
- File Explorer sorted by date modified to see the latest artifacts
- Terminal with
tail -fon the daily event log for live monitoring: