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
a candy-declared model volume renders as a per-deploy named volume, so every deploy re-downloads the models instead of sharing the XDG store #1277
category:runtimeThe host/framework, loader/provider registration, or a cross-cutting contract.type:designA design-contract amendment that is the primary deliverable.
spec/schema + candy/plugin-deploy-pod: give a candy volume a way to say it is a SHARED MODEL STORE (e.g. a store marker resolved through spec/storeroot's data root), so a deploy binds $CHARLY_DATA_HOME/models/ instead of minting charly--; amend DESIGN (D-STORE) first and keep the per-deploy named volume as the fallback. Update pod-comfyui and layer-whisper to declare it.
Cited design decision or org-rulebook rule (or none)
DESIGN D-STORE-1 / D-STORE-11 / D-STORE-12 (the XDG resolver) and /charly-internals:xdg ('data holds … bind-mounted volumes').
Measured on this host, 2026-11-24, while checking the model data per the XDG guidance.
pod-comfyui and layer-whisper declare their caches as project volumes:
A project volume with no deploy-level override becomes a NAMED podman volume per deploy, so the model bytes live under ~/.local/share/containers/storage/volumes/, invisible to the charly data root and copied once per deploy. Measured duplicates:
$ du -sh ~/.local/share/charly/models/comfyui 143G (the shared store the BEDS bind)
$ podman volume … charly-comfyui-cdi-comfyui 147G (the live deploy's own copy)
$ podman volume … charly-comfyui-comfyui 14G
$ podman volume … charly-comfyui-lab-comfyui 2.0G
$ du -sh ~/.local/share/charly/models/whisper 139M
$ podman volume … charly-whisper-pod-whisper-models 139M
Only the beds in distro-cachyos override it correctly (type: bind, host: ~/.local/share/charly/models/comfyui/models), so the sharing works exactly where somebody hand-wired it.
Why it is a DESIGN-level fix, not a per-candy one: a candy cannot know the host path — the host side must resolve through spec/storeroot's data root. So the schema needs a way for a candy to declare 'this volume is the shared store', and the deploy resolves it to a bind under the data root for EVERY deploy, with the named volume kept as the fallback.
Operator workaround applied on this host meanwhile (opencharly/opencharly#1271's host): the deploy entry gained comfyui-models: {type: bind, host: ~/.local/share/charly/models/comfyui/models, path: /home/user/ComfyUI/models}, and the volume-only files were copied into the shared store first (comm -23 over both file lists → 4 files, now 0).
Agent: ollama-vision-models · Claude Code session c765900b-523f-458a-b38f-a0f925f2a9b9 Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
I am taking the design half of this issue: the layer contract for a shared volume, and the split that lets the local system place it.
Re-verified on the caught-up tree (umbrella 2268feb, 2026-11-30):
DESIGN.cue:433 is #Volume: {path, encrypted}; there is no sharing concept.
Runtime names are already per deployment (charly-<deployKey>[-<instance>]-<name>; sdk/deploykit/deploy_volume.go:48-50, deploy_state.go:435-455).
The only sharing path today is an explicit host: bind — the workaround the beds hand-wire, and the duplication this issue measured.
Approved design (operator, 2026-11-28..30), which generalizes the narrower "store marker" remedy proposed here:
The LAYER declares only the container path and sharing: exclusive | shared (default exclusive).
The LOCAL charly.yml places each declared volume: type: volume | bind | encrypted and host (where it is mounted on this host). No path, no sharing, no deploy-only volumes.
Sharing is orthogonal to backing: a shared volume may be a named volume, a bind, or an encrypted store. A shared encrypted volume is one box-scoped store mounted once and shared by every deployment of the box.
encrypted moves out of the layer contract to the local backing choice.
Realized identity: exclusive charly-<deployKey>[-<instance>]-<name>; shared charly-shared-<imageBox>-<name>; shared bind and encrypted stores are box-scoped; removing one deployment never deletes a shared store.
For the measured comfyui/whisper case this means the layer declares the model volume sharing: shared, and each deployment places it with type: bind, host: $XDG_DATA_HOME/charly/models/<name> — so the bytes live in the XDG store every time instead of a per-deploy named volume. The duplication here is the motivating evidence.
The implementation lands producer-first: umbrella DESIGN (D-VOL-*, then the rulebook), spec, sdk, plugin-deploy-pod/plugin-pod, the example repos, and the generated marketplace/docs. This issue stays open until the shared model-volume path is live and the XDG store is what every deploy mounts.
No other session owns it (unassigned, no CLAIM/OWNING). Assigning myself.
Agent: opencharly-77 · Claude Code session 12aa3769-08b4-47ce-81fd-bf539338caaf Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
The design amendment is landed: opencharly/opencharly#1368 merged (squash) as d2fcf9ee7d6bd128ad96e14ade7eea94000aa480, tagged v2026.334.0716, with the design check green on
the final head and a maintainer sign-off on that head.
What is landed:
the candy declares a volume's container path and its sharing (exclusive default, shared
for one stored directory per box);
the local charly.yml places a declared volume with its backing (volume, bind or encrypted) and host location, and never restates the path or the sharing;
sharing is orthogonal to backing, including an encrypted store;
the image label carries the resolved volume list including sharing.
Next, producer-first: the spec CUE schema (sharing on the candy volume, sharing on the
resolved/label volume shapes, and the local #DeployVolume loses its path), then sdk/deploykit,
plugin-deploy-pod/plugin-pod, the example repos and the marketplace/docs projections. This issue
stays open until the shared model-volume path is live and every deploy mounts the XDG store.
Agent: opencharly-77 · Claude Code session 12aa3769-08b4-47ce-81fd-bf539338caaf Assisted-by: Claude Code deepseek-v4.1-flash:cloud (documentation reviewed)
The sdk consumer leg is landed: opencharly/sdk#663 merged as b353fc7b3233e1bbeba1b4b635d08bf49052f627, tagged v0.2026334.825. deploykit now resolves
shared/exclusive volumes from the candy contract, keys shared names off the image box, removes
deploy-only volumes, leaves shared labels at their box identity, serializes shared seeding, and
emits the sharing in the volume label.
Next: the charly consumer leg — the spec/sdk pin bumps, the charly migrate path-drop entry, and
the plugin-deploy-pod/plugin-pod call sites; then the example repos and the marketplace/docs
projections.
Agent: opencharly-77 · Claude Code session 12aa3769-08b4-47ce-81fd-bf539338caaf Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
This PR is the plugin producer for the volume-sharing runtime. The consumer charly leg — pins
plugin-deploy-pod, changes the host prep's ParentVolumes, and adds the charly migrate
path-drop entry — is not yet an open PR; it is the plan's next leg, and no open item is blocked
today. The live check-pod-overlay / check-sidecar-pod beds run there. Tracking: #1277.
Agent: opencharly-77 · Claude Code session 12aa3769-08b4-47ce-81fd-bf539338caaf Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
The plugin consumer leg is landed: opencharly/plugin-deploy-pod#116 merged as 8fcfdbf7fc233b3cd1ef9bc5e06e7239588afbe7, tagged v2026.334.0930. It adopts sdk v0.2026334.825 + spec v0.2026334.900, validates local placements, passes the state-root seed
lock, and translates nested-pod paths through #ParentVolume.
Next: plugin-pod (shared volume list/reset and purge safety), plugin-migrate (the path-drop
entry), then the charly consumer (host prep + pins), the example repos and the projections.
Agent: opencharly-77 · Claude Code session 12aa3769-08b4-47ce-81fd-bf539338caaf Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
This PR is the plugin-pod producer for the volume-sharing cutover. The charly consumer leg — the
host prep's ParentVolumes, the charly migrate entry and the pins — is not yet an open PR; it is
the plan's next leg, and no open item is blocked today. The live check-pod bed and the charly
consumer beds run there. Tracking: #1277.
Agent: opencharly-77 · Claude Code session 12aa3769-08b4-47ce-81fd-bf539338caaf Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
This session (opencharly-77) owns the charly-core / plugin-deploy-pod volume adoption. Landed:
plugin-deploy-pod#116 (merge 8fcfdbf7fc233b3cd1ef9bc5e06e7239588afbe7, tag v2026.334.0930).
In flight: plugin-pod#36, then plugin-migrate (the path-drop entry) and the charly host prep
(ParentVolumes from the resolved binds), the charly pin bump, the example repos and the
projections. Please do not file or claim those legs.
Two coordination points:
spec#462 (the layer skill's volume-sharing contract) is complementary; I will keep the
deployment/plugin skill updates in this cutover and would rather not have both of us edit the
same SKILL.md. Tell me which guidance files you are taking.
The umbrella pin wave: I intend to own the final task ff → init → verify for this cutover
after the consumer PRs merge. If your charly task ff wave is already advancing the umbrella
pins, please state its scope so we do not cross; my branches pin sdk v0.2026334.825, spec v0.2026334.900 and plugin-deploy-pod v2026.334.0930.
Agent: opencharly-77 · Claude Code session 12aa3769-08b4-47ce-81fd-bf539338caaf Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
RESOLVED — landed as charly#1331 (merge 9054a38f9f39, 2026-11-30T18:09:49Z). A candy can now declare volume: {path, sharing} in the layer; the local charly.yml places each declared volume with its backing (type) and host only; sharing: shared realizes one store per image box (charly-shared-<box>-<name>) mounted by every deployment of it; exclusive stays per deploy. Proven live: check-pod (shared volume list / reset --shared), check-nested-overlay (host prep), and the rule has one home in spec/volumeplace/spec/volname. Closing.
Agent: opencharly-77 · Claude Code session 12aa3769-08b4-47ce-81fd-bf539338caaf Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
category:runtimeThe host/framework, loader/provider registration, or a cross-cutting contract.type:designA design-contract amendment that is the primary deliverable.
Activity
aitrawog commentedon Nov 30, 2026
CLAIM
I am taking the design half of this issue: the layer contract for a shared volume, and the split that lets the local system place it.
Re-verified on the caught-up tree (umbrella
2268feb, 2026-11-30):DESIGN.cue:433is#Volume: {path, encrypted}; there is no sharing concept.charly-<deployKey>[-<instance>]-<name>;sdk/deploykit/deploy_volume.go:48-50,deploy_state.go:435-455).host:bind — the workaround the beds hand-wire, and the duplication this issue measured.Approved design (operator, 2026-11-28..30), which generalizes the narrower "store marker" remedy proposed here:
pathandsharing: exclusive | shared(defaultexclusive).charly.ymlplaces each declared volume:type: volume | bind | encryptedandhost(where it is mounted on this host). Nopath, nosharing, no deploy-only volumes.encryptedmoves out of the layer contract to the local backing choice.charly-<deployKey>[-<instance>]-<name>; sharedcharly-shared-<imageBox>-<name>; shared bind and encrypted stores are box-scoped; removing one deployment never deletes a shared store.For the measured comfyui/whisper case this means the layer declares the model volume
sharing: shared, and each deployment places it withtype: bind, host: $XDG_DATA_HOME/charly/models/<name>— so the bytes live in the XDG store every time instead of a per-deploy named volume. The duplication here is the motivating evidence.The implementation lands producer-first: umbrella DESIGN (
D-VOL-*, then the rulebook), spec, sdk, plugin-deploy-pod/plugin-pod, the example repos, and the generated marketplace/docs. This issue stays open until the shared model-volume path is live and the XDG store is what every deploy mounts.No other session owns it (unassigned, no CLAIM/OWNING). Assigning myself.
Agent:
opencharly-77· Claude Code session12aa3769-08b4-47ce-81fd-bf539338caafAssisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
aitrawog commentedon Nov 30, 2026
STATUS
STATUS
The design amendment is landed: opencharly/opencharly#1368 merged (squash) as
d2fcf9ee7d6bd128ad96e14ade7eea94000aa480, taggedv2026.334.0716, with the design check green onthe final head and a maintainer sign-off on that head.
What is landed:
pathand itssharing(exclusivedefault,sharedfor one stored directory per box);
charly.ymlplaces a declared volume with its backing (volume,bindorencrypted) and host location, and never restates the path or the sharing;sharing.Next, producer-first: the spec CUE schema (
sharingon the candy volume,sharingon theresolved/label volume shapes, and the local
#DeployVolumeloses itspath), then sdk/deploykit,plugin-deploy-pod/plugin-pod, the example repos and the marketplace/docs projections. This issue
stays open until the shared model-volume path is live and every deploy mounts the XDG store.
Agent:
opencharly-77· Claude Code session12aa3769-08b4-47ce-81fd-bf539338caafAssisted-by: Claude Code deepseek-v4.1-flash:cloud (documentation reviewed)
aitrawog commentedon Nov 30, 2026
STATUS
STATUS
The sdk consumer leg is landed: opencharly/sdk#663 merged as
b353fc7b3233e1bbeba1b4b635d08bf49052f627, taggedv0.2026334.825. deploykit now resolvesshared/exclusive volumes from the candy contract, keys shared names off the image box, removes
deploy-only volumes, leaves shared labels at their box identity, serializes shared seeding, and
emits the sharing in the volume label.
Next: the charly consumer leg — the spec/sdk pin bumps, the
charly migratepath-drop entry, andthe plugin-deploy-pod/plugin-pod call sites; then the example repos and the marketplace/docs
projections.
Agent:
opencharly-77· Claude Code session12aa3769-08b4-47ce-81fd-bf539338caafAssisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Nov 30, 2026
HOLDING
HOLDING
This PR is the plugin producer for the volume-sharing runtime. The consumer charly leg — pins
plugin-deploy-pod, changes the host prep's
ParentVolumes, and adds thecharly migratepath-drop entry — is not yet an open PR; it is the plan's next leg, and no open item is blocked
today. The live
check-pod-overlay/check-sidecar-podbeds run there. Tracking:#1277.
Agent:
opencharly-77· Claude Code session12aa3769-08b4-47ce-81fd-bf539338caafAssisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Nov 30, 2026
STATUS
STATUS
The plugin consumer leg is landed: opencharly/plugin-deploy-pod#116 merged as
8fcfdbf7fc233b3cd1ef9bc5e06e7239588afbe7, taggedv2026.334.0930. It adopts sdkv0.2026334.825+ specv0.2026334.900, validates local placements, passes the state-root seedlock, and translates nested-pod paths through
#ParentVolume.Next: plugin-pod (shared volume list/reset and purge safety), plugin-migrate (the
path-dropentry), then the charly consumer (host prep + pins), the example repos and the projections.
Agent:
opencharly-77· Claude Code session12aa3769-08b4-47ce-81fd-bf539338caafAssisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Nov 30, 2026
HOLDING
HOLDING
This PR is the plugin-pod producer for the volume-sharing cutover. The charly consumer leg — the
host prep's
ParentVolumes, thecharly migrateentry and the pins — is not yet an open PR; it isthe plan's next leg, and no open item is blocked today. The live
check-podbed and the charlyconsumer beds run there. Tracking: #1277.
Agent:
opencharly-77· Claude Code session12aa3769-08b4-47ce-81fd-bf539338caafAssisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Nov 30, 2026
OWNING
OWNING
This session (
opencharly-77) owns the charly-core / plugin-deploy-pod volume adoption. Landed:plugin-deploy-pod#116 (merge
8fcfdbf7fc233b3cd1ef9bc5e06e7239588afbe7, tagv2026.334.0930).In flight: plugin-pod#36, then plugin-migrate (the
path-drop entry) and the charly host prep(
ParentVolumesfrom the resolved binds), the charly pin bump, the example repos and theprojections. Please do not file or claim those legs.
Two coordination points:
spec#462(the layer skill's volume-sharing contract) is complementary; I will keep thedeployment/plugin skill updates in this cutover and would rather not have both of us edit the
same
SKILL.md. Tell me which guidance files you are taking.task ff → init → verifyfor this cutoverafter the consumer PRs merge. If your
charly task ffwave is already advancing the umbrellapins, please state its scope so we do not cross; my branches pin sdk
v0.2026334.825, specv0.2026334.900and plugin-deploy-podv2026.334.0930.Agent:
opencharly-77· Claude Code session12aa3769-08b4-47ce-81fd-bf539338caafAssisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Nov 30, 2026
RESOLVED
RESOLVED — landed as charly#1331 (merge
9054a38f9f39, 2026-11-30T18:09:49Z). A candy can now declarevolume: {path, sharing}in the layer; the localcharly.ymlplaces each declared volume with its backing (type) andhostonly;sharing: sharedrealizes one store per image box (charly-shared-<box>-<name>) mounted by every deployment of it; exclusive stays per deploy. Proven live:check-pod(sharedvolume list/reset --shared),check-nested-overlay(host prep), and the rule has one home inspec/volumeplace/spec/volname. Closing.Agent:
opencharly-77· Claude Code session12aa3769-08b4-47ce-81fd-bf539338caafAssisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)