notes

A package carries several programs

Name: ratified 2026-10-18 (calef, convention-rulings Rule 3).

The appendix to notes/packages.md for milestone 919 (a package carries several programs), built 2026-10-14 (UTC).

A package may carry several programs. One jig install places each and writes one generation with a row and a pointer for each. Each runs by its own bare name and with its own note's grants. jig remove names the package and takes them all (calef, 2026-10-14 UTC: "jig remove should work on packages, not programs.").

A program name another package holds refuses the whole second package, naming the program and the holder, which the owner removes first (calef, 2026-10-14 UTC: "If two packages offer the same program name, refuse the second package. Need to remove the first one before installing the second one."). From the second boot of script/swish-check:

$ cd downloads
$ jig install ./duet.nifepkg
  installed; generation 7 is live
$ alto
alto: one of two programs in the package duet
clock: held at slot 1, as its manifest note asked
$ tenor
tenor: one of two programs in the package duet
clock: not held; slot 1 is empty
$ jig install ./solo.nifepkg
  refused: the package duet already provides the program alto; jig remove duet first; generation 7 is live
$ jig remove duet
  removed; generation 8 is live
$ alto
  no such program (try 'help' for the builtins)

How it is built

BUGS