Skip to content

[2937 by Claude Opus 5.5] Improve tab never shows the reference-repository selector - #2950

Merged
integry merged 4 commits into
mainfrom
2937/claude-opus-5-5-improve-tab-never-shows-t-20261010-2100-gtx
Oct 10, 2026
Merged

integry merged 4 commits into
mainfrom
2937/claude-opus-5-5-improve-tab-never-shows-t-20261010-2100-gtx

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #2937

Branch: 2937/claude-opus-5-5-improve-tab-never-shows-t-20261010-2100-gtx
Commits: ✅ Changes committed (b2f0097)


AI Processing Completed

Execution Details:

Summary:
The Improve tab now shows the reference-repository selector whenever other repositories are indexed. Picking one sends its id as referenceRepoId with the generate request. Unit tests, typecheck, lint and the new browser test all pass. I only ran that one browser test, not the rest of repositories-settings.pw.ts.

What changed

  • RepoActionContainer.tsx: when the selected repository changes, it loads the indexed repositories using the same loader as the planner setup. That loader leaves out the current repository and keeps those that are fully indexed or still indexing. It passes the result to the panel as availableRepos. Repositories indexed on several branches appear once, sorted by name, because the server builds reference context per repository rather than per branch.
  • setupWizardHooks.ts: the planner's loadIndexedRepositories is now exported so the Improve tab can reuse it unchanged.

Tests

  • Component test (RepoImprovementsReferenceRepo.test.tsx), two cases:
    • The selector appears and lists each other repository once; the current repository and failed indexes are left out.
    • The chosen id reaches generateRepoImprovements, and the selector stays hidden when nothing else is indexed.
  • Browser test in e2e/repositories-settings.pw.ts: on the real Repositories page it opens Improve, checks the options, picks one, generates, and asserts that the request body contains referenceRepoId: 'integry/integration-sdk'. I also used it to capture two screenshots: the open list of options, and a selected reference.

Open question: the MCP tool checks that the user can access the reference repository before using it. The /api/repos/improvements route doesn't check referenceRepoId, so the server trusts whatever the browser sends. The list is only as limited as the indexing-status endpoint behind it. The issue counts the route as already wired, so I left it alone, but it may be worth adding the same check there.

Once this ships, the propr.dev improvement-suggestions page no longer needs to describe reference repositories as MCP-only.

Detailed Logs:

  • Conversation: 74 messages
  • Session: a39e31f7-3a72-438f-b53f-fe159a267747

Log files stored at:

  • conversation: /tmp/claude-logs/issue-2937-2026-10-10T21-05-38-224Z-conversation.json
  • output: /tmp/claude-logs/issue-2937-2026-10-10T21-05-38-224Z-output.txt
Latest Conversation Messages
ASSISTANT: [content unavailable]

ASSISTANT: The Improve tab now shows the reference-repository selector whenever other repositories are indexed. Picking one sends its id as `referenceRepoId` with the generate request. Unit tests, typecheck, lin...


This PR was created automatically by ProPR after processing issue #2937.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!


Visual preview

Reference repository options

Reference repository options

The Improve tab for integry/propr now shows the Reference Repository selector, listing the other indexed repositories and leaving out the current one

Original unavailable: managed storage is unavailable or the upload has expired.

Reference repository selected

Reference repository selected

integry/integration-sdk is chosen as the reference before generating suggestions; its id is sent as referenceRepoId

Original unavailable: managed storage is unavailable or the upload has expired.

…other repositories are indexed. Picking one sends its id as `referenceRepoId` with the generate request. Unit tests, typecheck, lint and the new browser test all pass. I only ran that one browser test, not the rest of `repositories-settings.pw.ts`.

What changed
- `RepoActionContainer.tsx`: when the selected repository changes, it loads the indexed repositories using the same loader as the planner setup. That loader leaves out the current repository and keeps those that are fully indexed or still indexing. It passes the result to the panel as `availableRepos`. Repositories indexed on several branches appear once, sorted by name, because the server builds reference context per repository rather than per branch.
- `setupWizardHooks.ts`: the planner's `loadIndexedRepositories` is now exported so the Improve tab can reuse it unchanged.

Tests
- Component test (`RepoImprovementsReferenceRepo.test.tsx`), two cases:
  - The selector appears and lists each other repository once; the current repository and failed indexes are left out.
  - The chosen id reaches `generateRepoImprovements`, and the selector stays hidden when nothing else is indexed.
