Skip to content

dogfood: oxa work board refuses gh installed under HOME (mise) with an unexplained 'no trusted gh executable' #88

Open

Description

@n0rpan

Dogfood (first live shadow run of oxa work board --shadow on n0rpan, dev build of main): it fails with oxa work: no trusted gh executable and exit 2.

Cause: gh is installed under the user's home (via mise: ~/.local/share/mise/installs/gh/...). netguard::trusted_executable_for("gh", ...) refuses executables under the home directory, so the agent can't swap the binary. That is reasonable for agents, but many users install gh in their home (mise, asdf, brew on Linux, ~/.local/bin).

Acceptance

  • Error message: says why the path was refused and what to do. For example: install gh system-wide, or pin a trusted path in user settings.
  • Explicit trust: a user-only setting (never a project one) to trust a specific gh path, verified as owned by the user and not group- or world-writable, with the decision shown.
  • Doctor check: oxa doctor reports whether a trusted gh was found.
  • Same rule everywhere: oxa work --issue and oxa work board use the same rule and the same message.

Related: oxstack/ox-llm#1017, #76.

Activity

  1. n0rpan commented on Nov 19, 2026

    @n0rpan
    ContributorAuthor

    Triage 2026-11-19: this issue is now tracked in #151 (Cluster: GitHub identity and credentials for unattended work, priority P0), planned PR 2: "Trusted gh path". It will be fixed there together with its related issues, not one by one.

  2. n0rpan commented on Nov 21, 2026

    @n0rpan
    ContributorAuthor

    Owner risk triage (2026-11-21): oxa is a lab power tool, more powerful than Codex yolo. Build the powerful version instead.

    • Why: Home-dir gh refusal guards same-UID binary swap only, a not-blocker case.
    • Accept user-owned, non-writable-by-others gh under HOME by default; warn+record path; doctor shows it; user setting to pin.
  3. n0rpan commented on Nov 21, 2026

    @n0rpan
    ContributorAuthor

    Owner rules sweep (2026-11-21): right problem, but build the powerful version.

    • Why: Refusing home-installed gh is provenance hardening of owner tools.
    • Do: Accept gh from PATH incl. home by default; owner setting to restrict.
  4. n0rpan commented on Nov 22, 2026

    @n0rpan
    ContributorAuthor

    Owner rules sweep 3 (2026-11-22, the model is the owner's agent): build the powerful version.

    • Why: Refusing home-installed gh exists to stop the model swapping binaries; that is model-adversary hardening.
    • Do: Accept gh resolved from PATH including HOME (mise, asdf, ~/.local/bin); keep a clear doctor report.
  5. transferred this issue fromon Nov 26, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions