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:
@@ -16,15 +16,15 @@ agent:
|
||||
- Test compound format
|
||||
|
||||
menu:
|
||||
- trigger: TS or tech-spec or fuzzy match on tech-spec
|
||||
description: Two-word compound trigger
|
||||
- trigger: TS or fuzzy match on tech-spec
|
||||
description: "[TS] Two-word compound trigger"
|
||||
action: tech_spec
|
||||
- trigger: DS or dev-story or fuzzy match on dev-story
|
||||
description: Another two-word compound trigger
|
||||
- trigger: DS or fuzzy match on dev-story
|
||||
description: "[DS] Another two-word compound trigger"
|
||||
action: dev_story
|
||||
- trigger: WI or workflow-init-process or fuzzy match on workflow-init-process
|
||||
description: Three-word compound trigger (uses first 2 words for shortcut)
|
||||
- trigger: WI or fuzzy match on workflow-init-process
|
||||
description: "[WI] Three-word compound trigger (uses first 2 words for shortcut)"
|
||||
action: workflow_init
|
||||
- trigger: H or help or fuzzy match on help
|
||||
description: Single-word compound trigger (1-letter shortcut)
|
||||
- trigger: H or fuzzy match on help
|
||||
description: "[H] Single-word compound trigger (1-letter shortcut)"
|
||||
action: help
|
||||
|
||||
23
test/fixtures/agent-schema/valid/metadata/core-agent-with-module.agent.yaml
vendored
Normal file
23
test/fixtures/agent-schema/valid/metadata/core-agent-with-module.agent.yaml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# Test: Core agent can have module field
|
||||
# Expected: PASS
|
||||
# Note: Core agents can now include module field if needed
|
||||
|
||||
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
|
||||
22
test/fixtures/agent-schema/valid/metadata/module-agent-missing-module.agent.yaml
vendored
Normal file
22
test/fixtures/agent-schema/valid/metadata/module-agent-missing-module.agent.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
# Test: Module agent can omit module field
|
||||
# Expected: PASS
|
||||
# Note: Module field is optional
|
||||
|
||||
agent:
|
||||
metadata:
|
||||
id: bmm-missing-module
|
||||
name: No Module
|
||||
title: Optional 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
|
||||
23
test/fixtures/agent-schema/valid/metadata/wrong-module-value.agent.yaml
vendored
Normal file
23
test/fixtures/agent-schema/valid/metadata/wrong-module-value.agent.yaml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# Test: Module agent can have any module value
|
||||
# Expected: PASS
|
||||
# Note: Module validation removed - agents can declare any module
|
||||
|
||||
agent:
|
||||
metadata:
|
||||
id: wrong-module
|
||||
name: Any Module
|
||||
title: Any Module Value
|
||||
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