Repository navigation
feat(app-shell): several outgoing transforms in a fixed order - #993
Merged
smart-ssh-coordinator[bot] merged 3 commits intoOct 27, 2026
Merged
smart-ssh-coordinator[bot] merged 3 commits into
smart-ssh-coordinator[bot] merged 3 commits into
Conversation
#893) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
13 tasks
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
13 tasks
There was a problem hiding this comment.
Review
Verdict: approved
Review level: elevated
Blocking
None.
Non-blocking
- The
lib.rschange (std::mem::takeforextra_data_paths, removed blank line) is a small necessary side effect of callingcombined_outgoing_transform(&self); harmless.
Verified
- counter-proof:
test_composite_chains_output_and_unions_secretsred when the chain passes the original text instead of the previous output, green with the fix (executed: cargo test -p ssh-manager-core composite_chains) - edge cases: 0 →
None, 1 → passed through, 2+ → composite (read: wiring.rs, test executed); rejection mid-chain returns without partial result (executed); empty composite returns the input unchanged → ok - callers checked:
outgoing_transform(session/state plumbing, 5 sites; unchanged typeOption<Arc<..>>),prepare_for_sendunchanged → ok - tests run locally: core
outgoing(5 passed), app-logicoutgoing(34 passed) incl.chain_(27 filtered run), app-shell--lib outgoing(2 passed) (executed, toolchainstablesince pinned 1.99.1 not installed); CI all green (executed: gh pr checks 993) - files read: 4/4 logic files
- UI: not a UI change
- data: not touched
Timing analysis
- 3 test files analysed: no timing dependency found
Spec
- visible behaviour changed: none for users; extension-point semantics (list, order, secret union, first rejection, any-confirms)
- spec searched (terms: outgoing, Umwandlung, Wiring): 0038 section "Umwandlung ausgehender Texte"
- verdict: spec change present and matches the code
Security checks
- Filter/risk/confirmation untouched;
prepare_for_sendunchanged so the hard-blacklist re-check, redactor update and rejection redaction run once on the final text (testtest_chain_whose_final_text_is_blacklisted_is_rejected, secrets masked intest_chain_secrets_of_both_transforms_are_masked_in_the_command_output). - Loosening: none;
requires_confirmationis fail-closed (any). It is the only trait method besidesprepare_outgoing. Debug of composite/Prepared shows no text or secrets. - Bypass attempts: chain producing blacklisted text only in the final step → rejected; intermediate text containing a blacklisted token that a later step removes is not checked, which matches the "final text" requirement.
- Threat model: no-change note given; composite only chains trusted registered transforms.
Manual checks pending
None.
Follow-ups
None.
smart-ssh-coordinator
Bot
deleted the
issue-893-wiring-several-outgoing-transforms-in-a
branch
October 27, 2026 23:17
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.
Closes #893
Summary
Wiring::outgoing_transforms(Community: empty). The oldoutgoing_transformstays, is documented as superseded, and runs first.CompositeOutgoingTransformincore::outgoing: registration order, chained text, secret union, first rejection stops, redactingDebug,requires_confirmation= any.app-shellbuilds the composite only for 2+ transforms; 0 →None, 1 → passed through.prepare_for_sendunchanged.Acceptance Criteria
Wiring::outgoing_transformsempty / sessionNone: erfüllt –wiring.rs:test_community_registers_no_outgoing_transformscore/outgoing.rs:test_composite_chains_output_and_unions_secrets,test_composite_first_rejection_stops_chain,test_composite_second_rejection_is_returnedprepare_for_send: erfüllt –tests_outgoing.rs:test_chain_secrets_of_both_transforms_are_masked_in_the_command_output,test_chain_whose_final_text_is_blacklisted_is_rejected(asserts the blacklist messagePREPARED_BLOCKED_MESSAGEcontains "hard blacklist")requires_confirmation: erfüllt –test_composite_requires_confirmation_if_any_doestests_outgoing.rstests greenwiring.rs:test_combined_outgoing_transform_orders_old_field_firstcargo test(core, app-shell wiring, app-logic tests_outgoing) and clippy-D warningsgreen locally; full gate via CI.Tests
New code, no bug fix; no counter-proof needed.
Assumptions
requires_confirmationis the only trait method besidesprepare_outgoing, so no further combination rules were needed.Threat model: no change – the composite only chains existing trusted transforms; all core checks still apply once to the final text.
Spec: updated 0038
Manual test steps
None.
Follow-ups
None.
🤖 Generated with Claude Code