Files
base/iam
zeekayandHanzo Dev 35a69093e4 repair the tests I rebased onto deletions
I verified green, rebased onto three commits from today, and pushed without
re-verifying. Two packages did not compile on main for the minutes in between.
The green I trusted was measured against a tree that no longer existed.

What moved underneath: 415ad8ef deleted IsWidgetKey/IsAnalyticsKey and their
re-exports, and dfae0894 deleted normalizePhoneCandidates and isAlreadyExistsMsg
when IAM started being addressed by its nouns. All four deletions are right —
the key predicates had no caller, which is the same thing I had observed and
written into the commit message an hour earlier.

The tests now cover what exists. One assertion is worth more than it was: no
door resolves hz-, hi- or ha-, so a caller bearing one reaches what an anonymous
caller reaches, and with the naming predicates gone that rests entirely on
IsAPIKey answering false. TestUnresolvedPrefixesAreNotAPIKeys is the guard on
it — if one starts returning true, a public string becomes a credential quietly.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-24 10:39:10 -07:00
..
2026-08-24 06:56:48 -07:00