Dashboard › cli › Distillation
b6823e4b-9398-4508-91c2-6c4465dc8efa["lore_tm_v1_V2htyo6Aq2dNTXVTgWTV7w3w68tpce8Vjuhur4fYs4o","lore_tm_v1_7mkICkYtWIyp3MqOIRyyGV0yBn5YUMoJVuCRufC3Z3Y","lore_tm_v1_g54iNHcFQ09iNBzWM3fpxuYBt-BxF1ZExgY-MzIlOMw","lore_tm_v1_xwAq2gJeSaaKK2NKUFFR0C8JWmIPqeOMrLsx5haYjgQ","lore_tm_v1_4tL4LbWCPme3XUPB5ZbIIQgQfHHxOjemrt2lP6yIt6Y","lore_tm_v1_HE3uRGcu3vudkacX_NpAyPlhlpk31Z3MfvjxXV6cYkE","lore_tm_v1_UN3WiyiSgPHdhFMrePZnwfEpkX1sJxADmjNhfuW0YHk","lore_tm_v1_0-SVMXgPbNmH6OanT0XgH-5nK5fROBip2j5zdX6C1Ik","lore_tm_v1_Ykvdzu4zsGIltDhOacX4xoBFNEYLBbqSytiMPz8OoAc","lore_tm_v1_jBl3rpKTp95mGHtMoGv3a55pRsYKtZeYggxQBqJxNDE","lore_tm_v1_YUn-qFaSNbLcvWIP2x3eZuF2UyZ2Kr01sCx5vf0b4sk","lore_tm_v1_qBfQ5Tcb6bV-0KvKKyZZq5EaEJqMhRe9iPE_7Tgw_2E","lore_tm_v1_LYZcHwmOV4EtyojdE5ehSKQZMr6c5aQnG9sG8GG5xFs","lore_tm_v1_oNm8Lru9dwVQPRXFW4DOAWYtUdF8ffG6S8fL7TmlIYo","lore_tm_v1_10nVcjERvHiUKtwN9fnyhKmPUzSypdRV6R2W4KAV-eM","lore_tm_v1_4x3j4XliR6r7oh7BmnWnwSFud-dEltIrRhtLDQ_sBuY","lore_tm_v1_OObkqEQj4uxXy9LNT3DedYdWj_ZiXYCDtldgb8ud7rQ"]
ses_f74147dfdffextiN4vE9ncxubJ completed but returned an empty <task_result>.kind: "array" command declarations, tracing each declaration to command-level validation.minimum must not alter valid flag-only modes or replace established command-owned ContextError/ValidationError behavior with Stricli scanner errors.kind: "array" declarations: packages/cli/src/commands/docs/query.ts:40, packages/cli/src/commands/docs/list.ts:54, packages/cli/src/commands/trace/view.ts:484, packages/cli/src/commands/trace/logs.ts:130, packages/cli/src/commands/debug-files/upload.ts:567, packages/cli/src/commands/debug-files/find.ts:131, packages/cli/src/commands/span/view.ts:384, packages/cli/src/commands/span/list.ts:575, packages/cli/src/commands/dashboard/widget/edit.ts:212, packages/cli/src/commands/dashboard/widget/delete.ts:85, packages/cli/src/commands/dashboard/widget/add.ts:108, packages/cli/src/commands/dashboard/view.ts:190, packages/cli/src/commands/dashboard/revisions.ts:135, packages/cli/src/commands/dashboard/restore.ts:72, packages/cli/src/commands/dashboard/list.ts:391, packages/cli/src/commands/dashboard/create.ts:157, packages/cli/src/commands/send-envelope.ts:26, packages/cli/src/commands/schema.ts:324, packages/cli/src/commands/replay/view.ts:360, packages/cli/src/commands/cli/feedback.ts:41, packages/cli/src/commands/cli/defaults.ts:308, packages/cli/src/commands/build/upload.ts:178, packages/cli/src/commands/react-native/xcode.ts:491, packages/cli/src/commands/project/create.ts:637, packages/cli/src/commands/monitor/run.ts:187, packages/cli/src/commands/proguard/upload.ts:172, packages/cli/src/commands/log/view.ts:512, packages/cli/src/commands/log/list.ts:730, packages/cli/src/commands/help.ts:36, packages/cli/src/commands/local/run.ts:366, packages/cli/src/commands/event/view.ts:1082, packages/cli/src/commands/event/send.ts:142, and packages/cli/src/commands/issue/merge.ts:276.inside and has must always use stopBy: end to ensure complete traversal.pattern; try kind when needed; add relational rules (has, inside) with stopBy: end; then combine rules using all, any, or not.--debug-query=cst, --debug-query=ast, or --debug-query=pattern; inline shell rules must escape metavariables such as \$VAR or use suitable single quoting.minimum only where zero positionals are invalid and scanner-level enforcement does not bypass a deliberate command error contract.packages/cli/src/commands/docs/query.ts defines an array positional at line 40 with placeholder "question" and joins values via parts.join(" ").trim(); zero/blank input throws ValidationError("Provide a documentation question.", "question") at lines 50β54.packages/cli/src/commands/docs/list.ts defines an array positional at line 54 with placeholder "keywords" and joins values via parts.join(" ").trim(); zero/blank input throws ValidationError("Provide documentation keywords to search for.", "keywords") at lines 64β68.packages/cli/src/commands/docs/list.ts parses --limit with validateLimit(value, 1, 20), defaults to "8", and aliases -n to limit.packages/cli/src/commands/trace/view.ts defines an array positional at line 484 with placeholder "org/project/trace-id" and brief "[<org>/<project>/]<trace-id> - Target (optional) and trace ID (required)"; its handler preprocesses arguments with preProcessArgs(args) and then resolves through either resolveTraceFromIssue() or parseTraceTargetWithRecovery() plus resolveTraceOrgOptionalProject().packages/cli/src/commands/trace/logs.ts defines an array positional at line 130 with placeholder "org/project/trace-id" and brief "[<org>/[<project>/]]<trace-id> - Optional org/project and required trace ID"; its handler validates through parseTraceTarget(args, USAGE_HINT) and resolves via resolveTraceOrg(parsed, cwd, USAGE_HINT).packages/cli/src/commands/trace/logs.ts supports --web, --period, --limit, --query, --sort, and --fresh; default limit is "100" and default sort is "newest".packages/cli/test/script/generate-skill-markdown.test.ts, packages/cli/src/lib/introspect.ts, packages/cli/test/lib/introspect.test.ts, packages/cli/script/generate-command-docs.ts, packages/cli/script/generate-skill-markdown.ts, and packages/cli/script/generate-sdk.ts.packages/cli/script/generate-skill-markdown.ts implements formatCommandArguments(positionals): variadic values use <${placeholder}...>, optional syntax wraps that value in brackets, explicit positional.syntax overrides inferred syntax, and brief text escapes </> as </>.minimum determines whether zero values parse.fix/agent-conversation-reference-root-cause tracking missing upstream origin/pr-1558 [gone], with six modified files: packages/cli/script/generate-command-docs.ts, packages/cli/script/generate-skill-markdown.ts, packages/cli/src/lib/introspect.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.....packages/cli/script/generate-command-docs.ts now imports and reuses formatCommandArguments from ./generate-skill-markdown.js, replacing its local escapeAngleBrackets() and formatPositionalsTable() implementations.getPositionalString() builds <${placeholder}...> and returns [<${placeholder}...>] when (params.minimum ?? 0) === 0, otherwise the required <${placeholder}...> form.required boolean and sets minimum: required ? 1 : undefined; optional arrays must render [<file...>]; an array without a placeholder and with minimum: 1 must render <args...>; extractPositionals() with minimum: 1 preserves required variadic semantics; and an array without minimum preserves { placeholder: "file", brief: "Optional event files", optional: true, variadic: true }.buildCommandInfo() for sentry project create must preserve canonical positional syntax <name>:<kind>... and expose positional metadata { placeholder: "name:kind", brief: "", optional: false, variadic: true, syntax: "<name>:<kind>..." }."argument tables preserve canonical and variadic syntax", building command information for sentry agent-conversation list, sentry agent-conversation view, sentry event send, sentry issue merge, and sentry project create.packages/cli/src/commands/debug-files/upload.ts defines an array positional at line 567 with placeholder "path" and brief "Files or directories to scan for debug information files".sentry debug-files upload has a valid flag-only example, sentry debug-files upload --derived-data --no-upload, so zero explicit paths can be valid.packages/cli/src/commands/debug-files/upload.ts keeps --no-upload auth-free and uses DEFAULT_MAX_DIF_SIZE; real uploads resolve organization/project, throw ContextError("Organization and project", USAGE_HINT) when unresolved, obtain server chunk-upload options, and use a positive server maxFileSize to gate scanning.scanPaths(scanTargets), prepareDifs(files, filters, { maxFileSize, scanZips: !flags["no-zips"] }), buildDifList(), and dedupeDifs(); dry runs use doDryRun(), empty upload sets use doNothingToUpload(), and actual uploads use doUpload().