Redesign finish-feature.sh as the closing step of a feature - #52
Merged
Merged
Conversation
finish-feature.sh <issue> "<summary>" runs in the feature worktree, runs verification, and checks that the latest review is current and has no critical or major finding, that every round with findings has an approved triage published on the Issue, and that the latest round has no FIX_NOW findings left. It then stages the changes and opens a structured, editable commit message. --no-review records the reason for a low-risk change. It never pushes or merges. triage-review.sh records the publication in the triage artifact and can publish a stored triage again with --publish. Closes #48 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What changed
./scripts/finish-feature.sh <issue> "<summary>" [--no-review "<reason>"]replaces the broken script and supersedes Addcommit-feature.shhelper script #6 and Deprecate or redesign finish-feature.sh for the pre-commit review workflow #9. In the feature worktree it:feature/<issue>-*and a tree without changes;./scripts/verify.sh;FIX_NOWfindings left; a passed newer round confirms earlier fixes;Refs #<issue>. An emptied message aborts the commit.--no-review "<reason>"finishes a low-risk change without a review and records the reason in the commit message.triage-review.shrecordspublished_atin the triage after publication, andtriage-review.sh --publish <triage-json> [--mark-only]repeats a failed publication.docs/development.md, anddocs/agentic-workflow.mdend the feature workflow withfinish-feature.sh.Issue / acceptance criteria
Closes #48
Risk
Verification evidence
./scripts/verify.shpassed (15 checks), also without global or system Git configurationtests/finish-feature-test.sh, also passing under macOS system bash 3.2)Independent review: Codex (
gpt-6-astra), read-only. CHANGES REQUIRED:Not re-reviewed after the fixes.
Agent involvement
Planner: —
Implementer: Claude (Opus 5.5)
Reviewer: Codex (gpt-6-astra)
Production impact
None.
🤖 Generated with Claude Code