You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "zjncs (via GitHub)" <gi...@apache.org> on 2026/10/13 07:09:04 UTC

[PR] test(ai): pin the tool risk tiers and their labels [rocketmq-dashboard]

zjncs opened a new pull request, #6601:
URL: https://github.com/apache/rocketmq-dashboard/pull/6601

   ### What
   
   ToolRiskLevel is the three-tier risk classification the AI tool gate keys on: read-only tools pass freely, mutations need a plan and confirmation, high-risk ones need break-glass. It had no test. This pins the three tiers and their operationLevel labels - the labels travel to the client, so a swapped one would let a mutation pass the read-only gate.
   
   ### Verification
   
   - New tests on unmodified code: **2/2 green**, checkstyle clean.
   - Discriminating mutation: L2's label swapped to L1_READ_ONLY (red - the swap is caught).
   - Restored: green. Test-only change; no product code touched.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(ai): pin the tool risk tiers and their labels [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub) via commits" <co...@rocketmq.apache.org>.
github-actions[bot] commented on PR #6601:
URL: https://github.com/apache/rocketmq-dashboard/pull/6601#issuecomment-6565975036

   This pull request has been automatically closed because there has been no activity for 7 days. If you would like to continue working on this, please reopen the PR with updated changes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test(ai): pin the tool risk tiers and their labels [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub) via commits" <co...@rocketmq.apache.org>.
github-actions[bot] closed pull request #6601: test(ai): pin the tool risk tiers and their labels
URL: https://github.com/apache/rocketmq-dashboard/pull/6601


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org