SR-5 webhook routing cleanup — drop skillForAgent + skill_overrides field #873
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#873
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 a platform engineer, I want the webhook-routing module to stop holding a parallel skill-name rewrite map, so that the only place a skill name lives is the
agent_skill.namecolumn and there is no name-rewrite indirection at dispatch time.Acceptance criteria
Webhook routing
apps/server/src/http/webhook-routing.ts— drop theskill_overridesfield fromRoutingInputTypeandBAKED_DEFAULT_INPUT.types[*].skillForAgent(agentName, baseSkill)exported function — every call site already passes the base name straight through after SR-4.skillOverrideByAgentindex from the routing state shape.baseSkillForRole(role)is preserved (still maps role → base skill name fired by label dispatch).agent_skillrows seeded by the wizard / migration.Tests
implement → design-implementrewrite are updated: they now assert the dispatcher passesname='implement'straight torenderPrompt, and the seededagent_skillrow supplies the design body.Out of scope
References
specs/skills-rework.md§Webhook routing changes.apps/server/src/http/webhook-routing.ts.