summaryrefslogtreecommitdiff
path: root/internal/askcli/command_complete_uuids_test.go
AgeCommit message (Collapse)Author
2026-04-07fix: recover gracefully from corrupted alias cache instead of hard-failingv0.29.1Paul Buetow
When the task alias cache file contains invalid JSON (e.g. from a concurrent write race producing two concatenated JSON objects), the previous code returned a hard error that blocked all `ask` subcommands. Now loadTaskAliasCache discards the corrupt file and starts fresh, assigning new alias IDs on the next run. Validation errors (e.g. next_id reuse) still surface as errors since those indicate a logic bug. Also fix stale v1 reference in integration test aliasCachePath. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07feat: show task summary in fish shell autocompletion for alias IDsv0.29.0Paul Buetow
The complete-uuids command now emits tab-separated "selector\tdescription" lines so fish shell displays the first 60 chars of the task description alongside each alias/UUID in the autocompletion menu. The __ask_add_dependency_modifiers fish function is updated to strip the description field before matching and building depends: completions. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27Implement command registry for askcli commandsPaul Buetow
2026-03-27task 73fabcf6-d4a1-4bf3-aae1-a390a734e517: extend ask selector completionPaul Buetow
2026-03-26Implement ask alias cache foundation for d5a99b1b-13f3-4b73-8222-71f012c60bc9Paul Buetow
2026-03-26ask: speed up fish UUID completionPaul Buetow