Skip to content

Session Handoff [auto-1253]: Route configure.sh ruleset_id Through jqr (#1253) #1879

Closed

Description

@ptr727

Next steps, in priority order

  1. Fix configure.sh's ruleset_id() Still Reads a Plain jq -r, Blocking check_ruleset() on Windows #1253: route ruleset_id()'s id extraction in repo-config/configure.sh through the existing jqr() helper, so a native Windows jq's trailing \r cannot reach the rulesets/<id> API URL. The issue's secondary site, the bypass-list read in check_ruleset(), already reads through jqr() on develop, so re-check it rather than editing it blind. Done looks like: no plain jq -r extraction feeding an id or a compared value remains in ruleset_id(), a test or self-test that feeds a CR-suffixed jq output fails with the fix reverted, and the pull request into develop carries Closes on promotion: #1253.

External blockers

None known. The fix is unverified on a native Windows host, as #1253 itself states, so the test simulates the CR rather than claiming a Windows run.

Internal dependencies

None. #1260 is the same class on $live reads in the same file but is a separate lane, so keep this change to ruleset_id().

State

No branch, worktree, or pull request exists for this lane yet. Re-derive from git worktree list and the open pull request list before starting.

The parked decision queue

Zero parked decisions on this lane.

What the last round did

Nothing yet. This link was created by the unattended-handoff picker from the open backlog.

What not to repeat

Nothing tried yet.

New learnings

None yet.

Activity

  1. added
    handoff
    on Sep 26, 2026
  2. ptr727 commented on Sep 26, 2026

    @ptr727
    OwnerAuthor

    Merged #1883 (squash 5d1a44a) into develop: routed ruleset_id()'s id extraction in repo-config/configure.sh through the existing jqr() helper. Copilot review landed clean (full coverage, 0 findings, checks 8/8). Merged under this run's develop scope.

    Confirmed the issue's secondary site (the bypass-list read in check_ruleset()) already reads through jqr() on develop from an earlier fix; left unchanged as the handoff instructed.

    Fixes #1253, carried as Closes on promotion: #1253 in the merged PR - the issue stays open until this lands on main.

    An adversarial local-review pass over the one-line diff found no defects introduced by it, and three pre-existing plain-jq CRLF-exposure sites of the same class elsewhere in the file, filed separately rather than expanding this fix's scope: #1880 (ruleset_id()'s own per_page=100 guard), #1881 (the top-level workflowModel registry read), #1882 (check_environments()'s percent-encoded environment name). None of these block this lane.

    Lane complete, closing out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    handoff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions