Repository navigation
Keep each journey sample on the machine that ran it - #1881
Merged
Merged
Conversation
The user asked for the durable store to wait as a TODO, given the Worker's credential proxy, with a temporary store in the meantime. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Until a store CI can write to exists, `leaf-dev journey` appends each sample to `$XDG_STATE_HOME/leaf-dev/journey.jsonl`, outside any checkout so runs from every worktree accumulate. The responsiveness note says to update its approximate readings from those samples once a step has changed materially and stayed changed. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
previously approved these changes
Oct 6, 2026
# Conflicts: # TODO.md
leaf-agent
approved these changes
Oct 6, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 7, 2026
`leaf-dev journey-chart` prints an `lf-chart` element from the journey samples this machine kept (`$XDG_STATE_HOME/leaf-dev/journey.jsonl`, #1881), so reading them no longer means copying numbers into a page by hand. The chart has one row per target at the latest code version that target ran, and a dot for each sign the user saw: the thread's title, Working, the agent's first words (the ephemeral reply from #1926), and the reply. The x-axis is seconds after the comment, on a log scale. A step a run never reached draws no dot. With no samples kept, the command says to run `leaf-dev journey` first. Each sample now also records `target`, which stays the same across runs: `cc`, `codex`, `local`, `wrangler`, or the website's origin. The chart groups by it, because a local or wrangler run's `origin` is a fresh port each time. Samples kept before this change name their target by their harness. Its output on this machine's samples passes `leaf page check --render`, light and dark. `TODO.md` records this as an experiment: whether `leaf-dev` should draw charts, or only print the rows and leave the chart to the agent writing the page. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
leaf-dev journeynow appends each sample it prints to$XDG_STATE_HOME/leaf-dev/journey.jsonl, one JSON line stamped with the time it ran, and says where on stderr. The file lives outside any checkout, so runs from every worktree on a machine accumulate in one place.This is a stopgap: CI's samples, including
publish-site's on every release, still go nowhere.TODO.mdgains "Keep the agent journey's samples" under Development velocity, which asks for a store CI and local runs can both write to and weighs a CI artifact (no token, 90 days) againstmax-sixty/leaf-assets(keeps history, needs a push token).notes/user-feedback-responsiveness.mdpoints at the file and says to update its approximate readings only when the samples show a step changed materially and stayed changed, not after one run.dev/AGENTS.mddescribes the file beside the command.The journey CLI test now checks that each of its three origins' samples is kept; the suite's state home is already a per-run temporary directory.