Example Flow
Continuous science, run once round the loop on one work: every file, command and diff it takes.
The work, its authors, its data, and every number, output, version, and DOI below are made up to show the full continuous-science loop. Automated checks, review, and auto-publishing (valency checks, valency review, and valency publish --if-gates-pass) are planned post-GA additions. See Publish from your terminal for the commands available today.
Continuous science · the north star, as a worked example
Overview
With your analysis in a repo, the Valency CLI publishing from it and your agent on the Valency MCP, a work becomes a loop: new data lands, the analysis re-runs, an agent updates the work, Valency reviews it, and readers and their agents see the new version.
Here is that loop run once on a work, with every file, command and diff it takes. The pipeline runs every step, and when a result changes, the new version stays private until you review it.
The example
Imagine this work running as continuous science.
It already runs an automated pipeline, fitting a trend to every lake record with the observation method controlled for. The loop below keeps that pipeline running after acceptance.
limnology · CC BY 4.0
Earlier ice-off on northern lakes: a running analysis of lake ice records
R. Amari, J. Kestrel, T. Novak
your-lab/lake-ice-paper
- Its question
- Are northern lakes losing their ice earlier in spring, once you control for how each lake is observed?
- Its answer
- Yes. Across 1,412 lake records, ice-off comes about four days earlier per decade.
- Version 14 Mar 20261.0.0publicFirst public version.
- Version 29 Jun 20262.0.0publicRevised after peer review at a journal.
- Lake 14132 Oct 20262.1.0publicone new lake record, once round the loop
01
New data lands
A new observation is recorded, and the new data lands in your repo the way a commit does.
In this example
A field team posts this spring’s ice-off date for one more lake. Your listener tells the repo, and the workflow fetches the record: the sample grows from 1,412 lakes to 1,413.
Makefile · fetch-data .PHONY: fetch-data # a step, not a file: it runs every timefetch-data: # 01 · new data landspython analysis/fetch.py --since last --out data/raw/python analysis/catalogue.py data/raw/ --append data/lakes.csvCI · make fetch-data # 2 Oct 2026 · 06:12 UTC · continuous.yml, run #57 (new-lake-record)make fetch-datapython analysis/fetch.py --since last --out data/raw/1 new record → data/raw/lake-1413.csvpython analysis/catalogue.py data/raw/ --append data/lakes.csv1 new lake · ice-off day 104 · sample N = 1,413data/lakes.csv · 1 row added --- a/data/lakes.csv+++ b/data/lakes.csv@@ -1412,0 +1413 @@ lake,year,ice_off_day,method+lake-1413,2026,104,shoreCI
make fetch-datacontinuous.yml · L25–26passed02
Analysis runs
A CI pipeline automatically analyzes the data: the fits re-run and the figures redraw from them.
In this example
The same trend fit the work already uses runs on every record. The new lake agrees with the rest: the trend moves from 4.1 to 4.0 days earlier per decade.
Makefile · analysis .PHONY: analysisanalysis: data/lakes.csv # 02 · the analysis re-runspython analysis/fit.py data/lakes.csv --out analysis/fits.jsonpython analysis/trend.py analysis/fits.json --out analysis/results.jsonpython analysis/figures.py analysis/results.json --out paper/figures/CI · make analysis make analysispython analysis/fit.py data/lakes.csv --out analysis/fits.json1,413 records · 1 new · method controlled forpython analysis/trend.py analysis/fits.json --out analysis/results.jsontrend −4.0 days per decade · claim 1 holdspython analysis/figures.py analysis/results.json --out paper/figures/wrote fig3-trend.pdf, fig4-records.pdfanalysis/results.json --- a/analysis/results.json+++ b/analysis/results.json@@ -1,6 +1,6 @@{- "n": 1412,- "trend_days_per_decade": -4.1,+ "n": 1413,+ "trend_days_per_decade": -4.0,"claims": { "earlier_ice_off": "holds" }}CI
make analysiscontinuous.yml · L27–28passed03
The work is rewritten
…and an automated agent incorporates the result into the work, updating its conclusions. Every line it changes is a diff you can read. Deciding what the work claims stays with you.
In this example
Your agent reads the new results and changes three lines: two numbers in the results section and the sample size in Figure 3's caption. No claim moved, so CLAIMS.md stays empty.
agent/update.md · what your agent is told Update the work in paper/ to match analysis/results.json.- Change numbers, captions and table cells. Nothing else.- Keep the wording of every claim. If a result moves, don'trewrite the claim: list it in CLAIMS.md for a person to read.- Say what you changed in one line, for the version note.Makefile · paper .PHONY: paperpaper: analysis/results.json # 03 · the work is rewritten$(AGENT) --instructions agent/update.md paper/latexmk -pdf -cd paper/main.texCI · make paper make paperyour-agent --edit --instructions agent/update.md paper/read analysis/results.json: n 1412 → 1413, trend −4.1 → −4.0edited paper/sections/results.tex (3 lines)claims moved: none · CLAIMS.md unchangedlatexmk -pdf -cd paper/main.texpaper/main.pdf (24 pages)paper/sections/results.tex · 3 lines, by your agent --- a/paper/sections/results.tex+++ b/paper/sections/results.tex@@ -38,2 +38,2 @@ \subsection{The trend}-Across 1,412 lakes, ice-off comes 4.1 days earlier per decade-(95\% interval 3.6 to 4.6).+Across 1,413 lakes, ice-off comes 4.0 days earlier per decade+(95\% interval 3.5 to 4.5).@@ -61 +61 @@ \begin{figure}- \caption{Ice-off day by year ($N = 1{,}412$).}+ \caption{Ice-off day by year ($N = 1{,}413$).}CI
make papercontinuous.yml · L29–43passed04
Pushed to Valency
One command sends the rebuilt work to Valency as its next version, private until it clears its checks.
In this example
valency submit sends paper/ as version 2.1.0, private to you and your co-authors. The five checks run on it and report back to the pull request.
CI · push to Valency valency submit paper/ --yes --version-note "Add one lake record to the sample"Packing paper/ (4.2 MB) · article: main.texUploaded · renderingNew private version 2.1.0Review and publish: https://valency.io/publish/lake-ice/2.1.0valency checks --waitContent Nothing harmful or out of scopeCitations 41 of 41 references resolvedSimilarity No overlap beyond your own earlier versionsPlagiarism No matchesQuality No signs of low-quality work5 of 5 checks passed · status posted to the pull requestOn the pull request
Valency / checks Successful in 2m — 5 of 5 checks passed · new private version 2.1.02 min agoEarlier ice-off on northern lakes: a running analysis of lake ice records
2.1.0privateNew private version from CI · Review and publish
CI
valency submit · valency checkscontinuous.yml · L86–96passed05
A review checks it
Valency reviews the new version against the last one: what changed, and whether the claims still hold.
Every version is checked and reviewed.
In this example
The review reads 2.1.0 against 2.0.0. Three small points, none about the claims: the headline claim holds, and adding data is a minor bump.
CI · valency review valency review --waitReview ready for 2.1.0 (against 2.0.0)3 points · none about the claimsclaim 1 earlier ice-off once the method is controlled for · holdssuggested bump minor (adds data, no new result)read it: https://valency.io/publish/lake-ice/2.1.0#reviewValency review ready
2.1.0 against 2.0.0 · 3 points · none about the claims
The ice-off trend is still about four days a decade, so the claim holds. Figures 3 and 4 were regenerated with the new lake.
Claim 1HoldsNorthern lakes lose their ice earlier in spring, once you control for how each lake is observed.
- 1Table 2: state the observation methods (shore, satellite, buoy).
- 2Say how lake 1413’s ice-off day was determined.
- 3The text, Figure 3 and Table 2 now agree on N = 1,413.
Suggested bump: minor (adds data, no new result)
All checks passedCI
valency reviewpassed06
A new version is published
Each version can have its own DOI and stays citable.
In this example
Every gate passes, the minor bump matching the review, so 2.1.0 goes public and asks for its own DOI.
CI · valency publish valency publish --if-gates-passDetails completeChecks passedReview read or acknowledgedAttestation on fileVersion bump agreed · minor, as the review suggestsPublished 2.1.0 · DOI requested: doi:10.5555/valency.lake-ice.v2.1.0Auto-publish, when every gate passes
Opt in with
publish: autoor--if-gates-pass. Until then, and whenever a gate fails, the version stays private and you publish it on the web, as you can today.Versions of this work
- v2.1.0public2 Oct 2026· minor
Adds one lake record (N = 1,413). Figures 3 and 4 and Table 2 updated; no claim changes.
doi:10.5555/valency.lake-ice.v2.1.0
- v2public9 Jun 2026
Revised after peer review at a journal.
doi:10.5555/valency.lake-ice.v2.0.0
- v1public4 Mar 2026
First public version.
doi:10.5555/valency.lake-ice.v1.0.0
Cite this version
doi:10.5555/valency.lake-ice.v2.1.0
A DOI for each version
- Semver for works
- patch · a typo
- minor · adds a citation, or data with no new result
- major · adds or changes a result
CI
valency publish --if-gates-passpassed07
Readers see it update, and agents pick it up
The work’s page and everyone following it move to the new version, with what changed. Through the Valency MCP, an agent asking about this question reads the latest version, not the snapshot it remembers.
In this example
The work's page says what changed in 2.1.0, and an agent asking for the work's versions sees 2.1.0 beside 1.0.0 and 2.0.0.
The work’s page
Earlier ice-off on northern lakes: a running analysis of lake ice records
v2.1.0public updated 2 Oct 2026
What changed in v2.1.0
Adds one lake record (N = 1,413). Figures 3 and 4 and Table 2 updated; no claim changes.
Everyone following the work is told
Connect your agentyour agent · Valency MCP● valency · get_paper_versions(paper_id: "W_xxxxxxxx")⎿ 1.0.0 on Valency 4 Mar 2026 First public version.2.0.0 on Valency 9 Jun 2026 Revised after peer review at a journal.2.1.0 on Valency 2 Oct 2026 adds one lake recordValency
notify followerspassed
When a result changes
Most new data only firms up what you found, and those versions publish themselves once every gate passes. When the review sees a claim move, the version stays private until you’ve read the review and chosen a major version.
- Details complete
- Checks passed
- Review read
- Attestation on file
- Version bump agreedreview suggests major · you decide
What you see
Your works: Held private. The review says a result changed. Read it, and publish as v3.
You read the review, chose major, and published 3.0.0.