6.1 KiB
Raw Blame History

Repair: ordinary solver journeys ending without a result

Development only. Continues from 431fe89. The reported problem is reproduced on the ordinary live UI before repair:

  1. The story isn't coming together.
  2. There are too many storylines.
  3. I have to search back to remember which threads are still open.
  4. It is getting in the way of what I want.

Despite a concrete corroboration and concern, the result was “Let’s give this a little breathing room.” D01 had only 27 points against its existing threshold of 32: the new corroborating answer supplied an eligibility flag but no scored evidence of its own.

Root causes

  • Many new corroboration choices supplied only an observation gate. They could confirm the actual explanation but still leave its score below threshold, particularly when it differed from the first hypothesis.
  • Old navigation/detail branches used the six-answer budget before corroboration or intention could be collected. Reaching a diagnosis somewhere in the graph and passing 60 carefully authored cases did not detect this practical failure rate.
  • Some follow-ups asked about a different domain than the selected symptom: for example, character location/presence could lead to a fact-consistency question.
  • Clear non-fault observations, such as deliberate absence or a relationship actually progressing slowly, could fall through to generic insufficient evidence after another question.

Repair

The new immutable candidate is writing-solver-curated-v2-stage1-repair; the original Stage 1 remains a historical regression fixture.

Corroborating answers now supply the existing core signals their actual wording establishes. This is authored positive evidence, not a threshold bypass. evidence-decisions.json records every changed follow-up weight with its exact wording and before/after values. All 52 diagnosis definitions, coefficients, thresholds, required evidence gates, feature records and original 44 symptom/navigation nodes' choices remain unchanged. The eight prior semantic exceptions remain resolved; no exception allowlist is added.

Optional navigation is constrained by two additive route fields: fromAnswers and exclusive beforeAnswers, both counting accepted answers. Zero defaults preserve existing graphs. After the fourth answer, a redundant navigation branch yields to a relevant corroboration question, leaving room for intention. If a dominance branch genuinely reaches its final question at six, three authored final-question variants explicitly collect the observed problem and the concern about it together. Deliberate-and-working and uncertainty options remain available. No firm diagnosis is inferred merely from an observation with no concern.

Three full family discriminators are restored for late focus answers, and three final-slot questions handle the remaining irreducible branches. The resulting graph has 158 reachable nodes, including every original node. Unused generated last-slot variants are omitted as assembly scaffolding; unused-variants.json records them. No diagnosis is omitted or tuned to make traversal fit the ceiling.

Specific misdirected routes now lead to the relevant existing location, knowledge, cast, causal-consequence or scene-purpose question. Clear non-fault responses end in tailored reassurance with one relevant capability, not a fabricated diagnosis.

Result-presentation evidence is bound to the new exact question/choice identities. The result design and primary tool recommendations are unchanged. Rebuilding the presentation catalogue retains these bindings automatically.

Verification

All traversal counts below are distinct structural states, not visitor frequencies.

Failure guard Original Stage 1 Repair
Fully corroborated concern, no result 7,034 0
Other empty endings not declared as zero-evidence uncertainty/none-fits 10,488 0
Budget exhausted before any corroboration question 1,869 0
Distinct states 85,140 57,599
Reachable diagnoses / primary-capable diagnoses 52 / 52 52 / 52

The repaired traversal contains 21,685 diagnostic terminals, 10,496 authored neutral terminals, 6,599 explicit uncertainty terminals and 735 “none fits” terminals. Genuine uncertainty is not relabelled as a diagnosis. The other-empty-ending guard is an authoring contract about explicit fallbacks, not a claim that every previous such answer was sufficient for a firm diagnosis. Every diagnostic outcome still takes 4–6 answers.

The 60 semantic acceptance cases preserve their primary/neutral and required supporting expectations: 60/60, 290/290 prefixes. The one removed prefix is the redundant intention question after case 57 has already established that a relationship is progressing slowly; its honest non-diagnostic reassurance is unchanged in intent. Coefficients, thresholds and all required-signal gates are asserted equal to Stage 1. The original Stage 1 60/291 suite also remains passing as a historical fixture.

The real repository validator passes normally, below the unchanged 100,000-state limit. The repaired snapshot also opts into requireCorroboratedResults: actual publication validation now rejects a fully corroborated concern that has no scored result, rather than relying only on the test harness. Its false default preserves historical snapshots. A regression recreates the original scored-evidence omission and verifies that publication validation rejects it. Full executable regressions: 391 PASS. New guards cover all states, require actual evidence copy for every returned diagnosis, preserve four-answer minimum and series-only evidence, and reject contradictory route ranges.

The browser suite tests the reported four-answer failure, a changed hypothesis, a knowledge-source search, six-answer rescue navigation, late POV and intended-main-plot routes, plus all result-presentation families, reassurance, insufficient evidence, signed-in/out CTAs, Back/Forward/Start again, no JavaScript, 390px/1440px layouts, noindex and public styling. Captured outputs accompany this report. Live activation and verification are recorded in Deployment.md after release.