Conversation
yjouini
marked this pull request as draft
September 9, 2026 09:03
yjouini
force-pushed
the
codex/per-recipe-container-override
branch
from
September 9, 2026 14:44
9257f79 to
17f6996
Compare
Replace the recipe-only `set_recipe_container_exec_config` with a single `set_container_exec_config` taking an `object_type`, and move it to its own module since it now spans several object families. Supported types and the settings path each one writes: - recipe: params.containerSelection, params.engineParams, or the visual payload's engineParams, refusing a recipe that exposes more than one - ml_task: the mltask settings of a single-task analysis - saved_model: miniTask.containerSelection, the retrain placement - webapp: params.infra.containerSelection, the backend placement - knowledge_bank and agent_tool: containerExecSelection Verified against DSS 15.0.0: 20 objects resolved read-only, and each type round-tripped through EXPLICIT_CONTAINER and NONE back to its original value. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
yjouini
force-pushed
the
codex/per-recipe-container-override
branch
from
September 9, 2026 14:45
17f6996 to
73f6520
Compare
yjouini
marked this pull request as ready for review
September 9, 2026 15:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
set_container_exec_configtaking anobject_typeINHERIT,NONE, andEXPLICIT_CONTAINERon recipes, ML tasks, saved-model retrain, WebApp backends, Knowledge Banks, and agent toolsreferences/container-execution.mdobject_typeobject_idrecipeparams.containerSelection,params.engineParams, or the visual payload'sengineParamsml_taskcontainerSelectionsaved_modelminiTask.containerSelection(retrain placement)webappparams.infra.containerSelection(backend placement)knowledge_bankcontainerExecSelectionagent_toolparams.containerExecSelectionObjects that run no code of their own — an MLflow-imported saved model, a built-in agent tool — expose no selection, and the tool fails without saving rather than inventing one. Same for an analysis that does not hold exactly one ML task.
The exception stays placement-only: it does not open Knowledge Banks or agent tools to any other direct write. Agents and Retrieval-Augmented LLMs are deliberately out of scope — their placement sits per version under a flavor-specific settings block, so a write needs a rule for which version and which flavor is live.