Add Move proof runtime configuration

This commit is contained in:
Meta Vens 2026-07-12 10:41:48 +01:00
commit 83ddd3f509
8 changed files with 315 additions and 39 deletions

View file

@ -104,6 +104,15 @@ a named invariant that the native runtime cannot protect yet.
duplicate frame admission. `Mimir.BufferSmoke --move-proof-runtime-driver-smoke`
proves `MimirRuntime.Update` can pull one ring frame into the same-sequence
proof chain and visible spline frame.
- `MimirMoveProofRuntimeConfiguration` is the typed runtime configuration and
validation contract for future real Move proof subscriptions. An enabled
source names the Muninn evidence stream, native reservoir path, Mimir evidence
and pose frame prefixes, Fensalir presented-frame prefix, fusion authority,
consumer contract, and at least two calibrated camera witnesses. It creates
`MimirMoveProofRuntimeDriver` only after the supplied ring stream id matches
the configured evidence stream. The current C# CultMesh ring used by the
smoke is still in-process; real Nightwing/Starfire cross-process ring opening
remains pending.
- `MimirMoveProofDevSurface` is a dev-only bootstrap gated by
`MIMIR_MOVE_PROOF_DEV_SURFACE`. It uses the same runtime proof attachment so
`Mimir.BufferSmoke --move-proof-presented-frame-smoke` can run `Mimir.App`

View file

@ -225,6 +225,14 @@ suffix, calls `MimirMoveProofPipeline`, suppresses duplicate frame admission,
and lets `MimirRuntime.Update` publish the resulting proof surface. This proves
the runtime-owned path for a ring frame; real Nightwing hardware and calibrated
camera witnesses are still the missing field proof.
`MimirMoveProofRuntimeConfiguration` is the typed selection and validation
surface for that bridge. An enabled source must name the Muninn evidence stream,
native reservoir path, Mimir evidence/pose frame prefixes, Fensalir
presented-frame prefix, fusion authority, consumer contract, and at least two
calibrated camera witnesses. It may create a runtime driver only when the
supplied CultMesh ring stream id matches the configured evidence stream. This
does not yet open a cross-process live ring; the current smoke ring is
in-process proof of the Mimir-side contract.
`MimirMoveProofDevSurface` is a dev-only bootstrap gated by
`MIMIR_MOVE_PROOF_DEV_SURFACE`. It publishes a synthetic calibrated proof
surface through the same `MimirRuntime.PublishMoveProofSurface` attachment so

View file

