`UPC_LOOKUP_ENABLED`, `UPC_LOOKUP_API_KEY`, `UPC_LOOKUP_URL`,
`ENABLE_SCHEDULED_BUILD_RECOMMENDATIONS` and
`SCHEDULED_BUILD_RECOMMENDATIONS_CRON` all ship in 5.3 and are read in
`backend/config/__init__.py`, but none of them reached `env.template`.
The docs generators treat `env.template` as the source of truth, so the
five were missing from the environment-variable reference, and
`gen_scheduled_tasks.py` fails outright rather than print a default it
cannot verify for the recommendations task.
Defaults match `backend/config/__init__.py`.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
A stable release's notes are the same document as the last full prerelease on
its line, regenerated over a range that grew against the same base, so the range
resolution already handled a stable tag. What the skill was missing is what
changes between the two.
Split the shape decision out first, since the tag alone decides it: every .1
prerelease and every feature-carrying stable gets the full treatment, while
later prereleases on a line and patch releases get a flat What's Changed.
Record the two things a stable does differently. Highlights are re-curated
rather than carried over, as 5.0.0 did against its beta. The API table belongs
to the prerelease that opened the line and the stable drops it, which is why
5.2.0 kept one and 5.1.0, 5.0.0, 4.9.0 and 4.8.0 did not.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude Code ships a built-in release-notes skill, so the repo one needs a
distinct name. Narrow the description to the alpha/beta prerelease case it
actually covers, so the two do not compete for the same phrasing.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Resolve the range against the drafted tag: pick the stable tag immediately
below the release line rather than the newest one, and point the head at an
already-tagged prerelease instead of master.
Treat the config and endpoint greps as an index, since a wrapped decorator or
_get_env call only matches on the line that changed, and read the full hunks.
State the promote-or-list rule the published notes actually follow: a PR lifted
into Highlights loses its bullet, so the completeness check counts it once
across both.
Fix the patch-release shortcut in the template, which pointed at the wrong two
sections and dropped the change list, and silence the markdownlint rules the
skeleton exists to violate.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Derives the house format from the last ten alpha.1/beta.1 prereleases:
the last stable tag as the compare base, the fixed section order, the
autogenerated bullet lines kept verbatim, and the alpha-versus-beta
placement of the API and env var tables.
Ships a skeleton in template.md and registers the skill in CLAUDE.md.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The dialect-aware helper replaced the unconditional IS NULL term on
the music query with nothing covering it: an untagged track (NULL
duration) now has result tests trailing both directions.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
selectionState keyed off the global count, so picks kept from another
filter left the header checkbox indeterminate over a result with
nothing selected; both branches now require a selected rom inside the
current result before reporting "some".
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
A CRC renders in full, so the reveal-mode chip announced a disclosure
whose activation had nothing to show: short values now carry no
aria-expanded, no action label, no eye icon, and a click on them is a
no-op instead of a state flip nothing reflects.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
Simplify pass: the dialect-aware NULL placement becomes a module
helper shared with the music-track ordering, which gains index-order
reads in the three cases that never needed the emulation term. The
zero-as-unset rule moves from a name frozenset onto the columns
themselves (mapped_column info markers), the ordering block stops
rebinding one name through four types, driver pinning collapses into
two conftest fixtures, and the dialect matrix lives in one
parametrized test instead of two per-family copies.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
Drop the console.warn for an unsupported configured core: it re-derived
the check the resolver already makes, and fired on the player's device
rather than where the admin would see it. The example config now points
at the exact core name instead.
Hoist the platform slug in onMounted, name the comment's dependency
rather than its placement, drop a redundant optional chain, and put the
new config tests on a helper matching their neighbours.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Code-review pass: the rom_user and metadata NULL handling collapse
into a single block built from the folded sort key, with PostgreSQL
on native NULLS LAST for both families and the leading IS NULL term
emitted only where an engine needs it (non-PG ascending), so the
redundant terms and the raw-vs-folded hazard are gone. The zero-as-
unset column set moves to models/rom.py beside the columns it
describes, the hltb query-shape test folds into the metadata
parametrize, and the comments that overclaimed index behavior after
the change now state the measured cost instead.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
Pass the netplay flag to getSupportedEJSCores so a configured core that
only the nightly build offers is not dropped, resolve the core before the
save and state defaults so opening the player no longer clears a
remembered state id, warn when a configured core is unsupported, and
guard the store getter against a payload without the field.
Drop the write-back suppression: it left a game played with an inherited
core unpinned, so a later platform-level pick silently switched it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Simplify pass: the store's supersede-abort becomes the only
cancellation policy, so a re-trigger restarts the fetch instead of
re-arming it and the composable loses its module-level mutables (the
in-flight flag moves into the store next to the controller, epoch and
snapshot become per-invocation). The gallery-context guard moves into
fetchAllFilteredRoms, a filteredRomIds getter answers "is the result
known" once for the three gates, NO_SIDECARS gets one exported typed
home shared by the three fetch sites, selectMany clones lazily, and
the tests move to a setupGallery helper with a typed deferred.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
Add an `emulatorjs.default_cores` block mapping a platform slug to the
core the player preselects for it, so an instance can run DS software on
DeSmuME and DSi software on melonDS without every user picking a core on
every device.
The player resolves its core from the game's remembered core, then the
platform's, then the configured default, then the platform's first
supported core. Each candidate is checked against the cores the platform
actually supports, so an unknown platform or core falls through.
Playing no longer writes the resolved core back to local storage unless
the user picked a different one, so changing the configured default
reaches devices that never made a choice.
Closes#4434
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Code-review pass fixes: a re-triggered select-all re-arms the pending
epoch instead of no-opping; the loaded-only fallback waits for the
metadata bootstrap; deselections made during the fetch survive the
merge; fetches are refused off the gallery view and on empty results;
the Missing tab clears the selection on unmount; Esc cancels an
in-flight select-all even before anything is selected; hot-path scans
short-circuit on count and read through toRaw; the sidecar-skip flags
and page size get one home; failures reach the console. Six new tests
pin the races.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
Simplify pass: aria-expanded now exists exactly when the chip is a real
toggle (a copy chip stays a plain button even after a failed copy left
the value revealed, since nothing can collapse it), and the revealed
disclosure drops its aria-label so the content, label plus full value,
becomes the accessible name. The hide-full-hash key that decision
orphans is removed from every locale, and the ARIA tests consolidate
to three cases decoupled from the i18n mock's serialization.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
Code-review pass fixes: cs/pl/ru copy-hash now use the imperfective
form their sibling copy actions use, hu drops the definite article the
other action labels omit, and a test pins that a click after a failed
copy keeps copying while the chip stays disclosed.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
Ascending rating/difficulty/completion sorts split visually identical
"unrated" games into two buckets: touched-but-unrated rows carry the
NOT NULL default 0 and led the list while never-touched games trailed
it. The three zero-default sort keys are now wrapped in NULLIF(col, 0)
so both unset shapes share the final bucket, tiebroken by rom id.
Metadata sorts kept each engine's default NULL placement: MariaDB led
ascending release-date sorts with the wall of unmatched roms while
PostgreSQL trailed it. NULLs now land last on every engine in both
directions, emitted per dialect to keep index reads where the engine
allows them: PostgreSQL uses native NULLS LAST, MariaDB descending
already places NULLs last on the plain index read, and only MariaDB
ascending pays a measured filesort (EXPLAIN at 30k roms: 51ms index
read to ~150ms), the one case the engine cannot serve from a
single-column index.
Fixes#4449Fixes#4450
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
Grid view had no select-all at all, and list view's header checkbox
only selected the 72 loaded items per window. A shared composable now
selects the entire filtered result: loaded roms merge instantly, the
remainder is fetched at the backend's page cap with the sidecar
aggregations off, and an epoch guard discards a fetch that resolves
after the user already cleared the selection. The selection bar gains
a select-all button (the only affordance grid has), the list header
checkbox derives its tri-state from the whole result, and Ctrl/Cmd+A
runs the same path. The Missing games tab keeps loaded-only semantics
since it opts out of the rom id index.
Fixes#4335
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
Hash chips read as plain buttons to screen readers: no aria-expanded,
and the accessible name was the abbreviated hash text. The button now
carries aria-expanded whenever it actually behaves as a disclosure
(reveal mode, or a copy whose failure disclosed the value) and an
aria-label that names the action and the hash kind, translated in
every locale.
Fixes#4105
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L
Recorded against demo.romm.app: home, the NES library, a game page,
its achievements, and a game running in the browser.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>