feat: Standalone Artifact Publishing and Sharing#14306
Open
dsheine wants to merge 14 commits into
Open
Conversation
…data-service Adds shared Artifact Apps contracts (PLAN §6/§8/§9): status/visibility/runtime enums, publish/update/version request schemas, response types, query keys, API endpoint builders, and data-service calls. Registers ARTIFACT_APP in the ResourceType/AccessRoleIds enums and permission-bit mapping. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adds ArtifactApp and ArtifactVersion schemas, models, and DB methods (PLAN §6.1/§6.2): atomic app+version creation, tenant-scoped queries, version lifecycle (draft/release/activate/withdraw), SHA-256 source hashing, and an idempotent index migration (§6.4). Includes unit tests against an in-memory MongoDB covering CRUD, tenant isolation, snapshot integrity, and immutability. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…ctions Wires ARTIFACT_APP into the existing ACL system (PLAN §7): seeds Owner/Editor/Viewer access roles, adds READ/MANAGE_ARTIFACT_APPS capabilities with ResourceCapabilityMap bypass, and registers artifact audit actions. Makes the share middleware permission map partial so capability-governed resources need no PermissionTypes entry. Updates role/capability tests. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add the /api/artifact-apps surface (WP3/WP4): typed publishing, CRUD, and version-lifecycle (create/release/activate/withdraw) handlers in packages/api, backed by the existing ACL system and audit log. Actor identity and tenant are derived strictly from the authenticated session per §8.7. Full-source snapshots are immutable once released. Includes mongodb-memory-server integration tests. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…(WIP WP5/WP6) Partial frontend work: standalone app view, app renderer wrapper, react-query queries/mutations for artifact-apps endpoints, i18n keys. Committed to preserve progress before credit exhaustion.
Documents what is done (WP0-WP4 backend + partial WP5/WP6 frontend) and what remains (build verification, WP5 routing, WP6 publish UI, combined PR) so a resuming agent can pick up without re-discovery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standalone Artifact Publishing and Sharing
Summary
Artifacts can now be published and shared as "Apps"
Change Type
Please delete any irrelevant options.
Testing
Please describe your test process and include instructions so that we can reproduce your test. If there are any important variables for your testing configuration, list them here.
Test Configuration:
Checklist
Please delete any irrelevant options.
Implements #13374
I tested the feature but translation work has yet to be done. No known bugs (atm)