check:private reads a repository's own short name (mcl-mail#N) as another repository, so its own range gate cannot pass #105

Open
opened 2026-11-23 20:32:24 +00:00 by hygiea · 0 comments
Member

Purpose (defect): a repository whose docs refer to its own issues by its short name (mcl-mail#10) reads as a hit on every such line, so check:private cannot pass on that repository's range; the scan should resolve a shorthand that names the root repository's own name as that repository.

Found by Hygiea 2026-11-23, running the pre-landing range gate for macula-services/mcl-mail release 0.6.2 (forge PR 15). No private name is in this issue: the scan withholds values.

Command and output, on martha main d4dafac8 (offline, no token):

$ node src/check_nothing_private_gets_in/main.ts --root <mcl-mail worktree at 1aa8866> --range fd1483dc..1aa8866
... 128 hits, exit 1

$ node src/check_nothing_private_gets_in/main.ts --root <mcl-mail clone at main fd1483dc>
... 114 hits, exit 1

Of the 128: about 112 are a shorthand reference to another repository (value withheld): write owner/repo#n so it can be checked on lines that use the repository's own short name (mcl-mail#1 in CHANGELOG.md and README.md, macula#95 in the changelog, and so on), 3 are the release's own new changelog lines in the same style, and 11 are the same on the release's two commit messages. The remaining 2 are a repository that is not public on main's tree (README.md:133, apps/guide_mailbox_lifecycle/src/mailbox_status.hrl:2): real, pre-existing, and a separate matter from this one.

The own name is already declared public: DECLARED.knownPublic lists macula-services/mcl-mail (martha#60). What is missing is the shorthand rule knowing that a bare name equal to the root repository's own name is the root's own reference, which needs no lookup.

Ask: one case that fails by name on the rule: a tree whose CHANGELOG says <its-own-name>#1 reads nothing private, while that same shorthand written in a different repository's tree is still a hit.

Refs macula-io/martha#60 (the knownPublic declaration), macula-io/martha#92 (the image reference that wore a repository shape).

Purpose (defect): a repository whose docs refer to its own issues by its short name (`mcl-mail#10`) reads as a hit on every such line, so check:private cannot pass on that repository's range; the scan should resolve a shorthand that names the root repository's own name as that repository. Found by Hygiea 2026-11-23, running the pre-landing range gate for macula-services/mcl-mail release 0.6.2 (forge PR 15). No private name is in this issue: the scan withholds values. Command and output, on martha main `d4dafac8` (offline, no token): ``` $ node src/check_nothing_private_gets_in/main.ts --root <mcl-mail worktree at 1aa8866> --range fd1483dc..1aa8866 ... 128 hits, exit 1 $ node src/check_nothing_private_gets_in/main.ts --root <mcl-mail clone at main fd1483dc> ... 114 hits, exit 1 ``` Of the 128: about 112 are `a shorthand reference to another repository (value withheld): write owner/repo#n so it can be checked` on lines that use the repository's own short name (`mcl-mail#1` in CHANGELOG.md and README.md, `macula#95` in the changelog, and so on), 3 are the release's own new changelog lines in the same style, and 11 are the same on the release's two commit messages. The remaining 2 are `a repository that is not public` on main's tree (README.md:133, apps/guide_mailbox_lifecycle/src/mailbox_status.hrl:2): real, pre-existing, and a separate matter from this one. The own name is already declared public: `DECLARED.knownPublic` lists `macula-services/mcl-mail` (martha#60). What is missing is the shorthand rule knowing that a bare name equal to the root repository's own name is the root's own reference, which needs no lookup. Ask: one case that fails by name on the rule: a tree whose CHANGELOG says `<its-own-name>#1` reads nothing private, while that same shorthand written in a different repository's tree is still a hit. Refs macula-io/martha#60 (the knownPublic declaration), macula-io/martha#92 (the image reference that wore a repository shape).
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
martha-ai/martha#105
No description provided.