<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vercel-agent-skills.git/packages, branch vercel-optimize/count-aggregation-fallback</title>
<subtitle>React and web design best-practice skills
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/vercel-agent-skills.git/'/>
<entry>
<title>vercel-optimize: make metric queries work on current Vercel CLIs</title>
<updated>2026-10-28T15:40:52+00:00</updated>
<author>
<name>nicdillon</name>
<email>nicholas.dillon@vercel.com</email>
</author>
<published>2026-10-28T15:40:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/vercel-agent-skills.git/commit/?id=a2f5f8e863ce1de53915bddffbbf9a08b2ac327f'/>
<id>a2f5f8e863ce1de53915bddffbbf9a08b2ac327f</id>
<content type='text'>
Metric queries were written against CLI v53.4.0. Current CLIs (seen on 62.5.0
and 65.2.0) changed three things, so 16 of 32 queries failed with
invalid_request, including the Observability Plus canary in collect-signals.
Audits then reported Observability Plus as unusable (blocker=all_failed_other)
on teams that have it.

1. *.count metrics allow only count/unique; the skill used sum.
2. Dimensions are camelCase (originHostname, cacheResult, botCategory,
   requestPath, sourceImageHostname, wafAction, ...).
3. Metrics were renamed: speed_insights_metric.{lcp,inp,cls,ttfb_ms} -&gt;
   speed_insights.{lcp_ms,inp_ms,cls,ttfb_ms}; speed_insights_metric.count was
   removed (sample volume now comes from the count of LCP samples);
   middleware_invocation.duration_ms -&gt; request_duration_ms.

queryMetric now retries a rejected query in the current form
(modernizeMetricQuery) and maps the response back to the legacy metric,
aggregation, and dimension names (restoreLegacyMetricShape). Callers, gates,
and the v53.4.0 fixtures are unchanged, and older CLIs keep the original
query.

Verified against `vercel metrics schema &lt;metric&gt;` on CLI 65.2.0. With the
first part of this fix, the canary passed and request-count queries returned
56 rows on a team with Observability Plus.

Repro:
  vercel metrics vercel.request.count --format json -a sum --since 14d --limit 1
    -&gt; {"error":{"code":"invalid_request"}}
  vercel metrics vercel.request.count --format json --since 14d --limit 1
    -&gt; summary [{ vercel_request_count_count: 257 }]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Metric queries were written against CLI v53.4.0. Current CLIs (seen on 62.5.0
and 65.2.0) changed three things, so 16 of 32 queries failed with
invalid_request, including the Observability Plus canary in collect-signals.
Audits then reported Observability Plus as unusable (blocker=all_failed_other)
on teams that have it.

1. *.count metrics allow only count/unique; the skill used sum.
2. Dimensions are camelCase (originHostname, cacheResult, botCategory,
   requestPath, sourceImageHostname, wafAction, ...).
3. Metrics were renamed: speed_insights_metric.{lcp,inp,cls,ttfb_ms} -&gt;
   speed_insights.{lcp_ms,inp_ms,cls,ttfb_ms}; speed_insights_metric.count was
   removed (sample volume now comes from the count of LCP samples);
   middleware_invocation.duration_ms -&gt; request_duration_ms.

queryMetric now retries a rejected query in the current form
(modernizeMetricQuery) and maps the response back to the legacy metric,
aggregation, and dimension names (restoreLegacyMetricShape). Callers, gates,
and the v53.4.0 fixtures are unchanged, and older CLIs keep the original
query.

Verified against `vercel metrics schema &lt;metric&gt;` on CLI 65.2.0. With the
first part of this fix, the canary passed and request-count queries returned
56 rows on a team with Observability Plus.

Repro:
  vercel metrics vercel.request.count --format json -a sum --since 14d --limit 1
    -&gt; {"error":{"code":"invalid_request"}}
  vercel metrics vercel.request.count --format json --since 14d --limit 1
    -&gt; summary [{ vercel_request_count_count: 257 }]
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(vercel-optimize): harden Windows CLI resolution</title>
<updated>2026-06-10T21:20:30+00:00</updated>
<author>
<name>John Pham</name>
<email>john.pham@vercel.com</email>
</author>
<published>2026-06-10T21:16:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/vercel-agent-skills.git/commit/?id=190df9e7d4497c159c50dfa1c0a2c54d9772d197'/>
<id>190df9e7d4497c159c50dfa1c0a2c54d9772d197</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Harden vercel optimize report safety</title>
<updated>2026-05-27T01:39:35+00:00</updated>
<author>
<name>John Pham</name>
<email>john.pham@vercel.com</email>
</author>
<published>2026-05-26T22:53:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/vercel-agent-skills.git/commit/?id=583754a2b2d022e61396b14dc46db5f20c3c1d2b'/>
<id>583754a2b2d022e61396b14dc46db5f20c3c1d2b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: harden vercel optimize project scope preflight</title>
<updated>2026-05-22T17:24:06+00:00</updated>
<author>
<name>John Pham</name>
<email>john.pham@vercel.com</email>
</author>
<published>2026-05-22T17:24:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/vercel-agent-skills.git/commit/?id=cb122aa341137e86eb79e568eedd1c07115ba5c3'/>
<id>cb122aa341137e86eb79e568eedd1c07115ba5c3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #266 from vercel-labs/johnphamous/vercel-optimize-workflow-guidance</title>
<updated>2026-05-21T19:20:55+00:00</updated>
<author>
<name>John Phamous</name>
<email>johnphammail@gmail.com</email>
</author>
<published>2026-05-21T19:20:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/vercel-agent-skills.git/commit/?id=da22a4c9e85b3a3f6f4b4e8cd415016117643bb2'/>
<id>da22a4c9e85b3a3f6f4b4e8cd415016117643bb2</id>
<content type='text'>
Harden vercel-optimize Workflow guidance</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Harden vercel-optimize Workflow guidance</pre>
</div>
</content>
</entry>
<entry>
<title>fix: harden vercel optimize workflow guidance</title>
<updated>2026-05-21T19:14:40+00:00</updated>
<author>
<name>John Pham</name>
<email>john.pham@vercel.com</email>
</author>
<published>2026-05-21T19:14:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/vercel-agent-skills.git/commit/?id=08ae718367df11a4d386d123bf84952967a80696'/>
<id>08ae718367df11a4d386d123bf84952967a80696</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: support user-owned vercel optimize scope checks</title>
<updated>2026-05-21T17:17:47+00:00</updated>
<author>
<name>John Pham</name>
<email>john.pham@vercel.com</email>
</author>
<published>2026-05-21T17:17:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/vercel-agent-skills.git/commit/?id=9e50dda5bd410bf77915c630b2b8e2a44697c5b2'/>
<id>9e50dda5bd410bf77915c630b2b8e2a44697c5b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: stop vercel optimize on ambiguous project scope</title>
<updated>2026-05-21T16:31:56+00:00</updated>
<author>
<name>John Pham</name>
<email>john.pham@vercel.com</email>
</author>
<published>2026-05-21T16:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/vercel-agent-skills.git/commit/?id=3296353bb7fff11269fff02e717350f05b721331'/>
<id>3296353bb7fff11269fff02e717350f05b721331</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: scope vercel optimize cli commands to linked team</title>
<updated>2026-05-21T16:23:57+00:00</updated>
<author>
<name>John Pham</name>
<email>john.pham@vercel.com</email>
</author>
<published>2026-05-21T16:23:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/vercel-agent-skills.git/commit/?id=e6c3b94eb9d4a7e89fb4cbc2c98c75d333b872e8'/>
<id>e6c3b94eb9d4a7e89fb4cbc2c98c75d333b872e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge origin/main into vercel optimize data gap reporting</title>
<updated>2026-05-21T04:43:51+00:00</updated>
<author>
<name>John Pham</name>
<email>john.pham@vercel.com</email>
</author>
<published>2026-05-21T04:43:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/vercel-agent-skills.git/commit/?id=5692cf1ef72f35253612fa2f0b8036ad1ea59f51'/>
<id>5692cf1ef72f35253612fa2f0b8036ad1ea59f51</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
