feat(cua): expose task and result lifecycle - #7780
Conversation
Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in commit 39abce8 in the TypeScript / code-coverage/cliThe overall coverage in commit 39abce8 in the Show a code coverage summary of the most impacted files.
Updated |
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
Nemotron output stays in workflow artifacts and does not change the assessment above. E2E guidanceAdvisory only. E2E / PR Gate selects and runs jobs independently. Recommended E2E: This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Summary
Expose the runtime-neutral public lifecycle for starting, observing, controlling, and inspecting CUA tasks. The implementation drives one explicit operator-owned task adapter, validates every response against the checked-in CUA contract, retains only bounded secret-free terminal metadata, and keeps task input and detailed evidence private.
This PR is stacked on #7779 and should be reviewed against
codex/cua-target-lifecycle-7751-v2.Related Issue
Fixes #7752
Accepted product and architecture direction: #7750 (comment)
Changes
start,status,result,events,logs,plans,pause,cancel,guide, andrespondcommands with deterministic JSON records and exit codes.task.pauseto return an explicitly paused attachment; a still-running response fails validation without changing recorded task state.Type of Change
Quality Gates
Documentation Writer Review
docs-updated39abce8890276b927d8d976405282f68a083d08b, the documentation writer reviewed the complete 33-file diff, verified the private-input documentation matches the descriptor-bound regular-file, non-empty UTF-8, 64 KiB, and no-symlink implementation and regression test, and confirmed the complete task/result reference remains accurate and public-safe.npm run docspassed with 0 errors and 2 existing Fern warnings;git diff --check, CLI type-check, build, focused tests, and normal hooks passed.Codex Desktop — CUA private task input boundary, task/result lifecycle, evidence indexes, adapter protocol, and reconnect persistence documentationDGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passednpm run typecheck:cli,npm run build:cli, and Biome passed.npm run docsbuilds without errors (doc changes only) — exited 0 with 0 errors and 2 existing Fern warnings.Signed-off-by: Julie Yaunches jyaunches@nvidia.com