Session Execute
@vcjdeboer/session-executev2026.09.18.3
01README
The headless runtime of the session-* suite. Runs a filled analysis template — R/qmd in a pinned nix R env (run), a targets pipeline via a harvester (run-targets), or Python/ipynb via papermill in the locked conda/Docker env (run-notebook) — with the recorder armed or a swamp.returns contract verified. Also faithfully REPLAYS a captured session: replay re-runs recorded R against frozen tolerance rules (nix preferred, docker fallback), and the Python host-replay shim serves a captured session's host.* calls offline (or falls through to the live API in hybrid mode). Reproduce a governed run — or a foreign Claude Science session — deterministically.
02Models
@vcjdeboer/session-executev2026.09.18.3session_execute.ts
fn run(filledPath: string, filledContent: string, templatePath: string)
Run a filled template's R code headless in the nix session (recorder armed) and verify it against the template's swamp.returns contract
| Argument | Type | Description |
|---|---|---|
| filledPath | string | |
| filledContent | string | |
| templatePath | string |
fn replay()
Faithfully replay a MatchSpec's captured R code in the locked env (nix preferred, docker fallback) and judge the fresh run against the recorded values via frozen tolerance rules
Resources
execution(infinite)— Result of running a filled template headless: status + returns-contract verification
targets(infinite)— Result of a harvested targets run (tar_make + tar_meta -> session-record)
replay(infinite)— Result of a faithful replay: did a fresh run in the locked env reproduce the recorded values (per frozen tolerance rules)? Includes Tier-2 first-divergence localization and which env ran.
03Previous Versions
2026.09.18.2
2026.09.18.1
2026.07.16.1
2026.07.11.2
2026.07.11.1
2026.07.09.5
Added 1 models. updated labels
2026.06.21.4
2026.06.21.3
2026.06.21.2
04Stats
A
100 / 100
Downloads
15
Archive size
47.6 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels