You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Schemastery Volatile Reference Handling in resolveConfig
Root cause: Schemastery wraps fields marked with .volatile() in Volatile<T> reference objects ({ get(): T }). When dsh loads a profile entry without an explicit config, Cordis resolves absent volatile fields into reference objects instead of plain undefined. As a result, config.root ?? DEFAULT_MEMORY_ROOT yielded the reference object rather than falling back to default, causing expandHomePath to throw TypeError: path.startsWith is not a function.
Fix: Added unwrapConfig recursive helper to extract primitive values from any volatile reference before running resolveConfig.
Verification: Tested clean boot under both plain empty and Schemastery-parsed volatile configs (125/125 tests pass).