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
Session Handoff [auto-2167]: Match a Wildcard Row in Copilot's File Table Against the Changed Files per #2167 #2213
Fix Match a Wildcard Row in Copilot's File Table Against the Changed Files #2167 in scripts/pr_review.py. The file-table match (file_table, table_against_diff, table_shortfall, table_covers) compares each table row to the changed paths literally, so a Copilot overview row that groups sibling files as one glob, such as .github/workflows/*.yml, reads as a path the diff does not carry and status reports coverage=unstated. Apply the issue's suggested fix: a row holding a glob character is a pattern matched against the changed paths with fnmatch semantics restricted to one path segment, the table stands in only where its literal rows plus its pattern rows cover exactly the changed set, and a pattern row matching no changed path stays a mismatch. Also cover the second shape the issue's comment records: strip U+200B from a row before matching, and read a ... gap as matching exactly one changed path with that prefix and suffix, failing where it matches none or more than one. Done looks like: the issue's constructed wildcard case and a constructed ellipsis case each report table coverage, a pattern or gap row matching nothing or (for a gap) more than one path still fails, a test pins each, and the existing literal-row behavior still passes.
Drive the pull request into develop with Closes on promotion: #2167 in its body, scope develop.
External blockers
None known.
Internal dependencies
None. #2186 and #2187 also edit scripts/pr_review.py, in the overview-narrative masking rather than the file-table match, and are named in the default lane's next steps, so leave them alone and keep this fix to the table match.
State
No branch or worktree yet. Base the work on develop, per repo-worktree. Re-derive open pull requests touching scripts/pr_review.py before starting.
The parked decision queue
None for this lane.
What the last round did
Nothing yet. The unattended picker created this lane from the open backlog.
Parked by the unattended worker. It now waits on decision #2214.
Done.#2167 is fixed on branch feature/auto-2167, which has three commits on top of develop 658034f7 and head b6aea9d1, and the branch is pushed. scripts/pr_review.py now reads each file-table row in one of three ways:
A row the diff carries is literal.
Otherwise, a ... gap row names the one path that shares its prefix and suffix. It is matched in one linear pass, its other text is read literally, and a gap matching several paths is a mismatch.
Otherwise, a * or ? row matches one segment at a time with [ as a literal, and a wildcard segment holding no letter or digit names nothing.
The table stands in only where every changed path is named and every row names at least one. Tests pin the issue's wildcard case and a shortened-path case, along with each failing shape. The full suite passes (1888 tests), and ruff, mypy, the prose gate and the eol gate are clean. Three local strict review passes are recorded, at the final digest too, so the pre-push gate is satisfied.
No pull request is open yet. The worktree is left standing and clean, as ProjectTemplate-auto-2167 in the fleet worktree layout.
Why it parked.local-strict-review allows two rounds of edits per push. The third pass still reports two introduced findings: no test exercises the [ escape in segment_fits, and the truncated-list arm of table_against_diff counts rows as files. Decision #2214 gives both in full along with the options.
Option 1: add the two one-line fixes, run one local pass, record it, push, then open the pull request into develop with Closes on promotion: #2167 and drive it.
Option 2: open the pull request as it stands and file the two findings as a follow-up issue.
Option 3: hand the branch to an attended session.
Draft pull request title: Match Wildcard and Shortened Rows in Copilot's File Table.
Handed back to the unattended loop by an attended session. Decision #2214 is answered: option 1, apply both fixes past the budget (a test row with a bracket and a wildcard in one segment, and "rows" rather than "files" in the truncated-list arm), then drive the pull request to develop. Follow the answer recorded on #2214.
A merge of current develop. The table_reading docstring conflict was resolved, and a test assertion on the removed table_covers was dropped.
Two rounds answering this push's local strict review. A gap row whose text outside its gaps holds no letter or digit now names nothing. scripts/README.md states the three row forms and the ambiguity condition.
Two findings were declined with reasons. Counting a repeated gap row twice, or excluding paths another row names literally, would fail open on a table that names one file twice and omits another. A null file node in changed_paths is pre-existing and ruled out by the schema's path: String!.
Review. Copilot reviewed head 8f66221 with no findings and full file-table coverage, and checks were 12/12. Its overview headline about adjacent gap markers is answered on the pull request with a probe. CodeRabbit was rate-limited, and it is advisory.
Filed along the way. Nothing. The worktree, the local branch, and the remote branch are removed.
Activity
ptr727 commentedon Oct 1, 2026
Parked by the unattended worker. It now waits on decision #2214.
Done. #2167 is fixed on branch
feature/auto-2167, which has three commits on top of develop658034f7and headb6aea9d1, and the branch is pushed.scripts/pr_review.pynow reads each file-table row in one of three ways:...gap row names the one path that shares its prefix and suffix. It is matched in one linear pass, its other text is read literally, and a gap matching several paths is a mismatch.*or?row matches one segment at a time with[as a literal, and a wildcard segment holding no letter or digit names nothing.The table stands in only where every changed path is named and every row names at least one. Tests pin the issue's wildcard case and a shortened-path case, along with each failing shape. The full suite passes (1888 tests), and ruff, mypy, the prose gate and the eol gate are clean. Three local strict review passes are recorded, at the final digest too, so the pre-push gate is satisfied.
No pull request is open yet. The worktree is left standing and clean, as
ProjectTemplate-auto-2167in the fleet worktree layout.Why it parked.
local-strict-reviewallows two rounds of edits per push. The third pass still reports twointroducedfindings: no test exercises the[escape insegment_fits, and the truncated-list arm oftable_against_diffcounts rows as files. Decision #2214 gives both in full along with the options.What remains. Act on #2214's answer:
Closes on promotion: #2167and drive it.Draft pull request title:
Match Wildcard and Shortened Rows in Copilot's File Table.ptr727 commentedon Oct 1, 2026
Handed back to the unattended loop by an attended session. Decision #2214 is answered: option 1, apply both fixes past the budget (a test row with a bracket and a wildcard in one segment, and "rows" rather than "files" in the truncated-list arm), then drive the pull request to develop. Follow the answer recorded on #2214.
ptr727 commentedon Oct 4, 2026
Closed out by the unattended worker, scope develop. The lane is done.
Merged. #2369 is squash-merged into develop as 93c67aa. It carries
Closes on promotion: #2167, so #2167 stays open until develop is promoted to main.What landed.
table_readingdocstring conflict was resolved, and a test assertion on the removedtable_coverswas dropped.scripts/README.mdstates the three row forms and the ambiguity condition.changed_pathsis pre-existing and ruled out by the schema'spath: String!.Review. Copilot reviewed head 8f66221 with no findings and full file-table coverage, and checks were 12/12. Its overview headline about adjacent gap markers is answered on the pull request with a probe. CodeRabbit was rate-limited, and it is advisory.
Filed along the way. Nothing. The worktree, the local branch, and the remote branch are removed.