# NVMe deallocation field decoder

This is synthetic field decoding, not a drive experiment or protocol conformance suite.
No storage commands are executed. The JSON examples are generated, not captured.

Run with Node.js: `node --test decode.test.mjs`.
Import `decodeFields` from `decode.mjs`; provide an unsigned DLFEAT byte.
Optional NSFEAT and Error Recovery values must refer to the same namespace and
observation context. Omitted fields remain null, never silently false.

The helper reports fields separately. It does not infer whether a requested LBA
was actually deallocated, whether a command succeeded, what a current device will
return, or whether media were sanitized. A decoded capability is not readback.
Reserved encodings remain flagged. Interpretation is deliberately pinned to
NVMe 1.4a; later revisions require a separate review.

Validation enumerates all 256 DLFEAT bytes and includes support/enable combinations,
unknown policy, unrelated TLER bits, reserved values and invalid types.
The eight displayed rows are illustrative selections, not a random sample.
Generate repository exports with `node generate.mjs COM_REPO DEV_REPO` from the
source repository. The public bundle is independently testable without that build step.

Primary references and retrieved PDF hashes are in sources.json.
Third-party documents are linked, not redistributed. Hesela code and synthetic
fixtures follow the project's published reuse policy. No third-party source code
was copied into this helper.
