Integrate the shared document renderer and two-trees project work #209

Merged
weichen merged 49 commits from feature/unified-document-renderer-task10 into main 2026-10-18 12:41:32 +00:00
Showing only changes of commit 1ec21f1c05 - Show all commits
+10
View File
@@ -402,6 +402,16 @@ func Run(opt Options) error {
if mgr := mcpManagerFor(rawMCP, strings.TrimSpace(effNow.GetString("tools.mcp.overrides", ""))); mgr != nil {
cfg.MCP = mgr
}
// Native squad tools do not yet expose a fail-closed result hook to the
// project observation outbox. Project runs therefore use the audited
// runCtx retrieval/tool path only; enabling these direct providers would
// let their results reach the next model turn without source analysis.
if rc.Run().ProjectID != "" {
cfg.Search = nil
cfg.Exec = nil
cfg.Fetch = nil
cfg.MCP = nil
}
cfg.CodeOrchestration = effNow.GetBool("runtime.codeOrchestration", false)
if ask, ok := rc.(interface {
AskUser(card core.HITLCard) (core.HITLResponse, error)