Repository navigation
test(skills): reproduce per-skill skills CLI copies in disposable CI - #337
Conversation
drevendev
left a comment
There was a problem hiding this comment.
Exact-head source/content review — COMMENT (not formal approval)
PR head inspected: 14bf301d8f2993159edd161b27fd879605cf4512; base f18f3a9e4611ef839d82e7a450e7db45a7600d73. Related: #333.
Confirmed result: standalone CLI trial passed and actually invoked npx --yes [email protected] add in five fresh project directories (four individual copies, one combined copy). The job log shows four Installed 1 skill messages, one Installed 4 skills, and four printed state: incomplete diagnostics; the combined cases are asserted in the script. Artifact standalone-skill-copy-layout is present. The quality workflow also passed six jobs. This is solid evidence of successful CLI copying but unusable standalone sibling-resource layout, not agent execution or a supported install.
Two evidence/reader-facing corrections before treating this as exact-head acceptance:
-
The checked-out source is the PR synthetic merge, not the PR head. In
.github/workflows/standalone-skills-trial.yml,actions/checkouthas noref, and the*.source-shafiles write$GITHUB_SHA. The actual job log fetchedrefs/pull/337/mergeand printsHEAD is now at 5b0e763a15e454a39d29d7244ecf7f5386a631fd Merge 14bf301… into f18f3a9…. Thus5b0e763…, not14bf301…, is the copied source tree and recorded source SHA in this run. Issue #333's latest receipt says the runner checked out PR head14bf301; that is not literally what ran. Either explicitly check out and verifygithub.event.pull_request.head.shafor PR runs (handle manual runs separately), or state that the evidence covers the immutable synthetic merge snapshot and record both SHAs distinctly. The observed packaging failure remains valid; the provenance claim needs precision. -
The guide still contradicts the new observation.
guides/agent-plugin.mdnow describes an executed CLI copy trial, but later in the same section calls #333 only asource-level distribution riskand says it isnot a reproduced failure of npx skills add. Since the CLI command did succeed but the installed layout failed preflight, replace that older wording with the precise distinction: real install/copy reproduced; standalone operation remains unsupported/unverified. Do not imply the CLI process itself failed.
No new functional defect in the isolated copy/diagnostics assertion was identified from the diff and hosted evidence. I did not rerun the CLI or the Python suites locally; CI and its logs are the execution evidence. Authenticated reviewer and PR author are both drevendev, so this is a content judgement, not an actor-independent APPROVE or merge clearance.
drevendev
left a comment
There was a problem hiding this comment.
Follow-up exact-head content review — COMMENT (not independent approval)
PR HEAD: c8a193e994af862a4b297749c6af5cb8d97b10c0 (base f18f3a9e4611ef839d82e7a450e7db45a7600d73). Related: #333.
The two acceptance corrections from my earlier review are now addressed:
- Checkout provenance is accurate. The workflow explicitly checks out
github.event.pull_request.head.shafor PR runs (andgithub.shafor manual runs), verifiesgit rev-parse HEADagainst the expected SHA, and records source and event SHAs separately. The new actual installer job logged copied source HEADc8a193e994af862a4b297749c6af5cb8d97b10c0and workflow event/merge SHA6b7e9b55eb1dc7dbf6b19c29d1e101c91fdc23cd. This corrects the prior synthetic-merge-as-source attribution. - The reader-facing claim is reconciled.
guides/agent-plugin.mdnow says that the real CLI copy succeeded, while the installed standalone layouts failed the required-file preflight. It no longer calls the observed outcome an unexecuted source-level risk. The original synthetic-merge trial remains clearly identified as historical evidence.
The new job completed successfully: four separate [email protected] single-skill installs and one combined-four install; the four printed single-skill preflights returned state: incomplete, and the combined cases are explicitly asserted in the workflow. The seven-day layout artifact exists. All six Quality checks passed. Green means the known distribution failure was reproduced, not that a standalone skill is usable.
Disposition: no remaining blocking source/documentation finding identified in this bounded three-file change. Do not close #333 or advertise skills CLI support on this evidence: self-contained distribution, actual helper execution from a clean standalone installation, and real-agent validation remain unproven. I inspected the workflow, documentation, check summaries and installer job log; I did not download the artifact contents, run npm/Python locally, or invoke an agent.
The authenticated author and reviewer are both drevendev, so this COMMENT is an exact-head content judgement only, not actor-independent APPROVE or formal merge clearance.
andy-zen-dev
left a comment
There was a problem hiding this comment.
Independent exact-head review — APPROVE (c8a193e994af862a4b297749c6af5cb8d97b10c0). Related: #333.
I inspected the complete three-file diff, current AGENTS.md/CONTRIBUTING.md, existing reviews, the installed-layout preflight implementation, and Issue #333's staged acceptance criteria. The earlier checkout-provenance and contradictory-documentation findings are corrected: PR events explicitly check out and verify github.event.pull_request.head.sha, save source SHA separately from the synthetic event SHA, and the guide distinguishes a successful CLI copy from an incomplete installed dependency layout.
Independent CI evidence on this exact source head: skills CLI trial passed, with all four individual copies and one combined copy executed under pinned [email protected]; its log identifies source HEAD c8a193e..., confirms Installed 1 skill four times and Installed 4 skills once, and shows incomplete for each printed per-skill preflight. The combined preflights are asserted in the workflow. The seven-day diagnostic artifact was produced. Quality checks passed all six jobs, including Windows, Linux, and lint. No merge-blocking defect found in the bounded documentation/evidence workflow change.
Scope boundary: This approval recognizes the reproducible distribution-gap experiment, not a working standalone skills CLI distribution, actual helper or agent execution, model/host qualification, or completion of #333/#257. The third-party CLI package was version-pinned but not independently audited or signature-authenticated. I inspected workflow logs and artifact metadata, but did not download artifact contents or rerun npm/Python/model tests locally. Keep #333 open and unsupported-install wording intact until its remaining gates are met.
Reader problem
Issue #333 needs an actual
npx skills addcopy result, not just source inspection or simulated filesystem layouts. The four skill definitions currently reference files outside their own directories.Change
[email protected].--copy --agent codex --yes, using this checkout as the local source..agents/skills/<name>/SKILL.md, record a sorted installed file list andstandalone_skill_preflight.pyJSON and exit code, and retain seven-day evidence artifacts.incompleteresult, so a green run means the distribution mismatch was reproduced, not that an agent ran successfully.Safety and limitations
[email protected]and this checkout are explicit trial inputs, not a declaration of skills.sh support. The original CLI trial and the revised exact-head trial completed successfully while proving eight incomplete installed skill layouts. The original workflow checked out a synthetic merge snapshot; the revised workflow verifies the exact PR source head and records both source and event SHAs. Host discovery/runtime remains open in Release candidate: independently verify all four Agent Skills in Claude Code and Codex #257.Related: #333; #257.