Repository navigation
feat: route one work item to the role that owns it - #76
Merged
Merged
Conversation
Rules in .sdd/routing.yaml win. Then one owns or skills match, then the stage owner. No match asks the human and does not call a model. A bot at its wip limit, or a role at role_wip, cannot take another active item.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sdd role routenames the role for one item. Rules in.sdd/routing.yamlwin, then a singleownsorskillsmatch, then the active stage owner. No match printsAsk the human.and does not call a model. That pick is issue [SDD] Model selection by type of work, overridable per role or stage #62.sdd role takewrites one active item to.sdd/agents/<name>/inbox.jsonlwhen the bot is underwipand the role is underrole_wip.sdd role queueshows those inboxes. A handoff appends the same typed note to both inboxes.routing.yaml. The host stub no longer maps stage names to planner, implementer, or reviewer. Two named leads ask the human. One named lead in the accepted section still plans when no rule matches.Fixes #61
Epic #58 stays open. This does not start #62.
Test plan
tsc --noEmitfor core and cli, and biome onpackages/core/srcandpackages/cli/src.sdd verifyranpnpm testand recorded exit 0.