feat: auto-patch flow YAML refs on agent type rename/delete #1228
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/agent-hooks#1228
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?
As an operator, I want the system to automatically update flow YAML files when I rename or delete an agent type so broken
type:references never accumulate silently.Depends on: schema regen issue.
Acceptance criteria
Rename
type: <old_name>inresolve_agentwith:blockstype: <new_name>in-placepatched_flows: string[]listing updated filenamesDelete
type: <name>before deleting409 Conflictlisting referencing filesYAML scanner
type:only insidewith:blocks ofresolve_agentstepsTests
Out of scope
References
issue-labeled.yml— containstype: designer,type: design-reviewer(primary targets)config-agent-types.ts— rename/delete handlers