The context command helps you recover your work context after time away, context switching, or returning to a project. It visualizes your recent activity from saved journal snapshots.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/hempun10/devdaily/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
Recover your work context from the last 7 days:How It Works
Analyze Activity
Shows current branch, active branches with uncommitted work, and recent activity timeline.
Context recovery requires journal snapshots. If you haven’t taken snapshots yet, the command will create one for you automatically.
Command Options
Time Range
| Option | Description | Default |
|---|---|---|
-d, --days <number> | Number of days to look back | 7 |
--date <date> | Show context for specific date (YYYY-MM-DD) | - |
--from <date> | Start date for range (YYYY-MM-DD) | - |
--to <date> | End date for range (YYYY-MM-DD) | - |
- Last 7 Days
- Last 14 Days
- Specific Date
- Date Range
Project Filtering
| Option | Description |
|---|---|
-p, --project <id> | Filter by project identifier |
--all-projects | Show context across all tracked projects |
Display Options
| Option | Description |
|---|---|
--ai | Generate AI-powered “where did I leave off?” summary |
--branches | Show detailed active branch status |
--raw | Output raw context data (no formatting) |
--no-copy | Don’t copy AI summary to clipboard |
--debug | Show debug output |
Output Components
Project Header
Current Branch
Active Branches
Shows branches with work-in-progress:Branch Status Indicators
Branch Status Indicators
- ▸ - Current branch marker
- ← you are here - You’re currently on this branch
- ↑N ahead - Branch is N commits ahead of base
- ● uncommitted changes - Branch has uncommitted work
Activity Timeline
Chronological view of recent work:Pull Requests
PR State Indicators
PR State Indicators
- ○ - Open PR (green)
- ● - Merged PR (accent color)
- ✕ - Closed PR (gray)
Tickets
Work Areas
Bar chart showing time distribution:AI-Powered Summary
Add--ai to get a concise briefing:
Example AI Output
- Main work themes over the period
- What’s completed vs. in progress
- Open branches and uncommitted work
- Logical next steps based on patterns
Multi-Project Context
View context across all your projects:First-Time Usage
If you haven’t taken snapshots yet:Building Your Journal
To build up context history:Use Cases
After a Weekend
After Context Switching
After a Vacation
Reviewing Old Work
Daily Standup Prep
Detailed Branch View
Use--branches to see all active branches, not just those with uncommitted work:
- All branches with recent commits
- Last commit message per branch
- Files modified in each branch
- Commits ahead of base
Raw Context Mode
For automation and integrations:Example Workflows
Quick Morning Check
Deep Dive Recovery
Project-Specific Recovery
Export for Documentation
Configuration
Customize in.devdaily.json:
Troubleshooting
No work context found
No work context found
If you see “No work context found for the specified period”:
-
Take snapshots to build your journal:
-
Look back further:
-
View all snapshots:
Context seems incomplete
Context seems incomplete
Journal snapshots are only as complete as the data saved:
- Take snapshots regularly (daily or after major work)
- Enable auto-snapshots (enabled by default in standup, pr, week)
- Use
--debugto see what data is available
AI summary fails
AI summary fails
Ensure GitHub Copilot CLI is installed:
Related Commands
devdaily snapshot- Take and manage work snapshotsdevdaily recall- Search your work historydevdaily week- Generate weekly summariesdevdaily standup- Generate daily standups