Repository navigation
Rename lf-specimen to lf-sample - #1326
Merged
Merged
Conversation
"Specimen" read as clinical. The element covers any invented example: inert quoted content, or a live disposable Leaf page in `template[data-sample]`. "Sample" fits both modes. The rename covers the tag, `data-sample` and `data-sample-threads`, the runtime module (`sample.js`, `mountSample`), `leaf/samples.py`, the child-page API route (`/api/samples`), CSS classes, the "live sample" caption, docs, examples, and tests. The gallery guidance in examples/AGENTS.md now calls its entries "scenarios", and tests/AGENTS.md calls regtest outputs "recordings", so "sample" keeps one meaning. A test's attempt id became `child-sample-comment`, since `sample-comment` is below the 16-character floor the event schema sets. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
previously approved these changes
Sep 27, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Sep 27, 2026
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.
"Specimen" read as clinical. The element holds any invented example: without a template it quotes illustrative content (a made-up ticket, an inert decision), and with
template[data-sample]it runs a live, disposable Leaf page. "Sample" fits both modes, and thelf-prefix already says it's Leaf's.This is a mechanical rename across the tag,
data-sample/data-sample-threads, the runtime module (sample.js,mountSample),leaf/samples.py, the child-page route (/api/samples), CSS classes, the "live sample" caption, docs, examples, an eval case and tests. Two passages where "sample" would have been ambiguous now say "scenarios" (gallery entries,examples/AGENTS.md) and "recordings" (regtest outputs,tests/AGENTS.md). A test's attempt id becamechild-sample-comment, becausesample-commentis below the event schema's 16-character minimum.#1314 edits a test that selects
#overview-specimen; whichever lands second renames it to#overview-sample.🤖 Generated with Claude Code