You are auditing a migration plan's upstream-PR inventory for obsolescence. An…
- User
You are auditing a migration plan's upstream-PR inventory for obsolescence. An independent regression audit just found that one of the four migration sprints was "semantically a no-op" — upstream already matched the fork. The question: does this invalidate part of the original upstream-PR plan?
Target
- Working directory:
/Users/user_c042661f/Documents/reigh-workspace/reigh-worker - Design doc:
docs/WAN2GP_FORK_MIGRATION_PLAN.md - Focus sections: §2b "Genuinely missing upstream items" and §2c "Already-vendored drift-only items" (line numbers may vary — search by header)
Context
Four-sprint migration of the
Wan2GPdirectory from vendored tree to submodule onbanodoco/Wan2GPfork, resyncing againstdeepbeepmeep/Wan2GPupstream.Sprint 4 (currently executing) plans to:
- Extend
source/models/wgp/wgp_patches.pyto consolidate runtime patches - Draft upstream PRs for the §2b "genuinely missing upstream" items
- Land drift CI
- Publish rebase runbook
The regression audit found:
models/ltx2/hot zone (Sprint 3's resync target): 97 .py files SHA-identical between pre-migration vendored tree and post-migration submodule. Only 2 pure additions (prompt_enhancer.py,ltx_pipelines/utils/res2s.py).wgp.py(12,054 lines): byte-identicalshared/,postprocessing/,preprocessing/,plugins/,defaults/,models/: zero pre-existing files modified
Interpretation: the 3 resync sprints landed as pure-additive. Nothing in our fork actually diverged from upstream in these zones — the "missing upstream items" in §2b might already be in upstream, or might be fork-side additions that we don't want to upstream.
Your job
Read §2b and §2c of the design doc. For each listed upstream-PR candidate:
-
Classify it: (a) genuinely fork-only and upstreamable, (b) already in upstream (obsolete PR), (c) fork-only and NOT upstreamable (keep private), (d) unclear — needs investigation.
-
For items you think are obsolete, cite the evidence from the audit summary above or from
grepping the current submodule tree at/Users/user_c042661f/Documents/reigh-workspace/reigh-worker/Wan2GP/. -
Produce a final inventory: "N upstreamable PRs remain, M are obsolete, K need investigation."
- Working directory:
- Assistant
I’m pulling the migration doc sections you named and then checking only the referenced paths in
Wan2GP/to see which planned upstream PRs are still real versus already present. - Assistant
I have the section anchors. Next I’m pulling the exact §2b/§2c bullets and then matching only those candidate paths against
Wan2GP/instead of scanning the whole tree. - Assistant
I’ve got the candidate list. Now I’m checking just those files and symbols in
Wan2GP/so the verdict is grounded in the current submodule state, not the stale assumptions in the design doc. - Assistant
The direct symbol search came back empty for the gamma/control-video items, which already suggests the doc’s §2b list is overstating what exists in the current submodule. I’m verifying that with a couple of tighter greps and capturing line references for the additions that do exist.
- Assistant
I have enough to separate “already upstreamed into the submodule” from “not even present locally.” I’m doing one last targeted repo-wide grep for the gamma/control-video names so I can say whether they’re real code candidates or just stale plan placeholders.
- Assistant