Skip to content

Config.Local and Config.Sidecar duplicate entries of the generic Config.PluginKinds #414

Open

Description

@aitrawog

What is wrong (duplication, R2)

spec.Config gains the generic PluginKinds map[string]map[string]json.RawMessage (every plugin kind's opaque nodes, by kind word) in the opencharly/sdk#598 spec change, which deletes the skill-only Config.Skills copy. Two older kind-specific copies of entries of that same map remain:

  • Config.Local — uf.Local(), the local kind's templates;
  • Config.Sidecar — uf.PluginKinds["sidecar"].

Each is now the same data reachable two ways (cfg.Sidecar and cfg.PluginKinds["sidecar"]), so a reader can pick either and a future projection change can update one and not the other.

Why it is filed, not fixed

The sdk#598 change needs only the generic carrier; moving the readers of Local/Sidecar (remote-ref collection and validation for local, plugin-sidecar's resolve for sidecar) is a separate cutover with its own consumers.

What would close it

Point every reader of Config.Local / Config.Sidecar at Config.PluginKinds[<kind>] and delete both fields, with the claim-keyed grep pasted.

Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942
Assisted-by: Claude Code Claude Opus 5.5 (analysed on a live system)

Activity

  1. added
    category:runtime
    type:chore
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:runtimetype:chore

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions