Link

↗Link
Ggithub.com
kunchenguid/gnhf: Before I go to bed, I tell my agents: good night, have fun
- gnhf is an autonomous orchestrator that runs coding agents in a loop, making one small committed change per iteration toward a goal.
- It is designed for long-running overnight work: you can start it and wake up to a branch full of clean commits plus a log of what happened.
- Successful iterations are committed immediately; failed iterations are rolled back, with retries and failure rules to keep runs safe.
- The tool shows live terminal status during interactive runs, including token totals and commit count, and prints a permanent exit summary with stats and review paths.
- gnhf works with popular coding agent CLIs and any ACP target, making it agent-agnostic.
- It supports multiple operating modes: default new-branch runs, --current-branch for working on the existing branch, and --worktree for isolated parallel worktrees.
- With --current-branch --push, successful iterations are pushed after each commit; gnhf does not force-push or auto-pull.
- A run can stop based on limits like max iterations, max tokens, or a natural-language --stop-when condition, and resumed runs reuse saved stop conditions unless cleared.
- It stores shared run context in notes.md and local metadata under .gnhf/runs/ so only intentional changes remain in the repo.
- The project is installable via npm or from source, and supports macOS, Linux, and Windows.
Your notes
Save this item to your library to add private notes.