Skip to content

feat(interpose): wire the in-sim mechanism lane#16

Merged
0xnirapod merged 1 commit into
mainfrom
feat/mechanism-lane
Jun 29, 2026
Merged

feat(interpose): wire the in-sim mechanism lane#16
0xnirapod merged 1 commit into
mainfrom
feat/mechanism-lane

Conversation

@athexweb3

Copy link
Copy Markdown
Contributor

Turn the run-mechanism stubs into real orchestration: build the interposer slice, the helper, and the guest example; boot a simulator; start the helper (which arms the booted sim); install and launch the example; and assert the routed BLE event from the guest's stderr within a timeout. Adds a peripheral-lane script, wires the make mechanism-ios / mechanism-watchos / mechanism-peripheral-ios targets, and makes the hardware CI job a manual macOS self-hosted run. The example apps now emit their events to stderr so the run can observe them.

Also fixes the simulator slice suffix to .dylib (CMake emitted .so) so SimulatorArming locates and injects it; this is required for any in-simulator run to inject the interposer at all.

Turn the run-mechanism stubs into real orchestration that builds, boots a simulator, starts the
helper to arm it, launches the guest example, and asserts the routed BLE event; adds the peripheral
lane, the make mechanism-* targets, and a manual macOS CI job. The examples emit events to stderr
so the run observes them. Fixes the slice suffix to .dylib so arming locates and injects it.
@athexweb3
athexweb3 requested a review from a team as a code owner June 29, 2026 07:56
@0xnirapod
0xnirapod merged commit 7f1911b into main Jun 29, 2026
3 checks passed
@0xnirapod
0xnirapod deleted the feat/mechanism-lane branch June 29, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants