Q150: work can be sent back, reopened, moved to backlog, or blocked with a reason
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7ab46bb2de
commit
809c67a54a
21 files changed
+153
-7
No files matched your search
@@ -0,0 +1,7 @@
|
||||
// Why the operator blocked a task; while set, no session starts on it.
|
||||
export const taskBlockedSchema = `
|
||||
alter table tasks add column blocked_reason text;
|
||||
|
||||
insert into schema_migrations(version, name, applied_at)
|
||||
values (101, 'task_blocked', datetime('now'));
|
||||
`;
|
||||
@@ -99,6 +99,7 @@ import { dropDrillOnlySloSchema } from "./migrations/097-drop-drill-only-slo";
|
||||
import { dropAuditReplaysSchema } from "./migrations/098-drop-audit-replays";
|
||||
import { dropRollbackRecordsSchema } from "./migrations/099-drop-rollback-records";
|
||||
import { chatReplyRequestsSchema } from "./migrations/100-chat-reply-requests";
|
||||
import { taskBlockedSchema } from "./migrations/101-task-blocked";
|
||||
|
||||
interface Migration {
|
||||
version: number;
|
||||
@@ -207,6 +208,7 @@ const MIGRATIONS: Migration[] = [
|
||||
{ version: 98, name: "drop_audit_replays", sql: dropAuditReplaysSchema },
|
||||
{ version: 99, name: "drop_rollback_records", sql: dropRollbackRecordsSchema },
|
||||
{ version: 100, name: "chat_reply_requests", sql: chatReplyRequestsSchema },
|
||||
{ version: 101, name: "task_blocked", sql: taskBlockedSchema },
|
||||
];
|
||||
|
||||
const SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1].version;
|
||||
|
||||
Reference in new issue
Block a user