Move sandbox actions into feature-owned application modules
- Dominant language
- TypeScript
- Stars
- 22.5k
- Forks
- 3.1k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 715
Description
> [!IMPORTANT]
> Reserved for @cv. Do not self-assign this issue. Do not open an implementation PR unless @cv requests help.
Parent: #7691
## Problem
`src/lib/actions/sandbox/` contains lifecycle, gateway, policy, messaging, MCP, session, inference, and shields behavior.
## Scope
- Move application behavior to the feature that owns it.
- Keep oclif command files as adapters.
- Expose explicit feature public modules.
- Prevent cross-feature imports of implementation paths.
## Acceptance criteria
- New feature modules have one named owner.
- Commands import feature public modules.
- Cross-feature deep imports fail the architecture check.
- The `actions/sandbox` root-file budget decreases.
- Product behavior remains unchanged.
Contributor guide
Assessment
This issue has not been assessed yet.