Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JerryZLiu/Dayflow/llms.txt
Use this file to discover all available pages before exploring further.
Accessing Debug Tools
Dayflow provides built-in debugging features accessible from the menu bar icon and filesystem.Saved Recordings
Opening the Recordings Folder
Click the Dayflow icon in the menu bar → Open Recordings to view all captured content. FromStatusMenuView.swift:70-75:
Recording Storage Location
All recordings are stored in:- Video chunks (
.mp4files) - Screen recordings captured in 60-second segments - Screenshots (
.jpgfiles) - Periodic screen captures (newer capture method) - Timelapse videos - Generated summaries for timeline cards
File Naming Convention
Files are named with timestamp format:20260303_143052847.mp4 = captured on March 3, 2026 at 2:30:52.847 PM
Database Location
Dayflow uses SQLite for metadata storage:chunks- Video recording segmentsscreenshots- Screen captures with timestampsanalysis_batches- Groupings sent to AI for processingtimeline_cards- Generated activity summariesobservations- AI transcription outputsllm_calls- Detailed logs of all LLM API requests
Viewing Batch Contents
What Are Batches?
Batches group recording chunks for AI processing. Each batch represents a time window analyzed together to generate timeline cards. FromStorageManager.swift:656-674, batches track:
- Start/end timestamps
- Processing status (
pending,processing,completed,failed) - Associated chunks or screenshots
- LLM metadata (API calls, latency, errors)
Debug Log Export
Dayflow can generate detailed debug logs with batch, LLM, and timeline data. TheDebugLogFormatter.swift utility formats:
Timeline cards:
Logs and Console Output
Application Logs
Dayflow logs to the unified logging system. View logs in real-time:Filtering by Category
Dayflow uses category prefixes for different subsystems:Crash Reports
Crash logs are stored in:Troubleshooting Common Issues
Blank Screen Capture
Symptom: Timeline shows blank or black frames Causes:- Screen Recording permission not granted
- Permission granted but app not restarted
- Recording during screen lock/screensaver
Verify Screen Recording permission
Go to System Settings → Privacy & Security → Screen & System Audio RecordingEnsure Dayflow is enabled.
Restart Dayflow after granting permission
Quit Dayflow completely from the menu bar → Quit CompletelyRelaunch from Applications folder.From
ScreenRecordingPermissionView.swift:183-189, permissions require a full restart:Check for screen lock conflicts
Screen capture may fail during lock. Review timeline for gaps during known lock periods.
API Errors (Gemini/ChatGPT/Claude)
Symptom: Timeline stops generating, batches stuck in “processing” Causes:- Invalid or expired API key
- Network connectivity issues
- API quota exceeded
- Rate limiting
Verify API key configuration
Go to Dayflow Settings → AI ProviderRe-enter your API key if using Gemini.For ChatGPT/Claude CLI: ensure you’re logged in:
Check network connectivity
Verify internet connection and firewall settings.Test API access directly:
Review LLM call logs
Check Console.app for HTTP errors:Look for 401 (auth), 429 (rate limit), or 500 (server error) responses.
Permission Issues After macOS Update
Symptom: Dayflow stops capturing after a macOS update Solution:Re-grant Screen Recording permission
macOS updates sometimes reset TCC (Transparency, Consent, and Control) permissions.Go to System Settings → Privacy & Security → Screen & System Audio RecordingToggle Dayflow off then on.
Restart Dayflow completely
Menu bar → Quit Completely (don’t just hide the window)Launch from Applications folder.
High CPU or Memory Usage
Symptom: Dayflow using excessive resources Diagnostics:- Large batch processing: CPU spikes during AI analysis are normal
- Database contention: Check for slow queries in logs
- Storage cleanup running: Hourly purge may briefly increase I/O
- Reduce recording quality in settings (if available)
- Increase storage limit to reduce purge frequency
- For local AI: ensure model is fully loaded in VRAM (check Ollama/LM Studio logs)
Missing Timeline Cards
Symptom: Recordings exist but timeline is empty Diagnostics:Debug Build Features
When building from source withDEBUG configuration, additional logging is enabled:
From StorageManager.swift:493-501:
Advanced: Inspecting SQLite Database
Useful Queries
Recent timeline cards:Backup Database
Before manual edits, backup the database:Getting Help
If troubleshooting doesn’t resolve your issue:- Check GitHub Issues for similar problems
- Collect debug info:
- Console.app logs filtered for Dayflow
- Recent timeline cards and batch status from database
- System info: macOS version, Dayflow version (menu bar → About)
- Open a new issue with details
Related Documentation
- Building from Source - Build debug version for enhanced logging
- URL Scheme Automation - Automate recording for testing