Dashboard › cli › Distillation
40a4ff7c-2de8-441c-be0d-72dc2db7a8d6["lore_tm_v1_1XSSRvQyXYE4wJFUfZ0GEZHBnDFaRzzc0TLPaQ_De98","lore_tm_v1_tnsatDsOmRyDWlD8IzSO_-O7N-og-B6sS6SNcPlk7YI","lore_tm_v1_hniERXZlPpzkcsEtuYhtucmYiLtvn4-lOVsjxXxIJNg"]
Date: Sep 9, 2026
apps/cli-docs/src/fragments/commands/agent-conversation.md, leaving the file empty (e69de29bb).buildCommand() test, retains structured examples for introspection, verifies that command documentation examples remain available through __examples; the fixture preserves { description: "Select an organization explicitly", command: "sentry thing list my-org" }.numberParser is re-exported from Stricli and is a function, and that string defaults are passed through parse() so a numberParser default is a number at runtime.extractFlags() always returns exactly one FlagInfo per input entry, checked with Object.keys(flags).length over flagsMapArb and DEFAULT_NUM_RUNS.getPositionalString(); required parameters render as <placeholder>, optional parameters render as [<placeholder>], and an absent placeholder falls back to arg${index}....) in the output of getPositionalString().resolveCommandPath(routeMap, []) always returns null for an empty path.extractFlags() parsed-flag test expects the limit definition { kind: "parsed", brief: "Max items", default: 25, optional: false } to produce exactly { name: "limit", brief: "Max items", kind: "parsed", default: 25, optional: false, variadic: false, hidden: false }.extractCommandPathFromHeading() tests map: 1. `sentry issue view <issue-id>` → sentry issue view; 2. `sentry project create [<org>/]<name>:<platform>...` → sentry project create; 3. `sentry auth status` → sentry auth status.# View full transcript (organization auto-detected)\nsentry agent-conversation view conv-123.: and must not use a space-separated form.### \sentry project create [<org>/]<name>:<platform>...`, reject sentry project create "My New App":, reject both sentry project create my-new-app javascript-nextjsandsentry project create my-org/my-new-app javascript-nextjs, and require examples sentry project create web:javascript api:python-django worker:nodeandsentry project create my-new-app:javascript-nextjs`.GITHUB_API = "https://api.github.com", GitHubError(RuntimeError), immutable RepoRef, and GitHubClient.RepoRef.parse(value) trims and splits on /, requires exactly two nonempty components, and raises ValueError(f"repo must look like owner/name, got {value!r}") otherwise; slug returns owner/name, while path_slug returns owner__name.GitHubClient.__init__() accepts token, api_url, sleep_seconds, and max_retries; defaults are GITHUB_API, 0.0, and 3, while authentication falls back from the explicit token to GITHUB_TOKEN and then GH_TOKEN.GitHubClient.request_json() JSON-encodes payloads as UTF-8, returns appropriately decoded API responses, recognizes GitHub rate limiting, may wait until X-RateLimit-Reset, and uses exponential retry sleeps of 2**attempt for retryable failures.GitHubError(f"GitHub API {exc.code} for {url}: {body}{reset_text}"), while transport failures raise GitHubError(f"GitHub API request failed for {url}: {exc}").GitHubClient.get_pull_request(repo, number) performs a request to /repos/{repo.owner}/{repo.name}/pulls/{number}.GitHubClient.search_issues_count(query) requests /search/issues with { "q": query, "per_page": 1 } and returns integer total_count, defaulting to 0.GitHubClient.remove_issue_label(repo, number, label) URL-encodes the label using urllib.parse.quote(label, safe=""), sends DELETE to /repos/{owner}/{name}/issues/{number}/labels/{encoded_label}, suppresses GitHubError only when its text contains GitHub API 404, and re-raises other errors.GitHubClient._is_rate_limited() only considers HTTP 403 and 429; it returns true when X-RateLimit-Remaining == "0" or when the response body contains rate limit case-insensitively.normalize_label() preserves name, color, and description.schema_version: 1 and preserves PR metadata including id, state, body defaulting to "", closed_at, requested reviewers, base/head data, head repository full_name, and numeric counters such as additions and comments defaulting to 0.normalize_file(file_info) returns filename, status, additions, deletions, changes, previous_filename, and patch; all three numeric change fields default to 0.