Improve Mikado process: cycle discipline, reset rigor, --resume enhancements #261

Merged
eblume merged 2 commits from feature/mikado-process-improvements into main 2026-02-23 21:03:27 -08:00
Owner

Summary

  • End-of-cycle prompting: After closing a leaf node and pushing, the agent should prompt the user to review and suggest ending the session rather than rushing into the next leaf
  • Reset rigor: Reinforced that errors during impl should trigger a branch reset + plan update (not fix-forward). Documented the git log --oneline --not maingit reset --hardgit cherry-pick pattern with clear threshold guidance
  • --resume shows PR number: Queries the Forgejo API for open PRs matching the branch, displays number/title/URL and a hint to run pr-comments
  • --resume checks git stash: Shows stash entries as a non-presumptive hint — informs without assuming they apply

Test plan

  • mise run docs-mikado --resume runs without errors (no active chains case)
  • On a mikado branch with an open PR, verify PR info is shown
  • With stashed work, verify stash entries are displayed
  • Review agent-change-process.md for clarity

🤖 Generated with Claude Code

## Summary - **End-of-cycle prompting:** After closing a leaf node and pushing, the agent should prompt the user to review and suggest ending the session rather than rushing into the next leaf - **Reset rigor:** Reinforced that errors during impl should trigger a branch reset + plan update (not fix-forward). Documented the `git log --oneline --not main` → `git reset --hard` → `git cherry-pick` pattern with clear threshold guidance - **`--resume` shows PR number:** Queries the Forgejo API for open PRs matching the branch, displays number/title/URL and a hint to run `pr-comments` - **`--resume` checks git stash:** Shows stash entries as a non-presumptive hint — informs without assuming they apply ## Test plan - [ ] `mise run docs-mikado --resume` runs without errors (no active chains case) - [ ] On a mikado branch with an open PR, verify PR info is shown - [ ] With stashed work, verify stash entries are displayed - [ ] Review agent-change-process.md for clarity 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
eblume merged commit 9b4951bf94 into main 2026-02-23 21:03:27 -08:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
eblume/blumeops!261
No description provided.