feat(stories): add stories subcommand

- Add stories subcommand listing stories worked on, grouped by project
- Preserve story_raw in parser row dicts alongside the stripped story,
  so markdown links are available for display
- print_stories() filters to rows with a non-empty story field,
  deduplicates by stripped story text (preferring the linked version),
  sums hours per story, and outputs an indented Markdown list
- Project names resolved through project_map (same as csv/summary)
- -w/--weekly flag aggregates stories across the full week
- Add tests for print_stories covering deduplication, link preservation,
  grouping, empty rows, and story-less row exclusion
- Fix flex daily target in status: use projected hours per prior day
  rather than fixed 8h when computing remaining hours for today
This commit is contained in:
Jef Roosens 2026-05-26 10:31:35 +02:00
parent f372a691d4
commit 2d60624e0e
Signed by: Jef Roosens
GPG key ID: 119385BCAA005C21
5 changed files with 206 additions and 17 deletions

BIN
.coverage

Binary file not shown.