Skip to content

fix(qa): preserve layout for similarly named sibling paths - #2441

Merged
r3dbars merged 1 commit into
mainfrom
codex/review-tools-qa-12
Nov 12, 2026
Merged

r3dbars merged 1 commit into
mainfrom
codex/review-tools-qa-12

Conversation

@r3dbars

@r3dbars r3dbars commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Passing --path a sibling such as Documents/Transcripted Backup/meetings currently inherits the legacy Documents/Transcripted state and logs because layout inference compares raw string prefixes. Require an exact path or a / component boundary at all four layout/dictation checks. Genuine descendants and explicit state, log, and dictation overrides keep their existing behavior.

Addresses TOOLS-QA-12. This extracts the underlying fix also pending in #2336 into its own small PR; that broader PR is untouched. Regression tests cover both legacy prefix siblings, both current-layout dictation prefix sites, genuine legacy descendants, and explicit overrides. Touched fixture cleanup now validates its canonical parent, UUID leaf, and real directory before removing it, and reports cleanup failures.

Validation: the new six-method fixture class compiled and produced six assertion failures against the original resolver, then all six methods passed with the reviewed fix restored. All resolver calls use an owned temporary home and empty environment. All 13 exact-head mapped checks passed on a1da5916d, including the complete 110-test QA package and UI/QA contracts, test shape, module boundaries, file sizes, lint, and source pins. A separate actual preflight passed. verify-change.sh selected no app check and listed the QA entrypoint as uncovered by its app-smoke map; the changed resolver itself is exercised through the owning package API by the focused red/green control and package suite. No native app proof is claimed. Independent coordinator review of the full diff and fixture safety: GREEN, no findings. No real library/default preferences, native app, SDK, model, or host actions.

@r3dbars
r3dbars merged commit 6f7cbe5 into main Nov 12, 2026
8 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant