Files
deepseek-harness/packages/ssh
winewill cafb9b93b4 fix: address adversarial review of the fatal-diagnostics branch
client-modules: a batch that already executed is never requested again,
even when its first importer was a row it did register — every executed
batch URL is remembered and a still-missing row goes straight to its
one-resource URL. The in-process module system test in test-support is
updated to the aggregated arrival message. describeError replaces three
inline non-Error ternaries and is covered.

subprocess-local: the spill path is published only after the exclusive
open succeeds, so a failed open (EEXIST on a planted entry included) can no
longer unlink a path this process did not create; a reporter that throws is
contained and written to stderr; logSpillFailure builds the owner reporter
for both the runtime and the SSH helper so the logging path is exercised
once instead of duplicated. Tests cover the runtime logger, the bare-caller
stderr default, EEXIST, and a throwing reporter.

desktop: a fatal failure during shutdown still writes its report; the
report phase follows the backend state so a failure during a restart is
'startup' again; writeReport is a required recovery operation and the
dialog tests await the write; the shell pid is labelled; the withheld
response-header list states why set-cookie is dropped.

app-boot, READMEs, Agent Note: "never resumes" is restated as control never
returning to the failed operation while the loop runs until release
settles; inspect output is bounded; incident inferences (who removed the
spill directory, which batch failure occurred) are written as inferences.
2026-09-22 14:41:10 +08:00
..
2026-09-22 11:59:16 +08:00
2026-09-22 11:59:16 +08:00
…

description, kind
description kind
The POSIX SSH provider family: shared connection, remote filesystem, managed subprocesses and file-effect sandbox. package-group

ssh/ — POSIX remote execution providers

English | 中文

Summary

This family runs files, ordinary processes, terminals and sandbox enforcement on one POSIX SSH host while the Harness stays local. A shared OpenSSH connection and installed helper support the existing filesystem, subprocess and sandbox interfaces. Use it in headless or custom profiles whose consumers honor provider-owned paths.

Table of Contents

Packages

Package Responsibility Service
ssh Connection, helper identity and transport lifecycle ctx.ssh
fs-ssh Remote file identity, reads and guarded atomic mutations ctx.fs
subprocess-ssh Executable lookup, processes, control streams and terminals ctx.subprocess
sandbox-ssh Remote file-effect confinement and enforcement facts ctx.sandbox

Dev Note

Working context for maintainers — click to expand

Remote capability implementations retain the shared asynchronous terminal and cancellation interfaces. Local path access must never be inferred from a remote path string.