refactor(state): drop unused is_explicit_fork_child wrapper

teknium flagged it as scope creep on PR #98691 review: no callers in the diff.
_is_explicit_fork_child_row (the row-based helper actually used) is unchanged.
This commit is contained in:
joaomarcos
2026-08-31 13:25:30 -03:00
committed by Teknium
parent 0e9b57d310
commit db88b6c97c
-4
View File
@@ -13955,10 +13955,6 @@ class SessionDB(SessionSearchMixin, SessionSchemaMixin, SessionPortabilityMixin)
# Export and cleanup
# =========================================================================
def is_explicit_fork_child(self, session_id: str) -> bool:
session = self.get_session(session_id)
return bool(session and self._is_explicit_fork_child_row(session))
def _is_explicit_fork_child_row(self, session: Dict[str, Any]) -> bool:
"""True when ``session`` is a branch, delegate, or tool child of its parent.