Skip to content

Releases

v0.7.0

v0.7.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Nov 16:57
06fef4f

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

v0.6.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Nov 23:27

What's Changed

Full Changelog: v0.6.0...v0.6.1

v0.6.0

v0.6.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 31 Oct 21:01
68c7d01

What's Changed

Full Changelog: v0.5.0...v0.6.0

v0.5.0

v0.5.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 27 Oct 19:38
e9d8b24

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 forget remains 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 when sudo is needed, Tret never escalates on its own, and a sudo re-run removes the root-owned entries, including the fanotify helper path.
  • Fixes — install emits its JSON document only in --json mode, and tret trace refuses 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), and docs/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 packaged tret-fanotify helper 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 complete only 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, openat2 creates, rename-overwrite destinations, and lost chmod prior modes, are in docs/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 unclaim to 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

v0.4.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 22 Oct 04:12
68b9c20

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 what uninstall would 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 for list, inspect, trace, forget, uninstall, and update, 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 complete only 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 to partial with 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

Full Changelog: v0.3.3...v0.4.0

v0.3.3

v0.3.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Oct 16:02

Full Changelog: v0.3.2...v0.3.3

v0.3.2

v0.3.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Oct 14:41

What's Changed

Full Changelog: v0.3.1...v0.3.2

v0.3.1

v0.3.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 14 Oct 15:44

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

v0.3.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Oct 23:53

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

Full Changelog: v0.2.2...v0.3.0

v0.2.2

v0.2.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Oct 02:10

Full Changelog: v0.2.1...v0.2.2