_default_branch reads the source's branch name through git_out, which decodes strictly, so a source whose HEAD (or origin/HEAD) names a branch that is not UTF-8 ends plan, check and execute in a UnicodeDecodeError traceback, exit 1, from Source.open, with no plan written and no refusal naming the branch #425
Activity
brettheap commentedon Oct 16, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-16T11:29:07Z, for #425
Logged in
lanes/log/openRepoShape-1.mdat63de1d129d55529986fcc8676017a05c73629084.The three reads (lane-collision-protocol Rule 1):
adopt-project.py: `Source.open` hands `git rev-parse` the default bra…
tests/test_adopt_c_locale_bytes.py: `Source.open`'s `git rev-parse` i…
family.py: `add`'s refusal of a member's own gitlink held only under …
bootstrap.py: step (a) decodes git's output as the system decodes a n…
adopt-project.py: `_default_branch` reads `origin/HEAD` and HEAD by f…