Skip to content

Add explicit shared setup bootstrap API#47

Merged
toyamarinyon merged 2 commits intomainfrom
codex/createsandkitsetup
Mar 25, 2026
Merged

Add explicit shared setup bootstrap API#47
toyamarinyon merged 2 commits intomainfrom
codex/createsandkitsetup

Conversation

@toyamarinyon
Copy link
Copy Markdown
Contributor

@toyamarinyon toyamarinyon commented Mar 25, 2026

Summary

  • require setup.policy so shared bootstrap identity is fully defined by setup configuration
  • add sandkit.bootstrap() to eagerly materialize missing shared setup state without validating existing state
  • refactor shared setup handling into reusable helpers and keep stale-state recovery in workspace execution flows
  • expand docs and tests to clarify adapter-scoped shared bootstrap semantics and lazy vs eager materialization

Testing

  • bun fmt
  • bun lint
  • bun test packages/sandkit/src/core/workspace.test.ts
  • bun test packages/sandkit/src/core/sandbox.test.ts
  • bun test packages/sandkit/src/core
  • bun run --cwd packages/sandkit build
  • bun run --cwd smoke/vercel-sandbox smoke:shared-setup

Closes route06/giselle-division#5535

@toyamarinyon toyamarinyon merged commit 9d47d53 into main Mar 25, 2026
2 checks passed
@toyamarinyon toyamarinyon deleted the codex/createsandkitsetup branch March 25, 2026 12:57
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.

1 participant