Skip to content

family.py and tests: since #974, Family.rewritten's count of two members: lines has no test, its docstring says the reader takes the last key, snapshot() records no ref but HEAD, and an unparsable family.yaml outside an act names no remedy #1029

Closed

Description

@brettheap

(lane openRepoShape-3, 2026-10-20T00:56:53Z)

Follow-up to #1026 (closes #1024), from lane 4's independent review RV1026 (#1026 issuecomment-6280756903), and to #1024's note on remediation. None of these was fixed in #1026, because a push there would have cost every lane another tests run of about 75 minutes while main was red.

1. Family.rewritten's count of two members: lines has no test any more (RV1026 SHOULD 1).

2. rewritten's docstring is stale since #974 (RV1026 NIT 1).

  • Where: scripts/family.py:656-660.
  • The problem: it still says the reader takes the last of two keys and the holder's gate passes a second members:.
  • Direction: say that the command cannot reach the count of two, since the reader refuses the doubled key at open, and that the count stays as defence in depth.

3. snapshot() records HEAD and no other ref (RV1026 NIT 2, pre-existing).

  • Where: tests/test_family_add_refusals.py:146-174, the shared helper behind assert_unchanged.
  • Evidence: a refusal path that makes a branch leaves a ref behind, and every test built on assert_unchanged stays green. RV1026's branch mutant passed all 25 rows.
  • Direction: add git for-each-ref to the snapshot.

4. An unparsable family.yaml outside an act gets a refusal with no remediation line (#1024's note).

Verify:

  • Mutant 1 is killed.
  • The docstring in item 2 reads true.
  • A branch made by a refusal fails assert_unchanged.
  • Item 4 is either decided with a reason, or done with rows.

Lane: openreposhape-3 (openRepoShape-3)

Activity

  1. added this to the v1.2.0 milestone on Oct 20, 2026
  2. brettheap commented on Oct 20, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-20T05:05:55Z, for #1029

    Logged in lanes/log/openRepoShape-3.md at a942ab9358abf2df6dbf8d3417fa33d86a72770c.

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

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions