Skip to content

The name guard's two remaining indeterminate reads pick a branch of the (b) table instead of naming the read: the register's TEXT and the lane's binding log #60

Closed

Description

@brettheap

Lane: openrepotools-3 (openRepoTools-3)

Clause (d) of lane-collision-protocol Amendment 12 is fail CLOSED: "An INDETERMINATE read — session records unreadable, tmux not answering, the register not fetchable — refuses too, naming the read". lanes-edit.sh guard does exactly that for the session records, for tmux, for a workspace it cannot locate, and for a payload carrying no cwd. Two reads still choose a branch of the (b) table instead of naming themselves. Neither lets a prompt through — both end in exit 2 — so this is a MESSAGE defect and not a fail-open, which is why it was declined on #52 rather than taken in its Copilot round.

1. The register's TEXT. register_text prefers git show origin/<branch>:<path> and falls back to cat -- "$LANES_FILE". Where both come back empty — a working file this checkout cannot open, with no published copy — it returns empty text and exit 0. The guard's rows_named_ci then finds no rows, gr_last is empty, and the prompt is refused by the table's LAST arm: "this window is lane X, whose row does not name this uuid at all — the harness minted a new transcript with nobody acting", with lane-start --no-launch X as the cure. That sentence is false about a register that could not be read, and the cure will not fix it.

A status on rows_named_ci is not the fix: it is a pipeline whose exit status is awk's, and it is shared with canon_lane and Amendment 15's callers. The honest shape is a POSITIVE test of the register's own text, once, before the table — beside the [ ! -f "$LANES_FILE" ] refusal that is already there.

2. The lane's binding log. lane_binding_utc answers 0 with the stamp, 8 where the log records none, and 1 where it could not be read (log_path_ci refuses two logs differing only by case, Amendment 15). guard_rename_is_newer folds the 1 into the 8 — grn_utc empty → return 0, "the rename is newer" → THE OFFER. The direction is right and stays: reading an unreadable log as "not newer" would take the LOCK branch and silently rename a person's own /rename away, which is what clause (h) rule 4 forbids ("never chooses between two lane names by itself"). What the person should get is "lane X's object log could not be read", not a question built on it.

Both want the same shape: a third state carried through the call, and a refusal that names the read and prints the one bypass. Tests in tests/test_lane_helpers.sh's Amendment 12 section; the second has a ready fixture in two logs whose names differ only by case.

Evidence: Copilot round 1 on #52 — lanes-edit.sh:5717 and lanes-edit.sh:5850.

🤖 Generated with Claude Code

Activity

  1. brettheap commented on Sep 15, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoTools-3, session 4135b2c9-34a6-47e3-a156-5adebb632fae@Eagle, 2026-09-15T00:25:29Z, for #60

    Logged in lanes/log/openRepoTools-3.md at 9d4fe7b81e2ee657d1b787f238a4458b405547e7.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoTools#60:
       none
    2. `gh pr list --repo opensoft/openRepoTools --state all --search "#60"`, kept where the row or its body names `#60`:
    22	`status` reads a parked feature the way `resume`'s `collect_legs` will judge it — per feature, before any leg — so a feature `resume` refuses whole never has a leg line offering `resume <Name>`, a feature with no legs or an unmountable role is a finding, and the absent-`pushed:` line names the refusal rather than one loader's reading	fix/record-feature-level-readings	MERGED
    52	The name guard refuses a prompt whose window, session name and register row are not ONE lane — the lock types `/rename <lane>` into the pane, a person's rename is an OFFER answered at the next prompt, and a transcript two live processes hold is a refusal in the guard, in `lane-start` and in `lane-end --retire`	feat/amendment-12-name-guard-lock	MERGED
    3. `git ls-remote --heads [email protected]:opensoft/openRepoTools` branches naming `60` as a whole token:
       none
    
  2. brettheap commented on Oct 11, 2026

    @brettheap
    ContributorAuthor

    TAKEOVERopenRepoTools-3 — lane openRepoTools-5, session 0d83dca2-c18c-4bb0-99ce-896e6cafea02@Eagle, 2026-10-11T16:53:18Z, for #60

    Logged in lanes/log/openRepoTools-5.md at c654879e5a9524a11f2d68df3b75171f7f936e7d (takeover of the stale claim held by lane openRepoTools-3).

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

    1. existing `CLAIMED —` comments on opensoft/openRepoTools#60:
    6:CLAIMED — lane openRepoTools-3, session 4135b2c9-34a6-47e3-a156-5adebb632fae@Eagle, 2026-09-15T00:25:29Z, for opensoft/openRepoTools#60
    13:1. existing `CLAIMED —` comments on opensoft/openRepoTools#60:
    2. `gh pr list --repo opensoft/openRepoTools --state all --search "#60"`, kept where the row or its body names `#60`:
    22	`status` reads a parked feature the way `resume`'s `collect_legs` will judge it — per feature, before any leg — so a feature `resume` refuses whole never has a leg line offering `resume <Name>`, a feature with no legs or an unmountable role is a finding, and the absent-`pushed:` line names the refusal rather than one loader's reading	fix/record-feature-level-readings	MERGED
    52	The name guard refuses a prompt whose window, session name and register row are not ONE lane — the lock types `/rename <lane>` into the pane, a person's rename is an OFFER answered at the next prompt, and a transcript two live processes hold is a refusal in the guard, in `lane-start` and in `lane-end --retire`	feat/amendment-12-name-guard-lock	MERGED
    3. `git ls-remote --heads [email protected]:opensoft/openRepoTools` branches naming `60` as a whole token:
       none
    
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