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
{{ message }}
Repository navigation
BUG: Git delivery: sparse-checkout parses a leading-dash folder as an option (Codex F9) #452
DoneWork merged into the integration branch; the comment gives the pull request, the merge and the proofbugSomething isn't workingsev:mediumIncorrect data, a weak control or a slow service, with no direct lossstatus:openNo fix yet
Part of #286. Found by Codex (another model family) reviewing the Git delivery layer on main b8ee59e (PRs #288, #299), 2026-11-19. Severity per Codex: Medium.
Location:cmapi/src/cmapi/core/git/workspace.py:390; unlike git add at :404, sparse-checkout has no -- separator.
A BranchRequest with folder -folder reaches git sparse-checkout set --cone -folder. Git interprets it as options and exits; the approved branch cannot be delivered. This is a demonstrated option-parsing/availability failure, not demonstrated arbitrary shell execution. Normal namespace renderer paths have a clusters/ prefix.
Full fix: add -- before the sparse-checkout folder. Appendix C: workspace.py.
Test:test_leading_dash_folder_is_a_path_not_an_option: fails main; passes fixed, builds a real commit, and reads back exactly the requested file.
Evidence:workbench/cmapi/review-288b/codex-report.md (F9) and its regression test in codex-fixes.patch; Codex ran it failing on main and passing with its fix. Reviewer 2 (OB3) checks the fix and runs the PostgreSQL and SSH checks the sandbox could not, before it is applied.
Fixed by #457 (merged, CI green), from Codex's review of the Git delivery layer with OB3's corrected fix; the coordinator ran its test failing on main and passing with the fix. GitHub closed only the first Closes line of that PR.
DoneWork merged into the integration branch; the comment gives the pull request, the merge and the proofbugSomething isn't workingsev:mediumIncorrect data, a weak control or a slow service, with no direct lossstatus:openNo fix yet
Activity
ephico2real2 commentedon Nov 19, 2026
Fixed by #457 (merged, CI green), from Codex's review of the Git delivery layer with OB3's corrected fix; the coordinator ran its test failing on main and passing with the fix. GitHub closed only the first
Closesline of that PR.