Skip to content

lane-end:1021 — a predates-transcript-holders (exit 2) note lets the later dup_other check fall through to a clean 'no duplicate' verdict instead of refusing (#61 round, suppressed) #110

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:1021)

When the adjacent helper predates transcript-holders and returns exit 2, this branch only prints a note and leaves dup_rows empty. If the process-table and fork reads also find nothing, the later dup_other check returns exit 8 ("nothing of any kind"), even though the session-record population was never inspected; a real interactive duplicate can therefore be reported as absent. Treat this helper-missing result as an indeterminate read and refuse rather than allowing the no-duplicate result.

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

      dup_rows="$("$LANES_EDIT" transcript-holders "$dup_id" 2>/dev/null)" || thh_rc=$?
      case "$thh_rc" in
        0 | 8) : ;;
        2) note "this \`lanes-edit.sh\` has no \`transcript-holders\` (exit 2), so a duplicate of lane $LANE's own transcript cannot be looked for here. Install the one beside this script (\`openRepoTools --install\`)." ;;
        *) die "$LANES_EDIT transcript-holders $dup_id exited $thh_rc, so whether '$retire_target' is a live duplicate of lane $LANE's own transcript could NOT be read — which is not 'it is not one'." 1 ;;

What to do

The 2) arm here notes the gap but still lets execution reach the later dup_other exit-8 ("nothing of any kind") conclusion when the other reads (process-table, fork) also come back empty — silently treating "this check was never run" the same as "this check ran and found nothing". Track that this particular sub-check was skipped for predates-the-helper reasons and have the combining logic refuse (indeterminate) rather than fall through to a clean "no duplicate" verdict, consistent with how this same PR treats every other unreadable-liveness case as fail-closed.

Related but distinct from opensoft/openRepoTools#67 (which is about session_ids_of_lane/session_ids_local_of_lane not distinguishing "no row" from "register unreadable") — this one is specifically about the transcript-holders exit-2 compat path swallowing an indeterminate read into a clean verdict.

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:21Z, for #110

    Logged in lanes/log/openRepoTools-3.md at 85abe0fa9d35d69c79f3a9899aa6a8e93330b428.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoTools#110:
       none
    2. `gh pr list --repo opensoft/openRepoTools --state all --search "#110"`, kept where the row or its body names `#110`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoTools` branches naming `110` 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:29:08Z, for #110 — 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