Repository navigation
Description
Category
category:delivery
Type
type:fix
Remedy / files the remedy will touch
the plugin's served CUE schema (the definition now named #SubstratePlugin): rename it to the per-plugin convention #Input, or delete it if it duplicates the pod kind's declaration
Cited design decision or org-rulebook rule (or none)
none
Classification
Blocking — it blocks the filer's own progress, so the filer claims it at filing and fixes it.
Evidence (verified: commands with output, file:line, measurements)
$ charly check run check-pod-overlay # [deploy-add] step
charly: error: command "deploy": load deploy plugins: plugin "plugin-substrate": its served schema
re-declares #SubstratePlugin, already declared by plugin "kind:pod" — CUE UNIFIES same-name
definitions across sources, so the splice silently merges the two shapes into one and EVERY
plugin sharing #SubstratePlugin then rejects its own authored input (a def-name collision is
never resolvable by unification). Give the def a plugin-scoped name (the documented per-plugin
convention is `#<Word>Input`) or delete the duplicate declaration
charly subcommand exited 1
Guard site: charly/charly/plugin_loader.go:165 (pre-existing, not touched by the pin bump).
Plugins in the failing splice (from the same run's log):
plugin plugin-substrate: served from .../[email protected]
kind:pod: compiled into the charly binary
The same bed's [deploy-add] step passed earlier in the day on the same project
(.check/check-pod-overlay/2026.331.1238, step PASS 119 s) with a different plugin VIEW
(view.4bc60a6febb22289), so the collision is exposed by the re-resolved plugin set rather than
by the charly source (the guard is identical).
Impact: with this plugin set, charly deploy add fails outright, so every pod bed is blocked —
including the R10 bed for opencharly/charly#1307 (the buildkit pin wave), whose image-build and
check-image phases DO pass.
Mechanism
the plugin's served schema declares a definition name that the compiled-in kind:pod plugin already declares; the host splice unifies same-name definitions across sources, so the merged shape no longer matches either plugin's authored input and the loader refuses the deploy plugin set
Missed control
no test asserts a plugin's served schema uses PLUGIN-SCOPED definition names, so a duplicate declaration survives the plugin's own gate and only fails when a consumer splices it beside the pod kind
Blast radius
every 'charly deploy add' with this plugin set fails (measured: the check-pod-overlay bed's deploy-add step), blocking all pod beds including the R10 bed for opencharly/charly#1307, whose build phases pass
Root fix
rename the served def to #Input (or delete the duplicate) and add a plugin-schema gate that refuses a non-scoped definition name
Spike (its result, or none with the reason)
none: the observation is the instrument (the failed deploy-add with the loader's own message naming both plugins); the remedy is a definition rename
Agent: jolly-comet-ses_de3fa473bffeFiBo62whHxDPE5 · OpenCode session ses_de3fa473bffeFiBo62whHxDPE5
Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)
Activity
aitrawog commentedon Nov 27, 2026
CLAIM
Filed as blocking: it blocks this session's own progress, so this session claims it at filing and fixes it.
Agent:
jolly-comet-ses_de3fa473bffeFiBo62whHxDPE5· OpenCode sessionses_de3fa473bffeFiBo62whHxDPE5Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)
aitrawog commentedon Nov 27, 2026
WAITING
WAITING: opencharly/charly#1307 (the buildkit pin wave) needs this fixed before its R10 bed can reach a verdict. The bed's
[image-build]and[check-image]phases pass on the final pins; its[deploy-add]step fails with this collision, which blocks every pod bed.The other side is posted as
HOLDINGon opencharly/charly#1307. Evidence (the loader's own message and the passing earlier run with a different plugin view) is in the issue body.Agent:
jolly-comet-ses_de3fa473bffeFiBo62whHxDPE5· OpenCode sessionses_de3fa473bffeFiBo62whHxDPE5Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)
aitrawog commentedon Nov 27, 2026
STATUS
A/B proof that this is a real break in the current wave, not a pre-existing red bed:
Same project, same plugin versions; only the resolved VIEW differs. So adopting the wave's pins breaks
charly deploy addoutright until the served def is plugin-scoped (#<Word>Input) — this is the blocking side for opencharly/charly#1307, whose build phases pass.Agent:
jolly-comet-ses_de3fa473bffeFiBo62whHxDPE5· OpenCode sessionses_de3fa473bffeFiBo62whHxDPE5Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)
fix(schema): give the provider declaration a plugin-scoped name inste…
chore(deps): adopt plugin-substrate v2026.331.1555 and its scoped sch…
aitrawog commentedon Nov 27, 2026
RESOLVED — fixed by #54 (merged). The served schema now declares the plugin-scoped
#SubstrateProvider, and the consumers moved in the same wave: charly pins the release as both thego.modmodule (v0.2026331.1555) and thecharly.ymlref (v2026.331.1555), withcharly/kind_value_composed_test.gorenamed. The consumer proof is in opencharly/charly#1307:[deploy-add] PASSon the final pins, where the same step previously failed with this collision.chore(deps): adopt sdk v0.2026331.1440, spec v0.2026331.1553, plugin-…