Skip to content

fix: validate MCP prompts correctly; pack validates the config first (#156, #162) - #168

Merged
jrosskopf merged 1 commit into
mainfrom
fix/gh-156-validate-config-prompts
Sep 29, 2026
Merged

jrosskopf merged 1 commit into
mainfrom
fix/gh-156-validate-config-prompts

Conversation

@jrosskopf

@jrosskopf jrosskopf commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • --validate-config no longer demands template-source/a connection for MCP prompts; examples/flapi.yaml validates
  • flapi pack validates <in>/flapi.yaml first; invalid config is refused and no bundle is written (--skip-validation opts out)

Test plan

  • Unit [mcp-prompt], full suite 806/807 (1 skipped)
  • test_pack_validates, test_validate_config_prompts, test_server_block_rejected, self-packaging suites

Closes #156
Closes #162

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

…g first (#156, #162)

- Prompts need mcp-prompt.template, not template-source or a connection
- flapi pack refuses an invalid flapi.yaml and writes no bundle; --skip-validation opts out
- Self-packaging fixtures gain the required project-description
@jrosskopf
jrosskopf merged commit 94f40ab into main Sep 29, 2026
23 checks passed
@jrosskopf
jrosskopf deleted the fix/gh-156-validate-config-prompts branch September 29, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant