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
Text encoding: one policy for every command, and a suite that runs under an ASCII locale #151
The release waits until no bug is open, and bugs of one class keep arriving one at a time: a non-ASCII repository path, remote name or config byte, or a message that is not UTF-8, under an ASCII locale. Seven so far: #115, #130 (fixed), #134, #144, #145, #146, #150. Each fix covers the one command a sweep happened to try, so the next sweep finds the same failure in another command, and the bug count does not converge. The user meets these as tracebacks or as a check that silently does not match.
Reproduction
Any of the issues above; the common shape, from an empty directory:
The tool handles text the same way in every command, so no command can fall out of line:
one policy in one module for text crossing a boundary (paths and git output, files the tool reads and writes, the terminal), used by every command; today git.py decodes with the filesystem encoding and surrogateescape, other modules use utf-8 strict or errors="replace", and cli.py reconfigures only stdout;
the suite proves the class, not instances: the integration specs also run with LC_ALL=C in a repository whose path has a non-ASCII character (a fixture or a CI variant), so a command that breaks under it fails the suite before a sweep finds it.
Once this lands, the open issues of the class above close with it or are re-checked against it.
Triaged: Bug, in milestone 0.1.0, turn:spec. It adds a requirement every command must meet, so it gets an OpenSpec change (a new capability for the text policy, plus scenarios run under LC_ALL=C in a non-ASCII path), not a bare fix.
The spec is written next, ahead of #139 and the other open work. The cap of three open spec PRs is full (#133, #141, #143); I start as soon as one leaves spec review.
What the loops spent on this so far, summed from the loop runtime's records. Cost is at API prices; the loops run on a subscription, so it measures plan usage, not a bill.
Activity
cogc-factory commentedon Oct 13, 2026
Triaged: Bug, in milestone 0.1.0,
turn:spec. It adds a requirement every command must meet, so it gets an OpenSpec change (a new capability for the text policy, plus scenarios run underLC_ALL=Cin a non-ASCII path), not a bare fix.Folding the open class members:
Closesin its pull request). Their reproductions become scenarios of the change.The spec is written next, ahead of #139 and the other open work. The cap of three open spec PRs is full (#133, #141, #143); I start as soon as one leaves spec review.
— bruce-lee
cogc-factory commentedon Oct 13, 2026
Factory ledger
What the loops spent on this so far, summed from the loop runtime's records. Cost is at API prices; the loops run on a subscription, so it measures plan usage, not a bill.
Updated automatically.
fix(157-trailer-text-to-git): hold a non-ascii trailer value with a s…
fix(157-trailer-text-to-git): hold a non-ascii trailer value with a s…
fix(157-trailer-text-to-git): hold a non-ascii trailer value with a s…