Awesome Reviewers

Apply a single principle across auth, credentials, routing, sandboxing, and logging: security must default to deny and must never proceed on ambiguous/dismissed outcomes; state and boundaries must be explicit and consistent.

Rules to standardize 1) Auth callbacks must be fail-closed

if (authService.authNonce !== state) {
  const choice = await vscode.window.showWarningMessage(
    `Could not verify auth response. Store token from ${uri.path}?`,
    { modal: true },
    "Store"
  );
  if (choice !== "Store") return; // fail closed
}

2) Manual credential replacement must be deterministic

3) Security boundaries must be explicit and never widen

4) Secrets must not leak to logs

Adoption checklist