Harden diagnostic handling and warning presentation

This commit is contained in:
2026-08-27 18:41:59 +00:00
parent 1025001f20
commit 079d5af337
67 changed files with 518 additions and 318 deletions

View File

@@ -70,7 +70,7 @@ type ApplicationPolicy[T any] struct {
}
// GroupProvenance identifies the complete input contribution of one plan
// group without prescribing domain warning or retry policy.
// group without prescribing domain diagnostic or retry policy.
type GroupProvenance struct {
memberPositions []int
canonicalPosition int
@@ -108,7 +108,7 @@ func (event AppliedGroup) Provenance() GroupProvenance {
return cloneGroupProvenance(event.provenance)
}
// RejectedGroup records a typed guard decision while leaving warning and retry
// RejectedGroup records a typed guard decision while leaving diagnostic and retry
// construction to the consuming domain.
type RejectedGroup struct {
category RejectionCategory

View File

@@ -32,7 +32,7 @@ const (
)
// Issue identifies an unsafe proposal category at its original response group
// index without prescribing caller warning text.
// index without prescribing caller diagnostic text.
type Issue struct {
GroupIndex int
Category IssueCategory