Skip to main content

Module unreadable

Module unreadable 

Source
Expand description

Records this build cannot fully read, said instead of skipped.

DefinitionStore::list_active and Registry::list_active leave a file out when its schema_version is outside what this build supports (a newer AgentMux wrote it), when it is not JSON, or when it fails validation. The file stays on disk and a later build reads it back, but until then the agent it describes is simply not there. [explain] reads such a file as far as it goes and says why in one sentence, so every surface that lists agents can show the agent and its reason, and a start can be refused with it. Nothing here writes: a record that cannot be read is never rewritten (merge_for_write refuses a downgrade), so its unknown fields stay exactly as the newer build wrote them.

Structsยง

UnreadableRecord
One record that is on disk and was not loaded.