GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — chore(upstream): sync marcode through ad117235b544 by maarco · Pull Request #33 · maarco/marcode Conversation
|
| Path | Decision |
|---|---|
apps/desktop/scripts/electron-launcher.mjs |
Kept app.marcode.desktop / marcode(-dev) schemes and the marcode/ oxlint prefix; took LAUNCHER_VERSION 15, productionMacIconPngPath, and the removal of defaultIconPath. |
apps/desktop/src/window/DesktopWindow.test.ts |
Kept marcode-dev:// and persist:marcode-preview-; took the new zoom mocks and reapplyZoom. |
apps/server/src/sourceControl/BitbucketSourceControlProvider.ts |
Kept MARCODE_BITBUCKET_*; took upstream's added "user read" scope wording (pingdotgg#6291). |
apps/web/src/components/clerk/MobileClientsUserProfilePage.tsx |
Took upstream's ClerkUserProfilePage/Row/RefreshButton refactor; kept Marcode copy. |
apps/web/src/components/settings/ConnectionsSettings.tsx |
Took upstream's window.desktopBridge gate (pingdotgg#5068); kept "Marcode Connect" copy. |
apps/web/src/routes/_chat.pull-requests.tsx |
Took upstream's all-server plural wording, branded Marcode. |
docs/internals/scripts.md |
Kept the white-matte icon note; added upstream's DMG channel-artwork and window-height notes. |
Marcode surface kept, upstream's variant not mounted
| Path | Decision |
|---|---|
AppSidebarLayout.tsx |
SidebarControl stays headless — FloatingPillNav owns the trigger. |
sidebar/SidebarChrome.tsx |
No sidebar brand or footer nav. threadSidebarWidth.test.ts keeps pinning that removal rather than upstream's wordmark assertion. |
ChatView.tsx |
panelLayoutControls keeps workspace-titlebar-controls and renders only while the panel is open (panelToggleControls live in the pill nav). Dropped upstream's activeFileSurface — RightPanelSurface has no "file" kind. |
ThreadTerminalDrawer.tsx |
Kept the xterm surface where upstream runs Ghostty. Ported upstream's request-id popup tracking; did not port the Ghostty right-click paste menu (pingdotgg#5240) — see follow-ups. |
ui/tooltip.tsx |
No z-[140]; portalOverlayStyle is Marcode's single z source. |
index.css |
Kept the Mentiko dark palette, [data-app-sidebar] surface rules and the floating-chrome block; took upstream's @variant dark nesting, the @utility glass rewrite, the restructured @layer base stage-art palette, and the theme-id stage variable mapping. |
Both intents combined
| Path | Decision |
|---|---|
ChatMarkdown.tsx |
Took upstream's onOpenInPanel refactor and the bare-filename index lookup (pingdotgg#6297); the resolved path opens in the floating editor. |
diffFileActions.ts |
Took upstream's resolveDiffPathForWorkspace (rejects .., absolute and out-of-workspace paths) and fed the result to the floating editor. Test reworked onto the editor store. |
ChatView.tsx |
Kept the draft-hero shader background inside upstream's new workspace file-drop target; kept chat-composer-horizontal-inset (identical safe-area padding). |
RightPanelTabs.tsx |
Took desktopByTabId favicon capture and upstream's shared Button trigger; dropped the theme prop and PierreEntryIcon (file-surface only). |
chat/OpenInPicker.tsx, chat/ChatHeader.tsx |
Took the remote-open-over-SSH feature (pingdotgg#6572); kept @aliimam icons and usePillNavNarrow. |
PullRequestCodeTab, PullRequestDetailPanel, UsagePage |
Kept Marcode's tooltips, adopted upstream's shared Button as the trigger. surface-glass replaces the removed chat-composer-glass rule. |
threadSettled.ts |
Took upstream's changeRequestAutoSettles gate (honours autoSettleOnMerge); kept Marcode's one-hour warm-thread guard inside it. See the thread — this one overrode an upstream test. |
useHandleNewThread.ts |
Kept draftId/threadId/placement, added carryComposerContent. |
AGENTS.md, README.md |
Kept Marcode structure; folded in upstream's babysitting rule, the computer-use permission note, and the vp install commands. |
Deletions accepted — apps/desktop/resources/icon.{icns,ico,png} (upstream now resolves icons from assets/<brand>/ and packaging generates them into the staging dir; nothing references them). components/files/FileBrowserPanel|FilePreviewPanel stay deleted.
These are the dangerous ones — none of them produced a conflict marker:
pair-client.sh used T3CODE_PORT, com.t3tools.t3code.dev and scheme t3code-dev → corrected to MARCODE_PORT, com.t3tools.marcode.dev, marcode-dev. Stale t3code-dev references elsewhere in that SKILL.md fixed to match app.config.ts.DesktopWslServerTree.test.ts configured T3CODE_HOME/T3CODE_MODE, which DesktopConfig does not read → MARCODE_HOME/MARCODE_MODE.ConnectionsSettings and mobile. The matching new section in docs/user/remote-access.md was updated too.build-desktop-artifact.test.ts asserted the DMG title "T3 Code (Alpha) 1.2.3 Installer" → "Marcode 1.2.3 Installer".RightPanelTabs.test.tsx passed onAddFiles/filesAvailable/onCopyFilePath/pendingSurfaceIds, none of which exist on Marcode's props → adapted, plus a new focused test pinning the file-surface removal so a future sync fails loudly.release.yml gained a publish_aur job that would publish upstream's t3code-bin AUR package from a Marcode release (and needs an AUR_SSH_PRIVATE_KEY we don't have). Wiring removed behind a documented seam; packaging/aur/** and publish-aur.yml stay upstream-shaped and unmodified so they never conflict. This is the one call worth your review — the alternative is publishing a marcode-bin package, which is a product decision, not a merge decision.Compatibility identifiers deliberately left upstream-shaped: @t3tools/*, the t3 package and CLI name, T3_BOOT_SERVICE_UNIT, T3_SERVICE_LAUNCHER_CONTEXT, t3code:* storage keys, the t3-connect Clerk route slug.
pnpm-lock.yaml regenerated with pnpm install --lockfile-only (msgpackr-extract, @electron/asar are the new deps). pnpm-workspace.yaml and infra/relay/package.json did not move, so no vendored-subtree sync was required.
Scheduled upstream sync. The delta conflicted, so the bot filed #32 and pushed nothing; this is the hand resolution. Upstream correctness, security and privacy work is carried in even where it landed in hotspot files (the diff-path traversal guard, the private-host favicon gate, the SQLite-busy retry, the desktopBridge gate, the bare-filename lookup, the added Bitbucket scope), and Marcode's floating editor, unified workspace tree, pill nav and branding contracts are preserved at every seam.
No intentional Marcode UI change beyond branding strings. Upstream's own UI work in this delta (workspace file drop, remote open-in over SSH, PR surfaces, tab favicons, the styling simplification) lands as upstream shipped it. No screenshots — see below.
All four required checks green on 0404f307: Check ✅ · Test ✅ (2815 tests) · Mobile Native Static Analysis ✅ · Release Smoke ✅. claude-review ✅. Thread-transfer budget within every ceiling (+11.3% wire, ceiling +33%) — that growth is upstream's own payload change, not a resolution artifact.
Nothing was verified locally: vp could not be installed in the sync environment (vite.plus is blocked by its network policy) and there was no node_modules, so the first three commits were validated statically — zero conflict markers, correct merge parents, prettier at the repo's width across all 538 changed text files, an import/symbol sweep over every hand-edited file, and a grep sweep for T3CODE_* / t3code.service / WORKTREE_BRANCH_PREFIX / user-visible T3 Code strings. CI caught four real problems on top of that; all are fixed.
Still not done: runtime verification. No client was launched, so there are no before/after images and the merged web/desktop/mobile surfaces have not been driven. Per the sync runbook that's required before this leaves draft, given apps/web/**, apps/mobile/** and apps/desktop/resources/** all changed. Suggest at minimum: the workspace tree with a URL shortcut (favicon gate), the floating editor opened from a chat file link and from a diff (both re-routed here), the composer file drop, and the Open-in picker on a remote environment.
ThreadTerminalDrawer.tsx.scripts/build-desktop-artifact.ts registers Linux protocols as { name: "T3 Code", schemes: ["t3code", "t3code-dev"] } while the app's real scheme is marcode — Linux OAuth deep links would register the wrong handler. Same for the T3CODE_PORT/T3CODE_HOME forwarding in electron-launcher.mjs, which nothing reads..agents/skills/marcode-skill-upkeep/SKILL.md claims the mobile scheme and bundle id are "still literally t3code-dev / com.t3tools.t3code.dev". apps/mobile/app.config.ts says marcode-dev / com.t3tools.marcode.dev. The skill is stale; I fixed test-t3-mobile to match the code but left marcode-skill-upkeep for you to decide.docs/user/** still says "T3 Code" throughout (pre-existing); the UI says Marcode.Closes #32. Left as a draft deliberately: the runbook wants runtime verification and a human hotspot review before this goes ready.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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]>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> Co-authored-by: maria <[email protected]>
…otgg#4844) Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: codex <[email protected]>
…isting, update branch, reactions, in-place editing, smarter diffs (pingdotgg#6039) Co-authored-by: Julius Marminge <[email protected]>
…ingdotgg#6330) Co-authored-by: Cursor <[email protected]>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> Co-authored-by: Utkarsh Patil <[email protected]>
…6393) Co-authored-by: Claude Fable 5 <[email protected]>
…tgg#6423) Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
…ngdotgg#6495) Co-authored-by: Simone <[email protected]>
Co-authored-by: t3-code[bot] <236186684+t3-code[bot]@users.noreply.github.com> Co-authored-by: Wout Stiens <[email protected]>
) Co-authored-by: Julius Marminge <[email protected]>
…ingdotgg#6520) Co-authored-by: Claude Opus 5 <[email protected]>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> Co-authored-by: maria <[email protected]>
… stops (pingdotgg#5127) Co-authored-by: Capxul Agent <[email protected]> Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: codex <[email protected]>
…show (pingdotgg#4986) Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: codex <[email protected]>
…g#4197) Co-authored-by: Claude Opus 4.8 <[email protected]> Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: codex <[email protected]>
…gdotgg#5989) Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: codex <[email protected]>
…7081) Co-authored-by: codex <[email protected]>
) Co-authored-by: Rodrigo Brechard <[email protected]> Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: codex <[email protected]>
147 upstream commits since b73232b. 36 conflicted paths, all resolved by hand; no whole-file ours/theirs, no reset/restore/stash/clean/force-push. Conflict decisions ------------------ Marcode identity kept, upstream change taken on top: - electron-launcher.mjs: kept app.marcode.desktop / marcode(-dev) schemes and the marcode/ oxlint plugin prefix; took LAUNCHER_VERSION 15, productionMacIconPngPath, and the drop of defaultIconPath. - DesktopWindow.test.ts: kept marcode-dev:// and persist:marcode-preview-; took the new zoom mocks and reapplyZoom. - BitbucketSourceControlProvider.ts: kept MARCODE_BITBUCKET_*; took upstream's added "user read" scope wording (pingdotgg#6291). - MobileClientsUserProfilePage.tsx: took upstream's ClerkUserProfilePage/Row/RefreshButton refactor, kept "Marcode"/"Marcode Connect" copy. - ConnectionsSettings.tsx: took upstream's desktopBridge gate (pingdotgg#5068), kept "Marcode Connect" copy. - _chat.pull-requests.tsx: took upstream's all-server plural wording, branded Marcode. - docs/internals/scripts.md: kept Marcode's white-matte icon note, added upstream's DMG channel-artwork and window-height notes. Marcode surface kept, upstream's variant not mounted: - AppSidebarLayout.tsx: SidebarControl stays headless; FloatingPillNav owns the trigger. - SidebarChrome.tsx: no sidebar brand or footer nav; threadSidebarWidth.test.ts keeps pinning that removal instead of upstream's wordmark assertion. - ChatView.tsx: panelLayoutControls keeps the workspace-titlebar-controls class and renders only while the panel is open (panelToggleControls live in the pill nav); dropped upstream's activeFileSurface (RightPanelSurface has no "file" kind). - ThreadTerminalDrawer.tsx: kept the xterm surface where upstream runs Ghostty. Ported upstream's request-id popup tracking; did NOT port the Ghostty right-click paste menu (pingdotgg#5240) — it needs the surface to own the clipboard read. Noted at the seam. - tooltip.tsx: no z-[140]; portalOverlayStyle is Marcode's single z source. - index.css: kept the Mentiko dark palette, the [data-app-sidebar] surface rules and the floating-chrome block; took upstream's @variant dark nesting, @Utility glass rewrite, restructured @layer base stage-art palette, and the theme-id stage variable mapping. Both intents combined: - ChatMarkdown.tsx: took upstream's onOpenInPanel refactor and the bare-filename index lookup (pingdotgg#6297); the resolved path opens in the floating editor instead of the panel. - diffFileActions.ts: took upstream's resolveDiffPathForWorkspace (rejects .., absolute and out-of-workspace paths) and fed the result to the floating editor. Test file reworked to assert on the editor store. - ChatView.tsx: kept the draft-hero shader background inside upstream's new workspace file-drop target; kept chat-composer-horizontal-inset (same safe-area padding). - RightPanelTabs.tsx: took desktopByTabId favicon capture and upstream's shared Button trigger; dropped the theme prop and PierreEntryIcon (file-surface only). - OpenInPicker.tsx / ChatHeader.tsx: took the remote-open-over-SSH feature (pingdotgg#6572), kept @aliimam icons and usePillNavNarrow. - PullRequestCodeTab / PullRequestDetailPanel / UsagePage: kept Marcode's tooltips, adopted upstream's shared Button as the trigger; surface-glass replaces the removed chat-composer-glass rule. - threadSettled.ts: took upstream's changeRequestAutoSettles gate (honours autoSettleOnMerge), kept Marcode's one-hour warm-thread guard inside it. - useHandleNewThread.ts: kept draftId/threadId/placement, added carryComposerContent. - AGENTS.md / README.md: kept Marcode structure; folded in upstream's babysitting rule, the computer-use permission note and the vp install commands. Deletions accepted: - apps/desktop/resources/icon.{icns,ico,png}: upstream now resolves icons from assets/ <brand>/ and packaging generates them into the staging dir. Nothing references them. - apps/web/src/components/files/FileBrowserPanel/FilePreviewPanel: stay deleted; the floating editor owns file editing. Fork-boundary breaks that merged clean (no conflict) ---------------------------------------------------- - Upstream's new DMG backgrounds said "T3 CODE" / "Drag T3 Code to Applications"; rebranded to Marcode. - Upstream's new .agents/skills/test-t3-mobile/scripts/pair-client.sh used T3CODE_PORT, com.t3tools.t3code.dev and the t3code-dev scheme; corrected to MARCODE_PORT, com.t3tools.marcode.dev and marcode-dev. Stale t3code-dev references elsewhere in that SKILL.md fixed to match apps/mobile/app.config.ts. - Upstream's new DesktopWslServerTree.test.ts configured T3CODE_HOME/T3CODE_MODE, which DesktopConfig does not read; switched to MARCODE_HOME/MARCODE_MODE. - Upstream's new T3 Connect user-profile page shipped "T3 Connect" copy; rebranded to "Marcode Connect" to match ConnectionsSettings and the mobile client, and updated the matching new section in docs/user/remote-access.md. - build-desktop-artifact.test.ts asserted the DMG title "T3 Code (Alpha) 1.2.3 Installer"; Marcode's resolveDesktopProductName yields "Marcode 1.2.3 Installer". - RightPanelTabs.test.tsx passed onAddFiles/filesAvailable/onCopyFilePath/pendingSurfaceIds, none of which exist on Marcode's props. Adapted, and added a focused test pinning the file-surface removal so a future sync fails loudly. - release.yml gained a publish_aur job that would publish upstream's t3code-bin package from Marcode releases. Removed the wiring behind a documented seam; packaging/aur/** and publish-aur.yml stay upstream-shaped and unmodified. Compatibility identifiers deliberately left upstream-shaped: @t3tools/*, the t3 package and CLI name, T3_BOOT_SERVICE_UNIT, T3_SERVICE_LAUNCHER_CONTEXT, t3code:* storage keys, the t3-connect Clerk route slug. pnpm-lock.yaml regenerated with pnpm install --lockfile-only (msgpackr-extract and @electron/asar are the new deps). pnpm-workspace.yaml and infra/relay/package.json did not move, so no vendored subtree sync was needed. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015y9Z9MBSnZnTguXD47FUgr
There was an error while loading. Please reload this page.
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 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.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Three CI failures from the ad11723 merge: - apps/web typecheck: the new RightPanelTabs.test.tsx file-surface-removal test imports node:fs, which apps/web bans. Added the same `@effect-diagnostics nodeBuiltinImport:off` escape threadSidebarWidth.test.ts and -chatIndexTitlebar.test.ts already use for the same reason. - client-runtime typecheck: relay/discovery.ts wrapped an already-yieldable error in Effect.fail. The line is unchanged from main but the merge made the diagnostic apply; discovery.test.ts already uses the bare `yield* failure` form, so follow it. - threadSettled test: upstream's new "can keep a merged change request active" case expects a closed change request to settle the instant it closes. Marcode holds merged *and* closed threads for CHANGE_REQUEST_SETTLE_IDLE_MS so a warm follow-up conversation is not buried — two existing tests either side of this one pin that, and it is the behavior 31305b5 added on purpose. Kept Marcode's rule and rewrote the case to assert it, while preserving the coverage upstream was actually adding: past the warm window, autoSettleOnMerge:false is what separates merged (stays active) from closed (settles). Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015y9Z9MBSnZnTguXD47FUgr
|
CI on Two were mechanical:
One is a fork-boundary call worth your eyes. Upstream's new test effectiveSettled(recentlyActive, { …, autoSettleOnMerge: false, changeRequestState: "closed" }) // upstream expects true That directly contradicts Marcode's I kept Marcode's rule and rewrote upstream's case to assert it — while preserving the coverage upstream was actually adding, which Marcode had none of: past the warm window, Flagging it because it's the one place in this merge where I overrode an explicit upstream assertion about shared behavior rather than about branding or a retired surface. If you'd rather match upstream and let a close settle immediately, the change is to move the idle guard inside a Generated by Claude Code |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Upstream added an `isPublicFaviconHost` gate to `faviconUrlForOrigin` so a
private hostname is never sent to Google's s2 endpoint. The unified workspace
tree calls that helper for URL shortcuts, and its capability-flags test used
`http://localhost:3000` as the fixture, so `iconUrl` became undefined and the
`toContain("google.com/s2/favicons")` assertion failed.
The gate is a privacy fix and stays. Moved the capability-flags fixture to a
public URL so it still covers the favicon path, and added a sibling case
asserting a localhost shortcut resolves no icon URL at all — the tree is a
caller of that rule, so it should fail loudly if the gate is ever dropped.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015y9Z9MBSnZnTguXD47FUgr
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
upstream sync blocked: pingdotgg/t3code@ad117235b544
There was an error while loading. Please reload this page.