Skip to content

scriptbox 0.3.0

Choose a tag to compare

@jhheider jhheider released this 18 Jul 01:45
b037348

Edges release — sharpening the subscript story and the cache lifecycle.

Changes

  • One honest protection mode. The two overlapping subscript modes collapse into a single freeze (--subscripts, or subscripts = "freeze"). The old wrap / freeze-tree / tree names still parse to it, so existing invocations keep working.
  • Removed the launch-time cache auto-reap. It could delete a live tree's snapshot cache out from under a legitimately-detached background descendant (worker & disown; exit) when an unrelated --subscripts=freeze run landed on the same $TMPDIR. There's no safe way to infer "this tree is done" from exec's process model, so cleanup stays explicit: scriptbox gc (caches are small; $TMPDIR is OS-reaped on reboot).

Notes

  • Prebuilt binaries are full-featured — the subscript analyzer is compiled in. Building from source stays lean by default (--features subscripts to opt in).
  • Subscripts remain experimental and opt-in; only literal child paths freeze, dynamic ("$DIR/lib.sh", $(...)) sites are reported but left as live reads.

Install: brew install jhheider/tap/scriptbox · curl -fsSL https://heider.cc/scriptbox.sh | sh