Documentation Index
Fetch the complete documentation index at: https://filepacks.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
What it does
compare reads two artifacts and reports whether any packaged file was added, removed, or changed.
It is the command to use when you care about repeated-run drift, baseline-versus-candidate review, or CI gating on structural equivalence.
Usage
When to use it
- comparing a new agent run to the previously accepted run
- checking whether eval output changed between two runs
- reviewing generated files in CI
- deciding whether a candidate artifact needs human attention
What compare does
compare performs structural comparison only.
It reads both manifests and reports:
- files added in the candidate
- files removed from the baseline
- files changed at the same path
size or hash differs.
Minimal example
Expected output shape
Example:Exit behavior
- exit
0: no differences - exit
20: one or more differences were found - exit
1: usage or file/path error
20 as “changed”, not “tool failure”.
Common mistakes
- assuming
compareexplains why a change is good or bad - passing a directory instead of a
.fpkfile - relying on implicit baseline lookup; you must provide explicit artifact paths
Related commands
verifybefore comparing artifacts you plan to trustinspectwhen you want a quick summary before comparison- Diffing for review guidance after the command runs