Load native PromptKit settings through application configuration version six

This commit is contained in:
2026-11-21 22:42:35 +00:00
parent bd30e86c0d
commit cc14a7a5cc
21 changed files with 210 additions and 485 deletions

View File

@@ -37,7 +37,7 @@ func TestPipelineInheritancePreservesAndUpsertsSteps(t *testing.T) {
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
source := `version: 5
source := `version: 6
pipelines:
parent:
input: {module: input}
@@ -110,7 +110,7 @@ pipelines:
func TestArtifactLaneInheritanceUsesSiblingMappingComposition(t *testing.T) {
t.Parallel()
loaded, err := loadConfigSource(configkit.Bytes("lanes.yml", []byte(`version: 5
loaded, err := loadConfigSource(configkit.Bytes("lanes.yml", []byte(`version: 6
pipelines:
session:
input: {module: input}
@@ -140,7 +140,7 @@ pipelines:
func TestInheritedPresenceOverridesRemainExplicit(t *testing.T) {
t.Parallel()
loaded, err := loadConfigSource(configkit.Bytes("presence.yml", []byte(`version: 5
loaded, err := loadConfigSource(configkit.Bytes("presence.yml", []byte(`version: 6
pipelines:
parent:
input: {module: input}
@@ -209,7 +209,7 @@ pipelines:
func TestInheritedFalseOptionRetainsExplicitMetadata(t *testing.T) {
t.Parallel()
loaded, err := loadConfigSource(configkit.Bytes("false-option.yml", []byte(`version: 5
loaded, err := loadConfigSource(configkit.Bytes("false-option.yml", []byte(`version: 6
pipelines:
parent:
input: {module: input}
@@ -244,7 +244,7 @@ func TestInheritedAndDirectNullRepairBudgetsRemainInvalid(t *testing.T) {
}{
{
name: "child null",
source: `version: 5
source: `version: 6
pipelines:
parent: {input: {module: input}, structured_output_repair_attempts: 2}
child:
@@ -255,7 +255,7 @@ pipelines:
},
{
name: "inherited null",
source: `version: 5
source: `version: 6
pipelines:
parent: {input: {module: input}, structured_output_repair_attempts: null}
child: {extends: parent}
@@ -279,7 +279,7 @@ func TestOverlayInheritancePrecedesOverrides(t *testing.T) {
t.Fatal(err)
}
main := filepath.Join(root, "config.yml")
if err := os.WriteFile(main, []byte(`version: 5
if err := os.WriteFile(main, []byte(`version: 6
pipelines:
parent:
input: {module: input}
@@ -393,7 +393,7 @@ func TestInheritedReferencePathsKeepDeclaringSource(t *testing.T) {
t.Fatal(err)
}
main := filepath.Join(root, "notarius.yml")
if err := os.WriteFile(main, []byte(`version: 5
if err := os.WriteFile(main, []byte(`version: 6
config:
imports:
- path: parents/pipelines.yml
@@ -490,7 +490,7 @@ func TestInheritedInspectionRetainsOriginsRedactionAndOwnership(t *testing.T) {
t.Fatal(err)
}
main := filepath.Join(root, "notarius.yml")
if err := os.WriteFile(main, []byte(`version: 5
if err := os.WriteFile(main, []byte(`version: 6
config:
imports:
- path: parents/pipelines.yml