Skip to content

test(skills): reproduce per-skill skills CLI copies in disposable CI - #337

Merged
drevendev merged 9 commits into
masterfrom
beautifulrepo/standalone-skills-cli-trial-20261111
Nov 11, 2026
Merged

drevendev merged 9 commits into
masterfrom
beautifulrepo/standalone-skills-cli-trial-20261111

Conversation

@drevendev

@drevendev drevendev commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Reader problem

Issue #333 needs an actual npx skills add copy result, not just source inspection or simulated filesystem layouts. The four skill definitions currently reference files outside their own directories.

Change

  • Add a read-only-token, isolated, same-repository-only GitHub Actions trial using Node 24 and pinned [email protected].
  • Install each of the four skills separately into a fresh disposable project with --copy --agent codex --yes, using this checkout as the local source.
  • Check the actual .agents/skills/<name>/SKILL.md, record a sorted installed file list and standalone_skill_preflight.py JSON and exit code, and retain seven-day evidence artifacts.
  • Assert the current known incomplete result, so a green run means the distribution mismatch was reproduced, not that an agent ran successfully.
  • Document the evidence boundary and report the change in CHANGELOG.

Safety and limitations

  • No private code, tokens, external announcements, model launches, target execution, releases or settings changes. Token is contents:read; checkout credentials are not persisted. Fork PRs do not run the third-party npm CLI.
  • The workflow uses third-party npm from the registry only on the disposable runner, with lifecycle scripts disabled and telemetry opt-out. Version pinning is not signature authentication.
  • [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.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

  1. The checked-out source is the PR synthetic merge, not the PR head. In .github/workflows/standalone-skills-trial.yml, actions/checkout has no ref, and the *.source-sha files write $GITHUB_SHA. The actual job log fetched refs/pull/337/merge and prints HEAD is now at 5b0e763a15e454a39d29d7244ecf7f5386a631fd Merge 14bf301… into f18f3a9…. Thus 5b0e763…, not 14bf301…, is the copied source tree and recorded source SHA in this run. Issue #333's latest receipt says the runner checked out PR head 14bf301; that is not literally what ran. Either explicitly check out and verify github.event.pull_request.head.sha for 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.

  2. The guide still contradicts the new observation. guides/agent-plugin.md now describes an executed CLI copy trial, but later in the same section calls #333 only a source-level distribution risk and says it is not 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 drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

  1. Checkout provenance is accurate. The workflow explicitly checks out github.event.pull_request.head.sha for PR runs (and github.sha for manual runs), verifies git rev-parse HEAD against the expected SHA, and records source and event SHAs separately. The new actual installer job logged copied source HEAD c8a193e994af862a4b297749c6af5cb8d97b10c0 and workflow event/merge SHA 6b7e9b55eb1dc7dbf6b19c29d1e101c91fdc23cd. This corrects the prior synthetic-merge-as-source attribution.
  2. The reader-facing claim is reconciled. guides/agent-plugin.md now 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 andy-zen-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@drevendev
drevendev merged commit 67407d2 into master Nov 11, 2026
7 checks passed
@drevendev
drevendev deleted the beautifulrepo/standalone-skills-cli-trial-20261111 branch November 11, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants