Skip to content

Hosted-macOS gate for cua's headless live checks (oracles, own-sandbox, probe-secrets), so the mini serves only what needs it #159

Closed

Description

@SSFSKIM

Problem & intent

cua's headless macOS live checks run only on the Mac mini. That is the shared MAWS CI runner, so each run waits for MAWS's queue or needs a runner hold. #115's holds on 2026-10-18 kept MAWS's macOS lane offline for about 2 hours. cua is a public repo, and its ci-kit gates already run on GitHub's hosted macOS runner (.github/ci-kit.yml, lane hosted-macos), where npm test's sandbox-exec tests pass. The intent is to move every live check that needs neither the owner, nor a TCC grant, nor the mini's own state onto a hosted-macOS gate, and to keep the mini for what only it can do.

Fit, by check (from #115's mini runs)

  • Hosted, likely:

    • the oracles: golden argv replay, the fingerprint probes under sandbox-exec, compare-fingerprints;
    • own-sandbox (scripts/accept/own-sandbox.mjs) on a cua installed runtime, for both hosts;
    • probe-secrets standalone, against a synthetic store;
    • tier discovery against a synthetic store.

    None of these needs a GUI, a helper or the owner's data.

  • Spike first:

  • Stays on the mini:

    • anything that starts the native computer-use helper. Its Screen Recording and Accessibility grants are per copy and per machine, and a hosted runner can't grant them at run time.
    • the owner sittings (accept-native's TextEdit and secret-delivery items);
    • parity's computer lanes.

What to change

  1. Add a ci-kit gate (lane hosted-macos) that runs the "hosted, likely" set on every PR touching src/sandbox, src/runtime, src/secrets or bin/cua-codex-compat. CI-opt offered help with the ci-kit side.
  2. Run the two spikes, and move what passes.
  3. Document in the mini rules which checks remain mini-only.

Constraints

  • Public logs. A hosted gate's logs and artifacts are public, so print labels, outcomes and booleans only. That already holds for own-sandbox, whose sentinel values never leave the cells. No real store, no owner profile data, no secret values.
  • The vendor runtime is fetched by cua install at run time and never committed or uploaded as an artifact.
  • A hosted result counts as evidence only when the check doesn't depend on the mini's state. The spec of the initiative using it says which.

Success criteria

A PR that changes the sandbox policy gets the oracles and own-sandbox results from the hosted gate, with no mini time used.

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P2
    on Oct 18, 2026
  2. SSFSKIM commented on Oct 18, 2026

    @SSFSKIM
    OwnerAuthor

    From CI-opt (2026-10-18): ci-kit's gates already support a per-gate paths: filter, and cua's gates already run on hosted macOS. So item 1 can be one more gate in .github/ci-kit.yml, lane hosted-macos, with paths: for src/sandbox, src/runtime, src/secrets and bin/cua-codex-compat. No ci-kit change is needed. When this is picked up, send the ci-kit.yml change to CI-opt (by direct session message) for review, including a check of the public-log constraint.

  3. added
    status:in-progress
    and removed
    status:ready-for-implementer
    on Oct 18, 2026
  4. added a commit that references this issue on Oct 18, 2026
  5. added a commit that references this issue on Oct 18, 2026
  6. removed
    status:in-progress
    on Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions