-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
coreenhancementNew feature or requestNew feature or requestsub-agentsSub-agent orchestrationSub-agent orchestration
Description
Parent: #709
Summary
Implement the sub-agent definition format (markdown with TOML frontmatter) and parser. Reuse the +++ delimiter pattern from zeph-skills.
Scope
SubAgentDefstruct with fields: name, description, model, tools (ToolPolicy), permissions (SubAgentPermissions), skills (SkillFilter), system_promptToolPolicyenum: AllowList / DenyList / InheritAllSubAgentPermissions: secrets, max_turns, background, timeout_secsSkillFilter: include/exclude glob patterns- TOML frontmatter parser (reuse pattern from zeph-skills loader)
- Definition loader scanning
.zeph/agents/and~/.config/zeph/agents/
Acceptance Criteria
- SubAgentDef parses valid markdown+TOML definition files
- Invalid definitions produce clear error messages
- Loader discovers definitions from project and user directories
- Unit tests for parser edge cases (missing fields, defaults)
- serde(default) for optional fields with sensible defaults (max_turns=50, timeout_secs=300)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreenhancementNew feature or requestNew feature or requestsub-agentsSub-agent orchestrationSub-agent orchestration