Skip to content

lane-end:715 — duplicate-holder's exit-2 compat signal (helper predates the subcommand) is treated as a process-table failure, blocking the transcript-holders fallback (#61 round, suppressed) #109

Closed
opensoft/openRepoTools-code
#25

Description

@brettheap

Lane: openRepoTools-3 (openRepoTools-3)

Copilot's review of PR #61 (opensoft/openRepoTools#61, commit 2eecf29) suppressed this finding rather than posting it as an inline thread. Filed rather than dropped, under the 2026-09-16 ruling that Copilot is capped at two rounds per PR and #61 is already well past that — this is filed and claimed instead of taken in-PR.

Finding (Copilot, suppressed comment on lane-end:715)

duplicate-holder is a new subcommand, so an older installed lanes-edit.sh returns 2 for "unknown subcommand" here. This *) arm treats that compatibility signal as a process-table failure and aborts before the existing transcript-holders fallback can handle a session-record duplicate, making a partial helper upgrade unable to retire otherwise supported duplicates. Preserve the helper's stderr/status distinction and skip this rung only for an unknown subcommand, as the other Amendment 11 reads do; reserve this refusal for a genuine read failure.

Code quoted by Copilot, lane-end around line 715:

    dh_rows="$(LANES_NO_FETCH=1 "$LANES_EDIT" duplicate-holder "$LANE" 2>/dev/null)" || dh_rc=$?
    case "$dh_rc" in
      0 | 8) : ;;
      *) die "$LANES_EDIT duplicate-holder $LANE failed (exit $dh_rc). That is NOT 'no duplicate holder is live', and this script will not name an act against a process it could not prove is one. Run it by hand to see what it says, then re-run." 1 ;;

What to do

Add a 2) arm (predates-the-subcommand, the same "unknown subcommand" convention every other Amendment 11/15 read in this file already uses) that notes the helper is too old for duplicate-holder and falls through to the existing transcript-holders fallback, rather than treating exit 2 the same as a genuine process-table read failure (which should stay a die). A workstation carrying a partially-upgraded lanes-edit.sh should still get the weaker but real transcript-holders check, not an outright refusal.

Activity

  1. brettheap commented on Sep 16, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoTools-3, session 4135b2c9-34a6-47e3-a156-5adebb632fae@Eagle, 2026-09-16T13:04:10Z, for #109

    Logged in lanes/log/openRepoTools-3.md at 6e0676c80b37fff8be35f61965d6deed543546d0.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoTools#109:
       none
    2. `gh pr list --repo opensoft/openRepoTools --state all --search "#109"`, kept where the row or its body names `#109`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoTools` branches naming `109` as a whole token:
       none
    
  2. brettheap commented on Nov 10, 2026

    @brettheap
    ContributorAuthor

    RELEASED — lane openRepoTools-3, session 83619980-06bb-4469-ae73-2a8c5e61981a@Eagle, 2026-11-10T13:28:45Z, for #109 — closed by opensoft/openRepoTools-code#25 (squash ecd1bce)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions