Skip to content

JVNAUTOSCI-1440: VWL context.set action, variable declarations, and built-in workflow migration#237

Merged
witbrock merged 1 commit intomainfrom
JVNAUTOSCI-1440-vwl-context-set-variable-declarations
Mar 14, 2026
Merged

JVNAUTOSCI-1440: VWL context.set action, variable declarations, and built-in workflow migration#237
witbrock merged 1 commit intomainfrom
JVNAUTOSCI-1440-vwl-context-set-variable-declarations

Conversation

@witbrock
Copy link
Member

Summary

Implements JVNAUTOSCI-1440: VWL instance variables, declarative context mutation, and built-in workflow migration to Vontology.

Changes

  • context.set action: New workflow_control.context_set action handler accepting assignments list with literal value or value_from_context resolution
  • Variable declarations: hasWorkflowVariable predicate, graph reading, metadata propagation, and engine initialisation of defaults
  • Publication spec migration: All 11 canonical chat workflows converted to exact declarative conditional_transitions with context_flag conditions
  • 4 new publication specs: buttonify, assistant, kb_mutation_critic, turn_completion_gate
  • VWL manual: Documented context.set (10.3a), variable declarations (10.3b), updated execution semantics and metadata keys
  • 19 new tests: 118 total pass

Testing

All 118 targeted tests pass (control_flow_actions, variable_declarations, vontology_loader, authority_service, transition_conditions, execution_contracts). Zero pyright errors.

…uilt-in workflow migration

- Add workflow_control.context_set action handler with assignments list
  supporting literal values and value_from_context resolution
- Add hasWorkflowVariable predicate alias and variable declaration
  reading in vontology_loader (concept_data.variable_name/key/default_value)
- Propagate variable_declarations through workflow_metadata to engine
- Initialise declared variable defaults in WorkflowExecutor.run() for
  keys not already present in caller-supplied context
- Migrate all 11 canonical chat workflow publication specs to exact
  declarative conditional_transitions with context_flag conditions
- Add 4 missing publication specs (buttonify, assistant, kb_mutation_critic,
  turn_completion_gate) and expand CANONICAL_CHAT_WORKFLOW_IDS
- Update VWL manual with context.set (10.3a), variable declarations (10.3b),
  hasWorkflowVariable predicate, variable_declarations metadata key, and
  updated execution semantics step 0
- Add 19 new tests (6 context.set + 5 variable declarations + 3 vontology
  loader + 5 engine variable init); 118 total tests pass
@witbrock witbrock merged commit 5c6b6b3 into main Mar 14, 2026
1 check passed
@witbrock witbrock deleted the JVNAUTOSCI-1440-vwl-context-set-variable-declarations branch March 14, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant