Repository navigation
Conversation
suir1
marked this pull request as ready for review
August 11, 2026 06:21
suir1
marked this pull request as draft
August 11, 2026 06:25
Handle free-function request helpers and keep projected bypass behavior through materialization. Reject invalid normalized Rust earlier and lock the repaired Baozi conversion path with regression coverage.
Move decompiled bypass recovery into SourceIR v8, exclude sensitive literal headers, and keep materialization limited to the audited effective manifest. Zero-repair resumes now avoid provider validation and construction.
suir1
marked this pull request as ready for review
August 11, 2026 08:44
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
PageRequestBypassfacts in SourceIR v8RequestPolicyconsume typed SourceIR facts only; it no longer scans JADX files or guesses URL joins from Rust variable namesapply_generation_manifestas a pure materializer of the already-audited effective Generation ManifestWhy
The Baozi APK regression exposed request behavior that was initially recovered too late and spread across compatibility rules. The final design keeps raw JADX interpretation in Decompiled Analysis, stores the recovered network policy in SourceIR, and leaves generation projection and materialization with explicit, auditable inputs. No source ID, site-domain, or Baozi endpoint dispatch was added.
Impact
The saved DeepSeek Baozi conversion resumes with no
C2A_API_KEY, performs zero provider calls, excludes sensitive literal request headers, and reachesverified: listing, seven filters, details, chapters, cover, bypass page parsing, first image, WASM build, package, andaidoku verifyall pass. Independentc2a validatealso returnsverified.Current PR size relative to
main:+802/-130(net +672)+825/-21(net +804)+1627/-151(net +1476)This includes all three commits in the Draft PR, not only the final architecture repair.
Validation
uv run pytest -q— 599 passed, 9 explicitly skipped Rust integration testsC2A_RUN_RUST_INTEGRATION=1 uv run pytest -q tests/test_rust_integration.py— 9 passeduv run ruff check .uv run ruff format --check .uv buildc2a convert --resume --max-repairs 0— verified, zero provider callsc2a validatethrough Mihomo — verifiedMigration and risk
absolute_urland request helpers. More complex dynamic request flows remain outside deterministic projection and may require AI repair.e18af93; no persisted provider credentials or destructive data migration are involved.The PR remains Draft and is not approved for merge automatically.