Documentation

Current reference

Transport

Core wire 1.0.0. See the current specification reference for supported profiles and release scope.

OpenAgentWorks-004 — MUST

A transport ZIP contains exactly one bag directory. BagIt-Version is 1.0, tag encoding is UTF-8, payload is data/, and payload and tag manifests use SHA-256. No fetch.txt or remote payload completion is permitted.

Verification: bag_integrity.

OpenAgentWorks-005 — MUST

Every payload file is listed exactly once in manifest-sha256.txt and data/package.json resources. No missing file, duplicate resource, symlink, special file, unregistered file or mismatched checksum is accepted.

Verification: manifest_completeness.

OpenAgentWorks-006 — MUST

Paths are case-sensitive relative POSIX paths. Reject absolute paths, dot and dot-dot segments, backslashes, drive prefixes, NUL, control characters and case-fold/Unicode-normalization collisions. Archive members have one root and normalized names.

Verification: safe_paths.

OpenAgentWorks-007 — MUST

An importer enforces stated archive entry, expanded-byte, per-file and compression-ratio limits before extraction and uses an empty isolated destination. The reference limits are 10000 entries, 100 MiB expanded, 20 MiB per file and ratio 1000. The same byte/file limits apply when an unpacked bag is passed directly to validation.

Verification: safe_unpack.

OpenAgentWorks-008 — MUST

Hash exact stored bytes, not reserialized JSON. The package identity digest in receipts is SHA-256 of the exact manifest-sha256.txt bytes. Integrity detects byte changes; it does not authenticate a publisher.

Verification: digest_identity.