Skip to content

Session Handoff [auto-1881]: Strip the CR From configure.sh's Workflow-Model Read (#1881) #2038

Closed

Description

@ptr727

Next steps

  1. Fix configure.sh's workflowModel Registry Read Is a Plain jq -r, Aborting on Windows With No Model Passed #1881 in repo-config/configure.sh, the top-level "Resolve the workflow model" block: the model="$(jq -r ... .workflowModel ...)" read does not strip the trailing CR a native Windows jq appends, so the case "$model" dispatch falls to *) and exits with "Unknown workflow model" whenever --model is not passed. Strip the CR inline with | sed $'s/\r$//', matching the archived_status read a few lines above it, since jqr() is defined later in the file and is not yet in scope. Do not reorder the file to move jqr(). Done looks like: a test in the style of tests/test_configure_archived.py or tests/test_configure_ruleset_id.py, driving configure.sh with a stand-in jq that appends \r to its raw output and no --model, resolves the registry's model rather than exiting "Unknown workflow model", and that test fails with the fix reverted.
  2. Drive the pull request to develop per drive-pr, its body carrying Closes on promotion: #1881, then close this lane out.

External blockers

None known. The defect is unverified on a real Windows host, as the issue states, so the proof is the constructed stand-in jq, not a Windows run.

Internal dependencies

The parked lane auto-1987 (handoff #2035, pull request #2036, branch feature/auto-1987) also edits repo-config/configure.sh, in ruleset_id() far below this block. Do not build on that branch. Base on develop and keep this change to the workflow-model read, so either lane can land first and the other rebases over a separate hunk. #1882 is the sibling CR defect in check_environments() and is out of this lane's scope.

State

No branch, worktree, or pull request yet. Work on feature/auto-1881 in a worktree of its own, based on develop.

Parked decisions

None.

What the last round did

Nothing yet. This lane was opened by the unattended-handoff picker.

What not to repeat

Nothing yet.

New learnings

None yet.

Activity

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

    @ptr727
    OwnerAuthor

    State: the fix and its test are done and pushed on branch feature/auto-1881, pull request #2039 (base develop, body carries Closes on promotion: #1881). The workflowModel read now strips the CR; tests/test_configure_model.py fails with the fix reverted, and a local strict review pass was recorded. Copilot reviewed the head with no findings, checks are 10 of 10, merge state CLEAN. Parked because pr_review.py wait reported COVERAGE_IS_UNSTATED, which leaves the merge to the maintainer. The worktree /home/pieter/repos/worktrees/ProjectTemplate-auto-1881 was left standing. Remaining: on the answer to decision #2040, either merge #2039 (squash) or request another review, then close this lane out with a comment naming #1881.

  3. added
    blocked
    on Sep 29, 2026
  4. ptr727 commented on Sep 29, 2026

    @ptr727
    OwnerAuthor

    Lane closed out. Decision #2040 answered (merge as is), and #2039 was squash-merged to develop as 120efde. #1881 closes on the next promotion. No successor.

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

    blockedhandoff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions