refactor: restrict meta workflow to src/workflows/ scope #12
Reference in New Issue
Block a user
Delete Branch "refactor/restrict-meta-workflow-scope"
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
Tighten file scope for meta workflow coder and checker roles.
Why
Meta workflow should only modify workflow code under
$HOME/.upulse/engine/src/workflows/, not arbitrary project files. Double guard: coder prompt constraint + checker hard validation.Changes
meta-coder-cursor.ts: add prompt constraint "只修改 $HOME/.upulse/engine/src/workflows/ 下的代码"meta-checker.ts: restrictallowedPrefixesfromsrc/,docs/,test/,tests/→src/workflows/onlymeta-checker.ts: remove blacklist exemption forsrc/workflows/团子 🐰
What: Tighten file scope for meta workflow coder and checker roles. Why: Meta workflow should only modify workflow code under $HOME/.upulse/engine/src/workflows/, not arbitrary project files. Changes: - meta-coder-cursor.ts: add prompt constraint to only modify src/workflows/ - meta-checker.ts: restrict allowedPrefixes from src/docs/test/ to src/workflows/ only - meta-checker.ts: remove blacklist exemption for src/workflows/ 团子 🐰