Dashboardcliwrong-identifier command recovery

wrong-identifier command recovery

Category: pattern
Confidence: 1.00
ID: 01a082f3-7299-75ea-ba2d-e86ba013f91b
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 1YFBlrgyVUrbeaTj0
Created: 2026-09-08 21:36:27
Updated: 2026-09-08 21:36:27

Content

When a user supplies an unambiguously wrong identifier type, detect it with shared predicates such as looksLikeIssueShortId(), SPAN_ID_RE, or HEX_ID_RE, resolve the intended entity, warn with log.warn(), and return a hint for the correct command. Rejecting immediately looks stricter, but wastes enough type information to provide safe recovery.

Move to: