The collection of markdown files IWE manages is now called a workspace everywhere — the [library] config table becomes [workspace] and iwe init takes --workspace. Existing configs keep working and are migrated in place the first time a command reads them. Commands that take -k keys now fail loudly on keys that do not exist, listing every missing one, instead of quietly returning empty output.
iwe
Changed
- The
[library]configuration table is now[workspace]. A config written for an earlier version is migrated in place the first time a command reads it — the table is renamed and the file'sversionbecomes4. A config that still says[library]is read as before. iwe init --workspace <DIR>names the subdirectory holding the markdown files (was--library).iwe init --jsonreports the detected directory asevidence.workspace_pathand keys its settings map withworkspace.path,workspace.date_formatandworkspace.frontmatter_document_title(previouslylibrary_pathandlibrary.*).- Help text, examples and shipped documentation now call the document collection a workspace.
Fixed
tree -kwith a filter or anchor,export -k, andupdate -kin mutation mode now fail on an unknown key (previously the key was silently dropped, producing empty output orNo documents matched).retrieveand every command above report all unknown keys in one error,Documents not found: 'a', 'b'(previously only the first).
Deprecated
iwe init --library <DIR>retained as a hidden alias for--workspace.
iwes
Changed
- The
[library]configuration table is now[workspace]; the server reads the document path, date formats, locale and frontmatter title from it. A config that still says[library]keeps working.
iwec
Changed
- The
iwe://configresource reports the document collection under aworkspaceobject (waslibrary). - The
[library]configuration table is now[workspace]. A config that still says[library]keeps working.
Fixed
iwe_retrieveand thereview/refactorprompts reject an unknown key with aDocument '<key>' not founderror instead of returning an empty placeholder document;keysused as the candidate set forsearch/fuzzystill match nothing.iwe_treerejects unknownkeysinstead of silently leaving them out of the result.
Deprecated
- The
iwe://configresource still carries alibraryobject, a copy ofworkspace, for clients that read the old name.
Library crates (liwe, diwe)
liwe
Changed
Key::to_workspace_url()replacesKey::to_library_url(), andWorkspaceUrlreplaces theLibraryUrltype alias.
Deprecated
Key::to_library_url()andLibraryUrlretained as deprecated aliases.
diwe
Added
migrate_v3_to_v4renames a configuration's[library]table to[workspace].require_documentschecks that every key names a document in the graph and reports all missing keys in one message.
Changed
Configuration::workspaceis aWorkspaceOptions(waslibrary: LibraryOptions); the field still acceptslibrarywhen reading a config file.workspace_path_inreplaceslibrary_path_in.Configuration::template()writesversion = 4.
Deprecated
LibraryOptionsandlibrary_path_inretained as deprecated aliases.