| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-03-23 | integrationtests: complete ask coverage, fix weak assertions | Paul Buetow | |
| - TestAnnotate: now verifies annotation text appears in ask info output - TestDenotate: now verifies annotation is absent after removal - TestMain: always rebuilds binary (not only when missing) - Add TestAddReturnsUUID: asserts output matches UUID regex, never numeric - Add TestHelp: verifies ask help exits 0 and lists all subcommands - Add TestUnknownCommand: verifies unknown subcommand exits non-zero - Remove unnecessary runAskWithStdin calls for commands that don't forward stdin to taskwarrior (start, stop, priority, tag, modify, annotate, dep add/rm); only delete actually needs stdin forwarding - Add getTaskInfoRaw helper for full info text assertions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | |||
| 2026-03-23 | ask add: always emit UUID, never the numeric task ID | Paul Buetow | |
| Use rc.verbose=new-uuid so taskwarrior prints "Created task <uuid>." directly on stdout. Parse the UUID from that line instead of doing a two-step numeric-ID lookup or falling back to an export call. Removes ExtractUUIDFromOutput (which could leak numeric IDs) and fetchUUIDByNumericID (the export fallback). Integration tests now get the UUID straight from ask add output without any extra calls. Also fixes TestMain_WiresDispatcher which expected "export" first in args, but list now prepends status:pending filter. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | |||
| 2026-03-22 | ask: fix CLI commands to use correct Taskwarrior argument formatsv0.25.2 | Paul Buetow | |
| - handlePriority: use 'uuid:<uuid> modify priority:<level>' instead of 'priority <uuid> <level>' - handleTag: use 'uuid:<uuid> modify +/-tag' instead of 'tag <uuid> +/-tag' - handleDelete: use 'uuid:<uuid> delete' and pass stdin for confirmation - handleDenotate: use 'uuid:<uuid> denotate <pattern>' instead of 'denotate <uuid> <pattern>' - Add integration tests for all ask CLI subcommands - Update unit tests to match new command argument formats - createTask now uses task info to get UUID instead of export parsing - parseTaskInfoText fixed to split tags by ', ' instead of whitespace | |||
