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:
2026-04-03 17:41:55 +00:00
parent 75d7abc089
commit 446edb8333
25 changed files with 121 additions and 224 deletions

View File

@@ -437,13 +437,14 @@ components:
type: integer
stage_mode:
type: string
enum: [form, review, delegated, automated]
enum: [form, delegated, automated]
audience:
type: string
enum: [team, public, system]
stage_type:
type: string
enum: [simple, dynamic, automated]
deprecated: true
description: Deprecated — retained for backward compatibility. Automation is determined by starlark_hook presence.
form_template:
type: object
stage_config:
@@ -1777,7 +1778,7 @@ paths:
enum: [full, summary, fresh]
stage_mode:
type: string
enum: [form, review, delegated, automated]
enum: [form, delegated, automated]
form_template:
type: object
transition_rules:
@@ -1817,7 +1818,7 @@ paths:
enum: [full, summary, fresh]
stage_mode:
type: string
enum: [form, review, delegated, automated]
enum: [form, delegated, automated]
form_template:
type: object
transition_rules:
@@ -3209,7 +3210,7 @@ paths:
enum: [full, summary, fresh]
stage_mode:
type: string
enum: [form, review, delegated, automated]
enum: [form, delegated, automated]
form_template:
type: object
transition_rules:
@@ -3250,7 +3251,7 @@ paths:
enum: [full, summary, fresh]
stage_mode:
type: string
enum: [form, review, delegated, automated]
enum: [form, delegated, automated]
form_template:
type: object
transition_rules: