Add production Task lifecycle check command - #531
Draft
ChinmayK0607 wants to merge 7 commits into
Draft
Conversation
jdchawla29
previously requested changes
Aug 6, 2026
jdchawla29
dismissed
their stale review
August 6, 2026 03:22
Submitted unintentionally; withdrawing this review.
jdchawla29
force-pushed
the
chinmay/control-channel-keepalive
branch
2 times, most recently
from
August 6, 2026 06:25
5ef4cd7 to
a9fd7ee
Compare
ChinmayK0607
force-pushed
the
chinmay/hud-task-check
branch
from
August 6, 2026 06:48
fd7e066 to
3b46fe5
Compare
ChinmayK0607
changed the base branch from
chinmay/control-channel-keepalive
to
main
August 6, 2026 06:48
ChinmayK0607
force-pushed
the
chinmay/hud-task-check
branch
from
August 6, 2026 18:40
09ff8cb to
a896a5e
Compare
Provide stable local, attached, HUD, and hosted Task checks by composing existing start, grade, rollout, and runtime primitives with explicit proof and exit contracts. Co-authored-by: Cursor <cursoragent@cursor.com>
Cancel live task sessions when start-only checks or grading failures leave them unfinished. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
ChinmayK0607
force-pushed
the
chinmay/hud-task-check
branch
from
August 6, 2026 18:56
a896a5e to
804fe8e
Compare
Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 09026ad. Configure here.
jdchawla29
marked this pull request as draft
August 7, 2026 07:19
Map the rollout's actual cleanup phase to grader execution so task check reports identify the failing lifecycle step correctly. Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Why
Authors need a fast way to catch environment startup, Task setup, and grader integration failures before paying for a full rollout.
hud check --start-onlystops after a cheap smoke test, and direct-answer mode exercises the grader without model inference. Agent mode remains available when full behavior is required.What changed
hud check <task>with explicit start-only, direct-answer, and agent proof strategieshud.task-check.v1JSON contract and actionable exit codeshud taskcommandsDependency
Stacked on #530 because hosted checks use its control-channel stability and connection-phase attribution.
Test plan
uv run --extra dev pytest hud/cli/tests/test_check.py -q(25 passed)Made with Cursor