mirror of
https://github.com/bmadcode/BMAD-METHOD.git
synced 2025-12-29 16:14:59 +00:00
all agents passing new validation checks
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
# Test: Compound trigger with mismatched kebab portions
|
||||
# Test: Compound trigger with old format (no longer supported)
|
||||
# Expected: FAIL
|
||||
# Error code: custom
|
||||
# Error path: agent.menu[0].trigger
|
||||
# Error message: agent.menu[].trigger compound format error: kebab-case trigger mismatch: "tech-spec" vs "other-thing"
|
||||
# Error message: agent.menu[].trigger compound format error: invalid compound trigger format
|
||||
|
||||
agent:
|
||||
metadata:
|
||||
id: compound-mismatched-kebab
|
||||
name: Mismatched Kebab
|
||||
title: Mismatched Kebab Test
|
||||
name: Old Format
|
||||
title: Old Format Test
|
||||
icon: 🧪
|
||||
|
||||
persona:
|
||||
@@ -19,6 +19,6 @@ agent:
|
||||
- Test principle
|
||||
|
||||
menu:
|
||||
- trigger: TS or tech-spec or fuzzy match on other-thing
|
||||
description: Kebab portions do not match
|
||||
- trigger: TS or tech-spec or fuzzy match on tech-spec
|
||||
description: Old format with middle kebab-case (no longer supported)
|
||||
action: test
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
# Test: Core agent with unexpected module field
|
||||
# Expected: FAIL
|
||||
# Error code: custom
|
||||
# Error path: agent.metadata.module
|
||||
# Error message: core agents must not include agent.metadata.module
|
||||
# Path context: src/core/agents/core-agent-with-module.agent.yaml
|
||||
|
||||
agent:
|
||||
metadata:
|
||||
id: core-with-module
|
||||
name: Core With Module
|
||||
title: Core Agent
|
||||
icon: ❌
|
||||
module: bmm
|
||||
|
||||
persona:
|
||||
role: Test agent
|
||||
identity: Test identity
|
||||
communication_style: Test style
|
||||
principles:
|
||||
- Test principle
|
||||
|
||||
menu:
|
||||
- trigger: help
|
||||
description: Show help
|
||||
action: display_help
|
||||
@@ -1,25 +0,0 @@
|
||||
# Test: Module agent missing required module field
|
||||
# Expected: FAIL
|
||||
# Error code: custom
|
||||
# Error path: agent.metadata.module
|
||||
# Error message: module-scoped agents must declare agent.metadata.module
|
||||
# Path context: src/modules/bmm/agents/module-agent-missing-module.agent.yaml
|
||||
|
||||
agent:
|
||||
metadata:
|
||||
id: bmm-missing-module
|
||||
name: BMM Missing Module
|
||||
title: Missing Module
|
||||
icon: ❌
|
||||
|
||||
persona:
|
||||
role: Test agent
|
||||
identity: Test identity
|
||||
communication_style: Test style
|
||||
principles:
|
||||
- Test principle
|
||||
|
||||
menu:
|
||||
- trigger: help
|
||||
description: Show help
|
||||
action: display_help
|
||||
@@ -1,26 +0,0 @@
|
||||
# Test: Module agent with wrong module value
|
||||
# Expected: FAIL
|
||||
# Error code: custom
|
||||
# Error path: agent.metadata.module
|
||||
# Error message: agent.metadata.module must equal "bmm"
|
||||
# Path context: src/modules/bmm/agents/wrong-module-value.agent.yaml
|
||||
|
||||
agent:
|
||||
metadata:
|
||||
id: wrong-module
|
||||
name: Wrong Module
|
||||
title: Wrong Module
|
||||
icon: ❌
|
||||
module: cis
|
||||
|
||||
persona:
|
||||
role: Test agent
|
||||
identity: Test identity
|
||||
communication_style: Test style
|
||||
principles:
|
||||
- Test principle
|
||||
|
||||
menu:
|
||||
- trigger: help
|
||||
description: Show help
|
||||
action: display_help
|
||||
Reference in New Issue
Block a user