Skip to content

Commit 245eb8f

Browse files
committed
fix typo
1 parent cee9c19 commit 245eb8f

11 files changed

Lines changed: 13 additions & 20 deletions

File tree

cmd/iterate/commands_project.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,3 @@ func healthChecksForProject(dir string, pt projectType) []projectCheck {
106106
return nil
107107
}
108108
}
109-

cmd/iterate/features.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ func findTodos(repoPath string) []string {
8686
return results
8787
}
8888

89-
9089
// ---------------------------------------------------------------------------
9190
// /search-replace — find and replace text across all Go files
9291
// ---------------------------------------------------------------------------

cmd/iterate/features_shell.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,3 @@ func countLines(repoPath string) map[string]int {
102102
})
103103
return counts
104104
}
105-

cmd/iterate/features_tools_expand_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ func TestApplyTheme_Minimal(t *testing.T) {
169169
}
170170
}
171171

172-
173172
func TestLoadAliases_NonExistent(t *testing.T) {
174173
// loadAliases should return empty map when file doesn't exist
175174
aliases := loadAliases()

cmd/iterate/features_watch.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ func stopWatch() {
2121
watchCancel = nil
2222
}
2323
}
24-

cmd/iterate/memory_project.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ func formatProjectMemoryForPrompt(m projectMemory) string {
8888
return "## Project Notes\n\n" + strings.Join(lines, "\n") + "\n"
8989
}
9090

91-
9291
// ---------------------------------------------------------------------------
9392
// Active learnings reader
9493
// ---------------------------------------------------------------------------

internal/evolution/engine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type Engine struct {
7474
toolMap map[string]iteragent.Tool // cached at construction — avoids re-init per call
7575
tools []iteragent.Tool // cached tool slice for agent construction
7676
skills *iteragent.SkillSet // cached skills — loaded once per engine
77-
auditMu sync.Mutex // guards concurrent writes to audit.jsonl
77+
auditMu sync.Mutex // guards concurrent writes to audit.jsonl
7878
}
7979

8080
// generateTraceID creates a random hex trace ID for request correlation.

internal/evolution/git.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,11 @@ func (e *Engine) runTests(ctx context.Context) (string, error) {
284284

285285
// Per-phase timeouts tuned to each phase's actual workload.
286286
const (
287-
timeoutPlan = 8 * time.Minute // read + plan only, no code changes
288-
timeoutImplement = 40 * time.Minute // one timeout covers all parallel tasks
289-
timeoutPR = 3 * time.Minute // git + gh CLI only
290-
timeoutReview = 10 * time.Minute // diff read + agent review
291-
timeoutMerge = 12 * time.Minute // merge + CI poll (short, CI poll has its own 10m timer)
287+
timeoutPlan = 8 * time.Minute // read + plan only, no code changes
288+
timeoutImplement = 40 * time.Minute // one timeout covers all parallel tasks
289+
timeoutPR = 3 * time.Minute // git + gh CLI only
290+
timeoutReview = 10 * time.Minute // diff read + agent review
291+
timeoutMerge = 12 * time.Minute // merge + CI poll (short, CI poll has its own 10m timer)
292292
timeoutCommunicate = 10 * time.Minute // journal + issue comments + learnings
293293
)
294294

internal/evolution/memory.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ func (e *Engine) appendFailureJSONL(taskTitle, reason string) error {
7777
}
7878

7979
entry := map[string]interface{}{
80-
"type": "failure",
81-
"day": day,
82-
"ts": time.Now().UTC().Format(time.RFC3339),
83-
"task": taskTitle,
80+
"type": "failure",
81+
"day": day,
82+
"ts": time.Now().UTC().Format(time.RFC3339),
83+
"task": taskTitle,
8484
"reason": reason,
8585
}
8686

internal/evolution/phases_pr_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ func TestTrimFailuresJSONL_RemovesOldEntries(t *testing.T) {
324324
path := filepath.Join(dir, "failures.jsonl")
325325

326326
now := time.Now().UTC()
327-
old := now.Add(-40 * 24 * time.Hour) // 40 days ago — should be trimmed
327+
old := now.Add(-40 * 24 * time.Hour) // 40 days ago — should be trimmed
328328
recent := now.Add(-5 * 24 * time.Hour) // 5 days ago — should be kept
329329

330330
lines := []string{

0 commit comments

Comments
 (0)