Fission-AI/OpenSpec · error · StoreError
store_registry_changed
store_registry_changed
Error message
Store '${id}' changed before cleanup completed. What it means
Error "Store '${id}' changed before cleanup completed." thrown in Fission-AI/OpenSpec.
Source
Thrown at src/core/store/registry.ts:191
actual.branch === expected.branch
);
}
function storeBackendsMatch(
actual: StoreGitBackendConfig,
expected: StoreGitBackendConfig
): boolean {
return sameCheckout(actual, expected) && actual.remote === expected.remote;
}
function assertExpectedRegisteredBackend(
id: string,
actual: StoreGitBackendConfig,
expected: StoreGitBackendConfig | undefined
): void {
if (!expected || storeBackendsMatch(actual, expected)) return;
throw new StoreError(
`Store '${id}' changed before cleanup completed.`,
'store_registry_changed',
{
target: 'store.registry',
fix: 'Retry the cleanup command after reviewing the current store registration.',
}
);
}
function withoutRegisteredStore(
registry: StoreRegistryState | null,
id: string,
expectedBackend?: StoreGitBackendConfig
): { next: StoreRegistryState; removed: StoreRegistryEntry } {
const removed = getRegisteredStoreOrThrow(registry, id);
assertExpectedRegisteredBackend(id, removed.backend, expectedBackend);
const stores = { ...(registry?.stores ?? {}) };
delete stores[id];View on GitHub (pinned to 6926ccb18a)
When it happens
Trigger: Thrown at src/core/store/registry.ts:191 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Fission-AI/OpenSpec@6926ccb18a (2026-08-25).
Data as JSON: /api/errors/2eb8fb3f9eb13095.
Report an issue: GitHub.