Improve scene-aware combat gating

This commit is contained in:
2026-07-25 21:08:24 +00:00
parent 3da20e9d6a
commit 2a7e025251
5 changed files with 107 additions and 14 deletions

View File

@@ -196,6 +196,8 @@ func (e *Extractor) Extract(ctx context.Context, req contracts.TypedExtractionRe
Message: "No exact scene classification was available; combat extraction was skipped.",
}},
}, nil
default:
return contracts.TypedExtractionResult[dnd.CombatTurnList]{}, extractorErrorf("unsupported scene eligibility match state %q", match.State)
}
order := shared.NewSourceRefOrder(req.Source)
npcRegistry, err := e.npcResolver.Resolve(req.References)