all agents passing new validation checks

This commit is contained in:
Brian Madison
2025-12-26 17:34:20 +08:00
parent 1f16bb7413
commit 59a0eec2e2
29 changed files with 119 additions and 1054 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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