rea-analysis-optimization
MOmorluto/rea486k8,943 new stars in the last 7 days
Apply OxideTerm's runtime ownership rules when implementing or reviewing SSH nodes, terminal panes, SFTP, port forwarding, reconnect, jump hosts, health checks, NodeRouter, or long-lived backend tasks.
Use this skill whenever a change can alter which component creates, shares, closes, reconnects, or observes a remote session or background job.
A connected SSH node is independent from any terminal pane that consumes it. UI lifetime must not silently become backend lifetime.
flowchart TD
W["Workspace or application lifetime"] --> R["NodeRouter and connection registry"]
R --> N["Physical SSH node connection"]
N --> T["Terminal consumer"]
N --> S["SFTP consumer"]
N --> F["Forwarding consumer"]
R --> H["Health and reconnect jobs"]
NodeRouter, or an explicit node-disconnect operation.Arc retention.NodeRouter.Compatibility fallbacks are allowed only when they are explicit, bounded, and reported accurately. They must not be described as a native SFTP, forwarding, or node-session implementation. Record the owner and cleanup path even for temporary fallbacks.
Incorrect:
// Closing the pane accidentally destroys the only owner of the shared node.
struct TerminalPane {
ssh_transport: SshTransport,
}
Correct shape:
// The pane owns only its consumer registration; the registry owns transport liveness.
struct TerminalPane {
connection_id: String,
terminal_consumer: ConnectionConsumer,
}
Incorrect:
tokio::runtime::Runtime::new()?.spawn(run_forward_listener());
// The runtime is dropped when the command returns.
Correct shape:
// The forwarding owner retains both cancellation and completion handles.
struct ForwardingJob {
shutdown_tx: Option<oneshot::Sender<()>>,
worker: JoinHandle<()>,
}
MOmorluto/rea486k8,943 new stars in the last 7 days
Diagnose hard bugs and performance regressions by building a feedback loop with tests or scripts.
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days