feat(maf): Phase 5 - action coordinator, approval flow, frontend MAF roundtable pages

- Backend: action_coordinator, capability_snapshot, event_normalizer, tool_executor updates
- Backend: approved_tool_executor with write guard, action leases, migration script
- Frontend: maf-roundtable module (API client, event timeline, approval cards, fact flow panel)
- Frontend: MafRoutes, MafSessionsPage, MafRunDetailPage
- Tests: action_leases, migration_phase5, phase5_entry_e2e, real_write_e2e/http_e2e
- Docs: update implementation plan

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
董宏凯andCursor committed 2026-08-02 13:07:21 +08:00
1 parent 21c4c898e7
commit f82363d81f
55 files changed
+6304 -167

No files matched your search

@@ -50,7 +50,11 @@ CHANNEL_VALUES: dict[str, Any] = {
def app_config():
from deerflow.config import get_app_config
return get_app_config()
# The production config mounts WriteGuard. These low-level executor tests
# that do not register a MAF service intentionally exercise the harness
# path without the app-layer validator; the dedicated enabled tests below
# provide the real bridge/service wiring.
return get_app_config().model_copy(update={"write_guard": WriteGuardConfig(enabled=False)})
def _snapshot(action_tool: str) -> dict[str, Any]: