Repository navigation
plans: full pproxy parity roadmap and Track A handoff - #1
Merged
Merged
Conversation
- Add crates/eggress-testkit/src/canonical_manifest.rs: Rust validator for docs/parity/pproxy_capability_manifest.toml with 13 validation rules (tier/layer/evidence vocabulary, drop-in requirements, evidence strength, cross-field contradictions, typo detection) and 51 tests. - Fix 3x egress_behavior -> eggress_behavior typos in canonical manifest. - Fix stale docs: COMPATIBILITY_EVIDENCE source reference, PARITY_MATRIX --rulefile diagnostics entry, PPROXY_PARITY_SPEC CLI flag table for Phase 38 changes, diagnostics.rs tier comment, pproxy.py FeatureInfo.tier docstring. - Add deprecation note to legacy tests/compat/pproxy_manifest.toml. - Update AGENTS.md with canonical manifest validation commands.
Add a standalone pproxy binary target alongside eggress in eggress-cli. Users can now run pproxy directly (pproxy -l http://:8080 -r socks5://...) instead of going through the eggress pproxy subcommands. Changes: - New binary: crates/eggress-cli/src/pproxy_main.rs (275 lines) - Raw arg parsing from env::args_os (not clap) - --version, -h/--help with comprehensive flag reference - Delegates to PproxyArgs::parse() → translate_pproxy_args() - Startup banner with version, listeners, remotes, UDP, TLS, PAC - --test spawns eggress upstream test and exits with its status - --sys inspects system proxy before starting - Verbose flag normalization: -v/-vv/-vvv → verbose_level (0-3) - Maps to RUST_LOG: 0→info, 1-2→debug, 3+→trace - 16 integration tests in pproxy_binary.rs - 5 unit tests for verbose_level in args.rs - Docs: README, AGENTS.md, .skills/rust-proxy-dev.md updated
Dual regex backend: fast regex + fancy_regex for lookahead/lookbehind/ backreferences. Rulefile loader validates patterns and enforces 10K entry limit. -b flag patterns validated at parse time. URI ?rules_file= parameter preserved through translation. New diagnostic codes: RulefileError, InvalidRegexPattern, FancyRegexBackend, UriPreservedUnsupportedComponent. Co-Authored-By: opencode <noreply@opencode.ai>
… oracle harness - Split 6 broad protocol capabilities into 36 granular entries (109→139 total) - HTTP CONNECT: 9 sub-caps (ipv4, ipv6, domain, auth_success/failure, refused, half_close, fragmented, timeout) - HTTP Forward: 9 sub-caps (get, post, head, chunked, persistent, connection_close, auth, malformed, upstream_close) - SOCKS4/4a: 5 sub-caps (connect_ipv4, user_id, refused, malformed, connect_domain) - SOCKS5: 8 sub-caps (connect_ipv4/ipv6/domain/refused, auth_success/failure, malformed, half_close) - Chain matrix: 4 new entries (socks5_to_http, socks5_to_socks5, http_to_socks5, http_to_http) - Add chain matrix differential tests (HTTP→SOCKS5, HTTP→HTTP) in pproxy_differential.rs - Add oracle scenario harness in eggress-testkit (scenario, report modules) - Update PPROXY_PARITY_REPORT.md, PARITY_MATRIX.md, AGENTS.md, README.md, skills - Update capability counts across all release docs (109→139)
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.
Adds a full pproxy parity roadmap and detailed Track A handoff plans under
plans/.Files added:
plans/full_pproxy_parity_roadmap.mdplans/track_a_00_canonical_parity_contract.mdplans/track_a_01_pproxy_oracle_harness.mdplans/track_a_02_cli_drop_in_compatibility.mdplans/track_a_03_uri_rule_regex_compatibility.mdplans/track_a_04_http_socks_exactness.mdplans/track_a_05_status_consistency_and_trojan_closure.mdThe roadmap incorporates the
fancy_regexcompatibility-backend decision for pproxy rulefile/block regex support while documenting remaining Pythonresemantic gaps as explicit compatibility caveats.