You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Buyer-visible connection-pool policy-integrity gap
EgressPolicy retains one immutable EgressConnectionPoolPolicy, and both pinned transports later consume its capacity and expiry fields when constructing HTTPCore pools. A non-exact subclass is outside the reviewed finite-resource policy contract because later attribute dispatch can diverge from the values validated and fingerprinted at startup. This is a trusted configuration-integrity boundary, not a Python-sandbox claim.
Current canonical candidate
The current replacement is Draft PR #221, exact head f97084256922f7085b94096f6c20e4a613fac738, stacked on timeout-policy replacement #220 and method-policy predecessor #204. Historical #117/#151/#169/#182 remain evidence only; #182 is closed as superseded and no historical acceptance evidence transfers.
Test-first reconstruction is complete:
RED-only head 834ec1979e48c37ae35483e20563772caabd59fd failed both constructor regressions across Python 3.10–3.14;
minimal GREEN head 26fb5b2a84f8efa9a19b5ca5fc32e177786e0145 introduced the exact built-in policy-object boundary;
exact final head f97084256922f7085b94096f6c20e4a613fac738 adds migration guidance and its permanent documentation contract;
exact-head CI passed Python 3.10–3.14, 1,038 tests, 1,762/1,762 production statements, and 590/590 production branches.
Acceptance criteria
Reproduce subclass-controlled later pool-value dispatch on the current policy stack.
Add deterministic hosted RED evidence before production code.
Reject non-exact EgressConnectionPoolPolicy objects during trusted construction.
Preserve exact instances, defaults, normalization, public builders, deterministic evidence, and every existing authority/DNS/TLS/proxy/request/response/timeout boundary.
Document the pre-1.0 compatibility narrowing and migration to an exact declarative instance.
Obtain fresh Python 3.10–3.14/package verification with 100% owned-production statement/branch coverage.
#221 is the only active implementation lane. Do not reopen historical candidates, create a competing policy.py writer, weaken required gates, churn a clean head to retrigger external systems, or synthesize review/status evidence.
Buyer-visible connection-pool policy-integrity gap
EgressPolicyretains one immutableEgressConnectionPoolPolicy, and both pinned transports later consume its capacity and expiry fields when constructing HTTPCore pools. A non-exact subclass is outside the reviewed finite-resource policy contract because later attribute dispatch can diverge from the values validated and fingerprinted at startup. This is a trusted configuration-integrity boundary, not a Python-sandbox claim.Current canonical candidate
The current replacement is Draft PR #221, exact head
f97084256922f7085b94096f6c20e4a613fac738, stacked on timeout-policy replacement #220 and method-policy predecessor #204. Historical #117/#151/#169/#182 remain evidence only; #182 is closed as superseded and no historical acceptance evidence transfers.Test-first reconstruction is complete:
834ec1979e48c37ae35483e20563772caabd59fdfailed both constructor regressions across Python 3.10–3.14;26fb5b2a84f8efa9a19b5ca5fc32e177786e0145introduced the exact built-in policy-object boundary;f97084256922f7085b94096f6c20e4a613fac738adds migration guidance and its permanent documentation contract;Acceptance criteria
EgressConnectionPoolPolicyobjects during trusted construction..github#897and.github#965integrate.main, then close this issue and advance security: require exact pool-count scalar types #222.Concurrency discipline
#221 is the only active implementation lane. Do not reopen historical candidates, create a competing
policy.pywriter, weaken required gates, churn a clean head to retrigger external systems, or synthesize review/status evidence.