Implemented as a separate binary extension:
recurstays focused on hierarchical semantics (.default,--sepoverride).recur-githandles workflow operations that need git/test orchestration.
Keep tool boundaries strict:
recur:
- file/content hierarchy semantics
- separator-aware matching
- no built-in git workflow logic
recur-git:
- workflow snapshot/checkpoint orchestration
- git state capture
- optional test execution
- parallel-lane checkpoint emission/appending
This keeps the core search engine pure and composable.
recur-git checkpoint supports:
--snapshot--run-tests--run-julia-tests--emit-parallel--append-parallel--checkpoint-id <id>--parallel-log <path>(default:docs/main.dogfooding.parallel.history.md)--src-sep <char>(default:_)
# Snapshot only
recur-git checkpoint --snapshot
# Snapshot + Rust/Julia tests
recur-git checkpoint --snapshot --run-tests --run-julia-tests
# Emit a checkpoint block
recur-git checkpoint --emit-parallel --checkpoint-id ck-children-01
# Append a checkpoint block to history
recur-git checkpoint --append-parallel --checkpoint-id ck-children-01PowerShell wrapper (optional):
powershell -ExecutionPolicy Bypass -File scripts/dogfooding_checkpoint.ps1 -RunTests -RunJuliaTests -AppendParallelEntry -CheckpointId ck-children-01Checkpoint entries include:
- lane state (
docs+srcactivetodo.currentleaves) - git branch/head/worktree status
- separator policy (
.for docs/tests,--src-sepfor src) - evidence commands for reproducing the lane snapshot
- Preserves purity of
recurcore semantics. - Still supports practical parallel-lane coordination.
- Keeps composition-friendly workflows for Linux/PowerShell users.
- Reduces coupling between hierarchy parsing and external VCS behavior.