Repository navigation
Bound reference service config and expose canonical wheel lock - #7
Conversation
Reviewer's GuideAPIRoute the CLI's --config operand through bounded admission before constructing the registry, TLS context, or listener, while preserving its existing arguments and process exit behavior.
ImplementationImplement descriptor-relative, no-follow config reads under the invocation directory or a separately selected root, rejecting untrusted files and oversized documents; include the required ExitStack import.
ConfigurationSwitch both CI jobs to install the canonical requirements input with binary-only and hash enforcement, and update the direct dependency input.
DocumentationDocument the canonical dependency closure and the reference-service config boundary, including the independent external-root setting and unchanged path semantics.
TestsVerify config admission and refusal cases, refusal-before-side-effects, optimized-Python behavior, and preservation of successful CLI behavior.
Check that the canonical dependency closure retains its approved bytes and that CI and the compatibility include use it as intended.
Lock files and vendored codePublish the reviewed hashed wheel closure under requirements.txt and retain the former lock filename as a compatibility include.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
@codex review |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 5 days and 1 hour by commenting |



The first complete openXwallet main scan exposes an unbounded reference-service config read and fails to recognize the existing noncanonical wheel-lock filename. Bound --config to the invocation directory or a separately selected OPENWALLET_REFERENCE_CONFIG_ROOT. Descriptor-relative no-follow reads reject escapes, links, nonregular/hardlinked/untrusted writable files and oversized documents before registry/TLS/listener effects. Paths inside admitted JSON retain their existing process-cwd semantics. No live service is started by this repair.
Publish the exact previously reviewed 18-package closure as requirements.txt, retain requirements-ci.lock as a compatibility include, and have both CI jobs consume the canonical input with unchanged binary/hash enforcement. Every version and wheel hash remains identical; no project build backend is invoked.
Validation: 165 tests passed, with the one pre-existing neutral carve-history comparison skip; its actual full-history adapter comparison remains required in openXwallet. New real config/path/descriptor/side-effect/optimized-Python tests and immutable closure checks pass. Syntax gate, plain/strict validators and actionlint pass. The eight manifest-owned artifacts, immutable release tag, separate future train, frozen integration owner and active sessions remain unchanged.
Governance is the existing harden-wallet-source-validation amendment and paired spec feature019. Parent/adapter pins and exact-main Sonar verification follow normal admitted publication. Tracks openXwallet #73; no finding waiver, threshold change, source exclusion, billing change, operational activation or credential rotation.
Summary by Sourcery
Harden reference service configuration admission and make the reviewed wheel closure canonical under requirements.txt.
New Features:
Bug Fixes:
CI:
Documentation:
Tests: