from __future__ import annotations

from app.core.agent.processes.v2.workflows.doc_update_from_feature_v2.subprocesses.common import SubprocessResult
from app.core.agent.processes.v2.workflows.doc_update_from_feature_v2.subprocesses.delete_doc.steps.step1_build_change.step import (
    BuildDeleteChangeStep,
)
from app.core.agent.processes.v2.workflows.doc_update_from_feature_v2.workflow_runtime.models import RequirementTaskContext


class DeleteDocSubprocess:
    def __init__(self) -> None:
        self._step = BuildDeleteChangeStep()

    def run(self, task: RequirementTaskContext) -> SubprocessResult:
        return self._step.run(task)
