Nicky Leach and Paperclip
2168f50741
Forward provider credentials from verified image catalogs ( #21186 )
...
## Thinking Path
> - Paperclip manages AI agents for work.
> - Application images can ship plugins that provide task environments.
> - Paperclip starts plugin workers with a restricted process
environment.
> - An image author can know which provider credentials an image-bundled
worker needs.
> - The image catalog already identifies selected bundles and verifies
their content.
> - This change adds a way for the image catalog to declare the provider
keys that a verified worker receives.
## Linked Issues or Issue Description
**What existing behavior does this improve?**
Image-bundled environment drivers can use the worker credential delivery
already available to built-in providers.
**Current behavior**
The host provides fixed credential forwarding for certain built-in
providers.
**Proposed behavior**
A verified image bundle can receive provider API keys declared on its
own catalog entry.
**Reason and benefit**
Image authors can scope deployment credentials to the verified worker
that needs them.
## What Changed
- Add an optional provider credential declaration to the image-owned
distribution catalog.
- Scope forwarding to the verified worker for the selected bundle.
- Publish distribution catalog support for image builders.
## Verification
- The new loader regression failed before the change because the old
catalog rejected the credential declaration.
- Ran six focused Vitest suites for bundled activation, package
identity, distribution catalog validation, worker environment, and
managed configuration. 166 tests passed and one existing test was
skipped.
- Ran `pnpm --filter @paperclipai/server typecheck`. It passed.
- Reviewed the diff for secret values and personal information. Test
keys are synthetic.
- A downstream image build fixture exercised the catalog reader, bundle
verification, and worker environment together. The supported build
passed only the declared provider key to the verified worker. The build
for an older target omitted the declaration.
- Local verification used embedded PostgreSQL and prebuilt fixtures.
## Risks
- Deploy images with catalog credential declarations only to Core
versions that support the field. Older hosts reject unknown catalog
fields.
- The image author controls which verified bundle receives each provider
API key.
## Model Used
- Implementation: GPT-6.1 Sol (`gpt-6.1-sol`), delegated through Codex.
Independent Codex review and verification.
## Checklist
- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used
- [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
- [x] I have described the issue in the PR
- [x] I have used public references
- [x] My branch name describes the change
- [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 risks
- [x] All Paperclip CI gates are green
- [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address reviewer comments before requesting merge
Co-authored-by: Paperclip <noreply@paperclip.ing >
2026-11-12 20:53:08 +00:00
..
2026-11-11 10:03:53 -06:00
2026-11-12 07:57:42 -06:00
2026-11-12 13:28:05 -06:00
2026-11-12 12:12:41 -08:00
2026-11-12 14:30:32 -06:00
2026-11-07 02:12:48 -06:00
2026-11-12 12:30:14 -06:00
2026-11-12 14:34:26 -06:00
2026-11-07 16:41:15 -06:00
2026-11-10 03:47:48 -06:00
2026-11-12 06:19:21 -06:00
2026-11-10 02:14:53 -06:00
2026-11-09 22:12:49 -08:00
2026-11-09 22:12:49 -08:00
2026-11-12 01:23:59 +00:00
2026-11-12 01:23:59 +00:00
2026-11-08 17:06:13 -06:00
2026-11-09 20:34:04 -06:00
2026-11-12 09:37:07 -06:00
2026-11-11 20:06:36 -06:00
2026-11-12 01:23:59 +00:00
2026-11-09 17:49:34 -06:00
2026-11-09 20:34:04 -06:00
2026-11-09 20:34:04 -06:00
2026-11-11 20:06:51 -06:00
2026-11-11 16:50:28 -06:00
2026-11-11 16:50:28 -06:00
2026-11-09 20:34:04 -06:00
2026-11-09 20:34:04 -06:00
2026-11-12 08:18:04 -08:00
2026-11-09 20:34:04 -06:00
2026-11-07 14:37:36 -06:00
2026-11-07 14:37:36 -06:00
2026-11-09 20:34:04 -06:00
2026-11-09 17:49:34 -06:00
2026-11-11 21:20:08 -08:00
2026-11-07 07:48:39 -06:00
2026-11-06 23:57:48 -06:00
2026-11-06 23:57:48 -06:00
2026-11-11 17:49:39 -08:00
2026-11-11 17:49:39 -08:00
2026-11-11 17:49:39 -08:00
2026-11-09 17:37:20 -06:00
2026-11-11 17:49:39 -08:00
2026-11-10 10:15:48 -06:00
2026-11-11 17:49:39 -08:00
2026-11-12 12:39:21 -06:00
2026-11-12 09:37:07 -06:00
2026-11-11 18:50:00 -06:00
2026-11-07 21:46:39 -06:00
2026-11-08 22:56:28 -06:00
2026-11-07 21:46:39 -06:00
2026-11-09 07:02:47 -06:00
2026-11-10 17:43:46 -06:00
2026-11-08 22:56:28 -06:00
2026-11-08 22:56:28 -06:00
2026-11-12 12:39:21 -06:00
2026-11-09 20:34:04 -06:00
2026-11-12 20:53:08 +00:00
2026-11-11 17:30:32 -06:00
2026-11-11 13:36:08 -06:00
2026-11-11 13:36:08 -06:00
2026-11-09 20:34:04 -06:00
2026-11-10 12:17:50 -06:00
2026-11-10 20:10:48 -06:00
2026-11-10 20:15:13 -06:00
2026-11-09 20:34:04 -06:00
2026-11-09 20:34:04 -06:00
2026-11-09 20:34:04 -06:00
2026-11-10 12:17:50 -06:00
2026-11-10 12:17:50 -06:00
2026-11-11 17:49:39 -08:00
2026-11-10 12:17:50 -06:00
2026-11-06 23:57:48 -06:00
2026-11-11 17:49:39 -08:00
2026-11-10 11:34:23 -06:00
2026-11-07 02:12:48 -06:00
2026-11-09 20:34:04 -06:00
2026-11-10 11:34:23 -06:00
2026-11-12 03:58:01 -06:00
2026-11-09 13:46:28 -06:00
2026-11-09 17:49:34 -06:00
2026-11-12 13:28:05 -06:00
2026-11-09 20:34:04 -06:00
2026-11-09 13:27:44 -06:00
2026-11-08 02:35:15 -06:00
2026-11-10 20:59:49 -06:00
2026-11-10 20:59:49 -06:00
2026-11-11 13:36:03 -06:00
2026-11-07 11:53:00 -06:00
2026-11-09 22:33:58 -06:00
2026-11-11 17:49:39 -08:00
2026-11-11 17:49:39 -08:00
2026-11-07 00:24:09 -06:00
2026-11-09 13:52:49 -06:00
2026-11-09 13:52:49 -06:00
2026-11-12 12:30:14 -06:00
2026-11-12 11:09:53 -06:00
2026-11-09 22:12:49 -08:00
2026-11-09 22:12:49 -08:00
2026-11-12 20:53:08 +00:00
2026-11-12 20:53:08 +00:00
2026-11-09 20:34:04 -06:00
2026-11-09 20:34:04 -06:00
2026-11-11 08:26:52 -06:00
2026-11-08 01:38:22 -06:00
2026-11-12 10:43:48 -08:00
2026-11-07 22:43:57 -06:00
2026-11-11 12:05:54 -06:00
2026-11-11 12:05:54 -06:00
2026-11-09 09:53:37 -06:00
2026-11-08 06:43:45 -06:00
2026-11-08 08:10:40 -06:00
2026-11-11 12:05:54 -06:00
2026-11-11 12:05:54 -06:00
2026-11-08 10:56:32 -06:00
2026-11-08 09:46:36 -06:00
2026-11-12 12:12:41 -08:00
2026-11-10 11:49:14 -06:00
2026-11-12 10:43:48 -08:00
2026-11-12 10:43:48 -08:00
2026-11-07 23:48:43 -06:00
2026-11-12 13:49:09 -06:00
2026-11-11 20:02:27 -06:00
2026-11-07 13:25:47 -06:00
2026-11-11 14:13:56 -06:00
2026-11-12 07:57:42 -06:00
2026-11-11 19:52:21 -06:00
2026-11-11 19:52:21 -06:00
2026-11-11 14:13:56 -06:00
2026-11-11 14:13:56 -06:00
2026-11-11 14:13:56 -06:00
2026-11-12 13:34:34 -06:00
2026-11-12 03:58:01 -06:00
2026-11-11 13:56:45 -06:00
2026-11-12 07:57:42 -06:00
2026-11-12 13:34:34 -06:00
2026-11-11 13:56:45 -06:00
2026-11-11 22:56:49 -06:00
2026-11-10 06:02:33 -06:00
2026-11-11 10:44:27 -06:00
2026-11-12 13:34:34 -06:00
2026-11-11 08:00:21 -08:00
2026-11-07 18:34:09 -06:00
2026-11-12 12:12:41 -08:00
2026-11-11 10:03:53 -06:00
2026-11-12 07:41:25 -06:00
2026-11-07 01:02:03 -06:00
2026-11-07 02:20:02 -08:00
2026-11-12 13:34:34 -06:00
2026-11-12 13:34:34 -06:00
2026-11-12 13:34:34 -06:00
2026-11-10 19:32:51 +00:00
2026-11-06 21:33:59 -08:00
2026-11-10 12:17:46 -06:00
2026-11-06 21:33:59 -08:00
2026-11-10 12:17:50 -06:00
2026-11-10 19:32:51 +00:00
2026-11-10 19:32:51 +00:00
2026-11-12 06:19:21 -06:00
2026-11-11 13:42:36 -06:00
2026-11-12 09:58:31 -06:00
2026-11-10 08:02:11 -06:00
2026-11-12 10:43:48 -08:00
2026-11-07 00:56:04 -06:00
2026-11-10 12:17:50 -06:00
2026-11-10 12:17:50 -06:00
2026-11-07 00:56:04 -06:00
2026-11-09 18:14:52 -06:00
2026-11-11 17:49:39 -08:00
2026-11-09 17:54:53 -06:00
2026-11-11 17:49:39 -08:00
2026-11-07 02:12:48 -06:00
2026-11-07 16:41:15 -06:00
2026-11-10 05:17:46 -06:00
2026-11-06 23:08:57 -06:00
2026-11-09 20:34:04 -06:00
2026-11-09 15:05:41 -06:00
2026-11-10 02:14:53 -06:00
2026-11-10 12:38:51 -06:00
2026-11-08 23:14:47 -06:00
2026-11-11 17:43:58 -06:00
2026-11-11 17:49:39 -08:00
2026-11-11 17:49:39 -08:00
2026-11-08 18:26:07 -06:00
2026-11-09 12:06:11 -06:00
2026-11-12 12:30:14 -06:00
2026-11-12 09:37:07 -06:00
2026-11-11 15:40:44 -06:00
2026-11-09 15:05:41 -06:00
2026-11-12 09:37:07 -06:00
2026-11-12 09:37:07 -06:00
2026-11-09 20:34:04 -06:00
2026-11-11 17:49:39 -08:00
2026-11-09 20:34:04 -06:00
2026-11-07 23:43:17 -06:00
2026-11-12 12:39:21 -06:00
2026-11-12 00:52:06 -06:00
2026-11-12 10:43:48 -08:00
2026-11-12 02:18:39 -06:00
2026-11-10 01:02:09 -06:00
2026-11-08 06:15:36 -06:00
2026-11-09 08:28:04 -06:00
2026-11-10 19:32:51 +00:00
2026-11-10 13:37:25 -06:00
2026-11-07 10:06:35 -06:00
2026-11-10 17:22:01 -06:00
2026-11-09 22:12:49 -08:00
2026-11-11 11:42:31 -08:00
2026-11-11 11:42:31 -08:00
2026-11-10 10:15:29 -08:00
2026-11-12 08:18:04 -08:00
2026-11-12 08:18:04 -08:00
2026-11-12 08:18:04 -08:00
2026-11-12 08:18:04 -08:00
2026-11-12 08:18:04 -08:00
2026-11-06 21:33:59 -08:00
2026-11-12 13:28:05 -06:00
2026-11-09 04:30:19 -06:00
2026-11-12 14:34:26 -06:00
2026-11-07 01:02:03 -06:00
2026-11-07 16:41:15 -06:00
2026-11-07 16:41:15 -06:00
2026-11-07 16:41:15 -06:00
2026-11-11 22:04:58 -06:00
2026-11-08 02:35:15 -06:00
2026-11-11 16:36:17 -06:00
2026-11-07 12:16:49 -06:00
2026-11-07 15:12:36 -06:00
2026-11-10 04:38:38 -06:00
2026-11-10 06:40:58 -06:00
2026-11-09 10:26:36 -06:00
2026-11-10 07:24:42 -06:00
2026-11-10 07:24:42 -06:00
2026-11-10 09:58:54 -06:00
2026-11-09 10:13:41 -06:00
2026-11-09 10:13:41 -06:00
2026-11-09 21:11:54 -06:00
2026-11-09 12:06:11 -06:00
2026-11-09 12:06:11 -06:00
2026-11-10 12:17:50 -06:00
2026-11-10 12:17:50 -06:00
2026-11-08 22:49:43 -08:00
2026-11-09 00:37:00 -06:00
2026-11-09 22:12:49 -08:00
2026-11-11 00:49:03 -08:00
2026-11-09 20:34:04 -06:00
2026-11-09 17:37:14 -06:00
2026-11-10 12:58:32 -06:00
2026-11-12 20:53:08 +00:00
2026-11-09 22:12:49 -08:00
2026-11-09 22:12:49 -08:00
2026-11-11 21:18:47 -06:00
2026-11-12 10:43:48 -08:00
2026-11-12 10:43:48 -08:00
2026-11-12 10:43:48 -08:00
2026-11-12 12:12:41 -08:00
2026-11-12 12:12:41 -08:00
2026-11-12 12:12:41 -08:00
2026-11-08 07:12:48 -08:00
2026-11-12 12:12:41 -08:00
2026-11-11 13:56:45 -06:00
2026-11-12 06:19:27 -06:00
2026-11-12 10:20:54 -06:00
2026-11-11 22:56:49 -06:00
2026-11-11 09:49:33 -08:00
2026-11-09 11:52:44 -06:00
2026-11-11 18:04:18 +00:00
2026-11-11 11:08:30 -06:00
2026-11-10 20:57:03 -06:00
2026-11-10 20:57:03 -06:00
2026-11-09 13:06:12 -08:00
2026-11-11 07:28:00 -08:00
2026-11-07 02:14:42 -08:00
2026-11-10 20:15:13 -06:00
2026-11-11 07:39:37 -06:00
2026-11-11 22:04:58 -06:00
2026-11-12 05:19:37 -06:00
2026-11-12 14:34:26 -06:00
2026-11-10 18:06:41 -06:00
2026-11-09 09:19:08 -06:00
2026-11-10 05:17:46 -06:00
2026-11-07 14:24:42 -06:00
2026-11-09 17:42:11 -06:00
2026-11-10 10:19:12 -06:00
2026-11-07 18:34:05 -06:00
2026-11-09 22:33:58 -06:00
2026-11-10 17:22:01 -06:00
2026-11-07 11:05:25 -06:00
2026-11-10 09:13:33 -06:00
2026-11-10 17:22:01 -06:00
2026-11-10 10:19:12 -06:00
2026-11-10 09:13:33 -06:00
2026-11-10 09:13:33 -06:00
2026-11-07 11:05:25 -06:00
2026-11-07 03:58:24 -06:00
2026-11-10 17:47:54 -06:00
2026-11-10 17:47:54 -06:00
2026-11-07 18:34:09 -06:00
2026-11-09 14:12:51 -06:00
2026-11-10 12:51:29 -06:00
2026-11-10 12:51:29 -06:00
2026-11-10 22:19:43 -06:00
2026-11-10 10:56:52 -06:00
2026-11-10 10:56:52 -06:00
2026-11-09 23:27:25 -08:00
2026-11-09 23:27:25 -08:00
2026-11-12 10:11:37 -06:00
2026-11-12 10:11:37 -06:00
2026-11-10 22:19:43 -06:00
2026-11-10 22:19:43 -06:00
2026-11-12 05:35:15 -06:00
2026-11-12 05:08:03 -06:00
2026-11-09 08:28:21 -06:00
2026-11-10 22:19:43 -06:00
2026-11-11 09:57:59 -06:00
2026-11-07 11:35:23 -06:00
2026-11-11 18:04:18 +00:00
2026-11-10 13:51:10 -06:00
2026-11-12 08:28:32 -06:00
2026-11-07 02:14:42 -08:00
2026-11-11 22:05:16 -06:00
2026-11-10 03:47:48 -06:00
2026-11-09 07:12:01 -06:00
2026-11-09 13:06:12 -08:00
2026-11-09 12:32:15 -08:00
2026-11-09 12:32:15 -08:00
2026-11-10 21:10:28 -06:00
2026-11-09 17:37:08 -06:00
2026-11-06 21:37:18 -06:00
2026-11-08 03:50:34 -06:00
2026-11-10 13:37:25 -06:00
2026-11-12 11:09:53 -06:00
2026-11-10 11:49:14 -06:00
2026-11-10 11:49:14 -06:00
2026-11-12 02:11:28 -06:00
2026-11-10 20:59:49 -06:00
2026-11-08 01:07:58 -06:00
2026-11-09 22:12:49 -08:00
2026-11-11 09:57:59 -06:00
2026-11-11 09:57:59 -06:00
2026-11-12 11:54:47 -06:00
2026-11-09 22:33:58 -06:00
2026-11-10 15:00:50 -08:00
2026-11-11 13:55:22 -06:00
2026-11-09 13:46:28 -06:00
2026-11-11 22:56:49 -06:00
2026-11-12 02:18:39 -06:00
2026-11-09 22:12:49 -08:00
2026-11-09 22:12:49 -08:00
2026-11-09 22:12:49 -08:00
2026-11-09 22:12:49 -08:00
2026-11-09 13:06:12 -08:00
2026-11-07 09:23:14 -06:00
2026-11-07 09:23:14 -06:00
2026-11-07 09:23:14 -06:00
2026-11-08 21:55:52 -06:00
2026-11-07 14:14:59 -06:00
2026-11-09 05:39:01 -06:00
2026-11-12 11:54:47 -06:00
2026-11-10 10:34:44 -06:00
2026-11-11 01:31:50 -06:00
2026-11-10 12:51:29 -06:00
2026-11-08 11:06:32 -06:00
2026-11-10 15:20:42 -06:00
2026-11-12 13:34:34 -06:00
2026-11-12 07:41:25 -06:00
2026-11-12 10:34:36 -06:00
2026-11-10 11:37:00 -06:00
2026-11-07 18:34:09 -06:00
2026-11-09 11:52:44 -06:00
2026-11-08 07:12:48 -08:00
2026-11-08 21:58:29 -06:00
2026-11-09 20:34:04 -06:00
2026-11-12 00:27:35 -06:00
2026-11-09 13:46:28 -06:00
2026-11-09 13:46:28 -06:00
2026-11-09 13:46:28 -06:00
2026-11-09 13:46:28 -06:00
2026-11-09 13:46:28 -06:00
2026-11-12 14:34:26 -06:00
2026-11-08 21:58:29 -06:00
2026-11-09 13:46:28 -06:00
2026-11-09 13:46:28 -06:00
2026-11-09 13:46:28 -06:00
2026-11-11 18:09:57 -06:00
2026-11-07 11:29:23 -08:00
2026-11-09 17:35:13 -06:00
2026-11-10 03:47:48 -06:00
2026-11-11 10:57:47 -06:00
2026-11-09 20:34:04 -06:00
2026-11-11 13:36:08 -06:00
2026-11-07 04:40:08 -06:00
2026-11-11 18:09:57 -06:00
2026-11-11 13:11:57 -06:00
2026-11-12 02:18:39 -06:00
2026-11-10 18:47:29 -06:00
2026-11-10 17:00:46 -06:00
2026-11-11 07:04:13 -06:00
2026-11-11 10:03:53 -06:00
2026-11-12 10:20:54 -06:00
2026-11-10 15:24:04 -06:00
2026-11-12 10:20:54 -06:00
2026-11-10 23:59:01 -06:00
2026-11-07 21:20:05 -06:00
2026-11-11 10:03:53 -06:00
2026-11-10 17:47:54 -06:00
2026-11-12 07:57:42 -06:00
2026-11-12 07:57:42 -06:00
2026-11-07 02:20:02 -08:00
2026-11-07 21:32:03 -08:00
2026-11-10 15:24:04 -06:00
2026-11-10 20:44:09 -06:00
2026-11-11 22:04:58 -06:00
2026-11-09 09:53:37 -06:00
2026-11-10 20:44:09 -06:00
2026-11-12 11:54:47 -06:00
2026-11-09 08:28:04 -06:00
2026-11-09 08:28:04 -06:00
2026-11-08 04:45:48 -06:00
2026-11-08 04:45:48 -06:00
2026-11-10 02:35:18 -06:00
2026-11-10 02:35:18 -06:00
2026-11-09 16:29:53 -06:00