Skip to content

fix(o72): approval-mode copy, no-sandbox notice, once-per-folder untrusted notice - #77

Merged
QiaolongLi1201 merged 2 commits into
mainfrom
fix/o72-approval-mode
Oct 11, 2026
Merged

QiaolongLi1201 merged 2 commits into
mainfrom
fix/o72-approval-mode

Conversation

@QiaolongLi1201

Copy link
Copy Markdown
Collaborator

Summary

O72 (approval-mode copy + UX/safety disclosures), rebased onto current main 675c9d7c (#74 O56 + #75 O55).

Changes

  • Startup mode line: every start prints the resolved interaction mode (including -p / --quiet) and how to change it (/mode).
  • Full-mode notice: keeps the no-sandbox disclosure (en/zh): Shell commands run with your user's full permissions (no sandbox). Offers /mode manual or --workspace-write for per-action approval (verified: --workspace-write → manual).
  • Headless block: when -p / no TTY blocks a tool, stderr tells the user how to unlock (--full-access, /permissions); the model-facing reason never coaches switching to full mode.
  • Untrusted-folder notice: skipped project-settings line shows once per folder (again only if the skipped list changes).
  • /mode help (onboarding + registry): accept-edits says shell commands still ask (en + zh).

Commits (on top of 675c9d7c)

  1. draft(o72): approval mode line, accept-edits help, headless block copy
  2. fix(o72): keep no-sandbox disclosure, once-per-folder untrusted notice, /mode accept-edits help

QA

QA already reviewed local 47d60adb (pre-rebase) and passed (no-sandbox copy locked by spec; stderr names unlock knobs; model reason stays doesNotMatch coaching; no assertion loosening). Rebase onto 675c9d7c only auto-merged src/cli/config.ts with O55's trustedTools user-wins change; tree identical to pre-push tip.

Verification (post-rebase)

  • npm run check (format + eslint + tsc) ✅
  • test/o72-approval-mode-copy.spec.mjs ✅
  • Related: cli-permission-defaults, cli-ui-language, workspace-write-copy, first-run, cli-project-instructions, cli-config-merge, o55-user-trustedtools ✅

Merge order (per PM/Boss)

After O76; before O79 / O57 rebase.

Moss Grok and others added 2 commits October 11, 2026 15:20
…e, /mode accept-edits help

- full-mode notice keeps 'Shell commands run with your user's full permissions (no sandbox).' (en/zh)
- untrusted-folder skipped-settings line shows once per folder; shown again if the list changes
- /mode help (onboarding + registry) says shell commands still ask under accept-edits
- o72 spec: stderr after a headless block names --full-access and /permissions (accept-edits and manual);
  --workspace-write -> manual lock; once-per-folder unit + CLI test; /mode help en/zh
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@QiaolongLi1201
QiaolongLi1201 merged commit ed63836 into main Oct 11, 2026
10 of 12 checks passed
@QiaolongLi1201
QiaolongLi1201 deleted the fix/o72-approval-mode branch October 12, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant