Skip to content

feat(reflection): git-digest + transcript-scan journal (fix big-day under-reporting)#4

Open
Chad-Mufasax wants to merge 1 commit into
masterfrom
journal-git-digest
Open

feat(reflection): git-digest + transcript-scan journal (fix big-day under-reporting)#4
Chad-Mufasax wants to merge 1 commit into
masterfrom
journal-git-digest

Conversation

@Chad-Mufasax

Copy link
Copy Markdown
Contributor

Ports the journal-pipeline fix into the engine hooks (generic, no hardcoded paths).

daily-reflection.py — discovers sessions by scanning ~/.claude/projects by local date instead of the Stop-driven index (which missed ~40% of sessions / ~55% of records on busy days). Injects an authoritative git digest (own commits, --no-merges, deduped by subject) from repos discovered via session cwds; author from each repo's git config user.name. Fair per-session budget, line-boundary trim, streaming read, merge-not-overwrite, main() guard.

session-indexer.py — per-(session,day) lock so resumed sessions are re-indexed each active day.

test-hooks.sh — updated for scan-based discovery. ✅ 15/15 pass.

…nder-reporting)

daily-reflection.py: discover sessions by scanning ~/.claude/projects by local
date instead of the Stop-driven index (which missed ~40% of sessions / ~55% of
records on busy days). Inject an authoritative git digest (own commits, --no-merges,
deduped) from repos discovered via session cwds (no hardcoded paths, author from
git config). Fair per-session budget, line-boundary trim, streaming read, merge-not-
overwrite, main() guard for testability.

session-indexer.py: per-(session,day) lock so resumed sessions are re-indexed each
active day.

test-hooks.sh: updated for the scan-based discovery. 15/15 pass.
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