Skip to content

fix(status): detect merged parent branches and suggest stack sync#77

Merged
javoire merged 1 commit intomainfrom
fix-merged-parent-sync-detection
Mar 6, 2026
Merged

fix(status): detect merged parent branches and suggest stack sync#77
javoire merged 1 commit intomainfrom
fix-merged-parent-sync-detection

Conversation

@javoire
Copy link
Owner

@javoire javoire commented Mar 6, 2026

Summary

  • stack status now detects when a parent branch's PR is merged (or parent merged via git history) and tells the user to run stack sync to reparent, instead of falsely reporting "perfectly synced"
  • Adds decision-log.md for tracking architectural decisions
  • Symlinks AGENTS.md to CLAUDE.md so both filenames serve the same instructions

🤖 Generated with Claude Code

`stack status` reported "perfectly synced" even when a parent branch's
PR was merged. Now detects merged parents via PR state and git ancestry
fallback, and tells the user to run `stack sync` to reparent.

Also adds decision-log.md and symlinks AGENTS.md to CLAUDE.md.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@javoire javoire marked this pull request as ready for review March 6, 2026 16:36
@javoire javoire merged commit 5f847b1 into main Mar 6, 2026
1 check passed
@javoire javoire deleted the fix-merged-parent-sync-detection branch March 6, 2026 16:36
javoire pushed a commit that referenced this pull request Mar 6, 2026
…026-03-06)

### Bug Fixes

* **status:** detect merged parent branches and suggest stack sync ([#77](#77)) ([5f847b1](5f847b1))
@javoire
Copy link
Owner Author

javoire commented Mar 6, 2026

🎉 This PR is included in version 1.21.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant