chore: drop agentTypeRouting table and legacy label/review routing config #1229
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#1229
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?
Remove
agent_type_routingtable, routing fields fromagent_type_config, and all code that reads/writes them. Flow YAML is now the single routing source of truth.Depends on: AgentRole removal issue (#1226 — routing code must be dead before dropping tables).
Acceptance criteria
DB migration
agent_type_routingtable droppedreviews_authors,reviews_labels,match_labelscolumns dropped fromagent_type_configCode removal
agentTypeRoutingdefinition removed fromschema/agent-type.tsroutes_labels_json,reviews_authors_json,reviews_labels_json,label_rules_json,assignee_rules_jsonremoved from all read/write pathswebhook-config-parser.ts— routing block parsing removedwebhook-config-lookup.ts—labelToRoute,authorToReviewer,labelToReviewermaps and build logic removedapplyRoutingFromConfig()inwebhook-routing.ts— label/review routing logic stripped; only flag-based pool building survivesRoutingInputType.routes_labels,reviews_authors,reviews_labelsremovedBAKED_DEFAULT_INPUTrouting entries removedonboarding-apply.ts— no longer writes routing rowsTests
webhook-routing.test.tswebhook-config-parser.test.tsroutes_labels,reviews_authors,reviews_labels,labelToRoute,authorToReviewerOut of scope
issue-labeled.ymlflow content (label routing lives there now)References
schema/agent-type.ts:97— agentTypeRouting tablewebhook-routing.ts:133— BAKED_DEFAULT_INPUTwebhook-config-lookup.ts:610— roleForType etc (removed in AgentRole issue)