diff --git a/Docs/WritingSolver/CuratedV2/DeadEndRepair/Deployment.md b/Docs/WritingSolver/CuratedV2/DeadEndRepair/Deployment.md new file mode 100644 index 00000000..5f54171c --- /dev/null +++ b/Docs/WritingSolver/CuratedV2/DeadEndRepair/Deployment.md @@ -0,0 +1,21 @@ +# Dead-end repair: Development release + +1 November 2026. Runtime commit **127a85d**. Ordinary owner URL: **https://dev.plotdirector.com/writing-problems**. Start a new conversation; protected histories from the prior publication belong to that older question set. + +- Updated runtime deployed first, then the new immutable graph published through normal repository validation and `WritingSolverRepository.PublishAsync`. +- Active version: **writing-solver-curated-v2-stage1-repair**, published **21:41:45 UTC**. Previous snapshots retained inactive. +- Development database verified before backup and publication. COPY_ONLY/CHECKSUM backup completed and mapped file verified nonempty: `/var/opt/mssql/backup/PlotDirector_Development_solver_20261101_213958_5f7cef1ee5a34e4fbbb7660723c58bcc.bak`, **226,652,160 bytes**. This is not a restore test. No SQL migration was needed. +- No queued/active import, Story Intelligence, synthesis or character enrichment work at the pre-stop check. +- Release: `/srv/apps/plotdirector-dev/releases/127a85d-20261101T214036Z`. +- Previous runtime: `/srv/apps/plotdirector-dev/current-before-127a85d-20261101T214036Z`. +- Existing configuration, application data, uploads and logs preserved. Service active; local/public HTTPS homepage and solver GETs return 200. +- Published/deployed DLL SHA-256 matches: `7b53ee017d687f19cd38d8895d7db19accd995078ae84e02f6665cf6980cc885`. +- Development noindex retained. Production not accessed or changed. + +## Live proof + +The exact previously failing four-answer flow was replayed through normal HTTPS pages and now returns **“There are too many storylines to keep in your head.”** The live browser suite also passes changed hypotheses, knowledge-source searches, six-answer cast rescue, late POV and intended-main-plot routes; representative diagnosis families; reassurance/insufficient evidence; no JavaScript; 390px/1440px; Back/Forward/Start again; visible evidence; public styling and noindex. Signed-in context selection remains covered in the loopback suite. + +Full executable harness: **391 PASS**. Repaired acceptance: **60/60, 290/290 prefixes**. Complete traversal: **57,599 states, all 158 nodes, all 52 diagnoses reachable and primary-capable**, no diagnoses below four answers. Confirmed concerns with no result: **0**. Navigation exhausting the budget before corroboration: **0**. Thresholds, coefficients and required evidence gates unchanged. Genuine uncertainty remains non-diagnostic. + +Service warning/error journal following live verification: no entries. `live-repro.txt` and `live-browser.txt` capture the result. The subsequent documentation commit does not require another runtime deployment. diff --git a/Docs/WritingSolver/CuratedV2/DeadEndRepair/Report.md b/Docs/WritingSolver/CuratedV2/DeadEndRepair/Report.md index bda2c7c4..edd4eea3 100644 --- a/Docs/WritingSolver/CuratedV2/DeadEndRepair/Report.md +++ b/Docs/WritingSolver/CuratedV2/DeadEndRepair/Report.md @@ -37,12 +37,12 @@ All traversal counts below are **distinct structural states, not visitor frequen | Failure guard | Original Stage 1 | Repair | |---|---:|---:| | Fully corroborated concern, no result | 7,034 | **0** | -| Substantive ending with no result, no reassurance and no explicit uncertainty fallback | 10,488 | **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. Every diagnostic outcome still takes **4–6 answers**. +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. diff --git a/Docs/WritingSolver/CuratedV2/DeadEndRepair/live-browser.txt b/Docs/WritingSolver/CuratedV2/DeadEndRepair/live-browser.txt new file mode 100644 index 00000000..ca5851b5 --- /dev/null +++ b/Docs/WritingSolver/CuratedV2/DeadEndRepair/live-browser.txt @@ -0,0 +1 @@ +PASS dead-end repair: reported four-answer route; changed hypothesis; knowledge search; six-answer rescue/POV/intended-main routes; Plot Lines, timeline/continuity, relationships, scene/chapter, series, knowledge and character arc; evidence variants; optional secondary/article; explicit missing visuals; no article dump; reassurance/insufficient evidence; no-JS; 390/1440px; Back/Forward/Restart; public theme and noindex; signed-out tour CTA. diff --git a/Docs/WritingSolver/CuratedV2/DeadEndRepair/live-repro.txt b/Docs/WritingSolver/CuratedV2/DeadEndRepair/live-repro.txt new file mode 100644 index 00000000..c657f9e8 --- /dev/null +++ b/Docs/WritingSolver/CuratedV2/DeadEndRepair/live-repro.txt @@ -0,0 +1,5 @@ +Question: entry Answer: story-not-working +Question: story-problem Answer: too-many +Question: check-threads-lost-apart Answer: lost +Question: intent-threads Answer: unwanted +Result: There are too many storylines to keep in your head diff --git a/Docs/WritingSolver/CuratedV2/DeadEndRepair/publication.txt b/Docs/WritingSolver/CuratedV2/DeadEndRepair/publication.txt new file mode 100644 index 00000000..811c7dbc --- /dev/null +++ b/Docs/WritingSolver/CuratedV2/DeadEndRepair/publication.txt @@ -0,0 +1,5 @@ +Valid graph writing-solver-curated-v2-stage1-repair: 158 nodes, 52 solutions, 15 features. +Few solution routes to feature: character-development +Few solution routes to feature: manuscript-import +Verified PlotDirector_Development. +Graph published atomically.