Skip to content

schema: project-config.schema.json rejects plugins, cnb_hosts, gitea_hosts and skillEntry.kind #438

Closed

Description

@runkids

Problem

schemas/project-config.schema.json is additionalProperties: false, but it is missing keys that ProjectConfig already accepts, so editors with schema validation flag valid project configs:

  • top-level plugins, cnb_hosts, gitea_hosts
  • skillEntry.kind (present on ResourceEntry in Go, used for agents in the manifest)

Evidence (v0.25.0, aeaea40e)

  • internal/config/project.go:293-313 — ProjectConfig fields
  • internal/config/project.go:216-226 — ResourceEntry{name, kind, source, tracked, group, branch}
  • schemas/project-config.schema.json:8 — additionalProperties: false; no plugins / cnb_hosts / gitea_hosts properties; skillEntry (around line 133) has no kind

Fix

Add the missing properties, and consider a small test that diffs struct yaml tags against schema properties so this does not drift again.

Found while researching #239; unrelated to that proposal.

Activity

  1. added
    bug
    on Oct 6, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions