Skip to content

fix(lorectl): leave sessions a program started out of report activity - #417

Merged
hsusul merged 1 commit into
mainfrom
fix/report-skips-automated-sessions
Nov 9, 2026
Merged

hsusul merged 1 commit into
mainfrom
fix/report-skips-automated-sessions

Conversation

@hsusul

@hsusul hsusul commented Nov 9, 2026

Copy link
Copy Markdown
Owner

What

lorectl report's Activity section skips sessions #416 marks automated (claude -p, codex exec, Codex subagent threads), as the miner already does.

Why

Activity is "what you did", but it counted program-written prompts: the owner's last week showed 18 Codex sessions with 19 user turns, nearly all codex exec runs, and Lore's own Find lessons runs among the Claude sessions.

Test

New activity_leaves_out_sessions_a_program_started: of two scanned Codex sessions, one rewritten as source: exec, only the other is counted. Fails on main (2 sessions), passes here. cargo test -p lorectl --test report 8 passed; clippy clean.

The Activity section counted codex exec and claude -p runs as the person's
sessions and turns (18 Codex sessions with 19 turns in a week).
@hsusul
hsusul merged commit 9cf778b into main Nov 9, 2026
5 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