Skip to content

MANUAL RUN: codeSplitter checks as a sandbox user on a real Mac (#1010) #1031

Closed as not planned

Description

@QuinnsCode

#1010's sandbox user path (CODESPLITTER_CHECKS_USER for the desktop, --user for scripts/runner.ts) is unit-tested for the command it builds, but it needs a real macOS user and a sudoers rule, so no agent can run it.

Steps:

  1. Make a standard user cs-checks with no logins (System Settings > Users & Groups).
  2. echo "$USER ALL=(cs-checks) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/cs-checks
  3. Start the desktop with CODESPLITTER_CHECKS_USER=cs-checks, set a repo's checks to run here with a required check {name: "who", command: "whoami; echo $HOME; bun test"}, and commit.
  4. Expect the log to say cs-checks and a /tmp/cs-checks-…/home, the run to pass, and nothing left under /tmp/cs-checks-* afterwards.

Also check that bun is on the sandbox user's PATH (the desktop's PATH is passed through, but cs-checks may not be able to read ~/.bun/bin under your home).

Activity

  1. added
    manual runNeeds the owner to run it by hand (tokens, sign-ins); agents can't close it
    on Oct 12, 2026
  2. self-assigned this
    on Oct 13, 2026
  3. QuinnsCode commented on Oct 14, 2026

    @QuinnsCode
    OwnerAuthor

    Folded into the one manual-run list, section 9 of #609 (easiest first, with times). This issue's steps stay here; tick the item in #609.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

manual runNeeds the owner to run it by hand (tokens, sign-ins); agents can't close it

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions