Skip to content

feat(music-data): publish the recommendation engine in the replay manifest - #20

Merged
nichinichisou0609 merged 1 commit into
mainfrom
feat/replay-recommend-engine
Oct 4, 2026
Merged

nichinichisou0609 merged 1 commit into
mainfrom
feat/replay-recommend-engine

Conversation

@nichinichisou0609

Copy link
Copy Markdown
Collaborator

nnnotes music-data --recommend-engine DIR copies a wasm-bindgen
--target web package of the deck model's wasm/recommend
(ournotes_recommend.js, ournotes_recommend_bg.wasm, build.json)
into the replay bundle beside the replay engine. Its build.json
(ournotes.recommend-engine/1) must name the pinned model commit and the
SHA-256 of both files, else the export stops before writing anything.

The replay manifest lists it as recommendEngine: the model identity and
the js, wasm and build resources with their URL relative to the
manifest, SHA-256 and size. The model is the one of engine and of
deck-data.json, so a page loads the recommendation module and the deck
data it reads from one model commit and one master snapshot. Without the
option the key is absent.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

…ifest

`nnnotes music-data --recommend-engine DIR` copies a wasm-bindgen
`--target web` package of the deck model's `wasm/recommend`
(`ournotes_recommend.js`, `ournotes_recommend_bg.wasm`, `build.json`)
into the replay bundle beside the replay engine. Its `build.json`
(`ournotes.recommend-engine/1`) must name the pinned model commit and the
SHA-256 of both files, else the export stops before writing anything.

The replay manifest lists it as `recommendEngine`: the model identity and
the `js`, `wasm` and `build` resources with their URL relative to the
manifest, SHA-256 and size. The model is the one of `engine` and of
`deck-data.json`, so a page loads the recommendation module and the deck
data it reads from one model commit and one master snapshot. Without the
option the key is absent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nichinichisou0609
nichinichisou0609 merged commit 42098d7 into main Oct 4, 2026
6 checks passed
@nichinichisou0609
nichinichisou0609 deleted the feat/replay-recommend-engine branch October 4, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant