probe-macos-tray-on-windows

Compiles the cfg-gated macos-tray crate on Windows to detect cross-platform regressions.

5|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/8007342/tillandsias --skill probe-macos-tray-on-windows-8007342
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: probe-macos-tray-on-windows
Source: https://github.com/8007342/tillandsias/tree/main/skills/probe-macos-tray-on-windows
Command: npx skills add https://github.com/8007342/tillandsias --skill probe-macos-tray-on-windows-8007342

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Cross-platform Rust crates with platform-gated code can silently break in their shared modules, and a Windows host has no visibility into whether the macOS tray crate still compiles cleanly from its side. This Skill runs a daily build probe that turns a Windows compile of the macos-tray crate into a health signal for the shared codebase. ## Core Features & Use Cases - Daily cross-platform build probe: Syncs the windows-next branch and runs cargo build -p tillandsias-macos-tray --release, where exit 0 confirms the cfg-gating is intact and a non-zero exit signals a regression in shared modules. - Structured findings ledger: Appends timestamped sections to plan/issues/probe-macos-tray-on-windows-findings-YYYY-MM-DD.md with cargo exit code, first error line, classification, and shared-crate impact. - Conditional cross-host escalation: Files a coordination note in plan/issues/tray-convergence-coordination.md only when an unexpected shared-crate error appears, then commits and pushes to windows-next. - Use Case: A Windows host on a 24-hour loop detects that tillandsias-host-shell no longer compiles, classifies it as a regression, and escalates so the macOS host sees the breakage before its next integration cycle. ## Quick Start Run the daily probe to build the macos-tray crate from this Windows checkout and file the findings under plan/issues.

Frequently Asked Questions about probe-macos-tray-on-windows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if a macOS-only Rust crate still compiles on Windows?▼

Build the crate with cargo on Windows when all macOS-only modules are behind cfg(target_os = "macos") gates and Apple-only dependencies are target-gated in Cargo.toml. A successful stub build confirms the cross-platform discipline is intact.

What does a failed Windows build of a cfg-gated macOS crate mean?▼

A non-zero cargo exit means a regression in the cross-platform-shared portion of the crate, such as shared modules or non-platform-gated dependency crates. The first error line identifies which shared crate broke for all platforms, not just macOS.

Can I cross-compile a macOS tray application from Windows?▼

This probe only compiles the cfg-gated stub on Windows, which exits with a pointer to the spec; it does not produce a runnable macOS binary. A true cross-compile would require a future path such as clang-cross or a CI build matrix.

Why does cargo build fail on the wrong git branch?▼

The probe verifies the current branch is windows-next before building and exits with an error otherwise. Sync with git fetch and a fast-forward merge from origin/linux-next before attempting the build.

When should a build probe escalate to other hosts?▼

Escalate only when the build fails with an unexpected error in a shared crate, meaning the breakage affects every platform. Append a note to the cross-host coordination file describing the error, the affected crate, and the reproducer.