xiaoju
|
3d6399c0e3
|
feat: make edge prompt required (Phase 1)
- Transition.prompt: string | null → string
- EvaluateResult.prompt: string | null → string
- AgentContext.edgePrompt: string | null → string
- CLI YAML validation rejects missing prompt
- All tests updated
Phase 2 will replace edgePrompt === null checks with findLastRoleIndex.
Refs #405, #406, #404
|
2026-05-23 04:28:58 +00:00 |
|
xiaoju
|
02f7f0b708
|
refactor!: rename RoleDefinition.meta → frontmatter
BREAKING CHANGE: All workflow YAML files must use 'frontmatter' instead of 'meta'.
- workflow-protocol: RoleDefinition.meta → frontmatter, schema updated
- cli-workflow: validate.ts, workflow.ts — resolveMetaRef → resolveFrontmatterRef
- workflow-agent-kit: run.ts — metaSchema → frontmatterSchema
- All YAML files updated (examples/, .workflows/)
Fixes #374
|
2026-05-22 06:05:07 +00:00 |
|