Repository navigation
feat: support shared YAML task input - #367
zengchuang-hw wants to merge 3 commits into
Conversation
Use one versioned contract for CLI and Agent task previews and pass complete tasks to the existing RunSpec workflow. Verify ordinary wheel installs and preserve flag-only and bundled plugin behavior. Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Independent COMMENT-only reviewReviewed range: This is an ordinary conversation comment only. No approval is implied. Please re-request review when the PR is marked ready-for-review and the items below are addressed. Blockers
Contract / implementation notes (non-blocking unless they turn into defects)Relative to the accepted #365 contract, the slice looks largely aligned on a static read of the diff and the green Ready jobs:
Ready CI on this head: Questions / follow-ups (please clarify or fix)
Happy to re-review a ready head once policy admission is green and any of the above are settled. |
Direct-source users now see the standard package install command when the core YAML dependency is missing. Keep the checkout and lightweight-controller error paths covered. Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Thanks for the review.
|
Independent COMMENT-only re-reviewReviewed range: This is an ordinary conversation comment only. No approval is implied. Please re-request review when the PR is marked ready-for-review and the remaining blockers below are cleared. Incremental (this head)Three-file follow-up commit
That closes the prior open question on the leftover Prior open questions — disposition
Remaining blockers (still prevent Approve)
Ready CI (unchanged positive signal)On Happy to re-review a ready head once policy admission is green. |
Restore the knowledge operations guide, the existing skill loader hint, and its assertions. The shared YAML task contract still uses PyYAML as a core dependency and validates the standard wheel without extras. Agent-assisted-by: Codex (scope correction and validation) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Scope update after the re-review.
The narrower diff has zero protected knowledge paths. The latest knowledge declaration check reports Not applicable and passed, so the earlier exception request is superseded. I verified 34 targeted tests, the fresh source-install smoke, Ruff and |
Independent COMMENT-only re-reviewReviewed range: Prior blockers — disposition
New issue introduced by the restoration (please fix or explicitly defer)Restoring the two protected files to base reintroduces wording that contradicts this PR's own dependency change. At this head
The CI on
|
|
Thanks for the re-review. I recorded the deferral under Deferred knowledge documentation follow-up. The old guide and loader hint still say Both full-check jobs have since passed, along with the two installed-package jobs and PR references, on |
|
You need to increase your spend limit or enable usage-based billing to run background agents. Go to Cursor |
|
On Still open
Settled on this head
Verification limit: this read is the PR body and the thread through the PTAL. The diff and live CI were not re-checked in this reply. |
|
@amy-why-3459 Thanks for the re-review. This PR is now ready for formal review at Could you please submit your formal review on this revision? |
|
@Dong1017 @amy-why-3459 @cursoragent PTAL again |
|
Head Closed since the last independent review:
Author-reported checks on this head: all five Ready CI jobs in 42578631181, plus the knowledge declaration check above. Not verified in this pass: a live refetch of those runs, and a re-read of the diff (this seed is the PR body and thread). Outside this PR: the deferred knowledge-doc alignment, DSH consumer migration (#152), and #365 goal acceptance with the Issue owner. |
|
closed as newer design in #338 |
Governing Issue and delivery slice
Refs #365
This implements the core YAML task contract for CLI and direct Agent use. DSH consumer migration remains tracked in #152.
Changed artifacts and evidence
Checks and dependencies
ruff check src tests toolsandgit diff --checkpassed on the rebased head.The implementation sweep passed 127 targeted tests and 2 subtests. A clean Windows Python 3.12 wheel install passed both the task-specific and existing package checks. The wheel sources, package metadata inputs and shared fixture are unchanged across the rebase.
An independent rebase review found only the expected move of the template inclusion rule into the upstream shared bundler. The rebased DSH test suite passed both tests.
The Windows full suite was stopped after Anthropic test errors reproduced on the upstream base. A separate inspection/runtime sweep passed 76 tests and 26 subtests and reproduced one existing Git submodule failure.
Scope correction at
24ef10apassed 34 targeted tests, the fresh-install smoke, Ruff andgit diff --check. A standard wheel installed without extras in a clean environment passed both the package and YAML task checks. A separate reviewer verified the patch against the PR base and current main.Scope boundary
The shared YAML task contract uses PyYAML as a core dependency. The scope correction restores the protected knowledge operations guide and skill loader to the PR base, along with the assertions for the existing loader hint. The standard wheel and the existing
[skills]install syntax both resolve PyYAML. The protected-path exception request is superseded by the narrower diff.Deferred knowledge documentation follow-up
The protected knowledge operations guide and missing-PyYAML loader hint still describe
[skills]as required. The standard wheel now installs PyYAML for shared YAML tasks, and[skills]is a compatible alias. This PR defers those text corrections to a separate knowledge-policy-admitted change. The follow-up is to update the guide, the loader hint and the hint assertions together, then verify the standard wheel and the legacy install syntax. Review discussionRemaining work and Issue acceptance
This PR is ready for review. All applicable Ready CI jobs passed at
24ef10a, and the knowledge declaration check passed as not applicable. Goal acceptance remains with the Issue owner.