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.
Archive layout
A.fpk artifact is a POSIX tar archive containing exactly one manifest and zero or more payload files.
Canonical layout:
Required rules
Producer requirements from the current public spec:manifest.jsonmust be the first archive entry- payload entries must be stored under
payload/ - payload entries must be regular file entries
- directory entries must not be emitted
- entries outside
manifest.jsonandpayload/must not be emitted - duplicate archive entry names must not be emitted
- duplicate payload relative paths must not be emitted
- payload entries must be emitted in lexical order by payload relative path
manifest.jsonmust exist exactly once- archive entries must be regular files
- entries outside
manifest.jsonandpayload/must be rejected - invalid payload paths must be rejected
- duplicate payload relative paths must be rejected
Why these rules exist
These constraints keep the format predictable:manifest.jsonfirst makes the artifact self-describing immediatelypayload/keeps file content separate from metadata- no directory entries avoids tar-specific ambiguity
- normalized paths make comparison consistent across platforms
Path rules
Payload paths in the manifest:- must be non-empty
- must not start with
/ - must not contain backslashes
- must not contain
// - must not contain empty path segments
- must not contain
.or..path segments - must use
/separators on every platform
| Path | Valid |
|---|---|
results.jsonl | yes |
outputs/run-1.json | yes |
/outputs/run-1.json | no |
outputs\\run-1.json | no |
outputs/../run-1.json | no |
What this means for developers
Ifpack succeeds, the public CLI has already emitted a conforming artifact. You usually care about the full format rules when:
- writing your own producer or verifier around
@filepacks/core - validating a
.fpkfile from somewhere else - debugging why a malformed archive was rejected
Artifact identity
For the current generic public format, the artifact digest is the SHA-256 digest of the exact.fpk archive bytes.