You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aaac455
Browse filesBrowse the repository at this point in the historyBrowse files
fix(assets): ignore other projects' global rules when exporting a LOOP
Another project may bind its own global rule to a shared LOOP. Export
walked every rule on the platform, so the source project got a 400 for a
rule it can neither see nor remove. Only this project's global rules now
travel with the LOOP; runtime injection already ignores the others.
Also from review:
- Preview runs the full save in a transaction and rolls it back, so role
hooks and artifact paths that only PutAgent checks fail the preview too.
- A dependency that is another project's shared asset or a platform
template says it must be copied into the project first. A private asset
of another project still reads like a missing one.
- Import returns bindings that point at the new copies, and the dialog
lists each asset as name -> new ID with its follow-up items.
Co-Authored-By: Claude Code <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/api/openapi.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1944,7 +1944,7 @@ paths:
1944
1944
post:
1945
1945
tags: [Assets]
1946
1946
operationId: exportProjectAssetBundle
1947
-
description: Export the selected assets and their project-owned dependencies. Requires a project owner, maintainer, or platform administrator.
1947
+
description: Export the selected assets and their project-owned dependencies. Global rules that other projects bind to a shared LOOP are not included. Requires a project owner, maintainer, or platform administrator.
1948
1948
requestBody:
1949
1949
required: true
1950
1950
content:
@@ -1989,7 +1989,7 @@ paths:
1989
1989
post:
1990
1990
tags: [Assets]
1991
1991
operationId: previewProjectAssetBundle
1992
-
description: Validate a bundle and preview assets and connection setup without writing to the project. Requires a project owner, maintainer, or platform administrator.
1992
+
description: Validate a bundle and preview assets and connection setup. The import runs in a transaction that is rolled back, so nothing is written to the project. Requires a project owner, maintainer, or platform administrator.
1993
1993
requestBody:
1994
1994
required: true
1995
1995
content:
@@ -2022,7 +2022,7 @@ paths:
2022
2022
post:
2023
2023
tags: [Assets]
2024
2024
operationId: importProjectAssetBundle
2025
-
description: Create the project-owned copies in one transaction and rebind their references. LOOPs start as drafts. Requires a project owner, maintainer, or platform administrator.
2025
+
description: Create the project-owned copies in one transaction and rebind their references. LOOPs start as drafts. Each asset reports its new targetId and each binding assetId names the imported copy. Requires a project owner, maintainer, or platform administrator.
0 commit comments