Skip to content

Commit d004212

Browse files
committed
docs(rest): repoint the fault-window shape comment at the anchored constants
The comment named `ALLOW_PREFIXES` and `ALLOW_SUFFIXES` as the constants its path shapes were read off. Anchoring the allow-list replaced both, so the reference dangled; the shapes themselves are unchanged and §0 still drives that they are allow-listed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XTBcV7zZHmokdyQgXjbyEU
1 parent 055ece5 commit d004212

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

packages/rest/src/auth-gate-allowlist-fault-window.measurement.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,11 @@ async function drive(rest: RestServer, path: string, method = 'GET'): Promise<Dr
187187
}
188188

189189
// The allow-list's four reachable path SHAPES, read off `auth-gate.ts` rather
190-
// than invented here: an `ALLOW_PREFIXES` entry, the dispatcher path shape, an
191-
// embedded `/auth/` segment, and an `ALLOW_SUFFIXES` entry.
190+
// than invented here: a REST-mounted `/auth/` route, the dispatcher path shape,
191+
// an environment-scoped `/auth/` route, and an exact bootstrap route.
192+
// (#16839 renamed the constants these were read off — `ALLOW_PREFIXES` and
193+
// `ALLOW_SUFFIXES` became `MOUNT_BASES` + `ALLOW_ROUTES` when the allow-list
194+
// was anchored — but every SHAPE below is still allow-listed, which §0 drives.)
192195
const ALLOWLISTED_PATHS = [
193196
'/api/v1/auth/change-password',
194197
'/auth/two-factor/enable',

0 commit comments

Comments
 (0)