Feat v0.9.6 deprecate stage_type, collapse stage_mode
stage_type no longer validated — starlark_hook presence determines automation. stage_mode collapsed from 4→3 values (form/delegated/ automated); "review" mapped to "form" on input for backward compat. Migration 018 converts existing rows. Review surface removed (~110 lines). 4 package manifests updated. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
name: 'Team Intake',
|
||||
ordinal: 0,
|
||||
history_mode: 'full',
|
||||
stage_mode: 'chat_only'
|
||||
stage_mode: 'form'
|
||||
});
|
||||
T.assertShape(d, T.S.workflowStage, 'stage');
|
||||
T.assert(d.name === 'Team Intake', 'name mismatch');
|
||||
@@ -94,7 +94,7 @@
|
||||
name: 'Team Review',
|
||||
ordinal: 1,
|
||||
history_mode: 'summary',
|
||||
stage_mode: 'review'
|
||||
stage_mode: 'form'
|
||||
});
|
||||
T.assertShape(d, T.S.workflowStage, 'stage');
|
||||
stageIds.push(d.id);
|
||||
@@ -111,7 +111,7 @@
|
||||
name: 'Team Intake (updated)',
|
||||
ordinal: 0,
|
||||
history_mode: 'full',
|
||||
stage_mode: 'form_chat',
|
||||
stage_mode: 'form',
|
||||
form_template: { fields: [{ key: 'name', type: 'text', label: 'Name', required: true }] }
|
||||
});
|
||||
T.assert(typeof d === 'object', 'expected object');
|
||||
|
||||
Reference in New Issue
Block a user