WEFT_OS/crates/weft-pack
Marco Allegretti e482fec07c
fix(pack): add approvals by name only for installed, declared capabilities
Pruning compared a list of the declared capabilities with the set of
approved ones by length. A manifest repeating a capability could
therefore keep an approval it no longer declared. The two are now
compared as sets.

weft-pack approve <id> <capability>... replaced the app's approval
instead of adding to it. It also accepted any app ID and any
capability, which let an approval cover a capability declared later. It
now adds to the approval, requires the app to be installed, and for a
package weft-pack can read, requires each listed capability to be
declared. The docs state the remaining limits for verified images.
2026-10-09 19:20:52 +00:00
..
src fix(pack): add approvals by name only for installed, declared capabilities 2026-10-09 19:20:52 +00:00
Cargo.toml fix(pack): copy packages by directory descriptor so swapped links cannot redirect the copy 2026-10-09 14:17:09 +00:00