What to build
Packages produced by the packager and publisher must inherit the cache behavior from this suite, self-scoped only.
- the generated installer template prunes its own package's
@latest, @<running version>, and untagged cache copies on install (same best-effort, warn-and-continue semantics as the suite)
- the generated CLI template exposes a self-only
clear-cache subcommand; it must not offer --package or --all
- the generated load-time plugin advisory suggests
bunx <pkg> clear-cache for a partial cache artifact instead of only describing manual removal
- the conformance checklist gains an item covering this cache hygiene
- packager/publisher instructions require the generated output to include it
The load-time hook itself still never deletes the cache (ADR-0007: deletion races in-flight installs); only the CLI does.
Acceptance criteria
Blocked by
What to build
Packages produced by the packager and publisher must inherit the cache behavior from this suite, self-scoped only.
@latest,@<running version>, and untagged cache copies on install (same best-effort, warn-and-continue semantics as the suite)clear-cachesubcommand; it must not offer--packageor--allbunx <pkg> clear-cachefor a partial cache artifact instead of only describing manual removalThe load-time hook itself still never deletes the cache (ADR-0007: deletion races in-flight installs); only the CLI does.
Acceptance criteria
clear-cachewith no--package/--allbunx <pkg> clear-cacheBlocked by