wip: kaizen gate lifecycle — per-PR reflection + auto-close (k#288, k#283)#285
Open
wip: kaizen gate lifecycle — per-PR reflection + auto-close (k#288, k#283)#285
Conversation
…issues (kaizen #288, #283) Two kaizen gate lifecycle improvements that reduce ceremony and prevent issue rot: **Per-PR reflection tracking (#288):** - pr-kaizen-clear.sh writes a `kaizen-reflected-<PR-key>` marker after clearing - kaizen-reflect.sh checks for this marker before setting the gate - Prevents repeated reflection prompts (was firing 4+ times per PR during cleanup) - Each PR gets its own marker — multiple PRs in one session still each get gated **Auto-close kaizen issues on merge (#283):** - kaizen-reflect.sh parses PR body for `Garsson-io/kaizen#NNN` references on merge - Automatically closes referenced issues with a comment linking the merged PR - Only closes issues that are still OPEN (safe for already-closed issues) - Prevents issue rot from forgotten manual closes (3 of 8 PRs had stale refs) **Also:** registers test-waiver-quality.sh in run-all-tests.sh (orphan from PR #235) Tests: 889/889 pass (28 new tests across 2 test files) Run tag: batch-260321-0055-39ca/run-4 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Archaeology NotesBranch: Related kaizen issues: #288 (per-PR reflection tracking), #283 (auto-close issues on merge) Superseded? ✅ YES — main already has:
Both kaizen #288 and #283 were resolved through different PRs. Verdict: Fully superseded. This was an alternative approach; the shipped version came from a different worktree. Safe to close. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
🤖 Generated with Claude Code