Skip to content

feat: Trigger daily performance improvements from the dashboard - #13731

Merged
anthonyshew merged 1 commit into
daily-performance-agentfrom
eve-dashboard-perf
Aug 12, 2026
Merged

anthonyshew merged 1 commit into
daily-performance-agentfrom
eve-dashboard-perf

Conversation

@anthonyshew

Copy link
Copy Markdown
Contributor

Summary

Stacked on #13729 — base is daily-performance-agent, so this diff is only the operator surface for that workflow.

  • add a Daily performance improvement card to the Eve operator dashboard with a Run performance improvement now control, the 15:30 UTC schedule, the rotation rule, and the review/output gates
  • dispatch operator runs by x-operator-action: the new performance action sends the same DAILY_PERFORMANCE_IMPROVEMENT_PROMPT the schedule uses, with app auth and task mode, so begin_performance_improvement, the opposite-model adversarial review, the stale-diff/protected-path checks, and draft-PR publication all apply to manual runs
  • report the author and reviewer models for a started run, resolved with selectPerformanceModels(sessionDate(session.id)) so the dashboard shows the same pair the agent resolves rather than a separate guess
  • share the operator action names in agent/lib/operator-runs.ts so the dashboard and channel cannot drift, and extract the start/poll/status logic into app/operator-run.tsx so both operation cards behave identically
  • extend the standing instructions to cover operator performance runs, matching how example maintenance already reads

Existing behavior is unchanged: the maintenance action keeps its origin, action, content-type, and example validation, and its start response is byte-identical (the optional models field is omitted).

Verification

  • pnpm --dir apps/agents test
  • pnpm --dir apps/agents exec tsc --noEmit
  • pnpm --dir apps/agents build
  • pnpm --dir apps/agents exec eve info reports 0 diagnostics and discovers both operator routes, both schedules, and both reviewer subagents
  • next dev render check: both operation cards, facts, and controls render; the client bundle carries both operator actions
  • against the running channel: missing origin, unknown action, and non-JSON content type each return 403 Invalid operator request.; a matching origin with an invalid example returns 400 A valid example is required.
  • repository pre-push hooks (lint-staged, turbo run format check:toml, cargo fmt --check) and oxlint apps/agents

A live performance run was deliberately not triggered from this box: it would clone the repo, spend model budget, and can publish a draft pull request.

🤖 Generated with Claude Code

Adds an operator control for the daily performance-improvement workflow so
it can be started on demand, not only by the 15:30 UTC schedule.

The operator channel now dispatches per `x-operator-action`: the performance
action sends the same prompt the schedule uses, with app auth and task mode,
so `begin_performance_improvement`, the opposite-model adversarial review,
and the publish gates all apply to manual runs. Its start response reports
the author and reviewer models resolved from the session date, matching the
agent's own model selection.

Shared operator run actions live in one module used by both the channel and
the dashboard, and the start/poll/status logic is extracted so the two
operation cards behave identically.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

Co-Authored-By: Anthony Shew <35677084+anthonyshew@users.noreply.github.com>
@anthonyshew
anthonyshew requested a review from a team as a code owner August 12, 2026 14:23
@anthonyshew
anthonyshew requested review from tknickman and removed request for a team August 12, 2026 14:23
@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
examples-basic-web Ready Ready Preview Aug 12, 2026 2:24pm
examples-designsystem-docs Ready Ready Preview Aug 12, 2026 2:24pm
examples-gatsby-web Ready Ready Preview Aug 12, 2026 2:24pm
examples-kitchensink-blog Ready Ready Preview Aug 12, 2026 2:24pm
examples-nonmonorepo Ready Ready Preview Aug 12, 2026 2:24pm
examples-svelte-web Ready Ready Preview Aug 12, 2026 2:24pm
examples-tailwind-web Ready Ready Preview Aug 12, 2026 2:24pm
examples-vite-web Ready Ready Preview Aug 12, 2026 2:24pm
turbo-site Ready Ready Preview Aug 12, 2026 2:24pm
turborepo-eve-agent Ready Ready Preview Aug 12, 2026 2:24pm

@anthonyshew
anthonyshew merged commit 7ae94e0 into daily-performance-agent Aug 12, 2026
50 of 53 checks passed
@anthonyshew
anthonyshew deleted the eve-dashboard-perf branch August 12, 2026 14:44

This branch was successfully deployed

1 active deployment
Preview – turborepo-eve-agent 03c72a76 Deployed Aug 12, 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.

1 participant