Repository navigation
refactor: the permuter's rewrites move to decomprepair 0.3.0 - #1138
Merged
RetroGameDeveloper merged 1 commit intoNov 13, 2026
Merged
Conversation
The simple rewrites (permuter.py), local ordering hypotheses and the uninitialized-read guard (app/permuter_local.py, app/permuter_initialization.py) and the decomp-permuter generator with its guards (permuter_gen.py, permuter_capture.py, permuter_dependencies.py, permuter_formatting.py) only propose C, so they now live in decomp-repair, where new permuter rewrites go (AGENTS.md). Their names here are aliases of the library modules. app/permute.py starts the library's permuter_gen.py. The worker's revision and claim_stalls' rule digests read a name from the library when it lives there; before, nine watched names that had already moved were read as missing, so updating them never restarted the worker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RetroGameDeveloper
force-pushed
the
refactor/permuter-rewrites-to-decomprepair
branch
from
November 13, 2026 21:40
0d8ddee to
7f9c8f6
Compare
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
permuter.py,app/permuter_local.py,app/permuter_initialization.py, and the decomp-permuter generatorpermuter_gen.pywith its guards (permuter_capture,permuter_dependencies,permuter_formatting).app/permute.pyruns the library'spermuter_gen.pyby path. Its helpers sit beside it, so thepython -Ilaunch in decomp-permuter's environment is unchanged.app/permute.py,deep_permuter.py,permuter_worker.py,deep_sweep.py,permuter_focus.py(which uses the app's arch dispatcher).permuter_worker.revision()andclaim_stalls._repair_rules()now read a name from the library when it lives there.WATCHEDnames that had already moved (argument_mask_repairs.py,local_flow.py, …) were watched at app paths that no longer exist, so updating them never restarted the worker.Tests
test_permuter_workerfailures, fixed in the last commit, plus a fewtest_export/test_fork_linkones.test_export/test_fork_linkones as flaky.tests/test_decomprepair.pychecks every alias and thatGENERATORis the library's file.ruffis clean.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.