Repository navigation
feat: Commit, Push and Create PR actions - #13
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughAdds a Git subsystem: process runner with buffer/timeouts, Git core service, GitManager orchestration, Codex-based commit/PR generation, WS API + server wiring, client UI integration, contracts/schemas for stacked git actions, and extensive tests. Changes
Sequence Diagram(s)sequenceDiagram
participant Client as Client (ChatView)
participant WS as WebSocket Server
participant GM as GitManager
participant GC as GitCoreService
participant Proc as ProcessRunner
participant Codex as Codex Service
participant GH as GitHub CLI
Client->>WS: git.runStackedAction(action, cwd)
WS->>GM: runStackedAction()
rect rgba(100,150,200,0.5)
Note over GM: Commit Step
GM->>GC: prepareCommitContext(cwd)
GC-->>GM: stagedSummary, stagedPatch
GM->>Codex: generateCommitMessage(diff)
Codex-->>GM: subject, body
GM->>Proc: git commit -m "..."
Proc-->>GM: commit result
end
rect rgba(100,200,150,0.5)
Note over GM: Push Step (if requested)
GM->>GC: pushCurrentBranch(cwd, upstream?)
GC-->>GM: push result
end
rect rgba(200,150,100,0.5)
Note over GM: PR Step (if requested)
GM->>GC: readRangeContext(base, head)
GC-->>GM: commitSummary, diffSummary, diffPatch
GM->>Codex: generatePrContent(rangeContext)
Codex-->>GM: title, body
GM->>GH: gh pr list --head branch
GH-->>GM: existing PRs
alt PR exists
GM->>GH: gh pr view PR_NUMBER
GH-->>GM: PR details
else
GM->>GH: gh pr create --title "..." --body file://tmp
GH-->>GM: new PR info
end
end
GM-->>WS: GitRunStackedActionResult
WS-->>Client: result
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
Greptile OverviewGreptile SummaryThis PR implements comprehensive Git stacked actions (commit, push, create PR) with AI-powered text generation for commit messages and PR content. The implementation spans server-side orchestration, robust process execution, WebSocket/IPC integration, and a polished React UI with real-time progress tracking. Key changes:
Architecture aligns with project priorities:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant GitActionsControl
participant NativeApi
participant GitManager
participant GitCore
participant CodexTextGenerator
participant GitCLI
participant GitHubCLI
User->>GitActionsControl: Click "Commit and create PR"
GitActionsControl->>GitActionsControl: Open modal, set action
User->>GitActionsControl: Confirm action
GitActionsControl->>NativeApi: git.runStackedAction(commit)
NativeApi->>GitManager: runStackedAction(commit)
GitManager->>GitCore: statusDetails(cwd)
GitCore->>GitCLI: git status --porcelain=2
GitCLI-->>GitCore: status output
GitCore-->>GitManager: branch, upstream info
GitManager->>GitCore: prepareCommitContext(cwd)
GitCore->>GitCLI: git add -A
GitCore->>GitCLI: git diff --cached
GitCLI-->>GitCore: staged changes
GitCore-->>GitManager: stagedSummary, stagedPatch
GitManager->>CodexTextGenerator: generateCommitMessage()
CodexTextGenerator->>CodexTextGenerator: Write temp schema file
CodexTextGenerator->>GitCLI: codex exec --output-schema
GitCLI-->>CodexTextGenerator: JSON response
CodexTextGenerator->>CodexTextGenerator: Parse, sanitize, cleanup
CodexTextGenerator-->>GitManager: {subject, body}
GitManager->>GitCore: commit(cwd, subject, body)
GitCore->>GitCLI: git commit -m subject -m body
GitCLI-->>GitCore: success
GitCore-->>GitManager: {commitSha}
GitManager-->>NativeApi: commit result
NativeApi-->>GitActionsControl: Update progress: commit completed
GitActionsControl->>NativeApi: git.runStackedAction(commit_push)
NativeApi->>GitManager: runStackedAction(commit_push)
GitManager->>GitCore: pushCurrentBranch(cwd)
GitCore->>GitCLI: git push -u origin branch
GitCLI-->>GitCore: success
GitCore-->>GitManager: {status: pushed, branch}
GitManager-->>NativeApi: push result
NativeApi-->>GitActionsControl: Update progress: push completed
GitActionsControl->>NativeApi: git.runStackedAction(commit_push_pr)
NativeApi->>GitManager: runStackedAction(commit_push_pr)
GitManager->>GitHubCLI: gh pr list --head branch
GitHubCLI-->>GitManager: [] (no existing PR)
GitManager->>GitCore: readRangeContext(cwd, baseBranch)
GitCore->>GitCLI: git log, git diff
GitCLI-->>GitCore: commit history, diff
GitCore-->>GitManager: rangeContext
GitManager->>CodexTextGenerator: generatePrContent()
CodexTextGenerator->>GitCLI: codex exec --output-schema
GitCLI-->>CodexTextGenerator: JSON response
CodexTextGenerator-->>GitManager: {title, body}
GitManager->>GitHubCLI: gh pr create --title --body-file
GitHubCLI-->>GitManager: PR URL
GitManager->>GitHubCLI: gh pr view --web
GitHubCLI-->>GitManager: success
GitManager-->>NativeApi: pr result
NativeApi-->>GitActionsControl: Update progress: PR created
GitActionsControl->>User: Show completion with PR link
Last reviewed commit: dd92084 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@apps/server/src/processRunner.ts`:
- Around line 128-131: Attach an 'error' listener to the child's stdin and use
the write callback to handle possible write errors before calling end: in
processRunner.ts, before calling child.stdin.write(...) register
child.stdin.once("error", err => {/* reject/forward error or cleanup and ensure
promise rejects */}), call child.stdin.write(options.stdin, (err) => { if (err)
{ /* handle/reject/cleanup */ } child.stdin.end(); }); and remove the
unconditional child.stdin.end() so we only end after the write completes; ensure
any error handling forwards the error to the same rejection/cleanup path used by
child.once("error") for the spawned process.
🧹 Nitpick comments (2)
packages/contracts/src/git.test.ts (1)
11-71: LGTM!The tests provide good coverage for schema validation, including whitespace trimming and nested field parsing.
Consider adding negative test cases to verify that invalid inputs are rejected (e.g., invalid action strings, missing required fields). This would strengthen the contract validation.
,
apps/server/src/codexTextGenerator.ts (1)
84-103: Consider consolidating duplicate sanitization logic.
sanitizeCommitSubjecthere (lines 84-95) andsanitizeCommitMessageingitManager.ts(lines 99-110) perform nearly identical operations: extracting the first line, removing trailing periods, and truncating to 72 characters. This duplication could lead to divergent behavior over time.Consider extracting a shared utility or having
gitManager.tsrely on the already-sanitized output fromCodexTextGeneratorwithout additional sanitization.
Add Commit, Push, and Create PR actions by introducing
|
Co-authored-by: codex <codex@users.noreply.github.com>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@apps/web/src/components/ChatView.tsx`:
- Around line 395-424: When a git status fetch succeeds we need to clear any
previous error so the error banner doesn't persist; inside the load async
function (the one that calls api.git.status with gitCwd) after successfully
calling setGitStatus(nextStatus) also call setGitActionError(null) (guarded by
the same !cancelled check) so successful refreshes remove stale errors; update
the useEffect's load success branch in ChatView.tsx (the load function /
useEffect that references api, gitCwd, setGitStatus, setGitActionError)
accordingly.
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 Fix all issues with AI agents
In `@apps/server/src/git.test.ts`:
- Around line 460-466: The test invokes git with a single-quoted remote path
which fails on Windows; update the call that runs git(tmp.path, `remote add
origin '${remote.path}'`) to wrap the path using JSON.stringify(remote.path)
(i.e., produce a double-quoted, escaped string) so Windows cmd handles spaces
correctly; modify the test where makeTmpDir()/remote and the git(...) invocation
are used (see git(tmp.path, `remote add origin ...`), initRepoWithCommit,
createGitBranch) to pass the JSON.stringify-wrapped path instead of single
quotes.
In `@apps/server/src/git.ts`:
- Around line 245-251: The current early-return treats a branch as
"skipped_up_to_date" when details.hasUpstream && details.aheadCount === 0 even
if it is behind; update the condition to also require details.behindCount === 0
so we only mark truly up-to-date branches. Change the if that checks
details.hasUpstream and details.aheadCount to: details.hasUpstream &&
details.aheadCount === 0 && details.behindCount === 0 (leaving the returned
object with branch and optional upstreamBranch unchanged).
- Around line 129-143: The timeout check must be unconditional: in
runGitOrThrow, always throw when result.timedOut by calling
normalizeGitExecutionError(args, result) (or similar) before considering
options.allowNonZeroExit; then keep the existing non-zero exit handling for
result.code when options.allowNonZeroExit is false. Update the logic in
runGitOrThrow (referencing runGitOrThrow, RunGitOptions,
options.allowNonZeroExit, result.timedOut, result.code, and
normalizeGitExecutionError) so timeouts are detected and thrown unconditionally
while allowing suppressed non-zero exit codes only when appropriate.
In `@apps/server/src/gitManager.ts`:
- Around line 402-423: Both runGh and runGhStdout currently call this.run("gh",
args, { cwd }) and can hang; add an explicit timeoutMs option to those calls.
Define a clear constant (e.g. GH_CLI_TIMEOUT_MS = 30_000) near the top of the
module and pass it into this.run as { cwd, timeoutMs: GH_CLI_TIMEOUT_MS } in
both runGh and runGhStdout so gh CLI invocations time out predictably. Ensure
the constant is used in both functions and adjust any types if needed to match
ProcessRunOptions.
🧹 Nitpick comments (1)
apps/server/src/gitManager.ts (1)
175-183: If no commit is created, skip push/PR to avoid empty actions.When
runCommitStepreturnsskipped_no_changes, the current flow still pushes and can attempt PR creation. That can create confusing “no‑op” PRs or unnecessary network calls.
Co-authored-by: codex <codex@users.noreply.github.com>
| const fail = (error: Error): void => { | ||
| child.kill("SIGTERM"); | ||
| finalize(() => { | ||
| reject(error); | ||
| }); | ||
| }; |
There was a problem hiding this comment.
🟡 Medium
src/processRunner.ts:123 The fail function clears the timeout that would escalate to SIGKILL, so if the child ignores SIGTERM, the parent hangs forever. Consider adding a force-kill timer in fail similar to the timeout logic (lines 108-110).
- const fail = (error: Error): void => {
- child.kill("SIGTERM");
- finalize(() => {
- reject(error);
- });
+ const fail = (error: Error): void => {
+ child.kill("SIGTERM");
+ const killTimer = setTimeout(() => {
+ child.kill("SIGKILL");
+ }, 1_000);
+ finalize(() => {
+ clearTimeout(killTimer);
+ reject(error);
+ });🚀 Want me to fix this? Reply ex: "fix it for me".
🤖 Prompt for AI
In file apps/server/src/processRunner.ts around lines 123-128:
The `fail` function clears the timeout that would escalate to `SIGKILL`, so if the child ignores `SIGTERM`, the parent hangs forever. Consider adding a force-kill timer in `fail` similar to the timeout logic (lines 108-110).
| stream: "stdout" | "stderr", | ||
| chunk: Buffer | string, | ||
| ): Error | null => { | ||
| const text = chunk.toString(); |
There was a problem hiding this comment.
🟢 Low
src/processRunner.ts:134 Using chunk.toString() per Buffer can split multi‑byte UTF‑8 and corrupt text; consider StringDecoder to assemble stdout/stderr safely.
🚀 Want me to fix this? Reply ex: "fix it for me".
🤖 Prompt for AI
In file apps/server/src/processRunner.ts around line 134:
Using `chunk.toString()` per `Buffer` can split multi‑byte UTF‑8 and corrupt text; consider `StringDecoder` to assemble `stdout`/`stderr` safely.
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
apps/server/src/git.ts (1)
50-86:⚠️ Potential issue | 🟠 MajorAdd output caps to avoid unbounded git command buffering.
runGitaccumulates stdout/stderr without limits; large diffs can spike memory and make behavior unpredictable under load. Consider enforcing a max buffer (similar toprocessRunner) or streaming to disk with a safe cap.🔧 Suggested fix (bounded output)
+const DEFAULT_GIT_MAX_BUFFER_BYTES = 8 * 1024 * 1024; + -function runGit(args: readonly string[], cwd: string, timeoutMs = 30_000): Promise<TerminalCommandResult> { +function runGit( + args: readonly string[], + cwd: string, + timeoutMs = 30_000, + maxBufferBytes = DEFAULT_GIT_MAX_BUFFER_BYTES, +): Promise<TerminalCommandResult> { return new Promise((resolve, reject) => { const child = spawn("git", args, { cwd, env: process.env, stdio: ["ignore", "pipe", "pipe"], }); let stdout = ""; let stderr = ""; let timedOut = false; + let stdoutBytes = 0; + let stderrBytes = 0; + let settled = false; const timeout = setTimeout(() => { timedOut = true; child.kill("SIGTERM"); setTimeout(() => { if (!child.killed) child.kill("SIGKILL"); }, 1_000).unref(); }, timeoutMs); + const fail = (error: Error) => { + if (settled) return; + settled = true; + clearTimeout(timeout); + child.kill("SIGTERM"); + reject(error); + }; + child.stdout?.on("data", (chunk: Buffer) => { - stdout += chunk.toString(); + const text = chunk.toString(); + stdout += text; + stdoutBytes += Buffer.byteLength(text); + if (stdoutBytes > maxBufferBytes) { + fail( + new Error( + `${commandLabel(args)} exceeded stdout buffer limit (${maxBufferBytes} bytes).`, + ), + ); + } }); child.stderr?.on("data", (chunk: Buffer) => { - stderr += chunk.toString(); + const text = chunk.toString(); + stderr += text; + stderrBytes += Buffer.byteLength(text); + if (stderrBytes > maxBufferBytes) { + fail( + new Error( + `${commandLabel(args)} exceeded stderr buffer limit (${maxBufferBytes} bytes).`, + ), + ); + } }); child.on("error", (error) => { clearTimeout(timeout); reject(error); }); child.on("close", (code, signal) => { + if (settled) return; + settled = true; clearTimeout(timeout); resolve({ stdout, stderr, code: code ?? null, signal: signal ?? null, timedOut }); }); }); }As per coding guidelines: Maintain predictable behavior under load and during failures (session restarts, reconnects, partial streams).
Co-authored-by: codex <codex@users.noreply.github.com>
| await runGitOrThrow(cwd, args, { allowNonZeroExit }); | ||
| } | ||
|
|
||
| async gitStdout(cwd: string, args: readonly string[], allowNonZeroExit = false): Promise<string> { |
There was a problem hiding this comment.
🟡 Medium
src/git.ts:359 gitStdout discards stderr even on success, so the truncation warning from runGit is lost. Consider checking if output was truncated and either throwing an error or returning a flag so callers know the data is incomplete.
🚀 Want me to fix this? Reply ex: "fix it for me".
🤖 Prompt for AI
In file apps/server/src/git.ts around line 359:
`gitStdout` discards `stderr` even on success, so the truncation warning from `runGit` is lost. Consider checking if output was truncated and either throwing an error or returning a flag so callers know the data is incomplete.
| }, | ||
| ); | ||
|
|
||
| const rawOutput = (await fs.readFile(outputPath, "utf8")).trim(); |
There was a problem hiding this comment.
🟠 High
src/codexTextGenerator.ts:145 fs.readFile at line 145 has no size limit, unlike the maxBufferBytes guard on stdout/stderr in runProcess. Consider adding a file size check (via fs.stat) before reading to prevent OOM if codex produces unexpectedly large output.
- const rawOutput = (await fs.readFile(outputPath, "utf8")).trim();
+ const MAX_OUTPUT_BYTES = 8 * 1024 * 1024;
+ const stat = await fs.stat(outputPath);
+ if (stat.size > MAX_OUTPUT_BYTES) {
+ throw new Error(`Codex output exceeded size limit (${MAX_OUTPUT_BYTES} bytes).`);
+ }
+ const rawOutput = (await fs.readFile(outputPath, "utf8")).trim();🚀 Want me to fix this? Reply ex: "fix it for me".
🤖 Prompt for AI
In file apps/server/src/codexTextGenerator.ts around line 145:
`fs.readFile` at line 145 has no size limit, unlike the `maxBufferBytes` guard on stdout/stderr in `runProcess`. Consider adding a file size check (via `fs.stat`) before reading to prevent OOM if `codex` produces unexpectedly large output.
- include open PR metadata in git status with graceful `gh` failure handling - centralize git command execution in `GitCoreService` via `runProcess` with truncation support - add PTY spawn-helper permission fixes, shell fallback retries, and tests for new behavior
| } | ||
|
|
||
| async createWorktree(input: GitCreateWorktreeInput): Promise<GitCreateWorktreeResult> { | ||
| const sanitizedBranch = input.newBranch.replace(/\//g, "-"); |
There was a problem hiding this comment.
🟡 Medium
src/git.ts:382 Default worktreePath can collide across repos and branches (sanitized names and shared basenames). Suggest deriving a unique, deterministic path (e.g., hash of full repo path + branch) or document if intentional.
🚀 Want me to fix this? Reply ex: "fix it for me".
🤖 Prompt for AI
In file apps/server/src/git.ts around line 382:
Default `worktreePath` can collide across repos and branches (sanitized names and shared basenames). Suggest deriving a unique, deterministic path (e.g., hash of full repo path + branch) or document if intentional.
| args.push("-m", trimmedBody); | ||
| } | ||
| await this.git(cwd, args); | ||
| const commitSha = trimStdout(await this.gitStdout(cwd, ["rev-parse", "HEAD"])); |
There was a problem hiding this comment.
🟢 Low
src/git.ts:256 Race condition: another commit between git commit and git rev-parse HEAD could return the wrong SHA. Consider using git rev-parse HEAD output from the commit command itself, or use git commit --porcelain to get the SHA atomically.
🚀 Want me to fix this? Reply ex: "fix it for me".
🤖 Prompt for AI
In file apps/server/src/git.ts around line 256:
Race condition: another commit between `git commit` and `git rev-parse HEAD` could return the wrong SHA. Consider using `git rev-parse HEAD` output from the commit command itself, or use `git commit --porcelain` to get the SHA atomically.
| const worktreeMap = new Map<string, string>(); | ||
| if (worktreeList.code === 0) { | ||
| let currentPath: string | null = null; | ||
| for (const line of worktreeList.stdout.split("\n")) { |
There was a problem hiding this comment.
🟡 Medium
src/git.ts:347 On Windows, split("\n") leaves trailing \r in paths, causing fs.existsSync to fail. Consider using split(/\r?\n/) instead.
| for (const line of worktreeList.stdout.split("\n")) { | |
| for (const line of worktreeList.stdout.split(/\r?\n/)) { |
🚀 Want me to fix this? Reply ex: "fix it for me".
🤖 Prompt for AI
In file apps/server/src/git.ts around line 347:
On Windows, `split("\n")` leaves trailing `\r` in paths, causing `fs.existsSync` to fail. Consider using `split(/\r?\n/)` instead.
| } | ||
|
|
||
| async removeWorktree(input: GitRemoveWorktreeInput): Promise<void> { | ||
| await executeGit(input.cwd, ["worktree", "remove", input.path], { |
There was a problem hiding this comment.
🟢 Low
src/git.ts:402 Consider adding -- before input.path to prevent paths starting with - from being interpreted as git options.
| await executeGit(input.cwd, ["worktree", "remove", input.path], { | |
| await executeGit(input.cwd, ["worktree", "remove", "--", input.path], { |
🚀 Want me to fix this? Reply ex: "fix it for me".
🤖 Prompt for AI
In file apps/server/src/git.ts around line 402:
Consider adding `--` before `input.path` to prevent paths starting with `-` from being interpreted as git options.
- Replace custom inline SVGs with Lucide commit, push, and GitHub icons - Keep git action behavior unchanged while applying minor style cleanup
- Add a Git action confirmation modal with live commit/push/PR progress states - Accept optional `commitMessage` input and skip AI message generation when provided - Expand server and contracts tests for custom commit message handling Co-authored-by: codex <codex@users.noreply.github.com>
- Move git menu, modal, and stacked action logic out of `ChatView` - Render a new `GitActionsControl` wired with `api` and `gitCwd`
- Split Git actions into context-aware Commit, Push, and PR menu items - Add modal action selection with clearer availability and disabled-state guidance - Migrate git status and immediate actions to React Query and add a custom GitHub icon Co-authored-by: codex <codex@users.noreply.github.com>
Increase diagnostic visibility by appending complete vp check stdout/stderr to job summary instead of truncating. This exposes all 11 lint errors detected in RUN pingdotgg#13. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…ne releases' (pingdotgg#13) from gmacko-release-lane-rebuild into custom-local
…#13) Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
…ed play, and which are stuck' (pingdotgg#13) from feature/grow-play-report into yu-v2 Reviewed-on: https://git.burmese-shiner.ts.net/yasinuslu/t3code/pulls/13
…g#13) Native omp adapter, milestone M1 (spec §4/§5.1/§5.3/§10-M1): - packages/provider-omp: zero-settings schema, client definition, driver with managed snapshot, minimal fail-closed adapter carrying the §7 capability truth table, JSONL v2 frame facts under server/rpc/, testing seam - status check: short-lived 'omp --mode rpc --no-session' via PATH; version probe, ready-frame protocol negotiation (missing v2 → readable upgrade hint, fail-closed), get_available_models catalog (slug provider/id, subProvider = omp provider family), stdin close + stdout drain to exit - no login, MCP, or session side effects (--no-session) - registrations exactly per spec §4: builtInDrivers (import + union + BUILT_IN_DRIVERS append), providerStatusCache BUILT_IN_DRIVER_ORDER rank, providerClients ompClient + workspace deps in apps/server and packages/client-runtime; lockfile rebuilt via pnpm install --lockfile-only - version stamp 0.1.7-omp.1 already on apps/server (identity patch) Tests: fake omp JSONL subprocess drives success / protocol-v1 / missing binary paths; drain marker proves stdin close + EOF read before exit.
…otgg#18/pingdotgg#21/pingdotgg#23 - @hono/node-server 1.19.17 -> 1.19.18 (GHSA-jpvv-r467-5p4w) - node-forge 1.4.2 -> 1.4.3 (GHSA-6889-vf6x-f3g5 u.a.) - fast-xml-parser 5.7.3 -> 5.12.0 (GHSA-474x-hrwr-fgx4) - qs 6.16.0 -> 6.16.1 (GHSA-6pq8-jhm2-2vcw) - seroval/seroval-plugins 1.5.4 -> 1.6.11 (GHSA-f86p-h4j2-7qgj u.a.) - undici 6.29.0/7.29.1/8.11.2 -> 6.29.1/7.30.1/8.12.2 (GHSA-qrxm-fqhp-jwvm, GHSA-9fm3-97px-rjf6) - @modelcontextprotocol/sdk (devDependency, apps/server) 1.29.0 -> 1.30.1 (GHSA-f897-62hf-6gxq) - astro (apps/marketing) 7.3.5 -> 7.4.5 (GHSA-mh32-jxcr-mh9f) Alles transitiv ausser mcp-sdk und astro, jeweils Patch-/Minor-Release ohne API-Bruch. basic-ftp und happy-dom aus den gleichen Issues sind laut Lockfile aktuell gar nicht aufgelöst (optionale Peer bzw. nicht installiert), minimatch/glob (pingdotgg#15) bleiben bewusst offen (Major-Sprung, siehe PR-Text). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and pingdotgg#44794 Web icon stack) Ports 51 selected high-value upstream PRs from ba05524..d7e01c3 plus the Web-only overlapped provider icon stack visual delta from pingdotgg#44794 while preserving all 15 locked T4 customizations, T4 branding, zero-telemetry stance, and self-hosted infrastructure (skipping Jira-only pingdotgg#45030): - Features & perf (9 + pingdotgg#44794 Web): pingdotgg#45373, pingdotgg#45460, pingdotgg#45286, pingdotgg#45560, pingdotgg#45533, pingdotgg#45637, pingdotgg#45835 (Lock pingdotgg#13 orthogonal), pingdotgg#45828 (Lock pingdotgg#5 orthogonal), pingdotgg#45832 (swipe-actions-only partial), pingdotgg#44794 (Web SidebarThreadRow overlapped icon stack) - Mobile iPhone/iPad & remote (7): pingdotgg#45324, pingdotgg#45524, pingdotgg#45403, pingdotgg#42298, pingdotgg#45285, pingdotgg#45315, pingdotgg#45397 - Multi-machine, Desktop SSH & Linux (12): pingdotgg#45584, pingdotgg#45443, pingdotgg#45414, pingdotgg#45297, pingdotgg#45454, pingdotgg#45407, pingdotgg#45432, pingdotgg#45501, pingdotgg#45471, pingdotgg#45420, pingdotgg#45482, pingdotgg#45582 - ACP, Codex, Git & terminal stability (14): pingdotgg#45410, pingdotgg#45450, pingdotgg#45590, pingdotgg#42115, pingdotgg#45371, pingdotgg#42260, pingdotgg#45618, pingdotgg#45592, pingdotgg#45298, pingdotgg#45492, pingdotgg#45506, pingdotgg#45827, pingdotgg#45565, pingdotgg#45516 - Web/Desktop composer & Git UX (9): pingdotgg#45369, pingdotgg#45391, pingdotgg#45418, pingdotgg#45390, pingdotgg#45406, pingdotgg#45302, pingdotgg#45343, pingdotgg#45441, pingdotgg#45604 Includes independent gpt-6.2-astra blind-review hardening for pingdotgg#45391 (preserving remote tab pendingImageCount across storage events and clearing stale in-memory stash entries on storage clear).
…revisionedQuery, threadVisits, plan citations) Ported 7 cross-layer upstream commits: pingdotgg#46714, pingdotgg#46828, pingdotgg#46111, pingdotgg#47051, pingdotgg#47069, pingdotgg#47102, pingdotgg#44977. Preserved all locked T4 features (Lock pingdotgg#7, pingdotgg#13, pingdotgg#31) and normalized T4 Code branding in docs/user/appearance.md.
…watches Lint: t3code(prefer-catch-tags) acusava Effect.catchTag no deleteHook de gitHubRepositoryWebhooks.ts; agora usa Effect.catchTags. Test Server 7: o teste 'refresh rereads only the watched pull requests a host webhook names' roda na camada compartilhada do 'lifecycle', onde um teste anterior deixa um watch ativo em pingdotgg/t3code#13. O sweep lia esse PR também e o contador do 13 dava 2. O teste passa a usar repositórios e números próprios (watch-refresh/app#7012 e #7013, watch-refresh/lib#7005), sem mudar o que ele verifica. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….1.13 chore(sync): merge upstream v0.1.13 (bc0f04d)
Summary by CodeRabbit
New Features
Chores
Tests