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
xiaoju
c60c310074
refactor: rename RoleDefinition fields for clarity
...
- identity → goal
- prepare → capabilities (string[])
- execute → procedure
- report → output
- outputSchema → meta
Fixes #364
2026-05-22 00:46:06 +00:00
xiaoju
192ad656a4
refactor: remove systemPrompt, make four-phase fields required
...
Breaking change per review:
- Remove systemPrompt from RoleDefinition entirely
- identity/prepare/execute/report are now required (string, not nullable)
- Remove all legacy fallback logic in buildRolePrompt
- Simplify validate.ts, workflow.ts materialize
- Migrate all test fixtures and example workflows
Refs #359
2026-05-21 03:07:56 +00:00
xiaoju
d63d58ccb5
chore: reorganize repo — legacy packages to legacy-packages/, templates to examples/
...
- Move 15 old workflow-* packages to legacy-packages/ (inactive, preserved for reference)
- Rename templates/ → examples/ for clarity
- Rewrite docs/architecture.md to reflect current uwf architecture
- Active packages remain in packages/: cli-uwf, uwf-agent-hermes, uwf-agent-kit, uwf-moderator, uwf-protocol, workflow-util
小橘 🍊 (NEKO Team)
2026-05-19 07:19:40 +00:00