Page: scripts/lemmings/LemRun
Job: generated chapter
Level: F#
Source lines:
scripts/lemmings/LemRun/Proc.fs:1
scripts/lemmings/LemRun
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.
| # | file | lines | what the file say about itself |
|---|---|---|---|
| 1 | scripts/lemmings/LemRun/Proc.fs | 161 | Starting, 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 |
| 2 | scripts/lemmings/LemRun/Env.fs | 46 | Where 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 |
| 3 | scripts/lemmings/LemRun/Failure.fs | 22 | Why 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 |
| 4 | scripts/lemmings/LemRun/Store.fs | 117 | The builds a lemming runs, kept ONCE and read-only, instead of copied into every run. scripts/lemmings/LemRun/Store.fs:1 |
| 5 | scripts/lemmings/LemRun/Sandbox.fs | 81 | The 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 |
| 6 | scripts/lemmings/LemRun/Bridge.fs | 66 | The 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 |
| 7 | scripts/lemmings/LemRun/Workspace.fs | 121 | The 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 |
| 8 | scripts/lemmings/LemRun/Oracles.fs | 176 | The 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 |
| 9 | scripts/lemmings/LemRun/CmdRun.fs | 236 | One 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 |
| 10 | scripts/lemmings/LemRun/NvimRun.fs | 321 | The 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 |
| 11 | scripts/lemmings/LemRun/VscRun.fs | 498 | The 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 |
| 12 | scripts/lemmings/LemRun/Legacy.fs | 286 | The 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 |
| 13 | scripts/lemmings/LemRun/Program.fs | 98 | LemRun: 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:
scripts/lemmings/LemMatrixscripts/lemmings/LemScore.Tests
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.