10 KiB
Curated Writing Solver V2 — offline validation report
1 November 2026. Not published, deployed or indexed. No database connection was opened.
Outcome
The actual .NET engine matches 60/60 supplied V2 cases and all 185 prefix expectations, and exhaustive real-engine traversal matches the assembly report exactly: 11,325 states, 44/44 active nodes, 52/52 solutions. Every solution is also primary in at least one explored state.
The candidate is nevertheless rejected by the existing repository validator for one specific framework compatibility issue:
Dead end without diagnostic evidence: existing-barrier
That node is intentionally a non-diagnostic adoption endpoint. Its choices have no diagnostic weights, and it has no outgoing routes. The validator requires terminal nodes to contain diagnostic evidence. Adding weights merely to pass would contradict the V2 instruction that adoption concerns are not diagnoses. No such repair was made, and no validator exception was added to production code.
The validator exits before its journey-exploration phase because of that guard. The state count below comes from a separately instrumented copy of its traversal calling the actual, unchanged .NET routing/scoring engine, not from the CLI's rejected run or a Python reproduction. The instrumentation preserves the validator's exact deduplication key, choice combinations and seen + pending ceiling.
Source preservation and schema
All eight supplied files are stored byte-for-byte as received under PlotLine/Content/WritingSolver/Candidates/curated-v2/. No schema, wording, signal, coefficient, threshold, route, feature mapping, slug or index flag was changed. The candidate is never selected by the application repository.
- Schema corrections required: none.
- Counts: 48 signals; 44 nodes; 52 solutions; 15 features; 60 cases.
- Missing fallbacks: 0. No duplicate IDs/slugs, missing references or unpermitted cycles were reported by the real validator.
- Multi-select nodes:
track-what,change-damage,scale-what; each has seven substantive choices, below the limit of twelve. - Graph SHA-256:
cda5732700d279c4a59d832b795fb80e9debfbf7853f3809213ed0dbb541b22f.
Reachability and exploration
| Measure | Result |
|---|---|
| Distinct states | 11,325 |
| Replay attempts, including duplicate states | 12,701 |
| Peak pending queue | 4,293 |
| Active nodes reached | 44/44 |
| Solutions returned | 52/52 |
| Solutions primary somewhere | 52/52 |
| Terminal states | 9,997 |
| Terminal states with no qualifying result | 2,632 |
| Maximum answers anywhere explored | 6 |
| Exploration complete / ceiling exceeded | Yes / No |
Neutral terminal states include intentional uncertainty and adoption paths; they are not automatically defects. Their user-facing treatment still matters, as noted below. Node and solution witness paths are in results.json.
A concrete witness for the validator blocker is:
entry/unsure
→ rescue-happening/reread-cant-see
→ rescue-confidence/using-tool-concern
→ existing-stage/planning
→ existing-barrier/too-much-written
The final signals are uncertainty=7, checking=3. D52 is highest at 10, below its threshold 26; no solution qualifies. The engine ends neutrally, as intended. Every adoption choice has an equivalent recorded witness with its complete score table. Publication protection is tested with a connection factory that fails if invoked: PublishAsync rejects this candidate during validation before opening any database connection.
Behavioural acceptance
- 60/60 cases pass the supplied primary/neutral, exact ordered prefix-result, expected-next, required-supporting and forbidden-result expectations.
- 185/185 submitted-answer prefixes match. Tests refuse to submit an answer when the UI would already have ended or selected a different question.
- No wrong primary, prefix mismatch, unexpected early stop or forbidden supporting result was found.
- Cases 13 and 58 finish neutrally. Case 50 continues to
rescue-confidencewithout a premature result. - Case 55 returns D30=30; D27=12 is below threshold 30 and is absent from results.
- Case 56 returns D10=52; D11=30 is below threshold 34 and is absent from results.
- Multi-select exclusivity, duplicate-selection resistance, earlier-answer revision and deterministic replay are covered. The browser suite additionally exercises actual Back/Forward and revised answers.
- No graph/scoring corrections were made to obtain these results.
Answer counts in the supplied paths: 6 cases use two answers, 43 use three, 11 use four. Minimum 2, median 3, mean 3.08, maximum 4. These are submitted-path lengths; case 50 deliberately remains an unfinished broadening conversation. None of the curated paths needs the six-answer ceiling.
Every case's requested/accepted path, all prefix signals, all 52 candidate scores and thresholds, winning/supporting results, final next node and pass/fail are recorded in results.json.
Supporting-result metadata needs reconciliation
The supplied file is internally inconsistent in 18 cases: its exact prefixExpectations.expectedResults includes a supporting result not listed in acceptableSupporting.
| Cases | Explicitly expected support omitted from acceptableSupporting |
|---|---|
| 7 | D15 |
| 10 | D10 |
| 11 | D23 |
| 15 | D15, D16 |
| 16 | D43, D15 |
| 17, 18 | D15 |
| 22 | D26 |
| 25 | D29, D13 |
| 30 | D50 |
| 36 | D42 |
| 39 | D39, D13 |
| 43 | D43 |
| 49 | D33, D01 |
| 51 | D26 |
| 52, 57 | D15 |
| 60 | D26 |
Tests match the explicitly supplied full prefix-result lists and report these mismatches as warnings, rather than silently rewriting either list or inventing a new expectation. If acceptableSupporting is intended as a strict whitelist, those 18 cases require metadata/editorial review before claiming whitelist compliance.
Case 56 additionally lists D11 as both acceptable and forbidden. The explicit forbidden rule takes precedence in testing, consistent with the handoff's intent; D11 is not returned. There are no required-supporting entries in any of the 60 supplied cases. Compound cases 51 and 60 return D24 with D26, exactly as their prefix lists specify, but do not demonstrate required D25/D48 or other originally optional compound outcomes.
Page and conversational review
The isolated MVC/Razor browser fixture rendered all 52 solution pages and 15 feature pages successfully with JavaScript disabled. H1s, summaries, descriptions, canonical URLs, social descriptions, valid JSON-LD and solution/feature links were checked. No replacement characters or horizontal overflow were found. Representative 390px and 1440px journeys passed multi-select, neutral outcomes, intentional chronology/absence, Back/Forward, revision, public-theme isolation and layout-shift checks.
The preview is bound to loopback only and uses an explicit test-only candidate environment variable. Its copied in-memory records are rendered noindex, follow. The source candidate's index flags remain unchanged. Production/public controllers, views, scoring, validation, CSS, SQL and publication procedures were not changed.
Remaining UX/editorial concerns, without rewriting the catalogue:
- Adoption reassurance is missing at the endpoint. The engine correctly avoids a diagnosis, but the current renderer uses generic “not enough evidence” advice and a library of 52 solution links. It does not answer the discovery-writer/import concern or link directly to manuscript import. Both adoption-node help fields are empty. This is a neutral-result presentation gap, not a reason to assign a false writing problem.
- Supporting recommendations deserve editorial review. Some literal expectations include diagnoses outside the stated complaint: e.g. D50 as support in the scene-navigation case 30, and D26 in compound character-knowledge cases 51/60. Those tests pass because the V2 file expressly expects them, not because the audit establishes that they are the best author-facing advice.
- Main advice remains templated. All 52 solution
contentfields share the same opening inspection paragraph. Removing repeated summaries/principles improves rendering, but that common paragraph still provides little problem-specific practical guidance. No content was rewritten. - All 67 pages now have populated
questionsfields. Stable routes and metadata render correctly; this pass does not assert editorial completeness or search quality.
Reproduction and verification
Actual validator (currently exits nonzero with the adoption-node message):
dotnet run --project Tools/WritingSolver -- validate /srv/repos/PlotDirector/PlotLine/Content/WritingSolver/Candidates/curated-v2/writing-solver-curated-v2.json
Real-engine audit and machine-readable report:
dotnet run --project PlotLine.Tests -- --writing-solver-curated-v2 --report Docs/WritingSolver/CuratedV2/results.json
This audit command deliberately returns nonzero while the actual validator rejects the candidate, even when its behavioural cases pass. The default regression harness separately asserts that the known rejection remains in force, rather than disabling it or claiming validator success.
Normal checks, run serially:
dotnet build PlotLine.slnx
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj
Result: build passed with the two existing nullable warnings in the regression harness; 381 regression checks passed.
For isolated browser review, from the repository root:
PD_WRITING_SOLVER_CANDIDATE=/srv/repos/PlotDirector/PlotLine/Content/WritingSolver/Candidates/curated-v2/writing-solver-curated-v2.json dotnet run --no-build --project PlotLine.Tests -- --toolbar-browser-host
node PlotLine.Tests/Browser/writing-solver-curated-v2.cjs
The browser suite passed all 67 direct pages and representative desktop/mobile journeys. It makes no requests to the deployed development site and cannot publish data.
Decision boundary
V2's engine behaviour is reproducible and substantially improved. The remaining hard validator rejection reflects its intentional neutral adoption endpoint versus the existing validator contract. Resolve neutral/adoption handling explicitly, reconcile supporting-result metadata and review the noted presentation gaps before publication. No semantic repairs, schema changes, database writes, migration, deployment or publication were performed.