fix(maf): recover clarification checkpoints stuck in running

Re-enter clarification recovery even when manager_dispatch is already completed, and expand V2 runner tests for group_chat seat filtering and recover().

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
董宏凯andCursor committed 2026-08-05 22:54:07 +08:00
1 parent f9a5b5bc1e
commit a786cdcad0
5 files changed
+245 -56

No files matched your search

@@ -11,14 +11,11 @@ P1-2: A clarification checkpoint must restore the original prompt without
from __future__ import annotations
import asyncio
import json
from datetime import datetime
from types import SimpleNamespace
from unittest.mock import AsyncMock
import pytest
import pytest_asyncio
from maf_test_helpers import make_maf_service
from sqlalchemy.ext.asyncio import async_sessionmaker, create_async_engine
from app.maf_roundtable.workflow_executors import (
@@ -27,12 +24,6 @@ from app.maf_roundtable.workflow_executors import (
)
from deerflow.persistence.base import Base
from deerflow.persistence.maf_roundtable import make_maf_roundtable_store
from deerflow.persistence.maf_roundtable.model import (
MafRoundtableParticipantRow,
MafRoundtableRunRow,
MafRoundtableSessionRow,
)
# ── Fixtures ─────────────────────────────────────────────────────────────────