Skip to content

docs: document contentrain prune + remote cr/* branch cleanup#67

Merged
ABB65 merged 1 commit into
mainfrom
docs/remote-branch-cleanup-and-prune
Jul 9, 2026
Merged

docs: document contentrain prune + remote cr/* branch cleanup#67
ABB65 merged 1 commit into
mainfrom
docs/remote-branch-cleanup-and-prune

Conversation

@ABB65

@ABB65 ABB65 commented Jul 9, 2026

Copy link
Copy Markdown
Member

Why

PR #60 (remote-branch-cleanup + the new contentrain prune command) updated the package READMEs and docs/reference/config.md, but the VitePress docs/ site was left describing pre-#60 behavior. This closes that gap.

Changes

docs/packages/cli.md

  • Add the contentrain prune command — table row + a full ### contentrain prune section (--dry-run / --yes / --json, backlog drain, remoteBranchCleanup gate).
  • contentrain merge / contentrain diff now note they delete the remote copy on merge/reject; contentrain doctor mentions the remote cr/* count.

docs/packages/mcp.md

  • Refresh the branch-tool descriptions: contentrain_merge (deletes remote copy), contentrain_branch_delete (remote + remote-only), contentrain_branch_list (remote: true), contentrain_submit (lazy prune), contentrain_doctor (remote check).
  • Git-native-workflow section: remote cleanup + remoteBranchCleanup opt-out + patch-id merged detection.

docs/concepts.md

  • Note remote cleanup in the Git workflow section.

Scope

Docs-only. The site is private: true (not published), so no changeset. vitepress build passes (no broken links). No docs/ updates were needed for #62/#63/#64/#65 — those are internal perf / advanced exports / CI, not user-facing tools, commands, or config.

🤖 Generated with Claude Code

The remote-branch-cleanup work (PR #60) updated the package READMEs and
docs/reference/config.md but not the VitePress docs site. Sync it:

- cli.md: add the `contentrain prune` command (table row + detail section);
  note that merge/diff now delete the remote copy; doctor mentions the
  remote cr/* count.
- mcp.md: refresh the branch-tool descriptions (merge deletes the remote
  copy, branch_delete deletes it too / remote-only, branch_list remote:true,
  submit lazy-prunes, doctor remote check) and the Git-native-workflow
  section (remote cleanup + remoteBranchCleanup opt-out + patch-id merged
  detection).
- concepts.md: note remote cleanup in the Git workflow section.

Docs-only (site is private, no changeset). VitePress build passes.
@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for contentrain-ai ready!

Name Link
🔨 Latest commit f89495a
🔍 Latest deploy log https://app.netlify.com/projects/contentrain-ai/deploys/6a4f7168520e71000866fad8
😎 Deploy Preview https://deploy-preview-67--contentrain-ai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ABB65
ABB65 merged commit 80d5594 into main Jul 9, 2026
6 checks passed
@ABB65
ABB65 deleted the docs/remote-branch-cleanup-and-prune branch July 9, 2026 10:14
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 9, 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