Objective
Implement the wide condition authoring experience opened from ONLY IF, using the lossless adapter and ratified structured-clause boundary.
Context
Scope
- Modes for Always/missing, explicit true, Never/false, structured clauses where supported, provider expression, and custom definition.
- Wide dialog/drawer with clear summary and Apply/Cancel.
- No mutation before Apply.
- Advanced raw definition editor with validation and original-source preservation.
- Provider selector/editor reuse where safe.
- Read-only inspection mode.
- Responsive and keyboard behavior.
Non-goals
- Parsing arbitrary code into clauses.
- Normalizing unknown values.
- Treating Condition as an activity.
Architecture constraints
Use the pure adapter; apply through the wrapper/session mutation path; key provider editor state so transition/provider changes cannot leak stale Monaco content.
Dependencies
- Boolean-condition adapter.
- Structured-clause mapping spike.
Affected repositories
elsa-workflows/elsa-studio
Acceptance criteria
Validation
Adapter and bUnit tests, provider integration test, save/reload round-trip, and browser verification.
Agent readiness
Not Ready — depends on the adapter and structured-clause spike.
Objective
Implement the wide condition authoring experience opened from ONLY IF, using the lossless adapter and ratified structured-clause boundary.
Context
ExpressionEditorcan edit known provider expressions but Literal is intentionally handled separately.Scope
Non-goals
Architecture constraints
Use the pure adapter; apply through the wrapper/session mutation path; key provider editor state so transition/provider changes cannot leak stale Monaco content.
Dependencies
Affected repositories
elsa-workflows/elsa-studioAcceptance criteria
Validation
Adapter and bUnit tests, provider integration test, save/reload round-trip, and browser verification.
Agent readiness
Not Ready — depends on the adapter and structured-clause spike.