Integrate master 78ae4fc2d4d8ecaebb4b674028f781a358b92cc9 after the four independent review fixes. Keep this base update separate from those fixes and from subsequent review changes so the integration is independently reviewable and the observed-master checkpoint remains preserved. Retain activation-owned execution, caller-independent local discovery, and unconditional parent final-answer delivery. Preserve master's preset scoped scheduling tools and all delegated-child schedule deny rules. Move the new scheduling regression from the removed driver package into the surviving subagent package and run it through a real Spawn activation. Preserve master's removal of runtime invariant plugins, dependencies, exports, and test mounts. Keep context disposal before fixture directory cleanup. Combine Python workflow ordering with activation/catalog events without inventing unsupported source-plane import paths. Keep all frozen Agent Note archives byte-for-byte identical to master; do not accept Git's automatic edits to renamed archived notes. Retain current lifecycle and delivery facts in active documentation, repair its links, and regenerate catalogs/persistence schemas from merged source. All 62 master persistence roots remain; only subagent/catalog gains the PR's external membership extension. Keep master's third-party lock graph and update only workspace dependency changes. Validation before this checkpoint: 683 focused tests passed, seven Windows-only cases skipped; 2,772 archived artifacts verified. Generated catalog and active-pair checks passed. Fresh artifact build and remaining build-dependent documentation checks continue before publication.
description, kind
| description | kind |
|---|---|
| The jobs group map: background-job control — the registry contract, process-local storage, and the model-facing job tools — for users and maintainers navigating the group. | package-group |
jobs/ — background-job capability family
English | 中文
Summary
The jobs group is the background-work capability family: tools that run long work register it as a job, and the owning agent can read, wait on, list, and cancel it without blocking its own turn. Jobs belong to the agent session that started them, so one agent never sees another's work, and completion is delivered to the owning agent in-session instead of polled. The group splits into the registry contract (jobs), its process-local storage (jobs-local), and the model-facing control tools with completion notices (tool-jobs).
Table of Contents
Packages
| Package | Role | ctx key |
|---|---|---|
jobs |
Defines the background-job contract: ids, ownership, lifecycle, and completion listeners | ctx.jobs |
jobs-local |
Runs and stores jobs in this process, fenced per owner | registers on ctx.jobs |
tool-jobs |
Lets the model read, list, and kill jobs and delivers completion notices | registers on ctx.tools |
Related documentation
- Background task runtime subsystem — the job types, snapshot fields, and the
ctx.jobsAPI. - Generic long-running tool runtime reference — the design behind the background-job runtime.
- job-registry seam Agent Note — the owner-fenced registry contract and its rationale.
Dev Note
Working context for maintainers — click to expand
None.