Skip to content

📖 [Docs]: Stacked pull request workflow and workspace path clarified#73

Merged
Marius Storhaug (MariusStorhaug) merged 2 commits into
mainfrom
docs-72-stacked-pull-request-workflow
Jul 25, 2026
Merged

📖 [Docs]: Stacked pull request workflow and workspace path clarified#73
Marius Storhaug (MariusStorhaug) merged 2 commits into
mainfrom
docs-72-stacked-pull-request-workflow

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Jul 25, 2026

Copy link
Copy Markdown
Member

Dependent changes now have one deterministic path from draft through merge, and the repository agent entry point points to the canonical MSX workspace.

New: Stacked pull request workflow

Each layer keeps its own Task issue, branch, pull request, validation, and review boundary. Branches build from the destination upward, every layer opens as a draft, only the lowest unmerged layer becomes ready, and the stack lands bottom-up.

The workflow defines how layers identify their immediate dependency, keep their diffs isolated, refresh after a dependency lands, retarget to the landed destination, and rerun validation before review.

Fixed: Canonical workspace path

The repository agent guidance now directs contributors and agents to ~/.msx/docs and ~/.msx/memory, matching the workspace bootstrap and agentic-development documentation.

Technical Details

  • src/docs/Ways-of-Working/Branching-and-Merging.md owns the stacked pull request lifecycle alongside the existing base-branch and merge rules.
  • AGENTS.md replaces the obsolete .msx/main/docs and relative .msx/memory references.
  • Implementation plan progress: all tasks in the linked issue are complete.
Related issues

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the repository’s “Ways of Working” documentation to define a deterministic stacked pull request workflow for dependent changes, and aligns agent guidance with the canonical MSX workspace paths (~/.msx/docs and ~/.msx/memory).

Changes:

  • Adds a “Stacked pull requests” section documenting the lifecycle, layering rules, and merge order for stacked PRs.
  • Clarifies how to express stack dependencies using existing issue hierarchy and PR description conventions.
  • Updates AGENTS.md to point contributors/agents to the canonical workspace paths.

Reviewed changes

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

File Description
src/docs/Ways-of-Working/Branching-and-Merging.md Documents the stacked PR workflow (layering, readiness, refresh/retarget, merge order) alongside existing branching/merge guidance.
AGENTS.md Updates workspace pointers to the canonical ~/.msx/docs and ~/.msx/memory paths.

@MariusStorhaug Marius Storhaug (MariusStorhaug) added the NoRelease No release required label Jul 25, 2026
@MariusStorhaug
Marius Storhaug (MariusStorhaug) marked this pull request as ready for review July 25, 2026 14:35
@MariusStorhaug
Marius Storhaug (MariusStorhaug) merged commit db308af into main Jul 25, 2026
20 checks passed
@MariusStorhaug
Marius Storhaug (MariusStorhaug) deleted the docs-72-stacked-pull-request-workflow branch July 25, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NoRelease No release required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Define the stacked pull request workflow

2 participants