Repository navigation
fix(ssh): preserve per-host outcomes after malformed send responses - #95
Conversation
|
Please preserve the nullable Claude Source review of
Consequently, a valid remote Please accept the producer's nullable name while keeping PID and agent validation strict. Add regression coverage for an unnamed Claude session selected by PID: dry-run and send, JSON and text output, and a mixed-host case that preserves both successful outcomes. The send case should assert one request/submission per destination, with no retry. |
|
Fixed on the existing branch in The new regressions cover dry-run and send in JSON and text across two hosts. They assert both hosts retain successful results and that each destination receives exactly one request per invocation. The tests failed before the fix and pass now. Validation on Node 22.23.1: full |
cd22976 to
e3e275d
Compare
e3e275d to
ccf2950
Compare
Summary
Closes #93.
A malformed successful
sendresponse could throw during text rendering, causing the command-wide catch to report every destination asNothing submittedafter requests had already been dispatched. This validates command-specific send targets, classifies an unverifiable post-dispatch result asunknownfor that host, and hardens text rendering so other hosts' verified outcomes remain visible. The validation accepts both the TypeScript target shape and the pinned Python Claude shape that omitstarget.agent.The reported behavior was reproduced with the repository's isolated fake-SSH fixture.
Type
Validation
npm ci --ignore-scriptsandnpm run buildSESSION_PEER_PYTHON_ROOT=<pinned v1.0.2 reference> npm test(120 passed, 5 platform-specific skips)npm run test:packageandnpm audit(0 vulnerabilities)release gatepasses with an up-to-date baseTested environments / limitations
Darwin arm64, Node 22.23.1. The regression uses isolated fake SSH responses and local fixtures only; no live host, real inbox, or Windows-native behavior was exercised. Exact-head CI is pending.
Release impact
No package version, publication, deployment, native dependency, or protocol schema change.