Normalize repository validation and metadata
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
ci / test (push) Successful in 1m21s

This commit is contained in:
tegwick 2026-08-20 11:04:43 +02:00
parent d4a4560a8d
commit 9d996d7936
36 changed files with 298 additions and 175 deletions

View file

@ -222,7 +222,7 @@ class TestWorkaroundRemovalReadiness:
# Test that the CLI works when invoked as a subprocess
result = subprocess.run(
[
"python",
sys.executable,
"-c",
'from kaizen_agentic.cli import safe_cli_wrapper; import sys; sys.argv = ["kaizen-agentic", "list"]; safe_cli_wrapper()',
],

View file

@ -58,6 +58,25 @@ description: Second test agent
assert registry.get_agent("agent-two") is not None
def test_agent_definition_ignores_empty_dependencies(tmp_path):
"""An empty dependency declaration must not create an empty-name edge."""
agent_content = """---
name: standalone-agent
description: Agent with an explicit empty dependency list
dependencies: []
---
# Standalone Agent
"""
agent_file = tmp_path / "agent-standalone-agent.md"
agent_file.write_text(agent_content)
agent_def = AgentDefinition.from_file(agent_file)
assert agent_def.dependencies == set()
def test_agent_registry_get_agent(tmp_path):
"""Test getting specific agent."""
agent_content = """---