Skip to content

Commit 9922664

Browse files
Antigravity Agentclaude
andcommitted
fix(tri): missed health_records.deinit() allocator argument in cytoplasm.zig
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e310839 commit 9922664

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

.ralph/state/wake_count

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
257
1+
258

.trinity/mu/heartbeat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"agent":"mu","wake":844,"timestamp":1773822099,"errors_scanned":0,"fixes_applied":0,"build_ok":false,"test_ok":true}
1+
{"agent":"mu","wake":846,"timestamp":1773825199,"errors_scanned":0,"fixes_applied":0,"build_ok":false,"test_ok":true}

.trinity/mu/state/wake_count

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
845
1+
847

.trinity/scholar/heartbeat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"agent":"scholar","wake":685,"timestamp":1773822090,"fails_found":0,"researched":0,"fed_mu":0}
1+
{"agent":"scholar","wake":690,"timestamp":1773825761,"fails_found":0,"researched":0,"fed_mu":0}

.trinity/scholar/state/wake_count

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
686
1+
690

apps/queen/QueenUI/Bridge/ActionQueue.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct ActionButton: View {
7777
.padding(.horizontal, 12)
7878
.padding(.vertical, 6)
7979
.background(color)
80-
.clipShape(Capsule())
80+
.clipShape(SwiftUI.Capsule())
8181
}
8282
.buttonStyle(.plain)
8383
}

apps/queen/QueenUI/Navigation/ChatSidebar.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ struct ChatSidebar: View {
954954
.padding(.horizontal, 8)
955955
.padding(.vertical, 3)
956956
.background(isActive ? TrinityTheme.accent : Color.white.opacity(0.06))
957-
.clipShape(Capsule())
957+
.clipShape(SwiftUI.Capsule())
958958
}
959959

960960
private func tagChip(_ tag: String?, label: String) -> some View {
@@ -968,7 +968,7 @@ struct ChatSidebar: View {
968968
.padding(.horizontal, 8)
969969
.padding(.vertical, 3)
970970
.background(isActive ? TrinityTheme.accent : Color.white.opacity(0.06))
971-
.clipShape(Capsule())
971+
.clipShape(SwiftUI.Capsule())
972972
}
973973
.buttonStyle(.plain)
974974
}
@@ -1644,7 +1644,7 @@ struct ThreadRow: View {
16441644
.padding(.horizontal, 3)
16451645
.padding(.vertical, 1)
16461646
.background(TrinityTheme.purple.opacity(0.1))
1647-
.clipShape(Capsule())
1647+
.clipShape(SwiftUI.Capsule())
16481648
}
16491649
if !searchQuery.isEmpty && matchCount > 0 {
16501650
Text("\(matchCount) match\(matchCount == 1 ? "" : "es")")

apps/queen/QueenUI/Widgets/ThreadOrganizationView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ struct FlowLayout: Layout {
169169

170170
func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
171171
let result = FlowResult(
172-
maxWidth: proposal.replacingUnspecifiedDimensions().width ?? 0,
172+
maxWidth: proposal.replacingUnspecifiedDimensions().width,
173173
subviews: subviews,
174174
spacing: spacing
175175
)
@@ -386,8 +386,8 @@ struct ThreadPriorityBadge: View {
386386
.padding(.horizontal, 6)
387387
.padding(.vertical, 3)
388388
.background(
389-
Capsule()
390-
.fill(priority.color.opacity(0.15))
389+
priority.color.opacity(0.15),
390+
in: SwiftUI.Capsule()
391391
)
392392
}
393393
}

src/tri/cytoplasm.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ fn runSearch(allocator: Allocator, args: []const []const u8) !void {
639639
std.debug.print("{s}ERROR{s}: Failed to parse registry\n", .{ RED, RESET });
640640
return;
641641
};
642-
defer parsed.deinit(allocator);
642+
defer parsed.deinit();
643643

644644
const cells = (parsed.value.object.get("cells") orelse return).array.items;
645645

@@ -3789,7 +3789,7 @@ fn runTrends(allocator: Allocator, args: []const []const u8) !void {
37893789

37903790
// Get all cell health records from hippocampus
37913791
var health_records = try hippocampus.getAllCellHealth(allocator, opts.days);
3792-
defer health_records.deinit();
3792+
defer health_records.deinit(allocator);
37933793

37943794
if (health_records.items.len == 0) {
37953795
std.debug.print("{s}No health records found in hippocampus.{s}\n", .{ YELLOW, RESET });

0 commit comments

Comments
 (0)