Repository navigation
Conversation
tsk check <task> <n> <state> sets one check of the open review round to open, passed, or failed through DomainState::set_check, like Enter on a check. A repeat changes nothing; refusals: unknown-task, soft-deleted-task, not-in-review, unknown-check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Name the transition apply() like steps, read state words through CheckState::from_name, treat an oversized check number as unknown-check, and test the board reload, the missing undo entry, and untouched replies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Someone is attempting to deploy a commit to the smarzban Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
Opened here by mistake; this belongs on my fork. Sorry for the noise. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Only the board could mark a review check. Pocket Herd (T84) needs to mark checks from the phone, through the CLI.
Solution
tsk check <task> <n> <state>sets check<n>(1-based, intsk list T12 --jsonorder) of the open review round toopen,passed, orfailed.DomainState::set_check, which writes the existingcheck_setevent, likeEnteron a check. No undo entry, matching the board.unknown-task,soft-deleted-task,not-in-review,unknown-check(exit 1). A bad state word or number is a usage error (exit 2).T12 check 2 passed.src/cli/check.rs, wired through parser, router, presenter,main.rs, andtsk help check.## checksection, the Commands table, and the exit-contract row incli.md. Alsollms.txt(Review concept) and a CHANGELOG Added line. The skill is unchanged on purpose: checks are the user's verification.Testing
tests/cli_check.rscovers each state, the idempotent repeat (byte-identical store), every refusal (store unchanged), a deleted task, no undo entry, and the board painting the new state after a reload.cli_helpcovers the reference sections, 80-column fit, and trailing whitespace.git_base::two_tsk_processes_on_one_state_dir_share_one_fetch. That test fails the same way on the base commit8d714a2in this environment, so the failure is not from this change.🤖 Generated with Claude Code