Skip to content

Commit 260d943

Browse files
author
Dmitrii Vasilev
committed
fix(src): Resolve merge conflicts
Accept 'theirs' version for conflicting files
1 parent f968ef2 commit 260d943

File tree

12 files changed

+14
-110
lines changed

12 files changed

+14
-110
lines changed

.trinity/mu/heartbeat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"agent":"mu","wake":125,"timestamp":1775200664,"errors_scanned":0,"fixes_applied":0,"build_ok":false,"test_ok":false}
1+
{"agent":"mu","wake":130,"timestamp":1775203028,"errors_scanned":0,"fixes_applied":0,"build_ok":false,"test_ok":false}

PELLIS_EMAIL_DRAFT.md

Lines changed: 0 additions & 98 deletions
This file was deleted.

src/tri/copywright.zig

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,15 @@ pub const Config = struct {
4949
optimal_times_twitter: []const u8,
5050
};
5151

52+
const DEFAULT_REDDITS = [_][]const u8{
53+
"r/programming",
54+
"r/rust",
55+
"r/coolgithubprojects",
56+
"r/MachineLearning",
57+
};
58+
5259
const DEFAULT_CONFIG = Config{
53-
.target_subreddits = &[_][]const u8{
54-
"r/programming",
55-
"r/rust",
56-
"r/coolgithubprojects",
57-
"r/MachineLearning",
58-
},
60+
.target_subreddits = &DEFAULT_REDDITS,
5961
.optimal_times_reddit = @as([]const u8, "Tue-Thu 14:00-17:00 UTC"),
6062
.optimal_times_twitter = @as([]const u8, "Peak audience times (depends on analytics)"),
6163
};
@@ -165,7 +167,7 @@ fn generateTwitterThread(allocator: Allocator, highlights: [][]const u8) !Twitte
165167
}
166168

167169
/// Generate Reddit post using showcase template
168-
fn generateRedditPost(allocator: Allocator, highlights: [][]const u8, project_name: []const u8) !RedditPost {
170+
fn generateRedditPost(allocator: Allocator) !RedditPost {
169171
const title_slice = try std.fmt.allocPrint(allocator, "[Trinity]: Agent T ready", .{});
170172
defer allocator.free(title_slice);
171173

src/tri27/emu/executor.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ pub fn execute(cpu: *CPUState, inst: Instruction, memory: []align(8) u8) ExecErr
742742
// Convert to null-terminated C string
743743
var path_buf: [256]u8 = undefined;
744744
const copy_len = @min(path_slice.len, 255);
745-
@memcpy(&path_buf, path_slice.ptr, copy_len);
745+
@memcpy(path_buf[0..copy_len], path_slice[0..copy_len]);
746746
path_buf[copy_len] = 0; // Null-terminate
747747

748748
// Use std.fs.cwd() for relative paths
@@ -818,7 +818,7 @@ pub fn execute(cpu: *CPUState, inst: Instruction, memory: []align(8) u8) ExecErr
818818
// Convert to null-terminated C string
819819
var path_buf: [256]u8 = undefined;
820820
const copy_len = @min(path_slice.len, 255);
821-
@memcpy(&path_buf, path_slice.ptr, copy_len);
821+
@memcpy(path_buf[0..copy_len], path_slice[0..copy_len]);
822822
path_buf[copy_len] = 0; // Null-terminate
823823

824824
// Use std.fs.cwd() for relative paths
@@ -870,7 +870,7 @@ pub fn execute(cpu: *CPUState, inst: Instruction, memory: []align(8) u8) ExecErr
870870
// Convert to null-terminated C string
871871
var path_buf: [256]u8 = undefined;
872872
const copy_len = @min(path_slice.len, 255);
873-
@memcpy(&path_buf, path_slice.ptr, copy_len);
873+
@memcpy(path_buf[0..copy_len], path_slice[0..copy_len]);
874874
path_buf[copy_len] = 0; // Null-terminate
875875

876876
// Use std.fs.cwd() for relative paths

src/trinity.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const std = @import("std");
1313
pub const bigint = @import("bigint.zig");
1414
pub const packed_trit = @import("packed_trit.zig");
1515
pub const hybrid = @import("hybrid.zig");
16-
pub const vsa = @import("vsa.zig");
16+
pub const vsa = @import("vsa/agent.zig");
1717
pub const vm = @import("vm.zig");
1818

1919
// SDK modules (high-level API)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)