Commit 5990827
committed
Gate methodology completion on a clean git tree
When methodology-analysis-state.md is active, the stop hook returned
exit 0 as soon as complete_methodology_analysis succeeded, short-
circuiting past the main git-clean gate. Tracked source edits made
during the analysis phase (for example, post-Codex-signoff
modifications) could slip through unreviewed the moment the completion
marker appeared.
Re-run the existing git-clean validation inside the methodology
completion branch before allowing the terminal exit. Reuse the
HUMANIZE_UNTRACKED_PATTERN filter from the main gate so legitimate
.humanize/rlcr/... methodology artifacts are not themselves treated as
dirty. If the filtered status is non-empty, block with the same
git-not-clean template the main gate uses.1 parent d09a282 commit 5990827
1 file changed
Lines changed: 39 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | | - | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
620 | 658 | | |
621 | 659 | | |
622 | 660 | | |
| |||
0 commit comments