* feat(firmware): decode ESP-IDF Non-Volatile Storage (NVS) flash partitions
Add offline ESP-IDF v1/v2 NVS partition decoding via `inspect_esp_nvs`
(`rea inspect-esp-nvs`) with complete retained Evidence, `detail: "summary"`
and `inspect_analysis_view` (`kind: "esp-nvs"`) paging, linear O(N+M) v2
multi-chunk blob reassembly, slot-by-slot CRC recovery past damaged item
headers, fail-closed `partition_offset`/`partition_bytes` bounds validation,
and full capability conformance and provider lifecycle coverage.
* fix(firmware): follow ESP-IDF NVS page states, header rules and encryption layout
Page states now follow ESP-IDF's PageState constants (corrupt 0xfffffff0,
invalid 0, unknown otherwise), with the header CRC and whether entries were
walked reported separately. NVS encryption keeps page headers in plaintext,
so an encrypted page is reported as a valid page whose item headers are all
unreadable instead of as a header CRC failure.
Item headers follow Item::checkHeaderConsistency: span per type, BLOB_IDX
and BLOB_DATA chunk-index rules, and a variable item's span matching its
length. An inconsistent header is not trusted and the walk advances one
slot. Unrecognized types are no longer entries with unknown values, and
namespace index 0 items that are not definitions are reported instead of
skipped silently.
Adds float (0x24) and double (0x28) items, keeps the bytes of non-UTF-8
strings and keys, and marks older copies of a key superseded by a higher
page sequence number or a later slot. Spec constants are named once and
v2 blob reassembly moves to its own module.
* fix(firmware): preserve NVS key byte identity, summary retention, bitmap span checks and artifact handoff
* fix(firmware): preserve intact NVS values, copied blob chunks, unknown page versions and -0
* fix(firmware): report older copies of used NVS blob chunks instead of dropping them
An interrupted page move leaves an older copy of a BLOB_DATA chunk next to
the copy a recovered blob used. a2e8fc1a70 stopped reporting it as an
orphan by skipping every chunk with a claimed index, which also dropped the
older copy silently, including one whose bytes differ. It is now reported
as blob_data_copy, superseded, with its own CRC-based completeness, and
does not make coverage partial.
* fix(firmware): require CRC-valid replacement before marking copied NVS blob chunks superseded
* fix(firmware): bound decoded NVS representation growth and fuse coverage flags
---------
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>