pr-ready step 3 (simplify): bind the cell frame as a style object and
drop the outline that doubled the dashed border.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
pr-ready step 2 (code-review xhigh --fix): keep chips from shrinking in
non-wrapping flex rows, keep the close button its full size, and tidy
the typography stories.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Addresses Greptile's review: nothing stopped a later NGINX_VERSION pin from
reintroducing the "js vm init njs" notice this PR removes.
njs 0.9.7 dropped the notice, but the njs build is not a function of the nginx
version alone: nginx's apk repo published 1.30.0 against njs 0.9.6 before
rebuilding it against 0.9.7 and 0.9.8, so 1.30.1 is the first release that
never logs it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
master refreshed the Alpine 3.23 digest and added the python-runtime
stage; this branch moves the same pins to Alpine 3.24 and nginx 1.30.5.
Kept 3.24 and re-resolved every tag to its current manifest-list digest,
so the base images carry the patches master was reaching for.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Keep `typecheck` to vue-tsc and move the tsconfig.node.json pass to
`typecheck:scripts`, run as a separate CI step so a failure names the
pass that broke. Drop the JSON-invalid comments from tsconfig.node.json.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The skeletons were loose markdown, so markdownlint read the `<Feature>`
placeholders as inline HTML and the repeated `## Community news` as duplicate
headings. Fencing both shapes as literal text settles that and marks exactly
what gets copied into Discord.
The section shape now carries the upgrade-warning slot the bullet shape had,
and the notes extraction pulls `[!CAUTION]` alongside `[!WARNING]`.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Codifies the house format of the Discord release announcements from the
last three years: the timely hook, the upgrade warning, two to five
features in prose with the tail as bullets, community news, and the
pointer to the release notes.
The community news is the half of an announcement no diff contains, so
the skill interviews the maintainer for it one step at a time, and
refuses to invent a contributor, an app, a milestone or a handle.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
`getDownloadPath` encoded a selected file name but left `fs_name` raw,
then `getDownloadLink` ran `encodeURI` over the whole result. Three
things went wrong:
- a selected file name came back double-encoded, so the browser saved
`Game%20(USA).zip` instead of `Game (USA).zip`
- `encodeURI` also hit the query string, so `file_ids=29%2C30` reached
the backend as one value and `int()` raised on it: copying a link for
a multi-file selection produced a 500
- a raw `#` in `fs_name` started the fragment, truncating the path
before the request left the browser
Encode the segment once in `getDownloadPath` for both branches and let
`getDownloadLink` only prepend the origin.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
dpdm cannot resolve or parse Vue SFCs, so it saw none of the ~519
components: `.vue` imports were dead ends and the graph stopped at the
first one. `import-x/no-cycle` runs on the ESLint config that already
parses `.vue` with type awareness, and Trunk already runs ESLint in CI,
so the check needs no separate tool, config file or CI step.
Lazy route components make the router reachable from the views it
renders, so dynamic edges are excluded; without that the rule reports
390 files instead of the real 3. Those 3 are the frozen-v1 `src/console`
cycles dpdm also found, so the two tools agree on today's graph and the
swap is not a cleanup.
Drop the `circular` script, `dpdm.config.ts`, the `@dpdm-ignore`
directive and dpdm itself.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
review-polish pass.
Both `src/utils` test files built the same rom literal, so move the typed
factory into `rom.fixtures.ts` and import it from each. Tighten two comments
that had grown past the two-line limit.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
simplify pass.
`v2/router/routes.ts` hand-maintained 34 route-name string literals and a
comment saying ROUTES could not be imported without a cycle. `routeNames.ts`
is a leaf, so that constraint is gone: key the registry off ROUTES and type
it with the new `RouteName`, which turns a mistyped key into a compile error
instead of a silent fall-through to the 404 view.
Drop the unreachable chunk-load guard in the 401 interceptor: `main.ts`
imports the router statically, so it is in the entry chunk and the dynamic
import resolves from memory. Restate why that import is lazy.
Take `SimpleRom` instead of re-narrowing it, reuse the import specifier
already in `router.ts`, drop `circular: true` (already the default), and
inline the test roms so the factory is not duplicated across two files.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
code-review pass.
dpdm cannot parse Vue SFCs, so the four entry points only reached 133 of
the frontend's modules: every `.vue` import was an unresolved dead end and
traversal stopped there. Make every `.ts` module an entry instead, which
brings the analysed graph to 771 modules. Frozen v1 `src/console` is carved
out because it still holds cycles we are not refactoring.
Take `ROUTES` and `isAuthExemptRoute` from the leaf module statically, and
keep only the router instance lazy. Guard the dynamic import so a failed
chunk load still rejects with the original AxiosError.
Move the `getDownloadPath` tests next to the module that now owns them.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Annotating it to `read_zip_archive_files`'s own parameters and return type
pins the contract the fake stands in for, rather than accepting anything
through *args.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Two comments described HTML documents as sanitized on ingest. Nothing
sanitizes them: the only `sanitize_*` helpers cover filenames and usernames,
and `is_html_document_file` is consulted at serve time only. The sandboxing
CSP and the viewer's iframe sandbox are the whole defence, so describe them
that way, and pin the header with a test before someone drops it believing
the sanitizer exists.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The size checks around the extraction read `ZipInfo.file_size`, which is
whatever the uploader put in the header, and the check on the finished file
only ran once the member had been written in full. An archive whose method
zipfile cannot decode goes through 7zz, which decompresses it itself and
ignores that header, so a small declared size passed the pre-check while the
real member filled the disk.
Count the bytes as they are written and stop at the cap, which makes the
check on the finished file redundant.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
`start_chunked_upload` loaded the platform without checking the caller can
see it, so a user with `roms.write` restricted by a permission group could
write a file into a platform folder hidden from them (a later scan ingests
it), and could tell a hidden platform from a missing one by the response.
Answer both cases identically so neither the write nor the enumeration is
possible.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>