mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-03 09:37:19 +01:00
fix(workspaces): validate prospective child source trust
Pass server-owned creation context before the child is saved. Validate the creator run, sponsor and parent ancestry against the immutable boundary, then verify current parent and prospective child policies. Preserve exact saved task identity for ordinary selection and writes. Add real database and authenticated HTTP regressions, including omitted client policy, and update the plan and paired workspace maps. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
bc6e216629
commit
17c9b1fd62
8 files changed
+160
-9
No files matched your search
@@ -53,6 +53,8 @@ provision script must not run on the host during fresh creation, reuse, or rebui
|
||||
Verify the adapter still selects the sandbox and ordinary trusted provisioning
|
||||
continues to work.
|
||||
|
||||
For a child created by an admitted agent with an explicit existing workspace, verify that a matching sandbox boundary permits creation before the child has an ID. A changed child policy, unrelated parent, or forged creator run must fail. See the [child workspace trust regression](../../server/src/__tests__/task-workspace-child-trust.test.ts). This automated contract does not add live acceptance evidence.
|
||||
|
||||
### `workspace-management`
|
||||
|
||||
Automated: [workspace detail](../../ui/src/pages/ExecutionWorkspaceDetail.test.tsx) and [runtime service](../../server/src/__tests__/workspace-runtime.test.ts) cover UI and runtime contracts separately.
|
||||
|
||||
Reference in new issue
Block a user