Repository navigation
fix(cli): reject empty native data paths - #9441
ShuaixinHuang wants to merge 1 commit into
Conversation
Codex Review Summary: ✅ CompletedThis 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. |
[Low impact] The PR appears safe to merge; no actionable issues were found. Summary
Reviews (2) · Last reviewed commit: "fix(cli): reject empty native data paths" · Reviewed by Greptile |
|
@morluto This PR addresses: fix(cli): reject empty native data paths. I have reviewed the final diff and validation evidence and am submitting it for review. |
|
Issue opened for tracking: #9459 |
|
Thank you for identifying this and for the proposed fix. We are consolidating the related path-contract changes and sibling regressions in #9465, which credits your report and proposal. I’m closing this PR as superseded so the review can happen in one place; the associated tracking issue is linked there. |
Summary
inspect-native-data-typeaccepted an empty positional path and resolved it to the process working directory before binary-target admission. Sibling local-file commands reject the same input as a path validation error. This change uses the shared nonempty local-path schema and adds the command to the empty-path acceptance matrix.Validation
inspect-native-data-type "" --json, which reaches directory admission instead of path validation.git diff --checkpassed.Author readiness
Human owner: @ShuaixinHuang