GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(upstream): sync marcode through cd096b9ad5a4 by maarco · Pull Request #37 · maarco/marcode

Conversation

@maarco

@maarco maarco commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Merges pingdotgg/t3code@cd096b9ad5a4156ffeab85de617cbb219057007f (2026-08-17) into main. 163 upstream commits, merge base b73232bdd31e. 693 files changed.

This supersedes the four stacked draft syncs — #29 (9e201941), #31 (184d8ef3), #33 (ad117235), #35 (bab4b6f0) — all of which are ancestors of this SHA. It also resolves the blocked-sync issue #36. Merging this one and closing the other four is the intended outcome.

47 conflicted paths were resolved by hand. No file was taken wholesale from either side, and no reset / restore / checkout --ours|--theirs / stash / clean / force push was used. MERGE_HEAD stayed at cd096b9ad5a4 for the whole resolution.

Hotspot decisions, by owner

editor-runtime — the floating editor is the only file-editing surface
  • components/files/File{Browser,Preview}Panel.tsx — accepted upstream's edits as deletions; Marcode retired both surfaces.
  • ChatMarkdown.tsx — kept upstream's fix: a bare filename reference now resolves through the workspace index instead of assuming the workspace root (fix(web): open the file a bare filename reference names pingdotgg/t3code#6297). Retargeted from useRightPanelStore.openFile (which does not exist on Marcode) to openFileInFloatingEditor. Upstream's onOpenInPanel prop shape is kept so the seam stays one line wide.
  • diffFileActions.ts — kept upstream's fix: resolveDiffPathForWorkspace rebases a repository-relative diff path onto the workspace root so diffs in nested projects open the right file (fix(web): open diff files from nested projects pingdotgg/t3code#6174). Its result feeds the floating editor. Note the file could not compile without it — the merged fallback already referenced workspaceFilePath.
  • RightPanelTabs.tsx — threaded upstream's desktopByTabId (captured browser-tab favicons, feat(desktop): add favicons to the Browser panel pingdotgg/t3code#5644) but not theme, which only tints PierreEntryIcon for the retired file surface.
web-navigation / web-shell — FloatingPillNav owns brand, nav and settings
  • AppSidebarLayout.tsx, sidebar/SidebarChrome.tsx — kept Marcode's no-trigger / no-brand shape. Upstream's SidebarBrand, T3Wordmark and footer actions stay out; taking their block would also have referenced symbols this file does not import.
  • threadSidebarWidth.test.ts — kept Marcode's "brand stays out of the sidebar header" removal pin and dropped upstream's opposing wordmark assertion.
  • chat/ChatHeader.tsx — kept the title-only header (no thread action menu, no inline rename; thread actions already live on the sidebar row's context menu) and added upstream's remote-open imports.
  • ChatView.tsx titlebar controls — took upstream's shared-inset fix (fix(web): align every titlebar control cluster on one shared inset pingdotgg/t3code#6592). Their refactor deleted the .workspace-titlebar-controls utility in favour of inline positioning plus a data-workspace-titlebar-controls attribute, and that utility is gone from the merged index.css, so Marcode's class could not be kept.
  • ChatView.tsx composer inset — .chat-composer-horizontal-inset was removed by upstream's global-styling refactor (refactor(web): simplify global styling pingdotgg/t3code#6381). Their inline classes are the same 0.75rem / 1.25rem safe-area pair; Marcode's hero centering is kept on top.
design-system — apps/web/src/index.css

Adopted upstream's Tailwind v4 restructure — @variant dark nested inside :root, top-level @utility blocks, @layer base ahead of @layer components — and moved every Marcode rule into the new structure unchanged (--workspace-titlebar-content-left, Mentiko monochrome .stage-blueprint, topbar and scroll-fade utilities, floating chrome, ultrathink, composer chips).

  • Kept Marcode's Mentiko near-black dark palette over upstream's restored palette (fix(web): restore dark theme palette pingdotgg/t3code#6663). Marcode's token set is a strict superset there, so no upstream token is dropped.
  • Upstream's zinc [data-app-sidebar] overrides stay out, as the existing in-file comment already records.
  • Took upstream's new theme-id stage-art aliases — the --stage-art-celeste-* / --stage-night-glow-* tokens their @layer base introduces are unset for the built-in themes without them.

⚠️ This is the part that most needs your eyes. Brace count balances and every affected package typechecks, but a CSS restructure of this size wants a real look at the app — including 390px and 820px — and I have no browser in this container.

Terminal — Marcode keeps xterm for its search addon; upstream now runs Ghostty

ThreadTerminalDrawer.tsx was the hardest file: upstream's version of it drives GhosttyTerminalSurface, Marcode's drives xterm, and parts of upstream's new code had already merged cleanly into Marcode's effect (leaving selectionActionMenuOpenRef undefined and openSelectionMenuRequestIdRef declared but unused).

Kept the xterm surface and ported upstream's two behaviour fixes onto it:

  • right-click context menu with an always-offered Paste (fix(terminal): right-click paste works in the terminal pingdotgg/t3code#5240)
  • Ctrl+C copy of the terminal selection in the web app (fix(web): add copying terminal selection with ctrl+c in the web app pingdotgg/t3code#5638)

Their pure helpers (terminalContextMenuItems, terminalSelectionMenuItems, shouldClearTerminalSelectionAction, shouldHandleTerminalExit) are taken verbatim; shouldHandleTerminalExit now backs what was an inline condition. pasteFromClipboard is reimplemented against terminal.paste with the supersede check made explicit, since xterm has no pasteFromClipboard(read, isCurrent) hook, and the context menu binds a DOM contextmenu listener because xterm has no onContextMenu option. Skipped terminalSelectionLineRange, which reads Ghostty's selection-position shape.

Added focused tests for the ported helpers so the next sync fails loudly instead of reverting them.

⚠️ The pure helpers are covered by tests; the interactive clipboard behaviour is not runtime-verified — no browser here. Worth a manual right-click → Paste and a Ctrl+C-with-selection in a real terminal panel.

product-identity / release-branding
  • ConnectionsSettings.tsx — kept "Marcode Connect" and took upstream's window.desktopBridge guard (fix(web): hide T3 Connect toggle in web app settings pingdotgg/t3code#5068), so the web app no longer offers a desktop-only toggle.
  • clerk/MobileClientsUserProfilePage.tsx — adopted upstream's ClerkUserProfilePage / Row / RefreshButton extraction, keeping Marcode wording. The surrounding merged code had already moved to the new closing tags, so their refactor was the only coherent resolution.
  • _chat.pull-requests.tsx — "Update your Marcode servers…" keeps upstream's all-server phrasing (feat(web): pull request surfaces — filters & qualifiers, all-server listing, update branch, reactions, in-place editing, smarter diffs pingdotgg/t3code#6039) with Marcode's name.
  • BitbucketSourceControlProvider.ts — MARCODE_BITBUCKET_* names plus upstream's added "user read" scope (docs: mention Bitbucket user read scope needed by auth probe pingdotgg/t3code#6291).
  • desktopUpdate.logic.ts — followed upstream in deleting the Windows install warning and the platform parameter (fix(web): align Windows update confirmation copy pingdotgg/t3code#7208). That warning was upstream's own feature that Marcode had only rebranded, and all three call sites merged without the argument, so keeping it would have left dead code behind a compile error.
  • CodexSessionRuntime.test.ts — upstream's codexDefaultModeDeveloperInstructions(true) call with Marcode's /Marcode/ branding assertion.
  • electron-launcher.mjs — Marcode bundle ids and schemes, upstream's LAUNCHER_VERSION bump and assets/<brand> icon sources; the now-unused resources/icon.icns path dropped alongside upstream's deletion of that file. Marcode's assets/ already carries its own artwork under upstream-shaped filenames, so their new lookup works unchanged.
Upstream test cleanups that were pinning Marcode behavior
  • infra/relay/scripts/deploy.test.ts, scripts/mobile-showcase.test.ts — kept the blocks test: remove redundant and stale tests pingdotgg/t3code#6267 deleted as "redundant". They are the only assertions pinning the MARCODE_-prefixed relay env keys and the marcode:// production deep-link scheme, and both producers are still exported. Imports restored, and a comment explains why they stay.
  • threadSettled.ts — a genuine behavioural collision. Composed upstream's autoSettleOnMerge switch (feat: allow disabling auto-settle on merge pingdotgg/t3code#5880) with Marcode's warm window: upstream decides whether the change-request state settles at all, Marcode then gates it on an hour of idleness. Upstream's new test asserted that a close settles a still-warm thread, contradicting Marcode's two existing warm-window tests, so it now proves the switch is merge-only (against an idle shell) and warm-hold (against a recent one).

Breaks that merged cleanly and produced no conflict

These are the dangerous ones and the reason a green auto-merge would have been wrong:

Where What merged silently Fix
.agents/skills/test-t3-mobile/scripts/pair-client.sh (new upstream file) reads T3CODE_PORT, defaults to the t3code-dev scheme, targets com.t3tools.t3code.dev MARCODE_PORT, marcode-dev, com.t3tools.marcode.dev; also aligned the stale t3code-dev references elsewhere in that skill with app.config.ts
apps/desktop/src/wsl/DesktopWslServerTree.test.ts (new upstream test) seeds T3CODE_HOME / T3CODE_MODE, which DesktopConfig ignores → state dir resolves away from the temp dir MARCODE_HOME / MARCODE_MODE
scripts/build-desktop-artifact.test.ts (new upstream assertion) expects DMG title T3 Code (Alpha) 1.2.3 Installer Marcode 1.2.3 Installer. The neighbouring Linux protocol assertion deliberately keeps the upstream-shaped t3code schemes that OAuth deep links depend on
clerk/T3ConnectUserProfilePage.tsx (new upstream page) six user-visible "T3 Connect" strings rebranded to Marcode Connect; component and file names stay T3Connect*
desktopUpdate.logic.test.ts (rewritten upstream test) asserts the exact T3 Code confirmation string Marcode wording
.github/workflows/release.yml new publish_aur job would publish the t3code-bin / t3code-nightly-bin AUR packages from Marcode's repo, and needs an AUR_SSH_PRIVATE_KEY Marcode has no reason to hold packaging/aur and the reusable workflow are carried unchanged but the job is gated behind a PUBLISH_AUR repository variable, so a release neither pushes to upstream's AUR repositories nor fails on a missing secret

👉 The AUR one is a policy call, not a mechanical fix — flagging it explicitly. Default is off. If Marcode should never publish Arch packages, deleting packaging/aur and publish-aur.yml outright is cleaner; if it should publish its own, the packages need renaming first. I noted the current state in the README.

The renamed-identity sweep (T3CODE_HOME, t3code.service, WORKTREE_BRANCH_PREFIX, t3code:* storage keys, ~/.t3 paths, boot-service naming) turned up no other regressions. WORKTREE_BRANCH_PREFIX is still referenced symbolically everywhere, so the previous sync's fix held. Compatibility identifiers left deliberately upstream-shaped: @t3tools/*, the t3 package/CLI name, t3code:* storage keys, t3code/t3code-dev desktop protocol schemes, T3_BOOT_SERVICE_UNIT, T3_SERVICE_LAUNCHER_CONTEXT, and the mobile app's "T3 Code" display name.

New lint rule required migrating Marcode's own call sites

Upstream added no-native-title-tooltip and registered it as an error (pingdotgg#7209). Upstream migrated their call sites in the same commit; Marcode has 25 of its own that upstream never had. Rather than weaken the rule, all 25 are migrated to Tooltip / TooltipTrigger / TooltipPopup: git-panel (8), file-tree (5), floating-code-pill (4 — one is a shared SidebarIcon helper that covers ten call sites), tab-bar (3), GitActionsControl (3), stash-selector (2), plus FloatingTerminalShell, branch-selector, editor-pane, OpenInPicker, Sidebar and DraftHeroHeadline.

Two judgement calls there:

  • Disabled menu rows drop the attribute rather than gain a tooltip (OpenInPicker, GitActionsControl). A disabled button does not reliably fire the hover that would show it, and each row already renders its label as visible text beside an aria-label. The one thing lost is the "no working directory yet" / action-disabled explanation on hover — say the word if you want it back as a popover footer.
  • branch-selector's current-branch dot was aria-hidden with a title, so the hint was never reachable by assistive tech; it is now purely decorative.

tooltip.tsx keeps Marcode's FLOATING_SURFACE_Z.portalOverlayTooltip inline style instead of upstream's z-[140] — Marcode already encodes exactly that "tooltips above dropdowns" ordering (pingdotgg#6241), applied inline so it outranks any stray z-* class.

Verification

Focused, per the repo's rules — no repo-wide suite.

  • Tests — web components + editor: 140 files / 1370 passed. client-runtime + shared + contracts: 112/113 files, 1286 passed. server pullRequest/sourceControl/preview/auth: 41 files / 719 passed. provider/cloud/cli/desktop/scripts/plugin/infra: 181 files / 1774 passed.
  • Typecheck — clean: @t3tools/web, @t3tools/client-runtime, @t3tools/shared, @t3tools/contracts, t3 (server), @t3tools/desktop, @t3tools/scripts.
  • Format — vp fmt --check clean on all 658 changed files.
  • Lint — 0 errors across apps/web/src, apps/server/src, apps/desktop/src, packages, scripts, oxlint-plugin-marcode, infra.

Three test failures are pre-existing and environmental, not merge-caused:

  1. packages/shared/src/Net.test.ts > findAvailablePort returns preferred when it is free — proven by running the same file from a disposable detached worktree at 1af3478a, where it fails identically. The merge's only change to Net.ts is an additive hasListenerOnHost; findAvailablePort and its test are untouched.
  2. scripts/update-release-package-versions.test.ts > preserves manifest write context… — chmod 0o400 then expects the write to fail, but this container runs as uid 0. The documented root exemption. File untouched by the merge.
  3. .github/scripts/thread-transfer-report.test.cjs — "no test suite found" under this runner invocation. File untouched by the merge.

Separately, five suites could not load at first because @aliimam/[email protected] declares main: dist/index.cjs and its published tarball ships no such file — a pre-existing defect in a Marcode-only dependency, at the identical version in both lockfiles. I added a local-only CJS shim inside node_modules (not committed) so those suites could actually run; they pass. Worth fixing separately — it will bite anyone whose bundler resolves main.

pnpm-lock.yaml was regenerated with pnpm install --lockfile-only, not hand-merged. Neither pnpm-workspace.yaml nor infra/relay/package.json changed, so no .repos/ vendored-subtree sync is required.

Not verified

  • No runtime client verification. No browser or simulator in this container, so nothing was driven in a real client. Given the index.css restructure and 25 tooltip migrations across the floating editor, the review checklist's runtime pass at 390px and 820px is the main outstanding gate — along with vp run icons:check, since apps/desktop/resources/** and assets/** are in the diff.
  • Mobile: upstream's built-in themes (feat(mobile): add built-in themes pingdotgg/t3code#6619) and sheet/nav changes came in with only static checks here.

Intentionally left as a draft, and not marked ready.


Generated by Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
t3-code-bot Bot and others added 30 commits August 12, 2026 14:32
@t3-code-bot t3-code[bot]
@UtkarshUsername @extoci
fix(web): align update toast release notes link (pingdotgg#6322)
8601797
Co-authored-by: t3-code[bot] <219304759+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <[email protected]>
Co-authored-by: Exotic <[email protected]>
@extoci
fix(web): render tooltips above dropdowns (pingdotgg#6241)
770946d
@t3-code-bot @maria-rcks
fix(web): open modified PR clicks in browser (pingdotgg#6278)
8d24b51
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: maria <[email protected]>
@juliusmarminge
Fix mobile command popover glass rendering (pingdotgg#6370)
18918d1
@PixPMusic
test(mobile): seed snoozed showcase threads (pingdotgg#5155)
e3a9c25
@extoci
fix(web): preserve appearance mode when changing themes (pingdotgg#6343)
9666b87
@StiensWout @juliusmarminge @codex
feat(connect): deregister account environments from any client (pingd…
d0b8d63
…otgg#4844)

Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
@Bil0000 @juliusmarminge
feat(web): pull request surfaces — filters & qualifiers, all-server l…
b28f9bf
…isting, update branch, reactions, in-place editing, smarter diffs (pingdotgg#6039)

Co-authored-by: Julius Marminge <[email protected]>
@t3dotgg
fix(web): cmd+click sidebar PR numbers open in the browser (pingdotgg…
2eb099f
…#6378)
@gsimone @cursoragent
feat(web): project favicon and workspace icons in command subtitles (p…
ac1264e
…ingdotgg#6330)

Co-authored-by: Cursor <[email protected]>
@dominic-r
web/settings: fix source control scan on relay environments (pingdotg…
da6253b
…g#6230)
@t3-code-bot @UtkarshUsername
fix(web): make reset zoom hover visible (pingdotgg#6385)
33f9705
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <[email protected]>
@t3dotgg @claude
fix(web): keep the typed prompt when a draft changes repo (pingdotgg#…
1e59b4c
…6393)

Co-authored-by: Claude Fable 5 <[email protected]>
@dominic-r @claude
fix(web): keep diff file lists scrollable past expanded files (pingdo…
6bc6cb6
…tgg#6423)

Co-authored-by: Claude Fable 5 <[email protected]>
@none23
fix(server): align Codex collaboration prompts (pingdotgg#6432)
df19f6c
@extoci
fix(web): keep turn minimap stable as composer grows (pingdotgg#6414)
5015d7c
@Bil0000
fix(web): keep pull request panel within viewport (pingdotgg#6451)
97db94c
@maria-rcks
Add bil0000 to VOUCHED contributors list (pingdotgg#6462)
9513e62
@t3-code-bot @juliusmarminge
fix: ignore pull request actions in latency tracker (pingdotgg#6476)
2ab188f
Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
Remove rebase requirement before opening PR (pingdotgg#6479)
9e20194
@chrisdeeming
fix(mobile): extend blockquotes across wrapped lines (pingdotgg#6482)
fd51561
@Lucenx9
fix(mobile): prevent invalid HTML entities from crashing markdown (pi…
83ad26c
…ngdotgg#6495)

Co-authored-by: Simone <[email protected]>
@t3-code-bot t3-code[bot] @StiensWout
fix(web): avoid Clerk close button overlap (pingdotgg#6442)
1b16ed6
Co-authored-by: t3-code[bot] <236186684+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Wout Stiens <[email protected]>
@UtkarshUsername
fix(web): show unlinked icon when viewport aspect ratio is unlocked (p…
2fab18e
…ingdotgg#6509)
@Adamulek123 @juliusmarminge
fix(web): scope pull request errors to their environment (pingdotgg#6490
92d4a2e
)

Co-authored-by: Julius Marminge <[email protected]>
@paul-vd @claude
fix(mobile): show a real settings cog in the Android sidebar header (p…
bad1143
…ingdotgg#6520)

Co-authored-by: Claude Opus 5 <[email protected]>
@t3-code-bot @maria-rcks
fix(web): restore default stage artwork colors (pingdotgg#6535)
23d45d9
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: maria <[email protected]>
@WarheadTaylor
fix(web): align sidebar wordmark label (pingdotgg#6086)
5ff3a03
@RakshithBhat03
fix(web): align the snoozed thread wake icon (pingdotgg#6215)
96bfa67
@t3dotgg
feat: allow disabling auto-settle on merge (pingdotgg#5880)
db1507e
NgoQuocViet2001 and others added 21 commits August 15, 2026 12:37
@NgoQuocViet2001
fix: restore CLAUDE.md symlink target (pingdotgg#3929)
2fc6762
@inayayousfi @juliusmarminge @codex
fix(clients): default clone destination to folder plus repo name (pin…
ec141c1
…gdotgg#5989)

Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
@juliusmarminge @codex
fix(web): keep timestamp date and time in the same locale (pingdotgg#…
20a7042
…7081)

Co-authored-by: codex <[email protected]>
@Brechard @rodrigoB-CB
@juliusmarminge @codex
feat(desktop): add signal macOS DMG installer background (pingdotgg#6201
ad11723
)

Co-authored-by: Rodrigo Brechard <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
@Bil0000
feat(web): send PR line requests to agent (pingdotgg#6597)
a5e29ed
@eddy-naboulet @maria-rcks
fix(web): restore dark theme palette (pingdotgg#6663)
e58cbb9
Co-authored-by: maria <[email protected]>
@StiensWout
refactor(web): simplify advanced theme controls (pingdotgg#7107)
2f486ab
@PollyGlot @claude
fix(web): keep highlighted command menu items clear of the scroll fade (
d484735
pingdotgg#7132)

Co-authored-by: Claude Fable 5 <[email protected]>
@t3-code-bot
test: remove redundant and stale tests (pingdotgg#6267)
2773229
@t3-code-bot
test: favor behavior over implementation details (pingdotgg#7157)
3583cd2
@chrisdeeming
feat(mobile): add built-in themes (pingdotgg#6619)
d23b181
@UtkarshUsername
docs: point CLAUDE.md at AGENTS.md with an @import instead of a symli…
4cb676c
…nk (pingdotgg#7171)
@frarredondo @shivamhwp
fix(web): show filenames when commit dialog paths overflow (pingdotgg…
4c1d99d
…#6392)

Co-authored-by: Shivam Sharma <[email protected]>
@NitayRabi @shivamhwp
fix(mobile): keep sheet actions below status bar (pingdotgg#6635)
89c52a3
Co-authored-by: shivam <[email protected]>
@StiensWout
fix(web): align Windows update confirmation copy (pingdotgg#7208)
bab4b6f
@UtkarshUsername
feat(lint): ban native title tooltips and migrate to styled Tooltip (p…
fee10de
…ingdotgg#7209)
@Bil0000
fix(pull-requests): protect provider API budgets (pingdotgg#6466)
ba46f92
@juliusmarminge @claude
feat(web): configurable browser defaults in Settings → Integrations (p…
949feb6
…ingdotgg#7082)

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@StiensWout
fix(web): center the context usage meter (pingdotgg#7296)
13458e6
@juliusmarminge @claude
feat(server): let users withhold browser access from agents (pingdotg…
cd096b9
…g#7083)

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@claude
chore(upstream): merge pingdotgg/t3code@cd096b9ad5a4
3e68c61
163 upstream commits (merge base b73232b). 47 conflicted paths resolved by
hand; every hunk combines upstream's intent with Marcode's, and no file was taken
wholesale from either side.

Conflict decisions
------------------
Retired surfaces (floating editor owns file editing; no right-panel file surface)
- apps/web/src/components/files/File{Browser,Preview}Panel.tsx: accepted upstream's
  edits as deletions; Marcode retired both surfaces.
- ChatMarkdown.tsx: kept upstream's workspace-index lookup for bare filename
  references (pingdotgg#6297) but retargeted it from useRightPanelStore.openFile to
  openFileInFloatingEditor. Upstream's plumbing (onOpenInPanel) is kept so the
  seam stays narrow; the store method does not exist on Marcode.
- diffFileActions.ts: took upstream's resolveDiffPathForWorkspace (nested-project
  fix pingdotgg#6174) and fed its rebased path to the floating editor. diffFileActions.test.ts
  and RightPanelTabs.test.tsx retargeted off the right-panel store / dropped the
  pendingSurfaceIds, onCopyFilePath, onAddFiles, filesAvailable props Marcode removed.
- ChatView.tsx: dropped activeFileSurface; took upstream's surface-keyed
  handlePullRequestTabStatusChange (pingdotgg#6490) and the workspace file-drop feature
  (pingdotgg#6636) on top of Marcode's hero background.
- RightPanelTabs.tsx: threaded upstream's desktopByTabId (browser-tab favicons,
  pingdotgg#5644) but not `theme`, which only tints PierreEntryIcon for the retired file surface.

Shell and navigation (FloatingPillNav owns brand/nav/settings)
- AppSidebarLayout.tsx, sidebar/SidebarChrome.tsx: kept Marcode's no-trigger /
  no-brand shape; upstream's SidebarBrand + footer actions stay out. The removal is
  pinned by threadSidebarWidth.test.ts, whose upstream wordmark assertion was dropped
  in favour of Marcode's existing "brand stays out of the sidebar header" test.
- chat/ChatHeader.tsx: kept Marcode's title-only header (no thread action menu or
  inline rename) and added upstream's remote-open imports.
- ChatView.tsx titlebar controls: took upstream's shared-inset fix (pingdotgg#6592). Their
  refactor replaced the .workspace-titlebar-controls utility with inline positioning
  plus a data-workspace-titlebar-controls attribute, and the old utility is gone from
  index.css, so the class could not be kept.
- ChatView.tsx composer inset: .chat-composer-horizontal-inset was removed by
  upstream's global-styling refactor (pingdotgg#6381); their inline safe-area classes are the
  same 0.75rem/1.25rem pair, with Marcode's hero centering kept on top.
- PullRequestCodeTab.tsx: chat-composer-glass -> surface-glass for the same reason.

Design system (index.css)
- Adopted upstream's Tailwind v4 restructure: @variant dark nesting inside :root,
  top-level @Utility blocks, and @layer base before @layer components. Marcode's
  --workspace-titlebar-content-left, Mentiko monochrome .stage-blueprint, topbar and
  scroll-fade utilities, floating chrome, ultrathink and composer-chip rules all move
  into the new structure unchanged.
- Kept Marcode's Mentiko near-black dark palette over upstream's restored palette
  (pingdotgg#6663): Marcode's token set is a strict superset there, so no upstream token is
  lost. Upstream's zinc [data-app-sidebar] overrides stay out, as the existing comment
  already records.
- Took upstream's new theme-id stage-art aliases, which the tokens their @layer base
  adds depend on.

Terminal (Marcode keeps xterm for its search addon; upstream runs Ghostty)
- ThreadTerminalDrawer.tsx: kept the xterm surface and ported upstream's right-click
  paste flow (pingdotgg#5240) and Ctrl+C copy behaviour (pingdotgg#5638) onto it: their pure helpers
  taken verbatim, pasteFromClipboard reimplemented against terminal.paste with the
  supersede check made explicit, and the context menu bound to a DOM contextmenu
  listener because xterm has no onContextMenu option. shouldHandleTerminalExit now
  backs the previously inline exit condition. Skipped terminalSelectionLineRange,
  which reads Ghostty's selection shape. Added focused tests for the ported helpers.

Product identity (Marcode for user-visible copy, upstream-shaped internals)
- ConnectionsSettings.tsx: kept "Marcode Connect" and took upstream's
  window.desktopBridge guard (pingdotgg#5068) so the web app no longer offers the toggle.
- clerk/MobileClientsUserProfilePage.tsx: adopted upstream's ClerkUserProfilePage /
  Row / RefreshButton refactor, keeping Marcode wording.
- _chat.pull-requests.tsx: "Update your Marcode servers ..." keeps upstream's
  all-server phrasing with Marcode's name.
- BitbucketSourceControlProvider.ts: MARCODE_BITBUCKET_* env names plus upstream's
  added "user read" scope (pingdotgg#6291).
- desktopUpdate.logic.ts: followed upstream in deleting the Windows install warning
  and the platform parameter (pingdotgg#7208) - it was upstream's own feature, and all three
  call sites merged without it - while keeping Marcode's product name.
- CodexSessionRuntime.test.ts: upstream's codexDefaultModeDeveloperInstructions(true)
  call with Marcode's /Marcode/ branding assertion.
- electron-launcher.mjs: Marcode bundle ids and schemes, upstream's LAUNCHER_VERSION
  bump and assets/<brand> icon sources, and the now-unused resources/icon.icns path
  dropped with upstream's deletion of that file.

Upstream test cleanups that were pinning Marcode behavior
- infra/relay/scripts/deploy.test.ts and scripts/mobile-showcase.test.ts: kept the
  blocks pingdotgg#6267 removed. They are the only assertions pinning the MARCODE_ relay env
  keys and the marcode:// deep-link scheme; both producers are still exported. Their
  imports were restored and a comment explains why they stay.
- threadSettled.ts: composed upstream's autoSettleOnMerge switch (pingdotgg#5880) with
  Marcode's warm-window rule - upstream decides whether the change-request state
  settles at all, Marcode then gates it on an hour of idleness. Upstream's new test
  asserted a close settles a still-warm thread, which contradicts Marcode's two
  existing warm-window tests, so it now proves the switch is merge-only against an
  idle shell and warm-hold against a recent one.

Additive
- packages/shared/package.json: kept ./fractional-rank, added ./themePalettes and
  ./themePreview. commandInvariants.test.ts, OpenInPicker.tsx,
  PullRequestTimelineTab.tsx, build-desktop-artifact.ts: both sides' imports kept.
- oxlint-plugin-marcode: upstream's no-native-title-tooltip rule registered under the
  marcode plugin namespace in vite.config.ts and its test harness id.
- AGENTS.md / README.md / docs/internals/scripts.md: kept Marcode's structure and
  ported the genuinely new upstream content (PR-babysitting rule, Windows Vite+
  install, DMG channel-chrome notes).

Fork-boundary breaks that merged cleanly and produced no conflict
- .agents/skills/test-t3-mobile/scripts/pair-client.sh (new upstream file): read
  T3CODE_PORT, defaulted to the t3code-dev scheme and targeted com.t3tools.t3code.dev.
  Repointed at MARCODE_PORT, marcode-dev and com.t3tools.marcode.dev, and the stale
  t3code-dev references elsewhere in that skill aligned with app.config.ts.
- apps/desktop/src/wsl/DesktopWslServerTree.test.ts (new upstream test): seeded
  T3CODE_HOME / T3CODE_MODE, which DesktopConfig ignores; now MARCODE_*.
- scripts/build-desktop-artifact.test.ts (new upstream assertion): expected the DMG
  title "T3 Code (Alpha) 1.2.3 Installer"; Marcode's build produces "Marcode 1.2.3
  Installer". The neighbouring Linux protocol assertion deliberately keeps the
  upstream-shaped t3code schemes that OAuth deep links rely on.
- clerk/T3ConnectUserProfilePage.tsx (new upstream page): user-visible copy rebranded
  to Marcode Connect; the component and file names stay T3Connect*.
- desktopUpdate.logic.test.ts (rewritten upstream test): asserted the exact "T3 Code"
  confirmation string.
- .github/workflows/release.yml: upstream's new publish_aur job would publish the
  t3code-bin and t3code-nightly-bin AUR packages from Marcode's repository, and needs
  an AUR secret Marcode has no reason to hold. The job and packaging/aur are carried
  unchanged but gated behind a PUBLISH_AUR repository variable so a Marcode release
  neither pushes to upstream's AUR repositories nor fails on a missing secret.

Adopting upstream's no-native-title-tooltip rule as an error meant migrating the 25
native title attributes in Marcode-owned surfaces (git-panel, file-tree,
floating-code-pill, tab-bar, stash-selector, FloatingTerminalShell, branch-selector,
editor-pane, GitActionsControl, OpenInPicker, Sidebar, DraftHeroHeadline) to
Tooltip/TooltipTrigger/TooltipPopup. Menu rows that are disabled when unavailable drop
the attribute instead: a disabled button does not reliably fire the hover, and the row
already renders its label beside an aria-label.

Coupled vendored subtrees: neither pnpm-workspace.yaml nor infra/relay/package.json
changed, so no .repos/ sync is required. pnpm-lock.yaml was regenerated with pnpm
rather than hand-merged.
@maarco maarco mentioned this pull request Aug 17, 2026
upstream sync blocked: pingdotgg/t3code@cd096b9ad5a4 #36
Closed
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL labels Aug 17, 2026
@github-actions

github-actions Bot commented Aug 17, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 11.3 KiB 12.6 KiB +1.3 KiB (+11.4%) 15.1 KiB ✅
Codex Thread snapshot wire 5.5 KiB 6.3 KiB +841 B (+15.0%) 7.3 KiB ✅
Codex Live turn WebSocket wire 5.9 KiB 6.3 KiB +476 B (+7.9%) 7.8 KiB ✅
Codex Live turn WebSocket decoded 49.7 KiB 51.8 KiB +2.1 KiB (+4.2%) 66.4 KiB ✅
Codex Live turn messages 16 16 0 (0.0%) 21 ✅
Claude Total thread wire 11.3 KiB 12.6 KiB +1.3 KiB (+11.2%) 15.1 KiB ✅
Claude Thread snapshot wire 5.5 KiB 6.3 KiB +818 B (+14.6%) 7.3 KiB ✅
Claude Live turn WebSocket wire 5.8 KiB 6.3 KiB +484 B (+8.1%) 7.8 KiB ✅
Claude Live turn WebSocket decoded 50.6 KiB 52.7 KiB +2.1 KiB (+4.2%) 66.4 KiB ✅
Claude Live turn messages 16 16 0 (0.0%) 21 ✅

Baseline: 1af3478 · PR result: af104c0 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 99.9 KiB
  • Claude decoded thread snapshot: 100.6 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@claude
fix(web): keep private hosts out of URL shortcut favicon lookups
af104c0
Upstream added an `isPublicFaviconHost` guard to `faviconUrlForOrigin`, so it no
longer sends private, loopback, or reserved-TLD hostnames to Google's s2 favicon
endpoint. That guard is a privacy fix and is kept.

Marcode's unified workspace tree resolves URL shortcut icons through the same
helper, and its capability-flag test asserted a favicon for a
`http://localhost:3000` shortcut — exactly the case upstream now refuses.
Repointed that assertion at a public host and added a test pinning the new
behavior, since a leaked hostname is invisible in the UI: the sidebar renders its
globe fallback either way.
@maarco Claude

maarco commented Aug 17, 2026

Copy link
Copy Markdown
Owner Author

All four required checks are green on af104c0e: Check, Test, Mobile Native Static Analysis, Release Smoke. The transfer-budget report is also within every ceiling (biggest movement is +15.0% on the Codex thread snapshot wire, against a +32% headroom).

The one real CI failure, and what it was

Test went red on the first push with a single assertion in unifiedWorkspace/buildTree.test.ts — and it was a genuine fork-boundary catch I had missed, not flake.

Upstream added an isPublicFaviconHost guard to faviconUrlForOrigin, so it no longer sends private, loopback or reserved-TLD hostnames to Google's s2 favicon endpoint. Marcode's unified workspace tree resolves URL-shortcut icons through that same helper, and its capability-flag test asserted a Google favicon URL for a http://localhost:3000 shortcut — exactly the case upstream now refuses.

Kept upstream's guard (it is a privacy fix), repointed the assertion at a public host, and added a test pinning the new behaviour for both a loopback and an intranet host. That one needs asserting because the leak is invisible in the UI — the sidebar renders its globe fallback either way.

I had missed it because my focused run covered apps/web/src/components and apps/web/src/editor but not apps/web/src/unifiedWorkspace. Before pushing the fix I re-ran the suites the way CI does — per package rather than from the repo root — and apps/web is 274/274 files and 2818 tests green, matching CI's file count exactly.

claude-review

Not a code finding: it died in its first step on a transient GitHub 5xx (Failed to check permissions for maarco: No server is currently available to service your request) before any review executed — the log ends with "No buffered inline comments". Re-ran it; it passed. Worth noting separately that its ANTHROPIC_API_KEY env resolved empty in that run, which may mean the review bot cannot actually run here regardless — unrelated to this PR.

Still outstanding before this should come out of draft

Green CI is not the whole gate for this one. Two things I could not do in a container with no browser or simulator:

  1. Runtime client verification at 390px and 820px. The index.css Tailwind v4 restructure and the 25 tooltip migrations across the floating editor are exactly the kind of change that typechecks and tests clean while looking wrong. This is the main open item.
  2. vp run icons:check — apps/desktop/resources/** and assets/** are both in the diff.

And one decision that is yours, not mechanical: the publish_aur job is currently gated behind a PUBLISH_AUR repository variable so it cannot publish upstream's t3code-bin packages from this repo. If Marcode should never ship Arch packages, deleting packaging/aur and publish-aur.yml outright is cleaner.

Leaving this as a draft and not marking it ready.


Generated by Claude Code

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@maarco

maarco commented Aug 19, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #39 (merged, includes 82b8a93).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@maarco maarco closed this Aug 19, 2026
@maarco
maarco deleted the claude/gracious-bohr-lum7wd branch August 19, 2026 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

20 participants

@maarco @extoci @juliusmarminge @PixPMusic @StiensWout @Bil0000 @t3dotgg @gsimone @dominic-r @none23 @maria-rcks @chrisdeeming @Lucenx9 @UtkarshUsername @Adamulek123 @paul-vd @WarheadTaylor @RakshithBhat03 @davidhu2000 @btsouth
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.