@ -161,6 +161,12 @@ if (args.Any(arg => string.Equals(arg, "--move-proof-runtime-driver-smoke", Stri
ParseStringOption(args, "--native-reservoir", DefaultNativeReservoirPath()));
}
if (args.Any(arg => string.Equals(arg, "--move-proof-runtime-config-smoke", StringComparison.OrdinalIgnoreCase)))
{
return RunMoveProofRuntimeDriverSmoke(
ParseStringOption(args, "--native-reservoir", DefaultNativeReservoirPath()));
}
if (args.Any(arg => string.Equals(arg, "--move-proof-presented-frame-smoke", StringComparison.OrdinalIgnoreCase)))
{
return RunMoveProofPresentedFrameSmoke(
@ -2337,31 +2343,56 @@ static int RunMoveProofRuntimeDriverSmoke(string nativeReservoirPath)
Battery01: 0.72f,
ObservedAt: observedAt)
]);
var calibration = new MimirMoveFusionRigCalibration(
CalibrationId: "mimir-move-stage-calibration-v1",
TrackingSpaceId: "mimir-stage-space",
Cameras:
[
new MimirMoveFusionCameraCalibration(
CameraId: "nightwing:ps3-eye-0",
WitnessIdHash: leftWitnessHash,
PositionMeters: new MimirVector3Snapshot(-0.1, 0.0, 0.0),
Orientation: new MimirQuaternionSnapshot(0.0, 0.0, 0.0, 1.0),
FocalLengthXPx: 100.0,
FocalLengthYPx: 100.0,
PrincipalPointXPx: 160.0,
PrincipalPointYPx: 120.0),
new MimirMoveFusionCameraCalibration(
CameraId: "starfire:ps3-eye-1",
WitnessIdHash: rightWitnessHash,
PositionMeters: new MimirVector3Snapshot(0.1, 0.0, 0.0),
Orientation: new MimirQuaternionSnapshot(0.0, 0.0, 0.0, 1.0),
FocalLengthXPx: 100.0,
FocalLengthYPx: 100.0,
PrincipalPointXPx: 160.0,
PrincipalPointYPx: 120.0)
],
MaximumAssociationSkewMilliseconds: 20.0);
var configuration = new MimirMoveProofRuntimeConfiguration
{
EvidenceStreamId = streamId,
NativeReservoirPath = nativeReservoirPath,
MimirEvidenceSourceId = "mimir:starfire:move-evidence",
MimirEvidenceFramePrefix = "mimir:starfire:move-evidence",
MimirPoseFramePrefix = "mimir:starfire:move-pose",
MimirPoseProducerPeerId = "mimir:starfire",
FensalirFramePrefix = "fensalir:starfire:presented-frame",
Calibration = new MimirMoveProofCalibrationConfiguration
{
CalibrationId = "mimir-move-stage-calibration-v1",
TrackingSpaceId = "mimir-stage-space",
Cameras =
[
new MimirMoveProofCameraCalibrationConfiguration
{
CameraId = "nightwing:ps3-eye-0",
WitnessIdHash = leftWitnessHash,
PositionMeters = new MimirVector3Snapshot(-0.1, 0.0, 0.0),
Orientation = new MimirQuaternionSnapshot(0.0, 0.0, 0.0, 1.0),
FocalLengthXPx = 100.0,
FocalLengthYPx = 100.0,
PrincipalPointXPx = 160.0,
PrincipalPointYPx = 120.0,
},
new MimirMoveProofCameraCalibrationConfiguration
{
CameraId = "starfire:ps3-eye-1",
WitnessIdHash = rightWitnessHash,
PositionMeters = new MimirVector3Snapshot(0.1, 0.0, 0.0),
Orientation = new MimirQuaternionSnapshot(0.0, 0.0, 0.0, 1.0),
FocalLengthXPx = 100.0,
FocalLengthYPx = 100.0,
PrincipalPointXPx = 160.0,
PrincipalPointYPx = 120.0,
}
],
MaximumAssociationSkewMilliseconds = 20.0,
},
};
var configErrors = configuration.Validate();
var invalidErrors = new MimirMoveProofRuntimeConfiguration().Validate();
if (configErrors.Length > 0 || invalidErrors.Length == 0)
{
Console.Error.WriteLine(
$"move-proof-runtime-driver-smoke config-invalid errors={string.Join("|", configErrors)} invalidDefaultErrors={invalidErrors.Length}");
return 1;
}
var catalog = CultMesh.CreateStreamCatalog();
catalog.Declare(MimirMuninnMoveEvidenceAdapter.CreateStreamDescriptor(
streamId,
@ -2378,16 +2409,7 @@ static int RunMoveProofRuntimeDriverSmoke(string nativeReservoirPath)
catalog.PublishFrame(published);
using var reservoir = new MimirNativeReservoirRuntime(nativeReservoirPath);
var driver = new MimirMoveProofRuntimeDriver(
ring,
reservoir,
calibration,
new MimirMoveProofRuntimeDriverOptions(
MimirEvidenceSourceId: "mimir:starfire:move-evidence",
MimirEvidenceFramePrefix: "mimir:starfire:move-evidence",
MimirPoseFramePrefix: "mimir:starfire:move-pose",
MimirPoseProducerPeerId: "mimir:starfire",
FensalirFramePrefix: "fensalir:starfire:presented-frame"));
var driver = configuration.CreateDriver(ring, reservoir);
var runtime = new MimirRuntime(
new AquariumRuntimeOptions(Headless: true, CultCachePath: ""),
new MimirSynchronizationSettings());
@ -2403,7 +2425,7 @@ static int RunMoveProofRuntimeDriverSmoke(string nativeReservoirPath)
var duplicateSuppressed = reservoir.Status.MoveEvidenceCount.ToUInt64() == 1UL;
Console.WriteLine(
$"move-proof-runtime-driver-smoke proof={proofSurface?.ProofId ?? "none"} chain={proofSurface?.MuninnEvidenceFrameId ?? "none"}->{proofSurface?.MimirEvidenceFrameId ?? "none"}->{proofSurface?.MimirPoseFrameId ?? "none"}->{proofSurface?.FensalirFrameId ?? "none"} verdict={proofSurface?.Verdict.ToString() ?? "none"} splines={proofSplineCount} duplicateSuppressed={duplicateSuppressed}");
$"move-proof-runtime-driver-smoke proof={proofSurface?.ProofId ?? "none"} chain={proofSurface?.MuninnEvidenceFrameId ?? "none"}->{proofSurface?.MimirEvidenceFrameId ?? "none"}->{proofSurface?.MimirPoseFrameId ?? "none"}->{proofSurface?.FensalirFrameId ?? "none"} verdict={proofSurface?.Verdict.ToString() ?? "none"} splines={proofSplineCount} duplicateSuppressed={duplicateSuppressed} configValid={configErrors.Length == 0} invalidDefaultErrors={invalidErrors.Length}");
return proofSurface is not null &&
proofSurface.IsFullPose &&

View file

@ -39,6 +39,7 @@ direct
private readonly MimirSynchronizationHub synchronization;
private readonly MimirAudioSpectrumAnalyzer spectrumAnalyzer;
private readonly IReadOnlyList<MimirStreamSourceFactory> sourceFactories;
private readonly IReadOnlyList<MimirMoveProofRuntimeConfiguration> configuredMoveProofSources;
private readonly AquariumUiDocument ui;
private readonly AquariumAudioDocument audio = new();
private readonly MimirAudioSynchronizationSettings audioSyncSettings;
@ -71,7 +72,7 @@ direct
}
public MimirRuntime(AquariumRuntimeOptions options, MimirRuntimeConfiguration configuration)
: this(options, configuration.Settings, configuration.SourceFactories)
: this(options, configuration.Settings, configuration.SourceFactories, configuration.MoveProofSources)
{
}
@ -84,7 +85,7 @@ direct
AquariumRuntimeOptions options,
MimirSynchronizationSettings settings,
IEnumerable<IMimirStreamSource> streamSources)
: this(options, settings, Array.Empty<MimirStreamSourceFactory>())
: this(options, settings, Array.Empty<MimirStreamSourceFactory>(), Array.Empty<MimirMoveProofRuntimeConfiguration>())
{
foreach (var source in streamSources)
{
@ -95,12 +96,14 @@ direct
private MimirRuntime(
AquariumRuntimeOptions options,
MimirSynchronizationSettings settings,
IEnumerable<MimirStreamSourceFactory> sourceFactories)
IEnumerable<MimirStreamSourceFactory> sourceFactories,
IEnumerable<MimirMoveProofRuntimeConfiguration> moveProofSources)
{
Options = options;
synchronization = new MimirSynchronizationHub(settings);
spectrumAnalyzer = new MimirAudioSpectrumAnalyzer(ParseSpectrumFftSize());
this.sourceFactories = sourceFactories.ToArray();
configuredMoveProofSources = moveProofSources.ToArray();
audioSyncSettings = settings.Audio;
telemetryIntervalSeconds = ParseTelemetryIntervalSeconds();
audioSyncUpdateIntervalSeconds = ParseAudioSyncIntervalSeconds();
@ -288,6 +291,7 @@ direct
panel.Readout("Chirplet reference", DescribeChirpletReference);
panel.Section("Move Proof");
panel.Readout("Latest proof", DescribeMoveProofSurface);
panel.Readout("Configured proof", DescribeConfiguredMoveProofSources);
panel.Readout("Proof drivers", DescribeMoveProofDrivers);
panel.Section("Live FFT");
panel.Readout("Spectrum cadence", () => sceneReady
@ -325,6 +329,19 @@ direct
return string.Join(Environment.NewLine, moveProofDrivers.Select(driver => driver.Describe()));
}
private string DescribeConfiguredMoveProofSources()
{
if (configuredMoveProofSources.Count == 0)
{
return "No Move proof sources configured.";
}
return string.Join(
Environment.NewLine,
configuredMoveProofSources.Select(source =>
$"{source.EvidenceStreamId} -> {source.MimirPoseFramePrefix}:<sequence> cameras={source.Calibration.Cameras.Count}"));
}
private void UpdateMoveProofSurfaces()
{
if (moveProofDrivers.Count == 0)

View file

@ -0,0 +1,195 @@
using GameCult.Mesh;
namespace Mimir.Runtime.Synchronization;
public sealed class MimirMoveProofRuntimeConfiguration
{
public bool Enabled { get; init; } = true;
public string EvidenceStreamId { get; init; } = "muninn:nightwing:move-evidence";
public string NativeReservoirPath { get; init; } = "";
public string MimirEvidenceSourceId { get; init; } = "mimir:starfire:move-evidence";
public string MimirEvidenceFramePrefix { get; init; } = "mimir:starfire:move-evidence";
public string MimirPoseFramePrefix { get; init; } = "mimir:starfire:move-pose";
public string MimirPoseProducerPeerId { get; init; } = "mimir:starfire";
public string FensalirFramePrefix { get; init; } = "fensalir:starfire:presented-frame";
public string FusionAuthorityId { get; init; } = "mimir.runtime.move-fusion";
public string ConsumerContract { get; init; } = "fensalir.move-controller-input";
public MimirMoveProofCalibrationConfiguration Calibration { get; init; } = new();
public string[] Validate()
{
if (!Enabled)
{
return [];
}
var errors = new List<string>();
Require(EvidenceStreamId, nameof(EvidenceStreamId), errors);
Require(NativeReservoirPath, nameof(NativeReservoirPath), errors);
Require(MimirEvidenceSourceId, nameof(MimirEvidenceSourceId), errors);
Require(MimirEvidenceFramePrefix, nameof(MimirEvidenceFramePrefix), errors);
Require(MimirPoseFramePrefix, nameof(MimirPoseFramePrefix), errors);
Require(MimirPoseProducerPeerId, nameof(MimirPoseProducerPeerId), errors);
Require(FensalirFramePrefix, nameof(FensalirFramePrefix), errors);
Require(FusionAuthorityId, nameof(FusionAuthorityId), errors);
Require(ConsumerContract, nameof(ConsumerContract), errors);
errors.AddRange(Calibration.Validate().Select(error => $"{nameof(Calibration)}.{error}"));
return errors.ToArray();
}
public MimirMoveProofRuntimeDriverOptions ToDriverOptions() => new(
MimirEvidenceSourceId,
MimirEvidenceFramePrefix,
MimirPoseFramePrefix,
MimirPoseProducerPeerId,
FensalirFramePrefix,
FusionAuthorityId,
ConsumerContract);
public MimirMoveProofRuntimeDriver CreateDriver(
CultMeshSharedMemoryFrameRing ring,
MimirNativeReservoirRuntime reservoir)
{
ArgumentNullException.ThrowIfNull(ring);
ArgumentNullException.ThrowIfNull(reservoir);
var errors = Validate();
if (errors.Length > 0)
{
throw new InvalidOperationException($"Invalid Move proof runtime configuration: {string.Join("; ", errors)}");
}
if (!string.Equals(ring.StreamId, EvidenceStreamId, StringComparison.Ordinal))
{
throw new InvalidOperationException(
$"Move proof runtime configuration expects evidence stream '{EvidenceStreamId}', but ring is '{ring.StreamId}'.");
}
return new MimirMoveProofRuntimeDriver(
ring,
reservoir,
Calibration.ToRigCalibration(),
ToDriverOptions());
}
private static void Require(string value, string name, ICollection<string> errors)
{
if (string.IsNullOrWhiteSpace(value))
{
errors.Add($"{name} is required");
}
}
}
public sealed class MimirMoveProofCalibrationConfiguration
{
public string CalibrationId { get; init; } = "mimir-move-stage-calibration-v1";
public string TrackingSpaceId { get; init; } = "mimir-stage-space";
public List<MimirMoveProofCameraCalibrationConfiguration> Cameras { get; init; } = [];
public double GyroUnitsPerRadianPerSecond { get; init; } = 1.0;
public double MaximumAssociationSkewMilliseconds { get; init; } = 20.0;
public double SingleRayFallbackDepthMeters { get; init; } = 1.5;
public string[] Validate()
{
var errors = new List<string>();
if (string.IsNullOrWhiteSpace(CalibrationId))
{
errors.Add($"{nameof(CalibrationId)} is required");
}
if (string.IsNullOrWhiteSpace(TrackingSpaceId))
{
errors.Add($"{nameof(TrackingSpaceId)} is required");
}
if (Cameras.Count < 2)
{
errors.Add($"{nameof(Cameras)} must contain at least two calibrated camera witnesses for full-pose proof");
}
for (var index = 0; index < Cameras.Count; index++)
{
errors.AddRange(Cameras[index].Validate().Select(error => $"{nameof(Cameras)}[{index}].{error}"));
}
return errors.ToArray();
}
public MimirMoveFusionRigCalibration ToRigCalibration() => new(
CalibrationId,
TrackingSpaceId,
Cameras.Select(camera => camera.ToCameraCalibration()).ToArray(),
GyroUnitsPerRadianPerSecond,
MaximumAssociationSkewMilliseconds,
SingleRayFallbackDepthMeters);
}
public sealed class MimirMoveProofCameraCalibrationConfiguration
{
public string CameraId { get; init; } = "";
public ulong WitnessIdHash { get; init; }
public MimirVector3Snapshot PositionMeters { get; init; } = new(0.0, 0.0, 0.0);
public MimirQuaternionSnapshot Orientation { get; init; } = new(0.0, 0.0, 0.0, 1.0);
public double FocalLengthXPx { get; init; }
public double FocalLengthYPx { get; init; }
public double PrincipalPointXPx { get; init; }
public double PrincipalPointYPx { get; init; }
public string[] Validate()
{
var errors = new List<string>();
if (string.IsNullOrWhiteSpace(CameraId))
{
errors.Add($"{nameof(CameraId)} is required");
}
if (WitnessIdHash == 0UL)
{
errors.Add($"{nameof(WitnessIdHash)} is required");
}
if (!double.IsFinite(FocalLengthXPx) || FocalLengthXPx <= 0.0)
{
errors.Add($"{nameof(FocalLengthXPx)} must be positive");
}
if (!double.IsFinite(FocalLengthYPx) || FocalLengthYPx <= 0.0)
{
errors.Add($"{nameof(FocalLengthYPx)} must be positive");
}
return errors.ToArray();
}
public MimirMoveFusionCameraCalibration ToCameraCalibration() => new(
CameraId,
WitnessIdHash,
PositionMeters,
Orientation,
FocalLengthXPx,
FocalLengthYPx,
PrincipalPointXPx,
PrincipalPointYPx);
}

View file

@ -8,6 +8,8 @@ public sealed class MimirRuntimeConfiguration
public IReadOnlyList<MimirStreamSourceFactory> SourceFactories { get; init; } = [];
public IReadOnlyList<MimirMoveProofRuntimeConfiguration> MoveProofSources { get; init; } = [];
public IReadOnlyList<IMimirStreamSource> CreateSources()
{
return SourceFactories
@ -53,6 +55,16 @@ public sealed class MimirRuntimeConfiguration
.Where(factory => factory != null)
.Cast<MimirStreamSourceFactory>()
.ToArray();
var moveProofSources = model.MoveProof
.Where(source => source.Enabled)
.ToArray();
var moveProofErrors = moveProofSources
.SelectMany((source, index) => source.Validate().Select(error => $"MoveProof[{index}].{error}"))
.ToArray();
if (moveProofErrors.Length > 0)
{
throw new InvalidOperationException($"Invalid Mimir runtime Move proof configuration: {string.Join("; ", moveProofErrors)}");
}
return new MimirRuntimeConfiguration
{
@ -63,6 +75,7 @@ public sealed class MimirRuntimeConfiguration
Streams = streams,
},
SourceFactories = sourceFactories,
MoveProofSources = moveProofSources,
};
}
@ -224,6 +237,8 @@ public sealed class MimirRuntimeConfigFile
public MimirAudioSyncConfig? AudioSync { get; set; }
public List<MimirStreamConfig> Streams { get; set; } = [];
public List<MimirMoveProofRuntimeConfiguration> MoveProof { get; set; } = [];
}
public sealed class MimirAudioSyncConfig

View file

@ -164,3 +164,4 @@
{"ts": "2026-07-08T22:41:32+01:00", "type": "implementation", "status": "ok", "note": "Attached the Move proof surface to the actual MimirRuntime/Fensalir frame path: MimirRuntime.PublishMoveProofSurface stores the latest Mimir-owned mimir.move_proof_surface.v1 document, CreateFrame composes its observer-only move-proof-* splines into AquariumFrame.Scene.SplineFrame, and the UI exposes a display-only proof readout. Verified dotnet build Mimir.Runtime, dotnet build Mimir.BufferSmoke, BufferSmoke --move-proof-runtime-frame-smoke, --move-proof-surface-smoke, and --move-proof-pipeline-smoke against the native reservoir debug DLL. Live Nightwing hardware, calibrated camera witnesses, and real presented-frame capture remain pending."}
{"ts": "2026-07-08T22:48:42+01:00", "type": "implementation", "status": "ok", "note": "Added MimirMoveProofRuntimeDriver as the runtime bridge from a Muninn CultMesh shared-memory evidence ring to MimirRuntime.PublishMoveProofSurface. The driver derives mimir:starfire evidence/pose ids and fensalir:starfire presented-frame id from the actual Muninn frame suffix, calls MimirMoveProofPipeline, and suppresses duplicate frame admission. Verified dotnet build Mimir.BufferSmoke, BufferSmoke --move-proof-runtime-driver-smoke against the native reservoir debug DLL, --move-proof-runtime-frame-smoke, --move-proof-surface-smoke, and --move-proof-pipeline-smoke. This proves the runtime-owned ring-to-visible-probe path with synthetic ring input; real Nightwing hardware, calibrated camera witnesses, and real presented-frame capture remain pending."}
{"ts": "2026-07-08T22:55:54+01:00", "type": "verification", "status": "ok", "note": "Added and verified the Fensalir presented-frame proof smoke. MIMIR_MOVE_PROOF_DEV_SURFACE gates a synthetic calibrated proof surface through the same MimirRuntime.PublishMoveProofSurface path, and BufferSmoke --move-proof-presented-frame-smoke runs Mimir.App headless, captures artifacts/runtime/move-proof-presented-frame-smoke.png, and pixel-checks the rendered proof probe. Latest run captured fensalir:starfire:presented-frame:79 for proof mimir:starfire:move-proof:79 with bytes=11260 and brightPixels=1069; adjacent runtime-driver, runtime-frame, proof-surface, and proof-pipeline smokes pass. This proves the renderer/probe layer for the named proof chain, not live Nightwing hardware or calibrated field evidence."}
{"ts": "2026-07-12T10:26:42+01:00", "type": "verification", "status": "ok", "note": "Added MimirMoveProofRuntimeConfiguration as the typed config/validation surface for Move proof driver creation. The runtime config now accepts enabled MoveProof sources, validates named Muninn evidence stream, native reservoir path, Mimir/Fensalir frame prefixes, fusion authority, consumer contract, and at least two calibrated camera witnesses, and creates a driver only when the supplied CultMesh ring stream id matches. Verified dotnet build Mimir.Runtime, dotnet build Mimir.BufferSmoke, BufferSmoke --move-proof-runtime-config-smoke, --move-proof-runtime-driver-smoke, --move-proof-pipeline-smoke, and --move-proof-presented-frame-smoke. The config smoke printed configValid=True invalidDefaultErrors=2 and the same sequence chain muninn:nightwing:move-evidence:79 -> mimir:starfire:move-evidence:79 -> mimir:starfire:move-pose:79 -> fensalir:starfire:presented-frame:79. This proves config plus in-process ring flow, not live Nightwing hardware, calibrated field cameras, or cross-process ring opening."}

View file

@ -155,6 +155,15 @@ accepted_design:
actual Muninn frame suffix, calls `MimirMoveProofPipeline`, and suppresses
duplicate frame admission so the live loop cannot re-admit one frame and
impersonate progress.
- `MimirMoveProofRuntimeConfiguration` is the typed selection and validation
surface for that runtime bridge. An enabled proof source names the Muninn
evidence stream, native reservoir path, Mimir evidence/pose frame prefixes,
Fensalir presented-frame prefix, fusion authority, consumer contract, and
at least two calibrated camera witnesses. It may create a
`MimirMoveProofRuntimeDriver` only when the supplied CultMesh ring stream id
matches the configured evidence stream. The current C# shared-memory ring
smoke is still in-process; real Nightwing/Starfire cross-process ring
opening remains pending.
- `MimirMoveProofDevSurface` is a dev-only bootstrap gated by
`MIMIR_MOVE_PROOF_DEV_SURFACE`. It publishes a synthetic calibrated proof
surface through the same MimirRuntime attachment so headless Mimir.App can