mirror of
https://github.com/bmadcode/BMAD-METHOD.git
synced 2025-12-29 16:14:59 +00:00
31 lines
614 B
YAML
31 lines
614 B
YAML
|
|
# Test: Extra unknown fields in prompts
|
||
|
|
# Expected: FAIL
|
||
|
|
# Error code: unrecognized_keys
|
||
|
|
# Error path: agent.prompts[0]
|
||
|
|
# Error keys: ["extra_field"]
|
||
|
|
|
||
|
|
agent:
|
||
|
|
metadata:
|
||
|
|
id: extra-prompt-fields
|
||
|
|
name: Extra Prompt Fields
|
||
|
|
title: Extra Fields
|
||
|
|
icon: ❌
|
||
|
|
|
||
|
|
persona:
|
||
|
|
role: Test agent
|
||
|
|
identity: Test identity
|
||
|
|
communication_style: Test style
|
||
|
|
principles:
|
||
|
|
- Test principle
|
||
|
|
|
||
|
|
prompts:
|
||
|
|
- id: prompt1
|
||
|
|
content: Valid content
|
||
|
|
description: Valid description
|
||
|
|
extra_field: Not allowed
|
||
|
|
|
||
|
|
menu:
|
||
|
|
- trigger: help
|
||
|
|
description: Show help
|
||
|
|
action: display_help
|