Skip to content

chore: update uphill to 0.0.12 with its action and rules - #733

Open
jxom wants to merge 5 commits into
mainfrom
uphill-latest
Open

jxom wants to merge 5 commits into
mainfrom
uphill-latest

Conversation

@jxom

@jxom jxom commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Updates ox to Uphill 0.0.12 (wevm/uphill), adds the Uphill action, generates the Uphill rules, and removes the AGENTS.md conventions that those rules already state.

  • Layout: .agents/uphill.yaml and its baseline move into .agents/uphill/, which is now Uphill's default location.
  • Packs: pins wevm/uphill/packs/typescript (convention categories only, because ox measures its own library categories) and wevm/uphill/packs/git, both at 394c876 (v0.0.12).
  • Rules: ox's own metrics now carry the typescript pack's library descriptions. uphill rules --write writes .agents/uphill/rules.md, and AGENTS.md @-mentions it. The hot-* and bench-instantiations metrics have no description, because their per-item targets would add about 20 kB to the rules file.
  • AGENTS.md: drops the bullets the rules now cover (enums, type over interface, readonly arrays, .js extensions, option bags, function namespaces, IIFEs, section dividers, TSDoc on exports, inline snapshots, conventional commits, changeset sentences). It keeps the ox-specific exceptions to those rules.
  • Action: a new Uphill job in pull-request.yml runs wevm/uphill (binary 0.0.12) with --compare against the base branch and keeps one comment on the PR. It doesn't gate the PR.
  • Main: .github/workflows/uphill.yml runs uphill --note on each push to main and pushes the refs/notes/uphill* refs. PR jobs fetch those notes, so their reports show main's trends.

Targets stay inline in uphill.yaml. When uphill --update (0.0.11 and 0.0.12) moves them into the baseline file, it drops every item target on an item that has a baseline, along with each target's reference comment. For example, all of hot-entry-size and ox: 215kB were lost. Pack metrics have no baseline yet, so the report lists them as new.

Validation: uphill rules --write shows no diff. The typescript and git pack scripts run on ox in about 2 minutes (convention scores 83 to 100, except module-docs, where 19 of 854 files pass). vp check passes.

ampagent and others added 2 commits November 28, 2026 01:11
Uphill 0.0.11 reads its configuration from .agents/uphill by default and
writes each metric's description to .agents/uphill/rules.md, which AGENTS.md
loads. ox now pins the typescript pack's convention categories and the git
pack, gives its own metrics the typescript pack's library descriptions, and
drops the AGENTS.md conventions that those rules already state.

The targets stay inline in uphill.yaml: `uphill --update` on 0.0.11 moves
them into the baseline file but drops each item target whose item has a
baseline, along with the comments that name each target's reference.

Amp-Thread-ID: https://ampcode.com/threads/T-01a21fa6-bf63-741b-81a2-1ce537095b01
Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
The job compares each pull request with its base branch and keeps one
comment with the report.

Amp-Thread-ID: https://ampcode.com/threads/T-01a21fa6-bf63-741b-81a2-1ce537095b01
Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
@vercel

vercel Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ox Error Error Nov 29, 2026 11:20pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T23:18:48.673548Z 365db4f New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Published ox@0.0.0-pr-733-365db4f under the pr-733 dist-tag, which follows this pull request until it closes.

pnpm add ox@pr-733
pnpm add ox@0.0.0-pr-733-365db4f

@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Uphill

CategorymainThis run
FootprintFootprint: 91Footprint: 91
SpeedSpeed: 72Speed: 72
CoverageCoverage: 97Coverage: 97
TypesTypes: 91Types: 91
Call typesCall types: 94Call types: 94
Type coverageType coverage: 97Type coverage: 97
FuzzFuzz: 94Fuzz: 94
CorrectnessCorrectness: 98Correctness: 98
StyleStyle: 96Style: 96
ArchitectureArchitecture: 98Architecture: 98
DocumentationDocumentation: 56Documentation: 56
TestingTesting: 79Testing: 79
ConfigurationConfiguration: 58Configuration: 58
CommitsCommits: 88Commits: 88

View the full report →

uphill --compare origin/main at 365db4f in run 1528

Amp-Thread-ID: https://ampcode.com/threads/T-01a21fa6-bf63-741b-81a2-1ce537095b01
Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
Pull requests fetch those notes, so their reports draw main's trends.

Amp-Thread-ID: https://ampcode.com/threads/T-01a21fa6-bf63-741b-81a2-1ce537095b01
Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
Amp-Thread-ID: https://ampcode.com/threads/T-01a21fa6-bf63-741b-81a2-1ce537095b01
Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
@jxom jxom changed the title chore: update uphill to 0.0.11 with its action and rules chore: update uphill to 0.0.12 with its action and rules Nov 29, 2026

This branch had an error being deployed

1 failed deployment
Preview — 365db4fe Deployed Nov 29, 2026 by vercel[bot]
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