Skip to content

fix: validate catalog kind overrides#97

Open
puneetdixit200 wants to merge 1 commit into
mathomhaus:mainfrom
puneetdixit200:fix-catalog-kind-validation
Open

fix: validate catalog kind overrides#97
puneetdixit200 wants to merge 1 commit into
mathomhaus:mainfrom
puneetdixit200:fix-catalog-kind-validation

Conversation

@puneetdixit200
Copy link
Copy Markdown

Summary

Fixes #87

Validates explicit lore catalog --kind overrides before walking/importing markdown files. Invalid values now return the existing invalid-kind error with the valid taxonomy listed, and no entries are inserted.

I also refreshed generated CLI docs because make check surfaced existing generated-doc drift for guild mcp install --update/--force.

Tests

  • GOMODCACHE=$PWD/.gomodcache GOCACHE=$PWD/.gocache go test ./internal/lore -run Catalog
  • PATH=$PWD/.bin:$PATH GOMODCACHE=$PWD/../guild-gomodcache GOCACHE=$PWD/../guild-gocache make check

@github-actions github-actions Bot added area: lore Lore knowledge archive area: docs Documentation, README, INSTRUCTIONS labels May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Documentation, README, INSTRUCTIONS area: lore Lore knowledge archive

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] lore catalog: validate explicit --kind override before import

1 participant