feat(extensibility): implement Custom Sandbox Strategy Registration via SandboxStrategy Protocol #709
No reviewers
Labels
No labels
auto/needs-reevaluation
controller-managed
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#586 feat(extensibility): implement Custom Sandbox Strategy Registration via SandboxStrategy Protocol
cleveragents/cleveragents-core
Reference
cleveragents/cleveragents-core!709
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/m6plus-custom-sandbox-strategy-registration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements the
SandboxStrategyProtocol and config-driven registration mechanism for custom sandbox isolation strategies, enabling extensibility beyond the 6 built-in strategies (git_worktree, copy_on_write, filesystem_copy, overlay, transaction_rollback, none).Closes #586
Changes
New modules in
src/cleveragents/infrastructure/sandbox/sandbox_strategy.py—SandboxStrategyProtocol with all 9 methods (create,read,write,diff,commit,rollback,checkpoint,restore_checkpoint,cleanup) plusSandboxRef,Change, andDiffViewdomain modelsstrategy_adapter.py— Adapter layer refactoring existing built-in strategies to implement theSandboxStrategyProtocolstrategy_registry.py— Config-driven custom strategy registration supporting:sandbox.custom_strategies.<name>.module+.classconfigurationmodule:ClassNamepatternsandbox_strategyfield resolution for both built-in and custom strategiesTest files
features/extensibility/custom_sandbox_strategy.feature+ step definitions — BDD tests for Protocol compliance checking and custom strategy registration lifecyclerobot/integration test — Register a custom strategy, create sandbox, verify full lifecycleQuality Checks
nox -e typecheck— 0 Pyright errorsnox -e lint— all checks passednox -e format— all files unchangedPM Review — Day 32
Status: COMMENT — Needs peer code review before approval
Summary
Custom Sandbox Strategy Registration via
SandboxStrategyProtocol by @freemo. Implements extensibility for sandbox isolation strategies beyond the 6 built-in ones. Mergeable, no conflicts.Process Compliance
Closes #586— correct.Technical Assessment (from PR body)
SandboxStrategyProtocol with 9 methods + 3 domain models.module:ClassNamepattern.Action Required
Labels Added
PM Review — Day 34
Status: Mergeable, 0 reviews, M7 (v3.6.0), Priority/Medium, Points/8
Author: @freemo
Custom Sandbox Strategy Registration via SandboxStrategy Protocol. M7 due March 28 — medium urgency.
Action Items
PM Day 36: Custom Sandbox Strategy Registration. Closes #586. M7 scope. Reviewer: @hamza.khyari (sandbox domain).
9065b7ba1a2688c85769