Skip to content

fix(sdk)!: require a CUE schema and a typed input on every plugin capability (delete the input-less waiver) - #314

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/signoff-author
Sep 27, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/signoff-author

Conversation

@aitrawog

@aitrawog aitrawog commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Delete the SDK's "stub-gate relaxation" — the exception that let an input-less plugin (no capability declaring an InputDef) pass a nil schema FS and serve an EMPTY CUE schema. It made a plugin whose input is validated against nothing a legal shape.

BuildCapabilitiesWithRequires now rejects, unconditionally:

  1. a nil schema FS — NO CUE schema;
  2. a schema concatenating to an empty body — EMPTY CUE schema.

The uniform rule is the schema, not a per-capability InputDef. This is deliberate and evidence-led: the canonical command plugin (plugin-example-command) and the substrate kinds (kind:candy) and deploy targets (deploy:local) declare no structured plugin_input by design — their contract is their CLI grammar / the substrate — and the pre-compaction "doc schema" existed for exactly that case (plugin-candy's own comment: "plus the self-contained doc schema, via sdk.NewMeta"). Requiring a per-capability InputDef would force invented, unvalidated defs onto those classes. So every plugin must ship a non-empty schema — a pass-through command ships a minimal doc schema, never nothing. That is the one deliberate wiggle room.

This is the sdk leg of the R5 cutover tracked in opencharly/charly#712. A sweep finds ~dozens of plugins passing nil (not 4), so the consumer legs restore their schemas in producer-first order; because they are pinned to older SDK versions, this leg is safe to land first.

Files

  • schema.go — the relaxation deleted; the two unconditional rejections (nil FS, empty body) plus the standalone-compile check retained.
  • loaderkit/parse.go — the "a null value is an input-less verb" note corrected: a null value is an EMPTY input map, decided by the plugin's own served schema.
  • requires_test.go, schema_capabilities_test.go — fixtures now ship a real schema (the tests exercise the real contract instead of waiving it).
  • schema_contract_test.go (new) — pins both rejections and TestBuildCapabilitiesAcceptsDocSchemaWithoutInputDef (a command/kind/deploy plugin with a doc schema serves fine). Fixes the validator's stale-identifier finding (inputlessSchemaFS → emptySchemaFS).

Refs: opencharly/charly#712

How tested

Gate for this change class: the sdk is a contract module (a library with no binary and no deployable). The gate that exercises every changed path is go test ./... -count=1 over the module, plus gofmt/go vet. There is no sdk-internal entry point to bed-test: the changed function is reached only from a plugin's serve path, which the consumer legs carry (they restore the schemas and run the beds).

1. Module gate — go test ./... -count=1 (fresh, on the final committed tree):

ok  	github.com/opencharly/sdk	0.503s
ok  	github.com/opencharly/sdk/agentkit	0.566s
ok  	github.com/opencharly/sdk/buildkit	0.021s
ok  	github.com/opencharly/sdk/candywalk	0.020s
ok  	github.com/opencharly/sdk/charlylib	0.028s
ok  	github.com/opencharly/sdk/checkkit	0.033s
ok  	github.com/opencharly/sdk/cmd/charly-lib-gen	0.020s
ok  	github.com/opencharly/sdk/deploykit	16.443s
ok  	github.com/opencharly/sdk/enginekit	0.022s
ok  	github.com/opencharly/sdk/kit	11.030s
ok  	github.com/opencharly/sdk/llmkit	0.511s
ok  	github.com/opencharly/sdk/loaderkit	0.698s
ok  	github.com/opencharly/sdk/packagekit	2.657s
ok  	github.com/opencharly/sdk/vmshared	0.157s

2. Changed-path tests — go test . -run 'Capabilities|Meta' -v -count=1 (fresh):

--- PASS: TestBuildCapabilitiesNoRequiresIsEmpty (0.00s)
--- PASS: TestBuildCapabilitiesRequiresRoundTrip (0.00s)
--- PASS: TestNewMetaWithRequiresDescribeCarriesRequires (0.00s)
--- PASS: TestNewMetaDescribeHasNoRequires (0.00s)
--- PASS: TestBuildCapabilitiesCommandParentRoundTrip (0.00s)
--- PASS: TestBuildCapabilitiesRejectsCommandParentOffCommand (0.00s)
--- PASS: TestBuildCapabilitiesRequirementCommandParentRoundTrip (0.00s)
--- PASS: TestBuildCapabilitiesDropsProtocolVersion (0.00s)
--- PASS: TestBuildCapabilitiesCarriesInteractive (0.00s)
--- PASS: TestBuildCapabilitiesRejectsNilSchema (0.00s)
--- PASS: TestBuildCapabilitiesRejectsEmptySchema (0.00s)
--- PASS: TestBuildCapabilitiesAcceptsDocSchemaWithoutInputDef (0.00s)

The two rejection tests fail without the change (they assert the waiver is gone); the doc-schema test fails if the per-capability InputDef rule is re-introduced.

3. Removal sweep — the waiver and the stale identifier are gone:

$ grep -rn "stub-gate\|input-less verb\|may ship no schema\|inputlessSchemaFS" --include=*.go .
./schema.go:87:	// NO SCHEMA-LESS PLUGINS (the former "stub-gate relaxation" is DELETED). Every
./schema_contract_test.go:11:// The former "stub-gate relaxation" (an input-less plugin could pass a nil
$ grep -rn "inputlessSchemaFS" --include=*.go .
(no output — sweep clean)

(only the two prose references that name the deleted relaxation).

4. gofmt / go vet:

gofmt clean
vet clean

Diff-stats at head 482d1a7:

 loaderkit/parse.go          |  3 +-
 requires_test.go            | 24 ++++++++--------
 schema.go                   | 38 ++++++++++++-------------
 schema_capabilities_test.go |  9 +++---
 schema_contract_test.go     | 68 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 104 insertions(+), 38 deletions(-)

Rulebook compliance

  • R0 (skills first): /charly-internals:git-workflow, /charly-internals:plugin, /charly-internals:cutover-policy, and /charly-internals:go were loaded before any edit/branch/commit/PR action.
  • R1 (RCA every anomaly): the defect (the relaxation + its ~dozens of exploiters, incl. the stale "doc schema" comments) is root-caused in R5 cutover: eradicate the schema-less / input-less plugin exception — ONE uniform plugin config+schema+codegen surface charly#712 before any remediation; no retry/band-aid. The validator's stale-identifier finding (inputlessSchemaFS) is fixed here, not deferred.
  • R2 (finish the whole cutover): the cutover is ONE change decomposed into ordered per-repo units landed as forward motion (cutover-policy, "decomposition"): sdk (this unit) → the plugins that pass nil (restore schema/*.cue + embed + pass the FS + regenerate params/) → the charly host gate (registerPluginUnitSchema) → the marketplace doc. This PR is the sdk unit; the consumer units are the immediate next legs of the same cutover, tracked in #712, not a deferral. They are separate repos, so they cannot share this PR; they are pinned to older SDK versions, so landing the sdk contract first leaves no broken tree.
  • R3 (no duplication): the change removes an exception; the schema contract stays the ONE schemaconcat + cue exp gengotypes path — no second implementation is introduced.
  • R4 (no workarounds): no sleep/retry/suppression/fallback. The root fix is the unconditional schema requirement; a plugin that shipped no schema now fails loudly at serve time.
  • R4a (fix the product before docs): the SDK contract is fixed here; the marketplace doctrine that taught the waiver is corrected in its own leg of this same cutover (never worked around by leaving the doc describing the old rule).
  • R5 (delete legacy completely): the relaxation is deleted in the same change that adds the rejection; the claim-keyed sweep (step 3 above) returns only prose naming the deleted relaxation.
  • R6 (git safety): one feat/ branch, append-only commits, no force-push, no hook bypass, no direct push to main.
  • R7 (prove behavior, not compilation): the new tests fail without the change (they assert the rejection); the changed path is executed by the module gate pasted above.
  • R7a (live or skip): N/A — this module crosses no live-service boundary; the module gate is pure/deterministic in-repo logic, unit-tested normally.
  • R8 (preserve emitted artifacts): the emitted artifact is the Describe reply (Capabilities + schema_cue); the tests marshal/round-trip it and assert the rejection paths, so the boundary is validated.
  • R9 (binary equals source): N/A — the sdk module builds no binary and deploys nothing; it is a proxy-resolved Go contract library.
  • R10 (fresh disposable proof): the module gate ran fresh on the final committed tree (step 1). Runtime proof on a disposable: true bed lands with the consumer legs that carry the pins and the deployable, as stated above.

Change classification

  • Change class: charly-or-sdk Go (the sdk contract module) — breaking (a plugin that passed a nil schema FS now fails to serve).
  • Verification gate: the module gate go test ./... -count=1 (fresh) + gofmt/go vet; consumer-leg runtime beds follow.
  • Attribution tier: fully tested and validated — the full gate for this change class passed on the final tree and every changed path is exercised by the new/changed unit tests.

Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)

…ability (delete the input-less waiver)

The "stub-gate relaxation" let a plugin whose capabilities declare no typed input
pass a nil schemaFS and serve an EMPTY schema — making a plugin whose verb input
is validated against NOTHING a legal shape. It is not.

BuildCapabilitiesWithRequires now rejects, unconditionally:
- a nil schemaFS (NO CUE schema);
- a schema concatenating to an empty body (EMPTY CUE schema);
- a capability declaring NEITHER an input_def NOR a command model (INPUT-LESS).

A command is not input-less: its typed input is its #CLIModel (Kong-reflected),
the same CUE-validated + Go-generated surface every other class uses. A trivial
command (e.g. `charly version`) ships a minimal schema + model, never nothing.

Refs opencharly/charly#712.
@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 21c13416f8ad181c8d7a374c3fa0dc9182ce6e5e (branch: feat/signoff-author)

Change class: sdk Go contract-module (breaking) — code/config; library gate = module tests (go test ./...). No bed is feasible for the changed function (reached only via a consumer's serve path), so the module gate is the correct class gate; not a block.

Blocks

  1. B5/R1 — comment/reality divergence (schema_contract_test.go:22). The doc comment reads
    // inputlessSchemaFS is a schema FS that concatenates to an EMPTY body …
    but the function it documents is emptySchemaFS (line 24). The comment names an identifier that exists nowhere in the diff (or the package) — a documentation/reality divergence, which R1/B5 treats as an incident. The body's own R5 "grep self-test" does not cover this rename, so the sweep is not complete. Fix: change the comment's subject to emptySchemaFS and confirm the sweep covers the stale identifier.

  2. A1 — rulebook-compliance section is incomplete. The body's "Rulebook compliance" section answers only R1/R3/R5/R7/R10. Applicable rules are left unanswered — most notably R2 (this PR explicitly defers the host gate + plugin-review/plugin-authoring/plugin-box/plugin-pod consumer legs) and R4 — and the genuinely-excluded rules (R0/R4a/R6/R8/R9) are not marked N/A — <reason>. A1 requires EVERY applicable rule answered with a one-line HOW, or an explicit N/A. Add the missing bullets.

Verdict: BLOCK


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

…ability InputDef rule

The canonical command plugin (plugin-example-command) and the substrate kinds
(kind:candy) and deploy targets (deploy:local) declare NO structured plugin_input
by design — their contract is their CLI grammar / the substrate — and the
pre-compaction "doc schema" existed for exactly that case (plugin-candy comment:
"plus the self-contained doc schema, via sdk.NewMeta"). So the uniform rule is
the SCHEMA, not a per-capability InputDef:

- a nil schemaFS is rejected (NO CUE schema);
- a schema concatenating to an empty body is rejected (EMPTY CUE schema);
- a capability with no structured input is FINE as long as the plugin ships its
  doc schema (pinned by TestBuildCapabilitiesAcceptsDocSchemaWithoutInputDef).

Also fixes the validator finding: the stale `inputlessSchemaFS` identifier in the
test comment (now `emptySchemaFS`).

Refs opencharly/charly#712.
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 482d1a70b7cd2ec5b6d79eb8a481da1d3c829a53 (branch: feat/signoff-author)

Security screen: PASS — diff only tightens the sdk contract (deletes a waiver); no secrets, no new deps, no guardrail weakening, no embedded directives.

Checklist: All applicable rules PASS or NA. Verified against the CURRENT tree: the two rejections in schema.go are unconditional; the new/changed code paths are covered by TestBuildCapabilitiesRejectsNilSchema / RejectsEmptySchema / AcceptsDocSchemaWithoutInputDef; the pasted module-gate, changed-path, sweep, and diff-stat outputs are internally consistent (grep hits resolve to schema.go:87 and schema_contract_test.go:11; 104/38 insertions/deletions reconcile across all 5 files).

Comment intake: 1 comment — github-actions[bot] BLOCK at 21c13416f8ad (a prior commit, not the head). Both findings are stale-superseded: (1) the doc-comment subject is now emptySchemaFS (current schema_contract_test.go:10-12), and (2) the current body's rulebook section answers R0–R10 (incl. R2/R4, with N/A for R7a/R9), so neither reproduces against the current state.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 27, 2026 11:24
@github-actions
github-actions Bot merged commit 43f16a7 into main Sep 27, 2026
6 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Sep 27, 2026
This was referenced Sep 27, 2026
github-actions Bot pushed a commit to opencharly/plugin-box that referenced this pull request Sep 27, 2026
…ugin) (#17)

* fix(plugin-box)!: ship a self-contained CUE schema (no schema-less plugin)

The SDK contract (opencharly/sdk#314) now REJECTS a nil schemaFS and an empty
schema: every plugin MUST ship a non-empty, self-contained CUE schema served
over Describe. This plugin passed `nil` and served an EMPTY schema.

Replace the nil schemaFS with an embedded schemaFS and add schema/box.cue
documenting the box-nested command surface (generate/validate/new/pull/build/
inspect/list/labels/load/merge/reconcile/feature) plus the `list` subcommand
catalog. Add a Go test pinning that NewMeta().Describe serves a non-empty
schema carrying #BoxPlugin.

R5: the old schema-less path is deleted in the same change. Part of the
cutover tracked in opencharly/charly#712.

* fix(plugin-box): cure validator findings (honest schema comment, base++plugin splice test)

- candy/plugin-box/schema: drop the false `cue exp gengotypes` -> params/cue_types_gen.go
  claim; state the served doc/config surface with NO Go consumer (the plugin declares no
  typed plugin_input), and that the schema is package-less so the host can splice it.
- candy/plugin-box/schema_serve_test.go: add TestServedSchemaSplicesOntoHostBase - reproducing
  charly's `compileBasePlusServed` splice (the real `base ++ plugin` host load gate),
  stronger than Describe alone.
- go.mod: cuelang.org/go is now a direct test dependency.

Refs: opencharly/charly#712

Assisted-by: OpenCode opencode-go DeepSeek V4.1 Flash (analysed on a live system)

* docs: re-freeze R10 bed-exemption evidence + maintainer sign-off

* docs: re-freeze head for validator re-review (corrected body)

Body corrected to report `charly box validate` EXACTLY as executed (never green
against a red output), to account for the go.mod dependency promotion, to make the
bed-evidence repo-wide, and to cite the in-thread maintainer R10 sign-off. No code
change; the re-freeze moves the head so the required gate re-reads the body.

Refs: opencharly/charly#712

Assisted-by: OpenCode ollama-cloud DeepSeek V4.1 Flash (analysed on a live system)

* docs: re-freeze head for validator re-review (green pinned-CI validate + R10 change-class framing)

* docs: re-freeze head for validator re-review (pinned-CI validate with version + R10 citation)

* docs: re-freeze head — maintainer R10 sign-off recorded on this PR

* docs: re-freeze head — fix A1 import + schema-field accounting

---------

Co-authored-by: Andreas Trawoeger <[email protected]>
github-actions Bot pushed a commit to opencharly/plugin-deploy-vm that referenced this pull request Sep 27, 2026
…ess plugin) (#30)

* fix(plugin-deploy-vm)!: ship a self-contained CUE schema (no schema-less plugin)

The SDK contract (opencharly/sdk#314) now REJECTS a nil schemaFS and an empty
schema: every plugin MUST ship a non-empty, self-contained CUE schema served
over Describe. This plugin passed `nil` and served an EMPTY schema.

Replace the nil schemaFS with an embedded schemaFS and add schema/vm.cue
documenting the deploy:vm capability (a lifecycle substrate). Add a Go test
pinning that NewMeta().Describe serves a non-empty schema carrying
#DeployVMPlugin.

R5: the old schema-less path is deleted in the same change. Part of the
cutover tracked in opencharly/charly#712.

* fix(plugin-deploy-vm): cure validator findings (honest schema comment, base++plugin splice test)

- candy/plugin-deploy-vm/schema: drop the false `cue exp gengotypes` -> params/cue_types_gen.go
  claim; state the served doc/config surface with NO Go consumer (the plugin declares no
  typed plugin_input), and that the schema is package-less so the host can splice it.
- candy/plugin-deploy-vm/schema_serve_test.go: add TestServedSchemaSplicesOntoHostBase - reproducing
  charly's `compileBasePlusServed` splice (the real `base ++ plugin` host load gate),
  stronger than Describe alone.
- go.mod: cuelang.org/go is now a direct test dependency.

Refs: opencharly/charly#712

Assisted-by: OpenCode opencode-go DeepSeek V4.1 Flash (analysed on a live system)

* docs: re-freeze R10 bed-exemption evidence + maintainer sign-off

* docs: re-freeze head for validator re-review (corrected body)

Body corrected to report `charly box validate` EXACTLY as executed (never green
against a red output), to account for the go.mod dependency promotion, to make the
bed-evidence repo-wide, and to cite the in-thread maintainer R10 sign-off. No code
change; the re-freeze moves the head so the required gate re-reads the body.

Refs: opencharly/charly#712

Assisted-by: OpenCode ollama-cloud DeepSeek V4.1 Flash (analysed on a live system)

* docs: re-freeze head for validator re-review (green pinned-CI validate + R10 change-class framing)

* fix(plugin-deploy-vm): migrate manifest to schema 2026.261.1747 + bump pinned CI charly to v2026.269.0556

charly migrate stamps the root charly.yml to the required schema
2026.261.1747; the repo's own deploy.yml-pinned charly tag moves with it
(v2026.238.1242 -> v2026.269.0556) so the committed CI gate stays green.
Coupled to the self-contained-schema change; opencharly/charly#712.

* docs: re-freeze head — maintainer R10 sign-off recorded on this PR

* docs: re-freeze head — maintainer R10 sign-off recorded on this PR

* docs: re-freeze — A1 import accounting fix + R10 matrix citation

* docs: re-freeze — R10 class determination w/ rulebook clauses

---------

Co-authored-by: Andreas Trawoeger <[email protected]>
github-actions Bot pushed a commit to opencharly/plugin-deploy-local that referenced this pull request Sep 27, 2026
…a-less plugin) (#10)

* fix(plugin-deploy-local)!: ship a self-contained CUE schema (no schema-less plugin)

The SDK contract (opencharly/sdk#314) now REJECTS a nil schemaFS and an empty
schema: every plugin MUST ship a non-empty, self-contained CUE schema served
over Describe. This plugin passed `nil` and served an EMPTY schema.

Replace the nil schemaFS with an embedded schemaFS and add schema/local.cue
documenting the deploy:local capability. Add a Go test pinning that
NewMeta().Describe serves a non-empty schema carrying #DeployLocalPlugin.

R5: the old schema-less path is deleted in the same change. Part of the
cutover tracked in opencharly/charly#712.

* fix(plugin-deploy-local): cure validator findings (honest schema comment, base++plugin splice test)

- candy/plugin-deploy-local/schema: drop the false `cue exp gengotypes` -> params/cue_types_gen.go
  claim; state the served doc/config surface with NO Go consumer (the plugin declares no
  typed plugin_input), and that the schema is package-less so the host can splice it.
- candy/plugin-deploy-local/schema_serve_test.go: add TestServedSchemaSplicesOntoHostBase - reproducing
  charly's `compileBasePlusServed` splice (the real `base ++ plugin` host load gate),
  stronger than Describe alone.
- host_render_test.go: normalize the doc comment so `gofmt -l .` is clean (ZERO warnings).
- go.mod: cuelang.org/go is now a direct test dependency.

Refs: opencharly/charly#712

Assisted-by: OpenCode opencode-go DeepSeek V4.1 Flash (analysed on a live system)

* docs: re-freeze R10 bed-exemption evidence + maintainer sign-off

* docs: re-freeze head for validator re-review (corrected body)

Body corrected to report `charly box validate` EXACTLY as executed (never green
against a red output), to account for the go.mod dependency promotion, to make the
bed-evidence repo-wide, and to cite the in-thread maintainer R10 sign-off. No code
change; the re-freeze moves the head so the required gate re-reads the body.

Refs: opencharly/charly#712

Assisted-by: OpenCode ollama-cloud DeepSeek V4.1 Flash (analysed on a live system)

* docs: re-freeze head for validator re-review (green pinned-CI validate + R10 change-class framing)

* fix(plugin-deploy-local): migrate manifest to schema 2026.261.1747 + bump pinned CI charly to v2026.269.0556

charly migrate stamps the root charly.yml to the required schema
2026.261.1747; the repo's own deploy.yml-pinned charly tag moves with it
(v2026.238.1242 -> v2026.269.0556) so the committed CI gate stays green.
Coupled to the self-contained-schema change; opencharly/charly#712.

* docs: re-freeze head — maintainer R10 sign-off recorded on this PR

* docs: re-freeze head — maintainer R10 sign-off recorded on this PR

* docs: re-freeze — A1 accounting fixes + R10 matrix citation

* docs: re-freeze — R10 class determination w/ rulebook clauses

---------

Co-authored-by: Andreas Trawoeger <[email protected]>
github-actions Bot pushed a commit to opencharly/plugin-udev that referenced this pull request Sep 28, 2026
…lugin) (#5)

* fix(plugin-udev)!: ship a self-contained CUE schema (no schema-less plugin)

The SDK contract (opencharly/sdk#314, the R5 cutover opencharly/charly#712)
DELETES the input-less waiver: sdk.BuildCapabilitiesWithRequires now rejects a
nil schemaFS and an empty schema, so EVERY plugin MUST serve a non-empty,
self-contained CUE schema.

Add candy/plugin-udev/schema/udev.cue (#UdevPlugin; package-less, references no base def,
compiles standalone), embed it via //go:embed schema/*.cue, and pass it to
sdk.NewMeta (was nil). Add schema_serve_test.go pinning the non-empty Describe
schema_cue + the #UdevPlugin def. Sweep the stale "shipping only the self-contained doc schema … (via sdk.NewMeta)" comment.

Refs opencharly/charly#712.

Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)

* fix(plugin-udev): cure validator findings (honest schema comment, base++plugin splice test)

- candy/plugin-udev/schema: drop the false `cue exp gengotypes` -> params/cue_types_gen.go
  claim; state the served doc/config surface with NO Go consumer (the plugin declares no
  typed plugin_input), and that the schema is package-less so the host can splice it.
- candy/plugin-udev/schema_serve_test.go: add TestServedSchemaSplicesOntoHostBase - reproducing
  charly's `compileBasePlusServed` splice (the real `base ++ plugin` host load gate),
  stronger than Describe alone.
- schema/udev.cue: drop the empty `subcommands?`/`config?` placeholders the comment overclaimed.
- go.mod: cuelang.org/go is now a direct test dependency.

Refs: opencharly/charly#712

Assisted-by: OpenCode opencode-go DeepSeek V4.1 Flash (analysed on a live system)

* docs: re-freeze head for validator re-review (corrected body)

Body corrected to report `charly box validate` EXACTLY as executed (never green
against a red output), to account for the go.mod dependency promotion, to make the
bed-evidence repo-wide, and to cite the in-thread maintainer R10 sign-off. No code
change; the re-freeze moves the head so the required gate re-reads the body.

Refs: opencharly/charly#712

Assisted-by: OpenCode ollama-cloud DeepSeek V4.1 Flash (analysed on a live system)

* fix(udev): correct the schema's params claim + bring the root manifest to schema 2026.261.1747

Two R1-gated truths on the branch head:

1. The schema's 'NO GO CONSUMER' comment claimed this schema 'generates NO
   params package and has NO cue exp gengotypes artifact' — but the same candy
   ships params/cue_types_gen.go, generated from this #UdevPlugin def. Reworded
   to state that nothing decodes a plugin_input (the served surface), without a
   false no-codegen claim. Comment-only; the def is unchanged.

2. charly box validate was RED: 'schema 2026.261.1747 is required (found
   "2026.249.2125"). Run: charly migrate'. Ran charly migrate on the repo's own
   root manifest (no candy manifest touched) — the gate is now GREEN.

Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)

---------

Co-authored-by: Andreas Trawoeger <[email protected]>
github-actions Bot pushed a commit to opencharly/charly that referenced this pull request Sep 28, 2026
…ompiled-in plugin pins (inputless cutover) (#720)

* feat(charly)!: reject an empty plugin schema unconditionally + bump compiled-in plugin pins (inputless cutover)

Delete the registerPluginUnitSchema "stub-gate relaxation": an EMPTY served schema
is now rejected NO MATTER WHAT (previously waived when no capability declared an
InputDef). A non-empty "doc schema" declaring no InputDef is still ACCEPTED — the
rule rejects emptiness, not inputlessness. The sdk already enforces the same rule
serve-side (opencharly/sdk#314); this is the host leg.

Bump every compiled-in plugin pin (go.mod + charly.yml + packaging/charly.yml) to
its merged inputless-cutover release.

Refs #712

* docs(charly): fix the garbled doc-comment on the empty-schema gate test (review B18)

The TestPluginSchemaEmptyRejectedUnconditionally doc comment carried unbalanced
backticks and a stray curly quote; gofmt does not catch it. Rewrite it in plain
prose.

Refs #720
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant