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:
2026-10-09 11:37:43 +01:00
parent b71e3a8267
commit d0f357877d
5 changed files with 22 additions and 9 deletions
+3 -2
View File
@@ -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,