Skip to content

docs: add MCP Tasks lifecycle guide - #1189

Open
TheMostlyGreat wants to merge 5 commits into
mainfrom
codex/mcp-tasks-lifecycle-guide
Open

TheMostlyGreat wants to merge 5 commits into
mainfrom
codex/mcp-tasks-lifecycle-guide

Conversation

@TheMostlyGreat

@TheMostlyGreat TheMostlyGreat commented Sep 12, 2026

Copy link
Copy Markdown

Summary

  • document the internal Arcade Cloud background-execution preview
  • cover native MCP Tasks, ordinary-client compatibility, and REST lifecycle operations
  • explain deadlines, task-time input acknowledgement, cancellation truth, and webhook reconciliation
  • keep external, self-hosted, local, and operator recovery paths explicitly gated to M3
  • add a focused content-completeness contract

Verification

  • pnpm vitest run tests/mcp-tasks-guide.test.ts tests/internal-link-check.test.ts tests/broken-link-check.test.ts
  • pnpm typecheck
  • pnpm exec vale app/en/build/tool-calling/background-executions/page.mdx

Note

Low Risk
Documentation and content-contract tests only; no runtime or API behavior changes.

Overview
Adds a new Run background tool executions doc under tool-calling and wires it into the section nav and llms.txt index.

The page explains how agent developers start durable tool work and follow it through native MCP Tasks (tasks/get, tasks/update, tasks/cancel), compatibility handles for clients like Claude/ChatGPT (arcade.execution/v1 plus Arcade_* tools), and the owner REST lifecycle (/tool-executions, idempotency, deadlines, saturation). It also covers operator recovery, Engine restart, webhook verification/reconciliation, and terminal failure recovery—with explicit callouts that native Tasks and some operator paths are gated in Arcade Cloud vs opt-in self-hosted/local.

A new Vitest suite (mcp-tasks-guide.test.ts) asserts the guide still mentions required topics (feature flags, routes, webhook signing, cloud boundaries, etc.).

Reviewed by Cursor Bugbot for commit e8bac4e. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Sep 13, 2026 12:24am UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant