Skip to content

refactor: rename internal 'project' terminology to 'benchmark'#1023

Merged
christso merged 3 commits intomainfrom
refactor/1020-rename-project-to-benchmark
Apr 9, 2026
Merged

refactor: rename internal 'project' terminology to 'benchmark'#1023
christso merged 3 commits intomainfrom
refactor/1020-rename-project-to-benchmark

Conversation

@christso
Copy link
Copy Markdown
Collaborator

@christso christso commented Apr 9, 2026

Closes #1020

What changed

Pure rename — no behavior changes, no wire format changes.

Core (packages/core/src/)

  • Renamed projects.tsbenchmarks.ts
  • ProjectEntryBenchmarkEntry
  • ProjectRegistryBenchmarkRegistry (internal YAML key changes from projects: to benchmarks:; file path ~/.agentv/projects.yaml unchanged)
  • All functions renamed: addProjectaddBenchmark, removeProjectremoveBenchmark, getProjectgetBenchmark, touchProjecttouchBenchmark, discoverProjectsdiscoverBenchmarks, deriveProjectIdderiveBenchmarkId, loadProjectRegistryloadBenchmarkRegistry, saveProjectRegistrysaveBenchmarkRegistry, getProjectsRegistryPathgetBenchmarksRegistryPath

CLI (apps/cli/src/commands/results/serve.ts)

  • withProject()withBenchmark()
  • projectEntryToWire()benchmarkEntryToWire()
  • Route params :projectId:benchmarkId
  • registry.projectsregistry.benchmarks

Studio

  • Types: ProjectEntryBenchmarkEntry, ProjectSummaryBenchmarkSummary, ProjectListResponseBenchmarkListResponse
  • API hooks/options: all project*benchmark* (e.g. useProjectListuseBenchmarkList)
  • Route files: $projectId.tsx$benchmarkId.tsx (URL structure unchanged)
  • Components: projectId props/params → benchmarkId

Wire format preserved

  • HTTP API URLs unchanged (/api/benchmarks, /api/benchmarks/:benchmarkId/...)
  • JSON response bodies unchanged (e.g. { projects: [...] } still uses projects key)

christso and others added 2 commits April 9, 2026 09:00
Closes #1020

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 9, 2026

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: e76521b
Status:⚡️  Build in progress...

View logs

@christso christso marked this pull request as ready for review April 9, 2026 09:09
@christso christso merged commit b5b2f3c into main Apr 9, 2026
3 of 4 checks passed
@christso christso deleted the refactor/1020-rename-project-to-benchmark branch April 9, 2026 09:09
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.

refactor: rename internal 'project' terminology to 'benchmark'

1 participant