When IPv6 is unavailable on the host, treat NetworkUnreachable at
connect() as Ok(None) instead of propagating an error, so the dual
STUN probe succeeds with just the IPv4 result and no spurious WARN.
- Users with "scope_{name}" prefix are routed to upstreams where {name}
is present in the "scopes" property (comma-separated).
- Strict separation: Scoped upstreams are excluded from general routing, and vice versa.
- Constraint: SOCKS upstreams and DIRECT(`use_middle_proxy =
false`) mode only.
Example:
User "scope_hello" matches an upstream with `scopes = "world,hello"`
The actions-rs organization has been archived and is no longer available.
Replace the deprecated action with direct cross installation and build commands.
The actions-rs organization has been archived and is no longer available.
Replace the deprecated action with direct cross installation and build commands.
- Add h2 0.4.13 dependency
- Add httpdate 1.0.3 dependency
- Update hyper to include h2 and httpdate features
- Update tokio-util with additional futures and hashbrown dependencies
Rewrite the system prompt for production Rust codebase assistance.
Key changes:
- Add Priority Resolution (Section 0) implementing "Boy Scout Rule" with
explicit scope control: coordinated style fixes are always in scope,
architectural changes require explicit approval
- Add role definition as senior Rust systems engineer with strict code
review responsibilities
- Rewrite negative constraints ("DO NOT") as positive instructions
throughout all sections for better model adherence
- Add structured decision process for complex changes (Section 8):
clarify → assess → propose → implement → verify
- Add context awareness rules (Section 9) for partial code handling
- Add mandatory response format (Section 10) with two-section structure:
Reasoning (Russian) and Changes (English code)
- Add language policy: code/comments/commits in English,
reasoning in Russian
- Add out-of-scope observations reporting mechanism — model reports
issues it finds but is not allowed to fix
- Add splitting protocol for responses exceeding output limits
- Add file size thresholds for full-file vs contextual-diff responses
(200 lines boundary)
- Preserve permission for todo!() and unimplemented!() as idiomatic
Rust markers
- Preserve all existing rules: file size limits, formatting preservation,
warning/dead-code protection, architectural integrity, git discipline