Skip to content

docs: capture upstream README sync guidance#44

Merged
nisavid merged 1 commit into
mainfrom
nisavid/readme-upstream-guidance
May 15, 2026
Merged

docs: capture upstream README sync guidance#44
nisavid merged 1 commit into
mainfrom
nisavid/readme-upstream-guidance

Conversation

@nisavid
Copy link
Copy Markdown
Owner

@nisavid nisavid commented May 15, 2026

Summary

  • Incorporates upstream README facts that were present in ilysenko/codex-desktop-linux but underrepresented here: optional linux-features/, Chrome native host support, Computer Use host readiness, hardened /tmp noexec workarounds, Electron mirrors, and side-by-side dev builds.
  • Keeps those facts translated through this fork's local codex-app names, paths, updater identity, and docs structure instead of copying upstream wording wholesale.
  • Adds an upstream README/user-facing docs review checkpoint to AGENTS.md, .agents/fork-sync-policy.toml, and docs/maintainers/fork-sync-policy.md so future sync ledgers classify readme-relevant upstream additions.

Verification

  • git diff --check passed.
  • rg -n 'codex-update-manager|~/.config/codex-desktop|/opt/codex-desktop|dist/codex-desktop_|dist/codex-desktop-|github:ilysenko/codex-desktop-linux' README.md docs/usage AGENTS.md docs/maintainers/fork-sync-policy.md .agents/fork-sync-policy.toml returned no matches.
  • rg -n 'It gives|few practical|the Linux fork|Linux fork' README.md docs/usage AGENTS.md docs/maintainers/fork-sync-policy.md .agents/fork-sync-policy.toml returned only the intentional AGENTS.md prohibition.

Docs-only change; no build gate needed.

Summary by CodeRabbit

  • New Features

    • Added Chrome plugin native host entry and an optional, opt-in Linux feature registry
    • Expanded Linux Computer Use with runtime-readiness checks and post-build diagnostic commands
  • Documentation

    • Added Electron mirror/header configuration and dev-app side-by-side build/run guidance
    • Expanded troubleshooting for /tmp noexec, Electron download/rebuild, stale install recovery, and Computer Use issues
    • Updated fork-sync policy to require upstream README/user-doc comparisons, classification of README changes, and ledger recording

Review Change Stack

@nisavid nisavid marked this pull request as ready for review May 15, 2026 04:33
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 15, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: f366e8fd-db9e-4e6e-bf5a-bc93f04612bf

📥 Commits

Reviewing files that changed from the base of the PR and between a91fbeb and 83d04f7.

📒 Files selected for processing (6)
  • .agents/fork-sync-policy.toml
  • AGENTS.md
  • README.md
  • docs/maintainers/fork-sync-policy.md
  • docs/usage/build-and-run.md
  • docs/usage/troubleshooting.md

📝 Walkthrough

Walkthrough

This PR adds a docs-review configuration to fork-sync policy and extends user-facing docs with hardened-system workarounds, Electron build/download knobs, an opt-in Linux feature registry, Linux Computer Use runtime/verification steps, and expanded troubleshooting.

Changes

Documentation and fork-sync policy updates

Layer / File(s) Summary
Fork sync policy framework and agent guidance
.agents/fork-sync-policy.toml, AGENTS.md, docs/maintainers/fork-sync-policy.md
New [docs_review] configuration section specifies upstream user-facing docs review requirements and README-relevant change classifications. Agent missing-skill fallback extended to require documentation comparison and adaptation. Maintainer guidance clarified that upstream README/usage-doc changes are product facts requiring translation to local fork contracts.
Installation prerequisites and hardened environment setup
README.md, docs/usage/build-and-run.md
Dependency-helper distro list expanded (including zypper). New guidance for hardened systems where /tmp is noexec: users set TMPDIR and XDG_CACHE_HOME before install/build commands.
Feature status matrix and optional Linux features
README.md
Feature-status table gains Chrome plugin native host and optional Linux feature registry rows. New "Optional Linux Features" section describes enabling feature IDs via linux-features/features.json.
Build system customization and development workflow
README.md, docs/usage/build-and-run.md
Electron build knobs documented: ELECTRON_MIRROR and ELECTRON_HEADERS_URL (with SHASUMS256.txt). Side-by-side dev workflow added: make build-dev-app / make run-dev-app with DEV_APP_ID, DEV_APP_NAME, CODEX_WEBVIEW_PORT overrides.
Linux Computer Use runtime readiness and verification
README.md, docs/usage/build-and-run.md
Linux Computer Use expanded with runtime prerequisites (ydotool/ydotoold, /dev/uinput, XDG Desktop Portal backends) and documented codex-computer-use-linux subcommands (doctor, setup, apps, windows) for post-build verification.
Troubleshooting documentation expansion
README.md, docs/usage/troubleshooting.md
Troubleshooting table extended with entries for hardened-host failures, Electron download/connection timeouts (with mirror/header URL remedies), stale app-tree recovery, and Computer Use debugging (UI visibility, ydotool permissions, AT-SPI recovery).

Sequence Diagram(s)

sequenceDiagram
  participant SyncAgent as Sync Agent
  participant UpstreamRepo as Upstream Repo
  participant SyncLedger as Sync Ledger
  participant Maintainer as Fork Maintainer

  SyncAgent->>UpstreamRepo: fetch README / usage docs
  SyncAgent->>SyncLedger: record missing-skill fallback + doc comparison results
  SyncAgent->>Maintainer: surface unresolved items in PR body
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • nisavid/codex-app-linux#13: Both PRs extend the upstream fork-sync guardrails by modifying .agents/fork-sync-policy.toml and related sync/ledger documentation so agents must review upstream user-facing docs and route uncertainty via the same sync-ledger/triage workflow.
  • nisavid/codex-app-linux#15: The main PR’s updates to Linux Computer Use user-facing docs/build guidance overlap with PR #15’s Linux Computer Use documentation alignment around the same opt-in/persisted settings logic.

Poem

A rabbit reads the README light,
Sets TMPDIR where /tmp won't bite,
Mirrors fetch Electron with a hop,
Runs doctor, setup — fixes pop,
I nibble docs and tidy the sync 🌷🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the main change: adding upstream README synchronization guidance through documentation updates and policy configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI review requested due to automatic review settings May 15, 2026 04:33
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 15, 2026

Greptile Summary

This docs-only PR captures upstream README facts (Chrome native host, optional linux-features/ registry, Computer Use runtime readiness, /tmp noexec workarounds, Electron mirrors, and dev-app side-by-side builds) translated through the fork's local names and paths, and adds a mandatory upstream README review checkpoint to the fork-sync policy machinery.

  • README.md / build-and-run.md / troubleshooting.md: New feature table rows, /tmp noexec and Electron mirror guidance, dev-app build overrides, Computer Use runtime readiness commands, and six new troubleshooting rows; all cross-references resolve to existing files.
  • fork-sync-policy.md / .agents/fork-sync-policy.toml / AGENTS.md: New step 8 requiring upstream docs comparison on every sync, matching [docs_review] TOML block, and expanded sync ledger requirements; step renumbering (8–13 → 9–14) is correct.

Confidence Score: 5/5

Documentation-only change with no build or runtime impact; safe to merge.

All six changed files are documentation or policy config. Every internal cross-reference resolves to existing files in the repo. Content is consistent across README, build-and-run, and troubleshooting. No code, scripts, or workflows are touched.

No files require special attention.

Important Files Changed

Filename Overview
.agents/fork-sync-policy.toml Adds [docs_review] section formalizing upstream README comparison requirements, with well-structured classify_readme_relevant_additions labels.
AGENTS.md Adds one sentence directing agents to compare upstream README/usage docs and adapt relevant facts under local names; minimal and correct.
README.md Adds feature table rows for Chrome native host and optional Linux features, /tmp noexec and Electron mirror notes, dev-app side-by-side build section, Computer Use runtime readiness info, and quick-start bullets; all cross-references resolve correctly.
docs/maintainers/fork-sync-policy.md Inserts new step 8 for upstream docs review, renumbers steps 8–13 to 9–14 correctly, and expands the sync ledger and divergence guidance sections.
docs/usage/build-and-run.md Adds zypper to supported package managers, /tmp noexec workaround, Electron mirror/headers docs, dev-app build overrides, Optional Linux Features section, and Computer Use runtime readiness commands; all relative links verified correct.
docs/usage/troubleshooting.md Adds six new troubleshooting rows covering /tmp noexec, Electron download failures, Computer Use UI visibility, ydotool permissions, and AT-SPI; content is accurate and consistent with build-and-run.md and README.md.

Reviews (3): Last reviewed commit: "docs: capture upstream README sync guida..." | Re-trigger Greptile

Comment thread docs/usage/troubleshooting.md Outdated
@nisavid nisavid force-pushed the nisavid/readme-upstream-guidance branch from acb0b74 to 0df0b06 Compare May 15, 2026 04:36
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the fork’s user-facing documentation to capture upstream README “product facts” (optional linux-features/, Chrome native host, Computer Use readiness, hardened /tmp noexec workarounds, Electron mirrors, and side-by-side dev builds) while translating them into this repo’s local codex-app identity/contracts. It also updates maintainer/agent sync policy to explicitly require reviewing upstream README and other user-facing docs during upstream syncs.

Changes:

  • Document additional supported surfaces and build/runtime knobs in README.md (Chrome native host, optional linux-features, /tmp noexec, Electron mirrors, dev builds, Computer Use readiness commands).
  • Expand docs/usage/* with troubleshooting entries and build guidance for hardened /tmp, Electron mirrors, optional features, and Computer Use readiness.
  • Add an explicit “upstream README/user-facing docs review” checkpoint to maintainer/agent sync policy (AGENTS.md, docs/maintainers/fork-sync-policy.md, .agents/fork-sync-policy.toml).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
README.md Adds user-facing feature/support notes and practical build/troubleshooting guidance (mirrors, dev builds, optional features, Computer Use readiness).
docs/usage/troubleshooting.md Adds troubleshooting rows for hardened /tmp, Electron download issues, and Computer Use diagnostics.
docs/usage/build-and-run.md Adds hardened /tmp workaround snippet, Electron mirror knobs, dev build targets, optional features overview, and Computer Use readiness commands.
docs/maintainers/fork-sync-policy.md Requires upstream README/user-facing doc review and classification in sync workflow + ledger.
AGENTS.md Adds an agent-facing reminder to compare/adapt upstream README/user docs under local contracts during syncs.
.agents/fork-sync-policy.toml Introduces a [docs_review] section enumerating required upstream/local docs and classification buckets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/usage/build-and-run.md Outdated
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0df0b066ed

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread docs/usage/troubleshooting.md Outdated
@nisavid nisavid force-pushed the nisavid/readme-upstream-guidance branch 2 times, most recently from c459b2e to a91fbeb Compare May 15, 2026 04:39
Copilot AI review requested due to automatic review settings May 15, 2026 04:39
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/usage/troubleshooting.md`:
- Around line 65-66: Update the two troubleshooting table rows that mention
"ydotoold", "ydotool_socket", and "/dev/uinput" to include example group names
(e.g., input, uinput, wheel, plugdev) and a short note that names vary by
distribution; for example, change the first row's guidance to "Start ydotoold,
then add your user to the input/uinput (or distro-specific) group that can
access /dev/uinput and the daemon socket" and the second to "Make the ydotoold
socket group-readable by an input-capable group (common names: input, uinput,
plugdev, wheel) or check your distro's group for input devices."
- Line 67: Update the troubleshooting table row that references
./codex-app/resources/plugins/openai-bundled/plugins/computer-use/bin/codex-computer-use-linux
to explicitly state this fix is GNOME-specific: replace the current description
with a note that AT-SPI is a GNOME accessibility standard, instruct GNOME users
to run the listed setup command and restart the app, and add a short sentence
clarifying that non-GNOME desktops (KDE, XFCE, etc.) use different accessibility
mechanisms and may not populate AT-SPI trees.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: ed6f143e-8570-41f6-afe6-e63e11f1f805

📥 Commits

Reviewing files that changed from the base of the PR and between 0df0b06 and a91fbeb.

📒 Files selected for processing (6)
  • .agents/fork-sync-policy.toml
  • AGENTS.md
  • README.md
  • docs/maintainers/fork-sync-policy.md
  • docs/usage/build-and-run.md
  • docs/usage/troubleshooting.md

Comment thread docs/usage/troubleshooting.md Outdated
Comment thread docs/usage/troubleshooting.md Outdated
Incorporate user-facing README facts that upstream added around optional Linux features, Chrome native host support, Computer Use readiness, noexec temporary directories, Electron mirrors, and side-by-side dev builds. Extend fork-sync policy so upstream README and usage docs are reviewed as product facts and translated through local contracts during future syncs.

Co-authored-by: Codex <noreply@openai.com>
@nisavid nisavid force-pushed the nisavid/readme-upstream-guidance branch from a91fbeb to 83d04f7 Compare May 15, 2026 04:48
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.

2 participants