fix(db): make filesystem lock intent explicit

This commit is contained in:
ZacharyZhang-NY committed 2026-04-22 13:51:41 -04:00
1 parent 0785c9ba47
commit 19f8494d09
15 files changed
+188 -125

No files matched your search

+4 -7
View File
@@ -157,12 +157,10 @@ export interface TaskRecord {
taskType: string | null;
requiresUserReview: boolean;
/**
* Per-task filesystem lock policy (v52+). When `true` the
* orchestrator resolves a workspace and holds it exclusively for
* the duration of the run; when `false` the run executes with
* `lockMode='none'` and agents run in parallel on shared read-only
* context. Inferred from agent role at task creation and toggled
* explicitly by callers that know their task mutates the tree.
* Per-task filesystem lock policy (v52+). `true` makes the
* orchestrator resolve a workspace and hold it exclusively for
* the duration of the run. `false` lets a task with no explicit
* workspace binding execute with `lockMode='none'`.
*/
requiresFilesystem: boolean;
startedAt: string | null;
@@ -395,4 +393,3 @@ export interface ModelCapability {
costPerMtokOut: number;
updatedAt: string;
}