Commit Graph
830 Commits
Author SHA1 Message Date
Theo BrowneandClaude Fable 5 bcebb793b0 fix: decode quoted paths as UTF-8 and count hidden git files from patch sections
- Git C-style quoting octal-escapes raw UTF-8 bytes; decoding each escape
  with String.fromCharCode produced mojibake, so attribution lookups missed
  quoted non-ASCII paths and their sections were never filtered (macroscope,
  bugbot). stripGitPathQuoting now decodes into a byte buffer and UTF-8
  decodes the result.
- gitFileCount counted every git-attributed path in the attribution map,
  overstating hidden files when a path had no section in the patch (e.g.
  whitespace-only changes elided by ignoreWhitespace) and double-counting
  renames from the --no-renames map (macroscope, bugbot). It now counts
  git-attributed sections actually present in the patch, so the banner
  matches what the toggle can reveal.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-23 13:44:17 -07:00
Theo BrowneandClaude Fable 5 0dd887c3e9 fix: harden attribution against whitespace amends, binary/mode-only filtering, and banner drift
- patch-id --stable strips whitespace, so a whitespace-only amend collided
  with its pre-amend reflog original and was demoted as a replay — hiding
  agent work (macroscope, bugbot, codex). Switched to --verbatim and added
  an integration test amending a whitespace-only change.
- Binary and mode-only sections have no ---/+++ lines, so they always
  survived filtering even when git-attributed (codex). resolveDiffSectionPath
  now falls back to rename/copy metadata and then the `diff --git` header
  (with C-style quoted-path decoding); genuinely ambiguous headers are still
  kept. Tests for binary, mode-only, quoted, spaced, rename-only, and
  ambiguous sections.
- The diff panel banner was driven by the turn summary's origin tags while
  the patch was filtered by an independent attribution pass, so the two
  could disagree after partial failures (codex). getTurnDiff and
  getFullThreadDiff now return gitFileCount from the same pass that filtered
  the patch, and the banner uses that.

Codex also flagged attribution cost (re-running per diff-query variant);
deferred — all calls are plumbing on OIDs, the fast path covers turns
without HEAD movement, and caching by checkpoint pair can come later if
real-world latency shows up.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-23 13:44:17 -07:00
Theo BrowneandClaude Fable 5 6f07f6853b fix: address review findings on turn diff attribution
- resolveDiffSectionPath scanned line-by-line and returned the `--- a/`
  source path before ever seeing `+++ b/`, so rename sections resolved to
  the pre-image path and could be mis-filtered (macroscope, bugbot). Now
  resolves the post-image path in a full pass with the source as fallback,
  plus a rename filtering test.
- `commit --amend` of a pre-turn commit preserved the old author date, so
  amended agent content was misattributed to history and hidden — the one
  invariant violation both bots flagged. Commits authored before the turn
  but committed during it are now disambiguated by patch-id: an identical
  patch elsewhere in the repo (branches/remotes/reflog — reflog catches
  pre-rebase originals) means replayed pre-existing content (demote);
  otherwise it's an amend (show). Integration test included.
- Per-commit diff-tree now passes --root so agent-authored root commits on
  orphan branches contribute their paths (macroscope).
- includeGitChanges is scoped to the diff panel selection key so revealing
  git changes on one turn no longer leaks into other turns/threads
  (macroscope).
- Git-only turns render a compact card with just the "Updated via git" row
  instead of a "0 changed files" header with dead controls (macroscope).

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-23 13:44:17 -07:00
Theo BrowneandClaude Fable 5 fc3a695383 feat: attribute turn diffs so git-only changes stop polluting changed files
The changed-files card and per-turn inline diff are derived from full-tree
checkpoint snapshots, so any tree-rewriting git command the agent runs
(pull, checkout, cherry-pick, rebase) shows up as hundreds of "changed
files" the agent never authored.

This adds a read-side attribution layer on top of the existing checkpoint
mechanism (capture, storage, and revert are untouched):

- Checkpoint commits now record the HEAD oid and branch in their commit
  message. Legacy checkpoints without metadata degrade to today's behavior.
