Skip to content

Revert PR #7 — it merged a stale-base implementation that feat/work-modes already carries - #13

Merged
ranjiao merged 1 commit into
mainfrom
fix/revert-pr7-stale-ns01
Aug 20, 2026
Merged

Revert PR #7 — it merged a stale-base implementation that feat/work-modes already carries#13
ranjiao merged 1 commit into
mainfrom
fix/revert-pr7-stale-ns01

Conversation

@ranjiao

@ranjiao ranjiao commented Aug 20, 2026

Copy link
Copy Markdown
Owner

PR #7 was opened from a worktree cut off main, which trailed feat/work-modes by 279 commits at the time. It therefore edited a bin/perry-lint that predated the task-store cutover and two later lint changes, and every measurement it reported was taken against that older binary. It was superseded by PR #9, which redid the same work on the correct base and is merged into feat/work-modes.

Merging #7 into main left two different implementations of one feature, one on each branch:

NS-01 occurrences in bin/perry-lint
main (PR #7) 9
feat/work-modes (PR #9) 13

They differ by 2,311 lines and a test-merge produced 4 conflict blocks. The hazard is not the conflict — it is that the conflict is semantic. A merge that resolves it textually can leave both implementations in place, and no test in either branch asserts there is only one.

What this does

Reverts the merge commit with -m 1, keeping main's side. Verified:

The feature is not lost. feat/work-modes carries PR #9, the version built on the current tree, with tests/test_ns_collision.py (34 tests) and byte-identity verified head-to-head against the pre-change binary on four project/flag combinations.

Why a PR rather than a push to main

work/reference/git-boundaries.md allows a direct push to main only for low-risk documentation commits. This is a code revert, so it goes through review like any other code change.

🤖 Generated with Claude Code

@ranjiao
ranjiao merged commit 2369b53 into main Aug 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant