Payload for GenerationBlockedBySemanticConflict event.
Payload schema for GenerationBlockedBySemanticConflict events.
Generated from src/spec_kitty_events/schemas/generation_blocked_by_semantic_conflict_payload.schema.json by scripts/schema_pages.py; never hand-edit (C-001).
Family
Part of the Semantics and Analytics Events event family.
Diagram
GenerationBlockedBySemanticConflictPayload Structure of the JSON Schema GenerationBlockedBySemanticConflictPayload. $defs $id spec-kitty-events/generation_blocked_by_semantic
_conflict_payload $schema https://json-schema.org/draft/2020-12/schema additionalProperties ☐ false description Payload for GenerationBlockedBySemanticConflict
event. properties required title GenerationBlockedBySemanticConflictPayload type object GlossaryConflictType GlossaryFinding GlossaryScope GlossarySeverity GlossaryStrictness GlossaryTermSurface SenseRef description Kind of semantic conflict a finding reports. enum title GlossaryConflictType type string unknown ambiguous inconsistent unresolved_critical additionalProperties ☐ false description One semantic-conflict finding within a check or
a generation block. properties required title GlossaryFinding type object candidate_senses confidence conflict_type context severity term default description Candidate senses (required for ambiguous
findings) items title Candidate Senses type array $ref #/$defs/SenseRef description Confidence in the detection maximum 1 minimum 0 title Confidence type number $ref #/$defs/GlossaryConflictType description Kind of conflict default description Where the term was used title Context type string $ref #/$defs/GlossarySeverity description Severity of this finding $ref #/$defs/GlossaryTermSurface description The conflicting term term conflict_type severity confidence description Glossary scope levels. enum title GlossaryScope type string mission_local team_domain audience_domain spec_kitty_core description Severity of a conflict finding or of a whole
semantic check. enum title GlossarySeverity type string low medium high description Glossary enforcement strictness. enum title GlossaryStrictness type string off medium max additionalProperties ☐ false description A term as written in the text under check. properties required title GlossaryTermSurface type object surface_text description Raw text form of the term minLength 1 title Surface Text type string surface_text additionalProperties ☐ false description Reference to one sense (meaning) of a term
within a scope. properties required title SenseRef type object confidence definition scope surface description Confidence (0.0-1.0) maximum 1 minimum 0 title Confidence type number description Definition of the sense minLength 1 title Definition type string $ref #/$defs/GlossaryScope description Scope that owns the sense description Term surface text minLength 1 title Surface type string surface scope definition confidence conflicts effective_strictness mission_id run_id step_id strictness_mode description Blocking findings items title Conflicts type array $ref #/$defs/GlossaryFinding $ref #/$defs/GlossaryStrictness description Strictness in force when the block happened description Mission context minLength 1 title Mission Id type string description Run context minLength 1 title Run Id type string description Step that was blocked minLength 1 title Step Id type string $ref #/$defs/GlossaryStrictness description Configured strictness mode mission_id run_id step_id conflicts strictness_mode effective_strictness Structure of the JSON Schema GenerationBlockedBySemanticConflictPayload.
Properties
conflicts (array of GlossaryFinding , required): Blocking findings
effective_strictness (enum: off, medium, max, required): Strictness in force when the block happened
mission_id (string, required): Mission context
run_id (string, required): Run context
step_id (string, required): Step that was blocked
strictness_mode (enum: off, medium, max, required): Configured strictness mode
GlossaryFinding
One semantic-conflict finding within a check or a generation block.
candidate_senses (array of SenseRef ): Candidate senses (required for ambiguous findings)
confidence (number, required): Confidence in the detection
conflict_type (enum: unknown, ambiguous, inconsistent, unresolved_critical, required): Kind of conflict
context (string): Where the term was used
severity (enum: low, medium, high, required): Severity of this finding
term (GlossaryTermSurface , required): The conflicting term
SenseRef
Reference to one sense (meaning) of a term within a scope.
confidence (number, required): Confidence (0.0-1.0)
definition (string, required): Definition of the sense
scope (enum: mission_local, team_domain, audience_domain, spec_kitty_core, required): Scope that owns the sense
surface (string, required): Term surface text
GlossaryTermSurface
A term as written in the text under check.
surface_text (string, required): Raw text form of the term
Source
Schema file: schemas/generation_blocked_by_semantic_conflict_payload.schema.json