GeezerVison is showing github.com — id(phase-14): shells v2 slice 1 — second native target on the shared frame layer (#6297) · Issue #12817 · developing-today/code
id(phase-14): shells v2 slice 1 — second native target on the shared frame layer (#6297) #12817DescriptionFollow-on slice 1 of the More shells v2 outline (#6297; record doc/2026-11-23T03-17-14Z_design_more_shells_v2/, PR #12816).
One more desktop native target on the shared Rust frame layer — presentation and platform glue only. If this target needs frame-layer changes, the split is wrong: the finding goes to the shell-contract record, per the v1 design.
Platform is Drew's ruling Q1 on #6297 (macOS or Windows). Blocked by v1 slice #10928 (first native target, Linux desktop). Done = conformance on the recorded session plus behavioral completion checks, per the v1 gate. Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026 Owner ruling (Drew, 2026-11-22, recorded in full on #6297): platform priority order is Linux → Android → Web → macOS → Windows. This issue's "second native target" is the second desktop native target — macOS, after Linux. Windows follows after macOS. dezren39 commented on Nov 23, 2026
Pickup — Lane LS (archer), 2026-11-23.
Served from the refilled shortlist (rank 6). Premise check: issue OPEN, no live lane claim on this slice. The issue is blocked by v1 slice #10928 (first native target), whose completion PR #12884 (xaltha) is open, not draft, Codex review clean, with the author's verification recorded (73/73 id-native-shell tests under nix develop).
Plan: shepherd #12884 first — independent verification at the PR head, then a SHA-guarded merge if green — which discharges the #10928 blocker. Then assess this issue's own landable slice (second desktop native target = macOS, per Drew's ruling recorded above) against what can be verified from the Linux laptop/CI. dezren39 commented on Nov 23, 2026
Blocker discharged + premise re-verified + portability findings — Lane LS (archer), 2026-11-23.
Blocker discharged. This issue's recorded blocker, v1 slice #10928, is complete: PR #12884 merged (38ac705) after independent verification at its head — cargo test -p id-native-shell under nix develop in pkgs/id: 73 passed / 0 failed, matching the author's numbers. #10928 is closed as completed. The Linux first target now has all three Done elements on main: conformance wired into the flake check, behavioral checks (parity + live session), and the recorded capability statement.
Premise for this slice: TRUE. Per Drew's ruling recorded above, the second desktop native target is macOS. Nothing for it exists on main yet. First-hand portability read of pkgs/id/crates/id-native-shell at current main:
- The Bevy dependency enables the
x11 and wayland features unconditionally — Linux window systems. As shaped, the crate cannot build for macOS at all (wayland-sys probes for wayland-client, which does not exist there). This is shell-crate glue, not a frame-layer problem: the shared ClientFrame/ServerFrame types are untouched by it, so per the v1 design rule this finding belongs to this slice, not the contract record.
- The file-read provider already anticipates non-Linux:
src/providers.rs carries a #[cfg(not(target_os = "linux"))] fallback next to the Linux openat2 path (security(id-native-shell): close the file-read root check/open symlink race #11420).
- The flake's system-library wiring for the crate (
pkgs/id/nix-common.nix: wayland, X11, libxkbcommon, vulkan-loader) is Linux-only; a macOS build needs its own wiring or a non-nix path.
- There is no macOS build/check venue in the fleet: the laptop and CI are Linux, and the darwin-nix machines are Drew's work laptop (darwin-nix is on hold). This slice's Done — conformance plus behavioral checks running in the release path for the macOS artifact — cannot execute until a venue exists.
Next concrete slices, in order:
- Target-gate the window features (landable now, Linux-verifiable). Reshape
id-native-shell's Bevy dependency: base features without x11/wayland, plus a [target.'cfg(target_os = "linux")'.dependencies] entry adding exactly those two features (features are additive across target tables). Acceptance: the Linux suite stays 73/73 under nix develop, and the dependency graph for a darwin target no longer contains wayland-sys/x11 crates (readable from cargo tree --target aarch64-apple-darwin without a venue).
- macOS venue decision (programme owner / Drew). A GitHub-hosted macOS runner leg running the id-native-shell suite, or a fleet macOS seat. Slice 1 can land without it; the Done gate cannot run without it.
- The macOS shell itself — presentation/glue only, its own capability statement, conformance + behavioral checks in the release path — once 1 and 2 land.
Issue stays open on slice 1 above; it is unblocked and workable now. dezren39 commented on Nov 23, 2026
Claim — Lane PJ (archer), 2026-11-23. Taking #12817 slice 1 as named in Lane LS's record above: target-gate the Bevy window features in id-native-shell — base Bevy dependency without x11/wayland, plus a [target.'cfg(target_os = "linux")'.dependencies] entry adding exactly those two features.
Acceptance (per LS's record): the Linux suite stays 73/73 under nix develop in pkgs/id, and cargo tree --target aarch64-apple-darwin for the crate no longer contains wayland-sys/x11 crates. Slices 2 (macOS venue decision) and 3 (the macOS shell itself) are not in this claim. Premise re-verified at claim time: issue open, blocker #10928 closed, no live claim on this slice. dezren39 commented on Nov 24, 2026 Slice 2 venue decision (lane oc-code-01, task 21474): the darwin check venue is fleet queue dispatch --platform macos, which places on the fleet-forks surface. Probed fresh 2026-11-24: a uname/rustc dispatch (developing-today-forks/fleet run 45463725257) completed success on a macos-15-arm64 runner (Darwin arm64); rustup auto-installed the pinned toolchain there. The laptop-toolchain and org-surface blockers from earlier notes do not apply to this route. Darwin compile check now running on main: developing-today-forks/fleet run 45464299882 (cargo check -p id-native-shell --target aarch64-apple-darwin). Slice 1 re-verified present on main; no macOS-target code exists yet. dezren39 commented on Nov 24, 2026 Slice 2 macOS dispatch result, lane oc-code-01 (task 21474), 2026-11-24 ~19:30Z.
- Probe
developing-today-forks/fleet#45463725257 (uname/rustc, macos-15): success, started 18:50:05Z after 2s queue.
- Darwin compile check
developing-today-forks/fleet#45464299882 (cargo check -p id-native-shell --target aarch64-apple-darwin): macOS job queued from 18:53:18Z, never assigned a runner, cancelled 19:08:19Z.
- Retry
developing-today-forks/fleet#45468059685: same result, queued 19:14:19Z, cancelled 19:29:20Z.
So the darwin compile check has not run. The venue works for a trivial probe but two compile-check dispatches stayed queued ~15 minutes and were cancelled before a runner started. No macOS-target code was written; the Cargo.toml slice 1 gate is unchanged.
Parking task 21474 with this reason. Resume when a macos-15 runner is available for fleet queue dispatch --platform macos; then run the darwin check and slice 3 can start. dezren39 commented on Nov 24, 2026
Revalidation 2026-11-24 ~20:10Z (task 21474, lane oc-code-01): premise still TRUE, no landable slice, parking. Slice 1 (PR #13147) on origin/main; darwin crate graph has no macos-target code; no live competing claim.
New evidence this run (venue still dry): dispatched a trivial macOS probe via the newer front door (fleet queue dispatch --repo developing-today/code --platform macos --dispatch): placed on fleet-forks (developing-today org surface at 71 jobs / 0 slots). Run developing-today-forks/fleet#45476249002 (uname/rustc/cargo probe) queued 20:00:52Z, zero steps started, still queued at 20:09Z — third consecutive macOS dispatch with no runner (cf. #45464299882, #45468059685, each cancelled after ~15 min queued). Cancelled the probe at 20:10Z after recording this. So macos-15 runners are intermittently available (one probe succeeded 18:50Z) but not reliably; the compile check cannot be counted on yet.
Resume when a macos-15 runner picks up a fleet queue dispatch --platform macos probe promptly; then run the darwin cargo check -p id-native-shell --target aarch64-apple-darwin and slice 3 can start. No code changed. dezren39 commented on Nov 24, 2026 lane any-n revalidation (task 21474, 2026-11-24 ~20:55Z): premise TRUE, parking, no code changed.
- Slice 1 (PR feat(id-native-shell): target-gate the Bevy x11/wayland features to Linux (#12817 slice 1) #13147, merge 5994519) present on main; target-gated Bevy features intact.
- No macOS-target code exists (id-native-shell has cfg(target_os=linux) only; no apple/darwin targets).
- No live competing claim (13/13 comments read; latest are prior-lane parks).
- Venue probe (4th consecutive dry): fleet-forks run 45483268304, macOS job 138761850559 queued 20:40:43Z, never acquired by a hosted runner, failed after 15m01s ("not acquired by Runner of type hosted even after multiple attempts"). macos-15 runners effectively unavailable; cf. #45464299882, #45468059685, #45476249002.
Resume when a macos-15 runner picks up a fleet queue dispatch --platform macos probe promptly; then run the darwin cargo check and slice 3 can start. dezren39 commented on Nov 24, 2026 Lane oc-code-04, task 21474, 2026-11-24: premise remains true at inspected origin/main e1aaed9 (target-gating present; no explicit macOS target glue). REST count-confirmed 14/14 comments; no competing live claim found. No code changed.
New venue evidence: probe https://github.com/developing-today-forks/fleet/actions/runs/45491860156 succeeded. Subsequent compile-check dispatches https://github.com/developing-today-forks/fleet/actions/runs/45493372879 and https://github.com/developing-today-forks/fleet/actions/runs/45496222467 each had their macOS job cancelled after approximately 15 minutes queued without executing the command. Neither is a compile/test result.
Parking on macOS runner availability, not an owner decision. Resume with an actual darwin build, not another trivial probe. Correct follow-up command must enter the workspace and preserve failure status: cd pkgs/id && cargo check -p id-native-shell --target aarch64-apple-darwin (the two unexecuted dispatch commands omitted the workspace cd and piped to tail, so must not be reused unchanged). Conformance and behavioral gates remain outstanding; issue stays open. dezren39 commented on Nov 24, 2026
Resumed task 21474 (agent-next-27-local), 2026-11-24. Re-read all 15 issue comments from REST; #12817 is open, with no competing live claim or open PR. Current main d17c317 includes PR #13147's Linux-only X11/Wayland feature gate, but the recorded capability statement still names only linux-desktop and there is no macOS target statement. Drew's Q1 ruling in #6297 selects macOS as the second desktop target.
I pushed a target-platform assertion first on branch agent-next-27/12817-second-macos (commit 10b3b3a). Next: run the focused capability-statement test on an actual macOS runner, then add the macOS statement/platform glue and verify the full conformance and behavioral suite there. dezren39 commented on Nov 24, 2026 The first real macOS run (#45511217984) acquired an arm64 runner but stopped before the capability assertion: id-worlds/src/world_compile.rs declared RLIMIT values as u32, while macOS libc setrlimit takes c_int (four E0308 errors). This is Unix resource-limit FFI glue, not a frame-layer change. I added a target-ABI conversion in commit 34c3d21 and am rerunning the macOS test; after that passes or fails at the platform assertion, I will add the target-specific statement. dezren39 commented on Nov 25, 2026
Task 21474 (agent-next-27-local) is checkpointed on PR #14678, agent-next-27/12817-second-macos (head 80cb8ffde54, including latest main). The macOS target statement is added and selected by target; the shared capability profile is checked across Linux/macOS; no frame types or transport changed. A small id-worlds RLIMIT FFI conversion lets the Unix sandbox compile on macOS as well as Linux.
Evidence so far: macOS baseline cargo test -p id-native-shell --target aarch64-apple-darwin --test capability_statement compiled and ran (3 passed, 1 expected failure: the recorded statement said linux-desktop, expected macos-desktop). The full cargo test -p id-native-shell --target aarch64-apple-darwin run developing-today-forks/fleet#45515456486 has remained queued without starting a step, so I am parking on Mac runner acquisition. Resume by running that exact full-suite command on a Mac runner and merge only after conformance and behavioral tests pass. dezren39 commented on Nov 25, 2026 Correction to my previous note: full-suite run developing-today-forks/fleet#45515456486 acquired a macOS runner and started the command at 00:11:46Z, before any queue park was applied. Task 21474 remains claimed, not parked. The branch and PR #14678 remain the resume point; I am tracking the full conformance/behavioral suite to its terminal result. dezren39 commented on Nov 25, 2026
#12817 completed — PR #14678 merged as 1b672a6fc8558a2885d17b3d9a3fe9e6bf3f55d3; issue closed as completed.
Verification: on a macOS arm64 Fleet runner, run developing-today-forks/fleet#45515456486 executed cd pkgs/id && cargo test -p id-native-shell --target aarch64-apple-darwin: 110 passed, 0 failed across unit and integration targets. This includes the recorded capability statement, contract parity, live-session behavior, and file-read provider checks.
The native shell now records distinct Linux and macOS desktop statements with identical contract/capability profiles. No frame types or transport changed. id-worlds resource-limit calls use the target ABI while preserving the same limits on Linux and macOS.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|