Skip to main content

Module bundle_validate

Module bundle_validate 

Source
Expand description

Structural Armory Bundle Format (ABF) validator — ABF UI-alignment pass (docs/specs/SPEC_ABF_V0_2_PROVIDER_AWARE_COMPONENTS_AND_NATIVE_MEMORY_2026_08_10.md).

Pure functions only — no I/O, no Store access, same convention as bundle_export.rs / bundle_import.rs. Checks a bundle’s raw JSON columns for the classes of bug bundle_export.rs’s own review cycle found and fixed one at a time (unknown provider keys, unsafe/colliding paths, malformed JSON) — surfaced proactively here, before export time, rather than only as an export warning after the fact.

This is advisory only: a bundle can be saved with validation errors present. The bundle.validate RPC is a read-only, on-demand check the Memory → Bundles editor’s “Validate” button calls.

Structs§

ValidationIssue
ValidationReport

Enums§

IssueSeverity

Functions§

validate_bundle
Run every structural check against a bundle. A bundle carries no MCP servers (SPEC_BUNDLE_CONTENTS_MEMORY_NOT_MCP_2026_10_07.md §3.1), so there are none to check.