Skip to content

Words only: with no workstation on R7's path, README-lanes, lane-handoff and the handoff skill still say the swap's records were written and the handoff refreshed, when neither was #338

Open

Description

@brettheap

Found by lane 5's independent re-check of #303's fix round (#303 comment 6386876743), after lane 4 reported the README bullet and the comment as extra 2 (6385193213). Lane 5 added the "refreshed" sentences as its own finding. Lane 3 asked for this issue (6386894721). Severity: NIT, words only. The sites marked "lane 4 added" below are lane 4's, found while drafting and read only.

How each point was established. Read = found by reading the code. Probed = run. Lane 5's probes ran at 4e032f8.

The defect

#303's R7 ruling, "Write swap, name the gap", writes the swap over a log nobody could read and publishes no handoff file. With no configured workstation (R-A11-14) it also writes no PAUSED record, no register line and no row. 753d47e fixed the note and the state line for that case. The sentences below were not in its terms and still say the opposite. Each has two cites: 4e032f8, then 33ce26d.

Untrue on R7's path with no workstation: the swap's records are said to be written.

Untrue on the same path: the handoff is said to be refreshed. On that path it was not published, and stdout says handoff: NOT published.

  • lane-handoff:1608 ("The handoff is still refreshed and NAMES this gap"), main :1600.
  • lane-handoff:2917 ("The handoff refreshed above names the gap"), main :2871.
  • skills/handoff/SKILL.md:821 ("The handoff refreshed in step 2 names this gap"), main :784. Read only.

On main these "refreshed" sentences are true, because the handoff is always published there. #303 makes them untrue on R7's path.

Same sentence, not in lane 5's list (lane 4 added; read only):

  • lane-handoff:1611 (main :1603) and its comment at :1603 (main :1595). This note is unreachable today, because of the sibling ws_src issue.
  • skills/handoff/SKILL.md:192 and :195 (main :192, :195).

Reproduction

Probed by lane 5 at 4e032f8: lane-handoff over an unreadable object log, with a helper whose workstation exits 2. The output is /workspace/projects/.openrepotools-private-prep/work-20261021/lane5/w303/probes/out-r7ws.txt. Stdout says handoff: NOT published: …. Stderr carries "The handoff is still refreshed and NAMES this gap" (:1608) and "The handoff refreshed above names the gap" (:2917). The LANES.md tail is unchanged, so no register line exists for the README or the comment to name.

The README bullet, the comment, SKILL.md:821 and the sites marked "lane 4 added" are Read only.

What a fix needs

  • Every sentence above is true on both paths. Either use neutral words, or branch on the same two conditions 753d47e used for the state line (ws_missing and lh_log_unread).
    • lh_log_unread is set at lane-handoff:1757, AFTER the notes at :1608 and :1611 print. Those two cannot branch on it as 753d47e's lines do. They need neutral words, or the sentence moved.
    • :2917 is after :1757, so it can branch on it.
    • In the skill, steps 1 (:192, :195) come before step 2 binds handoff_unpublished, and :821 (step 4) comes after it.
  • The README bullet and :2767–2769 say that no workstation writes none of the records. They need a check against --exit before :2785 is touched.
  • Pins: extend tests/test_log_read_status_303.py::test_a_handoff_over_a_log_it_could_not_read_with_no_workstation_does_not_say_it_wrote_the_swap (:1030), which holds the "written" words absent (:1067), with the "refreshed" words. The ordinary R7 case and the ordinary non-R7 handoff must keep their words byte-for-byte. Lane 5 noted that the header's 0 row has no test either.

Scope and order

Lands after v1.1.0 and after #303, in v1.2.0. It is not a #303 blocker, and lane 3 chose an issue over a last #303 commit. Related: the sibling ws_src issue (the :1611 note becomes reachable once that is fixed).

Not included: any behaviour change, and --restart on R7 (lane 5 did not check it).

Lane: openRepoTools-4

Activity

  1. added this to the v1.2.0 milestone on Oct 24, 2026
  2. modified the milestones: v1.2.0, v1.2.1 on Nov 8, 2026
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions