diff --git a/Docs/WritingSolver/ResultPayoff/Deployment.md b/Docs/WritingSolver/ResultPayoff/Deployment.md new file mode 100644 index 00000000..3bc8daa8 --- /dev/null +++ b/Docs/WritingSolver/ResultPayoff/Deployment.md @@ -0,0 +1,40 @@ +# Result payoff — Development delivery, 2 November 2026 + +Runtime commit **2e43a38**, `Bring solver diagnosis and practical payoff forward with varied result compositions`. + +The result now leads with the diagnosis and concise synthesis, up to three relevant authored evidence points, and a concrete author action. The relevant PlotDirector response follows immediately. Deeper recognition/cause/inspection/mental-model content remains server-rendered underneath, along with the existing related links and metadata. No engine, curated graph, recommendation, SEO catalogue, application theme or screenshot asset changes. + +See [Audit.md](Audit.md) for all 52 diagnoses/actions/features/screenshots and the seven archetypes plus separate reassurance composition. [OwnerExamples.md](OwnerExamples.md) gives four representative permanent pages and repeatable journeys for those, reassurance and uncertainty order. + +## Delivery + +Fresh release: `/srv/apps/plotdirector-dev/releases/solver-payoff-2e43a38-20261102_122507`. + +Previous physical runtime backed up to `/srv/apps/plotdirector-dev/current-before-solver-payoff-2e43a38-20261102_122507`. Existing configuration, uploads, logs and App_Data (including owner review feedback) preserved. Pre-stop read-only checks verified the Development database and zero active/queued import, Story Intelligence, synthesis or enrichment work, no active manuscript build and no executing Development database request. No database mutation or graph publication. + +Published/deployed assembly SHA-256 both: `cb23abc373b0d6bfe4ac91bb7e86545470e3fdccc9afa8c17b258f92f765e154`. Service active; local homepage and public permanent-result GETs 200. No warning/error journal entries during live verification. Production unchanged; Development remains noindex. + +## Verification + +- Build succeeds; **395 regression checks pass**, including unchanged acceptance/prefix/exhaustive traversal and dead-end checks. New audit verifies all 52 authored actions and families, valid semantic uncertainty mappings, preserved choices/order fields and unchanged graph serialisation. +- All **125** explicitly classified uncertainty choices are sorted after substantive answers in the server-rendered DOM, retaining original substantive order and fallback styling. Exclusivity/selection JavaScript is unchanged. The two mixed-order final-cast/final-progression examples now put uncertainty after the deliberate response. +- All 52 permanent pages retain their H1, specific title/description, canonical/OG/schema, crawlable editorial content and valid contextual links. New result guidance precedes deeper editorial content. +- Seven diagnostic families checked through real personalised journeys at **390 / 768 / 1440 / 1920px**, including images and no horizontal overflow. At 1440px, practical actions begin between 403–484px and feature-specific responses between 642–715px: both the diagnosis and practical response are visible within a 900px first viewport. Raw positions in Evidence/first-viewport.json and the deployed repeat in Evidence/live-first-viewport.json. +- Screenshots remain the real approved application assets: responsive AVIF/WebP, dimensions, alt text, enlarge links and full-width canvas checked across all 52 mappings and 11 application view families. Single-feature results retain one demonstration; the seven approved two-capability workflows show the relevant secondary demonstration. No image regeneration or added feature mapping. +- Explicit reassurance/no-product journey checked: “A deliberate choice does not need correcting.” Its existing authored advice receives a distinct sage confirmation treatment, with no product CTA or screenshot. Insufficient evidence retains its honest separate outcome. +- Existing clean-result URL and dead-end browser suites pass, including Back/Forward/revision/Start again, multi-select, neutral/insufficient outcomes, no JavaScript, mobile/desktop, signed-out tours and signed-in project/character selection. +- Existing Development Review Mode browser suite passes unchanged in scope: signal arithmetic, correct captured diagnosis, feedback/filter/resolve, export, replay, resume and access restrictions. No review code was expanded. +- Actual deployed Development: all 52 direct pages and every diagnostic archetype through personalised journeys at all four widths pass; clean URL/private evidence suite passes. The final-cast uncertainty-last example was additionally checked at 390px on the deployed site. Screenshots were visually reviewed locally. + +## Performance and stability + +Three live HTTPS pages (storyline overview, relationship development, nonlinear chronology), two fresh-context runs per width; 12 before and 12 after, no network/CPU throttling. These small local laboratory samples are not field Core Web Vitals. + +| Width | Median LCP before → after | Median resource transfer before → after | Maximum CLS | +| --- | --- | --- | --- | +| 390px | 206 → 224ms | 916,155 → 922,228 bytes | 0 → 0 | +| 1440px | 268 → 274ms | 916,155 → 932,560 bytes | 0 → 0 | + +The modest resource increase is the shared result CSS and larger responsive image variant where needed. No added JavaScript, duplicate variants or multi-megabyte backgrounds. The existing AVIF desk background remains unchanged and shared via `--solver-desk-image`; family layouts do not duplicate or bake in decorative imagery. Native image dimensions preserve layout stability. No material slowdown appears in these samples, while the demonstrations are substantially larger. + +Raw samples and browser summaries are under Evidence/. No further tuning phase was undertaken. diff --git a/Docs/WritingSolver/ResultPayoff/Evidence/live-clean-urls.txt b/Docs/WritingSolver/ResultPayoff/Evidence/live-clean-urls.txt new file mode 100644 index 00000000..db0b9682 --- /dev/null +++ b/Docs/WritingSolver/ResultPayoff/Evidence/live-clean-urls.txt @@ -0,0 +1 @@ +PASS clean URLs: 52 direct pages; private evidence/refresh/fresh sharing; Back/Forward; revised diagnosis; 390/1440; JS/no-JS; canonical/OG/structured data; robots; sitemap Development noindex diff --git a/Docs/WritingSolver/ResultPayoff/Evidence/live-first-viewport.json b/Docs/WritingSolver/ResultPayoff/Evidence/live-first-viewport.json new file mode 100644 index 00000000..d666428e --- /dev/null +++ b/Docs/WritingSolver/ResultPayoff/Evidence/live-first-viewport.json @@ -0,0 +1,170 @@ +[ + { + "width": 390, + "family": "overview", + "actionY": 454.671875, + "helpY": 744.765625 + }, + { + "width": 390, + "family": "plot-map", + "actionY": 554.671875, + "helpY": 853.5625 + }, + { + "width": 390, + "family": "workflow", + "actionY": 577.921875, + "helpY": 854.015625 + }, + { + "width": 390, + "family": "chronology", + "actionY": 554.671875, + "helpY": 828.765625 + }, + { + "width": 390, + "family": "people", + "actionY": 531.421875, + "helpY": 805.515625 + }, + { + "width": 390, + "family": "trace", + "actionY": 531.421875, + "helpY": 805.515625 + }, + { + "width": 390, + "family": "progression", + "actionY": 531.421875, + "helpY": 783.921875 + }, + { + "width": 768, + "family": "overview", + "actionY": 412.203125, + "helpY": 681.5 + }, + { + "width": 768, + "family": "plot-map", + "actionY": 468.796875, + "helpY": 727.09375 + }, + { + "width": 768, + "family": "workflow", + "actionY": 493.59375, + "helpY": 748.890625 + }, + { + "width": 768, + "family": "chronology", + "actionY": 493.59375, + "helpY": 751.890625 + }, + { + "width": 768, + "family": "people", + "actionY": 468.796875, + "helpY": 722.09375 + }, + { + "width": 768, + "family": "trace", + "actionY": 468.796875, + "helpY": 732.625 + }, + { + "width": 768, + "family": "progression", + "actionY": 468.796875, + "helpY": 700.5 + }, + { + "width": 1440, + "family": "overview", + "actionY": 402.953125, + "helpY": 647.453125 + }, + { + "width": 1440, + "family": "plot-map", + "actionY": 434.75, + "helpY": 668.25 + }, + { + "width": 1440, + "family": "workflow", + "actionY": 484.34375, + "helpY": 714.84375 + }, + { + "width": 1440, + "family": "chronology", + "actionY": 459.546875, + "helpY": 693.046875 + }, + { + "width": 1440, + "family": "people", + "actionY": 434.75, + "helpY": 663.25 + }, + { + "width": 1440, + "family": "trace", + "actionY": 459.546875, + "helpY": 701.3125 + }, + { + "width": 1440, + "family": "progression", + "actionY": 434.75, + "helpY": 641.65625 + }, + { + "width": 1920, + "family": "overview", + "actionY": 402.953125, + "helpY": 647.453125 + }, + { + "width": 1920, + "family": "plot-map", + "actionY": 434.75, + "helpY": 668.25 + }, + { + "width": 1920, + "family": "workflow", + "actionY": 484.34375, + "helpY": 714.84375 + }, + { + "width": 1920, + "family": "chronology", + "actionY": 459.546875, + "helpY": 693.046875 + }, + { + "width": 1920, + "family": "people", + "actionY": 434.75, + "helpY": 663.25 + }, + { + "width": 1920, + "family": "trace", + "actionY": 459.546875, + "helpY": 701.3125 + }, + { + "width": 1920, + "family": "progression", + "actionY": 434.75, + "helpY": 641.65625 + } +] \ No newline at end of file diff --git a/Docs/WritingSolver/ResultPayoff/Evidence/live-payoff.txt b/Docs/WritingSolver/ResultPayoff/Evidence/live-payoff.txt new file mode 100644 index 00000000..18faf006 --- /dev/null +++ b/Docs/WritingSolver/ResultPayoff/Evidence/live-payoff.txt @@ -0,0 +1 @@ +PASS all 52 archetypes; seven diagnostic families × four widths with personalised evidence, practical response and real images; known mixed-order uncertainties last in DOM; reassurance has no product CTA/image. diff --git a/Docs/WritingSolver/ResultPayoff/Evidence/performance-after.json b/Docs/WritingSolver/ResultPayoff/Evidence/performance-after.json new file mode 100644 index 00000000..ac3af354 --- /dev/null +++ b/Docs/WritingSolver/ResultPayoff/Evidence/performance-after.json @@ -0,0 +1,386 @@ +[ + { + "slug": "too-many-storylines-to-manage", + "width": 390, + "run": 0, + "lcp": { + "ms": 180, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif", + "transfer": 14501, + "encoded": 14201, + "initiator": "img" + } + ], + "totalBytes": 922228 + }, + { + "slug": "too-many-storylines-to-manage", + "width": 390, + "run": 1, + "lcp": { + "ms": 196, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif", + "transfer": 14501, + "encoded": 14201, + "initiator": "img" + } + ], + "totalBytes": 922228 + }, + { + "slug": "too-many-storylines-to-manage", + "width": 1440, + "run": 0, + "lcp": { + "ms": 248, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-960.avif", + "transfer": 24833, + "encoded": 24533, + "initiator": "img" + } + ], + "totalBytes": 932560 + }, + { + "slug": "too-many-storylines-to-manage", + "width": 1440, + "run": 1, + "lcp": { + "ms": 276, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-960.avif", + "transfer": 24833, + "encoded": 24533, + "initiator": "img" + } + ], + "totalBytes": 932560 + }, + { + "slug": "relationship-stops-developing", + "width": 390, + "run": 0, + "lcp": { + "ms": 236, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/relationship-map-640.avif", + "transfer": 12036, + "encoded": 11736, + "initiator": "img" + } + ], + "totalBytes": 919763 + }, + { + "slug": "relationship-stops-developing", + "width": 390, + "run": 1, + "lcp": { + "ms": 228, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/relationship-map-640.avif", + "transfer": 12036, + "encoded": 11736, + "initiator": "img" + } + ], + "totalBytes": 919763 + }, + { + "slug": "relationship-stops-developing", + "width": 1440, + "run": 0, + "lcp": { + "ms": 300, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/relationship-map-960.avif", + "transfer": 20434, + "encoded": 20134, + "initiator": "img" + } + ], + "totalBytes": 928161 + }, + { + "slug": "relationship-stops-developing", + "width": 1440, + "run": 1, + "lcp": { + "ms": 292, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/relationship-map-960.avif", + "transfer": 20434, + "encoded": 20134, + "initiator": "img" + } + ], + "totalBytes": 928161 + }, + { + "slug": "story-order-differs-from-chronology", + "width": 390, + "run": 0, + "lcp": { + "ms": 220, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology-640.avif", + "transfer": 18348, + "encoded": 18048, + "initiator": "img" + } + ], + "totalBytes": 926075 + }, + { + "slug": "story-order-differs-from-chronology", + "width": 390, + "run": 1, + "lcp": { + "ms": 240, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology-640.avif", + "transfer": 18348, + "encoded": 18048, + "initiator": "img" + } + ], + "totalBytes": 926075 + }, + { + "slug": "story-order-differs-from-chronology", + "width": 1440, + "run": 0, + "lcp": { + "ms": 252, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology.avif", + "transfer": 43174, + "encoded": 42874, + "initiator": "img" + } + ], + "totalBytes": 950901 + }, + { + "slug": "story-order-differs-from-chronology", + "width": 1440, + "run": 1, + "lcp": { + "ms": 272, + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "tag": "DIV" + }, + "cls": 0, + "resources": [ + { + "url": "https://dev.plotdirector.com/css/writing-solver.css?v=rugBH6BDVIaAYOvoikzmDKHG4HFxy2Mhg1dLZwRY8w4", + "transfer": 19979, + "encoded": 19679, + "initiator": "link" + }, + { + "url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif", + "transfer": 176969, + "encoded": 176669, + "initiator": "css" + }, + { + "url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology.avif", + "transfer": 43174, + "encoded": 42874, + "initiator": "img" + } + ], + "totalBytes": 950901 + } +] \ No newline at end of file diff --git a/Docs/WritingSolver/ResultPayoff/OwnerExamples.md b/Docs/WritingSolver/ResultPayoff/OwnerExamples.md new file mode 100644 index 00000000..1b3d5830 --- /dev/null +++ b/Docs/WritingSolver/ResultPayoff/OwnerExamples.md @@ -0,0 +1,45 @@ +# Owner review examples + +Runtime **2e43a38**. Use the ordinary [Development solver](https://dev.plotdirector.com/writing-problems) to see the personalised evidence; the permanent resources also work when opened directly. + +## Some parts of the story rush while others drag + +https://dev.plotdirector.com/writing-problems/pacing-is-uneven + +Journey: Something doesn't feel right → The whole story → The pace keeps changing → There is progress, but important developments arrive in bunches between long waits → The rhythm is weakening the movement I want + +## Your timeline doesn't add up + +https://dev.plotdirector.com/writing-problems/timeline-doesnt-add-up + +Journey: I'm worried I've contradicted myself → When something happens → Two events can't both happen when I've said they do → Two stated dates or event positions cannot both be true → I need these events to fit together, and at the moment they do not + +## A relationship stops moving for too long + +https://dev.plotdirector.com/writing-problems/relationship-stops-developing + +Journey: Something doesn't feel right → A relationship → It stops developing → Their encounters keep returning to the same position despite chances to change → I want a change or a connection that the scenes are not making clear + +## You don't know where a scene belongs + +https://dev.plotdirector.com/writing-problems/dont-know-where-scene-belongs + +Journey: I'm losing track of things → Scenes and chapters → Where a scene belongs → A scene could sit in several places and I cannot see what each position changes + +## Reassurance / no product recommendation + +Start at https://dev.plotdirector.com/writing-problems and choose: + +The story isn’t coming together → There are too many storylines → I have to search back just to remember which threads are still open → The threads are doing what I want, even though their shares differ. + +Result: **A deliberate choice does not need correcting.** It retains the authored reassurance and practical advice, with no product CTA or screenshot. Neutral outcomes keep their existing protected journey URLs; no new permanent diagnosis URL was invented. + +## Uncertainty answer last + +Start at https://dev.plotdirector.com/writing-problems and choose: + +I'm not sure what's wrong → I keep rereading it but can't see the problem → That the story hangs together → One storyline is taking over → It may be one character or narrator making it feel that way + +The next question is `final-cast`. Its deliberate/intended option now precedes **I cannot tell from what I have noticed yet**, which is the final option, including on mobile. This is one of the two previously mixed-order cases. + +Development Review Mode can be enabled through the existing admin page to compare the same journey, scores and recommendation. It was not expanded or retuned.