Skip to content

A lane's recorded directory may hold control characters: lane-start and lane-handoff do not refuse them, and swapped's TAB-joined row can make lane-start launch in the wrong directory (from #301's review) #313

Open

Description

@brettheap

From lane 3's review of #301's design (#301 6351735717: finding 503, NIT 507 and option A). It is filed on Brett Heap's approval, given in lane 3's session at about 21:44Z on 2026-10-22. #301 fixes the listing and the payload reads. This issue is the write side, and swapped, both of which need lane-start.

What is wrong (at 33ce26d)

  • No refusal for control characters. lane-start:1425 and lane-handoff:2773 refuse only , , —, ; and " in a dir. A TAB, a newline, a carriage return or a US byte (0x1f) is recorded as given.
  • swapped joins its fields with TABs (lanes-edit.sh:16809–16811). A TAB in a swapped lane's dir shifts the columns. In a probe estate, such a row printed 8 columns: …/work/a, b/repoW, team-02a, claude.
  • lane-start's rung 2 takes the fourth column (:1251–1256, cut -f4). In the probe it took …/work/a, which existed, so the lane would launch in the wrong directory.
  • A US byte cuts a dir at that byte in every read. In the probe, lanes, lane-dir and the writers all agreed on …/work/a.

Direction

Not started: v1.2.0 work waits for the v1.1.0 tag and Brett's word.

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