Skip to content

docs: expand multi-agent and stacked PR guides#60

Merged
xirong merged 1 commit into
ai/repo-agent-conventionsfrom
ai/expand-multi-agent-stacked-pr
Jun 11, 2026
Merged

docs: expand multi-agent and stacked PR guides#60
xirong merged 1 commit into
ai/repo-agent-conventionsfrom
ai/expand-multi-agent-stacked-pr

Conversation

@xirong

@xirong xirong commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Summary

PR 4 of 4 in the v2.1.0 stack. Merge last.

Expands two guides from principle lists into executable workflows:

  • multi-agent-branch-strategy.md (zh + en): comparing experiment branches (git diff main..., git range-diff), integrating the winning solution (cherry-pick by commit or by file), an ordered procedure for same-file collisions, and cleanup of losing branches (archive tag, branch, worktree, remote)
  • stacked-pr-for-ai-generated-changes.md (zh + en): operating a stack with native Git (gh pr create --base, git rebase --update-refs, git rebase --onto after the base merges, --force-with-lease risk note) and Graphite CLI core commands
  • Records the v2.1.0 scope in ROADMAP.md and 00-meta/roadmap.md

AI involvement

  • Tool: Claude Code
  • Task boundary: the two articles above plus roadmap entries, no other articles touched
  • Graphite CLI command names verified against the official docs; a 404 link found during verification was corrected to https://graphite.dev/docs/cheatsheet
  • Suggested human review focus: the git rebase --onto main pr-1 sequence in section 5, since readers will copy it verbatim

Verification

  • python3 scripts/check-docs.py passes
  • python3 scripts/check-links.py --no-external passes
  • New external links manually verified to return 200

🤖 Generated with Claude Code

Add executable workflows for comparing, integrating, and cleaning up
agent branches, native Git commands and Graphite CLI usage for PR
stacks, and record the v2.1.0 scope in the roadmaps.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@xirong xirong merged commit 8894a4f into ai/repo-agent-conventions Jun 11, 2026
2 checks passed
xirong added a commit that referenced this pull request Jun 11, 2026
PRs #58, #59, and #60 were merged into their stacked base branches
before those branches were retargeted to master. This merge brings
the aggregated content of all three onto master.

* origin/ai/repo-agent-conventions:
  docs(ai-native): expand multi-agent and stacked PR guides
  docs: adopt agent conventions for this repository
  docs(templates): add AGENTS.md template
@xirong xirong deleted the ai/expand-multi-agent-stacked-pr branch June 11, 2026 11:31
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