Skip to content

Cluster: Yolo and approvals: folder trust, approval desk, danger list #150

Open

Description

@n0rpan

Priority: P0 (v0.2.1) · Members: 13 · from the issue triage of 2026-11-19

Goal (what the user sees)

Yolo never asks; outside yolo the owner trusts a folder once, a dangerous command asks once with a correct preview, and no child process can answer an approval for the owner.

Acceptance

Proposed PRs (each up to about 800 lines)

PR 1: Folder trust and user-only policy

projectTrust: folder|content (default folder); user-only enforcement for execution-policy keys (#1562).
Suggested author: Claude.

PR 2: Approval desk hardening

Per-run nonce on grants, write lock, binding of unattended approvals, bounded broker and the oxstack/ox-llm#1807 review notes.
Suggested author: Claude.

  • oxstack/ox-llm#1654 — Per-run nonce on session grants so a resumed session cannot reuse them.
  • oxstack/ox-llm#1772 — Append approval keys under the settings write lock; multi-line preview; grant-model docs.
  • oxstack/ox-llm#1653 — Decide and bind unattended approvals so a same-UID unsandboxed child cannot answer them.
  • oxstack/ox-llm#1813 — In oxstack/ox-llm#1807: shared cancellation state between typed answer and dialog registration.
  • oxstack/ox-llm#1814 — In oxstack/ox-llm#1807: drain confirmation records to disk independent of the tool pump.

PR 3: Danger classifier gaps

Twenty shell-semantics gaps and nested env -C (#1785) with table tests.
Suggested author: Claude designs, oxa worker implements.

  • oxstack/ox-llm#1680 — Close the listed gaps in oxa-perm/src/danger.rs with table tests.
  • oxstack/ox-llm#1768 — Compose nested env -C directories (land oxstack/ox-llm#1785).
  • oxstack/ox-llm#1771 — Same defect as oxstack/ox-llm#1768; kept open as security-related.

PR 4: Privileged steps

Named root actions without password and sudo inside the PTY on an owner yes (0.2.2).
Suggested author: Claude.

  • oxstack/ox-llm#784 — Named root actions without password plus sudo inside oxa's PTY on owner yes; never for unattended runs.

Other members (epics, trackers, decisions, likely delivered)

How to use this issue

Fix the members through the PRs above, not one by one. A PR names this issue and the members it closes. Members carry the cluster-member label.

Activity

  1. n0rpan commented on Nov 21, 2026

    @n0rpan
    ContributorAuthor

    Owner risk triage (2026-11-21): right problem, but the done-when must not add a block. Revised:

    • Why: Same-UID child answering approvals and exhaustive danger-classifier gaps are explicit not-blockers.
    • Done when: folder trust, user-only policy keys, write lock, yolo never asks; same-UID binding and oxstack/ox-llm#1680 classifier gaps moved to P3.
  2. 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: Trust/yolo good; approval-forgery locks and classifier hardening defend against model.
    • Do: Keep folder trust, yolo, danger list warn; drop same-user child approval locks and classifier obfuscation rows.
  3. 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