Repository navigation
v0.5.0
Pre-release
Pre-release
What's new in v0.5.0
This release closes the ownership-conflict dead end, adds a per-install before-image size limit, and backs the privileged-install path with an end-to-end check.
tret unclaim <tool> <path>— drop one record's claim on a path another record also claims, resolving a shared-owner conflict without--force. It changes no files and leaves the other record's evidence untouched. It refuses a path the selected record does not claim and refuses when that record is the only claimant (tret forgetremains the way to stop tracking). Delegated-removal overlaps (executable, package-manager scope, managed-install root) still block, including with--force.tret install --backup-size <bytes>— set the per-file before-image limit for one install (a positive integer; requires--backup; the default stays 1 MiB). Files above the limit are still recorded as mutations or deletions, they are just not restorable.- Privileged installs are covered end to end on Linux CI — a root-owned install records
privilege: "root", the plan reports whensudois needed, Tret never escalates on its own, and asudore-run removes the root-owned entries, including the fanotify helper path. - Fixes —
installemits its JSON document only in--jsonmode, andtret tracerefuses to run a tool without consent instead of running it silently in JSON or non-interactive mode. - Documentation — the measured Linux capture gaps are now published in
docs/capture/linux-fidelity.md, the macOS attributed-capture gate is recorded as closed (D16), anddocs/plans/indexes every shipped plan with no active backlog.
Capture gaps in this release
Unchanged from v0.4.0, and named here so they are not mistaken for complete coverage:
- macOS capture is always
heuristic: a scoped before/after snapshot with no process attribution, so an unrelated write inside the scope during the window can be attributed to the install. This is permanent for released builds, not a temporary fallback: the only attribution-capable mechanism, Endpoint Security, needs an Apple-granted entitlement and a signed distribution path Tret does not have (D16). - On Linux with the kernel-default Yama
ptrace_scope=1(Ubuntu, Arch, openSUSE), an unprivileged install cannot attach and falls back to the heuristic snapshot. When already running as root, the packagedtret-fanotifyhelper is preferred, but its directory-entry capture is still under repair; do not treat a root record as proof of ownership. - A Linux window is
completeonly when the tracer reported the process tree fully observed and no unsupported syscall, parser gap, or dropped out-of-root path occurred. The measured gaps, including cross-root renames,openat2creates, rename-overwrite destinations, and lost chmod prior modes, are indocs/capture/linux-fidelity.md. - Install capture ends with the window. Writes a tool makes on later runs are recorded only when you run it through
tret trace <tool>, which appends a separate segment. - Backups are off by default. Without
--backup, mutations and deletions are detected but not restorable; with it, only eligible regular files at or under the size limit are restorable. - Windows is not supported.
Upgrading
tret update replaces the binary in place and verifies it against the published checksum. The record format is unchanged and no migration is needed.
What's Changed
- feat(install): add --backup-size flag for the before-image limit by @johnnymayodev in #24
- test(install): cover a root install and sudo-aware uninstall end to end by @johnnymayodev in #23
- fix(cli): emit install JSON only in --json mode; trace refuses without --yes by @johnnymayodev in #25
- feat(unclaim): add
tret unclaimto resolve shared-owner conflicts by @johnnymayodev in #26 - docs(capture): record Linux capture fidelity findings by @johnnymayodev in #27
- docs(capture): close the macOS attributed-capture gate (D16) by @johnnymayodev in #28
- docs(plans): add index of shipped plans and next-up status by @johnnymayodev in #29
Full Changelog: v0.4.0...v0.5.0