Repository navigation
Bump dependencies; tighten tooling, hooks, and fonts - #32
Merged
Merged
Conversation
npm: every package to its latest release past the 7-day release-age gate, except TypeScript, which stays on 6.x while @astrojs/check peers ^5 || ^6. mise: node 26.13.0, pnpm 12.17.0, hk 2.11.0 (hk.pkl's package URLs follow), agent-browser 0.41.1. CI: jdx/mise-action v5 with mise 2026.10.25, actions/upload-artifact v7. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LCXQj7eMWTgjvNoZTvCaLT
…ions The Claude Code hooks call hk through `mise x`, since hooks run in a plain `sh` where mise may not be activated. The end-of-turn hook is now hk's own `hk agent stop-hook` with the slow profile; the custom steps declare their command effects so `--safe` accepts them. A SessionStart hook, in cloud sessions only, runs `mise install --locked` and `pnpm install` and exports mise's environment to later shell commands. `pnpm dev` sets ASTRO_DEV_BACKGROUND=0: Astro 7 detaches into the background when an agent runs it, and that exit stopped wrangler. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LCXQj7eMWTgjvNoZTvCaLT
- eslint-plugin-jsx-a11y-x replaces eslint-plugin-jsx-a11y; eslint-plugin-astro loads either, and the fork supports ESLint 10, so the peer override goes. - @eslint/js recommended joins the typed configs: core rules such as no-fallthrough and no-unsafe-finally were unset. - perfectionist sorts named imports and exports, and export statements. - functions/ and tools/ tsconfigs gain the strictest options they lacked: noImplicitReturns, noUnusedLocals, noUnusedParameters, allowUnreachableCode and allowUnusedLabels false. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LCXQj7eMWTgjvNoZTvCaLT
- hk runs actionlint on the workflows (actionlint pinned through mise) and `mise fmt --check` on mise.toml; CI runs `hk validate --deny-warnings`. - pnpm rejects a release with weaker provenance than an earlier version (`trustPolicy: no-downgrade`). - CI caches mise's checksum-verified download store instead of the installed tools, which mise trusts as is. - mise's postinstall hook calls hk through `mise x`, so it works where mise is not activated. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LCXQj7eMWTgjvNoZTvCaLT
The faces come from the same committed files through the local provider, at the same weights and unicode ranges, and Astro computes the text faces' metric-matched Arial fallbacks, which replaces the hand-written `@font-face` blocks and override percentages. The shared tokens keep the plain family names; the site points them at the variables Astro emits. The generated fallbacks name only local Arial, so desktop Linux without Arial falls through to the system font before the swap. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LCXQj7eMWTgjvNoZTvCaLT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Five commits, each one self-contained. Review them one at a time.
1. Bump dependencies, toolchain, and CI actions
Every dependency moves to its latest release that has cleared the repo's 7-day release-age gate.
hk.pklfollow), agent-browser 0.41.1.jdx/mise-actionv5 with mise 2026.10.25,actions/upload-artifactv7.@astrojs/checkstill peers^5 || ^6.2. Claude hooks through mise; toolchain installed in cloud sessions
mise x -- hk …. Claude Code runs hooks in a plainshwhere mise may not be activated, which surfaced ashk: not found.hk agent stop-hook, run withHK_PROFILE=slow. The customcalendar,astroandknipsteps declare their command effects (CommandSpec) so that--safeaccepts them.SessionStarthook, cloud sessions only (CLAUDE_CODE_REMOTE).mise install --lockedandpnpm install, then adds mise's environment toCLAUDE_ENV_FILE.--lockednever writes tomise.lock, so it doesn't need the musl download host.pnpm devsetsASTRO_DEV_BACKGROUND=0. Astro 7 detaches into the background when an agent runs it, and that exit stopped wrangler, which left/apiwith nothing behind it.3. Tighten lint and typecheck coverage
eslint-plugin-jsx-a11y-xreplaceseslint-plugin-jsx-a11y. eslint-plugin-astro loads either, and the fork supports ESLint 10, so the peer override goes. That also removes about 1.2k lockfile lines of polyfills.@eslint/jsrecommended is added, becauseno-fallthrough,no-unsafe-finallyand the other core rules were unset.functions/andtools/tsconfigs gain the strictest options they were missing:noImplicitReturns,noUnused*, andallowUnreachableCode/allowUnusedLabelsset to false.4. Lint the workflows and config, and harden installs
mise fmt --checkonmise.toml.hk validate --deny-warnings.trustPolicy: no-downgrade. A fully fresh resolution with it on succeeds.postinstallhook calls hk throughmise x.5. Web fonts through Astro's Fonts API
tokens.css, which the wiki and apps share, is unchanged;fonts.cssnow points the--sc2-font-*tokens at Astro's variables.local("Arial"); the old ones also listed Liberation Sans. Desktop Linux without Arial falls to the system font for glyphs Orbitron or Inter lack. Screenshots show this as a smaller ® in Orbitron headings and a different≥. Mac and Windows are unchanged.@font-faceCSS, about 3 KB, is now inline in each page instead of in the cached stylesheet.Before merging
mise.lockis missing node 26.13.0'slinux-*-muslentries. The sandbox could not reachunofficial-builds.nodejs.org. Run this locally and commit the result:Deferred
mise.lockto format 4 (mise lock --upgrade) needs CI on mise 2026.11.1 or newer. That release is under 7 days old, so it can land from 2026-11-11.Verification
pnpm check(every step, slow included): passes after each commit.pnpm build,check:meta,check:events: pass. Commits 1–4 leavedist/byte-identical.env -i sh, the way Claude Code runs them.SessionStartinstalls and exports the pinned toolchain, and does nothing outside cloud sessions.pnpm devwithCLAUDECODE=1: astro and wrangler both stay up, and/apirequests reach wrangler.🤖 Generated with Claude Code
https://claude.ai/code/session_01LCXQj7eMWTgjvNoZTvCaLT