Skip to content

docs: ADR 30 — OpenShell sandbox interaction model - #715

Merged
rh-hemartin merged 1 commit into
fullsend-ai:mainfrom
maruiz93:adr/0030-openshell-sandbox-interaction-model
May 8, 2026
Merged

docs: ADR 30 — OpenShell sandbox interaction model#715
rh-hemartin merged 1 commit into
fullsend-ai:mainfrom
maruiz93:adr/0030-openshell-sandbox-interaction-model

Conversation

@maruiz93

@maruiz93 maruiz93 commented May 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Records how fullsend run interacts with OpenShell sandboxes: gateway lifecycle, sandbox create/bootstrap/execute/extract/delete sequence, and the primitives used for each concern
  • Documents alternatives considered for environment configuration (gRPC API vs files via SCP), file/binary delivery (SCP vs images vs --upload), command execution (SSH vs native exec/upload/download), credential delivery (providers vs host files vs scoped tokens vs REST server), and gateway lifecycle (reuse vs per-run)
  • Links to ADRs 0024 (harness definitions) and 0025 (credential tiers) rather than restating them, and notes that the SSH/SCP/rsync choice may be revisited per Replace exec.Command SSH/SCP wrappers with Go-native libraries #261

Test plan

  • make lint passes (ADR statuses, numbers, frontmatter all green)
  • Review ADR content for accuracy against current internal/sandbox/sandbox.go and internal/cli/run.go

🤖 Generated with Claude Code

@maruiz93

maruiz93 commented May 7, 2026

Copy link
Copy Markdown
Contributor Author

/review

@maruiz93 maruiz93 changed the title docs: ADR 0030 — OpenShell sandbox interaction model docs: ADR 030 — OpenShell sandbox interaction model May 7, 2026
@maruiz93 maruiz93 changed the title docs: ADR 030 — OpenShell sandbox interaction model docs: ADR 30 — OpenShell sandbox interaction model May 7, 2026
Records how fullsend run interacts with OpenShell sandboxes: environment
configuration via files (not env var passthrough), file/binary delivery
via SCP and pre-built images, command execution via SSH, credential
delivery via providers, and gateway/sandbox lifecycle management.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@maruiz93
maruiz93 force-pushed the adr/0030-openshell-sandbox-interaction-model branch from 2850e0d to 3036d62 Compare May 7, 2026 12:28
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

Site preview

Preview: https://9121c6de-site.fullsend-ai.workers.dev

Commit: 3036d620dabdc4227a9949a3c93f32ce9f1302ff

@fullsend-ai-review

Copy link
Copy Markdown

Review: #715

Head SHA: 3036d62
Timestamp: 2026-05-07T00:00:00Z
Outcome: approve

Summary

This PR adds ADR 0030, documenting the OpenShell sandbox interaction model used by fullsend run. The ADR is well-structured, accurately reflects the current implementation, and follows established ADR conventions. All technical claims were verified against the codebase — EnsureGateway, SSHStreamReader, bare-key credential form, --no-links/--exclude .git/hooks/ rsync safety flags, .env.d sourcing, --no-auto-providers, and runner_env scoping all match the code in internal/sandbox/sandbox.go and internal/cli/run.go. The decision rationale is clear, alternatives are presented with trade-offs, and cross-references to ADRs 0024 and 0025 are appropriate. No security, correctness, or injection concerns.

Findings

Info

  • [style/conventions] docs/ADRs/0030-openshell-sandbox-interaction-model.md — ADR 0029 does not yet exist on main (PR Add agent execution sandbox architecture ADR #659 is open with it). This ADR's number 0030 is correct assuming 0029 merges first. If 0029 is abandoned or renumbered, this may need adjustment. The renumber-adr skill can handle this before merge.

Footer

Outcome: approve
This review applies to SHA 3036d620dabdc4227a9949a3c93f32ce9f1302ff. Any push to the PR head clears this review and requires a new evaluation.

@ralphbean ralphbean left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for documenting this!

@rh-hemartin
rh-hemartin added this pull request to the merge queue May 8, 2026
Merged via the queue into fullsend-ai:main with commit a7c1e50 May 8, 2026
29 of 30 checks passed
@github-actions
github-actions Bot deleted the adr/0030-openshell-sandbox-interaction-model branch June 7, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants