[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109769":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},109769,"ovnfs","stencil-hq\u002Fovnfs","stencil-hq","Checkouts for agents: isolated, copy-on-write copies of any folder",null,"Go",281,16,51,5,0,18,225,3,62.69,"MIT License",false,"main",true,[],"2026-11-23 05:53:39","2026-11-23 20:29:19","# ovnfs\n\n[![ci](https:\u002F\u002Fgithub.com\u002Fstencil-hq\u002Fovnfs\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fstencil-hq\u002Fovnfs\u002Factions\u002Fworkflows\u002Fci.yml)\n[![Go Reference](https:\u002F\u002Fpkg.go.dev\u002Fbadge\u002Fgithub.com\u002Fstencil-hq\u002Fovnfs.svg)](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fstencil-hq\u002Fovnfs)\n\nCheckouts for agents: isolated, copy-on-write views of any folder, a git\nrepository or not, opened without copying it. Agents work in\nthe checkout; you review with `diff` and merge back with a three-way `apply`.\nCheckouts can be snapshotted, forked, and attached to another machine, where\ntheir content arrives on first read.\n\nOne daemon serves every checkout as a folder of a single mount: NFSv3 on\nmacOS, FUSE on Linux, SMB or WinFsp on Windows. No root, and no kernel\nextension beyond WinFsp where you install it.\n\n## Install\n\nLinux and macOS:\n\n```sh\ncurl -fsSL https:\u002F\u002Fstencil.so\u002Fovnfs.sh | sh\n```\n\nWindows (PowerShell):\n\n```powershell\nirm https:\u002F\u002Fstencil.so\u002Fovnfs.ps1 | iex\n```\n\nThe installers download the latest release binary (Linux, macOS and Windows on\namd64 and arm64) from `build.stencil.so`, check its SHA-256 and put it in\n`~\u002F.local\u002Fbin`, or on Windows in `%LOCALAPPDATA%\\Programs\\ovnfs`, added to the\nuser PATH. `OVNFS_INSTALL_DIR` picks another folder, `--version v0.2.3`\n(`-Version` on Windows) another release. With Go (see `go.mod`):\n\n```sh\ngo install github.com\u002Fstencil-hq\u002Fovnfs@latest\n```\n\n`go build -o bin\u002Fovnfs .` builds a clone. ovnfs reads and writes git\nrepositories itself, so it needs no git installation (fetches use git when it\nis on the PATH); on Linux it needs\n`fusermount3` (the `fuse3` package). `ovnfs version` prints the build;\n`ovnfs update` replaces it with the latest, through `go install` when that\nbuilt it, and `ovnfs restart` then moves the daemon onto it.\n[GitHub releases](https:\u002F\u002Fgithub.com\u002Fstencil-hq\u002Fovnfs\u002Freleases) carry the same\nbinaries as archives.\n\n## Quick start\n\n```sh\ncd ~\u002Fsrc\u002Fapp\ncd \"$(ovnfs new)\"              # starts the daemon, prints the checkout's path\ngit status                     # same status as ~\u002Fsrc\u002Fapp; nothing is written there\n# ...let the agent work...\novnfs diff app -p              # what changed\novnfs apply app                # merge it back into ~\u002Fsrc\u002Fapp\ncd ~\u002Fsrc\u002Fapp && ovnfs rm app   # remove the checkout and its unused snapshots\n```\n\nMore, from `~\u002Fsrc\u002Fapp`:\n\n```sh\novnfs run -- make test         # a disposable checkout: run, then remove\novnfs new --rev main           # start from a revision instead of the working tree\novnfs attach app --to devbox   # the same checkout on another machine, fetched lazily\novnfs send . devbox:src\u002Fapp    # attach over ssh, installing ovnfs there first if missing\novnfs push app                 # copy what devbox still reads from here, so it works with this machine off\novnfs grep 'TODO' app          # search in the daemon, without traversing the mount\novnfs glob '*.go' app          # matching paths, recursively and ignore-aware\novnfs ls .                     # the checkouts of this folder\novnfs prune . --idle 7d        # remove those untouched for a week (--dry-run first)\n```\n\n`ovnfs help` lists every verb, grouped by what they do and coloured on a\nterminal (`--color auto|always|never`, `NO_COLOR` honoured; a pipe gets plain\ntext). Bash, zsh and fish completion come from the same grammar:\n`eval \"$(ovnfs completion bash -c)\"`, or `ovnfs completion zsh -c` for the\nshell to source. Verbs start the daemon when none is running;\n`start`, `stop`, `restart` and `status` manage it, `serve` runs it in the\nforeground. `restart` swaps in the daemon of the binary you run, e.g. after an\nupgrade, leaving an NFS or SMB mount and the shells inside it in place. `stop`\nfails while something uses the mount; a second `stop` forces the unmount.\n\n## How it works\n\nOpening a folder sorts every path into a class. `source` paths are captured:\nthey are what `diff`, `apply` and snapshots see, and the only bytes that leave\nthe machine. `cache` and `local` paths (build outputs, ignored files, secrets)\nshow the live folder until the checkout writes them: a path it writes or\ndeletes stays its own from then on, and `apply` never carries it back.\n`hidden` paths are absent. Built-in rules\nhandle the common cases; `.o2\u002Fovnfs.yml` and `--rule` override them, and\n`ovnfs explain PATH` says which rule decided.\n\nWrites go to the checkout's own copy-on-write layer, so the folder is never\nwritten until you `apply`. In a git repository the checkout gets a private git\ndirectory: commit freely, then `apply --branch NAME` to bring the commits back,\nor `git fetch ovnfs\u002FNAME` them from its git remote.\n\novnfs isolates files, not processes: it is not a sandbox.\n\n## Documentation\n\n- [Configuration](docs\u002Fconfiguration.md): classes, rules, `.o2\u002Fovnfs.yml` and `ovnfs config`, where state and checkouts live\n- [Checkouts](docs\u002Fcheckouts.md): `--rev`, `--take`, `run`, snapshots, forks, `diff` and `apply`\n- [Remote checkouts](docs\u002Fremote.md): `attach`, `send`, `pull`, `push`, `share`\n- [Platforms](docs\u002Fplatforms.md): NFS, FUSE, SMB and WinFsp frontends\n- [Internals](docs\u002Finternals.md): admin protocol for embedding, persistence, memory tiers\n- [Limitations](docs\u002Flimitations.md)\n- [Development](docs\u002Fdevelopment.md): tests and benchmarks\n- [Agent skill](skills\u002Fovnfs\u002FSKILL.md): teaches coding agents to work in checkouts; copy `skills\u002Fovnfs` into your agent's skills directory\n\n## License\n\n[MIT](LICENSE)\n","ovnfs 是一个面向自动化代理（agents）的轻量级文件系统工具，提供对任意目录（无论是否为 Git 仓库）的隔离、写时复制（Copy-on-Write）视图，无需物理复制即可挂载使用。其核心功能包括：基于 FUSE\u002FNFS\u002FSMB 的用户态文件系统挂载、支持快照与分支、跨机器按需拉取（attach\u002Fsend\u002Fpush）、内置 diff\u002Fapply 三路合并流程，以及集成 grep\u002Fglob\u002Fls 等高效元操作。整个服务以单个无特权守护进程运行，不依赖 root 权限或内核模块（Windows 除外）。适用于 CI\u002FCD 中的临时工作区、AI 代码代理沙箱、Git 工作流增强及分布式开发协同等需要快速、安全、可审计的目录副本场景。",2,"2026-11-24 04:37:25","CREATED_QUERY"]