You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
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
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).
Evidence: the mutant seen != 1 -> seen == 0 survives six files (358 passed): tests/test_family_add_gitlink_and_null_members.py, test_family_add_refusals.py, test_family_members_not_a_list.py, test_validate_family_duplicates.py, test_family_bump_remove_rollback.py and test_family_dry_run.py.
Direction: add one direct-API row beside tests/test_family_add_gitlink_and_null_members.py:455-465. It calls Family(tmp_path, {"members": []}).rewritten([]) on a text with two margin members: lines, and expects family-members-unrecognised with has 2. Keep the count: it is defence in depth.
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).
Family.open adds a remediation only for an act in progress (_unparsable_in_an_act).
Direction: decide whether yaml-unparsable from family.yaml outside an act should name a remedy: fix the named line, commit, and run again. If it should, add the line and its rows.
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.
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
Activity
tests/test_family_add_gitlink_and_null_members.py: a second `members:…
brettheap commentedon Oct 20, 2026
CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-20T05:05:55Z, for #1029
Logged in
lanes/log/openRepoShape-3.mdata942ab9358abf2df6dbf8d3417fa33d86a72770c.The three reads (lane-collision-protocol Rule 1):
tests: the refusal of two `members:` lines is asked of `write_members…