agent/pkg/brain
Snider deaa06a54d refactor(pkg): migrate go-io/go-log to Core primitives
Replace separate go-io (coreio) and go-log (coreerr) packages with
Core's built-in Fs and error/logging functions. This is the reference
implementation for how all Core ecosystem packages should migrate.

Changes:
- coreio.Local.Read/Write/EnsureDir/Delete/IsFile → core.Fs methods
- coreerr.E() → core.E(), coreerr.Info/Warn/Error → core.Info/Warn/Error
- (value, error) return pattern → core.Result pattern (r.OK, r.Value)
- go-io and go-log moved from direct to indirect deps in go.mod
- Added AX usage-example comments on key public types
- Added newFs("/") helper for unrestricted filesystem access

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 03:41:07 +00:00
..
brain.go refactor(pkg): migrate go-io/go-log to Core primitives 2026-03-22 03:41:07 +00:00
brain_test.go test(brain): add unit tests for recall, remember, messaging 2026-03-21 13:46:33 +00:00
bridge_test.go refactor: migrate imports to dappco.re paths + bump mcp to v0.4.0 2026-03-22 01:27:48 +00:00
direct.go refactor(pkg): migrate go-io/go-log to Core primitives 2026-03-22 03:41:07 +00:00
direct_test.go refactor(pkg): migrate go-io/go-log to Core primitives 2026-03-22 03:41:07 +00:00
messaging.go refactor(pkg): migrate go-io/go-log to Core primitives 2026-03-22 03:41:07 +00:00
messaging_test.go test(brain): add unit tests for recall, remember, messaging 2026-03-21 13:46:33 +00:00
provider.go refactor: migrate imports to dappco.re paths + bump mcp to v0.4.0 2026-03-22 01:27:48 +00:00
provider_test.go test(brain): add unit tests for recall, remember, messaging 2026-03-21 13:46:33 +00:00
tools.go refactor(pkg): migrate go-io/go-log to Core primitives 2026-03-22 03:41:07 +00:00