Repository navigation
Releases
v0.7.0
What's Changed
- fix(capture): mark fanotify captures as always partial by @johnnymayodev in #49
- feat(update): reuse saved capture settings when updating tools by @johnnymayodev in #50
- fix(uninstall): remove paired shell installer markers by @johnnymayodev in #51
- fix(managed-install): guard removal against home/shared roots by @johnnymayodev in #52
- fix(capture): skip excluded and sensitive paths in backup capture by @johnnymayodev in #53
Full Changelog: v0.6.1...v0.7.0
v0.6.1
What's Changed
- docs(release): record v0.6.0 publication by @johnnymayodev in #48
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- docs(cli): document backup-size and JSON --yes flags by @johnnymayodev in #30
- fix(install): retain no-executable recovery records by @johnnymayodev in #34
- fix(install): preserve installs on forced-removal conflicts by @johnnymayodev in #31
- fix(install): scope forced-reinstall shell cleanup by @johnnymayodev in #35
- fix(uninstall): clean marked shared PATH lines once by @johnnymayodev in #39
- fix(install): fingerprint no-capture additions by @johnnymayodev in #36
- fix(capture): add heuristic fallback for traced tools by @johnnymayodev in #37
- fix(storage): collect unreferenced backup blobs by @johnnymayodev in #38
- fix(cli): parse global flags before commands by @johnnymayodev in #33
- fix(cli): make informational output pipeable by @johnnymayodev in #32
- fix(linux): make the fanotify helper attach by @johnnymayodev in #44
- fix(linux): open fanotify observe roots read-only by @johnnymayodev in #45
- test(linux): assert privileged capture backend selection by @johnnymayodev in #42
- test(linux): add sandboxed release acceptance harness by @johnnymayodev in #43
- test(linux): add gated production strace verification by @johnnymayodev in #40
- docs(release): record Linux verification and skips by @johnnymayodev in #41
- docs(release): record final Linux verification results by @johnnymayodev in #46
- docs(release): reconcile final Linux verification record by @johnnymayodev in #47
Full Changelog: v0.5.0...v0.6.0
v0.5.0
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
v0.4.0
What's new in v0.4.0
The user-workflows plan shipped. Five additions, all opt-in, all documented in the README and tret --help:
tret inspect <tool>— a read-only health check for one record: capture confidence, the observation window and its segments, the paths Tret believes it owns and whether they still match their installed fingerprint, the files changed since install and whether a before-image can restore them, and exactly whatuninstallwould do. It writes nothing.tret trace <tool>— run a tracked tool inside a bounded observation window and append what it writes to the record as its own{ kind: "trace" }segment. It asks first, it never runs a tool silently, and it never takes a path away from another record: a path another record claims is reported and skipped.tret update <tool>— re-run a tool's recorded installer with the arguments the record kept. The replacement is fetched and its SHA-256 checked before the working install is touched, so a failed download or validation leaves the previous install in place and the failure is recoverable.--json— one JSON document on stdout forlist,inspect,trace,forget,uninstall, andupdate, with stable exit codes (0 succeeded, 1 failed, 2 bad command line, 3 no tracked install matched, 4 several matched, 5 needs explicit consent or force). Human output and installer output never mix into the data stream.tret install --name <name>— record a tool under a display name. Every single-record command resolves its argument the same way: a record id, a unique display name, or the list of candidates when a name is shared by several records.
tret install now prints the installer's URL, its SHA-256, and a preview of the script before it runs, and states plainly that Tret records what the installer changes but does not sandbox it or prevent malware.
Capture gaps in this release
These are unchanged from earlier releases and are 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. - A Linux window is
completeonly when the traced process tree was fully observed. Memory-mapped writes, kernel-side copies, ownership and extended-attribute changes, and hard links cannot be represented in a record and lower the window topartialwith the reason attached. A daemonized descendant still alive at close has the same effect. - 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 within 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(workflows): add inspect, trace, tracked-tool update, and JSON output by @johnnymayodev in #17
- docs(site): document latest CLI features by @johnnymayodev in #18
- feat(release): strengthen release confidence checks by @johnnymayodev in #19
- docs(plans): mark user workflows complete and record the v0.3.3 release run by @johnnymayodev in #20
- docs(capture): close out the rewrite plan's D5 and Phase 9 by @johnnymayodev in #21
- docs(capture): document the shipped tret trace command by @johnnymayodev in #22
Full Changelog: v0.3.3...v0.4.0
v0.3.3
v0.3.2
What's Changed
- Label ownership confidence and add per-run diagnostics by @johnnymayodev in #10
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
- Harden uninstall and forced-reinstall safety by @johnnymayodev in #9
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- Fix uninstall record lifecycle: detect-only changes must not block by @johnnymayodev in #2
- Trim the macOS heuristic capture scope of volatile ~/Library churn by @johnnymayodev in #3
- Capture macOS tool state written at the home top level (defect #3) by @johnnymayodev in #4
- Delegate package-manager global installs to the manager by @johnnymayodev in #5
- Support npm global packages under a resolved prefix by @johnnymayodev in #7
New Contributors
- @johnnymayodev made their first contribution in #2
Full Changelog: v0.2.2...v0.3.0