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
The #467 guard still ships the maintainer's username in its own docstring, and exempts itself from noticing #474
Found while testing #467's own release-gate observable immediately after #472 merged. Same row as #467: ships-local-state, which blocks a tag unconditionally.
Symptom
#467 was closed on the basis that the tree no longer carries the maintainer's OS username. It still does:
$ git grep -n "<username>" -- .
tests/test_no_real_home_paths_467.py:16:username `<username>` twice, pasted from real captured probe output
tests/test_no_real_home_paths_467.py:17:into a string literal (`"[10:54 CEST -- <username>]"`). That is a BARE
And the guard passes anyway — 8 passed on a tree that contains the string it exists to detect.
The exemption is narrow and defensible in itself — a file documenting the mechanism has to be able to quote it, and a single-file skip is the smallest exemption that allows it. It is not a broad hole.
The problem is the composition, not the line. The exemption plus the quoted username means the tree ships the value, the install copies it (.agents/plugins/marketplace.json, "source": "local"), and the check that would otherwise catch it is the one file that cannot. A guard that is green on a tree containing exactly what it detects is reporting coverage it does not have — this project's own defect class, inside the check written to close an instance of it.
Why it is worth fixing rather than accepting
The docstring loses nothing by naming a placeholder. It explains the mechanism identically as <maintainer> or sanitized-user, and the self-exemption then guards against a future quotation rather than excusing a present one.
The alternative — accept it as prose — means #467's stated remedy ("re-sanitise, then add a guard so this cannot recur") ships with the original value still present. That is a worse outcome than either half alone.
What would settle it
Replace both occurrences in the docstring with the placeholder the fixture already standardised on, and re-run the guard to confirm it still passes for the right reason rather than the exempt one. Then consider whether THIS_FILE's exemption should stay at all: with nothing left to quote, its only remaining job is to permit a future quotation, and that is worth a sentence of argument either way.
Verify the way the observable was verified here — git grep for the username across the tree returning nothing at all, not the suite going green.
Activity
fix: Digital-Process-Tools#467 guard no longer ships or exempts the m…