feat(executor): add cross-AI execution hook (step 2.5) in execute-phase (#1875)

Add optional cross-AI delegation step that lets execute-phase delegate
plans to external AI runtimes via stdin-based prompt delivery. Activated
by --cross-ai flag, plan frontmatter cross_ai: true, or config key
workflow.cross_ai_execution. Adds 3 config keys, template defaults,
and 18 tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-04-11 09:20:27 -04:00
parent b84dfd4c9b
commit 21ebeb8713
4 changed files with 251 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ const VALID_CONFIG_KEYS = new Set([
'workflow.code_review_depth',
'git.branching_strategy', 'git.base_branch', 'git.phase_branch_template', 'git.milestone_branch_template', 'git.quick_branch_template',
'planning.commit_docs', 'planning.search_gitignored',
'workflow.cross_ai_execution', 'workflow.cross_ai_command', 'workflow.cross_ai_timeout',
'workflow.subagent_timeout',
'hooks.context_warnings',
'features.thinking_partner',