Repository navigation
List the sessions worked on in a period, on one repo or all - #1226
Conversation
A date is read in the zone of the machine that runs the command, at the offset in force at that day's midnight: the server is UTC and cannot know what yesterday means to the caller. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
A cursor beside a filter is refused: the server ignores the filter, so the page would look narrowed and not be. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
A windowed request answered without the window echoed came from a server that ignored the filter; its rows are not shown, since they would look filtered. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The tool passes the server's JSON through untouched, so a server that ignores the window is caught by reading the body for the echo before it is returned. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The recap skill's description is cut to fit the 1024-character limit a strict harness enforces: past it the skill is refused without a word, and the period triggers would have taken it further over. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The line is what a person pastes in another directory, so it has to carry the repository this run resolved from the checkout. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
PR Summary by QodoList sessions by time period across one or all repositories
AI Description
Diagram
High-Level Assessment
Files changed (19)
|
Code Review by Qodo
1.
|
The line is pasted into a shell, and the cursor in it comes from the server. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Closes #1222 — AI-3296
What & why
kcap sessionsand thelist_repo_sessionstool list one repository's sessions, running first, with no way to ask what was worked on last week or across every repository. Both now take--since/--until(an instant, a local date, or a duration such as14d),--repo allfor every repository, and--cursorfor the next page, over the server'sGET /api/repositories/{hash}/sessionsandGET /api/sessions/listing. A windowed listing is ordered by start, newest first, gains aSTARTEDcolumn, and ends with the command that fetches the next page.Where to look
A server without the window ignores the parameters and answers an unfiltered list; the command and the tool look for the echoed
since/untiland refuse to show a result without it.--cursorcombines only with--repo,--limitand--json: any other flag beside it is refused by name, because the server ignores filters sent with a cursor. The recap skill's description is condensed to 1007 characters, under the 1024 a strict harness accepts before it silently refuses the skill; a test pins the limit.The server routes ship in kcap-server AI-3296 (#2129, merged). Release this only after a server carrying them is deployed: against an older server the feature reports itself unusable.
Verification
End-to-end over WireMock: a paged cross-repository listing outside any checkout, and a server that ignores the period reported with nothing listed, for the command and for the tool.
Capacitor.Cli.Core.Tests.Unit3950 passed andCapacitor.Cli.Tests.Integration384 passed before the last two commits; at head, the listing classes (196 tests across the three hosts) pass,dotnet publish -c Releaseprints no IL2xxx/IL3xxx warning, andscripts/check-linear-ids.shexits 0.🤖 Generated with Claude Code