2828
2929
3030@fast_router .reasoner ()
31- async def run_git_init (** kwargs ) -> dict : # type: ignore[override]
31+ async def run_git_init (
32+ repo_path : str ,
33+ goal : str ,
34+ artifacts_dir : str = "" ,
35+ model : str = "sonnet" ,
36+ permission_mode : str = "" ,
37+ ai_provider : str = "claude" ,
38+ previous_error : str | None = None ,
39+ build_id : str = "" ,
40+ ) -> dict :
3241 """Thin wrapper around execution_agents.run_git_init."""
3342 import swe_af .reasoners .execution_agents as _ea # noqa: PLC0415
34- return await _ea .run_git_init (** kwargs )
43+ return await _ea .run_git_init (
44+ repo_path = repo_path , goal = goal , artifacts_dir = artifacts_dir ,
45+ model = model , permission_mode = permission_mode , ai_provider = ai_provider ,
46+ previous_error = previous_error , build_id = build_id ,
47+ )
3548
3649
3750@fast_router .reasoner ()
38- async def run_coder (** kwargs ) -> dict : # type: ignore[override]
51+ async def run_coder (
52+ issue : dict ,
53+ worktree_path : str ,
54+ feedback : str = "" ,
55+ iteration : int = 1 ,
56+ iteration_id : str = "" ,
57+ project_context : dict | None = None ,
58+ memory_context : dict | None = None ,
59+ model : str = "sonnet" ,
60+ permission_mode : str = "" ,
61+ ai_provider : str = "claude" ,
62+ ) -> dict :
3963 """Thin wrapper around execution_agents.run_coder."""
4064 import swe_af .reasoners .execution_agents as _ea # noqa: PLC0415
41- return await _ea .run_coder (** kwargs )
65+ return await _ea .run_coder (
66+ issue = issue , worktree_path = worktree_path , feedback = feedback ,
67+ iteration = iteration , iteration_id = iteration_id ,
68+ project_context = project_context , memory_context = memory_context ,
69+ model = model , permission_mode = permission_mode , ai_provider = ai_provider ,
70+ )
4271
4372
4473@fast_router .reasoner ()
45- async def run_verifier (** kwargs ) -> dict : # type: ignore[override]
74+ async def run_verifier (
75+ prd : dict ,
76+ repo_path : str ,
77+ artifacts_dir : str ,
78+ completed_issues : list [dict ] | None = None ,
79+ failed_issues : list [dict ] | None = None ,
80+ skipped_issues : list [str ] | None = None ,
81+ model : str = "sonnet" ,
82+ permission_mode : str = "" ,
83+ ai_provider : str = "claude" ,
84+ ) -> dict :
4685 """Thin wrapper around execution_agents.run_verifier."""
4786 import swe_af .reasoners .execution_agents as _ea # noqa: PLC0415
48- return await _ea .run_verifier (** kwargs )
87+ return await _ea .run_verifier (
88+ prd = prd , repo_path = repo_path , artifacts_dir = artifacts_dir ,
89+ completed_issues = completed_issues or [], failed_issues = failed_issues or [],
90+ skipped_issues = skipped_issues or [],
91+ model = model , permission_mode = permission_mode , ai_provider = ai_provider ,
92+ )
4993
5094
5195@fast_router .reasoner ()
52- async def run_repo_finalize (** kwargs ) -> dict : # type: ignore[override]
96+ async def run_repo_finalize (
97+ repo_path : str ,
98+ artifacts_dir : str = "" ,
99+ model : str = "sonnet" ,
100+ permission_mode : str = "" ,
101+ ai_provider : str = "claude" ,
102+ ) -> dict :
53103 """Thin wrapper around execution_agents.run_repo_finalize."""
54104 import swe_af .reasoners .execution_agents as _ea # noqa: PLC0415
55- return await _ea .run_repo_finalize (** kwargs )
105+ return await _ea .run_repo_finalize (
106+ repo_path = repo_path , artifacts_dir = artifacts_dir ,
107+ model = model , permission_mode = permission_mode , ai_provider = ai_provider ,
108+ )
56109
57110
58111@fast_router .reasoner ()
59- async def run_github_pr (** kwargs ) -> dict : # type: ignore[override]
112+ async def run_github_pr (
113+ repo_path : str ,
114+ integration_branch : str ,
115+ base_branch : str ,
116+ goal : str ,
117+ build_summary : str = "" ,
118+ completed_issues : list [dict ] | None = None ,
119+ accumulated_debt : list [dict ] | None = None ,
120+ artifacts_dir : str = "" ,
121+ model : str = "sonnet" ,
122+ permission_mode : str = "" ,
123+ ai_provider : str = "claude" ,
124+ ) -> dict :
60125 """Thin wrapper around execution_agents.run_github_pr."""
61126 import swe_af .reasoners .execution_agents as _ea # noqa: PLC0415
62- return await _ea .run_github_pr (** kwargs )
127+ return await _ea .run_github_pr (
128+ repo_path = repo_path , integration_branch = integration_branch ,
129+ base_branch = base_branch , goal = goal , build_summary = build_summary ,
130+ completed_issues = completed_issues , accumulated_debt = accumulated_debt ,
131+ artifacts_dir = artifacts_dir , model = model ,
132+ permission_mode = permission_mode , ai_provider = ai_provider ,
133+ )
63134
64135
65136from . import executor # noqa: E402, F401 — registers fast_execute_tasks
137+ from . import planner # noqa: E402, F401 — registers fast_plan_tasks
138+ from . import verifier # noqa: E402, F401 — registers fast_verify
66139
67140__all__ = [
68141 "fast_router" ,
@@ -72,4 +145,6 @@ async def run_github_pr(**kwargs) -> dict: # type: ignore[override]
72145 "run_repo_finalize" ,
73146 "run_github_pr" ,
74147 "executor" ,
148+ "planner" ,
149+ "verifier" ,
75150]
0 commit comments