Skip to main content

Module compact

Module compact 

Source
Expand description

compact subcommand for the management CLI (issue #67, Phase 5 of #52).

Drives [crate::packchain::compact::compact] against one ref (when --ref is given) or every ref whose chain meets the compaction heuristic (the default — operator confirms the list interactively before any work runs).

All output is human-readable on stdout; the management CLI may write to stdout per .claude/rules/protocol-stdout.md. The per-ref loop accepts an injected writer so tests can pin the operator-visible output byte-for-byte (issue #160).

Structs§

Compact
compact runner.
CompactOpts
Tunables for Compact::run. Field semantics mirror the CLI flags.