Skip to content

Schedule updates: define safe tool-profile changes #2147

Open

Description

@kantord

Outcome

Schedule tool-profile changes have explicit backend semantics, allowing Studio either to update them safely or report them as immutable without silently ignoring the request.

Context

Studio currently exposes all and noFilesystem in the edit form and sends the selected profile. The schedule manager treats profile as placement metadata: one direction is rejected and the other can be overwritten with the stored value. The UI therefore appears to save a change that the backend cannot apply.

#1852 will lock tool profile after creation until this contract exists.

Scope

  • Decide whether profile is immutable schedule identity/placement metadata or mutable execution policy.
  • If mutable, define safe environment/placement migration and behavior for claimed or running fires.
  • Preserve ownership, counters, trigger state, and fire history.
  • Return an explicit capability/refusal reason; never silently retain a different value.
  • Add real-manager integration coverage rather than SDK-mock-only assertions.

Acceptance

  • A requested profile change either applies durably to future unclaimed fires or fails explicitly with a stable reason.
  • Existing and in-flight fires retain defined behavior.
  • Studio can derive editability from the contract instead of guessing.

Parent: #1736
Discovered while designing: #1852

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions