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
tests/test_doctor_next_is_a_command.py: the comment-tail guard reads each string constant alone and wants a blank after #, so a tail split across +, one led by a formatted value, or #x would reach a NEXT unseen #679
A tail split across constants.tails_in checks each ast.Constant on its own, so cmd + " " + "# x" is not seen.
A tail led by a formatted value. A piece that starts with # directly after a formatted value, as in f"{cmd}{pad}# x", is not seen either.
None of these occurs in the doctor today. A looser scan of shape-doctor.py at d4a7fab finds no case: the strings that begin with # are placement-plan YAML lines, and the tab at :2517 is a partition separator.
Where it is: in tests/test_doctor_next_is_a_command.py:
:1154: TAIL;
:1172-1206: tails_in;
:1216-1259: the test and its samples.
The change:
Read each string expression whole: fold + chains and f-string pieces, with a placeholder for every part that is not a constant.
Flag a # led by two or more blanks or a tab, with or without a blank after it.
Flag a constant piece that begins with # directly after a formatted value.
Keep TAIL_ALLOWED as it is.
Tests:
Add a sample for each of the three spellings to the sample block.
Assert that the real file still yields exactly the allowed pair.
CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-16T13:03:00Z, for #679
Logged in lanes/log/openRepoShape-3.md at 9ab804eb1096705e72252f45bda7d447e24554c7.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#679:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#679"`, kept where the row or its body names `#679`:
none
3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `679` as a whole token:
none
Activity
brettheap commentedon Oct 16, 2026
CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-16T13:03:00Z, for #679
Logged in
lanes/log/openRepoShape-3.mdat9ab804eb1096705e72252f45bda7d447e24554c7.The three reads (lane-collision-protocol Rule 1):
tests/test_doctor_next_is_a_command.py: the NEXT comment-tail guard r…
README.md, the handbook and the v1.1.0 notes: the adopted repository …