worker: separate subworkers from workspace workers
This commit is contained in:
@@ -4966,7 +4966,7 @@ fn orchestrator_queue_notification_message(
|
||||
) -> String {
|
||||
let title = ticket.title.replace(['\r', '\n'], " ");
|
||||
format!(
|
||||
"Workspace Dashboard Queue for Ticket `{}`, title `{}`: human authorized Orchestrator routing; this is not an unattended scheduler. Read the Ticket and inspect current Orchestrator workspace state. If unblocked, record routing and transition state queued -> inprogress before any worktree/SpawnWorker implementation side effects. After inprogress acceptance, create the delegated implementation worktree with tracked `.yoi` project records visible and generated/local/runtime/log/lock/secret-like `.yoi` paths excluded, then run sibling coder/reviewer Workers through typed Ticket role launch surfaces. After reviewer approval and blocker resolution, integrate the implementation branch into the orchestration branch automatically, validate in the Orchestrator worktree, record the outcome, and clean up only child implementation worktrees/branches. Do not read, write, validate, merge, clean up, or run git operations in the root/original workspace. If blocked, record a concise reason and leave the Ticket queued or return it to planning with the missing-information reason.",
|
||||
"Workspace Dashboard Queue for Ticket `{}`, title `{}`: human authorized Orchestrator routing; this is not an unattended scheduler. Read the Ticket and inspect current Orchestrator workspace state. If unblocked, record routing and transition state queued -> inprogress before any worktree/WorkerSpawn implementation side effects. After inprogress acceptance, create the delegated implementation worktree with tracked `.yoi` project records visible and generated/local/runtime/log/lock/secret-like `.yoi` paths excluded, then run sibling coder/reviewer Workers through typed Ticket role launch surfaces. After reviewer approval and blocker resolution, integrate the implementation branch into the orchestration branch automatically, validate in the Orchestrator worktree, record the outcome, and clean up only child implementation worktrees/branches. Do not read, write, validate, merge, clean up, or run git operations in the root/original workspace. If blocked, record a concise reason and leave the Ticket queued or return it to planning with the missing-information reason.",
|
||||
ticket.id,
|
||||
title.trim()
|
||||
)
|
||||
|
||||
@@ -823,7 +823,7 @@ fn ticket_queue_notification_message_carries_routing_contract() {
|
||||
assert!(message.contains("Read the Ticket"));
|
||||
assert!(message.contains("inspect current Orchestrator workspace state"));
|
||||
assert!(message.contains("transition state queued -> inprogress"));
|
||||
assert!(message.contains("before any worktree/SpawnWorker implementation side effects"));
|
||||
assert!(message.contains("before any worktree/WorkerSpawn implementation side effects"));
|
||||
assert!(message.contains("After inprogress acceptance"));
|
||||
assert!(message.contains("implementation worktree"));
|
||||
assert!(message.contains("tracked `.yoi` project records visible"));
|
||||
|
||||
Reference in New Issue
Block a user