Repository navigation
Description
Part of the nine-module architecture in #440. This issue holds the contract and code ownership of volumes. M2 defines the contract; the issues listed below own the implementation.
Purpose: Named, declared stores from providers, under Docker's name. The capability file stays the canonical form.
Docker equivalent: Volumes
API surface: prism.volumes.create, list, inspect, remove
Prism difference: A volume is a declared store from a provider, not a mounted folder. Host-folder mounts are refused, because they would escape what was verified.
Code that moves here
- Rust (
crates/prismpm/src): None today.system/host_effectis deployment topology and stays inimages. - JavaScript (
sdk/npm/prism-code/src):bin/prism-provider-kv.prism.volumesis a new, thin view overcapabilities, which stays whole inverify. Theprovidersrunner is inclient, which passes it in when it buildsprism.volumes.
This map follows the agreed design in docs/proposals/440-nine-modules.md, under Code ownership. A file that will split keeps its current owner until it does. Confirm each row when the code moves.
May depend on: errors, verify
Implemented by: #279 (capability sets), #294 (providers), #216 and #217 (host effects, needed for real access), #346 (glossary)
Done when: Stores can be declared, created and inspected through the SDK and the CLI; a host-folder mount is refused and tested; until #216 and #217 land, calls that need host effects raise a typed error naming that dependency. Each public capability and diagnostic is registered in model/*.toml and covered by conformance fixtures.
Depends on: #440.
Part of the Prism SDK v1.0 roadmap: Prism SDK v1.0
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
feat(prism-code): add the prism.volumes namespace over the capability…
feat(prism-code): containers and volumes CLI groups (Part of #443, #445)
feat(prism-code): finish prism.containers and prism.volumes, SDK and …
afflom commentedon Nov 12, 2026
The done-when holds on main as of #620 (287040c):
prism.volumesandprism-code volumes create|ls|inspect|rmwork.containers.create({ volumes })raises the typed host-effects error naming Host effect protocol for server applications #216/System-model profile for host-effect services, with a loopback Compose projection #217, and the refusal is kept on the record.Closing.
Generated by Claude Code