Skip to content

feat: add persistent work journal with auto-snapshots and context recovery#4

Merged
hempun10 merged 1 commit into
mainfrom
refactor/standup-generation
Feb 14, 2026
Merged

feat: add persistent work journal with auto-snapshots and context recovery#4
hempun10 merged 1 commit into
mainfrom
refactor/standup-generation

Conversation

@hempun10

Copy link
Copy Markdown
Owner

feat: add persistent work journal with auto-snapshots and context recovery

Jira Ticket number and link

Ticket No: #2

Ticket link: #2

Ticket No: #1

Ticket link: #1

Type of Change

  • 🚀 New feature
  • 🪲 Bug fix
  • 📈 Documentation update
  • 🛠️ Refactoring
  • 🐦‍🔥 Hotfix
  • 🔐 Security patch
  • ✨ UI/UX improvement

Description

• Add persistent work journal system with WorkJournal class in src/core/work-journal.ts that stores snapshots locally in ~/.config/devdaily/journal/
• Implement automatic snapshot capture via src/core/auto-snapshot.ts with side-effect snapshots after standup/PR generation and optional git hooks
• Add new commands: devdaily snapshot for manual captures, devdaily context for work recovery, and devdaily recall for searching work history
• Refactor standup generation with src/core/standup-context.ts providing rich contextual signals and factual data aggregation
• Enhance existing commands with journal integration: devdaily week now supports cross-project summaries and custom date ranges
• Add comprehensive test suite with 654 tests across 12 files, including auto-snapshot, work-journal, and standup-context modules

Closes #2
Closes #1

Impact

This major release transforms devdaily from a simple reporting tool into a comprehensive work tracking system with persistent memory. Users can now recover context after interruptions, search their work history, and benefit from automatic work capture with zero friction.

Additional Information

This release includes a production-grade README rewrite, new .devdaily.json config file, and git hook integration for automatic work tracking. The journal system respects privacy by storing data locally only.

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings

…production README

- Add persistent work journal (work-journal.ts) with local storage, search,
  cross-project aggregation, merge, prune, and stats
- Add snapshot builder (snapshot-builder.ts) capturing repo state into
  WorkSnapshot objects (branches, commits, PRs, tickets, diffs, categories)
- Add devdaily snapshot command (snap/save) for manual captures with notes/tags
- Add devdaily context command (ctx/resume) for context recovery after breaks
- Add devdaily recall command (search/find) for work history search
- Add auto-snapshot side-effects (auto-snapshot.ts) — silent snapshots fire
  when running standup, pr, or week commands with zero friction
- Add opt-in git hooks (post-commit, post-checkout) for automatic captures
- Add --git-hooks/--remove-hooks to devdaily init with interactive setup
- Add --no-journal flag to standup/pr, --no-auto-snapshot to week
- Add journal config section (autoSnapshot, gitHooks, hooks, quiet)
- Rewrite README to production-grade standard with full command reference,
  config docs, architecture overview, testing guide, and FAQ
- Update CHANGELOG with v0.5.0 entry
- Fix all ESLint and Prettier issues across the codebase
- Fix require() imports in work-journal.ts (use ES module imports)
- Fix unnecessary regex escape in autoTag character class
- Fix unused imports in test files (lint-staged compliance)
- 654 tests passing across 12 test files (74 new auto-snapshot tests)
@hempun10 hempun10 merged commit 8b42aad into main Feb 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant