From 13ebb65e66f7666f6ba2263b40697082d16d9fa0 Mon Sep 17 00:00:00 2001 From: Eric Elliott Date: Thu, 5 Feb 2026 14:22:21 -0800 Subject: [PATCH 1/8] Update task execution steps and approval process --- ai/rules/task-creator.mdc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ai/rules/task-creator.mdc b/ai/rules/task-creator.mdc index 050ace0..1de45fd 100644 --- a/ai/rules/task-creator.mdc +++ b/ai/rules/task-creator.mdc @@ -63,10 +63,19 @@ createPlan() { } executePlan() { + Respect the user intent if they want to explicitly approve each step. + 1. Complete only the current task 1. Validate - Verify the task meets its success criteria 1. Report - Summarize what was accomplished - 1. Await Approval - Get explicit user approval before proceeding to the next task + 1. /review - check correctness before moving to next task + + Every 3 completed tasks: + 1. Summarize progress — what was completed, what's next + 2. Run /review again on all uncommitted changes - fix any issues you discover + 3. Run /commit + 4. Re-read the epic requirements and any related $projectRoot/plan/* files to verify you're still on-process + 5. Continue with the next batch of tasks } ## Task Plan Template Structure From 9589b881b2283f42b03b782b47cefaabb4701324 Mon Sep 17 00:00:00 2001 From: Eric Elliott Date: Sat, 7 Feb 2026 12:47:01 -0800 Subject: [PATCH 2/8] Update ai/rules/task-creator.mdc Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- ai/rules/task-creator.mdc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai/rules/task-creator.mdc b/ai/rules/task-creator.mdc index 1de45fd..fa61769 100644 --- a/ai/rules/task-creator.mdc +++ b/ai/rules/task-creator.mdc @@ -74,7 +74,7 @@ executePlan() { 1. Summarize progress — what was completed, what's next 2. Run /review again on all uncommitted changes - fix any issues you discover 3. Run /commit - 4. Re-read the epic requirements and any related $projectRoot/plan/* files to verify you're still on-process + 4. Re-read the epic requirements and any related $projectRoot/plan/* files to verify you're still on-track 5. Continue with the next batch of tasks } From 61a9fe2901499ac6558c7e4faf9d7183887cf60e Mon Sep 17 00:00:00 2001 From: Eric Elliott Date: Sat, 7 Feb 2026 12:47:17 -0800 Subject: [PATCH 3/8] Update ai/rules/task-creator.mdc Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- ai/rules/task-creator.mdc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ai/rules/task-creator.mdc b/ai/rules/task-creator.mdc index fa61769..bd55c84 100644 --- a/ai/rules/task-creator.mdc +++ b/ai/rules/task-creator.mdc @@ -70,8 +70,8 @@ executePlan() { 1. Report - Summarize what was accomplished 1. /review - check correctness before moving to next task - Every 3 completed tasks: - 1. Summarize progress — what was completed, what's next + Every 3 completed tasks: + 1. Summarize progress — what was completed, what's next 2. Run /review again on all uncommitted changes - fix any issues you discover 3. Run /commit 4. Re-read the epic requirements and any related $projectRoot/plan/* files to verify you're still on-track From 495b936bafe290b6404b1773ca8165b31ae4cc47 Mon Sep 17 00:00:00 2001 From: Eric Elliott Date: Sun, 8 Feb 2026 14:30:09 -0800 Subject: [PATCH 4/8] Update ai/rules/task-creator.mdc Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- ai/rules/task-creator.mdc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ai/rules/task-creator.mdc b/ai/rules/task-creator.mdc index bd55c84..6e286e4 100644 --- a/ai/rules/task-creator.mdc +++ b/ai/rules/task-creator.mdc @@ -72,10 +72,10 @@ executePlan() { Every 3 completed tasks: 1. Summarize progress — what was completed, what's next - 2. Run /review again on all uncommitted changes - fix any issues you discover - 3. Run /commit - 4. Re-read the epic requirements and any related $projectRoot/plan/* files to verify you're still on-track - 5. Continue with the next batch of tasks + 1. Run /review again on all uncommitted changes - fix any issues you discover + 1. Run /commit + 1. Re-read the epic requirements and any related $projectRoot/plan/* files to verify you're still on-track + 1. Continue with the next batch of tasks } ## Task Plan Template Structure From 8dedac7587a96941893d57f6866890cc747c1749 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 8 Feb 2026 22:31:55 +0000 Subject: [PATCH 5/8] fix: make task approval conditional Co-authored-by: Eric Elliott --- ai/rules/task-creator.mdc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ai/rules/task-creator.mdc b/ai/rules/task-creator.mdc index 6e286e4..19c186e 100644 --- a/ai/rules/task-creator.mdc +++ b/ai/rules/task-creator.mdc @@ -63,12 +63,15 @@ createPlan() { } executePlan() { + $approvalRequired = askUser("Would you like to manually approve each step, or allow the agent to approve with /review?") + Respect the user intent if they want to explicitly approve each step. 1. Complete only the current task 1. Validate - Verify the task meets its success criteria 1. Report - Summarize what was accomplished 1. /review - check correctness before moving to next task + 1. If $approvalRequired, get explicit user approval before moving to the next task Every 3 completed tasks: 1. Summarize progress — what was completed, what's next @@ -142,7 +145,7 @@ onComplete() { Constraints { Never attempt multiple tasks simultaneously Avoid breaking changes unless explicitly requested (open/closed principle) - Always get explicit user approval before moving to the next task + If $approvalRequired, always get explicit user approval before moving to the next task If a task reveals new information, pause and re-plan Each task should be completable in ~50 lines of code or less Tasks should be independent - completing one shouldn't break others @@ -156,7 +159,7 @@ createTask() { } executeTask() { - executePlan |> awaitApproval |> onComplete + executePlan |> onComplete } Commands { From 9824c1afcfb99a78166b50997746311f6e894475 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 8 Feb 2026 22:34:11 +0000 Subject: [PATCH 6/8] fix: conditionally await task approval Co-authored-by: Eric Elliott --- ai/rules/task-creator.mdc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ai/rules/task-creator.mdc b/ai/rules/task-creator.mdc index 19c186e..e73f500 100644 --- a/ai/rules/task-creator.mdc +++ b/ai/rules/task-creator.mdc @@ -159,7 +159,9 @@ createTask() { } executeTask() { - executePlan |> onComplete + executePlan + If $approvalRequired, awaitApproval + onComplete } Commands { From b18a2a8192945ef967d5d50fd7f6ccf56b6e9f89 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 8 Feb 2026 22:44:27 +0000 Subject: [PATCH 7/8] fix: dedupe approval gating Co-authored-by: Eric Elliott --- ai/rules/task-creator.mdc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ai/rules/task-creator.mdc b/ai/rules/task-creator.mdc index e73f500..51359c1 100644 --- a/ai/rules/task-creator.mdc +++ b/ai/rules/task-creator.mdc @@ -63,15 +63,12 @@ createPlan() { } executePlan() { - $approvalRequired = askUser("Would you like to manually approve each step, or allow the agent to approve with /review?") - Respect the user intent if they want to explicitly approve each step. 1. Complete only the current task 1. Validate - Verify the task meets its success criteria 1. Report - Summarize what was accomplished 1. /review - check correctness before moving to next task - 1. If $approvalRequired, get explicit user approval before moving to the next task Every 3 completed tasks: 1. Summarize progress — what was completed, what's next @@ -159,6 +156,7 @@ createTask() { } executeTask() { + $approvalRequired = askUser("Would you like to manually approve each step, or allow the agent to approve with /review?") executePlan If $approvalRequired, awaitApproval onComplete From 46923ac09ff5bd24b971ed05fed6d1feeea413a6 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 8 Feb 2026 22:49:07 +0000 Subject: [PATCH 8/8] fix: persist approval preference Co-authored-by: Eric Elliott --- ai/rules/task-creator.mdc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ai/rules/task-creator.mdc b/ai/rules/task-creator.mdc index 51359c1..9cfa118 100644 --- a/ai/rules/task-creator.mdc +++ b/ai/rules/task-creator.mdc @@ -23,6 +23,7 @@ State { Constraints // Technical limitations, performance requirements, or business rules Stories // Clear, measurable outcomes for the completed work AgentRequirements // Assessment if task requires specialized agent expertise + ApprovalRequired // Whether explicit per-task approval is required } @@ -63,12 +64,15 @@ createPlan() { } executePlan() { + If $approvalRequired is undefined, $approvalRequired = askUser("Would you like to manually approve each step, or allow the agent to approve with /review?") + Respect the user intent if they want to explicitly approve each step. 1. Complete only the current task 1. Validate - Verify the task meets its success criteria 1. Report - Summarize what was accomplished 1. /review - check correctness before moving to next task + 1. If $approvalRequired, awaitApproval Every 3 completed tasks: 1. Summarize progress — what was completed, what's next @@ -156,9 +160,7 @@ createTask() { } executeTask() { - $approvalRequired = askUser("Would you like to manually approve each step, or allow the agent to approve with /review?") executePlan - If $approvalRequired, awaitApproval onComplete }