fix: trust boundary followup — TOML key typo + missing meta commands#625
Merged
pszymkowiak merged 1 commit intodevelopfrom Mar 16, 2026
Merged
fix: trust boundary followup — TOML key typo + missing meta commands#625pszymkowiak merged 1 commit intodevelopfrom
pszymkowiak merged 1 commit intodevelopfrom
Conversation
- Fix `[filter.` → `[filters.` in risk summary (matches actual TOML DSL format) - Add trust, untrust, session, rewrite to RTK_META_COMMANDS array - Update test to skip trailing_var_arg commands (rewrite, session) Follows up on PR #623 (SA-2025-RTK-002 trust boundary). Signed-off-by: Patrick szymkowiak <patrick.szymkowiak@innovtech.eu>
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
[filter.→[filters.inprint_risk_summary()— was counting wrong TOML key (singular vs plural)trust,untrust,session,rewritetoRTK_META_COMMANDS— these were falling through to raw execution on parse error instead of showing Clap helptest_meta_commands_reject_bad_flagsto skiprewrite/session(trailing_var_arg, likeproxy)Follows up on PR #623 (SA-2025-RTK-002 trust boundary).
Test plan
cargo test trust— 10 tests passcargo test test_meta_commands— passcargo test— 932 pass, 0 fail