Skip to content

Agents manage their PRs and CI through Solenta (merge needs your click), plus hide-tests, fuzzy folder search and per-project notifications - #1750

Merged
currentbits merged 8 commits into
mainfrom
feat/agent-pr-tools-and-ux
Oct 30, 2026
Merged

currentbits merged 8 commits into
mainfrom
feat/agent-pr-tools-and-ux

Conversation

@currentbits

Copy link
Copy Markdown
Owner

Agents can now read, update, comment on, and merge their thread's PR, and read and re-run failing CI, through Solenta's own GitHub client instead of shelling out to gh (which burned the user's API quota). Merging only happens after the user clicks Accept on a sign-off card. This also ships four smaller UX changes: #1744, #1745, #1746, #1747, #1749.

Changes

Verification

  • Full Electron suite on this branch, run with inherited CODER_* vars unset: 5318/5318 pass.
  • Renderer tests for the touched areas (settingsModal, secretPrompt, prCodeTab, changesDiffViews, testFiles, threadView, browsePath): 281/281 pass.
  • npm run typecheck and npx vite build are clean.
  • pr-tools.test.js covers the merge gate:
    • no merge without Accept, even when the agent claims approval
    • exactly one merge with the SHA after Accept
    • a moved head, Deny, or an auto turn means no merge
  • Not exercised against a live GitHub repo: the PR/CI tools are tested with a stubbed client only.

Notes for reviewers


claude-opus-5-5 via Claude Code (Solenta)

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T07:55:36.563667Z d551264 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d551264d43

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +800 to +802
if (selectedPath && shownPaths.has(selectedPath)) return;
setSelectedPath(testFilter.shown[0]?.path ?? null);
}, [diff, selectedPath, testFilter, shownPaths]);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve selection of test-file search results

When Hide tests is enabled and Find matches a test file, useDiffFind still searches the full file list and calls setSelectedPath(current.path), but this effect immediately replaces that selection because the file is absent from shownPaths. The Find bar therefore reports a current match while displaying another file, making hidden test-file matches unreachable. Either keep the current search result visible, as linked files already are, or exclude hidden files from the search.

Useful? React with 👍 / 👎.

Comment thread electron/orchServer.js
Comment on lines +1424 to +1427
t.id !== self.id &&
String(t.projectId || "") === String(self.projectId || "") &&
Number(t.prNumber) === number &&
String(t.handoffFrom || "") !== self.id,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Check all linked PRs when enforcing thread ownership

If a sibling thread has multiple linked PRs, passing the number of one of its secondary PRs bypasses this ownership check because only t.prNumber is inspected. link_pull_request stores additional links in prLinks without changing the primary number, so pr_update, pr_comment, and ci_rerun can act on a PR belonging to another thread despite the stated restriction. Check normalized PR links, including their repository identity, rather than only the primary number.

Useful? React with 👍 / 👎.

@currentbits
currentbits merged commit c281d00 into main Oct 30, 2026
12 checks passed
@currentbits
currentbits deleted the feat/agent-pr-tools-and-ux branch October 30, 2026 11:16
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