Awesome Reviewers

Ensure API interfaces are trustworthy and API calls fail safely.

Example (safe read + non-destructive failure pattern):

async function resolveEntityContext(containerTag: string) {
  try {
    const res = await $fetch(`@get/container-tags/${containerTag}`, {
      // ideally, the typed client contract should include this endpoint
      disableValidation: true,
    })
    return res.entityContext ?? undefined
  } catch {
    // important: return undefined so callers do not overwrite stored context
    return undefined
  }
}

Example (client-side throttling rationale):