feat(execution): add execution environment routing #532
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 milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cleveragents/cleveragents-core!532
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/m6-execution-env-routing"
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 execution environment routing as specified in #512.
ExecutionEnvironmentenum (host,container) as aStrEnumto domain modelsexecution_environmentfield toPlanandContextConfigmodelsExecutionEnvironmentResolverservice with priority chain: tool-level > plan-level > project-level > default (host)ToolRunnerto checkexecution_environmentbefore execution and route to container handler when container is selected--execution-environmentflag toagents plan useandagents plan executeCLI commandsexecution_environmentsupport toagents project context setCLI commandContainerUnavailableErrorwith actionable messageQuality Gates
nox -s lintnox -s typechecknox -s unit_testsnox -s integration_testsnox -s coverage_reportnox -s security_scannox -s dead_codenox -s docsnox -s buildTest Coverage
features/execution_environment.feature(71 steps, all passing)robot/execution_environment.robotbenchmarks/execution_environment_bench.pyexecution_environment_resolver.py: 100% coverageFiles Changed
New Files
src/cleveragents/application/services/execution_environment_resolver.py— Resolver service (175 lines)features/execution_environment.feature— BDD scenariosfeatures/steps/execution_environment_steps.py— Step definitionsrobot/execution_environment.robot— Robot Framework testsrobot/helper_execution_environment.py— Robot helperbenchmarks/execution_environment_bench.py— ASV benchmarksModified Files
src/cleveragents/domain/models/core/plan.py—ExecutionEnvironmentenum + field onPlansrc/cleveragents/domain/models/core/project.py— Field onContextConfigsrc/cleveragents/tool/runner.py— Resolver wiring + container routingsrc/cleveragents/cli/commands/plan.py—--execution-environmentflagsrc/cleveragents/cli/commands/project_context.py—--execution-environmentflagsrc/cleveragents/application/container.py— DI registrationsrc/cleveragents/domain/models/core/__init__.py— Exportsrc/cleveragents/application/services/__init__.py— Exportvulture_whitelist.py— Whitelist entriesCHANGELOG.md— Release noteCloses #512
e945fad2a3ad5f737721