Planning clients and external workers
Use Agents & API to create an unbound Integration client for planning, with independently selected planning/resource/calendar scopes. Create its credential separately; it is displayed once. Resource/calendar configuration also requires an active administrator sponsor. Do not grant execution privileges merely to plan work.
Create each worker client with an active AI resource association and only its required tasks and human-assistance scopes. Workers discover assigned work, claim/release/renew leases, report status and actual time, append notes, ask humans for help, attach result links and complete tasks. They cannot change project planning, dependencies, durations, sequence, resource assignment or calendars.
The authoritative resource directory is GET /api/v1/resources with resources:read. It includes human and AI resource type and availability mode. Resource creation never creates a login, client credential or membership.
Full contract and copyable HTTP examples: Planning API guide, worker guides, OpenAPI. The planning client uses plan ETags and durable keyed creation receipts. Worker requests use current task ETags and a matching live claim token where required. Keep secrets out of files committed to repositories.
Factual effort
Actual intervals are historical facts, independent of planned allocations, working patterns, estimated duration and calculated remaining effort. Work outside the original allocation is allowed. Start/end accept ISO date-times containing T and seconds, with up to seven fractional digits. Z or explicit offsets are converted to Europe/London; bare values are London wall time. Seconds and fractional seconds are preserved without rounding. Each end must be after its start and at or before precise current London time; genuinely future ends return HTTP 422 validation_failed with an explicit future-interval message. Starts must be in 2000 or later and ends in 2099 or earlier. Intervals for the same resource must not overlap; adjacent intervals are allowed. The actualIntervals array replaces recorded intervals rather than incrementing them. Preserve all intended own intervals and include other contributors' existing intervals unchanged; changing or omitting their contributions is forbidden. An empty array clears actuals only when no other contributor's intervals would be removed. Existing authentication, ownership, claim and If-Match requirements apply. There is no whole-minute requirement.