Skip to content

React Aria agent skill installation fails with an archive digest mismatch #10965

Open

Description

@kazui-dev

Provide a general summary of the issue here

On November 14, 2026, installing the official React Aria agent skill using the documented instructions failed with SKILLS_WELLKNOWN_DIGEST_MISMATCH. The digest advertised by the discovery index differs from the SHA-256 of the downloaded archive.

The mismatch also reproduces with Node.js fetch independently of the skills CLI.

🤔 Expected Behavior?

The archive referenced by the discovery index should match its advertised SHA-256 digest, allowing the documented skill installation to complete.

😯 Current Behavior

[SKILLS_WELLKNOWN_DIGEST_MISMATCH] Digest mismatch for skill 'react-aria':
expected sha256:304d7e4dc4d550ad58b01101a0c2204adfd5d990e659104681b7e79c5a8d6926,
received sha256:cdb54fd520a1f853c119f60deebc5d40ba0d4286dd2f191ec23f0806b4c83264.

Index: https://react-aria.adobe.com/.well-known/agent-skills/index.json

Referenced archive: https://react-aria.adobe.com/.well-known/agent-skills/react-aria.tar.gz

Response Cache-Control
Index public, max-age=300, stale-while-revalidate=300
Archive public, max-age=31536000, immutable

The archive response also included:

  • Last-Modified: Tue, 01 Sep 2026 15:27:58 GMT
  • X-Cache: Hit from cloudfront
  • X-Amz-Cf-Pop: NRT57-P1

Reproduction may depend on the retrieval path or responding cache.

StackBlitz Reproduction

Not applicable: this fails when fetching published skill files, before application code runs. A standalone Node reproduction is included below.

🖥️ Steps to Reproduce

Run the command from the official instructions, using pnpm:

pnpm dlx skills@1.8.1 add https://react-aria.adobe.com --agent codex --yes

This read-only reproduction isolates the responses and digest calculation from the skills CLI:

node --input-type=module <<'JS'
import {createHash} from 'node:crypto';

const indexUrl =
  'https://react-aria.adobe.com/.well-known/agent-skills/index.json';
const indexResponse = await fetch(indexUrl);
const index = await indexResponse.json();
const skill = index.skills.find(s => s.name === 'react-aria');
const url = new URL(skill.url, indexUrl);
const response = await fetch(url);
const bytes = Buffer.from(await response.arrayBuffer());

console.log({
  url: String(url),
  expected: skill.digest,
  actual: 'sha256:' + createHash('sha256').update(bytes).digest('hex'),
  indexCacheControl: indexResponse.headers.get('cache-control'),
  archiveCacheControl: response.headers.get('cache-control'),
  cache: response.headers.get('x-cache'),
  age: response.headers.get('age'),
  pop: response.headers.get('x-amz-cf-pop')
});
JS

This may depend on the responding cache location.

💁 Possible Solution

At commit 360e35170568dfc99a2baaa78e6b7bdd36458d91:

  • The deploy command includes .tar.gz files in the upload group with a one-year immutable cache policy, while JSON receives a short TTL.
  • The skill generator publishes archives under stable names such as react-aria.tar.gz.

This may allow an older archive to remain cached after the index is updated. I cannot verify the production origin, CloudFront configuration, or invalidation behavior, so this is a possible explanation rather than a confirmed cause.

Could you check the consistency of the published index and archive and clarify how these files are intended to update? If a code change is needed, I would like to understand the intended approach before proposing one.

🔦 Context

This blocks adding the official React Aria skill to a project. The integrity check correctly detects the mismatch and stops the installation.

Version

  • skills@1.8.1
  • pnpm 12.18.0
  • Node.js 22.23.5

What browsers are you seeing the problem on?

Other

If other, please specify.

Node.js fetch / CLI, not a browser UI.

What operating system are you using?

macOS 27.2, Apple Silicon.

🧢 Your Company/Team

Personal project.

🕷 Tracking Issue

No response

Activity

  1. kazui-dev commented on Nov 14, 2026

    @kazui-dev
    Author

    I investigated the difference between the Python and Node.js downloads and isolated it to the Accept-Encoding request header.

    The same archive URL returns different versions depending on this header. SHA-256 values are abbreviated below.

    Client Accept-Encoding SHA-256 prefix Bytes
    Node.js fetch, default br, gzip, deflate cdb54fd5… — mismatch 434813
    Node.js fetch, header overridden identity 304d7e4d… — matches index 449831
    Python urllib, default identity 304d7e4d… — matches index 449831
    Python urllib, Node-style headers br, gzip, deflate cdb54fd5… — mismatch 434813
    curl identity 304d7e4d… — matches index 449831
    curl br, gzip cdb54fd5… — mismatch 434813

    This reproduces without Node.js, changing only one header in curl:

    url='https://react-aria.adobe.com/.well-known/agent-skills/react-aria.tar.gz'
    
    curl --http1.1 --noproxy '*' -fsS \
      -H 'Accept-Encoding: identity' \
      -D identity.headers -o identity.tar.gz "$url"
    
    curl --http1.1 --noproxy '*' -fsS \
      -H 'Accept-Encoding: br, gzip' \
      -D br-gzip.headers -o br-gzip.tar.gz "$url"
    
    shasum -a 256 identity.tar.gz br-gzip.tar.gz

    The matching response has Last-Modified: Thu, 08 Oct 2026 15:53:26 GMT; the mismatching response has Last-Modified: Tue, 01 Sep 2026 15:27:58 GMT. Both report X-Cache: Hit from cloudfront and X-Amz-Cf-Pop: NRT57-P1, with no Content-Encoding header.

    The extracted contents also differ: the matching archive contains 169 files, while the mismatching archive contains 168, lacks references/components/Sheet.md, and differs in 59 shared files. This is not merely a difference in gzip encoding.

    The index advertises the same expected digest under both request headers. Repeating the curl requests reproduces the same split.

    These results isolate the discrepancy to the HTTP delivery path rather than Node.js-specific processing. They strongly suggest a stale cache variant selected by Accept-Encoding, though I cannot inspect the production CloudFront policy or origin to confirm the exact cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions