Releases: C2FO/prenup
Releases · C2FO/prenup
Release list
[v0.1.0] - 2026-07-04
Fixed
prenup plan --outputhelp text no longer advertises unsupported
auto/human/markdownmodes; onlytext(default) andjsonare
implemented.docs/SCHEMA.mdno longer claims thetimefield is present on every
NDJSON line — the bootstrapagent_hintline is a static header and
intentionally omits it.- Version checker requests the GitHub Releases API with
?per_page=100
so repos accumulating many releases (or non-semver tags) don't cause
the latest valid semver release to fall off the first page. - Rate-limit exhaustion errors now render the
X-RateLimit-Resetheader
as an RFC3339 UTC time plus a "resets in" duration, instead of leaking
the raw Unix epoch integer to the operator. - Internal comments in
internal/ui/agent.goand
internal/ui/jsonout/jsonout.go(including the agent-facing
event_types_notehint) now point atdocs/SCHEMA.md, matching the
actual in-repo path. - Repo lock now resolves a relative
gitdir:target in a.gitfile
(git worktrees/submodules) against the repository root instead of the
current working directory, so the lock lands in the real git metadata
directory. - Human-mode post-run summary bounds its retained output to the most
recent lines (keeping a tail and noting how many were dropped) so a
noisy task can't grow memory without limit during a hook run. - Version-check requests now send a
User-Agentheader, which the GitHub
REST API expects (some environments 403 without it). lockpackage now compiles on non-unix platforms via a build-tagged
no-opflockstub; advisory locking remains unix-only by design, as
documented.- Corrected the
lock.Acquiregodoc, which incorrectly stated that
Closeremoves the lock file (it intentionally does not).
Added
- Initial open-source release.
- Interactive, configuration-driven Git pre-commit hook runner.
- Subcommands:
run,plan,install,uninstall,init,
config validate,config schema,version. - Per-task path filtering with doublestar globs (
paths,paths_ignore,
exclude). - Per-module change discovery via configurable
module_markers, with
bounded per-module concurrency forper_moduletasks. - Stash-and-restore of unstaged changes (
clean_worktree) so tasks see
exactly what will be committed. - OS-level advisory lock on
.git/prenup.lockto prevent concurrent
prenup runinvocations from racing on the worktree. - Output modes: interactive Bubble Tea UI (
human), streaming markdown
digest (markdown), and NDJSON event stream (json) with a leading
agent_hintbootstrap line for LLM/agent consumers. - Automatic staging of newly-generated files matching
output_patterns
for tasks that declarestage_output: true. - Graceful cancellation: SIGTERM with grace period on Ctrl-C or parent
timeout, then SIGKILL if the task does not exit. - Template variables in
commandandworking_dir:{{.repo_root}},
{{.module_root}},{{.module_path}},{{.module_name}}. - Embedded JSON Schema (config
version: 1) for editor$schemaintegration,
published atassets/prenup.schema.json. - GitHub Releases API version check with a one-line update notice; honors
PRENUP_GITHUB_TOKEN,GITHUB_TOKEN, orGH_TOKENfor authenticated
requests.