feat(tool-safety): add Tool Script Safety Guard with pluggable filter…#103
Open
Violet2314 wants to merge 5 commits into
Open
feat(tool-safety): add Tool Script Safety Guard with pluggable filter…#103Violet2314 wants to merge 5 commits into
Violet2314 wants to merge 5 commits into
Conversation
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
CI environments import the full SDK which sets a global TracerProvider. OTel silently ignores subsequent set_tracer_provider calls, so the test's in-memory exporter never received spans. Build the tracer directly from a local provider instead of relying on the global one.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #103 +/- ##
==========================================
Coverage ? 87.64107%
==========================================
Files ? 433
Lines ? 41557
Branches ? 0
==========================================
Hits ? 36421
Misses ? 5136
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Author
|
I have read the CLA Document and I hereby sign the CLA |
Rook1ex
added a commit
to trpc-group/cla-database
that referenced
this pull request
Jul 1, 2026
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.
Title: feat: Tool Script Safety Guard
Related Issue: Resolves #90
Summary
为 Tool / Skill / CodeExecutor 新增执行前安全扫描器。通过可插拔 Filter 规则扫描 Python 和 Bash 脚本,输出 allow / deny / needs_human_review 决策,并产出结构化报告、审计日志和 OpenTelemetry span 埋点。
Changes
Testing