agent/pkg/brain
Snider e04f018b4c test(agent): add AX-10 unit tests for dispatch/session/sync/tools/content (#169)
Append-only — no existing tests modified.

- dispatch_test.go: TestDispatch_agentCommand_{Good,Bad,Ugly}
- session_test.go: TestSession_normaliseSessionAgentType_{Good,Bad,Ugly}
- sync_test.go: TestSync_syncBackoffSchedule_{Good,Bad,Ugly}
- tools_test.go: TestTools_RememberInput_{Bad,Ugly} (Good was pre-existing)
- content_test.go: TestContent_contentSchemaType_{Good,Bad,Ugly}

gofmt clean. Test verification deferred (private dappco.re/go/* deps
missing go.sum entries with GOWORK=off — would resolve under workspace).

Co-authored-by: Codex <noreply@openai.com>
Closes tasks.lthn.sh/view.php?id=169
2026-04-25 07:57:30 +01:00
..
actions.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
actions_example_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
actions_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
alias_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
brain.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
brain_example_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
brain_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
bridge_test.go feat(ax-10): bring agent to v0.8.0-alpha.1 + CLI test scaffold 2026-04-24 23:48:34 +01:00
direct.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
direct_example_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
direct_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
messaging.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
messaging_example_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
messaging_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
provider.go feat(ax-10): bring agent to v0.8.0-alpha.1 + CLI test scaffold 2026-04-24 23:48:34 +01:00
provider_example_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
provider_test.go feat(ax-10): bring agent to v0.8.0-alpha.1 + CLI test scaffold 2026-04-24 23:48:34 +01:00
register.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
register_example_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
register_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
tools.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
tools_example_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
tools_test.go test(agent): add AX-10 unit tests for dispatch/session/sync/tools/content (#169) 2026-04-25 07:57:30 +01:00