pkg/agentic/transport.go is the low-level HTTP boundary behind core.Drive / core.API — there is no exported core/api generic request/response wrapper that covers protocol-level MCP POST/SSE exchange. Codex preflight confirmed: http.Client state, request construction, response handling, and header mutation are all present and intrinsic. Resolution: annotation rather than purge. Per AX-6 doctrine, when a core wrapper genuinely doesn't exist, explicit annotation is the correct outcome (vs forcing through a wrapper that doesn't fit). Doc comment now explains: "structural HTTP transport boundary for core.API protocol streams and raw MCP POST/SSE exchange; no exported core/api generic request wrapper covers this file." Future PR: when core/api exposes a generic request wrapper (potentially via #197 TransformerIn/Out gateway), revisit this file and replace where feasible. Co-authored-by: Codex <noreply@openai.com> Closes tasks.lthn.sh/view.php?id=222 |
||
|---|---|---|
| .. | ||
| agentic | ||
| brain | ||
| lib | ||
| messages | ||
| monitor | ||
| runner | ||
| setup | ||
| .DS_Store | ||