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 secret_require: auto-generates on a VM/host deploy but NOT on a pod deploy unless --password=auto — while every candy description and the secrets skill promise it unconditionally #62
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
Finding (RCA, R1) — a secret_require: does NOT auto-generate on a POD deploy, though every candy and the skill say it does
secret_require: is documented as self-provisioning. opencharly/layer-qdrant's own description:
declares it for the key this issue's sibling measured:
secret_require:
- name: QDRANT__SERVICE__API_KEYdescription: >- Qdrant admin API key. Auto-generated 32-byte hex on first deploy and persisted. …
and /charly-build:secrets states it unconditionally: "secret_require: entries that miss everywhere
(env + credential store) auto-generate … No operator setup required".
The two deploy paths disagree:
path
auto-generates a missing required secret?
install-plan targets (host / VM / SSH) — deploykit.EnsureCandySecret
only when --password=auto, because plugin-deploy-pod calls it with autoGen := c.Password == "auto" (config_setup.go:374), and the generator branch is case autoGenerate: (secret_provision.go:122)
So on a pod, a secret_require: that misses everywhere stops the deploy:
Error: <box> requires the following credential-backed secret(s):
QDRANT__SERVICE__API_KEY — …
Store them in the credential backend, or pass -e once to auto-import
with no mention that --password=auto is the flag that would have produced it — while the same deploy on a
VM target would have generated it silently. A fresh host running a pod bed is therefore a different product
from a fresh host running a VM bed, for the same manifest.
This is a product-vs-prose divergence (R4), and the prose is the intent: the candy says "auto-generated
on first deploy and persisted", so the product must do that. Two legal shapes, and it is an owner decision
which:
Pod parity: a secret_require that misses everywhere auto-generates on the pod path too (the
install-plan behaviour), with --password=auto reduced to what it additionally means for candy-owned secret: entries; or
Prose correction: --password=auto becomes part of the documented contract — every candy secret_require description and the skill say it, and charly config says why it stopped.
(1) is the parity the rulebook prefers (one behaviour, R2); (2) is defensible if generating an admin API key
without an explicit opt-in is judged too surprising. I am not choosing unilaterally: silently minting
credentials is a security-shaped decision.
Related.opencharly/sdk#526 is the report that surfaced this from the field (its bed's [config] phase
died asking for QDRANT__SERVICE__API_KEY), and #61 is the diagnostic gap that
made the two indistinguishable.
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
Activity
docs(openwebui): the admin password's shape, its producer, and its sc…