feat(confidence-engine): present canonical uncertainty description as initial display
Changed the facilitator-view-adapter to prefer node.description over node.openQuestion for unresolved unknown items. This is a reversible presentation change only — graph identity, reasoning-state ownership, openQuestion generation, and resolved-unknown presentation are unchanged. Owning test assertions updated to reflect new display contract: - open-question-presentation.test.js: assertion target shifts from question text to description text - facilitator-view-adapter.test.js: deduplication tests use distinct descriptions so nodes remain distinguishable after the change Documentation: hypothesis experiment record and handoff return note.
This commit is contained in:
@@ -276,9 +276,10 @@ export function buildFacilitatorViewModel(_ref) {
|
||||
|
||||
// An unknown's openQuestion is a model-authored presentation projection.
|
||||
// Its label and description remain the canonical uncertainty representation.
|
||||
// Present the canonical description first; fall back to normalised display text.
|
||||
var displayText =
|
||||
node.kind === "unknown" && !resolved && node.openQuestion
|
||||
? node.openQuestion.trim()
|
||||
node.kind === "unknown" && !resolved && node.description
|
||||
? node.description.trim()
|
||||
: displayResult.displayText;
|
||||
var entry = {
|
||||
text: displayText,
|
||||
|
||||
Reference in New Issue
Block a user