Prepare normalized processing plans and fixed chunks

This commit is contained in:
2026-11-27 01:15:40 +00:00
parent e761512c1c
commit 2dc057b97e
19 changed files with 315 additions and 260 deletions

View File

@@ -51,7 +51,7 @@ func TestOrderedWorkflowUsesIndependentSelectionsAndPriorEdits(t *testing.T) {
{Module: "grammar", Glossaries: []string{"party", "spells"}, ProtectedTerms: []string{"party", "spells"}},
}}}
seen := make(chan contracts.ProposalRequest, 3)
output, err := New(orderedFactory{seen: seen}).Run(context.Background(), RunInput{Transcript: &schema.Transcript{Segments: []schema.Segment{{ID: 1, Text: "party spell"}}}, ModuleSpecs: contracts.ResolveModuleRunSpecs(cfg)})
output, err := New(orderedFactory{seen: seen}).Run(context.Background(), preparedTestInput(testRunInput{Transcript: &schema.Transcript{Segments: []schema.Segment{{ID: 1, Text: "party spell"}}}, ModuleSpecs: contracts.ResolveModuleRunSpecs(cfg)}))
if err != nil {
t.Fatal(err)
}