Flows YAML — port forge-event ops (dispatch, resolve_agent, dedup_*, guards) #1066
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#1066
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
User story
As the YAML executor, I need every operation currently used by the JSON node engine to exist as a YAML op, so that the 9 default flows can be ported without behavioural drift.
Acceptance criteria
Ops to author (one file per op under
apps/server/src/domain/flows-yaml/ops/)dispatch— enqueue task on worker registry. Args:agent,task,stateless_session?,force_merge?, …dispatch_breakdown— slash-command path.resolve_agent— single op withlogin:xortype:arg, returns{ id, login, type, container_id }.dedup_check,dedup_record,dedup_cancel_stale.guard_reviewer_dispatch,guard_author_dispatch.detect_change_request— maps PR envelope → legacy agent shape.set_label,remove_label,comment— thin wrappers over MCP forge client.Conformance
argsSchemaandoutputsSchema.deps(capabilities pulled from ctx).defaultArgInjectionsbundle..test.tsagainst a fake ctx.Output parity
Out of scope
References
docs/specs/flows-yaml.md§6.1 table.