Commit Graph
1165 Commits
Author SHA1 Message Date
Maximilian Roos 5e179374ef Protect registered worktrees uniformly from clobbering
Refuse existing destinations inside or containing a checkout or Git store for both explicit and template paths. Keep absent nested destinations valid and remove tracked-entry and case-folding policy.

Confirm the primary checkout through Git discovery or a verified parent instead of guessing beside a separate Git store. Fail closed when its location is unknown, and update help and regression coverage.
2026-10-26 20:49:26 -07:00
Maximilian Roos bb25aea3ef Simplify shell integration detection to known setup lines (#4595)
Shell integration detection used partial shell-syntax heuristics to
decide whether an entire rc-file line belonged to Worktrunk. An alias
quoting initialization, or an initialization followed by another
command, could therefore be removed by uninstall.

Recognize complete generated, documented, and historical setup forms
instead. Current installer lines come directly from the generator;
install, diagnostics, and uninstall share the matcher, which also
supplies the shell identity. Preserve custom command names, `.exe`
names, Git dispatch, and older installer forms without adding a parser
dependency. Remove the syntax-variation heuristics and their tests.

Customized shell expressions remain user-managed: uninstall leaves them
alone, diagnostics explain that boundary, and installing over such a
setup may append the standard initialization line. Regression coverage
checks install idempotency and preservation of quoted aliases and
compound statements.

Validation: shell unit and install/uninstall integration tests,
independent CLI lifecycle probes, help snapshots, documentation
sync/build, doctests, and all pre-commit checks pass. The full local
gate ran 5,430 tests with 5,422 passing. Its documentation-sync failure
was resolved by regeneration and a passing repeat; remaining failures
were an unchanged startup test, two process-discovery preconditions, and
four PowerShell-related failures. The installed `pwsh` also
stack-overflows on standalone `1 + 1`, independently of Worktrunk. CI
must pass before merge.

Closes #4106.

> _This was written by Codex on behalf of max-sixty_
2026-10-26 00:14:43 -07:00
Worktrunk Botandworktrunk-bot db2641148f docs: describe the squash fallback message and detect OpenCode in the skill (#4510)
Two doc claims didn't match the code; this corrects both in their
sources and regenerates the mirrors.

- **LLM-less fallback**
([`llm-commits.md`](https://github.com/max-sixty/worktrunk/blob/main/docs/src/content/docs/llm-commits.md#fallback-behavior)):
the page said every message without an LLM names the changed files. That
holds for `wt step commit`
([`src/llm.rs#L744-L767`](https://github.com/max-sixty/worktrunk/blob/de3b9c1c7a03cd6863777668228cfec9ddbb3bfd/src/llm.rs#L744-L767)),
but squashes from `wt step squash` and `wt merge` use `Squash commits
from <branch>` with the combined subjects in the body
([`src/llm.rs#L883-L889`](https://github.com/max-sixty/worktrunk/blob/de3b9c1c7a03cd6863777668228cfec9ddbb3bfd/src/llm.rs#L883-L889)).
The `wt step squash` help already says so.
- **Skill tool detection** (`skills/worktrunk/SKILL.md`): the agent was
told to run `which claude codex llm aichat`, leaving out `opencode`,
which Worktrunk detects itself
([`src/output/commit_generation.rs#L167`](https://github.com/max-sixty/worktrunk/blob/de3b9c1c7a03cd6863777668228cfec9ddbb3bfd/src/output/commit_generation.rs#L167))
and `llm-commits.md` documents.

`docs/public/.well-known/agent-skills/index.json` changes only because
the SKILL.md digest moved. Verified with `cargo test --test integration
test_docs_are_in_sync`; docs-only, so no regression test.

---------

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
2026-10-25 21:48:10 -07:00
dependabot[bot] ea5a21f11f chore: bump the docs-site group across 1 directory with 5 updates (#4589)
Bumps the docs-site group with 5 updates in the /docs directory:

| Package | From | To |
| --- | --- | --- |
|
[@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark)
| `7.3.2` | `7.3.4` |
|
[@expressive-code/core](https://github.com/expressive-code/expressive-code/tree/HEAD/packages/@expressive-code/core)
| `0.44.2` | `0.44.3` |
| [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) |
`7.3.8` | `7.4.2` |
|
[@astrojs/check](https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check)
| `0.9.10` | `0.9.12` |
| [playwright](https://github.com/microsoft/playwright) | `1.64.0` |
`1.64.1` |


Updates `@astrojs/markdown-remark` from 7.3.2 to 7.3.4
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/releases">@​astrojs/markdown-remark's
releases</a>.</em></p>
<blockquote>
<h2><code>@​astrojs/markdown-remark</code><a
href="https://github.com/7"><code>@​7</code></a>.3.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [<a
href="https://github.com/withastro/astro/commit/cf27e70a9057ce29ade2a8a843bd9275a696e9ab"><code>cf27e70</code></a>]:
<ul>
<li><code>@​astrojs/prism</code><a
href="https://github.com/4"><code>@​4</code></a>.1.1</li>
</ul>
</li>
</ul>
<h2><code>@​astrojs/markdown-remark</code><a
href="https://github.com/7"><code>@​7</code></a>.3.3</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/withastro/astro/pull/17894">#17894</a>
<a
href="https://github.com/withastro/astro/commit/b7a1bd99ac7c68cf36078058f15f1bd1fab4cbe8"><code>b7a1bd9</code></a>
Thanks <a
href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! -
Adds the measurements that <code>astro build --timings</code> reports
for Markdown processing and syntax highlighting.</li>
<li>Updated dependencies [<a
href="https://github.com/withastro/astro/commit/b7a1bd99ac7c68cf36078058f15f1bd1fab4cbe8"><code>b7a1bd9</code></a>,
<a
href="https://github.com/withastro/astro/commit/2715958666b0a706b069d0592da3a070b3796a9b"><code>2715958</code></a>]:
<ul>
<li><code>@​astrojs/internal-helpers</code><a
href="https://github.com/0"><code>@​0</code></a>.13.0</li>
<li><code>@​astrojs/prism</code><a
href="https://github.com/4"><code>@​4</code></a>.1.0</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md">@​astrojs/markdown-remark's
changelog</a>.</em></p>
<blockquote>
<h2>7.3.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [<a
href="https://github.com/withastro/astro/commit/cf27e70a9057ce29ade2a8a843bd9275a696e9ab"><code>cf27e70</code></a>]:
<ul>
<li><code>@​astrojs/prism</code><a
href="https://github.com/4"><code>@​4</code></a>.1.1</li>
</ul>
</li>
</ul>
<h2>7.3.3</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/withastro/astro/pull/17894">#17894</a>
<a
href="https://github.com/withastro/astro/commit/b7a1bd99ac7c68cf36078058f15f1bd1fab4cbe8"><code>b7a1bd9</code></a>
Thanks <a
href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! -
Adds the measurements that <code>astro build --timings</code> reports
for Markdown processing and syntax highlighting.</li>
<li>Updated dependencies [<a
href="https://github.com/withastro/astro/commit/b7a1bd99ac7c68cf36078058f15f1bd1fab4cbe8"><code>b7a1bd9</code></a>,
<a
href="https://github.com/withastro/astro/commit/2715958666b0a706b069d0592da3a070b3796a9b"><code>2715958</code></a>]:
<ul>
<li><code>@​astrojs/internal-helpers</code><a
href="https://github.com/0"><code>@​0</code></a>.13.0</li>
<li><code>@​astrojs/prism</code><a
href="https://github.com/4"><code>@​4</code></a>.1.0</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/withastro/astro/commit/34c953555749223022e6bb2f02019d3515749a24"><code>34c9535</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark/issues/18459">#18459</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/c2c43a99f4d50676456c137ff88359579f78bf5c"><code>c2c43a9</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark/issues/18354">#18354</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/73b3c26d5b0f3739cf1a68defb692e25efeb7724"><code>73b3c26</code></a>
Update dependency rolldown to ^1.2.13 (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark/issues/18384">#18384</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/b7a1bd99ac7c68cf36078058f15f1bd1fab4cbe8"><code>b7a1bd9</code></a>
feat(build): add a --timings flag to astro build (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark/issues/17894">#17894</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/eee0d1923f2bbaf70210bc1b5451ccfbfd698f4e"><code>eee0d19</code></a>
Update markdown (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark/issues/18302">#18302</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/882dd98cd9f11c4e7bd0b812d37f865dfca75d3d"><code>882dd98</code></a>
Replace esbuild with Vite and Rolldown APIs (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark/issues/18263">#18263</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/e5eae028ce27a5c32751f2008f4cbf70217ab61b"><code>e5eae02</code></a>
Update markdown (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark/issues/18280">#18280</a>)</li>
<li>See full diff in <a
href="https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.3.4/packages/markdown/remark">compare
view</a></li>
</ul>
</details>
<br />

Updates `@expressive-code/core` from 0.44.2 to 0.44.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/expressive-code/expressive-code/releases">@​expressive-code/core's
releases</a>.</em></p>
<blockquote>
<h2><code>@​expressive-code/core</code><a
href="https://github.com/0"><code>@​0</code></a>.44.3</h2>
<h3>Patch Changes</h3>
<ul>
<li>4612143: Updates <code>postcss-nested</code> dependency</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/expressive-code/expressive-code/blob/main/packages/@expressive-code/core/CHANGELOG.md">@​expressive-code/core's
changelog</a>.</em></p>
<blockquote>
<h2>0.44.3</h2>
<h3>Patch Changes</h3>
<ul>
<li>4612143: Updates <code>postcss-nested</code> dependency</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/expressive-code/expressive-code/commit/5e795d7495348c041c474a6f60a7cbb63ee51adb"><code>5e795d7</code></a>
[CI] Release (<a
href="https://github.com/expressive-code/expressive-code/tree/HEAD/packages/@expressive-code/core/issues/479">#479</a>)</li>
<li><a
href="https://github.com/expressive-code/expressive-code/commit/461214358f7d460493cacda48a5b3e1785722384"><code>4612143</code></a>
Update postcss-nested to v7 (<a
href="https://github.com/expressive-code/expressive-code/tree/HEAD/packages/@expressive-code/core/issues/478">#478</a>)</li>
<li><a
href="https://github.com/expressive-code/expressive-code/commit/f6e453886e84b31fe9033eb7a84823ba8fb96f61"><code>f6e4538</code></a>
Use metaOptions instead of meta in docs plugin examples (<a
href="https://github.com/expressive-code/expressive-code/tree/HEAD/packages/@expressive-code/core/issues/474">#474</a>)</li>
<li>See full diff in <a
href="https://github.com/expressive-code/expressive-code/commits/@expressive-code/core@0.44.3/packages/@expressive-code/core">compare
view</a></li>
</ul>
</details>
<br />

Updates `astro` from 7.3.8 to 7.4.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/releases">astro's
releases</a>.</em></p>
<blockquote>
<h2>astro@7.4.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18430">#18430</a>
<a
href="https://github.com/withastro/astro/commit/dda9ec395c89a1420abb3b8f88b5c7f1f385f82e"><code>dda9ec3</code></a>
Thanks <a
href="https://github.com/Abhirup-99"><code>@​Abhirup-99</code></a>! -
Speeds up content sync with <code>experimental.collectionStorage:
&quot;chunked&quot;</code> by computing each character's UTF-8 width
from its code point instead of encoding every character through
<code>TextEncoder</code>. On a store of ~44k entries this cuts the
chunking step from about 60 seconds to well under a second, with
byte-identical output.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18438">#18438</a>
<a
href="https://github.com/withastro/astro/commit/5e0eaa4415a9081efdaeb3d9af3717ce3226ad18"><code>5e0eaa4</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>astro dev</code> with <code>@astrojs/cloudflare</code>
failing with <code>Calling `require` for &quot;node-fetch&quot;</code>
when a server dependency such as <code>cross-fetch</code> requires
<code>node-fetch</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18376">#18376</a>
<a
href="https://github.com/withastro/astro/commit/a4e201d79f19caa6bf4222f42167aeb602c066e6"><code>a4e201d</code></a>
Thanks <a href="https://github.com/okxint"><code>@​okxint</code></a>! -
Fixes <code>astro dev</code> treating a stale lock file containing a
Linux thread ID as a running Astro server. A successful process lookup
with no matching PID now marks the lock as stale, preventing <code>astro
dev stop</code> and <code>astro dev --force</code> from killing the
unrelated process that owns the thread.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18467">#18467</a>
<a
href="https://github.com/withastro/astro/commit/d1fb7d36dad440c57d62b071e752ae220cca2baa"><code>d1fb7d3</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the <code>defineConfig()</code> types for
<code>i18n.defaultLocale</code>, <code>i18n.fallback</code>, and
<code>i18n.domains</code> so they accept a custom locale's
<code>path</code> instead of its <code>codes</code>, matching how Astro
validates and uses these values</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18475">#18475</a>
<a
href="https://github.com/withastro/astro/commit/cf27e70a9057ce29ade2a8a843bd9275a696e9ab"><code>cf27e70</code></a>
Thanks <a
href="https://github.com/ematipico"><code>@​ematipico</code></a>! -
Bumps the minimum supported Node.js version to 22.23.4, which includes
the fixes from the <a
href="https://nodejs.org/en/blog/vulnerability/october-2026-security-releases">October
2026 Node.js security releases</a></p>
<p>This is a patch release because the <a
href="https://docs.astro.build/en/upgrade-astro/#nodejs-support-and-upgrade-policies">Node.js
support and upgrade policy</a> allows the Core team to raise the minimum
Maintenance LTS version in a patch release when a disclosed and fixed
Node.js security flaw affects Astro.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18451">#18451</a>
<a
href="https://github.com/withastro/astro/commit/7a0ba6f48ebae256a1ce49de4f1c62c009ff94e2"><code>7a0ba6f</code></a>
Thanks <a
href="https://github.com/DenisCDev"><code>@​DenisCDev</code></a>! -
Fixes <code>astro sync</code>, <code>astro check</code> and <code>astro
build</code> replacing the optimized dependencies of a dev server
running in the same project, which broke framework islands in that dev
server until it was restarted with <code>--force</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18336">#18336</a>
<a
href="https://github.com/withastro/astro/commit/e943003259c3bb4d528d3d49c8ccd3eb8f84b8b5"><code>e943003</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes inline styles in dev so that framework-transformed CSS is used,
such as scoped styles and <code>v-bind()</code> in Vue single-file
components</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18399">#18399</a>
<a
href="https://github.com/withastro/astro/commit/829fc00629ef715fc606b89c6e684ca93f9253b9"><code>829fc00</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes a dev server error (<code>Could not find server component
name</code>) for a <code>server:defer</code> island that imports
<code>astro:actions</code> or <code>astro:config/server</code>, when its
page was not the first island page loaded after starting the server</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18330">#18330</a>
<a
href="https://github.com/withastro/astro/commit/4db9e0d1e6a54c2300b96a0ff0cfaf5c188cecda"><code>4db9e0d</code></a>
Thanks <a href="https://github.com/Samuteg"><code>@​Samuteg</code></a>!
- Fixes the <code>astro:env/server</code> virtual module being generated
with invalid JS in dev when any environment variable contains
<code>$</code> replacement patterns (<code>$`</code>,
<code>$&amp;</code>, <code>$'</code>, <code>$1</code>, …). The inlined
env JSON was passed as a string to <code>String.replace</code>, so e.g.
the <code>KITTY_PUBLIC_KEY</code> value set by default in Kitty
terminals corrupted the module and broke dev with <code>Failed to parse
source for import analysis</code></p>
</li>
<li>
<p>Updated dependencies [<a
href="https://github.com/withastro/astro/commit/cf27e70a9057ce29ade2a8a843bd9275a696e9ab"><code>cf27e70</code></a>]:</p>
<ul>
<li><code>@​astrojs/telemetry</code><a
href="https://github.com/3"><code>@​3</code></a>.4.1</li>
<li><code>@​astrojs/markdown-satteri</code><a
href="https://github.com/0"><code>@​0</code></a>.4.5</li>
</ul>
</li>
</ul>
<h2>astro@7.4.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18425">#18425</a>
<a
href="https://github.com/withastro/astro/commit/6fdc36ed97316d932d2e143b85739f0af37ab329"><code>6fdc36e</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Preserves the last modified date of cached optimized images and
incrementally restored build output when copying them into the build
output on all platforms</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18419">#18419</a>
<a
href="https://github.com/withastro/astro/commit/395d19525986a276bf81af7bd365e7a35dc20ef3"><code>395d195</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes a typo in the error message shown when a font
<code>cssVariable</code> is invalid</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18401">#18401</a>
<a
href="https://github.com/withastro/astro/commit/484822fbba652745c4f2da5ef434a350203578e2"><code>484822f</code></a>
Thanks <a
href="https://github.com/danielmlr"><code>@​danielmlr</code></a>! -
Fixes a bug where projects whose path contains an apostrophe
(<code>'</code>) failed to load sessions, middleware, a cache provider,
or a <code>src/fetch.ts</code> handler</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18407">#18407</a>
<a
href="https://github.com/withastro/astro/commit/a6e00beae6c134d0c1b5248eb02fbf119b7d64e9"><code>a6e00be</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes a <code>TSCONFIG_ERROR</code> during <code>astro build</code>
when a parent directory contains a <code>tsconfig.json</code> that
cannot be resolved, such as one extending
<code>astro/tsconfigs/strict</code> without installed dependencies</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18427">#18427</a>
<a
href="https://github.com/withastro/astro/commit/908f1672a9fe6c40e6b73bfb0307f0d1f3ac2057"><code>908f167</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes an <code>Unterminated string</code> build error when application
code imports from <code>astro/config</code> (for example,
<code>fontProviders</code> in a shared fonts module)</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18428">#18428</a>
<a
href="https://github.com/withastro/astro/commit/40e7d54c7f969b402f011d32ccd87123835d0aa1"><code>40e7d54</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes missing styles in production builds for conditionally rendered
framework components (e.g. Svelte components inside <code>{#if}</code>
blocks) imported by a hydrated island</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18424">#18424</a>
<a
href="https://github.com/withastro/astro/commit/617ff59820b4a5777eb5d3765c09d29082b11acc"><code>617ff59</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes style-only HMR in <code>.astro</code> components falling back to
a full page reload when a PostCSS plugin (such as
<code>@unocss/postcss</code>) lists the component as a dependency of its
own style</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18274">#18274</a>
<a
href="https://github.com/withastro/astro/commit/70834bbea43695c563358ea055d32ecb5e0a78dd"><code>70834bb</code></a>
Thanks <a
href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! -
Fixes increasing memory usage when editing the Astro configuration while
the dev server is running</p>
</li>
</ul>
<h2>astro@7.4.0</h2>
<h3>Minor Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/withastro/astro/pull/17894">#17894</a>
<a
href="https://github.com/withastro/astro/commit/b7a1bd99ac7c68cf36078058f15f1bd1fab4cbe8"><code>b7a1bd9</code></a>
Thanks <a
href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! -
Adds a new <code>--timings</code> flag to <code>astro build</code> to
help you find what slows down your builds</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's
changelog</a>.</em></p>
<blockquote>
<h2>7.4.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18430">#18430</a>
<a
href="https://github.com/withastro/astro/commit/dda9ec395c89a1420abb3b8f88b5c7f1f385f82e"><code>dda9ec3</code></a>
Thanks <a
href="https://github.com/Abhirup-99"><code>@​Abhirup-99</code></a>! -
Speeds up content sync with <code>experimental.collectionStorage:
&quot;chunked&quot;</code> by computing each character's UTF-8 width
from its code point instead of encoding every character through
<code>TextEncoder</code>. On a store of ~44k entries this cuts the
chunking step from about 60 seconds to well under a second, with
byte-identical output.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18438">#18438</a>
<a
href="https://github.com/withastro/astro/commit/5e0eaa4415a9081efdaeb3d9af3717ce3226ad18"><code>5e0eaa4</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>astro dev</code> with <code>@astrojs/cloudflare</code>
failing with <code>Calling `require` for &quot;node-fetch&quot;</code>
when a server dependency such as <code>cross-fetch</code> requires
<code>node-fetch</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18376">#18376</a>
<a
href="https://github.com/withastro/astro/commit/a4e201d79f19caa6bf4222f42167aeb602c066e6"><code>a4e201d</code></a>
Thanks <a href="https://github.com/okxint"><code>@​okxint</code></a>! -
Fixes <code>astro dev</code> treating a stale lock file containing a
Linux thread ID as a running Astro server. A successful process lookup
with no matching PID now marks the lock as stale, preventing <code>astro
dev stop</code> and <code>astro dev --force</code> from killing the
unrelated process that owns the thread.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18467">#18467</a>
<a
href="https://github.com/withastro/astro/commit/d1fb7d36dad440c57d62b071e752ae220cca2baa"><code>d1fb7d3</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the <code>defineConfig()</code> types for
<code>i18n.defaultLocale</code>, <code>i18n.fallback</code>, and
<code>i18n.domains</code> so they accept a custom locale's
<code>path</code> instead of its <code>codes</code>, matching how Astro
validates and uses these values</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18475">#18475</a>
<a
href="https://github.com/withastro/astro/commit/cf27e70a9057ce29ade2a8a843bd9275a696e9ab"><code>cf27e70</code></a>
Thanks <a
href="https://github.com/ematipico"><code>@​ematipico</code></a>! -
Bumps the minimum supported Node.js version to 22.23.4, which includes
the fixes from the <a
href="https://nodejs.org/en/blog/vulnerability/october-2026-security-releases">October
2026 Node.js security releases</a></p>
<p>This is a patch release because the <a
href="https://docs.astro.build/en/upgrade-astro/#nodejs-support-and-upgrade-policies">Node.js
support and upgrade policy</a> allows the Core team to raise the minimum
Maintenance LTS version in a patch release when a disclosed and fixed
Node.js security flaw affects Astro.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18451">#18451</a>
<a
href="https://github.com/withastro/astro/commit/7a0ba6f48ebae256a1ce49de4f1c62c009ff94e2"><code>7a0ba6f</code></a>
Thanks <a
href="https://github.com/DenisCDev"><code>@​DenisCDev</code></a>! -
Fixes <code>astro sync</code>, <code>astro check</code> and <code>astro
build</code> replacing the optimized dependencies of a dev server
running in the same project, which broke framework islands in that dev
server until it was restarted with <code>--force</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18336">#18336</a>
<a
href="https://github.com/withastro/astro/commit/e943003259c3bb4d528d3d49c8ccd3eb8f84b8b5"><code>e943003</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes inline styles in dev so that framework-transformed CSS is used,
such as scoped styles and <code>v-bind()</code> in Vue single-file
components</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18399">#18399</a>
<a
href="https://github.com/withastro/astro/commit/829fc00629ef715fc606b89c6e684ca93f9253b9"><code>829fc00</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes a dev server error (<code>Could not find server component
name</code>) for a <code>server:defer</code> island that imports
<code>astro:actions</code> or <code>astro:config/server</code>, when its
page was not the first island page loaded after starting the server</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18330">#18330</a>
<a
href="https://github.com/withastro/astro/commit/4db9e0d1e6a54c2300b96a0ff0cfaf5c188cecda"><code>4db9e0d</code></a>
Thanks <a href="https://github.com/Samuteg"><code>@​Samuteg</code></a>!
- Fixes the <code>astro:env/server</code> virtual module being generated
with invalid JS in dev when any environment variable contains
<code>$</code> replacement patterns (<code>$`</code>,
<code>$&amp;</code>, <code>$'</code>, <code>$1</code>, …). The inlined
env JSON was passed as a string to <code>String.replace</code>, so e.g.
the <code>KITTY_PUBLIC_KEY</code> value set by default in Kitty
terminals corrupted the module and broke dev with <code>Failed to parse
source for import analysis</code></p>
</li>
<li>
<p>Updated dependencies [<a
href="https://github.com/withastro/astro/commit/cf27e70a9057ce29ade2a8a843bd9275a696e9ab"><code>cf27e70</code></a>]:</p>
<ul>
<li><code>@​astrojs/telemetry</code><a
href="https://github.com/3"><code>@​3</code></a>.4.1</li>
<li><code>@​astrojs/markdown-satteri</code><a
href="https://github.com/0"><code>@​0</code></a>.4.5</li>
</ul>
</li>
</ul>
<h2>7.4.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18425">#18425</a>
<a
href="https://github.com/withastro/astro/commit/6fdc36ed97316d932d2e143b85739f0af37ab329"><code>6fdc36e</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Preserves the last modified date of cached optimized images and
incrementally restored build output when copying them into the build
output on all platforms</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18419">#18419</a>
<a
href="https://github.com/withastro/astro/commit/395d19525986a276bf81af7bd365e7a35dc20ef3"><code>395d195</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes a typo in the error message shown when a font
<code>cssVariable</code> is invalid</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18401">#18401</a>
<a
href="https://github.com/withastro/astro/commit/484822fbba652745c4f2da5ef434a350203578e2"><code>484822f</code></a>
Thanks <a
href="https://github.com/danielmlr"><code>@​danielmlr</code></a>! -
Fixes a bug where projects whose path contains an apostrophe
(<code>'</code>) failed to load sessions, middleware, a cache provider,
or a <code>src/fetch.ts</code> handler</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18407">#18407</a>
<a
href="https://github.com/withastro/astro/commit/a6e00beae6c134d0c1b5248eb02fbf119b7d64e9"><code>a6e00be</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes a <code>TSCONFIG_ERROR</code> during <code>astro build</code>
when a parent directory contains a <code>tsconfig.json</code> that
cannot be resolved, such as one extending
<code>astro/tsconfigs/strict</code> without installed dependencies</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18427">#18427</a>
<a
href="https://github.com/withastro/astro/commit/908f1672a9fe6c40e6b73bfb0307f0d1f3ac2057"><code>908f167</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes an <code>Unterminated string</code> build error when application
code imports from <code>astro/config</code> (for example,
<code>fontProviders</code> in a shared fonts module)</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18428">#18428</a>
<a
href="https://github.com/withastro/astro/commit/40e7d54c7f969b402f011d32ccd87123835d0aa1"><code>40e7d54</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes missing styles in production builds for conditionally rendered
framework components (e.g. Svelte components inside <code>{#if}</code>
blocks) imported by a hydrated island</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18424">#18424</a>
<a
href="https://github.com/withastro/astro/commit/617ff59820b4a5777eb5d3765c09d29082b11acc"><code>617ff59</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes style-only HMR in <code>.astro</code> components falling back to
a full page reload when a PostCSS plugin (such as
<code>@unocss/postcss</code>) lists the component as a dependency of its
own style</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18274">#18274</a>
<a
href="https://github.com/withastro/astro/commit/70834bbea43695c563358ea055d32ecb5e0a78dd"><code>70834bb</code></a>
Thanks <a
href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! -
Fixes increasing memory usage when editing the Astro configuration while
the dev server is running</p>
</li>
</ul>
<h2>7.4.0</h2>
<h3>Minor Changes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/withastro/astro/commit/34c953555749223022e6bb2f02019d3515749a24"><code>34c9535</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18459">#18459</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/cf27e70a9057ce29ade2a8a843bd9275a696e9ab"><code>cf27e70</code></a>
fix: minimal support node version (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18475">#18475</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/1efb9d60e59ba7081f28e1f99d557468a5ea48eb"><code>1efb9d6</code></a>
Update dependency <code>@​playwright/test</code> to v1.64.1 (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18441">#18441</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/5e0eaa4415a9081efdaeb3d9af3717ce3226ad18"><code>5e0eaa4</code></a>
fix(astro): stop excluding node-fetch from server dep optimization in
workerd...</li>
<li><a
href="https://github.com/withastro/astro/commit/a4e201d79f19caa6bf4222f42167aeb602c066e6"><code>a4e201d</code></a>
fix(dev): treat missing ps row as stale in lockfile process check (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18376">#18376</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/7a0ba6f48ebae256a1ce49de4f1c62c009ff94e2"><code>7a0ba6f</code></a>
Use a separate Vite cache for the temporary sync server (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18451">#18451</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/d1fb7d36dad440c57d62b071e752ae220cca2baa"><code>d1fb7d3</code></a>
fix(i18n): use locale path instead of codes in defineConfig i18n types
(<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18467">#18467</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/dda9ec395c89a1420abb3b8f88b5c7f1f385f82e"><code>dda9ec3</code></a>
fix(content): compute UTF-8 width arithmetically in getChunkEnd (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18430">#18430</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/7af66fc785d85b1df1f98e7123a52b2306250985"><code>7af66fc</code></a>
Fix astro-check binary silently dropping the first two CLI arguments (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18455">#18455</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/829fc00629ef715fc606b89c6e684ca93f9253b9"><code>829fc00</code></a>
Skip server island manifest in CSS ensureModulesLoaded to fix
late-discovery ...</li>
<li>Additional commits viewable in <a
href="https://github.com/withastro/astro/commits/astro@7.4.2/packages/astro">compare
view</a></li>
</ul>
</details>
<br />

Updates `@astrojs/check` from 0.9.10 to 0.9.12
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/releases">@​astrojs/check's
releases</a>.</em></p>
<blockquote>
<h2><code>@​astrojs/check</code><a
href="https://github.com/0"><code>@​0</code></a>.9.12</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/withastro/astro/pull/18455">#18455</a>
<a
href="https://github.com/withastro/astro/commit/7af66fc785d85b1df1f98e7123a52b2306250985"><code>7af66fc</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the <code>astro-check</code> binary ignoring its first two
command-line arguments, so flags such as <code>--help</code>,
<code>--root</code>, <code>--watch</code>, and <code>--tsconfig</code>
are respected again. If your scripts padded the arguments to work around
this (for example, <code>astro-check -- -- --tsconfig
./tsconfig.app.json</code>), remove the padding.</li>
<li>Updated dependencies [<a
href="https://github.com/withastro/astro/commit/044148d5cfbc90e0277b3205a52ec73bc452bb7e"><code>044148d</code></a>]:
<ul>
<li><code>@​astrojs/language-server</code><a
href="https://github.com/2"><code>@​2</code></a>.17.3</li>
</ul>
</li>
</ul>
<h2><code>@​astrojs/check</code><a
href="https://github.com/0"><code>@​0</code></a>.9.11</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18445">#18445</a>
<a
href="https://github.com/withastro/astro/commit/d736df7a9cc03c12b22e538f058fb1f769672471"><code>d736df7</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the <code>--preserveWatchOutput</code> help text, which
described the opposite of the flag's behavior. Setting it to
<code>true</code> keeps output between checks in watch mode.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18444">#18444</a>
<a
href="https://github.com/withastro/astro/commit/c55134c1d3c238a43e17cfeff136375a4d9d5d35"><code>c55134c</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>astro check --watch</code> exiting immediately when the
project path contains <code>node_modules</code> or <code>.git</code></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/blob/main/packages/language-tools/astro-check/CHANGELOG.md">@​astrojs/check's
changelog</a>.</em></p>
<blockquote>
<h2>0.9.12</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/withastro/astro/pull/18455">#18455</a>
<a
href="https://github.com/withastro/astro/commit/7af66fc785d85b1df1f98e7123a52b2306250985"><code>7af66fc</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the <code>astro-check</code> binary ignoring its first two
command-line arguments, so flags such as <code>--help</code>,
<code>--root</code>, <code>--watch</code>, and <code>--tsconfig</code>
are respected again. If your scripts padded the arguments to work around
this (for example, <code>astro-check -- -- --tsconfig
./tsconfig.app.json</code>), remove the padding.</li>
<li>Updated dependencies [<a
href="https://github.com/withastro/astro/commit/044148d5cfbc90e0277b3205a52ec73bc452bb7e"><code>044148d</code></a>]:
<ul>
<li><code>@​astrojs/language-server</code><a
href="https://github.com/2"><code>@​2</code></a>.17.3</li>
</ul>
</li>
</ul>
<h2>0.9.11</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18445">#18445</a>
<a
href="https://github.com/withastro/astro/commit/d736df7a9cc03c12b22e538f058fb1f769672471"><code>d736df7</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the <code>--preserveWatchOutput</code> help text, which
described the opposite of the flag's behavior. Setting it to
<code>true</code> keeps output between checks in watch mode.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18444">#18444</a>
<a
href="https://github.com/withastro/astro/commit/c55134c1d3c238a43e17cfeff136375a4d9d5d35"><code>c55134c</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>astro check --watch</code> exiting immediately when the
project path contains <code>node_modules</code> or <code>.git</code></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/withastro/astro/commit/34c953555749223022e6bb2f02019d3515749a24"><code>34c9535</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check/issues/18459">#18459</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/7af66fc785d85b1df1f98e7123a52b2306250985"><code>7af66fc</code></a>
Fix astro-check binary silently dropping the first two CLI arguments (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check/issues/18455">#18455</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/e990df87fb74b71a94b50fbc83a26a189391e300"><code>e990df8</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check/issues/18405">#18405</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/c55134c1d3c238a43e17cfeff136375a4d9d5d35"><code>c55134c</code></a>
Fix <code>astro check --watch</code> exiting immediately when project
path contains `nod...</li>
<li><a
href="https://github.com/withastro/astro/commit/d736df7a9cc03c12b22e538f058fb1f769672471"><code>d736df7</code></a>
Correct --preserveWatchOutput help text in astro check (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check/issues/18445">#18445</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/21feaab7ae808a0e6001865c71c3de3096fe13f2"><code>21feaab</code></a>
Update language-tools (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check/issues/18347">#18347</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/421d4a670dfe109d491a2b82768c1dbc2d6f7403"><code>421d4a6</code></a>
Update dependency <code>@​astrojs/language-server</code> to ^2.17.1 (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check/issues/18320">#18320</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/134af3e6d4a670046e56226b03436d6a1c8a2fa6"><code>134af3e</code></a>
Update language-tools (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check/issues/18312">#18312</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/da1333a4f6754ee6311e06532030829f2544dde6"><code>da1333a</code></a>
Update dependency chokidar to v5 (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check/issues/18107">#18107</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/7cc0b0076e9630e3ced20e44950eee1a9ce6fb5a"><code>7cc0b00</code></a>
Update language-tools (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check/issues/17578">#17578</a>)</li>
<li>See full diff in <a
href="https://github.com/withastro/astro/commits/@astrojs/check@0.9.12/packages/language-tools/astro-check">compare
view</a></li>
</ul>
</details>
<br />

Updates `playwright` from 1.64.0 to 1.64.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/playwright/releases">playwright's
releases</a>.</em></p>
<blockquote>
<h2>v1.64.1</h2>
<h3>Bug Fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/microsoft/playwright/issues/43247">#43247</a>
[Bug]: _electron.launch intermittently loses a packaged app's first
window since 1.64.0</li>
<li><a
href="https://redirect.github.com/microsoft/playwright/issues/43242">#43242</a>
[Regression]: Chromium 155+ aborts a preflighted cross-origin redirect
whenever any route is registered (net::ERR_ABORTED)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/playwright/commit/cfe490d941f992655948eee8fd4fd94e1c4234bf"><code>cfe490d</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43353">#43353</a>):
docs: release notes for v1.64 Python</li>
<li><a
href="https://github.com/microsoft/playwright/commit/866cbb864009f84d7e8e41c64fdbfceff43f280d"><code>866cbb8</code></a>
chore: mark v1.64.1 (<a
href="https://redirect.github.com/microsoft/playwright/issues/43354">#43354</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/1b2924712024804936dbcfe9fabaa655d52325e5"><code>1b29247</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43250">#43250</a>):
fix(electron): do not drop windows that have not navigat...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/632d976826c74b0163fd5201a05b7b4853ba3f4a"><code>632d976</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43249">#43249</a>):
fix(chromium): disable AvoidCorsURLLoaderRestartOnRedirect</li>
<li><a
href="https://github.com/microsoft/playwright/commit/824d0c5d1e10f21fcbe88d18a99d06194acde77c"><code>824d0c5</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43217">#43217</a>):
chore(dotnet): fix async suffix of optional-arg overload...</li>
<li>See full diff in <a
href="https://github.com/microsoft/playwright/compare/v1.64.0...v1.64.1">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-25 21:47:16 -07:00
Maximilian Roos a6c26c787e Retain partial JSON results when later command steps fail (#4584)
Preserve confirmed work in JSON output when a later command step fails.
For example, a switch that creates a worktree before `--execute` fails
still reports the created path; push and merge retain a completed target
update if final verification fails. Command payloads stay on stdout,
readable diagnostics stay on stderr, and the exit status signals
failure.

Carry typed partial facts across mutation boundaries and serialize them
in the command handlers. This covers switch, commit/squash, merge/push,
remove/prune, relocation, and copy-ignored without adding a public
result/error envelope. Switch failures before any result exists now
leave stdout empty instead of returning an error-only JSON object. Help
and regression tests document the contract.

Validation: 309 focused tests and nine additional boundary cases passed,
including late commit/squash, prune, relocation, and detached-removal
failures and skipped-copy accounting. Clippy, pre-commit, documentation
checks, and doctests passed. The full local gate had 12 failures: nine
passed sequentially, while three PowerShell tests reproduced `Stack
overflow.`. After integrating current main, all-target/all-feature
compilation and a review of the overlapping changes passed. CI remains
the merge gate.

> _This was written by Codex on behalf of max-sixty_
2026-10-23 12:40:23 -07:00
Maximilian Roos c0a2b50bc9 Move the full-page demo link below the workspace (#4581)
Start the Try it page directly with the workspace and place the
full-page Demoshell link underneath. Reserve the link’s rendered height
and spacing in the viewport sizing, including when it wraps, so it stays
visible below the demo.

Validated with the docs sync test, Astro check/build, pre-commit checks,
and desktop/mobile preview inspection.

> _This was written by Codex on behalf of max-sixty_
2026-10-23 00:23:24 -07:00
Maximilian Roos 1ec56f3073 Make the Try it demo a viewport-sized workspace (#4579)
The Try it page squeezed the terminal and guide into a reading column
and required scrolling between them. Use one heading and one full-page
Demoshell link, align the heading with the documentation rail, and let
the demo fill the main pane’s available width and remaining viewport
height. Omit this page’s footer and reserve space for Demoshell’s
attribution so it cannot cover the mobile checklist control.

Validated with the docs sync test, Astro check/build, pre-commit checks,
an independent demo walkthrough, and desktop/mobile browser checks.
Demoshell blocks local preview origins, so the running VM’s layout was
checked with temporary candidate styling and sizing code on the
production page. The [Demoshell status-row background
issue](https://github.com/max-sixty/worktrunk/pull/4280#issuecomment-6356874760)
remains with the provider.

> _This was written by Codex on behalf of max-sixty_
2026-10-22 21:10:48 -07:00
90da2475b0 Reclaim stale temporary indexes with age-based cleanup (#4469)
Abruptly terminated commands can leave full temporary Git index copies
behind. The contributor reported 52,786 files totaling 127 GB after
three days of frequent statusline cancellations.

Reclaim index copies and their Git lock siblings older than one hour
when a command next creates a temporary index. Keep the existing
filename prefix so cleanup also handles files left by older versions.
Sweep the system temp directory once per process, without making other
probe threads wait, and retain best-effort cleanup in the Git-directory
fallback. Normal exits still remove their own temporary indexes.

This uses age alone: no PID-tagged filenames, process checks, or
platform-specific liveness behavior. Move commit-preview approval before
temporary-index creation so an unattended approval prompt cannot age out
an index needed afterward. The one-hour limit is a retention policy; a
suspended operation or unusually slow Git filter can still exceed it.
Statusline computations are unchanged.

Validation: regression tests cover stale indexes and locks,
recent/future/unrelated files, both storage locations, cleanup failures,
real-index preservation, and the actual approval wait. The approval test
fails with the old ordering and passes with the fix. Independent review,
lint, docs sync, and docs build passed. The local full gate passed 5,412
tests; three PowerShell tests failed because the installed pwsh also
crashes with Stack overflow on a standalone arithmetic command outside
the repository.

> _This was written by Codex on behalf of max-sixty_

---------

Co-authored-by: Jonah Eaton <49370794+jonaheaton@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Maximilian Roos <m@maxroos.com>
2026-10-22 21:01:28 -07:00
Maximilian Roos 423960b2af docs: simplify logging and integration guidance (#4576)
Trim repeated explanations in the verbosity FAQ, agent activity
tracking, statusline setup, custom columns, and hook ordering. Keep
setup commands, template namespaces, and hook failure and ordering
rules; update generated references and help snapshots.

Validated with the documentation sync test, all 56 help tests, the site
build, and an independent review of the served passages.

> _This was written by Codex on behalf of max-sixty_
2026-10-22 12:06:01 -07:00
Maximilian Roos fc34f8e375 docs: trim repeated explanations across six guides (#4575)
Remove repeated explanations and implementation detail from the merge,
shell integration, extending, LLM commits, approvals, and tether guides.
Keep the usage examples and behavioral distinctions, and update
generated references and help snapshots.

Validated with the documentation sync test, all 56 help tests, and the
documentation site build. Reviewed the served passages in context.

> _This was written by Codex on behalf of max-sixty_
2026-10-22 11:15:23 -07:00
Maximilian Roos 46b2f5f6fd docs: trim code signing policy and clarify test signing (#4572)
Cut the code signing policy from 636 to 260 words, keeping the required
attribution, roles, privacy statement, and existing section anchors.
Remove unsupported claims about Defender and reproducible builds, and
describe the workflow's current test certificate and unsigned-release
fallback.

Validated with the docs sync test, site build, and independent review of
the served copy.

> _This was written by Codex on behalf of max-sixty_
2026-10-22 10:14:56 -07:00
Maximilian Roos 11bf61cf85 Trim Try it page to a single introduction (#4571)
Use “Try Worktrunk in a demo shell” as the introduction and remove the
remaining explanatory copy and install link. Keep the full-page demo
link and Demoshell attribution.

Validated with the docs sync test, docs build, pre-commit checks, and
rendered copy review.

> _This was written by Codex on behalf of max-sixty_
2026-10-22 09:48:46 -07:00
Maximilian Roos e14c30e237 Fix hook filtering, source isolation and template failure handling (#4429)
Hook name filters previously ran after template validation and argument
routing, so an excluded command could reject the invocation or consume
its arguments. Filtered background hooks also combined user and project
sources, and runtime template failures bypassed foreground Warn
handling.

Select raw commands before parsing or binding arguments. Live execution
and frozen approval plans share preparation; the announcer owns one
background pipeline per source. Runtime expansion follows the existing
Warn/FailFast policy, while errors retain hook identity and alias
diagnostics. Selected templates still receive syntax validation before
execution. No flags or configuration keys change.

The production change removes 24 lines overall (+183/−207 across 11
files). The full diff is +911/−267 across 34 files, mostly regression
tests and snapshots. It includes current main’s JSON output, stdin
ownership and Ctrl-C behavior.

Validation: the required project gate passed 5,411 tests with one
skipped, plus lint, lockfile, doctests and rustdoc. Independent
integration and simplification review found no unresolved defects.
Regression coverage includes excluded malformed templates, argument
binding, independent background sources, foreground serial/concurrent
failure policy, picker diagnostics and alias errors.

> _This was written by Codex on behalf of max-sixty_
2026-10-22 09:10:02 -07:00
Maximilian Roos ab9cecb171 Fix demo command tracking and simplify Try it copy (#4546)
Demoshell's guide needs Bash to report command exit status before it can
verify successful steps. Put the command-tracker prompt and OSC 133 exit
markers in the startup rcfile, skipping the initial prompt so Studio
does not mistake it for the app exiting. Keep the recipe and published
guide representation aligned with the working demo.

Shorten the Try it page to the introduction, loading note, full-page
fallback, attribution, and install link. This follows
[#4280](https://github.com/max-sixty/worktrunk/pull/4280).

Validation: ARM64 Alpine recipe and guide walkthrough; startup,
failed-command, and successful-command marker checks; published demo
walkthrough; docs sync test and build; rendered copy review.

The full local gate ran 5,392 tests: 5,389 passed and three PowerShell
tests failed because the installed PowerShell 7.5.2 crashes with `Stack
overflow.` even on `pwsh -NoProfile -Command '1 + 1'` outside the
repository. Pre-commit checks pass separately.

> _This was written by Codex on behalf of max-sixty_
2026-10-22 00:36:59 -07:00
d965d819f2 docs: add an unlinked browser demo for production testing (#4280)
Adds a **Try it** page at `/try-it/`, available by direct URL while
production embedding is tested; excluded from navigation, site search,
and the sitemap, with a noindex directive, with a live Worktrunk demo in
a browser-local Alpine ARM64 VM via [Demoshell](https://demoshell.com).
Nothing downloads until Run is pressed. The page includes Demoshell
attribution and a permanent full-page fallback link.

The VM definition lives in `docs/demos/demoshell/`: the setup recipe,
Bash startup rcfile, and guide. The guide covers list → create → edit →
list → merge, followed by an optional manual picker step. Merge commits
the change automatically. Studio must launch Bash explicitly: changing
root's login shell does not replace its running ash session. The prompt
retains the `arm64js:` prefix required by Demoshell's command tracker.
The README maps each file to its Studio field and provides an ARM64
Alpine Docker check using the same Bash entry point.

**Production test rollout:** `m/tui:worktrunk` resolves from the allowed
`worktrunk.dev` origin. The recipe, startup file, and guide draft are
entered in Studio, but the final snapshot upload is stalled at 1% after
setup completes. The currently published snapshot predates the prompt
repair, and visitors still receive the old guide. The page is
intentionally unlinked so it can be merged and tested on the accepted
production origin before broader exposure. The corrected snapshot must
finish saving, then the new guide must be published and tested in a
fresh visitor session.

Validation: the required command patterns and output checks pass on
ARM64 Alpine with `wt v0.81.0`. In the real Studio preview, applying the
Bash/prompt corrections allowed the required steps to check off, merge
to commit automatically, and the shell to return to main. The optional
picker opens and exits; its guide step uses manual completion because
Demoshell did not detect the alternate-screen exit. Local docs build,
type checks, plugin/site tests, and docs sync passed. Final snapshot
publication and a fresh end-to-end run remain blocked by the upload.

The sidebar-order test accepts Astro page routes, and the page-outline
test exempts `/try-it/`, whose table of contents is disabled to give the
demo more width.

Disclosure from the original author: they run Demoshell. Hosting is free
for eligible open-source projects, and the embed carries attribution.

> _This was written by Codex on behalf of max-sixty_

---------

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Maximilian Roos <m@maxroos.com>
2026-10-21 19:40:15 -07:00
93beb0670d fix: return one complete JSON result for switch (#4345)
JSON switches now emit one result after synchronous work, including any
--execute command, finishes. Accepted invocations return the existing
success fields, or an object with an `error` string when target
discovery, configuration, directory directives, or execution fails.
Execute output goes to stderr, and child errors retain exit and signal
metadata. Typed Git diagnostics retain captured Git details and recovery
hints, including commands for a branch left behind after failed worktree
creation. Argument errors and picker cancellation produce no JSON;
background hooks remain independent.

Validation: the full project gate passed (5,028 tests, one skipped),
plus focused checks covering early and late failures, child output and
signals, picker behavior, and plain output. Generated help,
documentation synchronization and build, and independent review passed.
The change also removes a synthetic stdin write from an existing
noninteractive alias-refusal test that raced with process exit.

> _This was written by Codex on behalf of max-sixty_

---------

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 17:13:25 -07:00
Maximilian RoosandClaude Opus 5.5 13d4d5b4e2 docs: release 0.81 documentation review fixes (#4531)
Applies the documentation review of the 0.81.0 candidate
(v0.80.0..15b1ed10c: CLI help, generated and authored site pages, skill
and plugin copies). Each claim was checked against the code, and the
behavioral ones against a build of this branch on scratch repos.
Generated pages, skill mirrors, `list-v2.json` and help snapshots are
regenerated from their sources.

- `wt hook` "Interactive hooks": says which hooks inherit stdin (a
command running alone in the foreground) and which get empty stdin
(concurrent commands, background `post-*` hooks, prune's fanned-out
hooks). The pass-values-as-arguments example moves to the end of
"Template variables".
- Extending: the hooks/aliases stdin row states the rule in the same
words for both.
- Shell integration: "Why shell integration exists" and "Checking
status" state their content instead of only linking away. "Files
created" again distinguishes appended lines (bash, zsh, PowerShell) from
whole files (fish, Nushell), and notes that the PowerShell profiles are
created if missing.
- `wt step prune` min-age guard: says what the guard prevents, where a
branch-only candidate's age comes from, and when a branch with no reflog
looks new again.
- `wt step squash` backup: covers everything staged (by hand or by
`--stage`), not only changes staged beforehand.
- `wt merge`: the long help defines the source before using it;
`--branch` help says "defaults to the current branch".
- `wt remove` JSON: `detached_worktree` is the detached worktree at the
branch's expected location, which the removal leaves in place.
- `wt switch`: shorter "Custom path" sentence; "Starting list-only"
becomes "Hiding the preview".
- `list-v2.json`: "probe" becomes "check", as in the list help.
- Agent integration page: drops the incomplete Codex hooks sentence;
OpenCode's `worktree.directory` "is ignored", and new branches start
from the default branch.
- Claude Code `WorktreeCreate` (site page and plugin README): the hook
runs plain `wt switch` when the branch already exists, which returns its
worktree.
- Plugin README: the activity-tracking example no longer repeats the
hook list above it.

No finding was skipped. Three were adapted: the squash text names
hand-staged changes as well as `--stage`; the `wt merge` text keeps the
word "source", which later paragraphs use; the plugin README keeps the
example's `wt list` sentence and drops only the repeated mechanism.

> _This was written by Claude Code on behalf of max-sixty_

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 10:50:00 -07:00
Maximilian RoosandClaude Opus 5.5 d890a16645 fix(templates): add the tojson filter for structured vars (#4524)
Since the minijinja 3 upgrade in #4442, `{{ vars.cfg }}` renders a JSON
object or array var in Python style (`{'port': 3000}`) where v0.80.0
rendered JSON, and `{{ vars.cfg | tojson }}` fails with "unknown filter"
because minijinja's `json` feature was off. Since #3129 removed JSON on
hook stdin, templates are how hooks get structured values, so they had
no way to pass one to `jq` or `curl -d`.

This enables the `json` feature and documents `tojson` beside the vars
dot-access example in `wt hook --help`. `tojson` writes `'`, `<`, `>`
and `&` inside strings as `\u` escapes, which JSON parsers decode; the
shell formatter still single-quotes the result, so `-d {{ vars.config |
tojson }}` passes one argument.

Two adjustments come with the feature. It makes minijinja choose JSON
autoescaping from a template name ending in `.json`, `.js`, `.yaml` or
`.yml`, as it already did HTML escaping for `.html`. Worktrunk's
template names are config keys, so a custom column named `json` would
have rendered JSON-quoted cells, and one named `html` already rendered
HTML-escaped cells; the shared template environment now turns name-based
autoescaping off. minijinja's `tojson` also writes an undefined value as
`null`, so a wrapper rejects it the way printing does, and a mistyped
`vars` key errors instead of sending `null`.

Verified by rerunning the release-review repro against the branch
binary: `{{ vars.cfg | tojson }}` now renders `{"list": [1, 2], "port":
3000}`, and a custom column named `json` or `html` renders the raw
value. New coverage: a doc-template test for the documented `curl`
example in POSIX mode, a missing-key `tojson` error case, and the
custom-column test now uses a header named `json`. Each of the three
fails with its part of the change reverted.

Bare `{{ vars.cfg }}` still renders Python-style; `tojson` is the
supported way to get JSON.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 08:40:22 -07:00
Maximilian RoosandClaude Opus 5.5 9f08a95720 fix(commit): stage before pre-commit hooks as well as after (#4520)
Since v0.80.0, pre-commit hooks during `wt merge` and `wt step squash`
no longer see the uncommitted changes in the index. #4321 moved the
squash path to run hooks before staging so a formatter hook's edits
would land in the squash commit. A hook that reads the index
(`pre-commit run`, lint-staged, `git diff --cached`) then saw nothing
staged and passed, so a merge that v0.80.0 blocked committed the
offending changes.

All commit paths now stage, run the pre-commit hooks, and stage again
with the same `--stage` mode. Hooks see the changes, formatter edits
still land in the commit, and the generated commit message reads the
post-hook index. The second staging warns only about untracked paths the
hooks created. This also applies to `wt step commit` and `wt merge
--no-squash`, which ran hooks before staging even in v0.80.0, so an
index-reading hook now blocks those commits too, and a failed hook
leaves the changes staged there as it already did for squash.

Verified with the release-review repros: a `git diff --cached` gate and
a pre-commit-framework `pre-commit run` gate both block `wt merge` and
`wt step squash` again, as on v0.80.0, where main committed the changes.
A `sed` formatter hook's edit is in the commit and in the prompt the
commit-message command receives, with a clean tree afterwards. The new
`test_pre_commit_hook_sees_staged_changes` covers `wt merge` and `wt
step commit` and fails without the fix.
`test_step_commit_refuses_hook_created_conflict` now unstages in its
hook, because `git merge` refuses to start once the index is staged. The
other snapshot changes move the auto-staging warning ahead of the hook
output.

> _This was written by Claude Code on behalf of max-sixty_

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 08:39:44 -07:00
Maximilian RoosandClaude Opus 5.5 25d0c44b0b fix(remove): drain the trash with one background process per repository (#4516)
A prune of many worktrees started one `rm -rf` per staged worktree. On a
193-worktree prune those processes competed for the disk: together they
deleted about 1,500 files/s on 3 cores, while a single `rm` alone
managed 3,000–5,400 files/s on under one core. Read-only directories
(`dr-xr-xr-x`, as installers leave them) also made `rm -rf` fail, so
those entries stayed in `.git/wt/trash/` and every later sweep retried
them.

Removal now starts a hidden `wt _drain-trash`, which holds
`.git/wt/trash.lock` and deletes every staged entry, including entries
staged while it runs. A removal or sweep that finds the lock held starts
nothing, so a prune runs about one deleter. The sweep after `wt remove`
drains leftovers immediately rather than waiting 24 hours. Priority is
unchanged (`taskpolicy -b` on macOS).

The drain uses wt's own walker (`src/remove_dir.rs`), which `wt remove
--foreground` and `wt config state clear` also use:

- On Unix it opens each directory relative to its parent's descriptor
with `O_NOFOLLOW` and unlinks relative to the holding directory. The old
path-based walker could follow a directory swapped for a symlink
mid-walk and delete outside the tree; a swap-race script reproduced
that, and the new walker lost nothing in 20 runs.
- It grants the owner `rwx` on each directory it enters, so read-only
and unreadable trees are deleted, never changing a symlink's target.
Linux's `fchmodat` has no `AT_SYMLINK_NOFOLLOW`, so there it opens the
directory with `O_PATH | O_NOFOLLOW` and changes the mode through
`/proc/self/fd`.
- Subdirectories are removed sequentially, so open descriptors stay
bounded by depth. On a 199k-entry pnpm `node_modules` it deleted about
twice as fast as `rm -rf`.
- On Windows it uses `std::fs::remove_dir_all`, which removes junctions
without following them.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 22:12:31 -07:00
Worktrunk Bot 4cb4267619 feat(templates): add expected_worktree_path_of_branch() template function (#4502) 2026-10-18 22:33:02 -07:00
Worktrunk Botandworktrunk-bot ca0563dc8d feat(plugin): route OpenCode 2 worktrees through wt switch and wt remove (#4489)
Under OpenCode 2, the plugin that `wt config plugins opencode install`
writes now registers a `worktrunk` worktree strategy. Worktrees that
OpenCode creates and removes then go through `wt switch --create` and
`wt remove`, the same way the Claude Code plugin's
`WorktreeCreate`/`WorktreeRemove` hooks already route them. This was
requested in #4488. I ran the strategy locally against a scratch repo
with this branch's `wt` and a fake OpenCode context. I haven't run it
inside a real OpenCode 2 session, which CI can't drive.

How each callback maps
([`dev/opencode-plugin.ts`](https://github.com/max-sixty/worktrunk/blob/1c906f5599d7a16df832c56c51aa82d13c82bbd3/dev/opencode-plugin.ts)):

- **create**: runs `wt switch [--create] <name> [--base <ref>] --no-cd
--format=json` in the source checkout and returns `.path`. OpenCode's
`branch` input is a [starting ref, not a branch
name](https://github.com/anomalyco/opencode/blob/dev/packages/plugin/src/worktree.ts),
so `<name>` is the basename of the directory OpenCode suggests (the name
the user typed, or a generated slug). The path comes from
`worktree-path`, since OpenCode accepts a different directory than the
one it suggested. An existing branch is reopened, as in #4487. Passing a
starting ref for an existing branch is refused rather than ignored.
- **remove**: runs `wt remove --foreground [--force] <dir>`. It does
nothing if the checkout is already gone.
- **list**: reads `git worktree list --porcelain -z` and reports the
first record as `root`. Bare and prunable entries are skipped.

Things a maintainer may want to weigh:

- **On by default.** OpenCode selects a strategy as soon as a plugin
adds one. Every OpenCode 2 user with the plugin installed switches to
worktrunk-managed worktrees, and OpenCode's `worktree.directory` setting
stops applying. This matches the Claude Code plugin. The docs page says
so.
- **No force prompt on a dirty worktree.** OpenCode only offers to force
when the error is an instance of its own `Worktree.OperationError`
([`operationError`](https://github.com/anomalyco/opencode/blob/dev/packages/core/src/worktree.ts)
uses `instanceof`). A standalone plugin file can't import that class:
the CLI's runtime shim for `@opencode/plugin` doesn't export `Worktree`.
A dirty removal fails with worktrunk's own message instead (`Cannot
remove worktree: … has uncommitted changes`), and nothing is deleted.
- **Default base.** With no starting ref, the new branch starts from
worktrunk's default (the default branch). OpenCode's `git` strategy uses
the source checkout's HEAD instead.

<details><summary>Local check</summary>

A Node harness imported the plugin, called `setup` with a stub
`ctx.worktree.transform`, and ran each callback against a fresh repo
with `target/debug/wt` on PATH:

- create → `ocrepo.brave-tiger` (the `worktree-path` default), and
`list` returned root + that worktree
- create with `branch: "brave-tiger"` → a second worktree based on it
- create for an existing branch with a starting ref → refused. Without a
ref → reopened the existing worktree
- remove of a dirty worktree → wt's error. With `force` → removed. A
repeat remove → no-op
- final `list` → root only

`test_docs_are_in_sync` and the 14 `opencode` integration tests pass.

</details>

Closes #4488

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
2026-10-17 15:06:01 -07:00
Worktrunk Bot 7c265fc730 Note in wt switch docs that Alt is Option on macOS (#4483)
> _This was written by Codex on behalf of max-sixty_
2026-10-15 20:34:27 -07:00
dependabot[bot] 5814c92b2d chore: bump the docs-site group in /docs with 4 updates (#4444)
Bumps the docs-site group in /docs with 4 updates:
[@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark),
[@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight),
[astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) and
[playwright](https://github.com/microsoft/playwright).

Updates `@astrojs/markdown-remark` from 7.3.1 to 7.3.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/releases">@​astrojs/markdown-remark's
releases</a>.</em></p>
<blockquote>
<h2><code>@​astrojs/markdown-remark</code><a
href="https://github.com/7"><code>@​7</code></a>.3.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18099">#18099</a>
<a
href="https://github.com/withastro/astro/commit/69872618b7b7c915b2bd51a4b41e3a3e3116f3bb"><code>6987261</code></a>
Thanks <a
href="https://github.com/apps/renovate"><code>@​renovate</code></a>! -
Adds YAML parsing with timestamp and merge key support, and formats YAML
errors consistently across Astro, Markdown, MDX, and Markdoc.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18139">#18139</a>
<a
href="https://github.com/withastro/astro/commit/d047b5c23c273d993470258a84bf71852889c76e"><code>d047b5c</code></a>
Thanks <a
href="https://github.com/breken-ai"><code>@​breken-ai</code></a>! -
Fixes Markdown code blocks with languages ending in a symbol, such as
<code>c#</code>, <code>c++</code>, and <code>f#</code>, being
highlighted as <code>c</code> or <code>f</code></p>
</li>
<li>
<p>Updated dependencies [<a
href="https://github.com/withastro/astro/commit/69872618b7b7c915b2bd51a4b41e3a3e3116f3bb"><code>6987261</code></a>,
<a
href="https://github.com/withastro/astro/commit/62b13ba3e0068057a47fbfc2ab8842b263c68f0d"><code>62b13ba</code></a>]:</p>
<ul>
<li><code>@​astrojs/internal-helpers</code><a
href="https://github.com/0"><code>@​0</code></a>.12.0</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md">@​astrojs/markdown-remark's
changelog</a>.</em></p>
<blockquote>
<h2>7.3.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18099">#18099</a>
<a
href="https://github.com/withastro/astro/commit/69872618b7b7c915b2bd51a4b41e3a3e3116f3bb"><code>6987261</code></a>
Thanks <a
href="https://github.com/apps/renovate"><code>@​renovate</code></a>! -
Adds YAML parsing with timestamp and merge key support, and formats YAML
errors consistently across Astro, Markdown, MDX, and Markdoc.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18139">#18139</a>
<a
href="https://github.com/withastro/astro/commit/d047b5c23c273d993470258a84bf71852889c76e"><code>d047b5c</code></a>
Thanks <a
href="https://github.com/breken-ai"><code>@​breken-ai</code></a>! -
Fixes Markdown code blocks with languages ending in a symbol, such as
<code>c#</code>, <code>c++</code>, and <code>f#</code>, being
highlighted as <code>c</code> or <code>f</code></p>
</li>
<li>
<p>Updated dependencies [<a
href="https://github.com/withastro/astro/commit/69872618b7b7c915b2bd51a4b41e3a3e3116f3bb"><code>6987261</code></a>,
<a
href="https://github.com/withastro/astro/commit/62b13ba3e0068057a47fbfc2ab8842b263c68f0d"><code>62b13ba</code></a>]:</p>
<ul>
<li><code>@​astrojs/internal-helpers</code><a
href="https://github.com/0"><code>@​0</code></a>.12.0</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/withastro/astro/commit/e4f8f469e59ea4658eccea07b4674c83f0a07bbc"><code>e4f8f46</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark/issues/18120">#18120</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/d047b5c23c273d993470258a84bf71852889c76e"><code>d047b5c</code></a>
fix(markdown): keep trailing symbols in code block languages (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark/issues/18139">#18139</a>)</li>
<li>See full diff in <a
href="https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.3.2/packages/markdown/remark">compare
view</a></li>
</ul>
</details>
<br />

Updates `@astrojs/starlight` from 0.42.5 to 0.42.6
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/starlight/releases">@​astrojs/starlight's
releases</a>.</em></p>
<blockquote>
<h2><code>@​astrojs/starlight</code><a
href="https://github.com/0"><code>@​0</code></a>.42.6</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/starlight/pull/4252">#4252</a>
<a
href="https://github.com/withastro/starlight/commit/40a258492af4b2ee45159aa4a7ddb30c346acc0b"><code>40a2584</code></a>
Thanks <a
href="https://github.com/olafur-andri"><code>@​olafur-andri</code></a>!
- Adds Icelandic language support</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/starlight/pull/4229">#4229</a>
<a
href="https://github.com/withastro/starlight/commit/e4a3d82262d62677665cf2dd5ad9a1ba3ae2aa6a"><code>e4a3d82</code></a>
Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! -
Fixes a potential issue with icons being cut off in Firefox when
pinch-zooming.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/starlight/pull/4226">#4226</a>
<a
href="https://github.com/withastro/starlight/commit/fb562dddae97add7f5997c1f7fffd4f60c9f147c"><code>fb562dd</code></a>
Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! -
Fixes an issue where pages not importing components from
<code>@astrojs/starlight/components</code> included styles of Starlight
components used on other pages.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/starlight/pull/4250">#4250</a>
<a
href="https://github.com/withastro/starlight/commit/531af7deb7dd164e5b97a49223a82b146e575fdc"><code>531af7d</code></a>
Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! -
Fixes <code>Failed to resolve dependency</code> warnings logged when
running the development server in projects using the Cloudflare
adapter.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/starlight/pull/4229">#4229</a>
<a
href="https://github.com/withastro/starlight/commit/e4a3d82262d62677665cf2dd5ad9a1ba3ae2aa6a"><code>e4a3d82</code></a>
Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! -
Fixes the <code>codePen</code> and <code>node</code> icons slightly
extending beyond their bounding box.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md">@​astrojs/starlight's
changelog</a>.</em></p>
<blockquote>
<h2>0.42.6</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/starlight/pull/4252">#4252</a>
<a
href="https://github.com/withastro/starlight/commit/40a258492af4b2ee45159aa4a7ddb30c346acc0b"><code>40a2584</code></a>
Thanks <a
href="https://github.com/olafur-andri"><code>@​olafur-andri</code></a>!
- Adds Icelandic language support</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/starlight/pull/4229">#4229</a>
<a
href="https://github.com/withastro/starlight/commit/e4a3d82262d62677665cf2dd5ad9a1ba3ae2aa6a"><code>e4a3d82</code></a>
Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! -
Fixes a potential issue with icons being cut off in Firefox when
pinch-zooming.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/starlight/pull/4226">#4226</a>
<a
href="https://github.com/withastro/starlight/commit/fb562dddae97add7f5997c1f7fffd4f60c9f147c"><code>fb562dd</code></a>
Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! -
Fixes an issue where pages not importing components from
<code>@astrojs/starlight/components</code> included styles of Starlight
components used on other pages.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/starlight/pull/4250">#4250</a>
<a
href="https://github.com/withastro/starlight/commit/531af7deb7dd164e5b97a49223a82b146e575fdc"><code>531af7d</code></a>
Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! -
Fixes <code>Failed to resolve dependency</code> warnings logged when
running the development server in projects using the Cloudflare
adapter.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/starlight/pull/4229">#4229</a>
<a
href="https://github.com/withastro/starlight/commit/e4a3d82262d62677665cf2dd5ad9a1ba3ae2aa6a"><code>e4a3d82</code></a>
Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! -
Fixes the <code>codePen</code> and <code>node</code> icons slightly
extending beyond their bounding box.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/withastro/starlight/commit/afe57bbbc254b957b969d581d0f861925035bdcf"><code>afe57bb</code></a>
[ci] release (<a
href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4235">#4235</a>)</li>
<li><a
href="https://github.com/withastro/starlight/commit/40a258492af4b2ee45159aa4a7ddb30c346acc0b"><code>40a2584</code></a>
i18n(is): Add Icelandic UI translations (<a
href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4252">#4252</a>)</li>
<li><a
href="https://github.com/withastro/starlight/commit/531af7deb7dd164e5b97a49223a82b146e575fdc"><code>531af7d</code></a>
Fix dependency resolution warnings with the Cloudflare adapter (<a
href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4250">#4250</a>)</li>
<li><a
href="https://github.com/withastro/starlight/commit/e4a3d82262d62677665cf2dd5ad9a1ba3ae2aa6a"><code>e4a3d82</code></a>
Fix icons cut off when pinch-zooming in Firefox (<a
href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4229">#4229</a>)</li>
<li><a
href="https://github.com/withastro/starlight/commit/fb562dddae97add7f5997c1f7fffd4f60c9f147c"><code>fb562dd</code></a>
Fix components barrel file import in <code>\&lt;Footer&gt;</code> (<a
href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4226">#4226</a>)</li>
<li>See full diff in <a
href="https://github.com/withastro/starlight/commits/@astrojs/starlight@0.42.6/packages/starlight">compare
view</a></li>
</ul>
</details>
<br />

Updates `astro` from 7.3.5 to 7.3.8
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/releases">astro's
releases</a>.</em></p>
<blockquote>
<h2>astro@7.3.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18293">#18293</a>
<a
href="https://github.com/withastro/astro/commit/28e74103fe3d999a56ae3404b5fe67a1ad6d8013"><code>28e7410</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>Astro.cache</code> being <code>undefined</code> when a
custom 404 or 500 page is rendered by the error handler, for example
after a request to an API route with an HTTP method the route doesn't
export</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18298">#18298</a>
<a
href="https://github.com/withastro/astro/commit/0e9e85728999907127e817287dc0a0e3accdbe8e"><code>0e9e857</code></a>
Thanks <a
href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Fixes
<code>astro add</code> removing existing <code>allowBuilds</code>
approvals from <code>pnpm-workspace.yaml</code> with pnpm
v11.0–v11.22</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18263">#18263</a>
<a
href="https://github.com/withastro/astro/commit/882dd98cd9f11c4e7bd0b812d37f865dfca75d3d"><code>882dd98</code></a>
Thanks <a
href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>!
- Refactors internal bundling and code transforms to use Vite's
Oxc-based <code>transformWithOxc</code> and Rolldown instead of esbuild.
These packages no longer depend on esbuild directly.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18290">#18290</a>
<a
href="https://github.com/withastro/astro/commit/31f13c3710f2c128d3e1684100e44022a598ffcf"><code>31f13c3</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the <code>glob()</code> loader not reloading changed files in
dev when the pattern starts with an extglob such as
<code>!(drafts)/**/*.md</code></p>
</li>
</ul>
<h2>astro@7.3.7</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18266">#18266</a>
<a
href="https://github.com/withastro/astro/commit/cba76cc8200890186acf26444d473ebac0fc2623"><code>cba76cc</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes a build error when a Markdown content collection entry loaded
with <code>glob({ deferRender: true })</code> has a <code>layout</code>
frontmatter property. <code>layout</code> is now ignored for content
collection entries, as documented.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18287">#18287</a>
<a
href="https://github.com/withastro/astro/commit/38f6793291ea01a13cf4e51a83aeb16966a5a495"><code>38f6793</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>astro add cloudflare</code> failing to install
dependencies with pnpm v11+ by approving the <code>workerd</code> build
script, and shows the package manager's error output when <code>astro
add</code> fails to install dependencies</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18222">#18222</a>
<a
href="https://github.com/withastro/astro/commit/fcf6ed6d4915eed6c18a20658b73372d074c4832"><code>fcf6ed6</code></a>
Thanks <a
href="https://github.com/mingjunlu"><code>@​mingjunlu</code></a>! -
Fixes an issue where AVIF images were served as <code>image/heif</code>
instead of <code>image/avif</code> in the dev server.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18240">#18240</a>
<a
href="https://github.com/withastro/astro/commit/de4df060306ea4ad78db8438e06bc4640df60ef2"><code>de4df06</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the <code>cache()</code> handler from <code>astro/hono</code>
and <code>astro/fetch</code> throwing a <code>TypeError</code> when a
cache provider is configured. It now registers the cache provider before
rendering, so <code>Astro.cache</code> is available to downstream
handlers like <code>pages()</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18268">#18268</a>
<a
href="https://github.com/withastro/astro/commit/547b572c65238e20a2fc1b03f6a8a5700035abc0"><code>547b572</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>security.checkOrigin</code> rejecting cross-origin
requests with non-form content types such as
<code>application/json</code>. As documented, the check only applies to
unsafe requests that have no <code>content-type</code> header or one of
<code>application/x-www-form-urlencoded</code>,
<code>multipart/form-data</code>, or <code>text/plain</code>.</p>
</li>
</ul>
<h2>astro@7.3.6</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18166">#18166</a>
<a
href="https://github.com/withastro/astro/commit/5134d0f9e7478f23b1a590fa2416a2469c62ee23"><code>5134d0f</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes an intermittent dev server crash when using
<code>astro:actions</code> inside a server island with adapters that use
a pre-bundled SSR environment (e.g.
<code>@astrojs/cloudflare</code>)</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18076">#18076</a>
<a
href="https://github.com/withastro/astro/commit/8a2df6675aa62fea382bce1cdb30c4260e0f104b"><code>8a2df66</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes stale scoped styles during HMR when both markup and
<code>&lt;style&gt;</code> are changed in a single save</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18252">#18252</a>
<a
href="https://github.com/withastro/astro/commit/2d29e7e38db65fcca7f241c967417003e20ecf43"><code>2d29e7e</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes CSS from other pages leaking into a page's
<code>&lt;head&gt;</code> in dev when the page imports a module such as
<code>astro:config/server</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18000">#18000</a>
<a
href="https://github.com/withastro/astro/commit/67245751e02fb94223266d3c55cc7d7ac65ab060"><code>6724575</code></a>
Thanks <a
href="https://github.com/barclayd"><code>@​barclayd</code></a>! - Fixes
a bug where server islands containing framework components rendered
empty in the dev server when using a custom
<code>src/fetch.ts</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18241">#18241</a>
<a
href="https://github.com/withastro/astro/commit/7c5fd6f1faf4d87d0c9c5836ee47cc0d6d529ca3"><code>7c5fd6f</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the composable <code>i18n()</code> handler from
<code>astro/fetch</code> and <code>astro/hono</code> returning an empty
404 for paths without a locale prefix. It now renders the custom 404
page, matching <code>astro()</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18164">#18164</a>
<a
href="https://github.com/withastro/astro/commit/1a6997f280529650e4f1dacf0388e8fe07d05a1a"><code>1a6997f</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes CSS Module HMR in dev when a component is rendered both with and
without hydration on the same page. Astro now uses path-based class name
hashing in dev mode so that editing CSS declarations no longer changes
the generated selectors, allowing Vite's CSS HMR to update styles
without a full page reload.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18243">#18243</a>
<a
href="https://github.com/withastro/astro/commit/dd29d62b1e7bd071804f822e90361cf5c9784682"><code>dd29d62</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>context.props</code> being <code>null</code> in middleware
and endpoints when the composable <code>astro/hono</code> or
<code>astro/fetch</code> <code>actions()</code> handler runs before
<code>middleware()</code>, or when <code>pages()</code> runs without
<code>middleware()</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18193">#18193</a>
<a
href="https://github.com/withastro/astro/commit/95d5d16ce983612e09b588bb249f76d273c872f7"><code>95d5d16</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>astro build</code> failing on Windows with Node.js 25+
with <code>ERR_INVALID_ARG_VALUE</code> when clearing the output
directory hits a transient <code>EPERM</code> error</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18220">#18220</a>
<a
href="https://github.com/withastro/astro/commit/d6c13a48c682bb42da1eb295d520f9667035e1fb"><code>d6c13a4</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes type errors reported in Astro's built-in <code>&lt;Picture
/&gt;</code> and <code>&lt;Font /&gt;</code> components when
type-checking a project with <code>tsc</code> and
<code>@astrojs/ts-content-mapper</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18133">#18133</a>
<a
href="https://github.com/withastro/astro/commit/faac481dc86efdd2e4987069a7298f2aea3f1c6c"><code>faac481</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes lost request state when Vite discovers server dependencies
during a request in Cloudflare dev mode</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18146">#18146</a>
<a
href="https://github.com/withastro/astro/commit/2af45163fb7757a533bdf929874278e0a7483cfc"><code>2af4516</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes CSS imported from an <code>injectScript('page')</code> script
being dropped during build</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18159">#18159</a>
<a
href="https://github.com/withastro/astro/commit/e5f8fe0fcfd1c1845ae425cbf874864ce5ab5a37"><code>e5f8fe0</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes a hang when a <code>server:defer</code> component is inside a
slot of another component in an MDX content collection entry</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's
changelog</a>.</em></p>
<blockquote>
<h2>7.3.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18293">#18293</a>
<a
href="https://github.com/withastro/astro/commit/28e74103fe3d999a56ae3404b5fe67a1ad6d8013"><code>28e7410</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>Astro.cache</code> being <code>undefined</code> when a
custom 404 or 500 page is rendered by the error handler, for example
after a request to an API route with an HTTP method the route doesn't
export</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18298">#18298</a>
<a
href="https://github.com/withastro/astro/commit/0e9e85728999907127e817287dc0a0e3accdbe8e"><code>0e9e857</code></a>
Thanks <a
href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Fixes
<code>astro add</code> removing existing <code>allowBuilds</code>
approvals from <code>pnpm-workspace.yaml</code> with pnpm
v11.0–v11.22</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18263">#18263</a>
<a
href="https://github.com/withastro/astro/commit/882dd98cd9f11c4e7bd0b812d37f865dfca75d3d"><code>882dd98</code></a>
Thanks <a
href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>!
- Refactors internal bundling and code transforms to use Vite's
Oxc-based <code>transformWithOxc</code> and Rolldown instead of esbuild.
These packages no longer depend on esbuild directly.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18290">#18290</a>
<a
href="https://github.com/withastro/astro/commit/31f13c3710f2c128d3e1684100e44022a598ffcf"><code>31f13c3</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the <code>glob()</code> loader not reloading changed files in
dev when the pattern starts with an extglob such as
<code>!(drafts)/**/*.md</code></p>
</li>
</ul>
<h2>7.3.7</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18266">#18266</a>
<a
href="https://github.com/withastro/astro/commit/cba76cc8200890186acf26444d473ebac0fc2623"><code>cba76cc</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes a build error when a Markdown content collection entry loaded
with <code>glob({ deferRender: true })</code> has a <code>layout</code>
frontmatter property. <code>layout</code> is now ignored for content
collection entries, as documented.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18287">#18287</a>
<a
href="https://github.com/withastro/astro/commit/38f6793291ea01a13cf4e51a83aeb16966a5a495"><code>38f6793</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>astro add cloudflare</code> failing to install
dependencies with pnpm v11+ by approving the <code>workerd</code> build
script, and shows the package manager's error output when <code>astro
add</code> fails to install dependencies</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18222">#18222</a>
<a
href="https://github.com/withastro/astro/commit/fcf6ed6d4915eed6c18a20658b73372d074c4832"><code>fcf6ed6</code></a>
Thanks <a
href="https://github.com/mingjunlu"><code>@​mingjunlu</code></a>! -
Fixes an issue where AVIF images were served as <code>image/heif</code>
instead of <code>image/avif</code> in the dev server.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18240">#18240</a>
<a
href="https://github.com/withastro/astro/commit/de4df060306ea4ad78db8438e06bc4640df60ef2"><code>de4df06</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the <code>cache()</code> handler from <code>astro/hono</code>
and <code>astro/fetch</code> throwing a <code>TypeError</code> when a
cache provider is configured. It now registers the cache provider before
rendering, so <code>Astro.cache</code> is available to downstream
handlers like <code>pages()</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18268">#18268</a>
<a
href="https://github.com/withastro/astro/commit/547b572c65238e20a2fc1b03f6a8a5700035abc0"><code>547b572</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>security.checkOrigin</code> rejecting cross-origin
requests with non-form content types such as
<code>application/json</code>. As documented, the check only applies to
unsafe requests that have no <code>content-type</code> header or one of
<code>application/x-www-form-urlencoded</code>,
<code>multipart/form-data</code>, or <code>text/plain</code>.</p>
</li>
</ul>
<h2>7.3.6</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18166">#18166</a>
<a
href="https://github.com/withastro/astro/commit/5134d0f9e7478f23b1a590fa2416a2469c62ee23"><code>5134d0f</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes an intermittent dev server crash when using
<code>astro:actions</code> inside a server island with adapters that use
a pre-bundled SSR environment (e.g.
<code>@astrojs/cloudflare</code>)</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18076">#18076</a>
<a
href="https://github.com/withastro/astro/commit/8a2df6675aa62fea382bce1cdb30c4260e0f104b"><code>8a2df66</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes stale scoped styles during HMR when both markup and
<code>&lt;style&gt;</code> are changed in a single save</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18252">#18252</a>
<a
href="https://github.com/withastro/astro/commit/2d29e7e38db65fcca7f241c967417003e20ecf43"><code>2d29e7e</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes CSS from other pages leaking into a page's
<code>&lt;head&gt;</code> in dev when the page imports a module such as
<code>astro:config/server</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18000">#18000</a>
<a
href="https://github.com/withastro/astro/commit/67245751e02fb94223266d3c55cc7d7ac65ab060"><code>6724575</code></a>
Thanks <a
href="https://github.com/barclayd"><code>@​barclayd</code></a>! - Fixes
a bug where server islands containing framework components rendered
empty in the dev server when using a custom
<code>src/fetch.ts</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18241">#18241</a>
<a
href="https://github.com/withastro/astro/commit/7c5fd6f1faf4d87d0c9c5836ee47cc0d6d529ca3"><code>7c5fd6f</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes the composable <code>i18n()</code> handler from
<code>astro/fetch</code> and <code>astro/hono</code> returning an empty
404 for paths without a locale prefix. It now renders the custom 404
page, matching <code>astro()</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18164">#18164</a>
<a
href="https://github.com/withastro/astro/commit/1a6997f280529650e4f1dacf0388e8fe07d05a1a"><code>1a6997f</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes CSS Module HMR in dev when a component is rendered both with and
without hydration on the same page. Astro now uses path-based class name
hashing in dev mode so that editing CSS declarations no longer changes
the generated selectors, allowing Vite's CSS HMR to update styles
without a full page reload.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18243">#18243</a>
<a
href="https://github.com/withastro/astro/commit/dd29d62b1e7bd071804f822e90361cf5c9784682"><code>dd29d62</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>context.props</code> being <code>null</code> in middleware
and endpoints when the composable <code>astro/hono</code> or
<code>astro/fetch</code> <code>actions()</code> handler runs before
<code>middleware()</code>, or when <code>pages()</code> runs without
<code>middleware()</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18193">#18193</a>
<a
href="https://github.com/withastro/astro/commit/95d5d16ce983612e09b588bb249f76d273c872f7"><code>95d5d16</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes <code>astro build</code> failing on Windows with Node.js 25+
with <code>ERR_INVALID_ARG_VALUE</code> when clearing the output
directory hits a transient <code>EPERM</code> error</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18220">#18220</a>
<a
href="https://github.com/withastro/astro/commit/d6c13a48c682bb42da1eb295d520f9667035e1fb"><code>d6c13a4</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes type errors reported in Astro's built-in <code>&lt;Picture
/&gt;</code> and <code>&lt;Font /&gt;</code> components when
type-checking a project with <code>tsc</code> and
<code>@astrojs/ts-content-mapper</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/18133">#18133</a>
<a
href="https://github.com/withastro/astro/commit/faac481dc86efdd2e4987069a7298f2aea3f1c6c"><code>faac481</code></a>
Thanks <a
href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>!
- Fixes lost request state when Vite discovers server dependencies
during a request in Cloudflare dev mode</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/withastro/astro/commit/3571e2d2e80a66764254fa9b7750704a150ca3f6"><code>3571e2d</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18292">#18292</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/0e9e85728999907127e817287dc0a0e3accdbe8e"><code>0e9e857</code></a>
Keep existing pnpm allowBuilds approvals in astro add (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18298">#18298</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/882dd98cd9f11c4e7bd0b812d37f865dfca75d3d"><code>882dd98</code></a>
Replace esbuild with Vite and Rolldown APIs (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18263">#18263</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/28e74103fe3d999a56ae3404b5fe67a1ad6d8013"><code>28e7410</code></a>
fix(astro): provide Astro.cache when rendering error pages (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18293">#18293</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/31f13c3710f2c128d3e1684100e44022a598ffcf"><code>31f13c3</code></a>
Fix glob() loader watcher ignoring patterns starting with an extglob
like `!(...</li>
<li><a
href="https://github.com/withastro/astro/commit/25c19fa3ce8b5044efa246b7c2d1e50e8e8cffcf"><code>25c19fa</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18272">#18272</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/38f6793291ea01a13cf4e51a83aeb16966a5a495"><code>38f6793</code></a>
fix(astro): approve workerd builds in <code>astro add cloudflare</code>
for pnpm v11+ an...</li>
<li><a
href="https://github.com/withastro/astro/commit/547b572c65238e20a2fc1b03f6a8a5700035abc0"><code>547b572</code></a>
Restore content-type gate in security.checkOrigin so JSON requests are
not bl...</li>
<li><a
href="https://github.com/withastro/astro/commit/fcf6ed6d4915eed6c18a20658b73372d074c4832"><code>fcf6ed6</code></a>
fix(assets): return requested format from Sharp transform (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18222">#18222</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/bec7d186681597264814ade73bb365023c94d1bf"><code>bec7d18</code></a>
Ignore <code>layout</code> frontmatter in Markdown content collection
entries with `defe...</li>
<li>Additional commits viewable in <a
href="https://github.com/withastro/astro/commits/astro@7.3.8/packages/astro">compare
view</a></li>
</ul>
</details>
<br />

Updates `playwright` from 1.63.0 to 1.64.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/playwright/releases">playwright's
releases</a>.</em></p>
<blockquote>
<h2>v1.64.0</h2>
<h2>🧰 WebMCP</h2>
<p>New <a
href="https://playwright.dev/docs/api/class-page#page-webmcp">page.webmcp</a>
and <a
href="https://playwright.dev/docs/api/class-frame#frame-webmcp">frame.webmcp</a>
give access to the tools that a page registers through the experimental
<a href="https://playwright.dev/docs/api/class-webmcp">WebMCP</a>
browser API, so you can test them like any other part of your app:</p>
<pre lang="js"><code>const browser = await chromium.launch({ args:
['--enable-features=WebMCP'] });
const page = await browser.newPage();
await page.goto('https://example.com');
<p>for (const tool of await page.webmcp.tools())
console.log(tool.name, tool.description);</p>
<p>const result = await page.webmcp.callTool('add', { a: 2, b: 40 });
console.log(result.content[0].text); // &quot;42&quot;
</code></pre></p>
<p><a href="https://playwright.dev/docs/getting-started-mcp">Playwright
MCP</a> also supports WebMCP by default, with page-defined tools offered
to the agent as <code>webmcp_&lt;tool&gt;</code>. Pass
<code>--no-webmcp</code> to opt out.</p>
<p><a
href="https://playwright.dev/docs/getting-started-cli"><code>playwright-cli</code></a>
exposes them as well:</p>
<pre lang="bash"><code>playwright-cli webmcp-list
playwright-cli webmcp-call search_catalog --params
'{&quot;query&quot;:&quot;cats&quot;}'
</code></pre>
<h2>🎬 Better videos</h2>
<p>Videos can now be recorded at a custom frame rate, and the
decorations for actions are styled with plain CSS:</p>
<pre lang="js"><code>// playwright.config.ts
import { defineConfig } from '@playwright/test';
<p>export default defineConfig({
use: {
video: {
mode: 'on',
size: { width: 1920, height: 1080 },
fps: 60,
show: {
actions: {
style: {
point: 'width: 20px; height: 20px; border-radius: 50%; background: red',
highlight: 'outline: 2px solid <a
href="https://redirect.github.com/microsoft/playwright/issues/333">#333</a>;
background: rgba(0, 128, 255, .15)',
title: 'font-size: 16px',
},
},
},
},
&lt;/tr&gt;&lt;/table&gt;
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/playwright/commit/606ecd8b34bac100db32561b6278ffd76e5eb3cd"><code>606ecd8</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43192">#43192</a>):
fix(locators): parse locators the way the client API bui...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/e4f872c79530583300185d3e4aa9689e2f85d0b0"><code>e4f872c</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43188">#43188</a>):
feat(api): expose asLocatorDescription via LocalUtils fo...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/f6a439e6f496f75d8e8b687116eef8c21316aa1f"><code>f6a439e</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43189">#43189</a>):
docs(webmcp): expose WebMCP to all languages</li>
<li><a
href="https://github.com/microsoft/playwright/commit/e2335c30f16196a96f81c099598803ca74f9120c"><code>e2335c3</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43174">#43174</a>):
fix(mcp): do not close the browser twice when the client...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/d2a436e0111091ba99836fa6711de28201606cfc"><code>d2a436e</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43163">#43163</a>):
Revert &quot;fix(blob): do not remove existing reports from o...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/a0c4b5efc965577e19f5ebfdcc27f384d3058783"><code>a0c4b5e</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43175">#43175</a>):
feat(api): return language-specific locator code from re...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/3f7d535c7b69ff1997307dc304c3c8c76b51179d"><code>3f7d535</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43131">#43131</a>):
docs: fix broken C# samples in API docs and handles guide</li>
<li><a
href="https://github.com/microsoft/playwright/commit/1cde64f74a0f85304f2f4091a46670bf9a3e0dc3"><code>1cde64f</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43170">#43170</a>):
fix(locators): parse mixed role options</li>
<li><a
href="https://github.com/microsoft/playwright/commit/8851e7296508ae50cd1f822e50d1e4fa92eab218"><code>8851e72</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43171">#43171</a>):
fix(locators): parse JavaScript escapes and regex classes</li>
<li><a
href="https://github.com/microsoft/playwright/commit/dcc50654872510b630c73ec6eba1fb3d625c735e"><code>dcc5065</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/43172">#43172</a>):
fix(locator): parse within and getByRef locators</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/playwright/compare/v1.63.0...v1.64.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-13 13:20:01 -07:00
Worktrunk Botandworktrunk-bot 34eb6252db docs(config): name every supported forge and opencode in help text (#4439)
The help text for three features named only the original subset of what
the code supports. This updates the `after_long_help` sources and
regenerates the doc pages, skill mirrors, and help snapshots from them.

- **`wt config show --full`** said it checks whether `gh` or `glab` is
installed and authenticated. `render_diagnostics` in
`src/commands/config/show.rs` checks the CLI for the repository's forge,
which can also be `tea` (Gitea) or `az` (Azure DevOps). The text now
names all four.
- **First-run LLM offer** listed `claude` and `codex` as detected tools.
`detect_llm_tool_with` in `src/output/commit_generation.rs` also detects
`opencode`.
- **CI status** was described as "GitHub/GitLab" in the `wt config state
get` and `wt config state cache` help and in `wt list`'s Full mode
paragraph. CI status also covers Gitea and Azure DevOps
(`src/commands/list/ci_status/{gitea,azure}.rs`), so these now say
"forge CI".

No tests added: only help text changed. `test_docs_are_in_sync` and the
`help` snapshot tests pass locally.

---------

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
2026-10-13 13:19:17 -07:00
Worktrunk Bot 61b2609f18 docs: drop references to the removed gh auth status gate and CAS tail (#4468) 2026-10-13 08:42:38 -07:00
Maximilian RoosandClaude Opus 5.5 f98bd11816 fix(list): leave CI blank when the forge CLI isn't logged in (#4449)
Since #4436, any failed forge call shows ⚠. That includes a CLI that is
installed but not logged in, which then puts a permanent ⚠ in `wt list
--full`, the shell prompt, and the Claude Code statusline. This change
leaves the cell blank when the CLI holds no login for the forge's host,
and keeps ⚠ for a failure from a CLI that does (offline, rate limit,
expired token).

Each CLI answers from its own local state, so a lost connection never
reads as logged out:

- **GitHub**: `gh` exits with its documented code 4 when it has no login
for the host it resolved for the request. The backend reads that exit
code, so SSH host aliases resolve the way `gh` resolves them.
- **GitLab / Gitea / Azure DevOps**: after a failed call,
`remote_ref::is_authed_for(forge, host)` asks `glab config get token
--host`, `tea logins list --output json`, or `az account show`, for the
`forge.hostname` if configured, else the remote's host. The answer is
cached per forge and host for the process.

`wt config show --full` uses the same check for the repo's host and
names that host in its warning. It replaces `CiToolsStatus`, which
probed all four CLIs to report one, and asked `gh auth status` / `glab
auth status`, which contact the server and accept a login for any host.
`tea`'s host-agnostic `has_any_login` is gone with it.

Behavior changes:

- `wt list --full` / statusline: a CLI with no login for the host leaves
the CI cell blank instead of ⚠. The legend now lists that under blank,
and ⚠'s examples say "expired login".
- `wt config show --full`: a login for another host no longer counts,
and the warning says which host it checked (`gh installed but not
authenticated for github.com`).

Known limits: a GitLab or Gitea remote through an SSH host alias is
checked under the alias, so a failure there shows blank unless
`forge.hostname` names the real host; Azure DevOps counts only an `az
login`, not a PAT from `az devops login`.

Tests: the failed-list test now covers logged-in and logged-out cases
for `gh` (exit 1 vs 4) and `glab` (token vs none); the `tea` CI mocks
hold a login for the test host; the `tea` login-discovery test adds a
login for another host.

Follows #4436.

> _This was written by Claude Code on behalf of max-sixty_

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 10:51:02 -07:00
Maximilian RoosandClaude Opus 5.5 397136ea31 refactor: stop refining failed forge calls and missing nu/pwsh (#4436)
Applies `AGENTS.md`'s **Other Tools Own Their Conventions** (#4435) to
what #4106 left: where worktrunk refined how it handles a case outside
standard use, stop handling the case.

**CI status: a failed forge call shows the error indicator.** The
classifier that searched `gh`/`glab`/`az`/`tea` output for English
phrases ("rate limit", "403", "connection", …) to choose between ⚠ and a
blank "no CI" cell is deleted. Any failed call now shows ⚠. Gitea reads
only whether the HTTP status is an error, not which one. The two lookups
by commit SHA (GitHub check runs, Gitea combined status) now run only
when some remote-tracking ref contains the head, since the forge answers
a commit it doesn't have with an error and ordinary unpushed work would
otherwise show ⚠. GitLab and Azure look pipelines up by branch and are
unchanged.

**PowerShell on Unix.** When `pwsh` can't be queried there is no
PowerShell profile, rather than a guessed `~/.config/powershell` one
(left by #4422).

**Nushell.** When `nu` can't be queried there are no autoload
candidates, rather than a reconstruction of Nushell's data-dir rule.
Install can't write into a legacy directory, since the candidate list is
empty.

Behavior changes:

- `gh`/`glab`/`az` installed but not logged in now shows ⚠ under `wt
list --full` instead of a blank cell. Detection checks that the tool is
installed, and `wt config show` reports that it isn't logged in. The ⚠
legend now names "not logged in".
- A Gitea 404 shows ⚠.
- `wt config shell install powershell` (or `nu`) without the tool fails
with "No shell config files found", and uninstall no longer finds a
wrapper left behind after `nu` was removed.

**Fish's completion path.** `Shell::completion_path` answered for every
shell, but only fish installs a completion file; its other arms,
including the Nushell one this change touched, were dead.
`shell::fish_completion_path` replaces it.

Tests: the retriable-classifier unit tests are gone, and the Gitea test
that only distinguished a blanked 500 body. Mocks now answer for
branches other than the one under test, since those would otherwise show
⚠. New tests: a failed `gh pr list` / `glab mr list` shows ⚠; an
unpushed head skips the GitHub and Gitea lookups by SHA, each with a
pushed control. Shell unit tests and the PowerShell integration tests no
longer depend on a real `nu` or `pwsh`; they pass with only
`/usr/bin:/bin` on `PATH`. Full integration and unit suites pass
locally.

Ref #4106.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 00:18:19 -07:00
marcusjihansson 3c7cac7044 docs(extending): add wt-tui to the custom subcommand examples (#4386) 2026-10-11 09:35:47 -07:00
Worktrunk Bot 824bec6a14 docs(llm-commits): bump the OpenCode commit-generation model to Claude Haiku 5.5 (#4432) 2026-10-11 09:34:07 -07:00
Worktrunk Botandworktrunk-bot 59501986af fix: parse remote URLs with gix-url so IPv6 hosts and SSH ports get distinct project identifiers (#4421)
`GitRemoteUrl::parse` split SSH authorities at the first `:`, so
`ssh://git@[2001:db8::1]/owner/repo.git` and
`ssh://git@[2001:db8::2]/owner/repo.git` both became `[2001/owner/repo`.
Because that identifier selects both saved approvals and `[projects]`
settings, the two servers shared them. The parser also dropped explicit
SSH ports, merging servers on different ports. The parser now delegates
transport syntax to `gix-url` 0.40, and the identity keeps the full IPv6
host and any non-default SSH port.

What changes:

- **Syntax from `gix-url`.** It handles scheme, SCP form, userinfo
(split at the final `@` of the authority, which is the host git connects
to), IPv6 literals and ports. Worktrunk still owns the namespace/repo
split and the forge policy. HTTP(S), git and SSH remotes are accepted,
plus SCP when it has a non-empty user (the existing rule). Remote
helpers, `file://`, local paths, option-like hosts and out-of-range
ports are rejected.
- **Escaped paths.** The path comes from `original_path()`, not the
decoded `path`, so `evil%2Frepo` stays a single segment in SSH, SCP and
git forms, as it already did for HTTPS.
- **IPv6 hosts** are always bracketed (`[2001:db8::1]`), since `gix-url`
strips the brackets for SSH but keeps them for HTTP(S).
- **SSH ports.** A new `ssh_port` field goes into `project_identifier()`
(`host:2222/owner/repo`) but not into `host()`, which feeds web and API
URLs; an SSH port is not the web port. An explicit `:22` is treated as
no port. HTTP(S) and git keep their explicit port in `host()`, as
before.
- **No new identity API.** `project_identifier()` is still the only
identity; there is no separate one.

Approvals and settings: the ordinary forms of one project still share an
identifier (`git@host:o/r`, `ssh://git@host/o/r`,
`ssh://git@host:22/o/r`, `https://host/o/r`). Corrected identities get
fresh keys, so old IPv6-truncated or port-merged approvals don't carry
over. The same applies to `[projects]` settings: a user on
`ssh://…:2222` with a `[projects."host/o/r"]` entry needs to re-key it
to `host:2222/o/r`. Nothing warns about this. The config docs now say
that a non-default port stays with the host.

Smaller identifier changes from delegating normalization:

- DNS-style hostnames are lowercased (`GitHub.com` → `github.com`).
- `git+ssh://` and `ssh+git://` now parse; before, they fell back to the
raw-URL identifier.
- Some inputs `gix-url` rejects now fall back to the raw-URL identifier
in `Repository::project_identifier`: URLs containing whitespace, and SCP
`user@[ipv6]:path`. Each still gets a distinct identifier.

Tests:

- New unit tests cover the IPv6 collision, port isolation (including a
port inside hostile userinfo), escaped paths across transports, and
rejected forms.
- `tests/integration_tests/repository.rs` checks that
`Repository::project_identifier` keeps the two IPv6 remotes apart. It
also checks that `Approvals::is_command_approved` and
`UserConfig::worktree_path_for_project` pick the right entry for port
2222 versus the shared SSH/HTTPS identifier.
- The full lib and integration suites pass locally, except for tests
that bind Unix sockets or sign commits. Those fail the same way on
`main` in this sandbox.
- Binary size was not measured; the issue's ~84 KiB figure is a
standalone probe.

Closes #4418 — automated triage

---------

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
2026-10-11 03:26:02 -07:00
Worktrunk Bot 86674a2d1f feat(switch): add [switch.picker] preview setting to open the picker list-only (#4428) 2026-10-11 08:53:40 +00:00
Shuyun Yang 5b0930f09b Add branch-addressed merge with --branch (#4360) 2026-10-10 18:14:47 -07:00
Maximilian Roos c98f5f5028 docs(shell): make config shell help the setup home (#4344)
`wt config shell --help` provides setup, activation and current-shell
diagnostics. The generated config reference now includes the existing
init/install/uninstall help; the specialist shell-integration guide
links to those recipes while retaining installed-file locations,
warnings, wrapper internals and public anchors.

This consolidates the authored recipes and expands the reference. Of
+754/−183 lines across 11 files, +624 come from three generated
config-reference copies. Authored Rust help changes are +40/−12.

Latest main `913ff0547` is integrated, preserving Nushell’s newer 0.113+
requirement. Fresh documentation sync, Astro build and all 16 built-site
checks pass. The current candidate passed the full project gate: 5,196
tests passed and one skipped, with Clippy, formatting, lockfile and
doctest checks passing. The built binary’s help was reviewed at 80
columns.

> _This was written by Codex on behalf of max-sixty_
2026-10-10 18:02:30 -07:00
501d017274 refactor(config): read system config from one fixed path per platform (#4169)
System config is now read from one fixed path per platform, and
`XDG_CONFIG_DIRS` is no longer consulted. The location is
`WORKTRUNK_SYSTEM_CONFIG_PATH` when set, otherwise:

- macOS: `/Library/Application Support/worktrunk/config.toml`
- Windows: `%PROGRAMDATA%\worktrunk\config.toml`
- other Unix: `/etc/xdg/worktrunk/config.toml`

This PR started as a filter for relative `XDG_CONFIG_DIRS` entries
(#4106, item 4). Removing the search path removes that case without a
filter, and git's `--system` file is a fixed path for the same reason.
`system_config_path()` now returns the location whether or not the file
exists, so `default_system_config_path()`, which repeated the lookup
order for the `wt config show` hint, is deleted, along with
`system_config_dirs()`, `platform_default_dirs()`, the three
`XDG_CONFIG_DIRS` tests and the env-var docs row.

Behavior changes: directories listed in `XDG_CONFIG_DIRS` are no longer
searched (common values such as NixOS's, Ubuntu's and Flatpak's already
include `/etc/xdg`), and macOS no longer falls back to `/etc/xdg` after
`/Library/Application Support`.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
Co-authored-by: worktrunk-bot <worktrunk-bot@users.noreply.github.com>
Co-authored-by: Maximilian Roos <m@maxroos.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-10 17:17:53 -07:00
Maximilian Roos 7ac07ecf67 docs: require full release documentation review (#4412)
Require an independent review of every documentation change since the
previous release, including changes already on main and edits arriving
during release preparation. Review purpose and proportion before
clarity, accuracy, examples, links, and rendered context; verify
corrections and block tagging on unresolved findings.

Apply the 0.81.0 review's source corrections: remove implementation
exposition, repair the bare-repo navigation example, clarify merge hook
timing and branch-only removal JSON, and include squash backups in the
metadata inventory. Canonical help, generated pages, shipped skill
mirrors, and help snapshots remain synchronized. Candidate-only
release-note edits stay with the release PR.

Validation: independent source, workflow, and rendered-page reviews;
project pre-merge gate (5,208 tests, lint, Rustdoc, and doctests);
documentation sync, 56 help cases, both site builds, and 16 built-site
checks.

> _This was written by Codex on behalf of max-sixty_
2026-10-10 16:47:14 -07:00
Maximilian Roos 62b82ae923 Explain discarded changes and provide safe squash recovery (#4347)
Removing a dirty worktree recommends `git stash -u` when untracked files
need preserving. Forced removal lists the changes it will discard from a
fresh inventory after approved pre-remove hooks. An unreadable index
produces Git’s diagnostic and still permits forced removal; SIGINT and
SIGTERM cancel before deletion and stop the remaining batch through the
existing native cancellation path.

Squashing staged work prints the backup ref and a command to recover its
exact saved commit in a new worktree. Recovery preserves current
branches, staging, and unstaged or untracked files. Git continues to own
the backup and reflog.

Validated against main `913ff0547`: the required pre-merge gate passed
5,208 tests with one skipped, including forced-removal disclosure,
corrupt-index diagnostics, native cancellation, and executed recovery
commands. Formatting, Clippy, documentation sync and doctests pass.
Independent source/caller review found no remaining issues.

> _This was written by Codex on behalf of max-sixty_
2026-10-10 14:06:15 -07:00
dependabot[bot] 913ff0547b chore: bump sharp from 0.35.4 to 0.35.5 in /docs (#4392)
Bumps [sharp](https://github.com/lovell/sharp) from 0.35.4 to 0.35.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/lovell/sharp/releases">sharp's
releases</a>.</em></p>
<blockquote>
<h2>v0.35.5</h2>
<p><a
href="https://github.com/lovell/sharp-libvips/releases/tag/v1.3.4">https://github.com/lovell/sharp-libvips/releases/tag/v1.3.4</a></p>
<ul>
<li>
<p>Add upper bounds check on length of <code>linear</code> and GIF
<code>delay</code> arrays.</p>
</li>
<li>
<p>Improve error handing when WebAssembly fallback also fails.
<a href="https://redirect.github.com/lovell/sharp/pull/4593">#4593</a>
<a href="https://github.com/lazerg"><code>@​lazerg</code></a></p>
</li>
<li>
<p>TypeScript: Allow multi-frame options for JXL output.
<a href="https://redirect.github.com/lovell/sharp/pull/4602">#4602</a>
<a href="https://github.com/ramin-010"><code>@​ramin-010</code></a></p>
</li>
<li>
<p>TypeScript: Remove non-existent named export.
<a
href="https://redirect.github.com/lovell/sharp/issues/4604">#4604</a></p>
</li>
<li>
<p>Increase accepted dimensions when extending an image.
<a
href="https://redirect.github.com/lovell/sharp/issues/4605">#4605</a></p>
</li>
<li>
<p>Improve gain map support for <code>extract</code> and
<code>rotate</code> operations.
<a
href="https://redirect.github.com/lovell/sharp/issues/4606">#4606</a></p>
</li>
<li>
<p>Tests: Ensure composite tests pass on big endian platforms.
<a
href="https://redirect.github.com/lovell/sharp/issues/4609">#4609</a></p>
</li>
</ul>
<h2>v0.35.5-rc.1</h2>
<p><a
href="https://github.com/lovell/sharp-libvips/releases/tag/v1.3.4-rc.1">https://github.com/lovell/sharp-libvips/releases/tag/v1.3.4-rc.1</a></p>
<ul>
<li>
<p>Add upper bounds check on length of <code>linear</code> and GIF
<code>delay</code> arrays.</p>
</li>
<li>
<p>Improve error handing when WebAssembly fallback also fails.
<a href="https://redirect.github.com/lovell/sharp/pull/4593">#4593</a>
<a href="https://github.com/lazerg"><code>@​lazerg</code></a></p>
</li>
<li>
<p>TypeScript: Allow multi-frame options for JXL output.
<a href="https://redirect.github.com/lovell/sharp/pull/4602">#4602</a>
<a href="https://github.com/ramin-010"><code>@​ramin-010</code></a></p>
</li>
<li>
<p>TypeScript: Remove non-existent named export.
<a
href="https://redirect.github.com/lovell/sharp/issues/4604">#4604</a></p>
</li>
<li>
<p>Increase accepted dimensions when extending an image.
<a
href="https://redirect.github.com/lovell/sharp/issues/4605">#4605</a></p>
</li>
<li>
<p>Improve gain map support for <code>extract</code> operation.
<a
href="https://redirect.github.com/lovell/sharp/issues/4606">#4606</a></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/lovell/sharp/commit/51a990faa26ade5586a4934ac9673c98d8893326"><code>51a990f</code></a>
Release v0.35.5</li>
<li><a
href="https://github.com/lovell/sharp/commit/96de105d9d36ab04c76c2b78b97255171630d236"><code>96de105</code></a>
Upgrade to sharp-libvips v1.3.4</li>
<li><a
href="https://github.com/lovell/sharp/commit/3a61390260e0aa017046af9ad107abd62f3c98c0"><code>3a61390</code></a>
CI: Configure Dependabot with all package.json locations</li>
<li><a
href="https://github.com/lovell/sharp/commit/4940c500a63a9193b1ad5d3804a2d241ca36995b"><code>4940c50</code></a>
Improve gain map support for rotate/flip/flop ops</li>
<li><a
href="https://github.com/lovell/sharp/commit/20654aa60eaa85a37369ef69a7ca6506b65f8c85"><code>20654aa</code></a>
Prerelease v0.35.5-rc.1</li>
<li><a
href="https://github.com/lovell/sharp/commit/ef4f9348a97053ceddacd23dcb6e39cce5a1fc7d"><code>ef4f934</code></a>
CI: Upgrade to Ubuntu 26.04</li>
<li><a
href="https://github.com/lovell/sharp/commit/358df954c5f58487392e1a9af743e112e8998d67"><code>358df95</code></a>
Upgrade to libvips v8.18.7</li>
<li><a
href="https://github.com/lovell/sharp/commit/49f4903d34eddcd68b79872c511c198f124885a3"><code>49f4903</code></a>
Improve gain map support for rotate-then-extract <a
href="https://redirect.github.com/lovell/sharp/issues/4606">#4606</a></li>
<li><a
href="https://github.com/lovell/sharp/commit/0e2e55eb3a44da5d602adedd6b51a03e652e3b20"><code>0e2e55e</code></a>
Silence a couple of compiler/static analysis warnings</li>
<li><a
href="https://github.com/lovell/sharp/commit/cef3b8c467c21f7e84bd51d5e53f2d115669f8d8"><code>cef3b8c</code></a>
Improve gain map support for extract operation <a
href="https://redirect.github.com/lovell/sharp/issues/4606">#4606</a></li>
<li>Additional commits viewable in <a
href="https://github.com/lovell/sharp/compare/v0.35.4...v0.35.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sharp&package-manager=npm_and_yarn&previous-version=0.35.4&new-version=0.35.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/max-sixty/worktrunk/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-10 11:52:00 -07:00
Worktrunk Botandworktrunk-bot 8ad92229a3 fix(demos): pass the build target to parallel demo recordings (#4407)
`docs/demos/build` recorded the wrong output whenever it took its
parallel path, which it does for any run with more than one non-TUI demo
unless `--sequential` is passed. #4178 added a positional `target`
parameter to `record_demo`, but only the sequential call site was
updated. The `executor.submit(...)` call still passed `args.text` and
`args.snapshot` in the old positions, so:

- `./build docs --snapshot` wrote `.txt` text output instead of updating
`docs/demos/snapshots/*.snap`, because `snapshot_mode` was always
`False`.
- `./build docs --text` recorded GIFs.
- A plain GIF run passed `target=False` to checkpoint validation.

The parallel call now passes `target`. Both call sites pass `text_mode=`
and `snapshot_mode=` by keyword, so the next positional parameter can't
shift them.

There's no regression test: the script drives VHS and has no test
harness in this repo. The sequential call site, which already passed
`target`, shows the intended argument order. I checked the edit by
parsing the script; it hasn't been run end to end.

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
2026-10-10 11:50:46 -07:00
Maximilian Roos cd6732e93a fix: preserve native foreground job control (#4400)
Foreground hooks could hang when they changed terminal settings:
Worktrunk created a separate process group without giving it the
terminal, so the kernel stopped the child with SIGTTOU. Foreground
commands now stay in the caller's native job group, consistently for
single and concurrent commands. Terminal access, Ctrl-C and job
suspension follow the shell's native behavior.

### Design

- `signal_forwarder` owns foreground cancellation and child admission.
Native SIGINT/SIGTERM deaths stop later hooks and worktree steps; a
child that catches Ctrl-C keeps its ordinary exit semantics, including
exit code 130. SIGTERM addressed to wt cancels its owned work even when
a child catches it.
- `shell_exec` and concurrent output share that lifecycle. Output drains
stop on cancellation; complete buffered stdin uses an anonymous
temporary file instead of writer threads. Real process pipelines remain
pipes. Buffered stdin therefore requires temporary storage and is
seekable.
- Help and preview pagers use Git's pager selection and the same process
primitives. Interactive pager cancellation propagates silently, and
preview deadlines cover output and child waits.
- Shell wrappers apply directory directives and clean temporary files
while preserving native interrupt behavior. Nushell integration now
requires 0.113 or newer and uses native `finally` cleanup.

Nushell 0.116's `finally` itself can abort a noninteractive script after
Ctrl-C even when the child catches it and exits successfully.
Worktrunk's directory change and cleanup still complete; the same
script-continuation difference reproduces in a minimal Nushell
`try/finally` without Worktrunk.

Bash applies aborted-line cleanup through a writable `PROMPT_COMMAND`.
With a readonly prompt command or `set -a`, it applies ordinary cleanup
while preserving that configuration; Ctrl-C can leave the pending
directory directive unapplied.

The main behavioral coverage uses real children and PTYs: terminal
ownership/settings, raw and caught Ctrl-C, PID-targeted cancellation,
stopped jobs, concurrent output, pagers, and generated shell wrappers.
Module contracts describe ownership and platform differences.

### Validation

The complete project pre-merge gate passes locally, including the
real-shell/PTY suite, Clippy, formatting, locked dependencies, and
documentation checks. The change also received an independent Opus
correctness and simplicity review, with fixes reviewed through
convergence. macOS runtime validation is local; Linux and Windows run in
CI.

Closes #4389. Thanks to @user753 for the reproduction.

> _This was written by Codex on behalf of max-sixty_
2026-10-08 16:31:37 -07:00
Worktrunk Bot e4a25d6e37 feat(hooks)!: connect foreground hooks to the terminal (#3129) 2026-10-07 01:14:05 -07:00
Worktrunk Botandworktrunk-bot cd5d51dbd5 test(docs): serve a local stand-in for the shields.io badge in browser tests (#4383)
`publish-docs` [run
37425036753](https://github.com/max-sixty/worktrunk/actions/runs/37425036753)
failed on `desktop code examples fit the content column` with
`page.goto: Timeout 30000ms exceeded ... waiting until "load"` on `/`.
That timeout is a side effect of #4382, which switched every
browser-test navigation from `domcontentloaded` to `load`. Every page
header loads the GitHub-stars badge from `img.shields.io`
([`SocialIcons.astro`](https://github.com/max-sixty/worktrunk/blob/220e59ef641ad34d770143959ed103e541275264/docs/src/components/SocialIcons.astro#L8)),
so `load` now also waits on that third-party host. One slow badge
response stalls the navigation.

**Fix.** A `newPage` helper in `docs/tests/browser-site.test.mjs` routes
`https://img.shields.io/**` to a local SVG sized to the badge's declared
90×20, and all five page-creation sites use it. That leaves the local
server and the Google web fonts as the only things `load` waits for. The
fonts have to stay real, because the layout assertions measure text set
in JetBrains Mono. Analytics doesn't load on `127.0.0.1` (it's gated on
`hostname === 'worktrunk.dev'`), and the docs content has no other
remote images.

**Verification.** I ran a local Chromium probe against the built site,
routing the badge to a request that never answers:
- With the stalled badge, `page.goto(..., { waitUntil: 'load' })` times
out, which is the same failure as in CI.
- With the stand-in, `/` loads in about 200 ms. The JetBrains Mono faces
in use report `loaded` after `fonts.ready`, and the badge renders at
90×20.

I couldn't run the WebKit suite locally because it needs sudo-installed
system libraries. This PR's `check-docs` job runs it.

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
2026-10-06 00:14:19 -07:00
Worktrunk Botandworktrunk-bot dc97142974 test(docs): wait for web fonts before browser layout checks (#4382)
The `link-check` job on [nightly run
37414713723](https://github.com/max-sixty/worktrunk/actions/runs/37414713723)
failed `desktop code examples fit the content column` with
`/claude-code/ wt list scrolls horizontally at 1401px`. The docs content
at that commit is identical to `3e233ef26`, where `publish-docs` ran the
same suite green a few hours earlier, so this was a race in the test
rather than a site regression.

**Cause.** The browser tests measure layout right after
`DOMContentLoaded`. At that point the JetBrains Mono faces, which
`custom.css` loads from Google Fonts with `display=swap`, are still
`loading`, so code renders in the fallback monospace face. Since #4214,
the content column is sized for exactly 99 columns of JetBrains Mono
(0.6em, or 8.4px at 14px). On the Ubuntu runner the fallback is DejaVu
Sans Mono at about 8.43px, roughly 2.8px wider across 99 columns. That
is more than the test's 1px tolerance, so the result depends on whether
the font swap has happened by the time the test measures.

**Fix.** All test navigations now go through an `openPage` helper that
waits for `load` and then `document.fonts.ready`, so every layout
assertion measures the settled page. The helper covers every call site
because the mobile, copy-button, and contrast tests take the same
unsettled measurement.

**Verification.** In a local Chromium probe of the built site:
- At `DOMContentLoaded`, the JetBrains Mono faces report `loading`, and
the `wt list` block measures the same as it does with Google Fonts
blocked.
- After `load` plus `fonts.ready`, the faces report `loaded`.

I couldn't run WebKit here because it needs system libraries that
require sudo. Chromium's headless shell rounds glyph advances to whole
pixels, so its geometry numbers don't stand in for WebKit's. This PR's
`check-docs` job runs the WebKit suite and is the real check.

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
2026-10-05 23:40:09 -07:00
dependabot[bot] 3e233ef266 chore: bump smol-toml from 1.8.0 to 1.9.0 in /docs (#4379)
Bumps [smol-toml](https://github.com/squirrelchat/smol-toml) from 1.8.0
to 1.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/squirrelchat/smol-toml/releases">smol-toml's
releases</a>.</em></p>
<blockquote>
<h2>v1.9.0</h2>
<p><strong>Huge update</strong>!!! This is most likely the largest
update the library received since its release, with lots of new features
and improvements.</p>
<h3>Performance improvements</h3>
<p>Significant parts of the internal parse logic have been rewritten,
improving performance by <strong>1.5x-2x</strong>. The library was
already comfortably ahead of the others, but it is now faster than ever,
sitting at <strong>4x faster parse performance</strong> than the closest
maintained implementation.</p>
<p>Problematic code paths have also been replaced by safer
implementations, solving potential DoS vectors. See
GHSA-r4xh-jqrq-34v2.</p>
<p>Note: the objects returned by the library now have a <em>null
prototype</em>. This is a transparent change for 99.9% of users, and is
one of the most significant contributors to the major performance gains
in this version.</p>
<h3>Full Temporal support</h3>
<p>Version 1.8.0 brought support for Temporal in <code>stringify</code>;
now the library is also able to emit Temporal objects instead of its own
ad-hoc <code>TomlDate</code> object. It is not enabled by default, but
it will become the default in v2. Enable by setting <code>useLegacyDate:
false</code> in the parser's options.</p>
<h4>Better Temporal support in stringify</h4>
<p>Temporal support has been improved since it released: Temporal
objects that cannot be represented (such as
<code>Temporal.PlainMonthDay</code>) now throw an error (instead of
silently emitting a bogus object).</p>
<p>A new option has been added to <code>stringify</code> to disallow
Temporal objects that cannot be fully represented in TOML. This includes
<code>ZonedDateTime</code> objects with a IANA timezone attached instead
of a plain offset, and dates with a specific calendar value set. Enable
by setting <code>strictTemporal: true</code> in the options.</p>
<h3>Handling of unsafe keys</h3>
<p>Since its release the library has been protected against prototype
pollution attacks, setting properties like <code>__proto__</code> using
safe mechanisms that do not trigger prototype pollution. However, while
the returned objects are safe on their own, they may become problematic
if used carelessly.</p>
<p>Inspired by <code>secure-json-parse</code>, the library now offers a
way to either drop unsafe properties from the returned object, or to
throw an error and reject documents altogether. By default, these
potentially unsafe keys are preserved and returned.</p>
<h3>Miscellaneous updates</h3>
<ul>
<li>Unicode BOM is now gracefully accepted and ignored.</li>
<li>Table array headers are now properly checked again. Reported in <a
href="https://redirect.github.com/squirrelchat/smol-toml/issues/65">#65</a>.</li>
<li>Closed certain gaps where invalid whitespace would be accepted.
Reported in <a
href="https://redirect.github.com/squirrelchat/smol-toml/issues/61">#61</a>.</li>
<li>Bogus local date and local time values with a UTC offset are no
longer accepted.</li>
<li>Certain error messages are more accurate and handle errors at line
boundaries better.</li>
<li>The default export of the lib is now formally deprecated; use a
<code>import *</code> instead. Proposed in <a
href="https://redirect.github.com/squirrelchat/smol-toml/issues/50">#50</a>.</li>
<li>On Node 20+, strings that contain lone surrogates are now normalised
to well-formed strings.</li>
<li>On Node 20+, keys that contain lone surrogates are now
rejected.</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/squirrelchat/smol-toml/compare/v1.8.0...v1.9.0">https://github.com/squirrelchat/smol-toml/compare/v1.8.0...v1.9.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/squirrelchat/smol-toml/commit/6f9739a5ab481f57c3112024bc4947534b580b58"><code>6f9739a</code></a>
fix: gate <code>[is|to]WellFormed</code> (Node 18 compat)</li>
<li><a
href="https://github.com/squirrelchat/smol-toml/commit/a73ca32c7c9237f744c880d900ad15307a0cef56"><code>a73ca32</code></a>
fix: no Temporal with toml-test when Node &lt; 26</li>
<li><a
href="https://github.com/squirrelchat/smol-toml/commit/7727890604580bd3fc2d7d2f79ad6e67b745ebe7"><code>7727890</code></a>
chore: version bump</li>
<li><a
href="https://github.com/squirrelchat/smol-toml/commit/641903d60d47900080602b6a83e919d2a526547f"><code>641903d</code></a>
chore: rewrite README.md</li>
<li><a
href="https://github.com/squirrelchat/smol-toml/commit/2df14c57945fec5a3737bc0cdce06a436bf9a77e"><code>2df14c5</code></a>
fix(types): make it work if Temporal doesn't exist</li>
<li><a
href="https://github.com/squirrelchat/smol-toml/commit/3eaa44ef54b859990969935664b12023b26d0eae"><code>3eaa44e</code></a>
chore: update benchmark harness</li>
<li><a
href="https://github.com/squirrelchat/smol-toml/commit/cd3ba6021a59bff0ac57dc059ca2e194365caedd"><code>cd3ba60</code></a>
feat: safety option for dangerous properties</li>
<li><a
href="https://github.com/squirrelchat/smol-toml/commit/6746a7f3ec066109ef8ba69126489fd84b6d3b73"><code>6746a7f</code></a>
perf: refactor TomlDate to avoid regex path</li>
<li><a
href="https://github.com/squirrelchat/smol-toml/commit/16fa64fc5efad895e8657d70e5a1855a16f58ace"><code>16fa64f</code></a>
chore: move benchmarks and test harness under 0BSD</li>
<li><a
href="https://github.com/squirrelchat/smol-toml/commit/bbd14b154b603068ad25ad54b4a3e7f53adeedc0"><code>bbd14b1</code></a>
fix: correct sign for single-char numbers</li>
<li>Additional commits viewable in <a
href="https://github.com/squirrelchat/smol-toml/compare/v1.8.0...v1.9.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=smol-toml&package-manager=npm_and_yarn&previous-version=1.8.0&new-version=1.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/max-sixty/worktrunk/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-05 17:54:27 -07:00
dependabot[bot] 40abc9d741 chore: bump source-map-js from 1.2.1 to 1.2.2 in /docs (#4378)
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from
1.2.1 to 1.2.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/7rulnik/source-map-js/releases">source-map-js's
releases</a>.</em></p>
<blockquote>
<h2>v1.2.2</h2>
<ul>
<li>
<p>Fix crash when executing in browser with CSP script-src that don't
permit unsafe-eval (<a
href="https://redirect.github.com/7rulnik/source-map-js/pull/29">#29</a>)
<a href="https://github.com/xfournet"><code>@​xfournet</code></a></p>
</li>
<li>
<p>Fix denial of service from malicious indexed source maps
(CVE-2026-93749) (<a
href="https://redirect.github.com/7rulnik/source-map-js/pull/79">#79</a>)</p>
<p>Reported by <a
href="https://github.com/waydeshi"><code>@​waydeshi</code></a> in <a
href="https://redirect.github.com/7rulnik/source-map-js/issues/76">#76</a>.
A fix was also proposed by <a
href="https://github.com/aniebiet"><code>@​aniebiet</code></a> in <a
href="https://redirect.github.com/7rulnik/source-map-js/pull/78">#78</a>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md">source-map-js's
changelog</a>.</em></p>
<blockquote>
<h2>1.2.2</h2>
<ul>
<li>
<p>Fix crash when executing in browser with CSP script-src that don't
permit unsafe-eval (<a
href="https://redirect.github.com/7rulnik/source-map-js/pull/29">#29</a>)
<a href="https://github.com/xfournet"><code>@​xfournet</code></a></p>
</li>
<li>
<p>Fix denial of service from malicious indexed source maps
(CVE-2026-93749) (<a
href="https://redirect.github.com/7rulnik/source-map-js/pull/79">#79</a>)</p>
<p>Reported by <a
href="https://github.com/waydeshi"><code>@​waydeshi</code></a> in <a
href="https://redirect.github.com/7rulnik/source-map-js/issues/76">#76</a>.
A fix was also proposed by <a
href="https://github.com/aniebiet"><code>@​aniebiet</code></a> in <a
href="https://redirect.github.com/7rulnik/source-map-js/pull/78">#78</a>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/7rulnik/source-map-js/commit/0a1d334fd1e55a47df97fcd60a7915d46df3b08a"><code>0a1d334</code></a>
1.2.2</li>
<li><a
href="https://github.com/7rulnik/source-map-js/commit/4c6fa26d77419bd8e48ec92844866cce7d9ae739"><code>4c6fa26</code></a>
Update changelog</li>
<li><a
href="https://github.com/7rulnik/source-map-js/commit/cf7658058ceeaa8619d5ae0ec90be6905209d016"><code>cf76580</code></a>
Fix denial of service from malicious indexed source maps
(CVE-2026-93749) (<a
href="https://redirect.github.com/7rulnik/source-map-js/issues/79">#79</a>)</li>
<li><a
href="https://github.com/7rulnik/source-map-js/commit/7899a86615c630f4fc220273ff9fe2e8e49a56df"><code>7899a86</code></a>
Fix crash when executing browser with CSP script-src that don't permit
unsafe...</li>
<li>See full diff in <a
href="https://github.com/7rulnik/source-map-js/compare/v1.2.1...v1.2.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=source-map-js&package-manager=npm_and_yarn&previous-version=1.2.1&new-version=1.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/max-sixty/worktrunk/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-05 17:39:24 -07:00
dependabot[bot] c2f58e27a7 chore: bump @astrojs/starlight from 0.42.4 to 0.42.5 in /docs in the docs-site group (#4373)
Bumps the docs-site group in /docs with 1 update:
[@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight).

Updates `@astrojs/starlight` from 0.42.4 to 0.42.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/starlight/releases">@​astrojs/starlight's
releases</a>.</em></p>
<blockquote>
<h2><code>@​astrojs/starlight</code><a
href="https://github.com/0"><code>@​0</code></a>.42.5</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/withastro/starlight/pull/4227">#4227</a>
<a
href="https://github.com/withastro/starlight/commit/5ba7a70ad491ed8b5fc7033558dcc5428112cf97"><code>5ba7a70</code></a>
Thanks <a href="https://github.com/I90rche"><code>@​I90rche</code></a>!
- Adds Macedonian language support</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md">@​astrojs/starlight's
changelog</a>.</em></p>
<blockquote>
<h2>0.42.5</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/withastro/starlight/pull/4227">#4227</a>
<a
href="https://github.com/withastro/starlight/commit/5ba7a70ad491ed8b5fc7033558dcc5428112cf97"><code>5ba7a70</code></a>
Thanks <a href="https://github.com/I90rche"><code>@​I90rche</code></a>!
- Adds Macedonian language support</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/withastro/starlight/commit/b8b654ccf618d876552f8d72d3fbe75f996aaf43"><code>b8b654c</code></a>
[ci] release (<a
href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4233">#4233</a>)</li>
<li><a
href="https://github.com/withastro/starlight/commit/5ba7a70ad491ed8b5fc7033558dcc5428112cf97"><code>5ba7a70</code></a>
i18n(mk): Add Macedonian UI translations (<a
href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4227">#4227</a>)</li>
<li>See full diff in <a
href="https://github.com/withastro/starlight/commits/@astrojs/starlight@0.42.5/packages/starlight">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@astrojs/starlight&package-manager=npm_and_yarn&previous-version=0.42.4&new-version=0.42.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-05 17:12:35 -07:00
Worktrunk Botandworktrunk-bot 54fa4a0b9a docs(config): correct stale examples and lists in wt config help (#4363)
Fixes four pieces of `wt config` help text that no longer match
behavior. The most user-visible is the `wt config state vars clear`
example labelled "Clear all keys for a specific branch", which ran
`clear env --branch=feature` and so cleared only the `env` key; it now
shows `--all --branch=feature`.

The other three are lists that missed newer behavior:

- **`wt config plugins`** described the Codex plugin as "Worktrunk
configuration skill" only. It also installs activity-marker hooks
([`.codex-plugin/plugin.json`](https://github.com/max-sixty/worktrunk/blob/main/plugins/worktrunk/.codex-plugin/plugin.json)),
as the `wt config plugins codex` help already says.
- **`wt config state marker`** said only the Claude Code plugin sets
markers automatically. The Codex, OpenCode, Pi and oh-my-pi plugins do
too.
- **`wt config state logs`** listed the background post-hooks as
post-start, post-switch, post-commit and post-merge. post-remove also
runs in the background through `register_planned` in
`src/output/handlers.rs` and logs under the removed branch's subtree.

The generated docs mirrors and the three affected help snapshots are
regenerated (`test_docs_are_in_sync`, `help` tests pass locally). I ran
the new example against a branch with no vars, and it parses and runs.
This is a docs-only change, so there's no regression test.

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
2026-10-04 02:07:50 -07:00
Worktrunk Botandworktrunk-bot 64ead5388a docs(list): drop the stale-branch and dirty-tree skips from JSON help (#4359)
`wt list --help` (and the generated `list.md` pages, skill mirrors, and
`list-v2.json` schema) explains `·`, JSON `null`, and
`default_branch.integration` in ways the collector no longer matches.
This corrects three claims. No behavior changes.

- **"branch too stale" for `·` and `null`.** #2098 removed the
stale-branch skip (`stale_branches`), and nothing in
`src/commands/list/collect/` skips tasks by branch age now. The
remaining sources of `null` are a timeout, a skipped probe (column plan
or unborn branch), or a failed forge fetch.
- **`integration` "null when a dirty tree skipped the checks".** Dirty
trees don't skip the probes. They run on the committed HEAD either way,
as `json_default_branch` says and
`test_integration_positive_match_ignores_cleanliness` pins with a dirty
`trees_match` result. A dirty integrated branch reports its reason, not
`null`.
- **"every reason renders as the same `⊂`".** `"same_commit"` renders as
`_` (or `–` with uncommitted changes), per
`IntegrationReason::SameCommit` and the Default-branch symbol table in
the same help page. `⊂` also needs a clean tree.

The same commit updates the `JsonDefaultBranch::integration` docstring,
which generates the published schema description, and four internal
comments in `collect/execution.rs` that still listed the stale-branch
skip.

No test is added because this changes only prose. Help snapshots and doc
mirrors are regenerated, and `test_docs_are_in_sync` passes.

---------

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
2026-10-03 00:45:29 -07:00
Maximilian Roos e505d33f25 docs: remove incidental details from public documentation (#4355)
Remove incidental details accumulated in recent public documentation: an
unnamed-machine disk-use anecdote, internal Codex and aichat
explanations, and redundant repair and edge-case narratives. Keep the
working setup recipes, hook contracts, and JSON field definitions.

Remove the unusable shared-skill footnote while preserving the
capability table, and shorten prune's age explanation while retaining
the effect of Git maintenance on older branches without reflogs.
Regenerate command pages, skill mirrors, the config example, and help
snapshots from their authored sources.

Validation: the full pre-merge gate passes (5,048 tests, lint, lockfile,
doctests, and Rust documentation), along with the documentation site
build. The complete diff was independently reviewed.

> _This was written by Codex on behalf of max-sixty_
2026-10-02 22:41:11 -07:00
Maximilian Roos 27d12e0afa Retain valid environment overrides when another setting is invalid (#4348)
One invalid environment override currently discards the entire
environment layer. Validate each independent setting against the same
file configuration, retaining valid overrides and attributing warnings
only to rejected settings.

Custom-column fields form one setting, including project-scoped columns,
so a required template and its integer width are accepted together.
Deprecated names migrate before type selection. Valid environment values
can repair an empty worktree path while unrelated invalid overrides are
rejected. Typed validation issues identify their setting paths, and the
loader preserves the current structured config diagnostics.

Validation: the required pre-merge gate passed 5,058 tests with one
skipped, plus lint, doctests, and documentation generation. Real CLI
regressions cover merged system/user layers, mixed valid/invalid
overrides, lower-layer repairs, and project-scoped compound settings.
Documentation sync passes.

> _This was written by Codex on behalf of max-sixty_
2026-10-02 20:44:03 -07:00