agent/pkg/brain
Snider 6be6cb095c feat(agent/brain): adopt shared T1 client + propagate org through actions (#177)
#177 (T3/5 — direct subsystem adopts shared client):
- pkg/brain/direct.go: HTTP transport now delegates to shared T1 client
  in core/mcp's pkg/mcp/brain/client (retry, circuit breaker, org propagation)
- pkg/brain/actions.go: org now survives from action options through
  remember/recall/list calls
- pkg/brain/direct_test.go + actions_test.go: tests updated for org propagation

Tickets deferred:
- #179 (T5/5 — cross-runtime contract test + BRAIN-CALLERS.md): needs
  cross-repo edits to mcp + external runtime consumers
- #180 (lift RFC-OPENBRAIN features into vendored BrainService):
  base schema lacks memory_scope; no agentBoot, brain:consolidate,
  agent-context endpoint, or lifecycle events present

Co-authored-by: Codex <noreply@openai.com>
Closes tasks.lthn.sh/view.php?id=177
2026-04-25 16:22:38 +01:00
..
actions.go feat(agent/brain): adopt shared T1 client + propagate org through actions (#177) 2026-04-25 16:22:38 +01:00
actions_example_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
actions_test.go feat(agent/brain): adopt shared T1 client + propagate org through actions (#177) 2026-04-25 16:22:38 +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 feat(agent/brain): adopt shared T1 client + propagate org through actions (#177) 2026-04-25 16:22:38 +01:00
direct_example_test.go revert fcb9c189e5 2026-04-23 12:32:57 +01:00
direct_test.go feat(agent/brain): adopt shared T1 client + propagate org through actions (#177) 2026-04-25 16:22:38 +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