feat: add owner-approved SSH digging - #440
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Added the requested disposable installed-wheel SSH acceptance proof in Run it with: uv run python test/e2e/dig_ssh_container/run.pyTwo consecutive local runs passed. Each run:
Observed result on both passes: {
"ok": true,
"remote_user": "colony",
"installed_woltspace": "0.5.6",
"handoff": {
"created_colony": "seedling",
"status": "ready",
"version": "woltspace.dig-handoff/v0",
"visitor": "n00b"
},
"connections_audited": 4,
"revoked": true
}The proof exposed and fixed one real boundary before publication: OpenSSH concatenates remote argv into one shell command, so Dig now applies Post-proof checks: bundled skill validator passed; 130 focused skill/dig/package-neighbor tests passed; |
|
Multi-wolt disposable Dig proof: PASS, with one useful pre-pass refusal and one disclosed test imperfection. Setup and authority:
First pass (not counted as wrapper proof): Codexw safely used pinned raw SSH because its installed Woltspace 0.5.6 has no unreleased Actual candidate-wrapper run:
This passes the requested cross-wolt product story at PR scope: sparse IWCL mission → independent skill discovery → explicit human gate → real candidate |
|
Independent hostile review by Codexw of exact HEAD Reviewed:
Static evidence: No blocker found. Deferrable hardening outside this v0 gate: directory fsync after grant-store replace, no-follow/atomic-temp protections against same-UID store tampering, and more explicit constraint/recording of advanced SSH configuration such as ProxyJump/ProxyCommand. Existing docs already state that same-UID and underlying SSH authority are not sandboxed by the local grant. This review does not approve future Wire Dig, Cloudflare, cross-colony IWCL, guest accounts, deployment, release, or broader agent integration. GitHub formal approval/merge authority remains with an eligible human reviewer. |
Summary
Add Digging, a native Woltspace concept for a home wolt to use the owner's existing SSH access to set up another machine or colony, leave a durable local handoff, and return home.
This is deliberately an intent, discoverability, target-pinning, and audit layer over ordinary OpenSSH. It copies no key, certificate, token, or credential and does not claim to sandbox wolts that share the same Unix user.
User experience
The bundled
diggingskill makes the intended interface conversational: “n00b, dig into newbox and set it up.” A wolt preferswoltspace digover raw SSH, creates its own pointer/grant when the named existing SSH alias is unambiguous, and asks again immediately before the first connection in each task unless the current instruction explicitly waives that confirmation.Safety boundaries
ssh -Gat grant time and pin hostname, Unix user, and port.StrictHostKeyChecking=yes..woltspace/bootstrap, relative to the SSH user's home.revokeexplicitly removes only Woltspace consent, not the Unix account, SSH key, agent, or server-side access.Scope
Implemented: owner-provisioned SSH Dig v0 and its bundled skill.
Not implemented: Wire authorization, cross-tunnel IWCL, local-user switching, Cloudflare transport, short-lived infrastructure certificates, guest accounts, or live-lodge integration. Those remain documented future directions only.
No remote host was contacted while developing this change.
Verification
128 passed1476 passed, 15 skipped, 16 known unrelated environment/stale failures; zero Dig failuresgit diff --check: pass