Commit graph AquaSynth/tests
Author SHA1 Message Date
Aqua
28e37f5cbb IpaGestureExperiment: use StoreFileName, delete the last SafeFileName copy
Round and candidate ids in the IPA experiment bundle went through a private
sanitiser that mapped distinct ids ("a/b", "a-b") to one file and accepted
".." as a round id. They now go through the shared StoreFileName.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 06:35:25 +00:00
Aqua
abfc816804 StoreFileName: close review findings (collisions, case, device stems, length, renderId)
- Pass-through ids may not end in "-<16 hex>", so a rewritten name fed back as an id cannot alias it; hash widened 32 -> 64 bits.
- Ids with uppercase are rewritten (case-insensitive filesystems).
- Windows device stems (CON PRN AUX NUL COM0-9 LPT0-9, any extension) are rewritten.
- Stem capped at 100 chars; longer ids carry the hash.
- Daemon samples/ write now goes through StoreFileName.From(renderId).
- Tests: rewritten-as-id, case-only, device stems, overlong; daemon test uses a compiling patch so the samples/ write is reached when Faust is present.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 20:00:30 +00:00
Aqua
396da106cd One StoreFileName in Core: no id collisions, no '..' escape
The daemon and native-runtime SafeFileName copies sanitised differently:
the daemon mapped a/b, a b, a:b and a-b to the same name (a later patch
overwrote an earlier artifact) and returned ".." unchanged, so a
sessionId or runId of ".." resolved one directory above the store.

Replace both with AquaSynth.Dsl.StoreFileName.From. Ids within
[A-Za-z0-9._-] pass through; any other id is sanitised and suffixed with
the first 8 hex of SHA-256 of the original. Empty, "." and all-dot ids
are refused (ArgumentException).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 18:29:25 +00:00
Aqua
1bf99e5c3f aqua-feel: review fixes (attack on low tones, disarmed guards, bounded waivers, drift test)
- attack: peak-hold envelope and a 150 ms window; a 261 Hz tone no longer reads its
  first half-cycle as the attack (warm-bell 0.67 ms -> 3.8 ms, declared 4 ms).
- gate: a rule whose id matches no item fails a full run; waivers carry a bound and
  cover only up to it; a missing metric fails its rule; silent items fail once;
  --only runs gate as partial; silent threshold is -70 dBFS.
- DingCatalogTests: lowered Dings fed to the meter must match the catalog.
- README states NTR window/Q dependence, short-buffer loudness padding and the assumed
  Ding command gain; faust-toolchain-boundary notes the v5 manifest predates the mix change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 15:42:13 +00:00
Aqua
53f1f1b03e Faust loader: platform-aware library lookup and explicit path override
Find libfaust.so on Linux, libfaust.dylib on macOS, libfaust.dll/faust.dll on
Windows; join PATH with Path.PathSeparator; accept FaustLibraryPath or
AQUASYNTH_FAUST_LIBRARY as an explicit library file. Platform default homes
replace the unconditional C:\Program Files\Faust.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 09:14:08 +00:00
Meta Vens
aed65255cc Follow CultLib Cut 3: opening hydrates, PullOnOpen is gone
CultLib's CultCacheMessagePack.Create and OpenAsync now always read the store,
and CultCacheOpenOptions.PullOnOpen no longer exists.

- CultCachePatchDocumentStore.WriteDefaultAsync and
  AquaSynthDaemonService.WriteReceiptAsync write single-document files. They
  open (which hydrates), remove every record other than the one they write,
  upsert, and flush; the flush replaces the file atomically. Before this,
  Create never pulled, so their PullOnOpen = false was already a no-op.
- IpaTrialResults and SpeechDistributedTraining passed File.Exists-style
  PullOnOpen values; hydrating a missing store is empty, so the option goes.
- AquaSynthDaemonServiceTests drops PullOnOpen = true.

