4.0 KiB
4.0 KiB
PR-17 Studio Runtime Adapter and Assets Workspace Consumption
Domain Owner: docs/packer
Cross-Domain Impact: docs/studio
Briefing
Once the active query and command surface is runtime-backed, Studio should consume that path as a frontend without recreating packer semantics.
This PR hardens the Studio adapters and the Assets workspace consumption path for the service-only wave while preserving the modular split between prometeu-packer-api, prometeu-packer-v1, prometeu-studio, and prometeu-app.
Objective
Deliver the Studio-side adapter and Assets workspace integration for the active runtime-backed service surface.
Dependencies
./PR-13-embedded-bootstrap-container-owned-event-bus-and-packer-composition-root.md./PR-15-snapshot-backed-asset-query-services.md./PR-16-write-lane-command-completion-and-used-write-services.md- cross-domain reference:
../../studio/specs/2. Studio UI Foundations Specification.md - cross-domain reference:
../../studio/specs/4. Assets Workspace Specification.md
Scope
- adapt Studio to consume runtime-backed packer queries and commands
- preserve
request/responseas the primary integration model - consume packer lifecycle events through the host bridge from
PackerEventSinkinto the container-owned typed event bus path - keep the
Assetsworkspace aligned with the active service-only wave - remove adapter branches that only exist for inactive
doctor,build/pack, or reconcile usage - keep
prometeu-studiobound only toprometeu-packer-api - let
prometeu-appremain responsible for installing the concreteContainerimplementation, applying thep.packer.Packerentrypoint fromprometeu-packer-v1, and bridgingPackerEventSinkinto the host bus
Non-Goals
- no doctor UI
- no pack/build UI
- no reconcile-state UI beyond what the current service wave actually exposes
Execution Method
- Update the Studio adapter layer to consume the runtime-backed service path.
- Preserve translational mapping only.
- Validate that
prometeu-studiodoes not depend onprometeu-packer-v1classes directly. - Validate command submission plus event-driven lifecycle visibility through the host
PackerEventSinkbridge and shared bus path. - Remove adapter branches that only keep deferred capabilities artificially wired.
- Keep the
Assetsworkspace focused on the currently active service surface.
Acceptance Criteria
- Studio remains a consumer of packer runtime semantics
Assetsworkspace list/details/actions run through the active runtime-backed service path- command submission plus event observation are coherent end to end
- no inactive doctor/build/reconcile surfaces are reintroduced
- Studio adapters no longer preserve dead branches for deferred capability families
prometeu-studiodepends only onprometeu-packer-apiprometeu-appis the layer that binds the concreteContainerimplementation and thep.packer.Packerentrypoint fromprometeu-packer-v1- Studio consumes packer lifecycle visibility through a host-provided
PackerEventSinkbridge rather than by exposing host bus types inside packer contracts
Validation
- Studio adapter tests
Assetsworkspace smoke tests- end-to-end tests for list/details/write flows used by Studio
Affected Artifacts
prometeu-studio/src/main/java/p/studio/**prometeu-studio/src/test/java/p/studio/**prometeu-app/src/main/java/p/studio/**prometeu-packer/prometeu-packer-api/src/main/java/p/packer/**integration-facing contractsprometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/**embedded runtime implementation surfacesprometeu-packer/prometeu-packer-v1/src/main/java/p/packer/events/**embedded runtime event surfaces