Skip to content

fix(skills): retry busy previews and verify published Skill lifecycle - #1095

Merged
777genius merged 11 commits into
mainfrom
test/site-skill-lifecycle
Nov 25, 2026
Merged

777genius merged 11 commits into
mainfrom
test/site-skill-lifecycle

Conversation

@777genius

@777genius 777genius commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Postmerge acceptance — Landing complete; final Marketing pending

Ordinary merge 9608b156 is confirmed. Both parents and all 17 changed file blobs/statuses match the reviewed candidate. Included #1094 is also confirmed merged.

The actual-main Required run completed successfully with nine applicable jobs executed and passed; the classifier is an explicit conditional skip. Source-bound original logs confirm primary Go/manifest/generated/vet checks, 1231 npm passes, zero failures and six explicit skips, 133 conformance fixtures, staged-hermetic one pass with zero skips, all four lint modules with zero issues, and the Windows/Linux/macOS SDK jobs. The final macOS SDK job reports 50 passes, zero failures/skips, including production retained Skill review/replay/exact restore across host restart and a clean packed-SDK consumer.

Both CodeQL languages, all six Govulncheck modules, and Dependency Review also completed successfully. All six original Govulncheck logs report no vulnerabilities.

Landing postmerge verification complete

The Landing workflow, attempt 2 on exact merge 9608b15, completed SUCCESS at 21:15:44 UTC on 25 November 2026. Attempt 1's signed-feed HTTP 503 was followed by one targeted failed-job retry after the authenticated feed recovered; no successful shard was arbitrarily rerun.

Prepare 139278657309 passed with authenticated Directory 49 / Discovery 215 / Security 110, the frozen pnpm 12.3.4 lockfile, 632 registry tests and 17 contracts with zero skips, types, lint, generation and build. Browser shard 139364545003 passed 295 tests, and shard 139364544989 passed 245 tests, with one explicit opt-in skip each. The final aggregate 139466946040 verified both shard artifacts and their digests, merged 540 PASS / 2 SKIP / 542 total, and passed the required screenshot checks.

The two skips are the opt-in live Skills API browser scenario (UAP_E2E_LIVE_SKILLS) and owner-uploaded Mux/CDN playback (UAP_E2E_LIVE_VIDEO). They are not claimed as new main executions. The separate premerge live Skills API and published npm/native Skills lifecycle evidence remains recorded below.

Final visual artifacts are bound to the same merge: marketing-kit-visual-evidence 15062824494, 19 files, 2498479 bytes, SHA-256 ff261a83a0cf65aa1e173e22a9dd776b024ee9117a5cf3ede4179aa16ddea338; and skills-scope-visual-evidence 15062924248, 197711 bytes, SHA-256 94cf40c3b43d321377380150b5fa7261db304d79a0e06dbe9473dacdd17943e1. The aggregate explicitly verified Marketing Kit PNG presence and both skills-card-project-mobile.png and skills-detail-project-mobile.png.

The combined base-path matrix is PR-only in the existing workflow; its main conditional skip is not a new pass. The prior PR supplied 171 actual passes for / and 171 for /universal-agent-plugins/ on 919e9c1. The only landing difference to this merge is the dependency lock update (shell-quote 1.10.0 → 1.12.0 and source-map-js 1.2.1 → 1.2.4); application code, package manifest, routes and base-path workflow are unchanged. The actual-main prepare and full browser gate now cover that assembled lockfile.

Remaining final Marketing gate

The latest applicable guarded Marketing main run is on d3cfbb6, including merged #1111 and the later shared-helper change. Codex and Cursor executed and passed with their original artifacts verified; OpenCode, Claude, Copilot and Gemini remain queued. All six lanes must execute successfully. Acceptance will be reconciled against the latest applicable main run after #1093 is merged; historical unguarded or superseded results do not replace that gate.
This checkpoint supersedes older pending entries below. No queued, running, conditional-skip or superseded job is counted as an executed pass.

Summary

Retry a busy Skill document preview once after a bounded API delay, show a waiting message in all nine locales, and cancel the pending retry when the selected document changes or the component is disposed. Preserve the existing document identity checks and stale-response protection.

Strengthen the real published npm Skills journey from add-only coverage to add → public-alias info → verified-ID remove. Verify immutable-source provenance, normalized manifest identity, digests, saved state and locks, removal and foreign sentinels. Admit GitHub fixture provenance by the parsed HTTPS host, with credentials refused.

Current HEAD: cf883184060cfcfc78551e3343ee1e3400895c0d, 17 changed files, including the integrated #1094 preview retry. The integrated base was b72fcf15; main has since advanced through the Landing dependency updates, #1026, #1085, #1017 and #1009 to 2f1252a2. The resulting merge composition must receive its own checks.

Verification

  • Published npm Skills lifecycle passed on this head. The final original artifact was independently read: both GitHub frontend-design and HTTPS ui-radar fixtures have removed: true, empty selected saved facts and pending_recovery: false, with identity, lock and foreign-sentinel checks. Artifact 14950844723 is 3025 bytes; ZIP SHA-256 ccf3e4d054516a3a10001d6d7498f1b6a2c41843674164f5dd3d68e4251746e8.
  • Live Skills API passed.
  • Landing prepare and both combined base-path jobs passed: 171 browser tests for / and 171 for /universal-agent-plugins/.
  • Separate browser shard 1/2 passed on checkout 919e9c1 (this HEAD plus b72fcf15): 295 main-suite passes and one explicit skip, followed by one live Skills API browser pass. The skipped case is the unrelated opt-in owner-uploaded Mux playback test (UAP_E2E_LIVE_VIDEO was not enabled). The additional real API case checked 200 listings: 199 command-eligible and one visible without install; physicalInstallationProvenHere remains false.
  • Browser shard 2/2 passed on the same 919e9c1 composition: 245 tests passed and one explicit skip. The final Playwright report marks a busy Skill preview waits and automatically displays the source after retry as passed in 3085 ms, with no errors or retries. The skipped case is the opt-in real API test; that API check separately passed in shard 1. Across both shards: 540 passes, two explicit skips, plus the separate live Skills API browser pass; the aggregate Landing job also completed successfully.
  • The full Landing workflow completed 6/6 jobs successfully. The original aggregate log confirms the same 919e9c1 checkout, successful prepare/shards, merged results of 540 passes and two explicit skips, and required mobile screenshot presence. The two changed mobile Skill card/detail screenshots were independently inspected at 390 px: Project scope, add/remove commands, helper text and metadata fit without overlap or clipping. Original artifact 14988122316 ZIP SHA-256: 17cbb41c2eaf767fb5ea0b2d834eefe90883ca9921ee95a73c72b29cabb51ff3. The mocked document preview contains literal newline escapes from its fixture; this is not deployed Markdown rendering evidence.
  • The full current Required workflow completed 10/10 jobs successfully, including all four lint modules and all three SDK platforms.
  • Final macOS SDK qualification passed 50 tests, zero failures/skips, with actual production CLI Skill review/replay/exact restore across SDK-host restart and a clean packed consumer passing files, typecheck and runtime imports. Its original checkout was 919e9c1e01771f06e54482c99cef8c228f7191e7, combining exact head cf883184 with base b72fcf15.
  • CodeQL passed; the source-host review threads are resolved.
  • Focused retry/cancellation, browser waiting-state, lifecycle failure-handling and source-host admission regressions added or updated.
  • Source-built Skills retry, attempt 2, passed on checkout 919e9c1e01771f06e54482c99cef8c228f7191e7. All six positive sources (four GitHub forms, HTTPS ui-taste and ui-radar) completed add → alias info → verified-ID remove, with locked provenance/digests, selected native files removed, empty saved facts, matching manifest/lock digests, pending_recovery: false, and foreign sentinels preserved. Two Feishu sources received their expected refusals with no installation. The final artifact 14978425942 was independently read: 5947 bytes, SHA-256 1c0672e669d23ddc7f2477e2c9926e2c5344db236e734c7758e3a7ed39e6696d. All six final receipts have removed: true; the console prints an earlier pre-removal snapshot. The source-built CLI reports 0.1.0-development; independent Codex discovery remains unqualified. The initial ui-taste PLAN_REJECTED remains a historical failure with no established root cause; no safety check was weakened for this retry.
  • The complete Skills E2E workflow, attempt 2, completed 3/3 jobs successfully, without skipped jobs.
  • Marketing Kit lifecycle: Codex, Cursor, Claude and Gemini completed successfully with the published npm 0.1.115 flow, signed snapshot 49, User/Project scopes, corrupt-lock refusal, cold restore and removal.
  • The full Marketing Kit workflow completed 6/6 jobs successfully, including OpenCode and Copilot. Both original logs and final archives were independently read. Each receipt records all 16 lifecycle stages passed: User/Project add, repeat, update, repair, expected corrupt-lock refusal, cold restore and removal of A/B/C/User, with signed snapshot 49 unchanged and two_scope_lifecycle_qualified: true. OpenCode artifact 14984485795 (1927 bytes), SHA-256 f4ccbb3786ea0321a40721565c556e0c8458cd113edce15b94f888a45c9ff920; Copilot artifact 14984058101 (3045 bytes), SHA-256 b2e859ac42e96374e161cdeba31fe89056d51fb2d2f397883b3fe7b965297840. Both bind checkout 919e9c1 and npm CLI 0.1.115; the 142+26+11+4 regression groups passed. Existing foreign-sentinel and peer guards executed. The full-A initialization boundary remains subject to test(e2e): preserve profile A during Marketing Kit peer initialization #1111 below.
  • Copilot cold restore B used the explicitly preauthorized native-folder fixture. This does not establish virgin-folder UI consent or a product-granted trust capability. User A/C managed components went from four to zero and retained the disabled-only boundary. VS Code saved-capability refusal was expected; native editor qualification is not claimed.

Additional Marketing Kit custody correction: #1111, head 8b5a8a920c49d82b85434adfe7045a3161d463cf, fixes a confirmed E2E assertion gap: the complete profile A baseline was previously captured after C initialization. Earlier successful native runs remain observations under the old assertions; they do not prove that missing initialization boundary. The follow-up captures A before C, verifies it even when initialization raises, and explicitly runs the new foreign-write regression before all six native lanes. Its 43 local tests, independent source review and all six guarded hosted native lanes passed; it is ordinarily merged at 26293e02. Resulting applicable main checks remain pending. This PR's head remains unchanged.

The published Skills test observed CLI 0.1.116 before and after the fixtures. Floating @latest observations do not independently identify every operation's binary. Both results retain readiness: needs_action and native_qualified: false; model calls and vendor authentication are not claimed. Claude Marketing Kit records signed closure-cache retirement with writer_closure_claimed: false, not clean-writer qualification.

All selected premerge gates are complete on the exact current head. The 17 reviewed PR paths are disjoint from the 49 changed main paths since the integrated base; actual postmerge checks will qualify the resulting main composition. Dependency Review also passed. Independent source review found no remaining actionable findings. Older hashes, runs and blockers below are historical and do not describe the current acceptance state.

Release Impact

  • No public CLI/SDK protocol change; published-package lifecycle evidence is stricter.
  • User-facing waiting text updated in all nine locales.
  • Source identity, bounded retry/cancellation, immutable provenance and removal custody reviewed.
  • After merge, verify Landing on the actual main composition, including the newer dependency lock.

Production source remains pinned to 67173e4276aba4a04d4ba00aaf4c22a3c0c27c8b, tree f959beca595b435a39e73e334babd0bd54e40b78. This E2E/merge task does not perform a separate production pin promotion or create a public release. Current-source CI results are not evidence that this new preview UI is already deployed.

Historical context and evidence from earlier heads

The following text is retained for provenance. Its “current” hashes, pending work and old blockers refer to superseded checkpoints; the current acceptance state is recorded above.

Current qualification checkpoint — 2026-11-23 14:04 UTC

Current HEAD: d8687fec976a58182c0f93c9d83765025fb400d1, sole parent 5da31a17642291ae204725a5a4c5ea1e3d518e1f. Marked Ready by the ordinary event at 12:34:03 UTC after the corrected real published lifecycle passed. No source change, manual rerun, duplicate label trigger or repeat live job was requested.

The earlier published npm failure 137612425009 remains part of the evidence: both adds succeeded, then my preceding fix incorrectly treated pin.alias as the normalized manifest name. The released contract keeps the public Skill name in the saved alias; info, looked up by that alias, returns the distinct normalized DeclaredName. This commit checks both while retaining strict source-key/SHA-256, provenance, digests/revision, verified-ID removal, saved requirements and foreign-sentinel checks. Independent review covered the released implementation, exact blobs ddd405f6 / f06df1ec and the complete post-add contract. Local Node 26.11.1 reproduced the old failure (2 failures/10) and passed the correction 10/10, 0 failures/skips, 23.156 s; that local result is an inert harness.

Actual published lifecycle: job 137634449178, run 45157577378, completed successfully at 12:25:56 UTC. On Node 24.22.3 it passed all 10 harness cases, then ran real npx -y universal-agent-plugins@latest against both immutable-source-checked GitHub frontend-design and HTTPS ui-radar fixtures. The final original npm-install.json verifies both add → public-alias info → verified-ID remove lifecycles, native/list/lock absence, canonical saved manifest/lock agreement with no selected facts, and unchanged foreign sentinels. Both final removed values are true. Artifact 14818516293, skills-install-public-npm, finalized at 3021 bytes; downloaded ZIP SHA-256 4d0a97c94a873015c8a0768b4b724418dcd1a41120133fa6ff57d011361e4dd2 matches the original upload log. Per-case console JSON is emitted before post-add updates; the finalized artifact is the complete lifecycle evidence.

