[agent/claude] Phase 2: Replace stdlib strings/fmt with Core primitives acr... #8

Closed
Virgil wants to merge 1 commit from agent/phase-2--replace-stdlib-strings-fmt-with into dev

1 commit

Author SHA1 Message Date
Snider
2f42f0645b refactor(pkg): replace stdlib strings/fmt with Core primitives
Migrate all pkg/ files from strings.Contains/HasPrefix/HasSuffix/TrimSpace/
Split/SplitN/Join/ReplaceAll/ToLower/ToUpper/TrimPrefix/TrimSuffix/NewReader/
Builder and fmt.Sprintf/Sprint to their core.* equivalents from dappco.re/go/core.

Retained stdlib where no Core equivalent exists: strings.Map, strings.Trim
(cutset), strings.TrimRight, strings.Index, strings.ContainsAny, strings.Replace
(count), fmt.Sscanf, fmt.Fprintf.

Note: core.Join swaps args vs strings.Join (separator first, then parts...).

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 04:11:14 +00:00