Merge pull request '[agent/codex:gpt-5.4-mini] Read ~/spec/code/core/go/store/RFC.md fully. Find features d...' (#81) from agent/read---spec-code-core-go-store-rfc-md-fu into dev
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run

This commit is contained in:
Virgil 2026-04-03 08:28:03 +00:00
commit 55a804bd08

View file

@ -155,6 +155,9 @@ func newStoreFromConfig(operation string, config StoreConfig) (*Store, error) {
storeInstance.purgeInterval = config.PurgeInterval
}
// New() performs a non-destructive scan so orphaned workspaces remain
// discoverable through RecoverOrphans().
discoverOrphanWorkspacePaths(defaultWorkspaceStateDirectory)
storeInstance.startBackgroundPurge()
return storeInstance, nil
}