feat: add persistent work journal with auto-snapshots and context recovery#4
Merged
Merged
Conversation
…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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Description
• Add persistent work journal system with
WorkJournalclass insrc/core/work-journal.tsthat stores snapshots locally in~/.config/devdaily/journal/• Implement automatic snapshot capture via
src/core/auto-snapshot.tswith side-effect snapshots after standup/PR generation and optional git hooks• Add new commands:
devdaily snapshotfor manual captures,devdaily contextfor work recovery, anddevdaily recallfor searching work history• Refactor standup generation with
src/core/standup-context.tsproviding rich contextual signals and factual data aggregation• Enhance existing commands with journal integration:
devdaily weeknow 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