vein/web: evolve hill-climb chart + shareable deep links - #1617
Merged
Conversation
- EvolveChart: live SVG fitness chart for eval/evolve-loop runs, derived purely from the run's event stream (the loop's synthetic <path>#<gen> events). Dashed baseline, best-so-far staircase, one dot per generation (filled = new best, amber stroke = explore directive, red x = failed gen, pulsing = in flight); dots click through to the generation's run via the existing run-ref plumbing. Domain-agnostic — harvey and gaia both flow through the same step type. - Deep links: ?wf=<workflow>&run=<runId>&v=<version> select on load and the address bar tracks the selection (replaceState, ?chat preserved), so the current view is always copy-paste shareable. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two UI additions to the vein web app, motivated by watching a live
gaia-evolverun:Evolve hill-climb chart
A live SVG chart at the top of the events panel for any run containing an
eval/evolve-loopstep. Derived purely from the event stream — the loop already emits synthetic<path>#<gen>events whose output carries{ gen, fitness, bestFitness, bestGen, directive, version, knownCost, runs }, so there are no engine or API changes.Shareable deep links
?wf=<workflow>&run=<runId>&v=<version>select on load, and the address bar tracks the selection viareplaceState(no history spam; the existing?chatparam is preserved). Whatever is on screen is always a copy-paste shareable link, e.g.:Testing
tsc --noEmitclean invein/webgaia-evolverun under/lab: deep link loads the run view directly and tails it; chart renders baseline 0.75 + pulsing pending dot for the running generation, updates as events stream in🤖 Generated with Claude Code