Repository navigation
Add cluster discovery, review links, and focused diffs - #5
Merged
Merged
Conversation
|
2 clusters identified |
DevinPlumb
approved these changes
Sep 25, 2026
CalLavicka
marked this pull request as ready for review
September 25, 2026 23:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
clusters [pr-url]andcluster <id>so agents can discover review areas, share version-pinned Assert links, and inspect selected changes. Repository and PR default to the current checkout/branch, with--repoand--proverrides.Text lists show titles, explicit IDs, descriptions, file counts, and review links. The default view shows one level of subclusters;
--depth allexpands the full tree without repeating file paths. Cluster details include parent/subcluster navigation, accurate additions/deletions, and the five largest changed files, with--filesto show every file.--diffwrites only the selected diff to stdout; errors and timeout diagnostics go to stderr. JSON preserves the full structured results.Commands support bounded waiting, partial results,
--wait-until ready, and--no-wait, with distinct error/timeout exit codes. Diffs use the returned base/head comparison and include descendant ranges, including changes sharing a hunk, renames, and binary metadata.Validation: typecheck, formatting, build, and all 59 tests pass. Production checks covered large nested reviews, full-tree expansion, file-list limits, JSON output, raw diff stdout, and error/timeout stderr. Independently checked line statistics using Git. Fixtures use generic repositories and synthetic changes.