Skip to content

Prompt for project trust in remote TUI workspaces - #39082

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e5fba2ea23bad1fb28f01df522cadbe05fcbb942
Aug 17, 2026
Merged

Prompt for project trust in remote TUI workspaces#39082
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e5fba2ea23bad1fb28f01df522cadbe05fcbb942

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 17, 2026

Copy link
Copy Markdown

Prompt for project trust in remote TUI workspaces

What changed

  • Query the remote app server for project config layers before starting a thread and show the trust prompt when the project has no existing decision.
  • Resolve relative remote working directories and repository-root trust targets, then persist accepted trust through config/batchWrite on the remote server.
  • Preserve existing trusted and untrusted decisions, including an untrusted repository that contains the requested working directory.
  • Exit when the remote trust prompt is declined and ignore repeated key events in the trust selector.

Testing

  • Add coverage for remote trust detection, persistence, thread startup, existing decisions, nested untrusted projects, and rendering a remote Git subdirectory.

## What changed

- Query the remote app server for project config layers before starting a thread and show the trust prompt when the project has no existing decision.
- Resolve relative remote working directories and repository-root trust targets, then persist accepted trust through `config/batchWrite` on the remote server.
- Preserve existing trusted and untrusted decisions, including an untrusted repository that contains the requested working directory.
- Exit when the remote trust prompt is declined and ignore repeated key events in the trust selector.

## Testing

- Add coverage for remote trust detection, persistence, thread startup, existing decisions, nested untrusted projects, and rendering a remote Git subdirectory.

GitOrigin-RevId: e5fba2ea23bad1fb28f01df522cadbe05fcbb942
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e5fba2ea23bad1fb28f01df522cadbe05fcbb942 branch from f3be393 to 34e4823 Compare August 17, 2026 21:07
@copyberry
copyberry Bot merged commit 34e4823 into main Aug 17, 2026
27 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e5fba2ea23bad1fb28f01df522cadbe05fcbb942 branch August 17, 2026 21:08
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant