Retire automatic glossary companion discovery

This commit is contained in:
2026-11-29 18:11:49 +00:00
parent ff4f98d2f7
commit 994cba3ba2
3 changed files with 31 additions and 80 deletions

View File

@@ -49,18 +49,6 @@ type GlossaryInputError struct{ Err error }
func (e *GlossaryInputError) Error() string { return e.Err.Error() }
func (e *GlossaryInputError) Unwrap() error { return e.Err }
const glossaryImports = `config:
imports:
- path: glossary.yml
required: false
destination: [glossary_collections]
- dir: glossary
required: false
recursive: true
pattern: ["*.yml", "*.yaml"]
destination: [glossary_collections]
`
const operatorImports = `config:
imports:
- path: prompts.yml
@@ -155,7 +143,6 @@ func Load(ctx context.Context, input ck.Input, options Options) (*Acquisition, *
pk.BundledOpenRouterUnderlay(),
{Inputs: embedded},
{Inputs: []ck.Input{
{Source: ck.Bytes("Audita glossary imports", []byte(glossaryImports)), Imports: true, MainRelative: ck.MainRelative()},
{Source: ck.Bytes("Audita automatic prompt imports", []byte(operatorImports)), Destination: ck.Keys("promptkit"), Imports: true, MainRelative: ck.MainRelative()},
}},
},