Skip to main content

Dynamic routing via label addition (mentions)

Source: tests/bdd/features/mention.feature

Feature: Dynamic routing via label addition (mentions)
Adding a label mid-conversation pulls a new agent into the thread.

@bdd
Scenario: forge mentions rio mid-conversation
Given a fresh beads environment with 6 agents
And "priya" creates a bead "Add payment endpoint" labeled "forge"
And "forge" claims the bead
And "forge" comments "STATUS: Implementation done"
When "forge" adds label "rio" to the bead
And "forge" comments "QUESTION: @rio please review for security compliance"
Then "rio" inbox contains 1 bead titled "Add payment endpoint"
And the bead shows 2 comments
And the bead has labels "forge,rio"