[comment audit] Shorten preload comments (#32257)

* chore: audit preload root comments and track repository coverage

* docs: track repository comment audit coverage

* chore: keep comment audit tracker local

* chore: shorten preload API contract comments

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
OrcaWin
2026-10-23 02:16:59 -07:00
committed by GitHub
co-authored by OrcaWin
parent c74ff91b85
commit 0efc842028
68 changed files with 148 additions and 410 deletions
+2 -6
View File
@@ -197,12 +197,8 @@ export type GithubPullRequestApi = {
) => Promise<GitHubCommentResult>
checkOrcaStarred: () => Promise<boolean | null>
starOrca: (source: AppStarSource) => Promise<boolean>
/**
* GitHub API rate-limit snapshot. Does NOT consume quota (the
* `rate_limit` endpoint is exempt). Cached 30s server-side — pass
* `force: true` to bust after a known-expensive op.
*/
/** Quota-exempt; cached for 30s unless force is true. */
rateLimit: (args?: { force?: boolean }) => Promise<GetRateLimitResult>
/** Explains scope_missing ProjectV2 failures — notably a shell `GITHUB_TOKEN` shadowing the keyring credential, where `gh auth refresh` is a no-op. */
/** Detects missing scopes and shell tokens shadowing keyring credentials. */
diagnoseAuth: (args?: { host?: string }) => Promise<GhAuthDiagnostic>
}