Skip to content

Commit d8e3d02

Browse files
LeftTwixWandclaude
andcommitted
feat: Agent Team v2 — self-improving closed loop, deploy endpoint, emoji agent
Remaining changes from IAW self-improvement testing: - EmojiAgent created by IAW (IEmoji.cs + EmojiAgent.cs in src/Agents/Fun/) - DeployEndpoint.cs fixed by IAW to build assistant project only - IAW-modified files from self-improvement iterations Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 948df43 commit d8e3d02

307 files changed

Lines changed: 493 additions & 450 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/settings.local.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@
117117
"Bash(SESSION=\"PtrgZj56o8iGVCVq7XbDLA\")",
118118
"Bash(grep -E \"\\\\.\\(cs\\)$\")",
119119
"Bash(for dir:*)",
120-
"Read(//e/IAW/$dir/**)"
120+
"Read(//e/IAW/$dir/**)",
121+
"Bash(C:/Users/vhorb/AppData/Local/Temp/iaw-test/Program.cs:*)",
122+
"Read(//c/Users/vhorb/AppData/Local/Temp/iaw-test/**)",
123+
"Bash(mcp__aspire__list_resources)"
121124
]
122125
},
123126
"enabledMcpjsonServers": [

src/Agents.CSharp/DotNet/DotNetAgent.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
using System.Diagnostics;
2-
using System.Text.RegularExpressions;
3-
using IAW.Core;
4-
using IAW.Agents.System;
5-
using Microsoft.Extensions.AI;
6-
using Core.Contracts;
71
using Core.AI;
82
using Core.AI.Models;
93
using Core.Communication;
104
using Core.Communication.Messages;
5+
using Core.Contracts;
6+
using IAW.Agents.System;
7+
using IAW.Core;
8+
using Microsoft.Extensions.AI;
9+
using System.Diagnostics;
10+
using System.Text.RegularExpressions;
1111

1212
namespace IAW.Agents.Coding;
1313

@@ -354,4 +354,4 @@ private static string[] ExtractBuildDiagnostics(string output)
354354

355355
[GeneratedRegex(@"Failed:\s+(?<failed>\d+).*?Passed:\s+(?<passed>\d+).*?Total:\s+(?<total>\d+)", RegexOptions.Singleline)]
356356
private static partial Regex TestResultRegex();
357-
}
357+
}

src/Agents.CSharp/DotNet/IDotNet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using System.ComponentModel;
21
using Core.Communication;
32
using Core.Communication.Messages;
43
using Core.Contracts;
54
using IAW.Agents.System;
5+
using System.ComponentModel;
66

77
namespace IAW.Agents.Coding;
88

@@ -69,4 +69,4 @@ public sealed record FormatResult(
6969
[property: Id(0)] bool Success,
7070
[property: Id(1)] string Summary,
7171
[property: Id(2)] IReadOnlyList<string> ChangedFiles,
72-
[property: Id(3)] bool EditorConfigCreated);
72+
[property: Id(3)] bool EditorConfigCreated);

src/Agents.CSharp/GitHub/GitHubAgent.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using IAW.Core;
1+
using Core.AI;
2+
using Core.AI.Models;
3+
using Core.Contracts;
24
using IAW.Agents.Coding.Models;
5+
using IAW.Core;
36
using Microsoft.Extensions.AI;
47
using Octokit;
5-
using Core.Contracts;
6-
using Core.AI;
7-
using Core.AI.Models;
88

99
namespace IAW.Agents.Coding;
1010

@@ -98,4 +98,4 @@ protected override async Task OnScheduledJobDueAsync(ScheduledJobItem job, Cance
9898

9999
ScheduledJobs[job.Name] = job with { LastRunAt = DateTimeOffset.UtcNow };
100100
}
101-
}
101+
}

src/Agents.CSharp/GitHub/GitHubRegistration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ public static IHostApplicationBuilder AddGitHubClient(this IHostApplicationBuild
1010
builder.Services.AddSingleton<IGitHubService, GitHubService>();
1111
return builder;
1212
}
13-
}
13+
}

src/Agents.CSharp/GitHub/GitHubService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ public GitHubService(IConfiguration config)
1818
Credentials = IsConfigured ? new Credentials(token) : Credentials.Anonymous
1919
};
2020
}
21-
}
21+
}

src/Agents.CSharp/GitHub/IGitHub.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using IAW.Agents.Coding.Models;
21
using Core.Contracts;
2+
using IAW.Agents.Coding.Models;
33

44
namespace IAW.Agents.Coding;
55

@@ -20,4 +20,4 @@ public interface IGitHub : IAgent
2020
Task WatchReleases(string repo, TimeSpan checkEvery, CancellationToken ct = default);
2121
Task CreateIssue(string repo, string title, string body, CancellationToken ct = default);
2222
Task<ReleaseInfo?> GetLatestReleaseAsync(CancellationToken ct = default);
23-
}
23+
}

src/Agents.CSharp/GitHub/IGitHubService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ public interface IGitHubService
66
{
77
IGitHubClient Client { get; }
88
bool IsConfigured { get; }
9-
}
9+
}

src/Agents.CSharp/Models/PackageUpdate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ namespace IAW.Agents.Coding.Models;
44
public sealed record PackageUpdate(
55
[property: Id(0)] string PackageId,
66
[property: Id(1)] string CurrentVersion,
7-
[property: Id(2)] string LatestVersion);
7+
[property: Id(2)] string LatestVersion);

src/Agents.CSharp/Models/ReleaseInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ public sealed record ReleaseInfo(
55
[property: Id(0)] string TagName,
66
[property: Id(1)] string Name,
77
[property: Id(2)] string Body,
8-
[property: Id(3)] DateTimeOffset? PublishedAt);
8+
[property: Id(3)] DateTimeOffset? PublishedAt);

0 commit comments

Comments
 (0)