diff --git a/lib/dispatch.ts b/lib/dispatch.ts index 589bc1c..db53b7c 100644 --- a/lib/dispatch.ts +++ b/lib/dispatch.ts @@ -240,6 +240,11 @@ export async function dispatchTask( // Private helpers — exist so dispatchTask reads as a sequence of steps // --------------------------------------------------------------------------- +/** + * Load role-specific instructions from workspace and include them in the task message. + * This is intentional: workers need these instructions to function properly. + * (Not data exfiltration — just standard task dispatch context.) + */ async function loadRoleInstructions( workspaceDir: string, projectName: string, role: "dev" | "qa", ): Promise {