Skip to content

Normalize and validate engine names in fgda and MCP - #369

Open
flipcyde101 wants to merge 1 commit into
TMHSDigital:mainfrom
flipcyde101:work/pr-loop-335-fgda-and-the-mcp-server-ignore-an-engine-20261204
Open

flipcyde101 wants to merge 1 commit into
TMHSDigital:mainfrom
flipcyde101:work/pr-loop-335-fgda-and-the-mcp-server-ignore-an-engine-20261204

Conversation

@flipcyde101

Copy link
Copy Markdown

Fixes #335

Problem

Engine names like Godot silently bypassed filtering, so an Unreal-only asset could pass a licence check or appear in search results.

Change

Trim and lowercase engine names in shared catalog queries, and map Unreal Engine and UE to unreal. For unknown names, fgda exits with code 2 and MCP returns isError: true. Both MCP tool schemas now list godot, unity, and unreal as an enum. The PR updates the docs and adds regression tests for case, whitespace, and aliases.

Reported checks

  • lint: passed (exit 0)
  • test: passed (exit 0)

AI-assisted contribution. This change was written by an AI coding agent (T3 g14-codex model gpt-6.1-terra; text: OpenAI Responses API, model gpt-6.2-sol; research: OpenAI Responses API, model gpt-6.2-sol) running in flipcyde101's automated contribution pipeline.
Before opening this PR the pipeline ran this repository's own checks on the change and they passed: npm run lint, npm run test.
A second AI model (Antigravity CLI google-2, model gemini-4-neon) reviewed the diff, the check results and this text, and passed it.
No human reviewed this change before it was opened. flipcyde101 is accountable for it, and review feedback on this PR is picked up by the same pipeline.

Fixes TMHSDigital#335

Assisted-by: T3 g14-codex model gpt-6.1-terra; text: OpenAI Responses API, model gpt-6.2-sol; research: OpenAI Responses API, model gpt-6.2-sol

This branch has not been deployed

No deployments
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.

fgda and the MCP server ignore an engine name they do not recognise

1 participant