Page: scripts/lemmings/LemRun

Job: generated chapter

Level: F#

Source lines:

  • scripts/lemmings/LemRun/Proc.fs:1

scripts/lemmings/LemRun

F#13 source file(s)2229 line(s) of code

grug measure this project from its own files. nobody write this page, so it cannot go stale. why the code is shaped so is for the topics.

what this repository says it is

LemRun: the process plumbing of the lemming harness, one command per documented entry point. scripts/lemmings/LemRun/Program.fs:1

where it start

a program start in

  • scripts/lemmings/LemRun/Program.fs

the files, in the order to read them

the project file lists these in compile order, and in F# a file can use only what came before it. read from the top and each file stand on the ones above. lines count code only, with comments and blanks left out.

#filelineswhat the file say about itself
1scripts/lemmings/LemRun/Proc.fs161Starting, waiting for and ending processes. Everything the harness runs goes through here, so there is one place that says how output is captured, how a wait is bounded and how a process is ended: by its exact pid, TERM first, KILL only if… scripts/lemmings/LemRun/Proc.fs:1
2scripts/lemmings/LemRun/Env.fs46Where things are, and the knobs the environment turns. One place reads the environment, so a variable that changes behaviour is named here with its default and what it is for. scripts/lemmings/LemRun/Env.fs:1
3scripts/lemmings/LemRun/Failure.fs22Why a run stopped, as a closed set. One exit code per kind, so a caller (run-matrix, a person reading the shell) can tell them apart. These are the documented codes in README.md. scripts/lemmings/LemRun/Failure.fs:1
4scripts/lemmings/LemRun/Store.fs117The builds a lemming runs, kept ONCE and read-only, instead of copied into every run. scripts/lemmings/LemRun/Store.fs:1
5scripts/lemmings/LemRun/Sandbox.fs81The bubblewrap sandbox every lemming-facing process runs in, as pure functions from a description to an argument list. Nothing here starts a process, so every wall can be read and tested as data. scripts/lemmings/LemRun/Sandbox.fs:1
6scripts/lemmings/LemRun/Bridge.fs66The SageFs the lemming gets: the `sagefs mcp` stdio bridge in its MCP registration, which attaches to the shared daemon (the person running the harness owns that daemon, and the harness never starts or stops it). scripts/lemmings/LemRun/Bridge.fs:1
7scripts/lemmings/LemRun/Workspace.fs121The lemming's working directory: the fixture (or a copy of a SageFs checkout), a task's setup, a real git repository with no remote and a baseline commit, and the skill and MCP registration a new user would have. Nothing here hands the… scripts/lemmings/LemRun/Workspace.fs:1
8scripts/lemmings/LemRun/Oracles.fs176The oracles: after a lemming has finished and its sessions are cleared, the harness decides what happened, outside the sandbox. The oracle is the verdict; the model's own account never is. scripts/lemmings/LemRun/Oracles.fs:1
9scripts/lemmings/LemRun/CmdRun.fs236One disposable trial: Command Code (cmdc) on a FREE model, given only what a new user has (the project, the SageFs skill where cmdc discovers skills, the SageFs MCP server registered the way the README says), does a task with SageFs. The… scripts/lemmings/LemRun/CmdRun.fs:1
10scripts/lemmings/LemRun/NvimRun.fs321The Neovim lemming and the Neovim tour: the process plumbing around the F# driver (scripts/lemmings/ui/nvim, `LemDrive.dll nvim ...`). Everything that is a decision about Neovim (keys, screens, the oracle) is the driver's; this starts and… scripts/lemmings/LemRun/NvimRun.fs:1
11scripts/lemmings/LemRun/VscRun.fs498The VS Code lemming and the VS Code tour: the process plumbing around the F# driver (scripts/lemmings/ui/LemDrive, `LemDrive.dll vsc|host|oracle|fellover ...`). Every decision that is more than starting or stopping a process (settings,… scripts/lemmings/LemRun/VscRun.fs:1
12scripts/lemmings/LemRun/Legacy.fs286The older harness, for Claude Code: `run-lemming` and `score`. Still here, still working the way it did. It runs the PUBLISHED `sagefs` on a port and data directory of its own, never the shared daemon on 37749, so it can be compared with… scripts/lemmings/LemRun/Legacy.fs:1
13scripts/lemmings/LemRun/Program.fs98LemRun: the process plumbing of the lemming harness, one command per documented entry point. scripts/lemmings/LemRun/Program.fs:1

what it use and who use it

1 package(s) named in LemRun.fsproj: FSharp.Core.

it references these projects of this repository:

these projects of this repo reference it:

what test it

these test projects reference it:

  • scripts/lemmings/LemScore.Tests, 16 test file(s), 1713 line(s)

where to look for trouble

the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour.