MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / use_branch

Function use_branch

src/workflow/callpath.py:47–49  ·  view source on GitHub ↗

Enter a child branch (with a fresh counter); returns a reset token.

(path: CallKey)

Source from the content-addressed store, hash-verified

45
46
47def use_branch(path: CallKey):
48 """Enter a child branch (with a fresh counter); returns a reset token."""
49 return _current.set(Branch(path))
50
51
52def reset_branch(token) -> None:

Callers 3

guardedMethod · 0.85
run_itemMethod · 0.85
run_workflowFunction · 0.85

Calls 2

BranchClass · 0.85
setMethod · 0.45

Tested by

no test coverage detected