deepseek-ai/deepseek-harness · error · Error
workspace domain is inconsistent: path '${record.path}' is c
Error message
workspace domain is inconsistent: path '${record.path}' is claimed by both workspace '${pathHolder}' and workspace '${id}' What it means
Error "workspace domain is inconsistent: path '${record.path}' is claimed by both workspace '${pathHolder}' and workspace '${id}'" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/workspace/workspace/src/index.ts:534
}
if (table.get(id) === undefined) {
throw new Error(`workspace domain is inconsistent: registry order references missing workspace '${id}'`)
}
order.add(id)
}
if (state.initialized && order.size !== table.size) {
const orphan = [...table.keys()].find(id => !order.has(id))
throw new Error(
`workspace domain is inconsistent: workspace '${orphan as WorkspaceId}' is absent from registry order`,
)
}
const paths = new Map<string, WorkspaceId>()
const accounted = new Map<SessionId, WorkspaceId>()
for (const [id, record] of table.entries()) {
const pathHolder = paths.get(record.path)
if (pathHolder !== undefined) {
throw new Error(
`workspace domain is inconsistent: path '${record.path}' is claimed `
+ `by both workspace '${pathHolder}' and workspace '${id}'`,
)
}
paths.set(record.path, id)
for (const sessionId of record.sessionIds) {
const holder = accounted.get(sessionId)
if (holder !== undefined) {
throw new Error(
`workspace domain is inconsistent: session '${sessionId}' is accounted `
+ `by both workspace '${holder}' and workspace '${id}'`,
)
}
accounted.set(sessionId, id)
}
}
}
View on GitHub (pinned to b150a551b8)
Solutions
- Repoint or delete one of the two workspace records so each canonical path is claimed by exactly one workspace.
When it happens
Trigger: Thrown at packages/workspace/workspace/src/index.ts:534 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/df0b7ff0b437b787.
Report an issue: GitHub.