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 78f462c4e18c by maarco · Pull Request #21 · maarco/marcode

Conversation

@maarco

@maarco maarco commented Aug 10, 2026

Copy link
Copy Markdown
Owner

What Changed

Merges pingdotgg/t3code@78f462c4e18c8ea5e5037dc916389a3b72246025 (upstream v0.0.33, 28 commits) into Marcode as one --no-ff merge commit. Five conflicts, each resolved by hand combining both intents — no whole-file ours/theirs, no force push, reset, restore, stash, or clean.

Conflict decisions

Path Upstream intent Marcode intent Resolution
apps/server/src/http.ts Sandbox user-provided SVGs (pingdotgg#5916): add SVG_CONTENT_SECURITY_POLICY + assetResponseHeaders() beside DESKTOP_RENDERER_ORIGINS Desktop renderer origins renamed to the marcode:// scheme Both. Kept marcode://app + marcode-dev://app, took the whole security fix. The asset route's switch to assetResponseHeaders() auto-merged.
apps/web/src/routes/__root.tsx Mount ConfirmDialogHost (themed confirmation dialogs, pingdotgg#5624) Mount FloatingPillNav + FloatingCodePill Both. Import-block collision only; all three mount points auto-merged. ConfirmDialogHost is now required — localApi.confirm() routes through the themed dialog instead of window.confirm.
apps/web/src/components/chat/DraftHeroHeadline.tsx align-bottom → align-baseline so the project name sits on the headline baseline (pingdotgg#5864) Dotted underline colored from the animated GIF headline text (border-current + headlineTextClassName) rather than a fixed border-foreground/60 Both. Kept Marcode's classes, applied upstream's alignment fix.
apps/web/src/components/AppSidebarLayout.tsx Add ProjectProjectionRetention so settings swapping the thread sidebar out of the tree never flashes the zero-project state on return (pingdotgg#5923/pingdotgg#5930) Render no sidebar at all on settings routes; FloatingPillNav owns brand, settings and sidebar controls Both. Mounted ProjectProjectionRetention inside SidebarProvider and kept the !isOnSettings guard — Marcode unmounts the sidebar entirely, so it needs this fix more than upstream does. Upstream's in-sidebar settings chrome (SettingsSidebarNav, SidebarChromeHeader, useSidebarStageBackdropVariant) stays dropped, with a comment at the import seam.
apps/web/src/components/chat/ChatHeader.tsx Refactor the header title area onto the new WorkspaceBreadcrumb primitive — project favicon segment, separator, inline rename, thread action menu (pingdotgg#5929) File is split: ThreadActionsCluster is portaled into the pill nav, ChatHeader renders the title alone, thread actions live on the sidebar row's context menu Marcode's structure kept. Upstream's refactor targets only surfaces Marcode does not render, so nothing of upstream's substance is dropped; the breadcrumb imports stay out.

Fork-boundary checks on the clean-merged remainder

Clean merges are the dangerous ones, so the merged tree was swept for upstream identity Marcode renames:

  • Upstream moved project settings from /settings/projects/$projectKey to /projects/$projectKey and deleted both old route files. No Marcode surface referenced the old route; routeTree.gen.ts is consistent with apps/web/src/routes/.
  • The ── Marcode fork seam ── in Sidebar.tsx and the unified workspace mount survived upstream's worktree-indicator and project-settings changes untouched.
  • WORKTREE_BRANCH_PREFIX is still "marcode" and every call site and fixture reads the constant — no hardcoded t3code/<hex> branch fixtures came in.
  • serviceLauncher still requires MARCODE_HOME and still rejects T3CODE_HOME (its test asserts the throw).
  • Compatibility identifiers deliberately left upstream-shaped: T3_BOOT_SERVICE_UNIT (t3code.service), T3_SERVICE_LAUNCHER_CONTEXT, @t3tools/*, the t3 package/CLI name, and the t3code:* theme storage keys.
  • authRedirect.test.ts fixtures use t3code:// URLs, but resolveClerkSignInProps is scheme-agnostic — they pin behavior, not identity, so they were left as upstream wrote them rather than adding conflict surface.
  • Neither pnpm-workspace.yaml nor infra/relay/package.json moved, so no coupled vendored subtree sync (sync:repos) is required.

⚠️ One item for your review

Upstream added .github/workflows/mobile-eas-production.yml (pingdotgg#5609). On every push to main touching mobile paths it runs eas build --auto-submit, which submits to TestFlight and the Play internal track. It is inert today — every step is gated on secrets.EXPO_TOKEN and the job logs "skipping" without it — and it follows the same guard as the mobile-eas-preview.yml this fork already carries, so it was taken as upstream shipped it.

The catch: apps/mobile/app.config.ts still points at upstream's Expo project (owner: "pingdotgg", projectId: d763fcb8-…) while Marcode's bundle identifiers are com.t3tools.marcode*. If an EXPO_TOKEN is ever added to this repo, that workflow would attempt store submissions against upstream's Expo org. Worth deciding whether to point the EAS project at Marcode or drop the push trigger — a release-ownership call, so nothing was changed here.

Why

Daily upstream sync. Marcode is a maintained fork, so upstream correctness, security, and operational fixes have to land even when they touch customized files — hotspots in .github/upstream-sync.yml are mandatory-review paths, not automatic keep-Marcode paths. The SVG sandboxing fix in http.ts is the clearest example: it landed inside a hotspot line Marcode had renamed, and dropping it would have silently reverted a security fix.

Resolves the upstream-sync-blocked tracking issue #20.

UI Changes

No Marcode-authored UI change. The user-visible deltas are upstream's, unverified in a live client from this container (no display; test-t3-app was not run):

  • themed confirmation dialogs replacing window.confirm
  • settings/usage breadcrumbs and the settings → /projects/$projectKey route move
  • project name baseline alignment on the draft hero headline
  • worktree icon on sidebar thread rows
  • --update-foreground token now --color-blue-400

Worth a pass over settings, usage, and the draft hero at 390px and 820px before this comes out of draft.

Checklist

  • This PR is small and focused — one upstream merge, no unrelated work
  • I explained what changed and why — every conflict decision is recorded above
  • I included before/after screenshots for any UI changes — upstream UI changes not driven live from this container
  • I included a video for animation/interaction changes — not applicable

Verification

Focused only, per AGENTS.md — no full workspace suite.

  • vp test run over 19 files covering every touched area — 304 tests passed: http.test.ts, authRedirect.test.ts, confirmDialog.test.ts, localApi.test.ts, shell.test.ts, composerInlineTokens.test.ts, projectGrouping.test.ts, ProjectFaviconResolver.test.ts, usageTranscripts.test.ts, settingsSearch.test.ts, Sidebar.logic.test.ts, rightPanelStore.test.ts, DesktopShellEnvironment.test.ts, DesktopApplicationMenu.test.ts, ElectronDialog.test.ts, git.test.ts, serviceLauncher.test.ts, wideMarkdownBlocks.test.ts, upstream-sync-workflow.test.ts
  • vp run --filter typecheck for @t3tools/web, t3, @t3tools/shared, @t3tools/contracts, @t3tools/client-runtime, @t3tools/desktop — all clean (only pre-existing Effect suggestion diagnostics in files this merge did not touch)
  • vp fmt --check on the five resolved files — clean
  • vp lint apps/server/src apps/web/src/components apps/web/src/routes — exit 0, only pre-existing warnings

Not verified here: the four required CI checks (Check, Test, Mobile Native Static Analysis, Release Smoke) and live client verification. Leaving as draft for those.


Generated by Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
wobsoriano and others added 29 commits August 9, 2026 17:33
@wobsoriano
fix(web): preserve desktop route during Clerk auth (pingdotgg#5770)
285cf59
@UtkarshUsername
fix(web): match create theme and import theme buttons to the standard…
02f4ce5
… outline style (pingdotgg#5860)
@murenovich
fix(server): favicon resolution no longer pins the event loop (pingdo…
deb901d
…tgg#5538)
@btsouth tsouth89 @claude
fix(shared): bound the file-link label so bracket runs stop rescanning (
062b461
pingdotgg#5782)

Co-authored-by: tsouth89 <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@nathangerday
fix(web): thread title button no longer eats the drag area (pingdotgg…
659986c
…#5857)
@t3-code-bot
fix(web): unify usage page chrome (pingdotgg#5823)
bd18d8d
@arhxam @claude
fix(shell): add ~/.local/bin to the Windows CLI resolver so native-in…
c8ad4b8
…stalled providers are found (pingdotgg#5074)

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
@UtkarshUsername
fix(web): match settings search shortcut styling to command palette's (…
83d769f
…pingdotgg#5841)
@juliusmarminge @claude
fix(mobile): long-pressing a thread row no longer navigates into the …
f993fa1
…thread (pingdotgg#5901)

Co-authored-by: Claude Fable 5 <[email protected]>
@t3dotgg @claude
fix(server): usage no longer double-counts forked Codex sessions (pin…
0d38866
…gdotgg#5887)

Co-authored-by: Claude Fable 5 <[email protected]>
@t3dotgg
fix(server): sandbox user-provided SVGs (pingdotgg#5916)
2abe668
@t3-code-bot
fix(web): match usage titlebar text styling (pingdotgg#5897)
9a1472d
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
@juliusmarminge
Move project settings to contextual project routes (pingdotgg#5923)
f21d5e4
@juliusmarminge @codex
Preserve back navigation when opening settings (pingdotgg#5930)
5da4533
Co-authored-by: codex <[email protected]>
@juliusmarminge
Automate production mobile EAS releases (pingdotgg#5609)
73b2e8f
@juliusmarminge
Add settings and usage breadcrumbs (pingdotgg#5929)
9690680
@Chrono-byte
fix(web): correct model picker trigger padding (pingdotgg#5935)
cbd55d6
@tris203
fix(web): show worktree icon in sidebar v2 (pingdotgg#5909)
0ca9fb3
@Lucenx9
fix(web): enable restore defaults after theme mix changes (pingdotgg#…
ef051bd
…5928)

Co-authored-by: Simone <[email protected]>
@t3dotgg @claude
fix(web): trait menu closes after you pick a level (pingdotgg#5879)
d432100
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@carterwsmith
fix(web): align project name with headline (pingdotgg#5864)
f0e2975
@chrisdeeming
fix(web): update pills use readable theme foregrounds (pingdotgg#5938)
3d74474
@StiensWout
fix(web): use themed confirmation dialogs (pingdotgg#5624)
9821bca
@UtkarshUsername
fix(web): use import/export-appropriate icons for theme buttons (ping…
fbcae59
…dotgg#5964)
@myacoub91
fix(mobile): detect PowerShell cmdlet errors in work log rows (pingdo…
67ef189
…tgg#5726)
@Brechard @rodrigoB-CB @claude
fix(mobile): stop Android user bubbles with code blocks from overlapp…
d440442
…ing (pingdotgg#5659)

Co-authored-by: Rodrigo Brechard <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@juliusmarminge @codex
fix(mobile): parse EAS fingerprint JSON (pingdotgg#5991)
3b72d17
Co-authored-by: codex <[email protected]>
@t3-code-bot
chore(release): prepare v0.0.33
78f462c
@claude
chore(upstream): merge pingdotgg/t3code@78f462c4e18c
e7c3fdd
Merges upstream through v0.0.33 (28 commits). Five conflicts, resolved by
combining both intents:

apps/server/src/http.ts
  Upstream sandboxes user-provided SVG assets (pingdotgg#5916) by adding
  SVG_CONTENT_SECURITY_POLICY and assetResponseHeaders() next to
  DESKTOP_RENDERER_ORIGINS, which Marcode had renamed to the marcode:// scheme.
  Kept Marcode's marcode://app + marcode-dev://app origins and took the whole
  security fix; the asset route's switch to assetResponseHeaders() auto-merged.

apps/web/src/routes/__root.tsx
  Import-block collision only. Kept Marcode's FloatingPillNav and
  FloatingCodePill imports and added upstream's ConfirmDialogHost. All three
  are mounted (the JSX auto-merged); ConfirmDialogHost is required now that
  localApi.confirm() routes through the themed dialog instead of
  window.confirm.

apps/web/src/components/chat/DraftHeroHeadline.tsx
  Upstream's only change was align-bottom -> align-baseline (pingdotgg#5864), so the
  project name sits on the headline baseline. Marcode's variant colors the
  dotted underline from the animated GIF headline text (border-current +
  headlineTextClassName) rather than upstream's fixed border-foreground/60.
  Kept Marcode's classes, applied upstream's alignment fix.

apps/web/src/components/AppSidebarLayout.tsx
  Upstream added ProjectProjectionRetention, which keeps the project
  projection subscribed while settings swaps the thread sidebar out of the
  tree, so returning to a draft never flashes the zero-project state. Marcode
  renders no sidebar at all on settings routes, so it needs this more than
  upstream does: mounted it inside SidebarProvider and kept the
  !isOnSettings guard. Upstream's in-sidebar settings chrome
  (SettingsSidebarNav, SidebarChromeHeader, useSidebarStageBackdropVariant)
  stays dropped -- FloatingPillNav owns brand, settings and sidebar controls.
  Left a comment at the import seam so the next sync sees why.

apps/web/src/components/chat/ChatHeader.tsx
  Upstream refactored the header title area onto the new WorkspaceBreadcrumb
  primitive (pingdotgg#5929) -- project favicon segment, separator, inline rename, and
  the thread action menu. Marcode split this file: ThreadActionsCluster is
  portaled into the pill nav and ChatHeader renders the title alone, with
  thread actions living on the sidebar row's context menu. None of upstream's
  refactor targets a surface Marcode renders, so Marcode's structure is kept
  and the breadcrumb imports stay dropped.

Fork-boundary checks on the clean-merged remainder:
  - upstream moved project settings from /settings/projects/$projectKey to
    /projects/$projectKey; no Marcode surface referenced the old route.
  - Sidebar.tsx fork seam and the unified workspace mount survived the
    worktree-indicator and project-settings changes untouched.
  - WORKTREE_BRANCH_PREFIX stays "marcode" and every call site reads the
    constant; serviceLauncher still requires MARCODE_HOME and still rejects
    T3CODE_HOME; T3_BOOT_SERVICE_UNIT, T3_SERVICE_LAUNCHER_CONTEXT,
    @t3tools/*, and the t3 package/CLI name stay upstream-shaped.
  - authRedirect.test.ts fixtures use t3code:// URLs, but
    resolveClerkSignInProps is scheme-agnostic, so they pin behavior, not
    identity. Left as upstream wrote them to avoid needless conflict surface.
  - neither pnpm-workspace.yaml nor infra/relay/package.json moved, so no
    coupled vendored subtree sync is required.

Verified: focused tests for every touched area (19 files, 304 tests),
typecheck for web/server/shared/contracts/client-runtime/desktop, fmt --check
and lint on the resolved files.
@maarco maarco mentioned this pull request Aug 10, 2026
upstream sync blocked: pingdotgg/t3code@78f462c4e18c #20
Closed
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL labels Aug 10, 2026
@github-actions

github-actions Bot commented Aug 10, 2026

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 11.3 KiB −18 B (−0.2%) 15.1 KiB ✅
Codex Thread snapshot wire 5.5 KiB 5.5 KiB −1 B (−0.0%) 7.3 KiB ✅
Codex Live turn WebSocket wire 5.9 KiB 5.9 KiB −17 B (−0.3%) 7.8 KiB ✅
Codex Live turn WebSocket decoded 49.7 KiB 49.7 KiB 0 B (0.0%) 66.4 KiB ✅
Codex Live turn messages 16 16 0 (0.0%) 21 ✅
Claude Total thread wire 11.3 KiB 11.3 KiB +1 B (+0.0%) 15.1 KiB ✅
Claude Thread snapshot wire 5.5 KiB 5.5 KiB +12 B (+0.2%) 7.3 KiB ✅
Claude Live turn WebSocket wire 5.9 KiB 5.9 KiB −11 B (−0.2%) 7.8 KiB ✅
Claude Live turn WebSocket decoded 50.6 KiB 50.6 KiB 0 B (0.0%) 66.4 KiB ✅
Claude Live turn messages 16 16 0 (0.0%) 21 ✅

Baseline: 8a6745f · PR result: e7c3fdd · 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: 94.6 KiB
  • Claude decoded thread snapshot: 95.4 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.

@maarco Claude

maarco commented Aug 10, 2026

Copy link
Copy Markdown
Owner Author

CI terminal on e7c3fdd — all four required checks green (run 31404424271):

Check Result
Check ✅ success
Test ✅ success
Mobile Native Static Analysis ✅ success
Release Smoke ✅ success

Thread transfer impact stayed within every ceiling. EAS Preview skipped — no EXPO_TOKEN in this repo, which confirms the mobile-eas-production.yml note in the description is inert today.

One non-required job, upstream's new advisory Native fingerprint diff, has been queued without starting since 15:35 UTC — likely runner availability rather than anything in this diff. It's advisory by design (always passes; the 📱 Native Change label is the signal) and is not in requiredPullRequestChecks, so it doesn't gate anything.

Staying draft: still needs live client verification of upstream's UI changes (settings/usage breadcrumbs, themed confirm dialogs, sidebar worktree icon, draft hero baseline) at 390px and 820px, plus a decision on the EAS production workflow's project ownership.


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 12, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #23. Upstream 78f462c4e18c is an ancestor of #23's 3da7f9c5c35d, so #23 covers this range with newer conflict resolutions. Merging both would replay the older resolutions on top of the newer ones.

All reactions

Sorry, something went wrong.

Uh oh!

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

@maarco maarco closed this Aug 12, 2026
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.

18 participants

@maarco @wobsoriano @UtkarshUsername @murenovich @btsouth @nathangerday @arhxam @juliusmarminge @t3dotgg @Chrono-byte @tris203 @Lucenx9 @carterwsmith @chrisdeeming @StiensWout @myacoub91 @Brechard @claude
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.