Branch text
branch_text
Text renderers for GitBranchTool dual-format ToolResult.
Transform the structured data dict produced by
:class:axm_git.tools.branch.GitBranchTool into a compact, token-efficient
text representation, following the AXM header convention::
Text Only
git_branch | ✓ | {branch}
git_branch | ✗ | {error}
render_failure_text(*, error, data)
Render the failure-path text representation.
Appends a child-repo hint line when data carries suggestions
(the not-a-repo enrichment from :func:not_a_repo_error).
Source code in packages/axm-git/src/axm_git/tools/branch_text.py
render_text(data)
Render the success-path data dict ({"branch": ...}).