Decisions

  • Pending: Manual skill vs automatic SessionEnd hook?
  • Pending: One file per session or append to daily file?

User Tasks


Summary

Generate a human-readable summary of each work session — what was done, decisions made, blockers hit — to maintain continuity across sessions.

Problem / Motivation

  • Git log shows file-level diffs but not the narrative: why changes were made, what was decided, what’s blocked.
  • When resuming work days later, context is lost — the user has to reconstruct what happened.
  • Session recap (FR-017) shows recent state at start, but nothing captures the session at end.
  • Daily briefings (FR-062) need session summaries as input — without them, briefings lack “what happened yesterday.”

Proposed Solution

A /changelog skill (and optional SessionEnd hook) that generates a per-session summary in vault/30_daily/changes/. Captures: work done, FRs touched, decisions made, blockers, and suggested next steps. Feeds into briefings and session recap.


Open Questions

1. Trigger

Question: How should the changelog be generated?

OptionDescription
A) Skill + optional hook/changelog on demand, SessionEnd hook as opt-in
B) Automatic onlySessionEnd hook always runs
C) Manual onlyUser runs /changelog when they want

Recommendation: Option A — user control first, automation later.

Decision:

2. File Organization

Question: How should changelog entries be stored?

OptionDescription
A) One file per dayvault/30_daily/changes/2026-03-12.md, append per session
B) One file per sessionvault/30_daily/changes/2026-03-12-session-1.md
C) Single rolling filevault/30_daily/changes/changelog.md with date headers

Recommendation: Option A — clean per-day organization, multiple sessions append.

Decision:

3. Content Source

Question: What data should the changelog capture?

OptionDescription
A) Git diff + AI summaryAnalyze git changes since session start, summarize with context
B) Manual entryUser dictates what to log
C) Tracked eventsHook captures events during session, compile at end

Recommendation: Option A — git diff is the source of truth, AI adds the narrative.

Decision:


Phase Overview

PhaseDescriptionStatus
Phase 1/changelog skill — generate session summary on demand
Phase 2SessionEnd hook — auto-prompt for changelog on session end
Phase 3Briefing integration — feed changelogs into daily briefing

Phase 1: Changelog Skill —

Goal: A skill that analyzes the current session’s git changes and generates a human-readable summary.

File / FeatureDetailsOwnerStatus
.claude/skills/changelog/SKILL.mdSkill definitionopus
vault/30_daily/changes/Output directory (exists)opusdone
Changelog formatDate, session time, FRs touched, summary, decisions, next stepsopus

Phase 2: SessionEnd Hook —

Goal: Automatically prompt for changelog generation when a session ends.

File / FeatureDetailsOwnerStatus
.claude/hooks/session-end-changelog.shHook scriptopus
Hook registrationAdd to settings.jsonopus

Phase 3: Briefing Integration —

Goal: Daily briefing (FR-062) automatically includes yesterday’s changelog entries.

File / FeatureDetailsOwnerStatus
Briefing section”Yesterday’s sessions” section in daily briefingopus
Changelog readerParse changelog files for briefing compilationopus

Test

Manual tests

TestExpectedActualLast
pending-

AI-verified tests

ScenarioExpected behaviorVerification method

E2E tests

ScenarioAssertion

Integration tests

ComponentCoverage

Unit tests

ComponentTestsCoverage

History

DateEventDetails
2026-03-12CreatedIdentified as gap during FR renumbering review

References

  • FR-017 (Session Start Recap) — shows state at start; changelog captures state at end
  • FR-062 (Daily Briefing System) — consumes changelog entries
  • vault/30_daily/changes/ — output directory