Record TubeSpline lowering validation

This commit is contained in:
Meta Vens 2026-05-26 22:58:53 +01:00
commit 7b2439f8f4
5 changed files with 13 additions and 5 deletions

View file

@ -223,8 +223,10 @@ binds them as a pipeline-private generated mesh before applying TubeField
material state. The generated-mesh DrawIndexed indirect command signature is
shared ABI; TubeField only owns the argument buffer it emits. TubeField
expansion is now gated by selected backend packets, so explicit lowering
metadata cannot bypass validation/planning authority. That is engine ownership,
not a reason for Mimir to create a parallel renderer.
metadata cannot bypass validation/planning authority. Validation also rejects
TubeSpline metadata whose claim is not Tube-encoded or whose resource differs
from the claim payload. That is engine ownership, not a reason for Mimir to
create a parallel renderer.
### 3. Calibration Constraint

View file

@ -196,7 +196,9 @@ a named invariant that the native runtime cannot protect yet.
generated lowerings can reuse the same draw ABI with their own producer
buffers and material bindings. TubeField dispatch now obeys the selected
backend packet plan; unplanned `TubeSplineLowering` records are counted but
not expanded.
not expanded. Fensalir validation also rejects TubeSpline lowering metadata
whose claim is not Tube-encoded or whose resource differs from the claim
payload.
- `MimirRuntime` queues bioacoustic timeline PCM through Fensalir audio when the
active timing witness is allowed. `MimirAudioSynchronizationSettings.Mode`
selects `chirp-only`, `passive`, or `hybrid`; passive disables active

View file

@ -350,7 +350,8 @@ its compute pass emits private vertex/index/indirect buffers and render binds
them as `D3D12PipelinePrivateGeneratedMesh` before applying source/ramp/material
state. The DrawIndexed indirect command signature has been lifted to the
generated-mesh lane instead of being TubeField-owned. TubeField expansion now
requires a planned TubeField backend packet for the lowering's claim.
requires a planned TubeField backend packet for the lowering's claim, and
validation rejects TubeSpline metadata whose claim/resource authority is split.
The current teardown/migration map is
`docs/fensalir-rendering-rebuild-migration.md`, paired with Fensalir's

View file

@ -154,3 +154,4 @@
{"ts": "2026-05-26T22:49:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir TubeField now renders through the first explicit pipeline-private generated mesh lane. Compute owns the private D3D12TubeFieldVertex/index/indirect argument layout; render binds those buffers as a D3D12PipelinePrivateGeneratedMesh before applying TubeField source/ramp/material root bindings and ExecuteIndirect. This follows the generated-mesh option without adding a public imported mesh renderer."}
{"ts": "2026-05-26T22:52:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir lifted the DrawIndexed indirect command signature from TubeField to the generated-mesh lane. TubeField still emits its own indirect argument buffer, but future pipeline-private generated mesh lowerings can share the same five-uint D3D12 DrawIndexedArguments ABI with their own producer buffers/material bindings."}
{"ts": "2026-05-26T22:55:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir TubeField expansion now follows selected backend packet authority. D3D12Renderer expands only TubeSplineLowerings whose claim has a planned TubeField packet; unplanned lowerings are counted in debug status instead of rendered. This prevents explicit lowering metadata from bypassing validation/planning."}
{"ts": "2026-05-26T22:58:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir validation now rejects TubeSpline lowering metadata if the referenced claim is not Tube-encoded or if the lowering resource differs from the claim payload resource. TubeField split authority is caught at validation, before renderer packet gating. Fensalir build/tests/headless reload passed."}

View file

@ -345,7 +345,9 @@ accepted_design:
The generated-mesh DrawIndexed indirect command signature is shared ABI now;
TubeField only owns the argument buffer it emits. TubeField expansion is now
gated by the selected backend packet plan, so lowering metadata cannot
bypass validation/planning authority.
bypass validation/planning authority. Validation also rejects TubeSpline
lowering metadata if its claim is not Tube-encoded or if its resource does
not match the claim payload.
- `config/perfect-machine.example.json` declares live owners, sensors,
reservoir views, and runtime policy.
- `src/Mimir.Runtime/Synchronization` now includes the Perfect Machine module