You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
oxa: project trust once per folder by default (like Codex/Claude Code); per-content re-approval as an option #105
Owner feedback: project trust "feels like over-security" for a developer tool.
Today (oxa-cli/src/approval.rs): a project's gated files (.oxa/settings.json hooks/commands, mcp.json, extensions, skills, prompt templates, SYSTEM.md) load only when their content hashes match the ones recorded at approval. Any change needs a fresh explicit approval. In print/JSON/RPC mode the project's resources are skipped with a notice.
How the alternatives behave:
Codex asks once per folder ("Trust this folder? … Your trust decision will be saved").
Claude Code asks once per folder.
Problem: a lane or board worker that pulls main gets a changed .oxa/settings.json whenever anyone edits it. oxa then re-asks or, unattended, silently skips the project's checks. That stalls autonomous work and breaks the owner's "warn, don't block" principle (#1214).
Wanted:
A setting, e.g. projectTrust: "folder" | "content", defaulting to folder (trust once per folder, like Codex and Claude Code). content keeps today's strict per-hash behaviour for owners who want it.
In folder mode, a changed gated file is loaded with a visible notice naming the file and what changed. It is never silently skipped.
Unattended runs never silently drop a project's done-checks: they either run them (trusted folder) or fail loudly with the exact approval command.
Trust a whole parent for lane roots (exists today; keep it).
Decided (owner): trust once per folder is the default, like Codex and Claude Code. Re-approval on content change is an opt-in setting. Implement as specified above.
Also found live:oxa work creates its task worktree under the trusted clone (<clone>/../.oxa-worktrees/<repo>/issue-N), but trust is not inherited. The worker's run printed "project resources were skipped (not trusted)" and "done checks in .oxa/settings.json were not run: project is not trusted" (#1442 run on n0rpan). Worktrees that oxa itself creates from a trusted project must inherit that trust, or done checks silently never run.
Triage 2026-11-19: this issue is now tracked in #150 (Cluster: Yolo and approvals: folder trust, approval desk, danger list, priority P0), planned PR 1: "Folder trust and user-only policy". It will be fixed there together with its related issues, not one by one.
Owner decision (2026-11-20): yes. Project trust is once per folder by default, not per content hash. Update SECURITY.md and the trust docs in the same PR.
Activity
oxa-orchestrator commentedon Nov 18, 2026
Decided (owner): trust once per folder is the default, like Codex and Claude Code. Re-approval on content change is an opt-in setting. Implement as specified above.
oxa-orchestrator commentedon Nov 18, 2026
Also found live:
oxa workcreates its task worktree under the trusted clone (<clone>/../.oxa-worktrees/<repo>/issue-N), but trust is not inherited. The worker's run printed "project resources were skipped (not trusted)" and "done checks in .oxa/settings.json were not run: project is not trusted" (#1442 run on n0rpan). Worktrees that oxa itself creates from a trusted project must inherit that trust, or done checks silently never run.n0rpan commentedon Nov 19, 2026
Triage 2026-11-19: this issue is now tracked in #150 (Cluster: Yolo and approvals: folder trust, approval desk, danger list, priority P0), planned PR 1: "Folder trust and user-only policy". It will be fixed there together with its related issues, not one by one.
n0rpan commentedon Nov 20, 2026
Owner decision (2026-11-20): yes. Project trust is once per folder by default, not per content hash. Update SECURITY.md and the trust docs in the same PR.