You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tasks: pmcp documents ttl/poll_interval in seconds but forwards them unchanged; MCP defines both in milliseconds #330
The MCP 2025-11-25 spec defines TaskMetadata.ttl and Task.pollInterval in milliseconds. pmcp's docs and the tenant contract describe task.ttl / task.poll_interval on gateway.invoke in seconds, and pmcp forwards the number unchanged. So a caller asking for ttl: 300 (5 minutes, per pmcp's docs) gets a 300 ms retention from a spec-conforming downstream; reported pollInterval values are likewise read as seconds when they are milliseconds.
To decide
Which unit the gateway's own API uses (keeping seconds and converting at the boundary is least disruptive to callers; switching to milliseconds matches the spec but breaks the documented contract).
Implemented by #363 (merged), from the plan in #355. pmcp keeps seconds on its own interface and converts to MCP milliseconds at the boundary, per the owner's decision.
Activity
docs(plan): rev 2 of the #298 task-bounds plan after board round 1 (see
docs(plan): bound task ttl/poll_interval and every numeric field the …
fix(tasks): bound task ttl/poll_interval and every numeric field pmcp…
docs(plan): rev 2 - tenant-server warning and alias unit in docs, ali…
docs(plan): rev 3 - per-path behavioural backstop over every task rep…
docs(plan): task ttl/poll_interval stay in seconds; converted to MCP …
tests(tasks): bind invoke's task-mode gate over every taskSupport x t…
tasks: ttl/poll_interval stay in seconds; converted to MCP millisecon…
ViperJuice commentedon Oct 5, 2026
Implemented by #363 (merged), from the plan in #355. pmcp keeps seconds on its own interface and converts to MCP milliseconds at the boundary, per the owner's decision.
docs(migration): merge main (#363, #330); guide section for task ttl/…
release 3.0.0: date the release; MIGRATING notes for a checkout listi…