Skill v1.0.0
currentLLM-judged scan90/100version: "1.0.0" name: testweaver-native-external-worker description: "Use when a native Leader assigns a real AgentTeams Task and this Worker must perform one bounded external execution through the testweaver-native-worker MCP tool."
Native external Worker execution
Use this skill only after the native Leader has assigned you a real AgentTeams Task and supplied the opaque assignment references. The native TeamHarness remains responsible for task state, room messages, delegation, submission, and acceptance.
For a fresh task, treat only the current assignment and its current task/context references as authoritative. Do not use recall, search, or prior-run history, or messages and artifacts from another run to choose or repeat work. Your first allowed work action is to read the current task/context references, then invoke native_worker_execute exactly once through this MCP tool.
Call the single testweaver-native-worker MCP tool once for one-shot external work. Pass only these four fields:
assignment: the native project, task, room, Worker, Leader, and task
references from the current assignment; keep read_only true.
config: the existingAdapterConfigshape (adapter_kind, protected
route references, and approved limits). For DSH, use only deepseek or aliyun-bailian; for the CLI use codex-cli with provider codex-cc.
provenance: the source, revision, and method for this Worker result.prompt: the bounded, non-interactive instruction for this one execution.
Use this generic contract-shaped example (replace only with the current opaque references; never add resolved values or case-specific fields):
{"assignment": {"project_id": "native-project-ref","task_id": "native-task-ref","room_id": "native-task-room-ref","worker_id": "native-worker-ref","leader_id": "native-leader-ref","task_ref": "native-task-spec-ref","read_only": true},"config": {"adapter_kind": "dsh","route": {"provider": "deepseek","endpoint": {"source": "env", "name": "TESTWEAVER_DSH_ENDPOINT"},"model": {"source": "env", "name": "TESTWEAVER_DSH_MODEL"},"credential": {"source": "env", "name": "TESTWEAVER_DSH_CREDENTIAL"},"wire_api": "chat"},"limits": {"timeout_seconds": 120,"max_model_decisions": 4,"max_tool_calls": 8,"max_cost_units": 3}},"provenance": {"source": "external-result-receipt","source_revision": "frozen-source-revision","method": "bounded native external execution"},"prompt": "Read only the current assigned task inputs and return a bounded result."}
The DSH route receives endpoint, model, and credential locations only; never place a resolved value in the request. The Codex route is fixed to codex-cc, model gpt-5.6-luna, and reasoning max, with the protected HOME and CODEX_HOME environment. Do not override its executable, argv, working directory, environment, or sandbox.
The tool returns the shared NormalizedResult plus non-secret process observations. Missing upstream usage stays unavailable; do not convert it to zero or infer provider output. Use the returned artifact and provenance as evidence, then use the native TeamHarness task contract to report your result.
This tool has no native task, project, room, lease, scheduling, or Matrix permission. Do not use it to create work, delegate work, change status, or submit on another actor's behalf. Fake-process tests are local contract tests, not LIVE provider evidence.