- attributeCheckpointDiff classifies each path in a checkpoint tree delta:
  a path is "git" only when its exact blob transition also appears in the
  HEAD-movement delta for the turn and no commit authored during the turn
  touched it. Every ambiguity resolves to "agent" (shown), so
  misclassification can add noise but never hide agent work. Merge commits
  use the combined diff so only conflict resolutions count as agent work.
- The checkpoint reactor tags each file with an origin; attribution
  failures degrade to unattributed files and never block the pipeline.
- getTurnDiff/getFullThreadDiff drop git-attributed file sections from the
  patch unless the new includeGitChanges input is set.
- The changed-files card lists agent files only, with a muted
  "Updated via git — N files" row for demoted changes. The diff panel
  shows a banner with a show/hide toggle so the full tree delta stays one
  click away.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-23 13:43:20 -07:00
Theo Browne 88c69ffff6 fix(server): parse CLI version in update preflight (#4389) 2026-07-23 12:58:33 -07:00
Julius Marminge 1c9a6de26e Add shared t3.json project configuration support (#4317) 2026-07-23 09:42:35 +00:00
Theo BrowneandClaude Fable 5 fbd77420f2 feat: add "Auto" runtime mode — AI-reviewed approvals for Codex and Claude (#4272)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-23 02:06:24 -07:00
2d31cb022d improve and prevent silent thread branch drift and PR fetching (#2284)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-07-23 01:13:21 +02:00
Julius Marmingeandcodex ab4a88386d Add remote server updates and standalone service management (#4286)
Co-authored-by: codex <[email protected]>
2026-07-22 23:49:21 +02:00
Julius MarmingeandClaude Fable 5 9a0a07167f fix(server): don't drop sticky PR fallback when remote URL can't be resolved (#4289)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-22 18:11:07 +02:00
Julius MarmingeandClaude Fable 5 376c149eac Stabilize PR status lookups and provider session lifecycle (#4281)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-22 17:49:46 +02:00
Yukun Shanandcodex 4e09cddb40 fix(server): stop restoring stale OpenCode models (#4095)
Co-authored-by: codex <[email protected]>
2026-07-22 15:57:29 +02:00
Ishanandcodex 783692afc1 Preserve connecting status while a turn starts (#4101)
Co-authored-by: codex <[email protected]>
2026-07-22 15:54:55 +02:00
Jaret Bottomsandcodex aa5ec80364 fix(claude): isolate capability probe from user MCP servers (#4015)
Co-authored-by: codex <[email protected]>
2026-07-22 15:54:30 +02:00
32c6012dab Sidebar v2 beta: flat thread list with a server-backed settled lifecycle (#4026)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: maria-rcks <[email protected]>
2026-07-22 03:36:34 -07:00
Theo BrowneandClaude Fable 5 6f34ad3e87 fix(claude): handle all SDK stream messages; stop spurious work-log warning rows (#4244)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-21 19:58:39 -07:00
Theo BrowneandClaude Fable 5 62cf461759 fix: better defaults — Claude 1M context, Codex gpt-5.6, worktrees from origin main (#4240)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-21 17:13:44 -07:00
db4b2d8a0f perf(orchestration): speed up new-chat propagation and offline catch-up (#4177)
Co-authored-by: codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-07-20 14:44:58 +02:00
Maxwell Young fa69f05b69 [codex] preserve custom model slugs (#4168) 2026-07-20 13:32:30 +02:00
Maxwell Young a135f2c2d3 [codex] show complete approval details (#4111) 2026-07-20 13:16:57 +02:00
Utkarsh Patil 0ca3240691 fix(server): use CLI for OpenCode health check instead of spawning server (#4153) 2026-07-20 12:22:00 +02:00
Vadym Kotaiandcodex f4da4f3b40 fix(opencode): resume the OpenCode session on follow-ups instead of starting an empty one (#3617)
Co-authored-by: codex <[email protected]>
2026-07-20 10:20:28 +00:00
Julius Marmingeandcodex 8e3467fe60 Synchronize mobile threads with authoritative shell snapshots (#4163)
Co-authored-by: codex <[email protected]>
2026-07-20 11:54:59 +02:00
Andrew ForsterandJulius Marminge 501ce27b81 [orchestration] Clear stale active turn when session becomes inactive (#3159)
Co-authored-by: Julius Marminge <[email protected]>
2026-07-20 11:04:48 +02:00
40c0ab0883 Add Codex launch arguments setting (#2892)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: root <[email protected]>
2026-07-20 11:04:03 +02:00
Guilherme VieiraandJulius Marminge 33f1cb4224 fix(codex): show web search query and url in tool call details (#2093)
Co-authored-by: Julius Marminge <[email protected]>
2026-07-20 10:58:38 +02:00
Andrew Barnes 5fcfe242c1 fix(cli): support force removing projects (#3922) 2026-07-20 08:53:02 +00:00
Tristan Knight 3235658c08 fix: delegate OpenCode session titles to provider (#3720) 2026-07-20 08:43:07 +00:00
Theo BrowneandClaude Fable 5 749baec353 feat(server): title background-task work-log rows with the task name (#3751)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-20 10:42:02 +02:00
Pieter van Zyl 68ea280388 fix(server): recognize Bedrock-backed Claude as authenticated (#3931) 2026-07-20 08:35:08 +00:00
David Whatley 3795dbb017 fix(server): resolve Claude SDK executable path on Windows npm installs (#3740) 2026-07-20 08:31:13 +00:00
eeinarsson 2640e6dcfc fix(client): use lightweight connection probe (#4137) 2026-07-20 01:33:01 +02:00
Utkarsh Patil 398140a9bd fix: increase OpenCode server startup timeout from 5s to 30s (#4132) 2026-07-19 19:33:10 +02:00
Julius Marmingeandcodex 2b180a2b2d Refine T3 Connect authorization surfaces (#4159)
Co-authored-by: codex <[email protected]>
2026-07-19 19:23:53 +02:00
7a820abfdd feat: add headless t3 connect setup for SSH hosts (#3749)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-07-19 18:59:23 +02:00
Julius Marmingeandcodex 4f11740510 Add isolated app testing workflow (#4121)
Co-authored-by: codex <[email protected]>
2026-07-19 11:57:58 +02:00
Maxwell Young da3c2030f7 [codex] canonicalize client timestamps (#4112) 2026-07-18 13:40:34 +02:00
d0b9f8d40d [codex] Route OpenCode missing-session errors through Effect (#3608)
Co-authored-by: Codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-07-18 13:19:52 +02:00
Julius Marminge 24f9c2a08e Share MCP OAuth locks across Codex shadow homes (#4104) 2026-07-17 23:26:53 +02:00
31ca9e5531 fix(server): skip undecodable provider runtime rows when listing sessions (#3951)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-07-17 21:26:22 +00:00
Matt Van HornandJulius Marminge 4e3f2f04d5 fix(server): thread cwd through Claude capability probe (#2048) (#2124)
Co-authored-by: Julius Marminge <[email protected]>
2026-07-17 23:22:19 +02:00
1047dac0c5 fix(terminal): strip AppImage runtime env from spawned terminals (#3108)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-07-17 23:21:19 +02:00
cf58cadd02 feat(server): include runtime model and effort in Codex developer instructions (#3948)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-07-17 23:15:53 +02:00
Maxwell YoungandJulius Marminge bcd640bf4d [codex] prevent ACP assistant ID collisions after restarts (#3932)
Co-authored-by: Julius Marminge <[email protected]>
2026-07-17 21:51:16 +02:00
ed81c156da fix(server): image upload crashed dispatchCommand with a stack overflow (#3952)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-07-17 21:47:52 +02:00
Kriday DaveandJulius Marminge 7dc75127c2 Fix duplicate keybinding rule when replacing with an existing rule (#3969)
Co-authored-by: Julius Marminge <[email protected]>
2026-07-17 21:47:35 +02:00
BunnyGamezsc 7f1cb61031 fix(cursor): default binary path to cursor-agent (avoid path conflict w/ grok) (#4094) 2026-07-17 18:01:02 +00:00
Eric Tsai 8b5469863a fix(server): stabilize non-repository Git diagnostics (#4077) 2026-07-17 11:15:31 +00:00
Eric Tsai 58302b2010 fix(git): treat selected commit paths literally (#3998) 2026-07-17 11:14:29 +00:00
Ishan c14a5ca492 Fix dropped events during initial thread snapshot (#4079) 2026-07-17 11:58:09 +02:00