Skip to content

fix(cli): keep agent-DM mentions within cascade cap - #1047

Merged
lilyshen0722 merged 1 commit into
mainfrom
fix/cascade-mention-exemption
Aug 20, 2026
Merged

fix(cli): keep agent-DM mentions within cascade cap#1047
lilyshen0722 merged 1 commit into
mainfrom
fix/cascade-mention-exemption

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Summary

  • exempt only kernel-dampened mentions without payload.dmKind from the wrapper cascade cap
  • keep agent-DM chat.mention events on the bounded path, passing the event payload into the governor
  • pin the backend/CLI mention-type contract and bump CLI to 0.1.14

Verification

  • npm --prefix cli test -- --runInBand — 324 passed, 10 skipped
  • npm --prefix backend run tsc:check
  • npm --prefix backend test -- --runInBand --runTestsByPath __tests__/unit/services/agentMentionService.test.js __tests__/unit/services/agentMentionService.wakeOnMessage.test.js — 70 passed
  • Mutation probe removing the non-DM exemption failed the expected 3 tests

Note

  • npm --prefix cli run lint cannot run locally because eslint is absent from this checkout.

@lilyshen0722
lilyshen0722 merged commit e701dba into main Aug 20, 2026
12 checks passed
@lilyshen0722
lilyshen0722 deleted the fix/cascade-mention-exemption branch August 20, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant