Answer architecture round 1: 0 🔴, 36 🟡 (0 misread); chunk_driver holds what both drivers share, and Jira and review-state reads have one home each
CI / tests (pull_request) Successful in 5m11s
CI / tests (pull_request) Successful in 5m11s
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import pathlib
|
||||
|
||||
from failure import Failure
|
||||
|
||||
from loop_effects.effects import Effects
|
||||
from agent_cycle.stop import Stop
|
||||
|
||||
|
||||
def checkout_root(cwd: pathlib.Path, effects: Effects) -> str | Stop:
|
||||
found = effects.git("rev-parse", "--show-toplevel", cwd=str(cwd))
|
||||
return Stop(1, found.reason) if isinstance(found, Failure) else found.strip()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user