feat(agents): reference primary agent + read-only subagent + guard fixtures
az-beitrag (mode: primary): Fachbereichs-Contributor-Assistent guiding users to draft valid artifacts per README guard rules; keeps full delegation capability (delegates the formal check to az-pruefer via task tool) and explicitly acknowledges the managed permission layer. az-pruefer (mode: subagent): read-only checker with tools [read, glob, grep] — no edit/bash; invocable via @mention and task tool. Three invalid agent fixtures under tests/fixtures/agents/invalid/ covering all README-documented failure modes: missing mode, missing description, invalid mode value. Closes az-agent-defaults-gyj
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
mode: primary
|
||||
---
|
||||
|
||||
Dieses Frontmatter enthält einen `mode`, aber das Pflichtfeld `description`
|
||||
fehlt. Der Guard muss rot abbrechen.
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
---
|
||||
description: Testgegenstand — Agent ohne Pflichtfeld mode.
|
||||
temperature: 0.3
|
||||
---
|
||||
|
||||
Dieses Frontmatter enthält eine description, aber das Pflichtfeld `mode`
|
||||
(`primary` oder `subagent`) fehlt. Der Guard muss rot abbrechen.
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
description: Testgegenstand — mode mit ungültigem Wert.
|
||||
mode: sideload
|
||||
---
|
||||
|
||||
Der Wert von `mode` ist weder `primary` noch `subagent`. Der Guard muss rot
|
||||
abbrechen.
|
||||
Reference in New Issue
Block a user