memlnaut-nisps/nisps/modes/generated/breakor_schema.hpp

570 lines
9.9 KiB
C++
Raw Normal View History

// AUTOGENERATED — do not edit. Source: schemas/modes/breakor.json. Run `bun run codegen/generate.ts` to regenerate.
#ifndef NISPS_GENERATED_BREAKOR_SCHEMA_HPP
#define NISPS_GENERATED_BREAKOR_SCHEMA_HPP
#include "schema_types.hpp"
refactor(codegen): codegen owns mode identity, per-mode schemas and net dims Phase 3 (S1, S5, S6, S25, L11, L37, ST11, ST12). Behaviour-preserving by construction: the diff on the generated directories is PURELY ADDITIVE (217 insertions, 0 deletions), so no emitted constant changed value. This moves where truth lives; it does not change what truth says. - S5: nine mode headers each carried a mechanically identical 12-field positional ParamSchema aggregate. codegen now emits one `inline constexpr ParamSchema k<Mode>Schema` per mode, and the struct itself moved into generated/schema_types.hpp. Each param_schema() is a one-line return. - S6 + S25: every mode hand-typed its net shape a second time as MLP template args, duplicating the schema's own dims. codegen emits a `<Mode>MLP` alias built from the already-emitted constants (not re-literalled), and all nine modes use it. NMaxExamples still defaults from kDefaultMaxExamples (Phase 2). - S1: model.ts hand-imported all nine schemas by name and hand-paired each with its overlay — so the SET of modes was hand-maintained and could silently drift from codegen. codegen now emits ALL_MODE_SCHEMAS; SCHEMA_MODE_OVERLAYS is purely display truth (label/glyph/css/order), which stays hand-curated. - L37: deleted the hand-written modeEngineId switch, which duplicated schema.engine_id and silently defaulted unknown modes to 'thru'. Routes on MFMode.engineId with exactly one documented exception: sound_analysis_midi declares engine_id 'thru' because its ModeBase audio slot really is NoOpEngine, while it separately drives the real AnalysisEngine. - L11: ExternalSynthMIDIMode's shape was literal in two places; now named once in an ext_synth_defaults namespace with an ExtSynthMIDIMLP alias. Full folding into the JSON pipeline is NOT done and the reason is recorded in-file: it is a template family over an externally-supplied Device and variable NOut, with no single (device, NOut) schema to author. - ST12: extracted codegen/lib.ts for the helpers both generators duplicated, and corrected the comment that claimed they had to be separate. Proof the extraction was behaviour-free: regenerating the MIDI-device outputs produces a byte-identical tree. - ST11: deleted codegen/templates/ — dead "reference" files no generator reads, already drifted from the real emitters. Gates: run-all-tests.sh ALL GREEN; codegen idempotent (re-running both generators yields no further diff), which is what CI's dirty-diff gate checks.
2026-07-21 14:02:23 +02:00
#include "../../ml/mlp.hpp"
namespace nisps::modes::generated {
inline constexpr std::string_view kBreakorModeId = "breakor";
inline constexpr std::string_view kBreakorEngineId = "breakor";
inline constexpr std::array<std::string_view, 4> kBreakorInputChannels = {{
"joy_x",
"joy_y",
"joy_z",
"joy_w",
}};
inline constexpr std::array<std::size_t, 3> kBreakorHiddenLayers = {{
10u,
14u,
18u,
}};
inline constexpr MLConfig kBreakorMLConfig = {
4u,
56u,
0.6f,
};
inline constexpr std::size_t kBreakorParamCount = 56u;
inline constexpr std::array<Param, kBreakorParamCount> kBreakorParams = {{
Param{
"kick_ratio0",
"Kick Ratio 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"kick",
},
Param{
"kick_ratio1",
"Kick Ratio 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"kick",
},
Param{
"kick_ratio2",
"Kick Ratio 2",
0.0f,
1.0f,
0.5f,
Curve::linear,
"kick",
},
Param{
"kick_pmul",
"Kick Phasor Mul",
0.0f,
1.0f,
0.0f,
Curve::linear,
"kick",
},
Param{
"kick_poff",
"Kick Phase Off",
0.0f,
1.0f,
0.0f,
Curve::linear,
"kick",
},
Param{
"kick_amp0",
"Kick Amp 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"kick",
},
Param{
"kick_amp1",
"Kick Amp 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"kick",
},
Param{
"snare_ratio0",
"Snare Ratio 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"snare",
},
Param{
"snare_ratio1",
"Snare Ratio 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"snare",
},
Param{
"snare_ratio2",
"Snare Ratio 2",
0.0f,
1.0f,
0.5f,
Curve::linear,
"snare",
},
Param{
"snare_pmul",
"Snare Phasor Mul",
0.0f,
1.0f,
0.0f,
Curve::linear,
"snare",
},
Param{
"snare_poff",
"Snare Phase Off",
0.0f,
1.0f,
0.0f,
Curve::linear,
"snare",
},
Param{
"snare_amp0",
"Snare Amp 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"snare",
},
Param{
"snare_amp1",
"Snare Amp 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"snare",
},
Param{
"tom_ratio0",
"Tom Ratio 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"tom",
},
Param{
"tom_ratio1",
"Tom Ratio 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"tom",
},
Param{
"tom_ratio2",
"Tom Ratio 2",
0.0f,
1.0f,
0.5f,
Curve::linear,
"tom",
},
Param{
"tom_pmul",
"Tom Phasor Mul",
0.0f,
1.0f,
0.0f,
Curve::linear,
"tom",
},
Param{
"tom_poff",
"Tom Phase Off",
0.0f,
1.0f,
0.0f,
Curve::linear,
"tom",
},
Param{
"tom_amp0",
"Tom Amp 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"tom",
},
Param{
"tom_amp1",
"Tom Amp 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"tom",
},
Param{
"lowtom_ratio0",
"LowTom Ratio 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"lowtom",
},
Param{
"lowtom_ratio1",
"LowTom Ratio 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"lowtom",
},
Param{
"lowtom_ratio2",
"LowTom Ratio 2",
0.0f,
1.0f,
0.5f,
Curve::linear,
"lowtom",
},
Param{
"lowtom_pmul",
"LowTom Phasor Mul",
0.0f,
1.0f,
0.0f,
Curve::linear,
"lowtom",
},
Param{
"lowtom_poff",
"LowTom Phase Off",
0.0f,
1.0f,
0.0f,
Curve::linear,
"lowtom",
},
Param{
"lowtom_amp0",
"LowTom Amp 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"lowtom",
},
Param{
"lowtom_amp1",
"LowTom Amp 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"lowtom",
},
Param{
"rim_ratio0",
"Rim Ratio 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"rim",
},
Param{
"rim_ratio1",
"Rim Ratio 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"rim",
},
Param{
"rim_ratio2",
"Rim Ratio 2",
0.0f,
1.0f,
0.5f,
Curve::linear,
"rim",
},
Param{
"rim_pmul",
"Rim Phasor Mul",
0.0f,
1.0f,
0.0f,
Curve::linear,
"rim",
},
Param{
"rim_poff",
"Rim Phase Off",
0.0f,
1.0f,
0.0f,
Curve::linear,
"rim",
},
Param{
"rim_amp0",
"Rim Amp 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"rim",
},
Param{
"rim_amp1",
"Rim Amp 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"rim",
},
Param{
"hat_ratio0",
"Hat Ratio 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"hat",
},
Param{
"hat_ratio1",
"Hat Ratio 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"hat",
},
Param{
"hat_ratio2",
"Hat Ratio 2",
0.0f,
1.0f,
0.5f,
Curve::linear,
"hat",
},
Param{
"hat_pmul",
"Hat Phasor Mul",
0.0f,
1.0f,
0.0f,
Curve::linear,
"hat",
},
Param{
"hat_poff",
"Hat Phase Off",
0.0f,
1.0f,
0.0f,
Curve::linear,
"hat",
},
Param{
"hat_amp0",
"Hat Amp 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"hat",
},
Param{
"hat_amp1",
"Hat Amp 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"hat",
},
Param{
"ophat_ratio0",
"OpenHat Ratio 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"openhat",
},
Param{
"ophat_ratio1",
"OpenHat Ratio 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"openhat",
},
Param{
"ophat_ratio2",
"OpenHat Ratio 2",
0.0f,
1.0f,
0.5f,
Curve::linear,
"openhat",
},
Param{
"ophat_pmul",
"OpenHat Phasor Mul",
0.0f,
1.0f,
0.0f,
Curve::linear,
"openhat",
},
Param{
"ophat_poff",
"OpenHat Phase Off",
0.0f,
1.0f,
0.0f,
Curve::linear,
"openhat",
},
Param{
"ophat_amp0",
"OpenHat Amp 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"openhat",
},
Param{
"ophat_amp1",
"OpenHat Amp 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"openhat",
},
Param{
"perc_ratio0",
"Perc Ratio 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"perc",
},
Param{
"perc_ratio1",
"Perc Ratio 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"perc",
},
Param{
"perc_ratio2",
"Perc Ratio 2",
0.0f,
1.0f,
0.5f,
Curve::linear,
"perc",
},
Param{
"perc_pmul",
"Perc Phasor Mul",
0.0f,
1.0f,
0.0f,
Curve::linear,
"perc",
},
Param{
"perc_poff",
"Perc Phase Off",
0.0f,
1.0f,
0.0f,
Curve::linear,
"perc",
},
Param{
"perc_amp0",
"Perc Amp 0",
0.0f,
1.0f,
0.5f,
Curve::linear,
"perc",
},
Param{
"perc_amp1",
"Perc Amp 1",
0.0f,
1.0f,
0.5f,
Curve::linear,
"perc",
},
}};
inline constexpr std::size_t kBreakorVoiceSpaceCount = 0u;
inline constexpr std::array<std::string_view, 0> kBreakorVoiceSpaces = {};
feat: curve truth, DriverConfig, real telemetry, engine benchmark Four items from one workflow, committed together because their build and CI wiring genuinely interleaves — nisps/CMakeLists.txt, run-all-tests.sh and ci.yml each carry hunks from two of them, and the stage renumbering (1/5 -> 1/6) touches every line. Splitting would produce commits that do not build, which is worse than a commit that does four things and says so. S26 part 2 — the curve declaration now matches reality. params[].curve stays the mode-wide DEFAULT; a voice_spaces entry may now be {name, curve_overrides} declaring only the slots where THAT voice space deviates. The 6 modes with one voice space are byte-identical. The values were derived MECHANICALLY by a new codegen/curve-audit.ts that models the four idioms a p[N]*p[N] regex misses (alias form, memlcelium's implicit-counter sq() lambda, loop-generated indices, smooth_params_), inlines helpers, and RAISES rather than guessing when it cannot reduce an expression. A drift gate cross-checks 1179 (voice space x param) slots against engine source on every run and was proved to fail loudly on three drift classes. Application stays in the engine: nisps/engines, nisps/pipeline and nisps/core are untouched, generated output is pure insertion (755 insertions, 0 deletions), and the rebuilt nisps.wasm was byte-identical. S4 / 7.2 — firmware reads the active mode's driver config at mode start, and mic/line is real. My brief assumed the engine owns this; the code disagreed and the code was right. sound_analysis_midi's EngineT is NoOpEngine — the mic lives on a separately-composed AnalysisEngine member — so engine-level wiring would have compiled, passed every gate, and left the one mic mode on line input. Hence a mode-level seam defaulting to engine().driver_config(). Separately, DriverConfig's defaults (line_level 0, output_volume 1.0) had drifted from memllib's actual 3/0.8 because nothing had ever read them; wiring them as-is would have made every silent mode louder and its line input maximally insensitive — a behaviour change disguised as plumbing. Now pinned by a test. Also: GetSysClockSpeed() panic()s on unsupported sample rates and runs on the first line of setup(), so sample_rate needed a fallback ahead of clock setup. CI's firmware env list gains soundanalysismidi — it is the only mic variant and nothing else compiles that path. Plan 5e — telemetry is real. A loss_history C-API entry across the full 5-layer chain lets the browser read the per-iteration loss the core already records. The audit named one fabrication site; there were two — wasm-iml.ts's synchronous train() published lossHistory: [loss] as well. A third, ctx.loss, was not merely dead but actively synthetic (fallbacks of prev * 0.82 and a literal 0.5, rendered by nothing) and is deleted. The firmware buffer stays untouched, per the L25 call. EngineApi.lossHistory() reads spine state rather than the MLP handle, because trainAsync() fits on the worker's mirror net and the handle would give a subtly-wrong second answer. Plan 5f — engine throughput is measurable. One source compiled twice (CMake natively, emcc for WASM) so the targets compare directly and no WASM export is added. Sequencers are driven into a working state, and every row prints its own working-state evidence so a number produced by an idle engine is visible rather than plausible. Reports, never asserts: a wall-clock threshold on shared hardware is meaningless or flaky, same call as the firmware size job. ALIGNMENT: the telemetry defect is deleted (built, not deferred); the performance defect is rewritten to what is actually left — these are HOST numbers, and nothing measures the RP2350 at 150 MHz, which is the target the mission's constraint is about. Q4 (memllib ownership) and Q5 (legacy feedback modes) are closed. Corrections to my own earlier claims, both found by agents contradicting the brief: manifold/ONBOARDING.md was NOT "now accurate" — its primitives list still named five deleted primitives and cited a seededGradient() that does not exist. And the parity harness misses the sequencer engines because it runs 128 frames while their sequencers evaluate every 400-500 samples, NOT because all-params-0.5 fails to trigger them (it does trigger: 0.5 maps to ratio 2, firing three times per bar). The fix is a longer window, not different params. Gates: run-all-tests.sh ALL GREEN — 4/4 ctest, parity PASS, lint clean, curve drift 1179 slots ok, 39 e2e (was 33). Firmware: 5 envs built including the mic variant.
2026-07-21 22:02:23 +02:00
inline constexpr std::array<CurveOverride, 0> kBreakorCurveOverrides = {};
inline constexpr UIConfig kBreakorUI = {
PrimaryInput::XYPad,
false,
false,
};
refactor(codegen): codegen owns mode identity, per-mode schemas and net dims Phase 3 (S1, S5, S6, S25, L11, L37, ST11, ST12). Behaviour-preserving by construction: the diff on the generated directories is PURELY ADDITIVE (217 insertions, 0 deletions), so no emitted constant changed value. This moves where truth lives; it does not change what truth says. - S5: nine mode headers each carried a mechanically identical 12-field positional ParamSchema aggregate. codegen now emits one `inline constexpr ParamSchema k<Mode>Schema` per mode, and the struct itself moved into generated/schema_types.hpp. Each param_schema() is a one-line return. - S6 + S25: every mode hand-typed its net shape a second time as MLP template args, duplicating the schema's own dims. codegen emits a `<Mode>MLP` alias built from the already-emitted constants (not re-literalled), and all nine modes use it. NMaxExamples still defaults from kDefaultMaxExamples (Phase 2). - S1: model.ts hand-imported all nine schemas by name and hand-paired each with its overlay — so the SET of modes was hand-maintained and could silently drift from codegen. codegen now emits ALL_MODE_SCHEMAS; SCHEMA_MODE_OVERLAYS is purely display truth (label/glyph/css/order), which stays hand-curated. - L37: deleted the hand-written modeEngineId switch, which duplicated schema.engine_id and silently defaulted unknown modes to 'thru'. Routes on MFMode.engineId with exactly one documented exception: sound_analysis_midi declares engine_id 'thru' because its ModeBase audio slot really is NoOpEngine, while it separately drives the real AnalysisEngine. - L11: ExternalSynthMIDIMode's shape was literal in two places; now named once in an ext_synth_defaults namespace with an ExtSynthMIDIMLP alias. Full folding into the JSON pipeline is NOT done and the reason is recorded in-file: it is a template family over an externally-supplied Device and variable NOut, with no single (device, NOut) schema to author. - ST12: extracted codegen/lib.ts for the helpers both generators duplicated, and corrected the comment that claimed they had to be separate. Proof the extraction was behaviour-free: regenerating the MIDI-device outputs produces a byte-identical tree. - ST11: deleted codegen/templates/ — dead "reference" files no generator reads, already drifted from the real emitters. Gates: run-all-tests.sh ALL GREEN; codegen idempotent (re-running both generators yields no further diff), which is what CI's dirty-diff gate checks.
2026-07-21 14:02:23 +02:00
using BreakorMLP = ::nisps::ml::MLP<kBreakorMLConfig.input_size, kBreakorHiddenLayers[0], kBreakorHiddenLayers[1], kBreakorHiddenLayers[2], kBreakorMLConfig.output_size>;
inline constexpr ::nisps::ParamSchema kBreakorSchema = {
kBreakorModeId,
kBreakorEngineId,
std::span<const std::string_view>(kBreakorInputChannels),
kBreakorMLConfig.input_size,
std::span<const std::size_t>(kBreakorHiddenLayers),
kBreakorMLConfig.output_size,
kBreakorMLConfig.default_spread,
std::span<const Param>(kBreakorParams),
std::span<const std::string_view>(kBreakorVoiceSpaces),
feat: curve truth, DriverConfig, real telemetry, engine benchmark Four items from one workflow, committed together because their build and CI wiring genuinely interleaves — nisps/CMakeLists.txt, run-all-tests.sh and ci.yml each carry hunks from two of them, and the stage renumbering (1/5 -> 1/6) touches every line. Splitting would produce commits that do not build, which is worse than a commit that does four things and says so. S26 part 2 — the curve declaration now matches reality. params[].curve stays the mode-wide DEFAULT; a voice_spaces entry may now be {name, curve_overrides} declaring only the slots where THAT voice space deviates. The 6 modes with one voice space are byte-identical. The values were derived MECHANICALLY by a new codegen/curve-audit.ts that models the four idioms a p[N]*p[N] regex misses (alias form, memlcelium's implicit-counter sq() lambda, loop-generated indices, smooth_params_), inlines helpers, and RAISES rather than guessing when it cannot reduce an expression. A drift gate cross-checks 1179 (voice space x param) slots against engine source on every run and was proved to fail loudly on three drift classes. Application stays in the engine: nisps/engines, nisps/pipeline and nisps/core are untouched, generated output is pure insertion (755 insertions, 0 deletions), and the rebuilt nisps.wasm was byte-identical. S4 / 7.2 — firmware reads the active mode's driver config at mode start, and mic/line is real. My brief assumed the engine owns this; the code disagreed and the code was right. sound_analysis_midi's EngineT is NoOpEngine — the mic lives on a separately-composed AnalysisEngine member — so engine-level wiring would have compiled, passed every gate, and left the one mic mode on line input. Hence a mode-level seam defaulting to engine().driver_config(). Separately, DriverConfig's defaults (line_level 0, output_volume 1.0) had drifted from memllib's actual 3/0.8 because nothing had ever read them; wiring them as-is would have made every silent mode louder and its line input maximally insensitive — a behaviour change disguised as plumbing. Now pinned by a test. Also: GetSysClockSpeed() panic()s on unsupported sample rates and runs on the first line of setup(), so sample_rate needed a fallback ahead of clock setup. CI's firmware env list gains soundanalysismidi — it is the only mic variant and nothing else compiles that path. Plan 5e — telemetry is real. A loss_history C-API entry across the full 5-layer chain lets the browser read the per-iteration loss the core already records. The audit named one fabrication site; there were two — wasm-iml.ts's synchronous train() published lossHistory: [loss] as well. A third, ctx.loss, was not merely dead but actively synthetic (fallbacks of prev * 0.82 and a literal 0.5, rendered by nothing) and is deleted. The firmware buffer stays untouched, per the L25 call. EngineApi.lossHistory() reads spine state rather than the MLP handle, because trainAsync() fits on the worker's mirror net and the handle would give a subtly-wrong second answer. Plan 5f — engine throughput is measurable. One source compiled twice (CMake natively, emcc for WASM) so the targets compare directly and no WASM export is added. Sequencers are driven into a working state, and every row prints its own working-state evidence so a number produced by an idle engine is visible rather than plausible. Reports, never asserts: a wall-clock threshold on shared hardware is meaningless or flaky, same call as the firmware size job. ALIGNMENT: the telemetry defect is deleted (built, not deferred); the performance defect is rewritten to what is actually left — these are HOST numbers, and nothing measures the RP2350 at 150 MHz, which is the target the mission's constraint is about. Q4 (memllib ownership) and Q5 (legacy feedback modes) are closed. Corrections to my own earlier claims, both found by agents contradicting the brief: manifold/ONBOARDING.md was NOT "now accurate" — its primitives list still named five deleted primitives and cited a seededGradient() that does not exist. And the parity harness misses the sequencer engines because it runs 128 frames while their sequencers evaluate every 400-500 samples, NOT because all-params-0.5 fails to trigger them (it does trigger: 0.5 maps to ratio 2, firing three times per bar). The fix is a longer window, not different params. Gates: run-all-tests.sh ALL GREEN — 4/4 ctest, parity PASS, lint clean, curve drift 1179 slots ok, 39 e2e (was 33). Firmware: 5 envs built including the mic variant.
2026-07-21 22:02:23 +02:00
std::span<const CurveOverride>(kBreakorCurveOverrides),
refactor(codegen): codegen owns mode identity, per-mode schemas and net dims Phase 3 (S1, S5, S6, S25, L11, L37, ST11, ST12). Behaviour-preserving by construction: the diff on the generated directories is PURELY ADDITIVE (217 insertions, 0 deletions), so no emitted constant changed value. This moves where truth lives; it does not change what truth says. - S5: nine mode headers each carried a mechanically identical 12-field positional ParamSchema aggregate. codegen now emits one `inline constexpr ParamSchema k<Mode>Schema` per mode, and the struct itself moved into generated/schema_types.hpp. Each param_schema() is a one-line return. - S6 + S25: every mode hand-typed its net shape a second time as MLP template args, duplicating the schema's own dims. codegen emits a `<Mode>MLP` alias built from the already-emitted constants (not re-literalled), and all nine modes use it. NMaxExamples still defaults from kDefaultMaxExamples (Phase 2). - S1: model.ts hand-imported all nine schemas by name and hand-paired each with its overlay — so the SET of modes was hand-maintained and could silently drift from codegen. codegen now emits ALL_MODE_SCHEMAS; SCHEMA_MODE_OVERLAYS is purely display truth (label/glyph/css/order), which stays hand-curated. - L37: deleted the hand-written modeEngineId switch, which duplicated schema.engine_id and silently defaulted unknown modes to 'thru'. Routes on MFMode.engineId with exactly one documented exception: sound_analysis_midi declares engine_id 'thru' because its ModeBase audio slot really is NoOpEngine, while it separately drives the real AnalysisEngine. - L11: ExternalSynthMIDIMode's shape was literal in two places; now named once in an ext_synth_defaults namespace with an ExtSynthMIDIMLP alias. Full folding into the JSON pipeline is NOT done and the reason is recorded in-file: it is a template family over an externally-supplied Device and variable NOut, with no single (device, NOut) schema to author. - ST12: extracted codegen/lib.ts for the helpers both generators duplicated, and corrected the comment that claimed they had to be separate. Proof the extraction was behaviour-free: regenerating the MIDI-device outputs produces a byte-identical tree. - ST11: deleted codegen/templates/ — dead "reference" files no generator reads, already drifted from the real emitters. Gates: run-all-tests.sh ALL GREEN; codegen idempotent (re-running both generators yields no further diff), which is what CI's dirty-diff gate checks.
2026-07-21 14:02:23 +02:00
kBreakorUI,
};
} // namespace nisps::modes::generated
#endif // NISPS_GENERATED_BREAKOR_SCHEMA_HPP