- Browser test in `e2e/repositories-settings.pw.ts`: on the real Repositories page it opens Improve, checks the options, picks one, generates, and asserts that the request body contains `referenceRepoId: 'integry/integration-sdk'`. I also used it to capture two screenshots: the open list of options, and a selected reference.

Open question: the MCP tool checks that the user can access the reference repository before using it. The `/api/repos/improvements` route doesn't check `referenceRepoId`, so the server trusts whatever the browser sends. The list is only as limited as the indexing-status endpoint behind it. The issue counts the route as already wired, so I left it alone, but it may be worth adding the same check there.

Once this ships, the propr.dev improvement-suggestions page no longer needs to describe reference repositories as MCP-only.
@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Full Test Suite Shard 4/4

Please investigate and fix this CI failure.

  • Check: Full Test Suite Shard 4/4
  • Result: failure
  • Commit: b2f009733493 (b2f0097334932d57626752c07b1716e1be51ec82)
  • Details: View CI failure

Failure evidence

.github:11
Process completed with exit code 1.

.github:24130
Process completed with exit code 1.

propr-ui/src/components/TaskList.test.tsx:342 — src/components/TaskList.test.tsx > TaskList > assignee filter > lists the signed-in user and the page's assignees
Error: expect(element).toHaveTextContent()

Expected element to have text content:
me|all|Me-User|octocat
Received:
me|Me-User
❯ src/components/TaskList.test.tsx:342:54

@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 705ed15

Summary of Changes

I fixed the failing check with a one-line change to a test, propr-ui/src/components/TaskList.test.tsx:342. The test is flaky; nothing in this PR caused it.

Cause: The failing test came from the Task Assignment work (#2905), which was already on main when this branch was created. This PR doesn't touch TaskList. The component fills its list of assignees in a separate step that runs just after the tasks appear on screen. The test checked that list as soon as the task table appeared, so on a slow CI runner it could catch the moment before the list was filled. That matches the CI output: it shows the signed-in user (me|Me-User) but not the page's assignees (all, octocat).

Fix: The assertion now waits for the full me|all|Me-User|octocat list instead of checking it immediately. The next test in the same block already does this.

Verification: I couldn't reproduce the failure locally; the test file passed before and after the change. After the change, TaskList.test.tsx passed 15 of 15 on three runs and eslint is clean on the file. I didn't run the full shard.

One related test has the same weakness in the other direction: "offers no people and no 'me' without a signed-in user" checks for an empty list immediately. It won't fail, but it could pass before the list is filled, so it proves less than it seems to. I left it unchanged.

There's no visual change, so I made no previews.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot]
  • Time: 3m 26s
  • Tokens: 280,670 (278,104 in / 2,566 out)
  • Cost: $0.25
  • Subscription usage: Session +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6102233906✓

@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run Full Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:70
Process completed with exit code 1.

.github:69
Shard coverage verification finished with result 'failure'.

.github:66
Full test suite shards finished with result 'failure'.

… `propr-ui/src/components/TaskList.test.tsx:342`. The test is flaky; nothing in this PR caused it.

I fixed the failing check with a one-line change to a test, `propr-ui/src/components/TaskList.test.tsx:342`. The test is flaky; nothing in this PR caused it.

**Cause:** The failing test came from the Task Assignment work (#2905), which was already on main when this branch was created. This PR doesn't touch `TaskList`. The component fills its list of assignees in a separate step that runs just after the tasks appear on screen. The test checked that list as soon as the task table appeared, so on a slow CI runner it could catch the moment before the list was filled. That matches the CI output: it shows the signed-in user (`me|Me-User`) but not the page's assignees (`all`, `octocat`).

**Fix:** The assertion now waits for the full `me|all|Me-User|octocat` list instead of checking it immediately. The next test in the same block already does this.

**Verification:** I couldn't reproduce the failure locally; the test file passed before and after the change. After the change, `TaskList.test.tsx` passed 15 of 15 on three runs and eslint is clean on the file. I didn't run the full shard.

One related test has the same weakness in the other direction: "offers no people and no 'me' without a signed-in user" checks for an empty list immediately. It won't fail, but it could pass before the list is filled, so it proves less than it seems to. I left it unchanged.

There's no visual change, so I made no previews.

PR: #2950
Comment by: @propr-dev[bot] (ID: 6102233906)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @propr-dev[bot]

Analysis Summary

I made no changes. The branch already has the fix for this failure.

What failed: Run 38086296955 tested commit b2f0097. The "Run Full Test Suite" job only reports on the shards, and one real test failed in shard 4: TaskList > assignee filter > lists the signed-in user and the page's assignees at propr-ui/src/components/TaskList.test.tsx:342. Shards 1–3 didn't fail any tests; they were cancelled partway through.

It's already fixed: The latest commit on the branch, 705ed1599, changes that line to wait for the full assignee list. Before, the test checked the list right after the task table appeared, which can be before the list is filled in. This test isn't part of this PR's Improve-tab changes; it came from the earlier Task Assignment work.

Verification: With the fix in place, TaskList.test.tsx passed 15 of 15 on three local runs. I didn't run the full suite.

CI hasn't tested the fix yet: The Full Test Suite run for 705ed1599 (run 38087054076) was cancelled by propr-dev[bot] after 34 seconds, along with CodeQL, Build & Lint and CLI Node Compatibility. No newer run exists, so the check will stay red until someone re-runs CI on the current head. I didn't start a re-run myself.

There's nothing visual in this change, so I made no previews.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (medium)
  • Time: 4m 8s
  • Tokens: 207,316 (205,289 in / 2,027 out)
  • Cost: $0.22
  • Subscription usage: Session +1%, Weekly +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6102241434✓

@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run Full Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:70
Process completed with exit code 1.

.github:69
Shard coverage verification finished with result 'failure'.

.github:66
Full test suite shards finished with result 'cancelled'.

@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @propr-dev[bot]

Analysis Summary

I didn't change any code: this failure was an external cancellation of the CI run, not a test failure.

What the logs show (run 38087054076, commit 705ed1599):

  • Attempt 1: all four Full Test Suite Shard jobs were cancelled 3–6 seconds after they started. They were still downloading actions/checkout and actions/setup-node, and every shard log ends with ##[error]The operation was canceled. No tests ran.
  • Attempt 2 (the re-run): the same thing happened. All shards were cancelled 14–26 seconds after starting.
  • "Shard coverage verification … 'failure'": this follows from the cancellation. The gate found no shard summaries to check, so it reported a failure.
  • Other workflows on the same commit: Build & Lint Check and CodeQL were also cancelled in both attempts. They are separate workflows, so this was a run-wide cancellation, not something in this PR's code. CLI Node Compatibility, Desktop Package and Release, Dependency Review and Packaged Connect Discovery Guard all passed.

This matches earlier PRs (#2905, #2939, #2944), where shards were also cancelled before any test ran.

Next step: re-run Full Test Suite (or push to the branch) once whatever is cancelling runs has stopped. If the shards then reach the test step and fail, that would be a real failure worth looking into.

No visual previews were made, since nothing changed.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (medium)
  • Time: 4m 2s
  • Tokens: 188,416 (186,286 in / 2,130 out)
  • Cost: $0.19

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6102276612✓

@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Full Test Suite Shard 1/4

Please investigate and fix this CI failure.

  • Check: Full Test Suite Shard 1/4
  • Result: failure
  • Commit: 705ed1599484 (705ed159948401679bb77bf66b64dea697efb116)
  • Details: View CI failure

Failure evidence

.github:11
Process completed with exit code 1.

.github:29007
Process completed with exit code 1.

.github:2
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit a217e5c

Summary of Changes

I fixed the shard 1/4 failure. It was caused by code on main, not by this PR.

Cause: the failing test was packages/api/test/openapiRouteCoverage.test.ts:

GET /api/internal/hosted/bootstrap is registered directly; list it in openapi/directRoutes.ts

The hosted-fleet merge (#1714, dc049dcdf) added three routes in packages/api/routes/hostedFleetRoutes.ts:232-234 but didn't list them in the OpenAPI route list. This branch is based on that merge, and main still doesn't have the fix, so any PR built on it fails the same way. Open PR #2951 already carries the fix, and I copied it exactly so the two PRs won't conflict when they merge.

Changes:

  • packages/api/openapi/directRoutes.ts: lists the bootstrap, status and queue routes under /api/internal/hosted/.
  • packages/api/openapi/buildSpec.ts: adds /api/internal/hosted to the System tag's prefixes.
  • docs/static/openapi/propr-api.yaml: the updated spec. I ran npm run gen:openapi and it produced the same file.

Tests: openapiRouteCoverage.test.ts, openapiResponseConformance.test.ts and test/openapiReferencePage.test.mjs pass (25 passed, 0 failed) when run from the repo root with the test:unit flags. I didn't run the rest of shard 1/4.

I made no visual changes, so there are no previews.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot]
  • Time: 3m 49s
  • Tokens: 499,562 (496,270 in / 3,292 out)
  • Cost: $0.31
  • Subscription usage: Session +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6102456989✓

…in`, not by this PR.

I fixed the shard 1/4 failure. It was caused by code on `main`, not by this PR.

**Cause:** the failing test was `packages/api/test/openapiRouteCoverage.test.ts`:

> `GET /api/internal/hosted/bootstrap is registered directly; list it in openapi/directRoutes.ts`

The hosted-fleet merge (#1714, `dc049dcdf`) added three routes in `packages/api/routes/hostedFleetRoutes.ts:232-234` but didn't list them in the OpenAPI route list. This branch is based on that merge, and `main` still doesn't have the fix, so any PR built on it fails the same way. Open PR #2951 already carries the fix, and I copied it exactly so the two PRs won't conflict when they merge.

**Changes:**
- **`packages/api/openapi/directRoutes.ts`**: lists the `bootstrap`, `status` and `queue` routes under `/api/internal/hosted/`.
- **`packages/api/openapi/buildSpec.ts`**: adds `/api/internal/hosted` to the `System` tag's prefixes.
- **`docs/static/openapi/propr-api.yaml`**: the updated spec. I ran `npm run gen:openapi` and it produced the same file.

**Tests:** `openapiRouteCoverage.test.ts`, `openapiResponseConformance.test.ts` and `test/openapiReferencePage.test.mjs` pass (25 passed, 0 failed) when run from the repo root with the `test:unit` flags. I didn't run the rest of shard 1/4.

I made no visual changes, so there are no previews.

PR: #2950
Comment by: @propr-dev[bot] (ID: 6102456989)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

🔀 Resolved merge conflicts from main into 2937/claude-opus-5-5-improve-tab-never-shows-t-20261010-2100-gtx in commit f1f8c96

Conflicting Files

  • packages/api/openapi/directRoutes.ts

Resolution Summary

I resolved the one merge conflict, in packages/api/openapi/directRoutes.ts, and no conflict markers are left anywhere in the repository. The route-coverage test that reads this file (openapiRouteCoverage.test.ts) passes, 14 of 14.

What the conflict was about: The two sides wrote different versions of a single comment above the three /api/internal/hosted/* routes (bootstrap, status, queue). The route entries themselves were the same on both sides, so no code was in conflict.

  • This branch: // ProPR Fleet authenticates with the 'X-ProPR-Fleet-Secret' header (PROPR_FLEET_CONTROL_SECRET).
  • main: // Hosted Fleet control authenticates with the X-Propr-Fleet-Secret header / // (PROPR_FLEET_CONTROL_SECRET); registered only when that secret is set.

How I resolved it: I kept main's comment exactly as written.

Why: This PR is about the Improve tab's reference-repository selector and never changed this file. The branch's version came from an earlier sync with main, so there was no PR intent here to keep. main's comment also matches the code better: registerHostedFleetRoutes in packages/api/routes/hostedFleetRoutes.ts only registers these routes when PROPR_FLEET_CONTROL_SECRET is set, which the branch's comment didn't say. (The code also requires the secret to be at least 32 characters; I left that wording alone because changing it would go beyond resolving the conflict.)


🤖 Resolution Details

  • Model: Claude Opus 5.5
  • Time: 4m 39s

View Task Execution


System-triggered merge conflict resolution

integry commented Oct 10, 2026

Copy link
Copy Markdown
Owner

/ultrafix goal=8 max=10

@propr-dev propr-dev Bot added the ultrafix label Oct 10, 2026
@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 8/10, max cycles: 10)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

…tab-never-shows-t-20261010-2100-gtx

Automatically resolved merge conflicts after merging target branch into PR branch.
Resolved conflicts in:
- packages/api/openapi/directRoutes.ts

PR: #2950
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — claude:claude-opus-5-5

Overall Evaluation

PR #2950 fixes issue #2937. The Improve tab never showed the reference-repository selector because RepoActionContainer never passed availableRepos to RepoImprovementsPanel.

The fix is small and well placed. The container now:

  • reuses loadIndexedRepositories, which is exported from setupWizardHooks.ts;
  • collapses the per-branch indexing records into one option per repository, sorted by name; and
  • passes the result to the panel as availableRepos.

The chosen id is the repository full name. This matches what buildReferenceContext in packages/api/services/repoImprovements.ts expects, since it uses referenceRepoId as repoName. The rest of the path was already wired, so the issue's goal (pick a reference repository in the UI and have it reach the API) is met.

All current-head checks pass. The PR is ready to merge.

✅ Correct identifier contract — toReferenceRepos (RepoActionContainer.tsx) emits { id: full_name, name: full_name }. Each option therefore maps to exactly what the server builds reference context from. Deduplication ensures a repository indexed on several branches appears only once.

✅ Stale-response guard — The new effect resets referenceRepos whenever selectedRepoName changes. It also ignores late responses through a cancelled flag. A slow indexing-status response for repository A therefore cannot fill the selector after the user has switched to repository B.

✅ End-to-end coverage at both layers — The unit test checks the visible options: self excluded, failed entries excluded, indexing entries included, branch duplicates collapsed. It also checks the empty case (selector hidden) and that referenceRepoId is forwarded. The Playwright spec checks the real request body sent to /api/repos/improvements.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Move the loader out of TaskPlanner

RepoActionContainer now imports loadIndexedRepositories from TaskPlanner/setupWizardHooks.ts. That large hooks module pulls in planner APIs, draft persistence, and image utilities, so the Repositories feature now depends on Task Planner internals. Moving the loader into a small shared helper (for example, next to getRepositoriesIndexingStatus in api/repoIndexingApi.ts) would remove this coupling. It is optional because behaviour is correct as written.

S2: 🟢 Fetch reference options only when needed

The new effect calls /api/repositories/indexing-status on every repository selection, even when the user stays on Settings or Chat and never opens Improve. Two alternatives would avoid the extra request on most selections:

  • gate the load on activeTab === 'improve', keeping the cancel guard; or
  • cache the result per selectedRepoName.

This is a minor efficiency gain, not a correctness issue.

S3: 🟢 Explain when a reference adds no context

The list includes repositories still in the indexing state. A repository on its first index may not have summaries yet. In that case buildReferenceContext returns null and only logs a warning, so the user gets suggestions with no sign that the reference was ignored. Two possible fixes:

  • label in-progress repositories in the dropdown; or
  • have the API return a flag when reference context could not be built.

This behaviour predates the PR on the server side, so it is a follow-up rather than a blocker.

S4: 🟢 Reference branch is not selectable

Options are deduplicated per repository, and the server builds reference context without a branch. A repository indexed only on a non-default branch may therefore resolve to different (or no) summaries than the user expects. The PR comment in toReferenceRepos documents this per-repository model, which matches the existing API contract. Supporting a branch choice would be a separate enhancement.

S5: 🟢 Note the unrelated test change

The TaskList.test.tsx change wraps an assertion in waitFor. It looks like a flakiness fix unrelated to the Improve tab. A short line in the PR description saying why it is included would help reviewers and future readers of git blame.

Score

The PR wires the missing availableRepos prop with the correct identifier format, handles stale responses and empty cases, and adds unit and e2e coverage, with all checks passing. Remaining items are optional hardening and cleanup.

Score: 9/10


🤖 Review Details

  • Model: Claude Opus 5.5
  • Time: 2m 19s
  • Tokens: 62,154 (59,776 in / 2,378 out)
  • Cost: $0.35

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S1 S2 S3 S4 S5

🤖 Review by ProPR

@propr-dev propr-dev Bot removed the ultrafix label Oct 10, 2026
@integry
integry merged commit 6e40751 into main Oct 10, 2026
45 checks passed
@integry
integry deleted the 2937/claude-opus-5-5-improve-tab-never-shows-t-20261010-2100-gtx branch October 10, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve tab never shows the reference-repository selector

1 participant