Move task subsystem to fastmcp-tasks package, disconnect SEP-1686 wire from core

Engine modules (keys, context snapshot, docket lifespan, worker CLI,
client handles) move intact; SEP-1686 wire modules park in _legacy_wire
for adaptation to SEP-2663. Core keeps task=True declaration on tools
only and raises at serve time until the tasks extension is registered.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jeremiah Lowin 2026-07-21 21:51:45 -04:00
commit 6fce4e538f
No known key found for this signature in database
119 changed files with 1191 additions and 3331 deletions

View file

@ -1,10 +1,14 @@
"""Tests for the fastmcp tasks CLI."""
import pytest
from fastmcp_tasks.worker_cli import check_distributed_backend, tasks_app
from fastmcp.cli.tasks import check_distributed_backend, tasks_app
from fastmcp.utilities.tests import temporary_settings
pytestmark = pytest.mark.skip(
reason="Phase 3: requires TasksExtension (SEP-2663 adapter)"
)
class TestCheckDistributedBackend:
"""Test the distributed backend checker function."""