Repository navigation
fix(wrap): follow-ups after the one-call gather - #1267
Merged
Merged
Conversation
Check literal parentheses against the quote-masked segment (segMask) while keeping raw text checks for command substitution and backticks. Unquoted parentheses, subshells, grouping, and process substitution stay refused. Closes #1258
…ardening Address wrap follow-ups: - Document wrap session flags in usage text and replace bare NOTHING example in docs/reference/wrap.md with a walked example that passes report-lint. - Compute planned_writes (merge, flip, carry, clean) in wrap session gather and add --gather check to report-lint.sh. - Fix leading-zero PR refs, per-PR GraphQL error attribution, document-level GraphQL error fallback, and glob expansion in --prs. - Fetch open own PR details in one gh pr list call and reuse gh api user login (cutting _session_prs_json from 17.2s to 6.8s on 13 open PRs). - Wait for checks on newly pushed re-merge heads in wrap land when the repo has pull_request workflows. - Skip transcript-derived repos whose local git config sets program-valued keys and pass --ignore-submodules=all to git status.
Close fix-round-1 review findings: - Guard # comment detection in lib/gate/push-refs.sh with !inw so escaped characters before # cannot hide a trailing push to main. - Read both local and worktree scopes via git config --includes --show-scope in _session_unsafe_local_config. - Override log.showSignature=false in env and add gpg. to the unsafe-config deny pattern for transcript-derived repos. - Fall back to _open_own_prs + per-PR _pr_detail when the heavy gh pr list call fails.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Follow-ups after PR 1257, plus two safety fixes found on the way.
Closes #1258
Demo
A PR title with parentheses: refused before, pushed after; a title that hides a second push behind a comment: refused.
Proof
docs/verification/wrap-followups.md
Bookkeeping
Closes #1258