docs: address review comments from #8040

Merged
KI
2mo ago
+9-8

What

Fixes the review comments left on #8040 after it merged. I checked each one against the source.

CommentFix
Greptile: folder rename misdocumented (workspaces.mdx)Background naming renames the branch only. workspace-naming-job.ts never moves the worktree, so the folder keeps the name it was created with.
cubic: worktree bullets contradict (workspaces.mdx)Worktrees stay on disk while the project can be restored. After 30 days, clean worktrees are removed; worktrees with uncommitted changes and the repository folder stay.
cubic: Cmd-only modifiers (customization.mdx)Changed to Cmd/Ctrl-click and Cmd/Ctrl+Shift-click, matching editor.mdx.
cubic: ⌘O is macOS-only (use-with-ide.mdx)Added Ctrl+Shift+O for Windows and Linux, from hotkeys/registry.ts.
cubic: unclear offer wording (pages.mdx)The agent now does the offering.
cubic: Oh My Pi missing from the agent list (agent-integration.mdx)Added Oh My Pi (omp in builtin-terminal-agents.ts).
cubic: stale "opening notes" (cli/cli-reference.mdx)The publish result has a watchNote, not an opening note (publishResult.ts).
cubic: Changes control states (diff-viewer.mdx)Before a PR exists, it shows diff stats and the commit, push, and create-PR actions; once a PR exists, it shows the PR badge (ChangesControl.tsx).
cubic: bad commit hash in TODO.mdNot changed. TODO.md is an append-only run log, and the hash is the pre-rebase commit the run reported at the time.

Validation

  • bun run --cwd apps/docs typecheck: pass
  • bun run lint:fix, then bun run lint: exit 0
  • Vale on the 7 changed files: 0 errors, 0 warnings
  • git diff --check: clean

Summary by cubic

Addresses the review comments on #8040 so the docs match actual behavior.

  • Background naming renames the branch only; worktree folders keep the name they were created with.
  • Deleting a project removes clean worktrees after 30 days, but dirty worktrees and the repository folder stay.
  • Added Cmd/Ctrl and Cmd/Ctrl+Shift-click modifiers, plus Ctrl+Shift+O for Windows and Linux.
  • The Changes control shows diff stats when files change, with the commit, push, and create-PR actions in a chevron menu; once a PR exists it shows the PR badge. Only the diff stats and badge toggle the pane.
  • Added Oh My Pi to the supported agents and clarified that the agent offers to publish pages.
  • The pages publish result returns watchNote, not opening notes.

The bad commit hash in TODO.md was left as-is because it's an append-only run log.

Summary by CodeRabbit

  • Documentation
    • Added Oh My Pi to the supported-agent list.
    • Clarified publish results, including when a republish command is provided and what comment-session status indicates.
    • Updated file-selection and open-in shortcut guidance for Mac, Windows, and Linux.
    • Explained how the Changes control behaves before and after a PR exists, including when it opens the Changes pane and when it is hidden.
    • Clarified how the Pages publishing prompt works, how generated branch names differ from folder names, and what happens to worktrees when a project is deleted.