Dashboard › cli › Distillation
6a11876d-f60a-404f-81ae-9b04b66b205a["lore_tm_v1__eo_gRsasYj7bcvslewOcukjtGf67wJLE0cb39Ko2HI","lore_tm_v1_fVsujcBHuK1FcaWVOrCgqzAabThEyT3pw6DAQO5qXS0","lore_tm_v1_g2FPiqrb4KlNHstcO22MCcK8laTuHc8q6bgUjoWNE0s","lore_tm_v1_TZRj1qgVp7ucuowPk6yOOks75QtA2WyzFZJxi96iT2k","lore_tm_v1_8MVRW4vzpaJMoi20VgYxNkW6AA6w1yESRm1LtlP2MUs","lore_tm_v1__75OhlE9uCG4gTqLUQ4QXpnzHRvo0Ey9pig09N_77dw"]
ContextError in /home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/lib/errors.ts lines 385-453. ContextError is for omitted required context; ResolutionError is for a provided value that cannot be matched; ValidationError is for malformed input. Omitting alternatives assumes failed auto-detection and uses DEFAULT_CONTEXT_ALTERNATIVES; explicitly supplying alternatives, including [], produces required-resource wording. The constructor rejects multiline command hints, builds the full message with buildContextMessage(...), and uses EXIT.CONTEXT_MISSING.packages/cli/src/lib/list-command.ts, buildListCommand() adds FRESH_FLAG only when "fresh" is absent from mergedFlags.buildListCommand() is “always the target (org/project pattern).” The wrapper passes args[0] through interceptSubcommand(...) to handle plural-alias confusion before calling the original function.buildListCommand() behavior in packages/cli/src/lib/list-command.ts: auto-inject --fresh; inject --cursor unless noCursorFlag or already defined; inject -f unless noFreshAlias or already defined; inject -c unless noCursorFlag or already defined; preserve existing flags/aliases; call applyFreshFlag(flags) before execution; intercept known singular-route subcommands accidentally passed through plural aliases.packages/cli/src/lib/list-command.ts to import and use CommandDocumentation from ./command.js for buildListCommand().docs; OrgListCommandDocs is now an alias of CommandDocumentation, replacing the local { brief; fullDescription? } shape.packages/cli/src/lib/mutate-command.ts, buildDeleteCommand() adds YES_FLAG only when "yes" is absent from mergedFlags.buildDeleteCommand() behavior in packages/cli/src/lib/mutate-command.ts: inject --yes; inject --force unless noForceFlag; inject --dry-run unless noDryRunFlag; add aliases -y, -f, and -n when available; run guardNonInteractive(...) before the command unless noNonInteractiveGuard; preserve command-specific existing flags and aliases.packages/cli/src/lib/mutate-command.ts to import and use CommandDocumentation from ./command.js for buildDeleteCommand().docs, replacing the local { brief; fullDescription? } type.packages/cli/test/commands/agent-conversation/list.test.ts asserting unresolved organization context uses canonical optional-org command text exactly: sentry agent-conversation list [<org>].bbaa7b3b722b87f1bccfe84063269cbbcabe2741 and checksum output 092bd817573c1e0ea81e71472a9da2f38251dd6736331152b8325526527c3479 -.apps/cli-docs/src/fragments/commands/agent-conversation.md; packages/cli/plugins/sentry-cli/skills/sentry-cli/SKILL.md; reference files alert.md, cli.md, explore.md, feedback.md, init.md, issue.md, monitor.md, org.md, project.md, release.md, replay.md, repo.md, team.md, trace.md, trial.md under packages/cli/plugins/sentry-cli/skills/sentry-cli/references/; scripts packages/cli/script/check-fragments.ts, packages/cli/script/generate-command-docs.ts, packages/cli/script/generate-skill-markdown.ts, packages/cli/script/generate-skill.ts; command files packages/cli/src/commands/agent-conversation/list.ts, packages/cli/src/commands/agent-conversation/view.ts; library files packages/cli/src/lib/command.ts, packages/cli/src/lib/introspect.ts, packages/cli/src/lib/list-command.ts, packages/cli/src/lib/mutate-command.ts; tests packages/cli/test/commands/agent-conversation/list.test.ts, packages/cli/test/commands/agent-conversation/view.test.ts, packages/cli/test/lib/command.test.ts, packages/cli/test/lib/introspect.property.test.ts, packages/cli/test/lib/introspect.test.ts, and packages/cli/test/script/generate-skill-markdown.test.ts./home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/lib/arg-parsing.ts, looksLikeDisplayName(input) detects spaces via input.includes(" "), routing such inputs to display-name search rather than slug validation/API lookup.normalizeSlug(slug) in packages/cli/src/lib/arg-parsing.ts is intentionally a no-op returning { slug, normalized: false }, following removal of underscore normalization in #771 and the move to display-name matching for space-containing inputs in #772.packages/cli/src/lib/arg-parsing.ts: strict pattern ^[A-Z][A-Z0-9]*(-[A-Z][A-Z0-9]*)*-[A-Z0-9]+$; case-insensitive recovery supports mixed-case and lowercase multi-segment IDs with alphanumeric final segments, while rejecting two-part lowercase slugs, letter-only or digit-only finals in lowercase multi-segment slugs, and title-case first segments.issue and issues as command tokens only when paired with a purely numeric suffix; examples issue-1 and my-org/issue-1 are rejected, while uppercase ISSUE-1 remains a valid short ID and possible real project forms such as api-1 and release-123 are not rejected.looksLikePath(arg) in packages/cli/src/lib/arg-parsing.ts recognizes ., ~, prefixes ./, ../, /, and ~/ without filesystem I/O; it does not treat ~foo, my-project, or acme/app as paths.parseSlashSeparatedArg( at line 1226 of /home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/lib/arg-parsing.ts.