The real job observed CLI 0.1.116 before and after each fixture and installed/observed Codex 0.171.0. These floating-@latest observations do not independently attribute every operation to a binary. Both results retain readiness: needs_action, native_qualified: false and no independent native discovery. No model/vendor-auth workflow was exercised; the repository generator's website-format commands were not recaptured from the deployed site by CI.

Source attribution and other completed gates: the live job and native Landing prepare 137634340310 used checkout 7423dc5, parents cb63059e + current d8687fec, tree 31a0761c7257186a3cce44e1f3ca7db13fb97aa4; both reviewed blobs were read back there. Landing prepare verified executable native TypeScript 7.0.2, tsc --noEmit, the established separate Vue API compatibility check, and 624/624 registry tests, including all 10 lifecycle harness cases. Both combined Landing bases 137634340553/137634340764 succeeded. Dependency Review 45157577596 succeeded. Skills live API 137634448409 and source-built 137634448900 succeeded: the API checks are bounded catalog/command checks; source-built CLI 0.1.0-development proves six installs and two expected refusals, without the published mode's post-add info/remove lifecycle.

Full browser results now executed: shard 1/2, 137657592774 completed at 12:47:31 UTC with 295 passed / 1 skipped; shard 2/2, 137657592886 completed at 13:00:23 with 243 passed / 1 skipped. Together: 538 passed, 2 skipped, 0 failed, on the same exact 7423dc58 checkout. A separate live API browser test passed (200 checked, 199 command-eligible, physicalInstallationProvenHere: false). These are source-bound results for cb63059e + d8687fec, not evidence for a later main composition. All five Authoring native/packed execution children also completed successfully, including Linux amd64 137651543752 at 12:49:30.

Remaining gates: Landing aggregate 137709798402 and Authoring aggregate 137703973438 are still queued; child successes alone do not complete their workflows. Ordinary Ready Docs 45175533860, Coverage 45175533967, Skills picker 45175533961 and Polyglot 45175533947 are whole SUCCESS. Required 45175534346 has a successful actual classifier: lint=false, management_sdk=false, authoring=true; its two path-conditional skips match the unchanged workflow. staged-hermetic started at 14:00:23 UTC, while primary test remains pending. CodeQL Go passed; JavaScript/TypeScript is pending. Terminal Linux and Windows passed at 14:00:59/14:01:07; macOS remains pending. Authoring Milestone A prepare passed; its platform children remain pending. Queued, running and skipped jobs are not PASS. The earlier Draft Required run's classification/skips are not full Ready qualification.

Actual applicable Marketing failure on this HEAD: Codex job 137695675906, run 45175534130, failed at 13:59:03 UTC. Its original log binds checkout 7423dc5 (cb63059e + d8687fec) and pinned npm 0.1.104 to signed Directory immutable source identity changed. Both User and Project scopes are not_run and two_scope_lifecycle_qualified=false; this preflight did not execute either lifecycle. Failure artifact 14824453516 finalized at 716 bytes, upload digest b101ce95da24ddaddd36f6b4a04451d5be1869732155bc7fa914564c8942240c. Original decoded log is retained; the ZIP has not been independently downloaded in the unavailable local environment.

This reproduces the unchanged verifier's earlier #1094 baseline failure and remains a blocking applicable gate. The direct existing owner stack is #1078, which updates that verifier/workflow; at 14:03 UTC it was still open on 4e4cd597, and main was still 72f880c9. #1093 addresses a different released-source audit. No waiver, duplicate implementation or retry is claimed. This PR is not fully qualified until all applicable checks pass.

Original change and earlier validation

The website-format Skills live test previously checked installed files and then deleted its temporary project, so it could not establish that the CLI removed the Skill or its saved requirements.

Extend the existing test to check the selected source and lock identity, query info, remove by the verified installation ID, and check the native path, list, canonical saved-environment status and foreign sentinels. Preserve complete diagnostics and separately label reported readiness; this test does not establish independent native discovery. Permit the existing published npm job on manual dispatch.

Validation: nine focused harness tests and scoped ESLint pass in an isolated environment. Independent source-based review found and verified fixes for mismatched released JSON contracts and missing source/requirements checks. The live npm/network lifecycle has not yet run. The script models website DTOs using the repository command generator and checks both published fixtures against base commands observed separately in the deployed site on 2026-11-22; CI does not recapture the site. Before/after @latest version observations do not independently attribute every operation to a binary. Actual native Codex discovery remains unverified.

Combined Skills scope — 24 Nov 2026

  • fix(site): retry busy Skill document previews #1094 fix(site): retry busy Skill document previews was merged into this branch with preserved two-parent ancestry at 48fd0418 (without changing its 13-file contents).
  • fix(skills): retry busy previews and verify published Skill lifecycle #1095 published Skill add/info/remove lifecycle and CodeQL exact HTTPS-host fix d3a97888 are retained. Review both security findings on final source.
  • Integrated current main b72fcf15 at exact head cf883184; only 17 independently disjoint changed paths. This is one combined release candidate, not two separate PR CI waves.
  • Do not mark queued/skipped/cancelled checks as PASS. Required, Landing/browser, CodeQL, published npm Skills native E2E and applicable Marketing Kit checks must be qualified on final tree. No public release requested.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 46 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b72fcf1 and cf88318.

Files selected for processing: 17

  • .github/workflows/skills-install-live-api.yml
  • landing/composables/useSkillDocument.ts
  • landing/features/skills-catalog/locales/ar.json
  • landing/features/skills-catalog/locales/en.json
  • landing/features/skills-catalog/locales/es.json
  • landing/features/skills-catalog/locales/fr.json
  • landing/features/skills-catalog/locales/hi.json
  • landing/features/skills-catalog/locales/pt.json
  • landing/features/skills-catalog/locales/ru.json
  • landing/features/skills-catalog/locales/uk.json
  • landing/features/skills-catalog/locales/zh.json
  • landing/pages/skills/index.vue
  • landing/scripts/skills-install-native-live-e2e.ts
  • landing/scripts/skills-source-host.ts
  • landing/tests/browser/skills-catalog.spec.ts
  • landing/tests/skill-document-retry.test.ts
  • landing/tests/skills-native-lifecycle.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Match the released CLI contract: lock aliases retain the selected public Skill name, while info returns the normalized manifest name. Keep strict source, digest, revision, verified removal, and foreign-file checks. Add a negative declared-name case and require info lookup by the saved public alias.
@777genius
777genius marked this pull request as ready for review November 23, 2026 12:34
@strix-security

Copy link
Copy Markdown

Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here.

So far, Strix has reviewed 392 pull requests, surfaced 113 security issues (1 critical/high) and blocked 3 risky merges across this workspace.

Use the existing hydrated route helper so an aborted startup generation cannot consume the delayed 429 fixture. Keep the visible waiting state, exact two requests and successful source assertions.
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.03%. Comparing base (479e7be) to head (cf88318).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1095   +/-   ##
=======================================
  Coverage   64.02%   64.03%           
=======================================
  Files        2324     2324           
  Lines      141572   141572           
=======================================
+ Hits        90644    90650    +6     
+ Misses      37933    37928    -5     
+ Partials    12995    12994    -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@777genius 777genius changed the title test(site): verify published Skill removal lifecycle fix(skills): retry busy previews and verify published Skill lifecycle Nov 24, 2026

Copy link
Copy Markdown
Owner Author

Source-bound diagnosis of old shared Marketing Kit failures (24 Nov 2026): the six legacy jobs on original #1095/#1094 heads ran published CLI 0.1.104 (e.g. job 137695675906), and failed before any Project/User lifecycle at inspect_signed_closure. Verified the immutable official signed Registry sequence 49 publication tag: all four marketing-kit/notion/hubspot-crm/playwright-bridge active release policies require minimum_installer_version=0.1.108. All four exact package release pins (revision/tree/manifest) still match the pinned MARKETING_KIT_SIGNED_CLOSURE, and the publication is valid 2026-11-20 to 2026-12-20. Thus the historical 0.1.104 is below the signed minimum; a missing/ineligible selected_release is correctly refused and must not be treated as an immutable-source change to waive. Integrated main at candidate cf883184 now runs a newer published CLI in that workflow; only its exact final-head real jobs, which are QUEUED/PENDING, can establish whether the mismatch is resolved. Do not lower source restrictions, update signatures, count legacy failures as PASS or rerun duplicate queue.

@777genius
777genius merged commit 9608b15 into main Nov 25, 2026
55 of 56 checks passed
@777genius
777genius deleted the test/site-skill-lifecycle branch November 25, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants