Repository navigation
Conversation
#4000 stretched every terminal frame to the full content panel on viewports of 72rem and up, to give `wt list --full` room. Once the panel is wider than the 62rem column, Starlight offsets the column inside it, so shell snippets moved left of the prose they belong to and spanned past it on the right, while TOML frames stayed in the column. At 2560px on /tips-patterns/, prose starts at x=760 and shell frames at x=248, 1504px wide. #4039 had already made terminal output fit the column: `wt list` examples render at 98 columns and the column widened to 62rem. With the stretch disabled, no output-bearing frame on any page overflows; three long one-line commands scroll, as long TOML lines already do. So the rule goes rather than being narrowed. The desktop browser test only ran at widths where the panel and column are the same size, where the rule changed nothing. It now also runs at 1920px and asserts every code frame stays within the column; with the old rule restored it fails on the homepage. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_016NGjseUKXkyL8qHLhaXsnt
Pages on a worktree's dev server lost all code-block styling after a merge from main. Astro caches rendered Markdown with the Expressive Code stylesheet URL baked in. That URL's hash comes from the code-rendering config and plugins, which Astro's content-cache key does not cover. The merge changed `astro.config.mjs` and the terminal plugin, Astro restarted the server in place, and the restarted server served a new stylesheet hash while content kept rendering with the old renderer. Every page then linked `ec.fq08u.css`, which returned 404. Restarting the process did not recover either, because the cached pages survive a plain `astro dev`. The dev script now passes `--force`, as the build already does, so a restart re-renders from the current renderer. docs/CLAUDE.md says to restart with `wt hook post-start docs` after `astro.config.mjs` changes, since the in-place restart can't be fixed from this repo. The hook also sets `ASTRO_DEV_BACKGROUND=1`. When `astro dev` detects an AI agent (`CLAUDECODE`, `CODEX_THREAD_ID`), it respawns itself detached and drops `--force`. The respawned server is reparented to launchd, outside tether's process tree, so worktree removal can't stop it; three worktrees currently run their dev servers this way. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_016NGjseUKXkyL8qHLhaXsnt
worktrunk-bot
approved these changes
Sep 12, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Code frames leave the content column on wide screens
#4000 stretched every terminal frame to the full content panel at 72rem and up, to give
wt list --fullroom. Once the panel is wider than the 62rem column, Starlight offsets the column inside it, so shell snippets moved left of the prose they belong to and spanned past it on the right, while TOML frames stayed in the column. On https://worktrunk.dev/tips-patterns/ at 2560px, prose starts at x=760 and shell frames at x=248, 1504px wide.#4039 had already made terminal output fit the column. With the stretch disabled, no output-bearing frame on any of the 15 pages overflows; three long one-line commands on
/config/,/list/and/step/scroll, as long TOML lines already do. So the rule is removed rather than narrowed.The desktop browser test ran only at 1152px and 1376px, where the panel and the column are the same width and the rule changed nothing. It now also runs at 1920px and asserts every code frame stays within the column; with the old rule restored, it fails on the homepage.
The dev server loses code styling after a merge
Astro caches rendered Markdown with the Expressive Code stylesheet URL baked in. That URL's hash comes from the code-rendering config and plugins, which Astro's content-cache key doesn't cover. A merge that changes
astro.config.mjsand the terminal plugin under a running dev server makes Astro restart it in place: the server serves the new stylesheet while content keeps rendering with the old renderer, so every page links a stylesheet that returns 404. Restarting the process doesn't recover, because the cache survives it.docs/package.json:devpasses--force, asbuildalready does, so a restart re-renders..config/wt.toml: the docs hook setsASTRO_DEV_BACKGROUND=1. Whenastro devdetects an AI agent, it respawns itself detached, which drops--forceand escapeswt step tether; three worktrees currently run their dev servers that way.docs/CLAUDE.md: explains the cache and says to restart withwt hook post-start docsafterastro.config.mjschanges, since the in-place restart is Astro's to fix.🤖 Generated with Claude Code
https://claude.ai/code/session_016NGjseUKXkyL8qHLhaXsnt