Skip to content

Commit 948df43

Browse files
LeftTwixWandclaude
andcommitted
feat: SelfImprove uses Deploy instead of Restart for code changes
Updated SelfImproveAsync prompt to direct the agent to call Aspire Deploy (which stops, rebuilds, and starts fresh) rather than RestartResource when deploying code changes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1b454c3 commit 948df43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Agents/Orchestration/ThreadAgent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private async Task<string> SelfImproveAsync(string task, CancellationToken ct =
120120
- Use DotNet to build E:\IAW\IAW.slnx after writing code
121121
- If build fails, use FileSystem to fix the code and rebuild
122122
- Use Git to commit changes after a successful build
123-
- Use Aspire to restart the assistant resource to deploy
123+
- Use Aspire Deploy tool (not RestartResource) to deploy code changes — this stops, rebuilds, and starts fresh
124124
- Do NOT read traces unless debugging a specific runtime error
125125
- Write complete, compilable C# code — follow existing patterns in the codebase
126126
- For new agents: create an interface (IXxx.cs) and implementation (XxxAgent.cs) in src/Agents/

0 commit comments

Comments
 (0)