fix: remove _ single-exit for user roles #88
Reference in New Issue
Block a user
Delete Branch "fix/86-remove-single-exit-underscore"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Remove the
_(single-exit / UNIT_STATUS) pattern for user-defined roles.Why
_makes frontmatter type indeterminate — user roles should always have explicit$statusenum values. Breaking change for clearer workflow semantics.Design
_— special entry node, no agent output$statusenum in frontmatter schema$statusvalues — no wildcard fallback$statusinstead of silently using_Changes
moderator/evaluate.ts— remove UNIT_STATUS fallback, error on missing $statusvalidate.ts— isGraph() rejects_for non-$START rolesvalidate-semantic.ts— remove checkSingleExitRole(), require $status enumexamples/analyze-topic.yaml— analyst role_→doneTest
804/804 passed ✅
Fixes #86