Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MandoCode
Submodule MandoCode updated 28 files
+0 −17 src/MandoCode/Components/App.razor
+1 −7 src/MandoCode/Models/ConfigKeySetter.cs
+0 −4 src/MandoCode/Models/MandoCodeConfig.cs
+0 −5 src/MandoCode/Models/PlanStepEvidence.cs
+0 −1 src/MandoCode/Models/TaskPlan.cs
+0 −1 src/MandoCode/Models/TaskProgressEvent.cs
+4 −49 src/MandoCode/Services/Ai/AIService.cs
+0 −6 src/MandoCode/Services/Ai/AgentFunctionMiddleware.cs
+0 −4 src/MandoCode/Services/Ai/InvocationScope.cs
+0 −1 src/MandoCode/Services/Ai/Planning/PlanCheckpointStore.cs
+0 −30 src/MandoCode/Services/Ai/Planning/PlanEvidenceFollowup.cs
+0 −62 src/MandoCode/Services/Ai/Planning/PlanQualityReview.cs
+0 −1 src/MandoCode/Services/Ai/Planning/PlanRevision.cs
+0 −2 src/MandoCode/Services/Ai/Planning/PlanRunState.cs
+38 −68 src/MandoCode/Services/Ai/Planning/PlanStepRecovery.cs
+0 −148 src/MandoCode/Services/Ai/Planning/PlanStepVerifier.cs
+3 −31 src/MandoCode/Services/Ai/Planning/PlanWorkflowExecutors.cs
+0 −2 src/MandoCode/Services/Ai/Planning/PlanWorkflowMessages.cs
+0 −32 src/MandoCode/docs/PlannerExecution.md
+20 −6 src/MandoCode/docs/TaskPlanner.md
+2 −95 tests/MandoCode.Tests/PlanAcceptanceTests.cs
+2 −2 tests/MandoCode.Tests/PlanFinalQualityTests.cs
+3 −18 tests/MandoCode.Tests/PlanQualityOutcomeTests.cs
+0 −106 tests/MandoCode.Tests/PlanQualityTests.cs
+46 −0 tests/MandoCode.Tests/PlanRepositoryContextTests.cs
+259 −0 tests/MandoCode.Tests/PlanStepRecoveryTests.cs
+0 −324 tests/MandoCode.Tests/PlanVerificationRecoveryTests.cs
+0 −78 tests/MandoCode.Tests/StraightforwardPlanTests.cs
19 changes: 0 additions & 19 deletions src/MandoCode.Desktop/ViewModels/ChatController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -943,25 +943,6 @@ private async Task HandleProgressEventAsync(
_transcript.Append(_html.Dim(progressEvent.Message ?? "Checking step..."));
break;

case TaskProgressType.StepVerificationUnavailable:
_busy.Stop();
_transcript.Append(_html.Warn(progressEvent.Message ?? "Verification unavailable; execution evidence is saved."));
if (ct.IsCancellationRequested) break;
var verificationChoice = await ui.ShowApprovalAsync(new ApprovalRequest
{
Title = $"Step {progressEvent.CurrentStep}: verification unavailable",
Subtitle = "The implementation will not run again. Check the saved evidence or pause.",
Options = [new ApprovalOption("Retry verification", ApprovalOptionKind.Proceed),
new ApprovalOption("Pause plan", ApprovalOptionKind.Redirect)]
}, ct);
if (verificationChoice == "Retry verification")
{
plan.Steps.First(s => s.StepNumber == progressEvent.CurrentStep).Status = TaskStepStatus.Pending;
_busy.Start("Retrying verification...");
}
else plan.Status = TaskPlanStatus.Paused;
break;

case TaskProgressType.PlanPaused:
_busy.Stop();
_transcript.Append(_html.Warn(progressEvent.Message ?? "Plan paused."));
Expand Down
1 change: 0 additions & 1 deletion src/MandoCode.Desktop/ViewModels/PlanInstructionEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public static bool Apply(TaskStep step, string? revisedInstruction)
var revised = revisedInstruction.Trim();
step.Instruction = revised;
step.AcceptanceCriteria = [revised];
step.EvidenceFollowupUsed = false;
// The description is a UI label, but a stale label makes the review card misleading.
// Always derive it from the instruction the user actually approved.
step.Description = revised.Length > 60 ? revised[..57] + "..." : revised;
Expand Down
Loading