Commit Graph
2 Commits
Author SHA1 Message Date
Ole André Vadla Ravnås 7c780f8c43 core: Replace incompatibility reason with status
Promote the runtime per-instrument flag from a bare reason
string to an InstrumentStatus enum so later kinds (load,
reload, compile failures) can share the surface. Behaviour
is unchanged: skipIfIncompatible sets .incompatible and the
sidebar still renders a single warning icon.
2026-05-16 02:51:01 +02:00
Ole André Vadla Ravnås e1f3ea938a core: Gate instruments on device compatibility
Each instrument carries an InstrumentCompatibility (platforms,
osIDs, archs; nil set means any). Hook pack manifests and custom
defs declare it; tracer and codeshare default to universal.

System parameters are queried lazily via SystemParametersCache,
keyed by device id and invalidated when devices disappear.

Restoring an incompatible instrument now marks it with a reason
on its InstrumentRef instead of attaching.
2026-05-12 15:05:23 +02:00