Nicky Leach and Paperclip
cc2e1d9d43
Honor plugin task driver concurrency defaults on hire ( #23535 )
...
## Thinking Path
> - Paperclip schedules work for agents.
> - Each agent has a limit on simultaneous runs.
> - A task driver can provide an execution environment with its own
capacity.
> - Previously the creation form sent the same limit for every driver.
> - A driver can now declare the value Core saves when a new agent has
no explicit limit.
## Linked Issues or Issue Description
**Subsystem affected**
Agent hiring and plugin environment drivers.
**Current behavior**
The create form, API, and import flow supply the global concurrency
default before the task driver can provide one.
**Proposed behavior**
Let each task driver declare an optional per-agent concurrency default.
Apply it once during hire and honor explicit agent limits.
## What Changed
- Refreshed the three SDK source pins for the changed files.
- Added the optional driver field `defaultMaxConcurrentRuns` with
integer bounds from 1 through 50.
- Applied it during hire using the resolved task environment. Saved the
resolved runtime configuration in hire approvals.
- Removed early defaults from the creation form, routes and new-agent
imports. Preserved saved limits on export, including explicit values
equal to the global default. Kept the current limit when importing an
update with an omitted limit.
## Verification
- [Full PR
CI](https://github.com/paperclipai/paperclip/actions/runs/47000023360 )
passed on `83cce42b9a`. Server shard 16 passed on retry after a
PostgreSQL connection reset on the first attempt.
- `pnpm -r typecheck` passed. The SDK source pin check passed. `pnpm
verify` selected broad CI coverage because the SDK input registry
changed.
- On rebased commit `83cce42b9a`, all 441 tests in six focused Vitest
suites passed, including the MCP rollback test corrected in #23560 . The
SDK source pin check passed.
## Risks
This affects new hires on drivers that opt in. Existing agents retain
their saved configuration. Single-run provider limits still apply. An
older client that explicitly sends the global default will keep that
value.
## Model Used
OpenAI GPT-6 via Codex. Used local source inspection, code editing,
TypeScript and test execution.
## Checklist
- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [x] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [x] I have either (a) linked existing issues with `Fixes: #` / `Closes
#` / `Refs #` OR (b) described the issue in-PR following the relevant
issue template
- [x] I have not referenced internal/instance-local Paperclip issues or
links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip`
URLs)
- [x] My branch name describes the change (e.g. `docs/...`, `fix/...`)
and contains no internal Paperclip ticket id or instance-derived details
- [x] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [x] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented any risks above
- [x] All Paperclip CI gates are green
- [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge
---------
Co-authored-by: Paperclip <noreply@paperclip.ing >
2026-12-02 16:23:42 -08:00
..
2026-12-02 16:40:01 -06:00
2026-11-27 15:09:48 +00:00
2026-11-25 15:32:39 -06:00
2026-12-01 20:41:33 -08:00
2026-12-02 16:53:07 -06:00
2026-12-01 20:54:03 +00:00
2026-12-01 21:53:58 +00:00
2026-12-01 20:41:33 -08:00
2026-12-01 22:40:42 -08:00
2026-12-01 08:28:04 +00:00
2026-11-24 18:32:11 -06:00
2026-11-17 20:45:44 -08:00
2026-12-02 06:13:26 -06:00
2026-11-24 19:54:23 -06:00
2026-12-02 12:05:16 -08:00
2026-12-02 06:13:26 -06:00
2026-11-21 13:59:00 -08:00
2026-11-17 16:59:05 -08:00
2026-11-24 15:01:19 -06:00
2026-11-30 23:01:24 +00:00
2026-11-17 14:28:27 -08:00
2026-11-25 08:36:37 -06:00
2026-12-01 23:33:24 -08:00
2026-11-15 12:54:23 -06:00
2026-11-14 20:14:47 -06:00
2026-11-18 17:36:30 -06:00
2026-11-18 16:41:53 -08:00
2026-12-01 23:20:07 +00:00
2026-12-02 16:23:42 -08:00
2026-11-22 01:17:29 -08:00
2026-11-17 16:04:19 -08:00
2026-11-18 16:41:53 -08:00
2026-11-17 14:28:27 -08:00
2026-11-18 19:24:40 -08:00
2026-11-15 08:44:06 -06:00
2026-11-17 20:45:44 -08:00
2026-11-15 01:34:08 -06:00
2026-11-15 12:54:23 -06:00
2026-12-01 23:33:24 -08:00
2026-12-01 08:13:39 -08:00
2026-12-01 08:13:39 -08:00
2026-11-23 15:44:44 -06:00
2026-11-25 22:06:37 +00:00
2026-12-01 10:20:56 +00:00
2026-11-17 10:48:06 -06:00
2026-11-17 10:48:06 -06:00
2026-11-23 11:52:56 -08:00
2026-11-23 11:52:56 -08:00
2026-11-23 11:52:56 -08:00
2026-11-23 14:37:16 -08:00
2026-11-23 14:37:16 -08:00
2026-11-20 04:29:05 -08:00
2026-11-25 14:44:42 -06:00
2026-11-25 08:52:03 -06:00
2026-11-25 08:52:03 -06:00
2026-11-25 14:30:43 -06:00
2026-11-25 08:36:37 -06:00
2026-11-25 01:45:06 -06:00
2026-12-01 22:01:25 +00:00
2026-12-01 22:01:25 +00:00
2026-12-01 22:01:25 +00:00
2026-11-24 18:33:27 -08:00
2026-11-24 18:33:27 -08:00
2026-11-24 18:33:27 -08:00
2026-11-24 18:33:27 -08:00
2026-11-14 22:41:47 -06:00
2026-12-01 23:54:54 +00:00
2026-11-17 20:45:44 -08:00
2026-11-17 20:45:44 -08:00
2026-11-18 02:43:28 -06:00
2026-12-01 08:12:19 -06:00
2026-11-23 19:41:25 -06:00
2026-11-25 21:42:21 -06:00
2026-11-17 20:45:44 -08:00
2026-11-16 05:52:57 -06:00
2026-11-19 09:26:06 -08:00
2026-11-19 09:26:06 -08:00
2026-11-17 16:04:19 -08:00
2026-11-17 17:42:18 -08:00
2026-11-25 15:31:46 -06:00
2026-11-14 13:42:06 -06:00
2026-11-14 13:42:06 -06:00
2026-11-23 14:54:42 -06:00
2026-11-27 15:09:48 +00:00
2026-11-18 15:00:57 -06:00
2026-11-18 15:00:57 -06:00
2026-11-27 12:56:25 +00:00
2026-11-15 10:47:34 -06:00
2026-11-14 20:31:40 -06:00
2026-11-14 14:24:16 -06:00
2026-11-17 20:45:44 -08:00
2026-11-17 20:45:44 -08:00
2026-11-16 05:52:57 -06:00
2026-11-27 14:31:51 +00:00
2026-11-19 09:26:06 -08:00
2026-11-25 16:01:38 -06:00
2026-12-01 20:54:03 +00:00
2026-12-01 20:54:03 +00:00
2026-12-01 20:54:03 +00:00
2026-12-01 16:37:08 +00:00
2026-12-02 16:29:41 -06:00
2026-12-02 16:29:41 -06:00
2026-12-01 20:54:03 +00:00
2026-12-02 16:29:41 -06:00
2026-12-02 16:29:41 -06:00
2026-11-16 05:52:57 -06:00
2026-11-17 20:45:44 -08:00
2026-11-23 19:26:22 -06:00
2026-12-02 16:23:42 -08:00
2026-11-30 11:21:05 -08:00
2026-11-25 15:31:27 -06:00
2026-11-18 10:45:55 -06:00
2026-11-25 16:01:38 -06:00
2026-11-25 08:52:03 -06:00
2026-11-23 12:05:43 -06:00
2026-11-23 12:05:43 -06:00
2026-11-26 14:12:16 +00:00
2026-11-16 22:15:40 -06:00
2026-11-16 22:15:40 -06:00
2026-11-25 15:32:05 -06:00
2026-11-25 15:32:05 -06:00
2026-11-14 14:24:16 -06:00
2026-11-17 20:45:44 -08:00
2026-11-17 08:07:44 -06:00
2026-11-30 14:44:08 +00:00
2026-11-30 14:44:08 +00:00
2026-11-16 22:15:40 -06:00
2026-11-23 19:35:59 -06:00
2026-11-24 19:57:23 -06:00
2026-11-14 20:31:40 -06:00
2026-11-19 10:16:52 -08:00
2026-11-15 06:02:54 -06:00
2026-12-01 23:54:54 +00:00
2026-12-01 10:22:32 -08:00
2026-11-25 15:33:38 -06:00
2026-12-01 08:46:42 +00:00
2026-11-17 11:42:36 -06:00
2026-11-25 15:32:27 -06:00
2026-11-14 20:31:40 -06:00
2026-11-15 08:52:49 -06:00
2026-11-16 08:24:47 -08:00
2026-11-20 04:57:36 -08:00
2026-11-20 04:53:42 -08:00
2026-11-25 04:26:49 -06:00
2026-11-15 12:54:23 -06:00
2026-11-15 12:54:23 -06:00
2026-11-18 11:47:33 -06:00
2026-11-20 04:57:36 -08:00
2026-11-18 01:24:13 -06:00
2026-11-18 01:24:13 -06:00
2026-11-18 01:24:13 -06:00
2026-11-24 17:19:32 -06:00
2026-12-01 11:26:21 -08:00
2026-11-25 04:26:49 -06:00
2026-11-18 20:39:56 -06:00
2026-11-18 20:39:56 -06:00
2026-11-23 18:31:16 -06:00
2026-11-23 07:49:59 -06:00
2026-11-16 09:51:09 -06:00
2026-11-15 08:15:41 +00:00
2026-11-30 16:22:07 +00:00
2026-11-19 05:24:53 -06:00
2026-11-19 19:54:15 -08:00
2026-11-19 19:54:15 -08:00
2026-11-30 11:41:01 -08:00
2026-11-18 19:32:27 -06:00
2026-11-30 15:44:28 +00:00
2026-11-25 15:32:47 -06:00
2026-11-17 11:42:36 -06:00
2026-12-01 10:20:56 +00:00
2026-11-17 20:45:44 -08:00
2026-12-02 16:29:41 -06:00
2026-11-24 19:57:23 -06:00
2026-11-18 11:00:20 -06:00
2026-11-14 21:42:10 -06:00
2026-11-17 23:49:21 -06:00
2026-11-26 14:12:16 +00:00
2026-11-26 14:12:16 +00:00
2026-11-25 04:26:49 -06:00
2026-11-25 12:11:21 -06:00
2026-12-01 22:40:42 -08:00
2026-11-20 06:13:08 -08:00
2026-11-19 14:44:03 -08:00
2026-11-23 15:28:07 -06:00
2026-11-23 16:19:01 -06:00
2026-11-24 19:57:23 -06:00
2026-11-25 15:32:39 -06:00
2026-11-25 15:32:39 -06:00
2026-11-20 15:45:36 -08:00
2026-12-02 01:47:17 +00:00
2026-12-02 14:47:56 -06:00
2026-12-01 23:54:54 +00:00
2026-12-02 06:13:26 -06:00
2026-12-02 06:13:26 -06:00
2026-12-02 14:47:56 -06:00
2026-12-02 06:13:26 -06:00
2026-12-02 01:47:17 +00:00
2026-12-01 08:12:19 -06:00
2026-12-02 06:13:26 -06:00
2026-12-01 23:54:54 +00:00
2026-12-01 23:54:54 +00:00
2026-12-02 06:13:26 -06:00
2026-12-01 08:12:19 -06:00
2026-12-01 23:54:54 +00:00
2026-12-01 23:54:54 +00:00
2026-12-01 23:54:54 +00:00
2026-11-25 12:11:21 -06:00
2026-11-25 12:11:21 -06:00
2026-11-25 15:32:20 -06:00
2026-11-17 17:42:18 -08:00
2026-11-25 02:50:44 -06:00
2026-11-30 11:41:01 -08:00
2026-11-24 19:57:23 -06:00
2026-11-30 17:29:31 -08:00
2026-11-17 20:45:44 -08:00
2026-11-15 09:50:19 -06:00
2026-11-17 11:42:36 -06:00
2026-11-25 16:01:38 -06:00
2026-11-14 19:18:39 -06:00
2026-11-20 04:34:53 -06:00
2026-11-25 21:42:21 -06:00
2026-11-25 15:32:12 -06:00
2026-11-25 15:32:12 -06:00
2026-11-18 09:03:58 -06:00
2026-12-01 08:12:19 -06:00
2026-11-25 04:32:38 -06:00
2026-11-25 04:32:38 -06:00
2026-11-18 19:32:27 -06:00
2026-11-18 15:27:05 -06:00
2026-11-25 04:37:02 -06:00
2026-12-01 17:20:21 +00:00
2026-11-25 15:33:38 -06:00
2026-11-24 00:32:12 -06:00
2026-11-18 19:24:39 -08:00
2026-11-25 04:37:02 -06:00
2026-12-01 23:54:54 +00:00
2026-11-20 06:17:00 -08:00
2026-12-01 21:53:58 +00:00
2026-11-18 16:04:42 -08:00
2026-11-23 18:50:38 +00:00
2026-12-01 08:12:19 -06:00
2026-11-16 05:52:57 -06:00
2026-12-01 21:53:58 +00:00
2026-12-01 21:53:58 +00:00
2026-11-25 15:33:44 -06:00
2026-12-01 10:20:56 +00:00
2026-11-16 14:33:39 -06:00
2026-11-16 14:33:39 -06:00
2026-11-30 23:01:24 +00:00
2026-12-01 16:43:39 +00:00
2026-11-25 07:36:36 -06:00
2026-11-30 23:01:24 +00:00
2026-11-18 19:35:56 -06:00
2026-11-23 13:15:08 -08:00
2026-12-01 08:13:39 -08:00
2026-12-01 16:58:28 -08:00
2026-12-01 16:58:28 -08:00
2026-12-02 01:49:46 +00:00
2026-11-30 14:20:23 -06:00
2026-11-17 12:01:23 -06:00
2026-11-23 19:16:22 +00:00
2026-11-20 19:02:39 -08:00
2026-11-26 14:12:16 +00:00
2026-11-16 22:15:40 -06:00
2026-11-19 10:28:05 -08:00
2026-11-15 09:19:23 -06:00
2026-11-20 10:31:58 -08:00
2026-11-20 10:31:58 -08:00
2026-11-17 08:55:35 -06:00
2026-11-17 08:55:35 -06:00
2026-11-30 23:01:24 +00:00
2026-11-30 23:01:24 +00:00
2026-12-01 20:54:03 +00:00
2026-11-23 18:31:16 -06:00
2026-11-23 19:38:30 -06:00
2026-11-23 10:21:22 -06:00
2026-11-23 19:42:00 -06:00
2026-11-17 10:48:06 -06:00
2026-11-19 08:52:42 -06:00
2026-11-23 12:55:29 -06:00
2026-11-23 12:55:29 -06:00
2026-11-17 15:52:20 -06:00
2026-11-23 12:55:29 -06:00
2026-11-23 15:28:07 -06:00
2026-11-23 16:19:01 -06:00
2026-11-23 16:19:01 -06:00
2026-11-17 11:42:36 -06:00
2026-11-17 18:09:42 +00:00
2026-11-30 16:22:09 +00:00
2026-11-17 18:09:42 +00:00
2026-11-24 14:24:05 -06:00
2026-12-01 23:33:24 -08:00
2026-11-30 16:22:09 +00:00
2026-11-17 14:00:14 -08:00
2026-11-15 08:09:04 -06:00
2026-12-01 08:13:39 -08:00
2026-12-01 08:13:39 -08:00
2026-11-15 08:09:04 -06:00
2026-11-15 08:09:04 -06:00
2026-12-01 23:20:07 +00:00
2026-11-17 14:00:14 -08:00
2026-12-02 01:49:46 +00:00
2026-11-15 10:10:25 -08:00
2026-11-23 07:49:59 -06:00
2026-11-23 07:49:59 -06:00
2026-11-14 20:43:39 -06:00
2026-11-23 15:31:58 -06:00
2026-11-18 19:32:27 -06:00
2026-11-30 15:44:28 +00:00
2026-11-20 05:17:37 -08:00
2026-11-19 08:52:42 -06:00
2026-11-14 21:42:06 -06:00
2026-11-25 15:32:12 -06:00
2026-11-25 15:32:12 -06:00
2026-11-23 14:37:16 -08:00
2026-11-23 14:37:16 -08:00
2026-11-24 19:54:23 -06:00
2026-11-25 21:42:21 -06:00
2026-11-17 15:47:13 -06:00
2026-11-18 15:26:56 -06:00
2026-11-17 02:25:02 -06:00
2026-11-17 12:01:23 -06:00
2026-11-14 18:41:29 -06:00
2026-11-30 17:29:31 -08:00
2026-11-23 18:30:33 -06:00
2026-11-23 20:06:05 -06:00
2026-11-23 19:42:00 -06:00
2026-11-23 19:42:00 -06:00
2026-11-27 12:43:54 +00:00
2026-11-27 12:43:54 +00:00
2026-11-27 12:43:54 +00:00
2026-11-21 03:07:06 -08:00
2026-11-25 04:26:49 -06:00
2026-12-01 15:11:35 +00:00
2026-12-01 15:11:35 +00:00
2026-11-14 18:41:29 -06:00
2026-12-01 09:14:24 +00:00
2026-12-01 09:14:24 +00:00
2026-12-02 02:26:46 -08:00
2026-11-25 04:26:49 -06:00
2026-11-25 04:34:15 -06:00
2026-11-19 08:52:42 -06:00
2026-11-28 12:53:18 +00:00
2026-11-21 13:59:00 -08:00
2026-11-21 13:59:00 -08:00
2026-11-21 13:59:00 -08:00
2026-11-21 13:59:00 -08:00
2026-11-17 20:45:44 -08:00
2026-11-21 13:59:00 -08:00
2026-11-21 13:59:00 -08:00
2026-11-17 20:45:44 -08:00
2026-11-21 13:59:00 -08:00
2026-11-21 13:59:00 -08:00
2026-11-17 20:45:44 -08:00
2026-11-19 08:52:42 -06:00
2026-11-21 13:59:00 -08:00
2026-11-19 08:52:42 -06:00
2026-11-17 20:45:44 -08:00
2026-11-17 20:45:44 -08:00
2026-11-21 13:59:00 -08:00
2026-11-17 20:45:44 -08:00
2026-11-17 20:45:44 -08:00
2026-11-19 09:30:49 -06:00
2026-12-02 01:49:46 +00:00
2026-11-20 09:49:17 -08:00
2026-11-17 22:11:04 -06:00
2026-11-17 22:11:04 -06:00
2026-11-17 20:45:44 -08:00
2026-11-21 13:59:00 -08:00
2026-11-19 09:30:03 -06:00
2026-11-18 13:13:15 -06:00
2026-11-24 15:44:57 -06:00
2026-11-16 14:38:41 -06:00
2026-11-14 21:10:11 -06:00
2026-11-17 20:45:44 -08:00
2026-11-15 23:46:49 -06:00
2026-11-16 05:52:57 -06:00
2026-11-25 21:42:21 -06:00
2026-11-19 10:28:05 -08:00
2026-11-19 10:28:05 -08:00
2026-11-19 10:28:05 -08:00
2026-11-23 18:32:00 -06:00
2026-12-01 10:20:56 +00:00
2026-12-01 10:20:56 +00:00
2026-11-19 14:44:03 -08:00
2026-11-16 22:15:40 -06:00
2026-11-25 12:11:21 -06:00
2026-11-17 08:55:35 -06:00
2026-11-17 08:55:35 -06:00
2026-11-30 14:44:08 +00:00
2026-11-20 14:40:39 -08:00
2026-11-30 16:22:09 +00:00
2026-11-30 16:22:09 +00:00
2026-11-25 08:44:08 -06:00
2026-11-25 08:44:08 -06:00
2026-11-17 14:00:14 -08:00
2026-11-16 14:28:10 -08:00
2026-11-24 19:12:52 -06:00
2026-12-01 21:53:58 +00:00
2026-11-16 05:52:57 -06:00
2026-11-28 07:06:27 +00:00
2026-11-14 21:13:45 -06:00
2026-11-23 13:15:08 -08:00
2026-11-23 13:15:08 -08:00
2026-12-02 08:20:16 -08:00
2026-12-02 08:20:16 -08:00
2026-12-02 08:20:16 -08:00
2026-11-23 18:31:16 -06:00
2026-11-25 21:42:21 -06:00
2026-11-18 17:36:30 -06:00
2026-11-18 17:36:30 -06:00
2026-11-27 07:08:10 +00:00
2026-11-19 09:30:49 -06:00
2026-11-19 09:30:49 -06:00
2026-11-25 11:05:40 -06:00
2026-11-18 23:54:10 -06:00
2026-11-23 13:32:48 -08:00
2026-11-24 19:12:52 -06:00
2026-11-25 04:34:03 -06:00
2026-11-24 19:54:23 -06:00
2026-11-24 19:54:23 -06:00
2026-11-20 10:32:41 -06:00
2026-11-20 10:32:41 -06:00
2026-11-16 05:52:57 -06:00
2026-11-17 13:40:35 -08:00
2026-11-25 15:33:31 -06:00
2026-12-02 16:09:19 -06:00
2026-11-25 15:33:31 -06:00
2026-11-23 18:50:38 +00:00
2026-11-23 15:28:07 -06:00
2026-11-17 08:55:35 -06:00
2026-11-24 19:57:23 -06:00
2026-11-25 15:31:40 -06:00
2026-12-01 22:40:42 -08:00
2026-11-25 15:32:01 -06:00
2026-11-17 18:09:42 +00:00
2026-11-24 19:54:23 -06:00
2026-11-18 19:32:27 -06:00
2026-11-18 12:48:49 -06:00
2026-11-23 18:30:33 -06:00
2026-11-23 12:56:12 -06:00
2026-12-01 10:20:56 +00:00
2026-11-19 07:23:03 -08:00
2026-11-23 15:31:58 -06:00
2026-11-25 04:34:03 -06:00
2026-11-25 04:34:03 -06:00
2026-11-23 19:39:56 -06:00
2026-11-23 19:39:56 -06:00