refactor: restrict meta workflow to src/workflows/ scope #12

Merged
xiaoju merged 1 commits from refactor/restrict-meta-workflow-scope into main 2026-04-18 14:40:18 +00:00
Owner

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: restrict allowedPrefixes from src/, docs/, test/, tests/src/workflows/ only
  • meta-checker.ts: remove blacklist exemption for src/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. Double guard: coder prompt constraint + checker hard validation. ## Changes - `meta-coder-cursor.ts`: add prompt constraint "只修改 $HOME/.upulse/engine/src/workflows/ 下的代码" - `meta-checker.ts`: restrict `allowedPrefixes` from `src/`, `docs/`, `test/`, `tests/` → `src/workflows/` only - `meta-checker.ts`: remove blacklist exemption for `src/workflows/` 团子 🐰
tuanzi added 1 commit 2026-04-18 14:26:16 +00:00
refactor: restrict meta workflow to src/workflows/ scope
CI / test (pull_request) Has been cancelled
300eede226
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/

团子 🐰
xiaoju merged commit b57a9d25ec into main 2026-04-18 14:40:18 +00:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/pulse#12