@riddledc/riddle-proof-packs 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +33 -7
- package/dist/index.js +33 -7
- package/package.json +1 -1
- package/packs/neon-step-sequencer/README.md +2 -1
- package/packs/neon-step-sequencer/case-study/findings.md +11 -0
- package/packs/neon-step-sequencer/case-study/ratchet-card.md +2 -1
- package/packs/neon-step-sequencer/case-study/ratchet-log.md +55 -0
- package/packs/neon-step-sequencer/examples/README.md +2 -1
- package/packs/neon-step-sequencer/examples/run-005-explore-songs-and-mixes-final/artifact-manifest.json +32 -0
- package/packs/neon-step-sequencer/examples/run-005-explore-songs-and-mixes-final/console.json +4 -0
- package/packs/neon-step-sequencer/examples/run-005-explore-songs-and-mixes-final/dom-summary.json +40 -0
- package/packs/neon-step-sequencer/examples/run-005-explore-songs-and-mixes-final/profile-result.json +2917 -0
- package/packs/neon-step-sequencer/examples/run-005-explore-songs-and-mixes-final/proof.json +2917 -0
- package/packs/neon-step-sequencer/examples/run-005-explore-songs-and-mixes-final/screenshots/neon-step-sequencer-explore-songs-and-mixes-desktop-neon-explore-songs-and-mixes.png +0 -0
- package/packs/neon-step-sequencer/examples/run-005-explore-songs-and-mixes-final/screenshots/neon-step-sequencer-explore-songs-and-mixes-desktop.png +0 -0
- package/packs/neon-step-sequencer/examples/run-005-explore-songs-and-mixes-final/summary.md +52 -0
- package/packs/neon-step-sequencer/profiles/explore-songs-and-mixes.json +33 -7
package/dist/index.cjs
CHANGED
|
@@ -751,11 +751,14 @@ var explore_songs_and_mixes_default = {
|
|
|
751
751
|
label: "install-neon-exploration-proof",
|
|
752
752
|
timeout_ms: 1e4,
|
|
753
753
|
store_return_to: "__neonProof.install",
|
|
754
|
-
script: "window.__neonProofApi=()=>window.__NEON_MIX_PROOF__||window.__RIDDLE_SEQUENCER_PROOF__;
|
|
754
|
+
script: "window.__neonProofApi=()=>window.__NEON_MIX_PROOF__||window.__RIDDLE_SEQUENCER_PROOF__; const api=window.__neonProofApi(); const state=api?.getState?.()||api?.getSummary?.()||{}; return {available:Boolean(api),hasExplorationSweep:typeof api?.runExplorationSweep==='function',selectedSong:state.selectedSong||null};",
|
|
755
755
|
return_summary_fields: [
|
|
756
756
|
{
|
|
757
757
|
path: "available"
|
|
758
758
|
},
|
|
759
|
+
{
|
|
760
|
+
path: "hasExplorationSweep"
|
|
761
|
+
},
|
|
759
762
|
{
|
|
760
763
|
path: "selectedSong"
|
|
761
764
|
}
|
|
@@ -769,8 +772,17 @@ var explore_songs_and_mixes_default = {
|
|
|
769
772
|
},
|
|
770
773
|
{
|
|
771
774
|
type: "window_call",
|
|
772
|
-
label: "
|
|
773
|
-
path: "
|
|
775
|
+
label: "run-exploration-sweep",
|
|
776
|
+
path: "__NEON_MIX_PROOF__.runExplorationSweep",
|
|
777
|
+
args: [
|
|
778
|
+
{
|
|
779
|
+
maxSongs: 4,
|
|
780
|
+
maxPartsPerSong: 2,
|
|
781
|
+
maxWindowsPerPart: 2,
|
|
782
|
+
monitorProfile: "smallSpeaker",
|
|
783
|
+
loadAllSources: true
|
|
784
|
+
}
|
|
785
|
+
],
|
|
774
786
|
store_return_to: "__neonProof.exploration",
|
|
775
787
|
capture_return: true,
|
|
776
788
|
timeout_ms: 18e4,
|
|
@@ -778,14 +790,26 @@ var explore_songs_and_mixes_default = {
|
|
|
778
790
|
{
|
|
779
791
|
path: "ok"
|
|
780
792
|
},
|
|
793
|
+
{
|
|
794
|
+
path: "status"
|
|
795
|
+
},
|
|
781
796
|
{
|
|
782
797
|
path: "proofKind"
|
|
783
798
|
},
|
|
784
799
|
{
|
|
785
|
-
path: "
|
|
800
|
+
path: "entryCount"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
path: "findingCount"
|
|
786
804
|
}
|
|
787
805
|
]
|
|
788
806
|
},
|
|
807
|
+
{
|
|
808
|
+
type: "assert_window_value",
|
|
809
|
+
path: "__neonProof.exploration.proofKind",
|
|
810
|
+
expected_value: "neon-exploration-sweep",
|
|
811
|
+
timeout_ms: 1e4
|
|
812
|
+
},
|
|
789
813
|
{
|
|
790
814
|
type: "assert_window_value",
|
|
791
815
|
path: "__neonProof.exploration.ok",
|
|
@@ -829,10 +853,12 @@ var explore_songs_and_mixes_default = {
|
|
|
829
853
|
pack_id: "neon_step_sequencer",
|
|
830
854
|
pack_public_name: "Neon Step Sequencer Pack",
|
|
831
855
|
evidence_role_pattern: "current_target",
|
|
832
|
-
purpose: "
|
|
856
|
+
purpose: "Bounded exploration sweep over Neon songs, parts, mix profiles, and proof windows for prioritizing the next weakest review target.",
|
|
833
857
|
required_receipts: [
|
|
834
|
-
"
|
|
835
|
-
"
|
|
858
|
+
"exploration sweep contract is available",
|
|
859
|
+
"song/part entries are captured",
|
|
860
|
+
"all sampled entries pass objective guardrails",
|
|
861
|
+
"prioritized findings are captured",
|
|
836
862
|
"browser health is clean",
|
|
837
863
|
"screenshot is captured"
|
|
838
864
|
],
|
package/dist/index.js
CHANGED
|
@@ -716,11 +716,14 @@ var explore_songs_and_mixes_default = {
|
|
|
716
716
|
label: "install-neon-exploration-proof",
|
|
717
717
|
timeout_ms: 1e4,
|
|
718
718
|
store_return_to: "__neonProof.install",
|
|
719
|
-
script: "window.__neonProofApi=()=>window.__NEON_MIX_PROOF__||window.__RIDDLE_SEQUENCER_PROOF__;
|
|
719
|
+
script: "window.__neonProofApi=()=>window.__NEON_MIX_PROOF__||window.__RIDDLE_SEQUENCER_PROOF__; const api=window.__neonProofApi(); const state=api?.getState?.()||api?.getSummary?.()||{}; return {available:Boolean(api),hasExplorationSweep:typeof api?.runExplorationSweep==='function',selectedSong:state.selectedSong||null};",
|
|
720
720
|
return_summary_fields: [
|
|
721
721
|
{
|
|
722
722
|
path: "available"
|
|
723
723
|
},
|
|
724
|
+
{
|
|
725
|
+
path: "hasExplorationSweep"
|
|
726
|
+
},
|
|
724
727
|
{
|
|
725
728
|
path: "selectedSong"
|
|
726
729
|
}
|
|
@@ -734,8 +737,17 @@ var explore_songs_and_mixes_default = {
|
|
|
734
737
|
},
|
|
735
738
|
{
|
|
736
739
|
type: "window_call",
|
|
737
|
-
label: "
|
|
738
|
-
path: "
|
|
740
|
+
label: "run-exploration-sweep",
|
|
741
|
+
path: "__NEON_MIX_PROOF__.runExplorationSweep",
|
|
742
|
+
args: [
|
|
743
|
+
{
|
|
744
|
+
maxSongs: 4,
|
|
745
|
+
maxPartsPerSong: 2,
|
|
746
|
+
maxWindowsPerPart: 2,
|
|
747
|
+
monitorProfile: "smallSpeaker",
|
|
748
|
+
loadAllSources: true
|
|
749
|
+
}
|
|
750
|
+
],
|
|
739
751
|
store_return_to: "__neonProof.exploration",
|
|
740
752
|
capture_return: true,
|
|
741
753
|
timeout_ms: 18e4,
|
|
@@ -743,14 +755,26 @@ var explore_songs_and_mixes_default = {
|
|
|
743
755
|
{
|
|
744
756
|
path: "ok"
|
|
745
757
|
},
|
|
758
|
+
{
|
|
759
|
+
path: "status"
|
|
760
|
+
},
|
|
746
761
|
{
|
|
747
762
|
path: "proofKind"
|
|
748
763
|
},
|
|
749
764
|
{
|
|
750
|
-
path: "
|
|
765
|
+
path: "entryCount"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
path: "findingCount"
|
|
751
769
|
}
|
|
752
770
|
]
|
|
753
771
|
},
|
|
772
|
+
{
|
|
773
|
+
type: "assert_window_value",
|
|
774
|
+
path: "__neonProof.exploration.proofKind",
|
|
775
|
+
expected_value: "neon-exploration-sweep",
|
|
776
|
+
timeout_ms: 1e4
|
|
777
|
+
},
|
|
754
778
|
{
|
|
755
779
|
type: "assert_window_value",
|
|
756
780
|
path: "__neonProof.exploration.ok",
|
|
@@ -794,10 +818,12 @@ var explore_songs_and_mixes_default = {
|
|
|
794
818
|
pack_id: "neon_step_sequencer",
|
|
795
819
|
pack_public_name: "Neon Step Sequencer Pack",
|
|
796
820
|
evidence_role_pattern: "current_target",
|
|
797
|
-
purpose: "
|
|
821
|
+
purpose: "Bounded exploration sweep over Neon songs, parts, mix profiles, and proof windows for prioritizing the next weakest review target.",
|
|
798
822
|
required_receipts: [
|
|
799
|
-
"
|
|
800
|
-
"
|
|
823
|
+
"exploration sweep contract is available",
|
|
824
|
+
"song/part entries are captured",
|
|
825
|
+
"all sampled entries pass objective guardrails",
|
|
826
|
+
"prioritized findings are captured",
|
|
801
827
|
"browser health is clean",
|
|
802
828
|
"screenshot is captured"
|
|
803
829
|
],
|
package/package.json
CHANGED
|
@@ -37,12 +37,13 @@ This pack's first concrete strategy is `mix-level-search`, which turns small lev
|
|
|
37
37
|
|
|
38
38
|
## Example evidence
|
|
39
39
|
|
|
40
|
-
The `examples/` directory contains
|
|
40
|
+
The `examples/` directory contains local Playwright proof results captured against LilArcade Neon Step Sequencer on May 24, 2026:
|
|
41
41
|
|
|
42
42
|
- `run-001-fast-mix-health`: passing `current_target` audit with proof contract, source readiness, mix RMS `0.1234`, peak `0.8321`, and no clipping.
|
|
43
43
|
- `run-002-mix-change`: passing `interaction_snapshots` proof where a bass-level edit moved bass RMS from `0.0507` to `0.1071` and mix RMS from `0.073` to `0.1264` without clipping.
|
|
44
44
|
- `run-003-full-matrix`: passing `current_target` viewport matrix across desktop, phone, iPad Mini, and iPad with `0 px` horizontal overflow.
|
|
45
45
|
- `run-004-ratchet-loop-mix-level-search`: passing `interaction_snapshots` proof where a bounded loop tested six mix-level change-claim candidates, found a supported `chord -0.10` candidate, recorded receipt-level verdicts, and restored app state without keeping the edit.
|
|
46
|
+
- `run-005-explore-songs-and-mixes-final`: passing `current_target` exploration sweep across four songs and eight song/part entries, with `8` passing entries, `0` prioritized findings, and no clipping after the local app-contract and mix-headroom ratchet.
|
|
46
47
|
|
|
47
48
|
## Naming note
|
|
48
49
|
|
|
@@ -101,6 +101,17 @@ Pack summary guidance first; Riddle Proof core only if a general display primiti
|
|
|
101
101
|
- rerun: passed on May 24, 2026.
|
|
102
102
|
- next sharper question: can the loop run multiple strategy classes without changing the proof primitive?
|
|
103
103
|
|
|
104
|
+
### Run 005 restored the exploration flywheel
|
|
105
|
+
|
|
106
|
+
- run: `run-005-explore-songs-and-mixes-final`
|
|
107
|
+
- claim: a bounded current-target sweep can explore multiple Neon songs/parts, classify findings, and end with a useful confidence map.
|
|
108
|
+
- observed evidence: final run sampled `4` songs and `8` song/part entries; all `8` entries passed; prioritized findings dropped to `0`; source preparation loaded drums `samples`, bass/chord/guitar `hybrid`, and vocal `voice_oohs`; final sampled peaks stayed below the clipping threshold; console fatal count was `0`.
|
|
109
|
+
- classification: resolved chain of `proof_insufficient`, `app_contract_gap`, and `product_regression` findings during the local ratchet.
|
|
110
|
+
- smallest layer changed: app proof contract, app snapshot normalization, app fixture/mix data, and profile JSON.
|
|
111
|
+
- change made: made the exploration profile call `runExplorationSweep`; added the app-contract sweep method; normalized arbitrary song/part tempo and bar count; preserved bass/chord/guitar lane enable flags in song snapshots; lowered only hot built-in Yakety and Monkberry Sheet mix data enough to clear clipping receipts.
|
|
112
|
+
- rerun: passed on May 24, 2026 with `8` entries, `8` passed, and `0` findings.
|
|
113
|
+
- next sharper question: can this exploration workflow become the normal local pack/profile loop before any changeset or npm release?
|
|
114
|
+
|
|
104
115
|
### Local runner shutdown needs a small ergonomics follow-up
|
|
105
116
|
|
|
106
117
|
- run: `run-002-mix-change`, `run-003-full-matrix`, `run-004-ratchet-loop-mix-level-search`
|
|
@@ -34,7 +34,8 @@ The project shows that a complex audio app can improve proof confidence mostly b
|
|
|
34
34
|
- Run 002: an `interaction_snapshots` proof showed a bass-level edit moving bass RMS from `0.0507` to `0.1071` and mix RMS from `0.073` to `0.1264` without clipping.
|
|
35
35
|
- Run 003: a `current_target` matrix passed across desktop, phone, iPad Mini, and iPad with `0 px` horizontal overflow.
|
|
36
36
|
- Run 004: a bounded loop tested six `mix-level-search` change-claim candidates, returned `chord -0.10` as a supported review candidate with receipt-level evidence, and restored app state.
|
|
37
|
+
- Run 005: a `current_target` exploration sweep sampled four songs and eight song/part entries. The first real sweep exposed app-contract normalization gaps and hot built-in song presets; after the local ratchet fixes it passed with `8` entries, `0` findings, and no clipping.
|
|
37
38
|
|
|
38
39
|
## Honest boundary
|
|
39
40
|
|
|
40
|
-
These runs prove objective claims about a running app target. They do not prove that the mix is tasteful, that every song section is healthy, or that a release candidate is better than production. The ratchet loop is a generic proof-loop shape; `mix-level-search` is only the first Neon strategy plugged into it.
|
|
41
|
+
These runs prove objective claims about a running app target. They do not prove that the mix is tasteful, that every song section is healthy, or that a release candidate is better than production. Run 005 is still bounded to configured song/part limits. The ratchet loop is a generic proof-loop shape; `mix-level-search` is only the first Neon strategy plugged into it.
|
|
@@ -227,6 +227,61 @@ Next sharper question:
|
|
|
227
227
|
|
|
228
228
|
Can the pack explore song/mix combinations and produce a prioritized confidence map?
|
|
229
229
|
|
|
230
|
+
## Run 005 - Bounded song/mix exploration sweep
|
|
231
|
+
|
|
232
|
+
Claim:
|
|
233
|
+
|
|
234
|
+
Neon can run a bounded current-target exploration sweep across multiple songs and parts, produce a confidence map, classify weak layers, and close the loop after small user-controlled changes.
|
|
235
|
+
|
|
236
|
+
Profile:
|
|
237
|
+
|
|
238
|
+
`profiles/explore-songs-and-mixes.json`
|
|
239
|
+
|
|
240
|
+
Evidence to capture:
|
|
241
|
+
|
|
242
|
+
- route and proof-contract availability
|
|
243
|
+
- sample/source preparation receipt
|
|
244
|
+
- bounded song/part entries
|
|
245
|
+
- per-window active-instrument, peak, headroom, and clipping receipts
|
|
246
|
+
- prioritized findings
|
|
247
|
+
- screenshot, console health, and layout health
|
|
248
|
+
|
|
249
|
+
Possible outcomes:
|
|
250
|
+
|
|
251
|
+
- `app_contract_gap`: the app cannot render arbitrary song/part proof states yet.
|
|
252
|
+
- `proof_insufficient`: the exploration profile runs but cannot support the claim.
|
|
253
|
+
- `profile_calibration`: proof windows or required-active receipts target the wrong musical window.
|
|
254
|
+
- `product_regression`: a sampled song/part clips or violates objective guardrails.
|
|
255
|
+
|
|
256
|
+
Observed status:
|
|
257
|
+
|
|
258
|
+
Passed on May 24, 2026 with `local-playwright` after three local ratchet iterations.
|
|
259
|
+
|
|
260
|
+
Observed evidence:
|
|
261
|
+
|
|
262
|
+
- final run sampled `4` songs and `8` song/part entries
|
|
263
|
+
- final run passed `8` entries with `0` prioritized findings
|
|
264
|
+
- source preparation loaded drums `samples`, bass/chord/guitar `hybrid`, and vocal `voice_oohs`
|
|
265
|
+
- final sampled peaks stayed below the clipping threshold: Yakety `0.9589` and `0.9756`, Monkberry Sheet `0.9734` and `0.9550`, Monkberry Full OMR `0.8345` and `0.8327`, Monkberry Tab proof windows `0.8328` to `0.8423`
|
|
266
|
+
- console fatal count `0`
|
|
267
|
+
- horizontal overflow `0 px`
|
|
268
|
+
|
|
269
|
+
Failure classification:
|
|
270
|
+
|
|
271
|
+
Resolved during the ratchet:
|
|
272
|
+
|
|
273
|
+
- `proof_insufficient`: the first corrected sweep hit an `OfflineAudioContext` zero-frame error because historical song/part proof states did not normalize tempo/bar count.
|
|
274
|
+
- `app_contract_gap`: the next sweep showed saved/song snapshots preserved `rhythmSynthEnabled` but not bass/chord/guitar enable flags.
|
|
275
|
+
- `product_regression`: after lane flags were fixed, the sweep found clipping in Yakety Dark and Monkberry Sheet presets.
|
|
276
|
+
|
|
277
|
+
Smallest layer changed:
|
|
278
|
+
|
|
279
|
+
App proof contract, app snapshot normalization, app fixture/mix data, and the local exploration profile. Riddle Proof core did not need a change.
|
|
280
|
+
|
|
281
|
+
Next sharper question:
|
|
282
|
+
|
|
283
|
+
Can the same exploration shape become a reusable pack/profile workflow where a user can choose a bounded target set, run locally during iteration, and publish only after the evidence is worth sharing?
|
|
284
|
+
|
|
230
285
|
## Project note
|
|
231
286
|
|
|
232
287
|
The ratchet is not a pass. The ratchet is the next sharper question.
|
|
@@ -12,11 +12,12 @@ The raw `profile-result.json` files are real runner outputs. They intentionally
|
|
|
12
12
|
| `run-002-mix-change` | `interaction_snapshots` | passed | A bass-level edit changes rendered bass and mix metrics without clipping. |
|
|
13
13
|
| `run-003-full-matrix` | `current_target` | passed | The mix-health proof holds across desktop, phone, iPad Mini, and iPad viewports. |
|
|
14
14
|
| `run-004-ratchet-loop-mix-level-search` | `interaction_snapshots` | passed | A bounded ratchet loop tests mix-level change-claim candidates, records receipt verdicts, chooses a supported candidate for review, and restores app state. |
|
|
15
|
+
| `run-005-explore-songs-and-mixes-final` | `current_target` | passed | A bounded exploration sweep samples four songs and eight song/part entries, producing a zero-finding confidence map after app-contract and mix-headroom fixes. |
|
|
15
16
|
|
|
16
17
|
## What these examples do not prove
|
|
17
18
|
|
|
18
19
|
- They do not prove subjective mix taste.
|
|
19
|
-
- They do not prove every song, section, or mix preset.
|
|
20
|
+
- They do not prove every song, section, or mix preset. Run 005 is bounded to the configured song, part, and proof-window limits.
|
|
20
21
|
- They do not prove production CDN asset availability; these were local dev-server runs.
|
|
21
22
|
- They do not prove a reference/candidate release delta. The mix-change run uses pre-action/post-action snapshots inside one proof run, not a separate baseline deployment.
|
|
22
23
|
- The ratchet-loop run does not prove that the loop primitive is mix-specific; `mix-level-search` is only this pack's first concrete strategy.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "riddle-proof-local-runner-manifest.v1",
|
|
3
|
+
"runner": "local-playwright",
|
|
4
|
+
"profile_name": "neon-step-sequencer-explore-songs-and-mixes",
|
|
5
|
+
"captured_at": "2026-05-24T05:09:43.225Z",
|
|
6
|
+
"artifacts": [
|
|
7
|
+
{
|
|
8
|
+
"name": "proof.json",
|
|
9
|
+
"path": "proof.json",
|
|
10
|
+
"kind": "text",
|
|
11
|
+
"bytes": 118797
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "console.json",
|
|
15
|
+
"path": "console.json",
|
|
16
|
+
"kind": "text",
|
|
17
|
+
"bytes": 38
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "dom-summary.json",
|
|
21
|
+
"path": "dom-summary.json",
|
|
22
|
+
"kind": "text",
|
|
23
|
+
"bytes": 815
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "profile-result.json",
|
|
27
|
+
"path": "profile-result.json",
|
|
28
|
+
"kind": "text",
|
|
29
|
+
"bytes": 118797
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
package/packs/neon-step-sequencer/examples/run-005-explore-songs-and-mixes-final/dom-summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"expected_viewport_count": 1,
|
|
3
|
+
"viewport_count": 1,
|
|
4
|
+
"partial": false,
|
|
5
|
+
"routes": [
|
|
6
|
+
{
|
|
7
|
+
"requested": "http://127.0.0.1:5173/games/drum-sequencer?song=monkberry-moon-delight-tab&mix=profile&view=trainer&instrument=bass",
|
|
8
|
+
"observed": "/games/drum-sequencer",
|
|
9
|
+
"expected_path": "/games/drum-sequencer",
|
|
10
|
+
"matched": true,
|
|
11
|
+
"http_status": 200
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"titles": [
|
|
15
|
+
"LilArcade"
|
|
16
|
+
],
|
|
17
|
+
"overflow_px": [
|
|
18
|
+
0
|
|
19
|
+
],
|
|
20
|
+
"bounds_overflow_px": [
|
|
21
|
+
0
|
|
22
|
+
],
|
|
23
|
+
"overflow_offender_counts": [
|
|
24
|
+
0
|
|
25
|
+
],
|
|
26
|
+
"frames": [
|
|
27
|
+
{
|
|
28
|
+
"viewport": "desktop",
|
|
29
|
+
"selectors": []
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"http_status": [],
|
|
33
|
+
"link_status": [],
|
|
34
|
+
"route_inventory": [],
|
|
35
|
+
"network_mock_count": 0,
|
|
36
|
+
"network_mock_hit_count": 0,
|
|
37
|
+
"dialog_count": 0,
|
|
38
|
+
"dialog_accept_count": 0,
|
|
39
|
+
"dialog_dismiss_count": 0
|
|
40
|
+
}
|