Commit Graph
1811 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
maria 979854895c Fix thread tooltip folder icon color (#4383) 2026-07-23 18:10:51 +00:00
maria 9cbe50d10d fix(web): restore dark composer toolbar styling 2026-07-23 12:52:15 -04:00
Julius Marmingeandcodex 9d9208cec5 [codex] Group projects in new-thread pickers (#4312)
Co-authored-by: codex <[email protected]>
2026-07-23 16:11:48 +00:00
Julius Marmingeandcodex 57100fba85 [codex] restore Sidebar V2 project actions (#4373)
Co-authored-by: codex <[email protected]>
2026-07-23 16:11:27 +00:00
3afb4a9ef9 Restore grouped project filtering in Sidebar V2 (#4282)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-07-23 18:06:56 +02:00
Julius Marmingeandcodex 315b27385d [codex] Deduplicate connection failure messaging (#4367)
Co-authored-by: codex <[email protected]>
2026-07-23 18:06:49 +02:00
Julius Marmingeandcodex 719c905eac [codex] Move mobile project grouping to General settings (#4315)
Co-authored-by: codex <[email protected]>
2026-07-23 18:06:44 +02:00
Julius Marmingeandcodex 0542abc75e [codex] Group project scopes in mobile thread lists (#4314)
Co-authored-by: codex <[email protected]>
2026-07-23 18:06:38 +02:00
Julius Marmingeandcodex 7609495bf7 [codex] Move project grouping to General settings (#4313)
Co-authored-by: codex <[email protected]>
2026-07-23 18:06:33 +02:00
Yukun Shan b41e89eba9 fix(web): warn before silent Windows updates (#4350) 2026-07-23 14:36:56 +02:00
Julius Marmingeandcodex 4d83436415 Unify dialog glass and fix composer overlays (#4365)
Co-authored-by: codex <[email protected]>
2026-07-23 14:15:29 +02:00
Julius Marminge e51538b812 Restore light-mode surfaces and refine dialog styling
- Restore light-mode glass, dialog, dropdown, and composer colors
- Refine provider wizard, changed-file cards, sidebar controls, and buttons
- Update wizard step tests for the new list structure
2026-07-23 13:09:55 +02: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
Theo BrowneandClaude Fable 5 16491a84b9 fix(web): new-thread defaults ignored for remote environments (#4276)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-23 02:06:00 -07:00
maria-rcks b44ed835c6 fix(web): sync provider banner dismissal 2026-07-23 01:13:29 -04:00
maria-rcks 9c9916aefe fix(web): address redesign review findings 2026-07-23 01:13:29 -04:00
maria-rcks 936394b6f2 test(desktop): include glass opacity in settings fixture 2026-07-23 01:13:29 -04:00
maria-rcks c38225ef1c style(web): fade settings content beneath navbar 2026-07-23 01:13:29 -04:00
maria-rcks 39cd15b954 test(web): stabilize timeline module setup 2026-07-23 01:13:29 -04:00
maria-rcks 160d97f403 fix(web): honor composer glass opacity 2026-07-23 01:13:29 -04:00
maria-rcks d330759f58 fix(web): add glass composer alerts 2026-07-23 01:13:29 -04:00
maria-rcks 5961d36769 fix(web): apply glass opacity to command palette 2026-07-23 01:13:29 -04:00
maria-rcks 0b1ce58824 style(web): polish glass opacity slider 2026-07-23 01:13:29 -04:00
maria-rcks 10da67b9da fix(web): apply glass opacity to model picker 2026-07-23 01:13:29 -04:00
maria-rcks 6e5df67f15 fix(web): override thread tooltip background 2026-07-23 01:13:29 -04:00
maria-rcks 29b1abc45e fix(web): apply glass opacity to thread tooltip 2026-07-23 01:13:29 -04:00
Julius Marmingeandcodex 14b6bfdf15 fix(web): unify and tune glass surfaces
Co-authored-by: codex <[email protected]>
2026-07-23 01:13:29 -04:00
maria-rcks b6a2563db7 style(web): polish dark mode dialogs 2026-07-23 01:13:29 -04:00
maria-rcks c5ff51ec1f feat(web): refresh application surfaces 2026-07-23 01:13:29 -04: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
Rushikesh Gaikwad bc9428a06a fix(mobile): don't mark Android VPN/Tailscale as offline when connected (#3949) 2026-07-22 21:59:20 +00:00
593289c3c7 Refine light-mode sidebar surfaces (#4268)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: codex <[email protected]>
2026-07-22 23:51:31 +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
Theo BrowneandClaude Fable 5 78a0ea55c1 feat(web): copy branch name via right-click in the branch selector (#4275)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-22 23:33:07 +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
Utkarsh Patil 9fe4832a3f fix: open command palette instead of custom dialog for new thread picker in SidebarV2 (#4269) 2026-07-22 15:54:09 +00: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
Julius Marminge 7e2bb47504 Move mobile working timer into the thread timeline (#4285) 2026-07-22 17:36:22 +02:00
Julius Marmingeandcodex 18fa89c4ad Preserve draft thread highlighting during promotion (#4283)
Co-authored-by: codex <[email protected]>
2026-07-22 17:26:41 +02:00
Utkarsh Patil f74eb62661 fix(desktop): handle EPIPE errors on stdout/stderr to prevent crash dialog (#4213) 2026-07-22 17:23:07 +02:00
Henry ZhangandJulius Marminge e5fba263e6 Restore Copy Link in chat link context menu (#4161)
Co-authored-by: Julius Marminge <[email protected]>
2026-07-22 16:35:38 +02:00
Julius Marminge 18b468871e Stabilize sidebar settling animations (#4280) 2026-07-22 16:21:45 +02:00
Utkarsh Patil 020179c19a fix(web): use message-square icon for settled icon-less project threads in sidebar v2 (#4279) 2026-07-22 16:20:20 +02:00
b6e1b39335 fix(web): default provider selection for users without Codex (#4117)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-07-22 15:58:27 +02:00