GEN2-023: make conversational configuration intent explicit
CI / test (push) Failing after 29s

This commit is contained in:
m
2026-08-29 11:55:38 +03:00
parent 839b35f310
commit 5017a854ee
8 changed files with 153 additions and 5 deletions
+3
View File
@@ -81,6 +81,9 @@ type BootstrapConfig struct {
RecoveryLocator string
}
// ConversationalConfigurationCommand is an intent, not an assignment. Only
// Configuration may turn a SET command into durable state.
func (d SettingDefinition) Validate() error {
if d.ID == "" || d.OwnerNamespace == "" || d.StableKey == "" || !ids.Revision(d.Revision).Valid() || d.ValueType == "" || d.Lifecycle == "" || d.RecordedAtUnixMillis < 1 {
return fmt.Errorf("invalid setting definition")