Globals: nothing in CultLib invents a [CultGlobal] record any more. AquaSynth
never relied on that: its three global types are positional records with no
parameterless constructor, which the old invention skipped, and every one is
written explicitly and read back by explicit key or GetAll.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-13 17:59:48 +02:00
Meta Vens
9051f4b6db Share Dings MCP across agent sessions 2026-08-21 21:18:45 +02:00
Meta Vens
348d677248 Centralize Dings playback and volume 2026-07-15 01:18:09 +01:00
Meta Vens
9abb7e4164 Add curated AquaSynth dings MCP service 2026-07-14 01:06:12 +01:00
Meta Vens
a87e5aa4e0 Publish AquaSynth live session state 2026-06-15 03:33:03 +01:00
Meta Vens
0da43b9439 Add AquaSynth live session close command 2026-06-15 03:20:09 +01:00
Meta Vens
50ed85ae41 Add AquaSynth live instrument daemon sessions 2026-06-15 03:08:53 +01:00
Meta Vens
6e93513e8e Add AquaSynth local CultNet daemon 2026-06-15 01:45:01 +01:00
Meta Vens
8c5f6d604a Add AquaSynth automation stream receipts 2026-06-15 01:22:25 +01:00
Meta Vens
ee6501558c Add AquaSynth sample daemon 2026-06-15 01:07:56 +01:00
Meta Vens
c67158116a Repair AquaSynth merge witnesses 2026-06-15 00:32:54 +01:00
Meta Vens
fd6aa863a7 Teach music agents retriggered 808 drums 2026-06-01 12:07:51 +01:00
Meta Vens
8250afc39a Gate song swarm on self-iteration evidence 2026-06-01 05:48:03 +01:00
Meta Vens
e13fdbc21b Add production sugar for music agents 2026-06-01 04:44:11 +01:00
Meta Vens
03cd6007f8 Expose song render failures 2026-06-01 01:55:37 +01:00
Meta Vens
378d8e1fb3 Redirect song curriculum toward composition 2026-05-31 22:16:28 +01:00
Meta Vens
a3c01523c3 Add shaped scene texture sugar 2026-05-31 08:09:43 +01:00
Meta Vens
37c580c800 Add song target evidence records 2026-05-31 03:37:07 +01:00
Meta Vens
f16ea641af Embed primitive timeline facts in IPA trials 2026-05-31 00:41:28 +01:00
Meta Vens
d1789d6677 Automate IPA trial exploration loop 2026-05-29 23:13:34 +01:00
Meta Vens
05cf7d36d6 Add IPA trial render orchestration 2026-05-29 22:45:51 +01:00
Meta Vens
62178531f9 Add IPA gesture experiment harness 2026-05-29 22:20:46 +01:00
Meta Vens
82bb867e21 Add IPA phoneme gesture spline sugar 2026-05-29 21:53:13 +01:00
Meta Vens
1bf220027d Expose public gesture timeline API 2026-05-29 20:21:16 +01:00
Meta Vens
5e1463fcb9 Add primitive vocal control surfaces and splines 2026-05-29 20:03:32 +01:00
Meta Vens
073c4873e0 Correct primitive source and radiation timeline laws 2026-05-29 16:58:13 +01:00
Meta Vens
4a3b16bddd Write PT primitive timeline artifacts 2026-05-29 16:52:03 +01:00
Meta Vens
0d05a3a12e Expose PT timeline comparison for primitive vocals 2026-05-29 16:49:37 +01:00
Meta Vens
bd391bfb84 Add primitive vocal telemetry comparison reports 2026-05-29 16:45:14 +01:00
Meta Vens
4d7d26030b Rebuild vocal tract lowering around primitives 2026-05-29 16:30:59 +01:00
Meta Vens
f148fb575c Bind generated lip radiation opening 2026-05-29 15:22:47 +01:00
Meta Vens
72ae6cafdb Compact generated tract graphs 2026-05-29 14:21:34 +01:00
Meta Vens
04f08e1fe7 Limit generated tract contact owners 2026-05-29 13:31:53 +01:00
Meta Vens
25e8850f27 Feed radiation load back into acoustic graph 2026-05-29 12:37:32 +01:00
Meta Vens
2f541f233d Move closure release into graph scattering 2026-05-29 03:33:38 +01:00
Meta Vens
7e3a499593 Add thrombosis graph timeline probes 2026-05-29 02:21:16 +01:00
Meta Vens
d8a33f7e6b Bound PT utterance render diagnostics 2026-05-29 01:57:38 +01:00
Meta Vens
e21edd2fa9 Demote vocal drive to flow calibration 2026-05-29 01:27:40 +01:00
Meta Vens
7936912a1a Add smooth vocal gesture curves 2026-05-28 23:19:57 +01:00
Meta Vens
c37af981a6 Fix graph tissue valve pitch ownership 2026-05-28 22:28:50 +01:00
Meta Vens
7111e1819c Add tissue modal resonance to valve flow 2026-05-28 20:55:41 +01:00
Meta Vens
12e5669ebc Expand graph vocal modeling DSL 2026-05-28 20:26:58 +01:00
Meta Vens
aa779473c4 Add realtime-drivable control curves 2026-05-28 19:18:20 +01:00
Meta Vens
2a99d1909b Add graph-coupled tissue valve sources 2026-05-28 16:47:44 +01:00
Meta Vens
2ee882c612 Add graph source load and syrinx patch 2026-05-28 14:57:40 +01:00