Compare commits
606 Commits
onboarding
...
codex/onbo
| Author | SHA1 | Date | |
|---|---|---|---|
| 732d21fe95 | |||
| 7e632807bb | |||
| 0a1bfc0960 | |||
| fb843de1ce | |||
| 964ec5e9f7 | |||
| 10a542c00c | |||
|
|
ea5a62b147 | ||
|
|
04fb1cb108 | ||
|
|
d46ed11600 | ||
|
|
1601908795 | ||
|
|
3828ed3732 | ||
|
|
0e331eacb5 | ||
|
|
717be089b9 | ||
|
|
3d78b666b6 | ||
|
|
062cc06dd5 | ||
|
|
4b968d6526 | ||
|
|
33e3a564b8 | ||
|
|
e719277fc9 | ||
| ea1aabb363 | |||
| 5b7eb279c5 | |||
| 80f7cb516b | |||
| 89c376bd93 | |||
| bcef86e1cc | |||
| 0aeb9d1005 | |||
| e7c35ae382 | |||
| 00f5b96544 | |||
| 0dddaf5dd8 | |||
| ba322b1e54 | |||
| 6bfdf8ce3a | |||
| e2fd8d455b | |||
| f6850d5f7a | |||
| a209f35610 | |||
| ef4abda5fa | |||
| 62e32fb580 | |||
| 42f8769162 | |||
| 6d2c51a651 | |||
| c2914db194 | |||
| c2e25438a5 | |||
| b5e4de2626 | |||
| 5a0eba4570 | |||
| 14adc02aa2 | |||
| 44daa7f3de | |||
| 38c61546c0 | |||
| 288e2018af | |||
| 78b45d749a | |||
| f1d0a8d61b | |||
| 390c449e17 | |||
| e7cd923efc | |||
| 75d3aba233 | |||
| aac32d5d19 | |||
| c43fe5d12d | |||
| 9493e737d6 | |||
| 7793f04ced | |||
| cbffe9c0b1 | |||
| d3c2ed0911 | |||
| 741743ce10 | |||
| 589afdd760 | |||
| c868eb475a | |||
| 25a151f958 | |||
| eef4803c38 | |||
| ebfc5815e9 | |||
| 9d397c0ae3 | |||
| fb537cd4e8 | |||
| c26a67bec7 | |||
| 88f224a059 | |||
| f228d4068f | |||
| 56680f16fa | |||
| 15648f77f3 | |||
| ec34ac8013 | |||
| 9e75970ceb | |||
| 2c61c196ae | |||
| a5af2e8b20 | |||
| 64bd3c9acf | |||
| 98bce93ffc | |||
| 63fb2d5a75 | |||
| 8347f34f28 | |||
| d7e8a9c5dd | |||
| 6f9599bd26 | |||
| ed362fe9c3 | |||
| 2496f7ab0b | |||
| 7177740ffb | |||
| 5ebb9f82e8 | |||
| aad91b2c7f | |||
| 994f466b77 | |||
| 2197c9bb34 | |||
| 7bf1be7516 | |||
| fccc0d8b4f | |||
| 2a865f0374 | |||
| b527e8eee1 | |||
| 1dceeff89c | |||
| a988982df3 | |||
| e56e3005aa | |||
| 283f6fd7ef | |||
| be459d22c6 | |||
| eb9dec261c | |||
| 62fa292f81 | |||
| 72a77ebb0c | |||
| 78a84df52f | |||
| ea9ce69e8e | |||
| 78865cf9b6 | |||
| b4a1d4472d | |||
|
|
55bdce3025 | ||
|
|
73f66b2f76 | ||
|
|
ae06dca3da | ||
|
|
470a90cf55 | ||
|
|
984aa50897 | ||
| 81b57a5f1b | |||
| 9969c9b47b | |||
| 5529e4a3cf | |||
| 64e17824e9 | |||
| 024e668978 | |||
| e789da6139 | |||
| e9402d0c16 | |||
| 01c1197c92 | |||
| 10bf9db906 | |||
| 4dc50e1204 | |||
| 36c4d95ab5 | |||
| f96259a378 | |||
| 5d18f6cbe2 | |||
| c769e1119a | |||
| 9a8b9a365d | |||
|
|
7f21f2a27c | ||
|
|
4cbfee9a14 | ||
|
|
fad26c3ec6 | ||
|
|
6086dd023c | ||
| 2c89a8dd0c | |||
| e87a53d7c3 | |||
|
|
111f9caca1 | ||
|
|
4663e04db4 | ||
|
|
368c00a03a | ||
|
|
45f7b31d96 | ||
| 68b3a7c57f | |||
| 412a870aa6 | |||
| 6bc42036e4 | |||
| fe8c6d8f04 | |||
| 2d3716aaf0 | |||
| 7f7630e345 | |||
| a0c2367dd9 | |||
| 58ee48d94a | |||
| 364842f0a3 | |||
| a369e7dcd2 | |||
| a1c616fbb6 | |||
| 0520326b2a | |||
| 05327c3ddd | |||
| 04d8c43718 | |||
| 84256767da | |||
| cfbc86c659 | |||
| b2033ff68f | |||
| 7855ff1ac1 | |||
| 0c9aa9b257 | |||
| dad70a1e32 | |||
| efc28808f3 | |||
| 9eb1f553ef | |||
| 47d400cbb7 | |||
| e67c6f9fb5 | |||
| ec5cf67596 | |||
| ba15e8affb | |||
| 1ad8e12ca8 | |||
|
|
5fb5cc9e7e | ||
|
|
e60053ad57 | ||
| 7e5da5cadf | |||
| 0cfd6984f9 | |||
| 38da81ea81 | |||
|
|
b464e19c83 | ||
|
|
7acd516130 | ||
|
|
2c19121bc9 | ||
| d68314b83e | |||
| aeffbb90ce | |||
|
|
7bd98194b2 | ||
| 09ff018976 | |||
| a3353c069d | |||
|
|
3004540d94 | ||
|
|
21fbd821f3 | ||
|
|
8b3321e69f | ||
| 1cc8c0e10a | |||
| 09449a9aab | |||
| 0ef2e9cf62 | |||
|
|
2497f45592 | ||
|
|
796f2710ab | ||
|
|
f4e3953edb | ||
|
|
c97fe97bef | ||
|
|
b12dafa1aa | ||
|
|
a657ebf3c1 | ||
|
|
da1357de9c | ||
|
|
fe793f4b7a | ||
|
|
a02441c123 | ||
| f049ce8602 | |||
| 9fed339879 | |||
|
|
c6bde4561f | ||
|
|
fda7077335 | ||
|
|
b87f3298a6 | ||
| acc94eb32c | |||
| b78a88eeab | |||
|
|
20000adfbf | ||
|
|
302bf25733 | ||
|
|
5e5edfce9b | ||
|
|
7c6e905768 | ||
|
|
4bf9aca1fd | ||
|
|
025765e85f | ||
| 88c6116663 | |||
| f171d8b196 | |||
| 59e17df43f | |||
| e6e2a33847 | |||
|
|
51316f0f83 | ||
| 8ddc142577 | |||
| 1ca921c827 | |||
| 3754ff5ac7 | |||
| 1ffd3fcf54 | |||
| 7ce96acd94 | |||
| c6cdfbc3b1 | |||
| e0525f40a6 | |||
| 9568e7ec23 | |||
|
|
b7fe1e4fb9 | ||
|
|
9395e094f8 | ||
| 5040deb81e | |||
| 7983c36240 | |||
| 099792cad1 | |||
| ab2ba2fe6a | |||
| 0d11a6b408 | |||
| 90492f65f0 | |||
|
|
016dbb1632 | ||
|
|
a8b36c8526 | ||
|
|
99f8433c73 | ||
|
|
5431794767 | ||
|
|
3fcf747201 | ||
|
|
710f1775e0 | ||
| 1bd082bea4 | |||
| f543b7ac87 | |||
|
|
94d99d9305 | ||
| 03de90ba51 | |||
| 05e779f1af | |||
|
|
1048e193fd | ||
| 06a4ba04c6 | |||
| 6d5b59bcd4 | |||
| 5021586c9f | |||
|
|
4a3355df3b | ||
|
|
1912360471 | ||
| efcb4ac85b | |||
| 5d75546107 | |||
| 2c0e02c7c9 | |||
|
|
6307c9c6e4 | ||
|
|
472be22ca1 | ||
| af7c41c1d3 | |||
| e4ce822b0b | |||
| b8396ca2f9 | |||
| a0cee0d1f0 | |||
|
|
25c75ad6cd | ||
|
|
e0a943de0c | ||
|
|
ad24165f5f | ||
|
|
2cfa88b267 | ||
|
|
4293e1c36c | ||
| 1ccb6c4322 | |||
| 5472e98b8f | |||
| 57c6bd5ca5 | |||
|
|
82a7272825 | ||
|
|
1317fcd3e4 | ||
|
|
ec3744f208 | ||
|
|
64c55e2a1a | ||
| 9e313f1abe | |||
| 5316ad539c | |||
|
|
21f9eac167 | ||
|
|
938ffaf351 | ||
| 73ae3140e0 | |||
| 269bb324ca | |||
|
|
dcaab6e226 | ||
|
|
9475ee3bf7 | ||
|
|
830db6f550 | ||
|
|
e71e51df20 | ||
|
|
661fdf6650 | ||
|
|
7311764739 | ||
|
|
e0e2cda53c | ||
| bda826b207 | |||
| b4bf21328e | |||
| 00f7305dcb | |||
| 87c94f124a | |||
| be88c1d068 | |||
| e34c9a53ba | |||
| b732b21bc8 | |||
| d909960fd5 | |||
| a2e891c917 | |||
| 10f44edbca | |||
| 796786414a | |||
| b8bb08948d | |||
| caeb90b350 | |||
| 15ea2ba750 | |||
| bf515d20af | |||
|
|
97f5d99023 | ||
| 6cdb49c08a | |||
| c42ed3f5a2 | |||
| fb747869a5 | |||
| 18688fed3a | |||
| 24363e683c | |||
| b4b58af8e8 | |||
| 07cd67aeaa | |||
|
|
b7f1fbcaee | ||
|
|
0c144b9e72 | ||
|
|
a4f4f03b5e | ||
|
|
8a658eaa8c | ||
| 6bb5b0ffde | |||
| b221189d32 | |||
| 0075bb5299 | |||
| 7df1552306 | |||
| 718c996d4c | |||
| 0a404d2b58 | |||
| cdc75a3666 | |||
| baa1326caa | |||
| af243d3a9b | |||
|
|
76a92f9c65 | ||
| c1c6009844 | |||
|
|
726a3d5bc2 | ||
|
|
a0c2d252e9 | ||
|
|
f0d1f6be2a | ||
|
|
2f0f5a4b74 | ||
| 472ab581a1 | |||
| d100481387 | |||
| 7d1810c7bc | |||
| 15062813b4 | |||
| f0fe32bc00 | |||
| d0ed7d7c3b | |||
| ace414a9b4 | |||
| 0928c2033a | |||
| e7e71de1c4 | |||
| 20be2c792d | |||
| 0ef44ec3bf | |||
| c18bc24996 | |||
| 02a1ea99ab | |||
| 6f61d7d382 | |||
| a880e1c973 | |||
| 4eee8e1e70 | |||
| 9fafd964bd | |||
| 57625e0b02 | |||
| 3177484f2f | |||
| e9572502f0 | |||
| d9145d5133 | |||
| 1467a61718 | |||
| 379aad34d1 | |||
| a37f1c89ad | |||
| 978bf2b5a3 | |||
| 5c11203ddb | |||
| 168ff4d8e0 | |||
| 6332522568 | |||
| 65fb81e218 | |||
| 46f99f221a | |||
| 28397ff465 | |||
| 571f670c0d | |||
| 6ae371558b | |||
| dbb2e2dcee | |||
| f12ad4362a | |||
| 869e305267 | |||
| 016b58fe71 | |||
| 9d78a630fd | |||
| b523a86c19 | |||
| 597915f7ae | |||
| 735a7d86b1 | |||
| 408ea95a09 | |||
| 81833c6b0d | |||
| 06f2bf7821 | |||
| 1930007943 | |||
| 5a969eb6e6 | |||
| ee9bbec4e4 | |||
| 2f99a3c88a | |||
| 86509cb4db | |||
| b7d87c72df | |||
| ba33b698cf | |||
| ab5325dfd9 | |||
| d7ae6e2096 | |||
| 79c4fd22bc | |||
| a348777b28 | |||
| 77332a25ab | |||
| d6be496a93 | |||
| 7f193192e8 | |||
| 2696d56f59 | |||
| 246371d453 | |||
| da24ec3798 | |||
| 616473d8a4 | |||
| 50fb5cf26c | |||
| 0de61d19a3 | |||
| 1980ae7fc0 | |||
| 2350a6e5e0 | |||
| 350b2aa500 | |||
| 7dd80f80c5 | |||
| 7622a9681a | |||
| 4f361cb47f | |||
| 58498d4362 | |||
| d58b0c2d83 | |||
| d439bf00ef | |||
| c8a73f26d5 | |||
| 19a6067c18 | |||
| d001520a46 | |||
| 1e8e816166 | |||
| 78e80569dd | |||
| 448f35b583 | |||
| 5590c3bca9 | |||
| 688752626c | |||
| 6e2716190c | |||
| 5d2e080539 | |||
| 5d2a12de48 | |||
| 88f082f7bf | |||
| 2f70990a97 | |||
| d40d45f63a | |||
| ad489bde07 | |||
| 7d05de90a4 | |||
| 17dd4ff3c1 | |||
| ebf504cd2b | |||
| f7d99a9c1c | |||
| e20c71f8e0 | |||
| f5f54d1be0 | |||
| fcb9ed9a74 | |||
| d62cc54642 | |||
| 2e43a38d23 | |||
| 8a8c185145 | |||
| 2858a5df95 | |||
| df90d03048 | |||
| b69085f01d | |||
| c76673b39c | |||
| 81d5693ce2 | |||
| 48a2421fc7 | |||
| cf1dc11894 | |||
| 2d78d6568f | |||
| ccdae5d524 | |||
| ea04dcd4b0 | |||
| 394f7c5b59 | |||
| 227d76a916 | |||
| f9cd6161d8 | |||
| 127a85d730 | |||
| 431fe8979b | |||
| 73e3ab08d4 | |||
| 6b704f6442 | |||
| e818ca4b08 | |||
| 983c3a9359 | |||
| 9852c42461 | |||
| 8ea1bb9856 | |||
| 911a72effa | |||
| 424dccc736 | |||
| 77b899c542 | |||
| 224e22a2df | |||
| 3c888049c5 | |||
| b01fdae8ed | |||
| f2d15b9db3 | |||
| 6b4079a280 | |||
| b5a2df25de | |||
| 95a9b0b4e2 | |||
| 9294ee89d6 | |||
| fed3224f0d | |||
| 7591edacaf | |||
| a9ec410406 | |||
| 6a9b79e6be | |||
| bb95811e53 | |||
| 3338101964 | |||
| 8c879b4631 | |||
| 134de29a8b | |||
| e48889ac05 | |||
| 340c5e3021 | |||
| 45b6b2b537 | |||
| b7a17b8945 | |||
| 729032ff0d | |||
| 66bbf5c729 | |||
| b1a7e2f979 | |||
| 894708dcbe | |||
| 8ac01000ec | |||
| db7d3b340e | |||
| bfa6a73e3f | |||
| 66c771d417 | |||
| 83d889b8ea | |||
| 3f0afae50c | |||
| a76d201b87 | |||
| 528a8808d5 | |||
| 885f856b9f | |||
| 507d144e92 | |||
|
|
1f5216c29f | ||
| d4c421a836 | |||
| 0b63bd751e | |||
| 56fc5f5140 | |||
| 32e82459bf | |||
| 84ed078eba | |||
| a666696a9f | |||
| 54eced0ad1 | |||
| aa74df89e8 | |||
| e06bcc57fe | |||
| 10d5a657ad | |||
| d5e11987c2 | |||
| 265f2afa50 | |||
| 46afaff981 | |||
| 68c327d39b | |||
| 4e1646936f | |||
| 795d36f228 | |||
| c765b0ff2a | |||
| e080a4aad6 | |||
| 91331b0dd0 | |||
| ce0ec5655c | |||
| 10da445713 | |||
| 296a4afb99 | |||
| 846016b7be | |||
| 340fec3cab | |||
| cb0beb1a12 | |||
| 390ea19550 | |||
| 738c1d118f | |||
| 56236104bc | |||
| ba8edd26b0 | |||
| 2454e4a037 | |||
| 6263cf6b00 | |||
| 64225dde1a | |||
| 577ec581df | |||
| c82430da04 | |||
| 7990cb244e | |||
| d1280583f6 | |||
| e37c761b46 | |||
| 4579476869 | |||
| 45051a8556 | |||
| b6caf9df8e | |||
| 66e28b7f0e | |||
| 1cf0174466 | |||
| bb62762b78 | |||
| 3c016c904e | |||
| 0c3f215574 | |||
| 0839b8e13d | |||
| 07113f9b36 | |||
| 9c1f9c9182 | |||
| 1fab92f0e5 | |||
| decb975255 | |||
| d6d52b09e3 | |||
| a1cba8a057 | |||
| 5a7b8c79c7 | |||
| 794606f723 | |||
| 845b42e5fe | |||
| d32de17dcc | |||
| d2449a4683 | |||
| 99d818ed9f | |||
| 80d13c6a7f | |||
| b639b12163 | |||
| 85286428c2 | |||
| feed4549bf | |||
| ae0552af90 | |||
| b7f24954e1 | |||
| 6dec8a4345 | |||
| 78f401b417 | |||
| dd4b0badb6 | |||
| 730537daee | |||
| 0b74ee9ec0 | |||
| 0ec0167746 | |||
| e9f15e076b | |||
| a28495865a | |||
| 9c2a3215c5 | |||
| 6d367b8977 | |||
| a6ca129f4d | |||
| a319df2455 | |||
| 0cc25c570c | |||
| 96343138ea | |||
| 6d2340ae46 | |||
| 90d8f65fcf | |||
| 9c27ba6ffa | |||
| 3bf8f88f16 | |||
| 6aea9736d4 | |||
| 108df3db3e | |||
| 58075232e7 | |||
| caa70be9f4 | |||
| 1f5ab018b0 | |||
| ed4ad31466 | |||
| a2cf6a96a8 | |||
| 4f82dc308a | |||
| ea41ec3aac | |||
| 7d33323de7 | |||
| dabf63d91d | |||
| 358913f0ef | |||
| c10745bcc4 | |||
| b6aa53ee12 | |||
| dc5232378f | |||
| 3740658f3e | |||
| f76e5bc388 | |||
| e0c3171329 | |||
| 5a38560f47 | |||
| a6c870ab6d | |||
| 45aa1c7384 | |||
| fbb973574c | |||
| 4214779883 | |||
| 24f2120cb2 | |||
| c8148245c9 | |||
| 1b8b2a984a | |||
| a6145a25e8 | |||
| 398579c5c9 | |||
| 9d8d443067 | |||
| 0e75a95625 | |||
| 998c301d65 | |||
| adf93a075c | |||
| fbe8e60d59 | |||
| d62e825a17 | |||
| 3b2b25eeab | |||
| c2a6dbd849 | |||
| a90b98f8f0 | |||
| 1dfc620e00 | |||
| 2bb5decf63 | |||
| 25a8ce65fa | |||
| 77369a86fd | |||
| 1c7cf9bee1 | |||
| 1ead298fa8 | |||
| 09f003b0cd | |||
| 95f5c2925d | |||
| 43a57df070 | |||
| 451e384966 | |||
| 884a96d166 | |||
| fa2ffe4f17 | |||
| bba75f3ac4 | |||
| 90307757b4 | |||
| 9f0fdbc366 | |||
| f6b4263f31 | |||
| c96c20d18b |
4
.gitignore
vendored
@ -360,4 +360,6 @@ MigrationBackup/
|
||||
.ionide/
|
||||
|
||||
# Fody - auto-generated XML schema
|
||||
FodyWeavers.xsd
|
||||
FodyWeavers.xsd
|
||||
# Private Development-only solver owner feedback (never source or public content).
|
||||
/PlotLine/App_Data/WritingSolverReview/
|
||||
|
||||
117
AGENTS.md
Normal file
@ -0,0 +1,117 @@
|
||||
# PlotDirector Codex Guide
|
||||
|
||||
PlotDirector is an ASP.NET Core .NET 10 MVC/Razor application using Dapper and Microsoft.Data.SqlClient.
|
||||
|
||||
This file contains the rules and information needed on most development tasks. Detailed operational procedures are deliberately kept in separate documents. Read those only when the current task requires them.
|
||||
|
||||
## Repository
|
||||
|
||||
- Repository: `/srv/repos/PlotDirector`
|
||||
- Solution: `PlotLine.slnx`
|
||||
- Web application: `PlotLine/PlotLine.csproj`
|
||||
- Regression harness: `PlotLine.Tests/PlotLine.Tests.csproj`
|
||||
- Word add-in: `PlotDirector.WordCompanion/`
|
||||
- Development service: `plotdirector-dev`
|
||||
- Development site: `https://dev.plotdirector.com/`
|
||||
- Development database: `PlotDirector_Development`
|
||||
- Production is a separate host and database. Development work does not authorise production changes.
|
||||
- `Tools/` and `tools/`, and `Docs/` and `docs/`, are distinct paths on Linux.
|
||||
|
||||
## Core Development Rules
|
||||
|
||||
- Use Dapper and stored procedures for application database access.
|
||||
- Do not add inline SQL to application code.
|
||||
- Do not introduce Entity Framework or EF migrations.
|
||||
- SQL migrations are forward-only. Never modify an existing numbered migration to repair a live schema.
|
||||
- PlotDirector must work for arbitrary books and authors. Never add production logic that recognises manuscript-specific names, places, vehicles, objects or relationships.
|
||||
- Preserve existing user changes in a dirty worktree. Do not revert unrelated changes.
|
||||
- Never expose or commit passwords, connection strings, API keys, SMTP credentials, Stripe secrets or OpenAI keys.
|
||||
|
||||
## Context And Discovery Discipline
|
||||
|
||||
Context is a finite resource. Repository discovery must be targeted, incremental and evidence-led.
|
||||
|
||||
Start from the implementation point most directly related to the requested change and trace dependencies outward only when evidence requires it.
|
||||
|
||||
Prefer:
|
||||
|
||||
- narrow `rg` searches within likely directories or files;
|
||||
- specific symbols, methods, routes, stored procedures or view names;
|
||||
- targeted line ranges instead of reading entire large files;
|
||||
- one or a small number of directly relevant files at a time;
|
||||
- existing focused documentation when it answers a question more cheaply than rediscovering the architecture from source;
|
||||
- inspecting callers or dependencies only when relevant to the requested behaviour.
|
||||
|
||||
Avoid:
|
||||
|
||||
- broad repository-wide searches merely to build general context;
|
||||
- searching application code, tests and all documentation trees simultaneously unless genuinely necessary;
|
||||
- very large result limits such as hundreds or thousands of search matches;
|
||||
- reading many large files in parallel;
|
||||
- reading entire controllers, services, repositories or SQL files when only a method or section is relevant;
|
||||
- speculative investigation of adjacent systems;
|
||||
- repeatedly rereading material already available in the current context;
|
||||
- loading detailed operational documentation unless the task actually needs it.
|
||||
|
||||
Do not attempt to understand the whole application before making a local change.
|
||||
|
||||
For broad tasks, identify the primary implementation path first. Expand discovery in stages and only where the previous stage demonstrates that more context is required.
|
||||
|
||||
Parallel tool calls are useful for latency but must not be used to load large amounts of speculative context simultaneously.
|
||||
|
||||
## Build And Test
|
||||
|
||||
Normal build gate:
|
||||
|
||||
dotnet build PlotLine.slnx
|
||||
|
||||
Full regression harness:
|
||||
|
||||
dotnet run --project PlotLine.Tests/PlotLine.Tests.csproj
|
||||
|
||||
`PlotLine.Tests` is an executable regression harness, not a conventional test SDK project. `dotnet test` is not the normal test gate.
|
||||
|
||||
Run build and tests serially. Parallel execution can cause static web asset cache locking.
|
||||
|
||||
Use verification proportionate to the change. Do not run unrelated specialist test suites merely for completeness.
|
||||
|
||||
Detailed specialist testing instructions are in `Docs/Codex/Testing.md`.
|
||||
|
||||
## Database Work
|
||||
|
||||
For tasks requiring database inspection, schema changes, migrations or direct development-database access, read `Docs/Codex/Database.md`.
|
||||
|
||||
Do not load that guide for tasks that do not require database work.
|
||||
|
||||
Essential rules that always apply:
|
||||
|
||||
- The development database is `PlotDirector_Development`.
|
||||
- Never assume the database named in appsettings is the effective development database.
|
||||
- Never restore, reset or overwrite the development database unless explicitly requested and the target has been verified.
|
||||
- Do not modify database state during a read-only investigation.
|
||||
- Do not apply SQL during a read-only audit.
|
||||
|
||||
## Deployment
|
||||
|
||||
For tasks that actually require deployment or detailed development-service operations, read `Docs/Codex/Deployment.md`.
|
||||
|
||||
Do not load deployment procedures during ordinary implementation or investigation unless deployment is part of the requested task.
|
||||
|
||||
## Story Intelligence
|
||||
|
||||
For Story Intelligence work, use the existing authoritative documentation:
|
||||
|
||||
- `docs/story-intelligence/single-system-runtime.md`
|
||||
- `Docs/StoryIntelligence_ExceptionReview.md`
|
||||
|
||||
Read these only when the task concerns Story Intelligence or behaviour governed by those contracts.
|
||||
|
||||
Core invariant: manuscript-specific examples may be used in regression fixtures, but production behaviour must remain generic.
|
||||
|
||||
## Operational Safety
|
||||
|
||||
- Avoid destructive Git commands such as `git reset --hard` or `git checkout --` unless explicitly requested.
|
||||
- Inspect the worktree before editing and preserve unrelated changes.
|
||||
- Do not deploy while an import or Story Intelligence analysis is active unless interruption has explicitly been accepted.
|
||||
- Production changes require explicit production authorisation.
|
||||
- Prefer reversible, narrowly scoped actions.
|
||||
48
Docs/ApplicationTheme/Deployment.md
Normal file
@ -0,0 +1,48 @@
|
||||
# Development deployment and live inspection
|
||||
|
||||
Runtime: **`cf1dc11`**. Initial theme implementation: `2d78d65`. Baseline: `ccdae5d`.
|
||||
|
||||
- Release: `/srv/apps/plotdirector-dev/releases/cf1dc11-20261102T092715Z`.
|
||||
- Previous application: `/srv/apps/plotdirector-dev/current-before-cf1dc11-20261102T092715Z`.
|
||||
- Published and deployed DLL SHA-256: `0cd0e1af77c2cb64c806406bae11aae98b0b821a31a8c71275b87f73a5533a8b`.
|
||||
- Pre-stop Development query found no active/queued imports, Story Intelligence, synthesis or enrichment work. Service active; local/public TLS GETs 200; no warning/error journal entries during verification.
|
||||
|
||||
Forward-only migration `207_PlotDirectorApplicationTheme.sql` applied only to verified `PlotDirector_Development`. Backup with COPY_ONLY/CHECKSUM verified before migration: `/var/opt/mssql/backup/PlotDirector_Development_solver_20261102_091731_a78d29963e5747acafe11f2aaf8f90a1.bak`, 228,749,312 bytes. This was not a restore test. The migration only expands the allowed theme keys; it does not update stored preferences.
|
||||
|
||||
## Real Development verification
|
||||
|
||||
A separate temporary test identity owned the project/book/chapter, six scenes, two characters, two plot lines with shared-scene contributions, a relationship and eleven varying metric series. This was actual persisted Development data, provisioned through normal UI/stored procedures after backup, isolated from existing authors. No import/AI analysis or manuscript upload was needed.
|
||||
|
||||
All pages returned 200 with the house theme in both normal web and a genuinely installed Chromium PWA, at 1440px and 390px:
|
||||
|
||||
| Page/workspace | Route |
|
||||
| --- | --- |
|
||||
| Application home | `/Projects` |
|
||||
| Series dashboard | `/Projects/Details/{projectId}` |
|
||||
| Chapters | `/Books/Details/{bookId}` |
|
||||
| Edit Scene | `/Scenes/Edit/{sceneId}` |
|
||||
| Timeline | `/Timeline?projectId=…&bookId=…` |
|
||||
| Plot Lines Focus | `/PlotLineWorkspace?…&plotLineId=…` |
|
||||
| Plot Lines Weave | `/PlotLineWorkspace?…&plotLineId=…&plotLineId=…` |
|
||||
| Relationships | `/RelationshipMap?projectId=…` |
|
||||
| Story Flow / scene metric shape | Existing `/Analytics?projectId=…&bookId=…` Story Health metric view |
|
||||
| Normal form | `/Projects/Edit/{projectId}` |
|
||||
|
||||
Live screenshots inspected for dense panes, selected states, readable event/character labels, relationship canvas/strips/Details/scrubber, chart series and controls, and the six Scene areas. PWA Scene commands were exercised through their existing ribbon bindings; the original page controls correctly remain hidden. Right-click chapter context menu and Customise PlotDirector modal were opened and inspected after animation settled. No PWA layout/command behaviour was changed.
|
||||
|
||||
New account with NULL preference rendered PlotDirector on its first authenticated visit and persisted it through the existing migration workflow. Selecting Modern Dark, reloading, then selecting PlotDirector exercised actual server preference persistence without overriding another user.
|
||||
|
||||
Public isolation tested with three cached application themes (PlotDirector, Modern Dark, Baby Blue): home, Features, solver entry/result and ordinary web login all retained the public theme without `data-app-theme`. Public home/solver also stayed public in the installed window. Installed PWA login adopted PlotDirector as expected.
|
||||
|
||||
The final analytical surface correction removed literal white from the filter/analytics panels and themed native range controls; the complete live suite passed again after deployment. Internal screenshots remain in `/tmp/house-theme-live-*.png`; they were not added to public screenshot assets or solver placeholders.
|
||||
|
||||
## Regression evidence
|
||||
|
||||
- Normal solution build: passed; 392 full-harness checks passed.
|
||||
- Existing application toolbar, Timeline metric geometry/interaction, narrative map, relationship workspace, PWA metadata/service worker and installed desktop suites passed.
|
||||
- Installed fixture suite covered 20 real Razor pages and all seven themes at 2560/1440/900, including first-paint stability and menus. House palette coverage also included 768px tablet.
|
||||
- Browser-measured token contrast: text >=10.45:1; muted text >=4.59:1; primary button >=11.55:1; focus >=5.77:1; input boundary 3.24:1; status badge foreground >=5.69:1; all data colours >=4.0988:1 across workspace/nested/surface backgrounds.
|
||||
|
||||
Existing application theme identifiers, explicit preferences and legacy light/dark migration remain intact. No public redesign, solver changes, final marketing assets or Production deployment occurred.
|
||||
|
||||
Temporary identity, its fixture data and private credentials were removed successfully through the normal authenticated account-deletion workflow after verification. Existing author data was untouched.
|
||||
81
Docs/ApplicationTheme/PlotDirector.md
Normal file
@ -0,0 +1,81 @@
|
||||
# PlotDirector house application theme
|
||||
|
||||
Baseline: `ccdae5d`. Development only.
|
||||
|
||||
Uses the existing `ApplicationAppearance` registry, `data-app-theme` semantic CSS tokens, normal authenticated appearance POST, Dapper repository and `UserAppearance_SaveTheme`. The selector now has seven themes; existing six keys/names/palettes remain intact. Forward-only migration 207 adds the new key to SQL validation and does not update user rows.
|
||||
|
||||
## Palette
|
||||
|
||||
| Token | Value |
|
||||
| --- | --- |
|
||||
| `--pd-workspace` | `#f8f1e6` |
|
||||
| `--pd-surface` | `#fffaf2` |
|
||||
| `--pd-surface-2` | `#f1e8da` |
|
||||
| `--pd-elevated` | `#fffcf7` |
|
||||
| `--pd-chrome` | `#eee3d3` |
|
||||
| `--pd-chrome-secondary` | `#f8f1e6` |
|
||||
| `--pd-border` | `#9a897a` |
|
||||
| `--pd-border-subtle` | `#ddd0bf` |
|
||||
| `--pd-text` | `#332b29` |
|
||||
| `--pd-muted` | `#6c6059` |
|
||||
| `--pd-heading` | `#48243c` |
|
||||
| `--pd-accent` | `#59243f` |
|
||||
| `--pd-accent-hover` | `#40192e` |
|
||||
| `--pd-selected` | `#eadce5` |
|
||||
| `--pd-hover` | `#f0e6e9` |
|
||||
| `--pd-focus` | `#75445f` |
|
||||
| `--pd-on-accent` | `#fffaf2` |
|
||||
| `--pd-danger` | `#a33040` |
|
||||
| `--pd-warning` | `#805d19` |
|
||||
| `--pd-success` | `#4e6844` |
|
||||
| `--pd-info` | `#326a87` |
|
||||
| `--pd-icon-books` | `#356b9b` |
|
||||
| `--pd-icon-planning` | `#386f6a` |
|
||||
| `--pd-icon-calendar` | `#965537` |
|
||||
| `--pd-icon-characters` | `#735594` |
|
||||
| `--pd-icon-locations` | `#4e7046` |
|
||||
| `--pd-icon-relationships` | `#99466d` |
|
||||
| `--pd-icon-review` | `#805d19` |
|
||||
| `--pd-data-1` | `#59243f` |
|
||||
| `--pd-data-2` | `#356b9b` |
|
||||
| `--pd-data-3` | `#4e7046` |
|
||||
| `--pd-data-4` | `#966020` |
|
||||
| `--pd-data-5` | `#735594` |
|
||||
| `--pd-data-6` | `#287b7d` |
|
||||
| `--pd-data-7` | `#a63d50` |
|
||||
| `--pd-data-8` | `#596579` |
|
||||
| `--pd-data-9` | `#955735` |
|
||||
| `--pd-data-10` | `#876b25` |
|
||||
| `--pd-data-11` | `#7c4279` |
|
||||
| `--pd-shadow` | `0 3px 12px rgb(61 36 29 / 6%)` |
|
||||
|
||||
The standard canvas/section/nested/card/control/chip/event and disabled-text aliases inherit the new palette through the existing bridge. Bootstrap primitives receive house-scoped tokens/styles for panels, modals/confirmation, menus, fields, tables, alerts/toasts, badges, tabs, buttons/groups, hover, focus and disabled states. Existing ribbon/navigation/context menu, resizable relationship panes, scene editor and plot map already use semantic tokens. No workspace layout was changed.
|
||||
|
||||
## Typography and visualisation
|
||||
|
||||
Typography remains structurally unchanged: dense UI uses the existing application sans-serif; existing low-density editorial headings retain their styling. No new serif overrides were introduced. UI fonts remain Segoe UI/system sans-serif. The 11 `pd-data-*` colours form the coordinated analytical palette. Story Health/Timeline metric charts consume those tokens, including on live theme changes; axis and chapter labels now use theme text/grid tokens rather than fixed low-contrast literals. Legends/toggles retain named metrics, point markers, and visibility controls. Existing author-chosen plot-line/entity colours are preserved so visual identity and meaning do not change on switching themes. The house theme does not recolour manuscript data.
|
||||
|
||||
## Preference and public isolation
|
||||
|
||||
New/no-preference accounts use `plotdirector`, persisted by the existing OnlyIfUnset workflow. Explicit stored choices always win. Legacy explicit light/dark device preferences still migrate to warm-light/warm-dark; no bulk user update, renamed theme, or forced switch occurs. Anonymous installed login recognises the new key, retaining the cached choice. Ordinary public pages and ordinary web login continue using `data-site-theme=public`, independent of application selection; only installed authentication may adopt application tokens.
|
||||
|
||||
Select the theme: sign into Development, open the account/name menu at the top right, then under **Theme** choose **PlotDirector**. It saves automatically. The same preference applies in the installed PWA.
|
||||
|
||||
## Verification
|
||||
|
||||
- Build passed (two existing nullable warnings); full executable harness: 392 PASS.
|
||||
- Existing toolbar persistence/keyboard/mobile tests passed.
|
||||
- Focus/Weave narrative map tests passed with the house theme added.
|
||||
- Relationship workspace test passed with the house theme added (75 characters/300 scenes, selection, drag/drop, search, responsive and PWA).
|
||||
- Actual installed PWA suite passed: 20 Razor pages, all seven themes at 2560/1440/900, first-paint layout stability, one ribbon row, context menus and keyboard behaviour.
|
||||
- PWA metadata/service-worker tests passed including the house chrome colour.
|
||||
- Metric browser geometry/interaction suite passed after token-based series and label changes.
|
||||
- House palette tests passed on dashboard, Timeline and Relationships at 390/768/1440.
|
||||
|
||||
Contrast: primary text 10.45–13.51:1 and muted text 4.59–5.94:1 on six principal surfaces; primary button 11.55:1 (hover 14.47:1); control boundary 3.24:1; focus indicator 5.77–7.35:1; status badges >=5.69:1; all 11 chart series >=4.09:1 against surface, nested and workspace backgrounds. Soft decorative separators are intentionally lighter; colour is not the only state cue. Disabled text is a darker mix of muted/body tokens and retained at full opacity in the house controls.
|
||||
|
||||
## Bounded legacy audit
|
||||
|
||||
Corrected the metric-chart hard-coded chapter/axis label styling, fixed per-series palette, analytical/filter panels using literal white, and native range accent as part of this theme. Existing authored plot-line colours and relationship type/state colours remain intentional data encodings, not brand overrides. Older illustration/import/review surfaces retain some page-level decorative colours and gradients in plotline-theme.css/site.css; this task does not rewrite those large legacy stylesheets. Their shared controls now consume house primitives. A future audit may standardise those decorative treatments; do not blanket-recolour user-authored data or replace all historical literals.
|
||||
|
||||
Deployment and real Development verification are recorded in Deployment.md.
|
||||
86
Docs/Codex/Database.md
Normal file
@ -0,0 +1,86 @@
|
||||
# PlotDirector Database Operations
|
||||
|
||||
Read this document only when the current task requires database inspection, SQL migration, schema work or direct development-database access.
|
||||
|
||||
## Environment
|
||||
|
||||
- Development database: `PlotDirector_Development`.
|
||||
- Runtime connection details: `/etc/plotdirector/plotdirector.env`, key `ConnectionStrings__DefaultConnection`.
|
||||
- SQL Server container: `atlas-sql-server`.
|
||||
- Host endpoint: `192.168.10.10,1433`.
|
||||
- `/sql/mssql` on the host maps to `/var/opt/mssql` in the container.
|
||||
- Host `sqlcmd` is not installed.
|
||||
- Container sqlcmd: `/opt/mssql-tools18/bin/sqlcmd`.
|
||||
- Production is separate: host `www`, `192.168.10.8`, database `PlotLine`. Development authorisation does not authorise production changes.
|
||||
|
||||
Never print, copy or commit connection strings, passwords, API keys, SMTP secrets, Stripe secrets or OpenAI keys.
|
||||
|
||||
## Connecting Safely
|
||||
|
||||
Read the environment file in a privileged helper if necessary. Parse `ConnectionStrings__DefaultConnection` as data; never shell-evaluate it.
|
||||
|
||||
Do not `source /etc/plotdirector/plotdirector.env`. Values containing spaces or special characters can break shell parsing.
|
||||
|
||||
A small .NET runner using `Microsoft.Data.SqlClient` and `SqlConnectionStringBuilder` may consume the configured connection string safely.
|
||||
|
||||
When using sqlcmd:
|
||||
|
||||
- parse connection fields with `SqlConnectionStringBuilder`;
|
||||
- pass the password via `SQLCMDPASSWORD`, not `-P`;
|
||||
- explicitly select `-d PlotDirector_Development`;
|
||||
- use `-C -I -b -V 16`;
|
||||
- forward credentials through the process environment, not command arguments;
|
||||
- use `-i` for SQL files or `docker exec -i` for stdin.
|
||||
|
||||
Host paths are not automatically visible inside the SQL Server container.
|
||||
|
||||
Before database work verify `SELECT DB_NAME()` reports `PlotDirector_Development`.
|
||||
|
||||
## Application Database Rules
|
||||
|
||||
- Use stored procedures for application database access.
|
||||
- Do not add inline SQL in application code.
|
||||
- Do not introduce Entity Framework migrations.
|
||||
- Existing numbered SQL scripts are immutable.
|
||||
- Repair live schema issues with a new forward-only migration.
|
||||
- Design deletion behaviour deliberately for new tables referencing projects, books, chapters, scenes, characters, candidates or runs.
|
||||
|
||||
## Migration Procedure
|
||||
|
||||
New scripts live under `PlotLine/Sql/`.
|
||||
|
||||
Before choosing a migration number, inspect current scripts and select the next appropriate prefix. Historical duplicate prefixes exist, so do not assume numbering without checking.
|
||||
|
||||
Scripts should be idempotent where practical:
|
||||
|
||||
- guard table, column and index creation;
|
||||
- use `CREATE OR ALTER PROCEDURE`.
|
||||
|
||||
Migrations are manual SQL. Do not blindly replay the entire SQL directory, `Admin/`, or `Stripe_Price_IDs_Prod.sql`.
|
||||
|
||||
Before schema or data changes:
|
||||
|
||||
1. Verify the development database.
|
||||
2. Back up development using a unique SQL Server backup filename.
|
||||
3. Verify the backup command succeeded and the backup exists.
|
||||
4. Apply only required scripts in dependency order.
|
||||
|
||||
Apply scripts separately with `SET ANSI_NULLS ON` and `SET QUOTED_IDENTIFIER ON`.
|
||||
|
||||
`GO` is a sqlcmd batch separator, not executable SqlClient SQL. A custom runner must split batches appropriately.
|
||||
|
||||
Stop on the first migration error. Record the failed script and do not deploy dependent code. Earlier successful batches may already have persisted.
|
||||
|
||||
After migration, run a focused smoke query confirming required tables, columns and procedures exist, and verify `DB_NAME()` again.
|
||||
|
||||
A successful backup is not itself a restore test. Restore testing must use a disposable verification database.
|
||||
|
||||
Never restore, reset or overwrite `PlotDirector_Development` unless explicitly requested and the target backup has been verified.
|
||||
|
||||
## Specialist Database Regression Tests
|
||||
|
||||
Database regressions are under `PlotLine.Tests/Sql/`.
|
||||
|
||||
They run separately from the normal regression harness. Read the individual regression script before executing it because migration, fixture and rollback requirements differ.
|
||||
|
||||
Never run development database regression scripts against production.
|
||||
93
Docs/Codex/Deployment.md
Normal file
@ -0,0 +1,93 @@
|
||||
# PlotDirector Development Deployment
|
||||
|
||||
Read this document only when deployment or detailed development-service operation is part of the task.
|
||||
|
||||
## Environment
|
||||
|
||||
- Development host: Atlas.
|
||||
- Repository: `/srv/repos/PlotDirector`.
|
||||
- Development files: `/srv/apps/plotdirector-dev/current`.
|
||||
- Release archive: `/srv/apps/plotdirector-dev/releases/`.
|
||||
- Service: `plotdirector-dev`.
|
||||
- Service user: `plotdirector:plotdirector`.
|
||||
- Environment file: `/etc/plotdirector/plotdirector.env`.
|
||||
- Persistent uploads: `/srv/apps/plotdirector-dev/uploads`.
|
||||
- Default deployed data-protection keys: `/srv/apps/plotdirector-dev/App_Data/DataProtectionKeys`.
|
||||
- Local endpoint: `http://127.0.0.1:5050`.
|
||||
- Public development endpoint: `https://dev.plotdirector.com/`.
|
||||
|
||||
`current` is a physical directory, not a symlink.
|
||||
|
||||
Use `sudo -n` for protected service/configuration paths where appropriate.
|
||||
|
||||
## Before Deployment
|
||||
|
||||
Confirm the intended commit:
|
||||
|
||||
git status --short --branch
|
||||
git log -1 --oneline
|
||||
|
||||
If the change involves database migration, apply and verify required SQL before deploying dependent code.
|
||||
|
||||
Before stopping the service, confirm there is no active import, Story Intelligence run, synthesis or character enrichment work. Check queued and processing work as well as core imports.
|
||||
|
||||
Do not deploy while such work is active unless interruption has explicitly been accepted.
|
||||
|
||||
## Publish
|
||||
|
||||
Use a fresh temporary publish directory. Set fail-fast shell behaviour and derive a release name from the short commit SHA and UTC timestamp.
|
||||
|
||||
Publish with:
|
||||
|
||||
dotnet publish PlotLine/PlotLine.csproj -c Release -o "$publish_dir"
|
||||
|
||||
The standard paths are:
|
||||
|
||||
release_dir="/srv/apps/plotdirector-dev/releases/$release"
|
||||
backup_dir="/srv/apps/plotdirector-dev/current-before-$release"
|
||||
|
||||
## Install
|
||||
|
||||
Copy the fresh publish into the release archive and ensure ownership is `plotdirector:plotdirector`.
|
||||
|
||||
Stop `plotdirector-dev` before replacing the physical live directory.
|
||||
|
||||
Back up the existing `current` directory to the timestamped `current-before` path.
|
||||
|
||||
Use `rsync -a --delete` from the release directory into `current`, preserving:
|
||||
|
||||
- `appsettings*.json`
|
||||
- `.env*`
|
||||
- `App_Data/`
|
||||
- `wwwroot/uploads/`
|
||||
- `uploads/`
|
||||
- `logs/`
|
||||
- `Logs/`
|
||||
|
||||
Restore `plotdirector:plotdirector` ownership and start `plotdirector-dev`.
|
||||
|
||||
If installation or startup fails, stop and diagnose. Do not continue blindly or claim successful deployment.
|
||||
|
||||
An application rollback does not undo SQL migrations and must remain compatible with the migrated schema.
|
||||
|
||||
## Verification
|
||||
|
||||
Verify:
|
||||
|
||||
- `systemctl is-active plotdirector-dev`
|
||||
- service status and recent warning/error logs;
|
||||
- local GET to `http://127.0.0.1:5050/`;
|
||||
- public HTTPS GET to `https://dev.plotdirector.com/`;
|
||||
- deployed `PlotLine.dll` metadata;
|
||||
- SHA-256 of published and deployed `PlotLine.dll`;
|
||||
- the changed authenticated route when applicable.
|
||||
|
||||
Timestamps alone do not prove the intended build is running.
|
||||
|
||||
Use a real GET for public smoke testing. HEAD may return 405.
|
||||
|
||||
Normal verification must validate TLS. Use `-k` only for certificate diagnosis.
|
||||
|
||||
Review configuration changes separately because deployment preserves deployed appsettings files.
|
||||
|
||||
Keep the release directory and `current-before` backup named with the deployed short SHA and UTC timestamp for traceability.
|
||||
40
Docs/Codex/EditSceneWorkspace.md
Normal file
@ -0,0 +1,40 @@
|
||||
# Edit Scene workspace
|
||||
|
||||
Edit Scene uses one instance of the six existing SceneInspectorV2 cards and one existing editor host. The Timeline inspector retains its existing presentation. Specialist cards become full workspaces: preview limits are removed, Story adds event/dependency detail, World adds asset/custody/location detail, and existing dropdown editor commands become a visible command row. Overview remains the six-area dashboard; its cards and Open buttons enter the relevant specialist area. Scene details remain editable directly from Overview.
|
||||
|
||||
## Capability inventory
|
||||
|
||||
| Area | Existing editors and actions preserved |
|
||||
| --- | --- |
|
||||
| Overview | Scene details, synopsis, position, POV, timing, revision status, text balance |
|
||||
| Story | Purpose/outcome, metrics, thread events, dependencies |
|
||||
| People | Characters/roles/POV, attributes, suggestions, knowledge, relationships |
|
||||
| World | Locations, assets, custody command and summary records |
|
||||
| Writer | Notes, checklist, workflow, attachments and attachment links |
|
||||
| Continuity | Warning review, revalidation, existing dismissal/review actions |
|
||||
| Page commands | Scene brief, Markdown export, writing-session preparation, archive |
|
||||
|
||||
The separate Custody editor command was already a placeholder without an endpoint. It remains a placeholder; this redesign does not implement missing business functionality. Existing asset/location editors and visible custody records are retained.
|
||||
|
||||
## Shared state and shell integration
|
||||
|
||||
`data-scene-workspace` opts the Edit Scene page into the workspace behavior in `scene-inspector-v2.js`. The `sceneArea` query parameter is the selected area; absent or invalid values display Overview. Selection uses History API navigation; popstate and refresh restore the area. Each area's canvas scroll position is retained while switching in the page. Existing AJAX saves replace their usual card fragments, then reapply the current area and restore canvas scroll. The identity strip refreshes from the returned Overview fragment.
|
||||
|
||||
The browser rail declares a normal `data-pwa-context="Edit Scene"` contribution, with six buttons. The existing page-context ribbon binds to those same buttons in installed mode. The shared binding copies pressed/current/selected state, and respects a contribution's declared priority when fitting groups. There is no second PWA state implementation or PWA-only editor.
|
||||
|
||||
Opening an inspector changes the workbench's available width, not its content topology. Overview retains three columns and two rows within the desktop workbench, with independently scrolling long summary cards (horizontal canvas scrolling when necessary); specialist areas retain a single column. The existing draggable editor separator is reused, with keyboard arrow resizing added on this page. Closing removes the entire editor column. Below 900px the inspector covers the workbench, with an independent scrolling editor body; the underlying canvas keeps its geometry and scroll position. Theme tokens style all new surfaces.
|
||||
|
||||
## Verification
|
||||
|
||||
Run the normal build and executable regression harness serially. For focused browser coverage:
|
||||
|
||||
```sh
|
||||
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- --toolbar-browser-host
|
||||
# In a second terminal:
|
||||
cd PlotLine.Tests/Browser
|
||||
npm run test:scene-workspace
|
||||
```
|
||||
|
||||
The suite renders the real Razor page and editor fragments in the isolated host. It tests a normal browser and a Chromium-installed PWA, history/refresh, six cards and areas, stable grid topology, width recovery/resizing, Story and Relationships AJAX workflows, validation and cancel, editor accessibility, all migrated editor modes, continuity, all six themes and responsive widths. Fixture AJAX writes are intercepted; tests do not alter a live manuscript.
|
||||
|
||||
For visual inspection only, the isolated host accepts `PD_SCENE_VISUAL_FIXTURE` pointing to a private, locally exported `SceneEditViewModel` JSON file. The host reads that snapshot and never connects to a database. Do not commit manuscript snapshots or credentials. The deterministic test suite uses its default fixture without this environment variable.
|
||||
41
Docs/Codex/PublicWebsite.md
Normal file
@ -0,0 +1,41 @@
|
||||
# Public website
|
||||
|
||||
The public website uses `Views/Shared/_PublicLayout.cshtml` and the scoped `wwwroot/css/public-site.css`. `Views/_ViewStart.cshtml` selects it for Home/Index, Public, Help, Account and Pricing/Index. Application and checkout/result pages retain their existing layout.
|
||||
|
||||
Public pages always use the paper/ink palette, including in installed windows and for signed-in users. They do not load application navigation or apply appearance preferences. Normal-browser authentication uses this same public design. Installed authentication uses `public-auth-theme.js`, the existing display-mode detector, and the application palette: signed-in account preference first, then the last device preference, then the legacy light/dark preference, then warm light. The Word Companion's separate login presentation is preserved.
|
||||
|
||||
`plotdirector.applicationTheme` stores only a non-sensitive theme identifier. The application shell updates it as the author changes theme; no authentication or subscription state is cached there.
|
||||
|
||||
## Editorial art direction
|
||||
|
||||
`wwwroot/css/public-art-direction.css` adds the Home/Tour compositions on top of the shared public system. The busy sections use layered paper, scattered questions and CSS crops of the genuine application captures. Keep the original single-view treatment and generous spacing in “I just want to write”, the philosophy section and the final call to action. The dark green application reveal and Tour plot-lines stop provide the product crescendo; their colours are local to those sections.
|
||||
|
||||
The UI fragments are crops of the existing fictional screenshots, not invented product components. Keep a full-size image link with each product composition, and check the overlapping layers at phone and tablet widths before changing their positions.
|
||||
|
||||
## Browser checks and product images
|
||||
|
||||
From the repository root, after building:
|
||||
|
||||
```sh
|
||||
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- --toolbar-browser-host
|
||||
```
|
||||
|
||||
In a second terminal:
|
||||
|
||||
```sh
|
||||
node PlotLine.Tests/Browser/public-site.cjs
|
||||
node PlotLine.Tests/Browser/public-site-capture.cjs
|
||||
node PlotLine.Tests/Browser/public-social-image.cjs
|
||||
```
|
||||
|
||||
These commands use the existing Playwright dependency in `PlotLine.Tests/Browser`. The host is loopback-only and uses in-memory fixtures. It never connects to a database, starts background analysis, creates real accounts or calls Stripe. Test-only public prices are illustrative; production pricing still comes from the original Pricing controller/model.
|
||||
|
||||
The ten JPEG files in `wwwroot/images/public` are captures of real compiled application Razor views in standalone presentation, using fictional demonstration data. The plot map uses `PublicWebsiteFixtures.PlotMap()`: eight scenes and three populated plot lines. The remaining captures use the existing toolbar/scene fixture host. Do not substitute live manuscript exports or user accounts when refreshing these public assets. The homepage manuscript fragment is an HTML illustration, not a purported screenshot.
|
||||
|
||||
The capture script uses actual application controls and actual focused-editor Razor fragments. It does not redraw UI. The small editor requests are served by the isolated fixture host. Marketing screenshot links open the full-size image for inspection.
|
||||
|
||||
The guided manuscript import currently uses the Microsoft Word Companion. The scene workspace supplies notes, planning and drafting support; marketing must not imply a standalone prose editor or that PlotDirector writes the author's book.
|
||||
|
||||
The social-image script renders the PlotDirector editorial identity into `wwwroot/images/public/plotdirector-social.png` and the legacy `wwwroot/og-image.png` (1200 × 630). The new default URL avoids reusing cached previews of the old branding. It replaces the legacy image whose baked-in text used the incorrect product name. Product branding must always be PlotDirector.
|
||||
|
||||
No development-service or production deployment is part of these commands.
|
||||
52
Docs/Codex/Testing.md
Normal file
@ -0,0 +1,52 @@
|
||||
# PlotDirector Specialist Testing
|
||||
|
||||
Read this document when the change requires specialist testing beyond the normal build and regression harness.
|
||||
|
||||
## Normal Gates
|
||||
|
||||
From the repository root:
|
||||
|
||||
dotnet build PlotLine.slnx
|
||||
dotnet run --project PlotLine.Tests/PlotLine.Tests.csproj
|
||||
|
||||
`PlotLine.Tests` is an executable regression harness. `dotnet test` is not the normal test gate.
|
||||
|
||||
Build and regression execution should be serial. Parallel execution can cause static web asset cache locking.
|
||||
|
||||
## Browser Tests
|
||||
|
||||
Browser tests are under `PlotLine.Tests/Browser`.
|
||||
|
||||
When relevant:
|
||||
|
||||
npm ci
|
||||
npx playwright install chromium
|
||||
npm test
|
||||
npm run test:locations
|
||||
npm run test:characters
|
||||
|
||||
`CHROMIUM_PATH` can select an existing Chromium installation.
|
||||
|
||||
These tests use isolated fixtures rather than the live application/database.
|
||||
|
||||
Run only suites relevant to the changed behaviour unless a full browser regression has specifically been requested.
|
||||
|
||||
## Database Regression Tests
|
||||
|
||||
Database regression scripts are under `PlotLine.Tests/Sql/`.
|
||||
|
||||
These are separate from the normal application regression harness. Read the individual script before execution for migration, fixture and rollback prerequisites.
|
||||
|
||||
Never run development regression scripts against production.
|
||||
|
||||
## Word Companion
|
||||
|
||||
For changes affecting `PlotDirector.WordCompanion`, use its npm workflow:
|
||||
|
||||
npm install
|
||||
npm run build
|
||||
npm run validate
|
||||
|
||||
This generates and validates the manifest for the application-hosted `/word-companion` route.
|
||||
|
||||
Do not run Word Companion validation for unrelated application changes merely for completeness.
|
||||
140
Docs/Database/SQL-Launch-Readiness-Completion-20261119.md
Normal file
@ -0,0 +1,140 @@
|
||||
# SQL performance, data access and launch readiness completion — 19 November 2026
|
||||
|
||||
This report supersedes the outstanding-work disposition in [the original audit](SQL-Performance-Audit-20261118.md); the original evidence remains unchanged.
|
||||
|
||||
## Executive summary
|
||||
|
||||
Development is qualified and deployed at implementation commit `78b45d749a3fb71f6f0c18360aeb203f37b6f325`. All eighteen remaining executable inline SQL violations are resolved: the original 33 are now zero, with no exception allowances. Five forward-only migrations (285–289) are installed. The final Development schema contains 199 tables, 749 stored procedures, 446 indexes and 362 trusted foreign keys.
|
||||
|
||||
The measured dominant SQL bottleneck was repeated interval expansion in chapter synchronisation. The 2,048-interval warm median fell from 20,253 to 163 ms on Developer and from 20,255 to 162 ms on actual Express. The legacy Reader's duplicate accepted-book transfer was removed; representative HTTP median fell from 749 to 454 ms. Other page results are mixed and are retained below. Idle polling halves steady-state claim/readiness commands, with an explicitly measured responsiveness trade-off. No permanent index change was justified.
|
||||
|
||||
|Priority|Finding|Evidence and action|Risk/status|
|
||||
|---|---|---|---|
|
||||
|1|Repeated checkpoint JSON interval expansion|Materialise once; approximately 99.2% lower elapsed time at 2,048 intervals on both editions|Implemented; boundary, revision, ownership and locking qualification passed|
|
||||
|2|Legacy Reader fetches accepted book before redirect|Full manuscript reads 2→1; request commands 37→34; HTTP 749→454 ms|Implemented; normal Review projection retained|
|
||||
|3|Eighteen remaining inline SQL operations|13 compound writes, 2 resets, 3 runtime repair operations moved to controlled SQL contracts|Implemented; zero exceptions enforced|
|
||||
|4|Repeated onboarding reads|One fewer command on measured successful GET workflows|Implemented; request/author scoped, invalidated on mutations|
|
||||
|5|Idle worker traffic|40→20 commands per steady 30 seconds|Implemented; observed marker start 2.90→5.83 seconds|
|
||||
|6|Candidate chapter lookup index|32.872→32.868 ms; unchanged reads|Rejected; no demonstrated gain|
|
||||
|7|Whole-book accepted JSON remains large|One necessary full read remains in Review; millions of characters on measured books|Separate architecture decision; no speculative storage migration|
|
||||
|8|Production operational qualification|External backup scheduling, realistic VPS load and physical Word unavailable in this Development assignment|Outstanding launch checks; Production untouched|
|
||||
|
||||
## Scope and recovery boundary
|
||||
|
||||
Implementation stays on the shared `codex/word-companion-native-phase1-20261104` branch, starting from `f1d0a8d`. The running Development DLL initially matched the audited `390c449` SHA-256. The unrelated canonical architecture assessment is untouched. Production was neither accessed nor modified.
|
||||
|
||||
A unique copy-only/checksum Development backup, `/var/opt/mssql/backup/sql-launch-20261119.bak`, passed VERIFYONLY and actual restore into `PlotDirector_SQLLaunch_20261119`. An additional isolated SQL Server 2025 Express container restored that same backup. Existing Development edition, resource configuration, recovery model and data were not changed to simulate Express. Potentially destructive fixtures run only on the named clone.
|
||||
|
||||
## Implementation
|
||||
|
||||
- Opt-in Development-only SqlClient diagnostics correlate MVC requests and worker poll activities without recording query text, parameter values, manuscript text, connection strings or exception messages. Capture is bounded to 30 minutes/50,000 log records, 2,048 outstanding commands and 128 procedure identifiers per request. HTTP trace identifiers allow matching `SQL_REQUEST` and `SQL_COMMAND` JSON in the service journal. No permanent diagnostic UI is added. Driver command timings exclude connection opening and final reader consumption; they are observed SQL Execute API time, not an invented complete database-time attribution. Full-consumption procedure and HTTP timings supplement them.
|
||||
- Migration 285 moves thirteen compound Story Memory, character-profile and illustration operations into named procedures. Existing MERGE/HOLDLOCK, identity, monotonic flags, evidence/version and result semantics are retained. Lookup inputs stay untruncated at the procedure boundary and use guarded bounded locals for exact index seeks. Qualification caught and resolved range-lock deadlocks in an initial MAX-typed-key candidate before deployment; oversized lookup values are explicitly rejected before conversion. Confidence parameters retain .NET decimal fractional precision for valid confidence values; tests include a value near a four-decimal rounding boundary. Illustration supersession retains affected-row reporting.
|
||||
- Migration 286 moves Development reset preparation and verification into procedures. The application retains normal owner-checked hard deletion and cancellation/timeout handling. A service-level Development environment guard now rejects this operation elsewhere.
|
||||
- Migration 287 moves known-character queue repair into the controlled migration path. Its two procedure bodies match the installed/runtime contracts after whitespace normalisation. The existing column is guarded; no queues are reset and the fair claim procedure is unchanged. Request-time schema/procedure repair is removed.
|
||||
- Migration 288 authorises the legacy Reader redirect with a compact metadata-only procedure. Review still authorises and reads the accepted manuscript normally. Heading windows, blank paragraphs, stable IDs and revision fences remain in the existing projection engine; complete-book backup/export contracts are unchanged. This removes one unnecessary full-book transfer before the redirect, rather than substituting an unsafe ChapterID-only projection.
|
||||
- GET-only onboarding reuse is scoped to the repository/request and keyed by author, bounded to eight keys. Repository mutations invalidate reads; POST/background work reads afresh. Nothing is cached globally or across requests.
|
||||
- Migration 289 materialises incoming and eligible checkpoint intervals once inside the existing accepted-manuscript lock and transaction. Grouped start positions and a running maximum preserve the old strict-start overlap predicate. Equivalent outer interval bounds exclude impossible overlaps before the pairwise eligibility check. Session, revision, expiry, request identity, adoption and failure rules remain intact.
|
||||
- Sustained empty intelligence polling backs off from the configured three-second cadence to at most six seconds after eight empty polls. Successful work resets the cadence immediately; errors retain the normal retry delay. Claims, lease ownership, fairness and retry procedures are unchanged.
|
||||
- The Roslyn architecture guard now permits no executable application inline SQL exceptions. The obsolete exception file is removed. SQL scripts, tests and administrative utilities remain excluded; unknown CommandText construction and EF imports/dependencies are also screened.
|
||||
|
||||
## Controlled interval performance
|
||||
|
||||
Six executions per variant and size; first excluded, median of five warm repetitions. Both procedures consume their complete result. Fixtures contain synthetic paragraphs on the cloned schema; no cache flushing or cold-disk claim. These reproduce interval scaling, not a physical Word acceptance session. CPU is SQL Server-reported statement execution/compilation time; reads include temporary/LOB work. The whole procedure remains one business command.
|
||||
|
||||
| Engine | Incoming / eligible rows | Previous elapsed ms | New elapsed ms | Previous / new logical reads |
|
||||
|---|---:|---:|---:|---:|
|
||||
| Developer | 64 / 64 | 42.48 | 16.51 | 521 / 531 |
|
||||
| Developer | 512 / 512 | 1296.92 | 53.94 | 3178 / 3198 |
|
||||
| Developer | 2048 / 2048 | 20253.15 | 162.91 | 10726 / 10775 |
|
||||
| Express | 64 / 64 | 29.33 | 12.00 | 521 / 531 |
|
||||
| Express | 512 / 512 | 1309.13 | 42.96 | 3178 / 3198 |
|
||||
| Express | 2048 / 2048 | 20255.40 | 162.46 | 10726 / 10775 |
|
||||
|
||||
The largest case reduces elapsed time about 99.2%; temporary-table reads add approximately 0.5%. On Developer, reported CPU falls from 20,196 to 140 ms; Express from 20,211 to 133 ms. These are measured procedure gains, not a claim of a 99% improvement in whole synchronisation or every page.
|
||||
|
||||
## Request baseline coverage and limits
|
||||
|
||||
Only one non-archived real project/book is available in the restored data (290 scenes). Thirteen other projects/books are archived. The initial structural samples with 2/48 scenes exercise archived-scope rejection/fallback paths, so they are retained as negative coverage and excluded from successful-page performance claims. They are not presented as representative active small/medium page workloads. Manuscript size also differs from scene count: those sparse archived structures still hold roughly eight million accepted JSON characters. Synthetic small/medium interval and browser fixtures supplement the one available active real workload.
|
||||
|
||||
Authenticated clone requests use the application's real controllers, services, repositories and permission filters with a clone-only test authentication handler. This omits the live cookie security-stamp lookup; both comparison phases use the same handler. Driver timings count command execution and initial result availability, excluding connection opens and remaining reader consumption. This is especially material for large JSON/plot payloads. Full-consumption procedure timings and end-to-end request duration are reported separately. Reader redirects include both HTTP hops. Request logs contain route/controller names and correlation IDs, not author identities, URLs with parameters or prose.
|
||||
|
||||
## Active-project request comparison
|
||||
|
||||
Six requests per route, first excluded; warm medians of five. Both phases use the same restored active project, controller/repository paths and clone authentication. SQL ms is the **sum of driver Execute API durations**, not full reader-consumption time or request-correlated SQL CPU. Parallel commands can make that sum exceed wall time. HTTP CPU/logical reads are unavailable at request granularity; isolated procedure counters are provided separately.
|
||||
|
||||
| Workflow | HTTP ms before → after | Server ms before → after | SQL Execute ms before → after | Commands before → after |
|
||||
|---|---:|---:|---:|---:|
|
||||
| writer-home | 84.10 → 73.04 | 83.11 → 72.22 | 66.16 → 63.55 | 31 → 30 |
|
||||
| writer-write | 72.85 → 77.15 | 72.03 → 76.39 | 62.29 → 65.09 | 31 → 30 |
|
||||
| writer-review | 409.37 → 442.59 | 408.48 → 441.44 | 94.15 → 102.96 | 34 → 33 |
|
||||
| reader | 748.75 → 453.97 | 746.76 → 451.85 | 107.37 → 101.63 | 37 → 34 |
|
||||
| plot | 389.60 → 389.12 | 388.49 → 388.12 | 21.44 → 19.87 | 18 → 17 |
|
||||
| timeline | 297.71 → 244.78 | 294.81 → 239.04 | 137.21 → 78.85 | 33 → 32 |
|
||||
| maps | 37.11 → 35.21 | 36.17 → 34.23 | 23.93 → 21.00 | 17 → 16 |
|
||||
| characters | 32.44 → 29.60 | 31.51 → 28.70 | 18.11 → 17.03 | 14 → 13 |
|
||||
| relationships | 87.36 → 64.78 | 86.52 → 63.96 | 14.55 → 14.18 | 18 → 17 |
|
||||
| project | 36.19 → 33.72 | 35.34 → 32.84 | 24.63 → 24.94 | 19 → 18 |
|
||||
| book | 120.99 → 126.90 | 120.00 → 126.10 | 27.86 → 31.86 | 19 → 18 |
|
||||
|
||||
The legacy Reader path removes a complete accepted-book transfer and deserialisation before its existing Review redirect: `ParagraphManuscript` calls fall from two to one, and onboarding calls from two to one. Its measured HTTP median falls about 39.4%. Direct Review still reads the book once. Other routes save one onboarding command; their timing changes are not attributed solely to that small reduction. Write, Review and book-page increases are retained rather than hidden. A separate warm repeat put Review at 416.44 ms, Write at 80.03 ms and book details at 129.90 ms: there is no blanket page-latency improvement claim.
|
||||
|
||||
Post-only representative reads also cover inline authoring (14 commands; 32.16 ms HTTP), story context (39 commands; 181.80 ms), and Maps Story/plot membership (5 commands; 209.51 ms). These are baseline observations, not before/after gains. Focus and Weave consume the same plot read frame; their browser switching behaviour is tested separately.
|
||||
|
||||
## Idle worker measurements
|
||||
|
||||
A controlled 60-second idle run used the actual four claim/readiness procedures, followed by one queued synthetic marker without AI execution. After backoff settles, commands fell from 40 to 20 per 30 seconds. Across the finite run, commands fell 85→61 and duration changed 63.29→66.06 seconds. Marker detection was 2,897.85→5,828.40 ms. These results demonstrate reduced idle round trips with a bounded polling-delay trade-off; unequal call totals and warm-cache effects do not establish a per-command CPU improvement.
|
||||
|
||||
## Index decision
|
||||
|
||||
The proposed `(BookID, UserID, SessionID, WordRevision, ExpiresUtc) INCLUDE (ChapterID)` index was created only inside a rollback transaction on the clone. Existing checkpoint data was temporarily made eligible to exercise 8,415 expanded intervals. Five warm medians: 32.872 ms without versus 32.868 ms with; both 2,972 logical reads. This does not justify its permanent storage/write cost. The trial index and temporary expiry changes rolled back. No index drop, rebuild, broad statistics update or permanent new index is deployed.
|
||||
|
||||
## SQL Server Express readiness
|
||||
|
||||
The actual isolated instance reports SQL Server 2025 Express 17.0.4006.2 on Ubuntu 24.04, EngineEdition 4. Docker limits it to four CPU equivalents and 3 GiB total memory; this is separate from Express's own buffer-pool limit. SQL exposes eight logical schedulers, so the test does not misrepresent scheduler count as four. The full restored database reports no persisted edition-restricted SKU features. Compatibility 170 and Query Store READ_WRITE work; the migrated interval procedure passes the same integration cases on Express.
|
||||
|
||||
SQL Server 2025 Express supports a 50 GB relational database and the lesser of one socket/four cores, with a 1,410 MB buffer pool. The buffer-pool limit is not a total process-memory allowance. These limits and Linux feature availability are checked against the [Microsoft Linux edition matrix](https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-editions-and-components-2025?view=sql-server-ver17). No Enterprise-only optimisation is introduced.
|
||||
|
||||
Production infrastructure remains outside this assignment's access boundary. Before launch, provision external scheduled backups/maintenance rather than relying on SQL Server Agent; verify full/log backup chains, retention, off-host copies, restore monitoring, free disk and bounded Query Store growth. FULL recovery needs successful recurring log backups; a copy-only audit backup is not evidence that such scheduling exists. Do not change recovery model or SQL memory/parallelism settings solely from the Developer measurements. A modest VPS needs headroom for the OS, web app, SQL process allocations beyond the buffer pool and temporary query work.
|
||||
|
||||
## Qualification and deployment receipts
|
||||
|
||||
The solution build passed with zero warnings/errors. The executable regression harness passed **626 checks**. The strict SQL architecture inventory is empty. The following targeted qualifications also passed:
|
||||
|
||||
- 68 stored-procedure/read mapping and multi-result contract comparisons on the clone.
|
||||
- 172 chapter checkpoint correctness checks on Developer and another 172 on actual Express, including touching/overlapping boundaries, expired records, competing sessions, stale revisions, empty/missing/duplicate/unknown intervals and unchanged stored identities.
|
||||
- Thirteen legacy/new compound write pairs, repeated calls, precision boundaries, overlong-key rejection, owned reset deletion and collaborator isolation; both Developer and Express passed.
|
||||
- Twenty bursts of eight concurrent writers for each legacy/candidate variant: 160 writes each, zero deadlocks, one identity and correct version progression. Earlier MAX-key deadlocks were reproduced, diagnosed and fixed before release. Existing accepted-book locking, contender blocking, stale rejection after release, cancellation and eight-way single-winner claims passed.
|
||||
- Thirteen browser suite runs, including Writer, Reader, Plot, Timeline, Maps, Relationships and Word Companion JavaScript. The previously failing Word-follow fixture passed three repeated runs across browser/PWA/embedded combinations, four themes and three widths. Its native presence packet race was fixed in the fixture; no timeout increase or disabled test. Reader fixtures were updated to current Review selectors and realistic menu closure. Product UI/JavaScript baselines were unchanged by those fixture repairs.
|
||||
- Authenticated deployed Development smoke passed at 1666px browser and 1100px PWA widths: Writer, Plot, Reader/Review, book, Maps and the legacy redirect. Twelve main responses correlated with SQL request records; accepted synthetic prose hashes matched across modes, with zero browser page errors. Screenshots are retained in the evidence directory.
|
||||
|
||||
The bounded deployed journal capture contained zero SQL driver error outcomes and no failure/critical entries. Its three warnings were one HTTPS-port discovery warning behind the TLS proxy and two expected antiforgery no-cache header overrides; public HTTPS passed.
|
||||
|
||||
No required automated check remains failing. Physical Windows/Word testing was **not performed**; simulated native/browser, procedure and synchronization contract tests do not constitute physical Word acceptance. Representative active small/medium projects were unavailable; archived shapes and synthetic intervals are explicitly distinguished from successful real-page benchmarks.
|
||||
|
||||
### Installed release and recovery
|
||||
|
||||
Implementation/source commit: `78b45d749a3fb71f6f0c18360aeb203f37b6f325`, pushed on the existing shared branch. Development release: `78b45d7-20261119T213741Z`, installed 2026-11-19 21:37 UTC. DLL informational version: `1.0.0+78b45d749a3fb71f6f0c18360aeb203f37b6f325`; published/deployed DLL SHA-256: `2fe1d0300b22d9c331fc4669361b43f8181a6fed6763c66f76d6d0a11b71e0e2`. Final documentation/browser-smoke source changes do not alter deployed application code.
|
||||
|
||||
Migrations were applied in order after explicit Development target, state/dependency and idle-work checks, with bounded lock waits. Seventeen required procedure EXEC permissions were verified using the configured Development application principal. Actual Express tests used its isolated administrator, so they do not claim Express application-principal deployment qualification. Service active; local HTTP and public HTTPS GET 200, with normal TLS validation.
|
||||
|
||||
The previous application remains at `/srv/apps/plotdirector-dev/current-before-78b45d7-20261119T213741Z`. An application rollback must use the established deployment process after checking no protected import/analysis is active. New procedures are additive and can remain for the old application. If procedure 289 needs reversal, create a new forward migration restoring the previous complete BookChapterSync contract; never edit applied 289. Do not overwrite the live database merely to reverse a query optimisation. The checksum copy-only backup passed actual clone/Express restore; the normal predeployment identity helper also took a separate verified recovery backup. Exact operational receipts remain in the private task directory; backups are retained.
|
||||
|
||||
After migration and authenticated fixture cleanup, all 26 checked business-table counts and 23 nonempty content hashes exactly matched their pre-migration values (three empty tables retain NULL hashes). This is a targeted integrity check, not a claim to hash every database object. The dedicated account, project, two books and all its fixture data were removed through normal account deletion. The guarded task clone and isolated Express container were removed; temporary credential files were deleted. The unrelated user document remains untouched.
|
||||
|
||||
### Diagnostic collection and shutdown
|
||||
|
||||
On Development, `sql-diagnostics.Development.json` can opt in with `{"SqlDiagnostics":{"Enabled":true}}`; collection is bounded and defaults off. Review correlated `SQL_REQUEST`/`SQL_COMMAND` journal records. Enable before the intended capture/startup; the listener's bounded window is not a perpetual telemetry service. Set Enabled false to stop capture through configuration reload. The temporary file was removed after confirming HTTPS 200 with no correlation header; the service PID remained unchanged. No parameter values or prose are included in retained diagnostic evidence.
|
||||
|
||||
### Remaining launch risks
|
||||
|
||||
|Severity|Outstanding issue|Evidence / action|
|
||||
|---|---|---|
|
||||
|High before Production launch|Backup/log and restore operations on the intended host|No Production access; verify external full/log scheduling, off-host retention, recovery and alerting. Express benchmark log grew from 1,096 to 2,248 MB during rolled-back writes; no shrink/recovery change was applied.|
|
||||
|Medium|Realistic modest-VPS capacity|Express container had a 3 GiB cap and four CPU equivalents, but the web application ran outside it. This is not a complete 3 GiB VPS/load or concurrency SLA qualification.|
|
||||
|Medium|Physical Windows/Word acceptance|Requires real supported desktop hardware/session; simulated qualification passed.|
|
||||
|Medium|Full accepted-book transfer in Review|Preserved canonical projection and native-editor contracts; a narrower storage/projection redesign requires separate review and approval.|
|
||||
|Low/explicit trade-off|Idle job-start delay|Steady-state polling is halved; one controlled marker took 2.90→5.83 seconds. Six seconds is a polling-delay cap, not a job-start SLA under contention.|
|
||||
|
||||
## Evidence
|
||||
|
||||
The adjacent [evidence directory](SQL-Launch-Readiness-Completion-20261119/) contains benchmark samples, zero-violation inventory, resolved violation mapping, concurrency diagnostics, Developer/Express interval comparisons, index A/B, qualification/browser status, migration/deployment receipts, live correlated requests, data-preservation receipts and synthetic browser/PWA screenshots. Raw private operational logs and credentials are not committed. The original audit remains the authoritative complete table/index/procedure inventory; this completion report records the measured follow-through rather than silently replacing its evidence.
|
||||
@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"IsArchived": false,
|
||||
"Projects": 1,
|
||||
"Books": 1
|
||||
},
|
||||
{
|
||||
"IsArchived": true,
|
||||
"Projects": 13,
|
||||
"Books": 13
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,38 @@
|
||||
[
|
||||
{
|
||||
"file": "PlotLine.Tests/ToolbarBrowserHost.cs",
|
||||
"baselineSha256": "6b1eb9cd97f6bfaad6e32594cd7dd7896258bd63d81df62fa4da3f8a82697000",
|
||||
"currentSha256": "6b1eb9cd97f6bfaad6e32594cd7dd7896258bd63d81df62fa4da3f8a82697000",
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/wwwroot/js/writing-follow.js",
|
||||
"baselineSha256": "ae3caa14063023e2ffb18a763ad463c734f7f6809c69afc3484c8e6e10d972f6",
|
||||
"currentSha256": "ae3caa14063023e2ffb18a763ad463c734f7f6809c69afc3484c8e6e10d972f6",
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/wwwroot/js/writing-workspace.js",
|
||||
"baselineSha256": "5085b0cc3e4f51972e0dffa525d3bfb09dbba3ed90689275357c903a318703cb",
|
||||
"currentSha256": "5085b0cc3e4f51972e0dffa525d3bfb09dbba3ed90689275357c903a318703cb",
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/wwwroot/js/writing-workspace-launcher.js",
|
||||
"baselineSha256": "4643c26909524b37dc59e017c4b2cd99146303d749258e6d603696435c75b6bf",
|
||||
"currentSha256": "4643c26909524b37dc59e017c4b2cd99146303d749258e6d603696435c75b6bf",
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Views/Writer/_WriterReview.cshtml",
|
||||
"baselineSha256": "79c31ab0232f3c2d6fa0e5c54aa131d7cb1d817699125188b45ccb68e8cff98e",
|
||||
"currentSha256": "79c31ab0232f3c2d6fa0e5c54aa131d7cb1d817699125188b45ccb68e8cff98e",
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Views/ManuscriptReader/_Reader.cshtml",
|
||||
"baselineSha256": "e6a73de4ff6d55cbd8b672faf2eebcd6a23be4e9afe4b4bb4c1c2cef15252080",
|
||||
"currentSha256": "e6a73de4ff6d55cbd8b672faf2eebcd6a23be4e9afe4b4bb4c1c2cef15252080",
|
||||
"unchanged": true
|
||||
}
|
||||
]
|
||||
@ -0,0 +1 @@
|
||||
{"running": null, "completed": [{"suite": "writer-workspace", "exit": 0, "log": "browser-writer-workspace-fixed.log"}, {"suite": "manuscript-reader", "exit": 0, "log": "browser-manuscript-reader-fixed.log"}, {"suite": "plot-line-map", "exit": 0}, {"suite": "plot-health", "exit": 0}, {"suite": "timeline-metric-layout", "exit": 0}, {"suite": "maps-story-engine", "exit": 0}, {"suite": "maps-story", "exit": 0}, {"suite": "maps-workspace", "exit": 0}, {"suite": "relationship-workspace", "exit": 0}, {"suite": "word-companion-regressions", "exit": 0}, {"suite": "writing-context-plots-8", "exit": 0}, {"suite": "writing-context-plots-9", "exit": 0}, {"suite": "writing-context-plots-10", "exit": 0}]}
|
||||
@ -0,0 +1,618 @@
|
||||
[
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 134.4661,
|
||||
"LogicalReads": 523,
|
||||
"CpuMs": 110,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 42.4828,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 40,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 30.3071,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 27,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 44.7306,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 42,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 41.9128,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 38,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 49.4945,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 47,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 120.4383,
|
||||
"LogicalReads": 533,
|
||||
"CpuMs": 110,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 16.5126,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 14,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 25.9065,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 21,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 13.4383,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 10,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 12.7096,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 10,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 28.1177,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 24,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "touching",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 29.4867,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 28,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "touching",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 27.0559,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 24,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "overlap",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 399.1002,
|
||||
"LogicalReads": 466,
|
||||
"CpuMs": 20,
|
||||
"Outcome": "51000:Conflicting physical chapter ranges"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "overlap",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 392.9993,
|
||||
"LogicalReads": 479,
|
||||
"CpuMs": 26,
|
||||
"Outcome": "51000:Conflicting physical chapter ranges"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "expired",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 42.5231,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 38,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "expired",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 24.7604,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 22,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "other-session",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 35.2478,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 32,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "other-session",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 29.1338,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 25,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "other-revision",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 34.5406,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 31,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "other-revision",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 27.9647,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 24,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "stale-revision",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 422.357,
|
||||
"LogicalReads": 10,
|
||||
"CpuMs": 1,
|
||||
"Outcome": "51000:Accepted manuscript changed; chapter validation refused"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "stale-revision",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 379.8568,
|
||||
"LogicalReads": 10,
|
||||
"CpuMs": 2,
|
||||
"Outcome": "51000:Accepted manuscript changed; chapter validation refused"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "empty",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 395.1461,
|
||||
"LogicalReads": 206,
|
||||
"CpuMs": 10,
|
||||
"Outcome": "51000:Chapter position refers to an unknown paragraph"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "empty",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 374.2606,
|
||||
"LogicalReads": 208,
|
||||
"CpuMs": 15,
|
||||
"Outcome": "51000:Chapter position refers to an unknown paragraph"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "duplicate",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 792.7448,
|
||||
"LogicalReads": 214,
|
||||
"CpuMs": 11,
|
||||
"Outcome": "51000:Duplicate chapter paragraph positions"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "duplicate",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 693.5698,
|
||||
"LogicalReads": 219,
|
||||
"CpuMs": 17,
|
||||
"Outcome": "51000:Duplicate chapter paragraph positions"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "unknown",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 371.0262,
|
||||
"LogicalReads": 208,
|
||||
"CpuMs": 10,
|
||||
"Outcome": "51000:Chapter position refers to an unknown paragraph"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "unknown",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 394.8989,
|
||||
"LogicalReads": 210,
|
||||
"CpuMs": 8,
|
||||
"Outcome": "51000:Chapter position refers to an unknown paragraph"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "self-overlap",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 702.2833,
|
||||
"LogicalReads": 214,
|
||||
"CpuMs": 6,
|
||||
"Outcome": "51000:Overlapping chapter paragraph positions"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 64,
|
||||
"Case": "self-overlap",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 377.1947,
|
||||
"LogicalReads": 221,
|
||||
"CpuMs": 7,
|
||||
"Outcome": "51000:Overlapping chapter paragraph positions"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 1672.7284,
|
||||
"LogicalReads": 3178,
|
||||
"CpuMs": 1361,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 1298.9621,
|
||||
"LogicalReads": 3179,
|
||||
"CpuMs": 1291,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 1294.8777,
|
||||
"LogicalReads": 3178,
|
||||
"CpuMs": 1285,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 1296.9168,
|
||||
"LogicalReads": 3178,
|
||||
"CpuMs": 1288,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 1280.6597,
|
||||
"LogicalReads": 3178,
|
||||
"CpuMs": 1273,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 1298.1913,
|
||||
"LogicalReads": 3178,
|
||||
"CpuMs": 1290,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 72.5031,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 60,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 41.3851,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 34,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 57.1643,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 49,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 53.9376,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 47,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 48.591,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 38,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 63.9478,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 54,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 20196.1781,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20161,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 20263.2314,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20109,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 20433.3703,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20233,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 20243.2549,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20196,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 20253.1515,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20225,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 20191.7841,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20166,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 182.6234,
|
||||
"LogicalReads": 10775,
|
||||
"CpuMs": 153,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 165.3757,
|
||||
"LogicalReads": 10775,
|
||||
"CpuMs": 143,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 162.366,
|
||||
"LogicalReads": 10775,
|
||||
"CpuMs": 140,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 162.9114,
|
||||
"LogicalReads": 10775,
|
||||
"CpuMs": 139,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 396.8597,
|
||||
"LogicalReads": 10775,
|
||||
"CpuMs": 140,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Developer",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 154.7338,
|
||||
"LogicalReads": 10776,
|
||||
"CpuMs": 131,
|
||||
"Outcome": "accepted"
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,618 @@
|
||||
[
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 146.0188,
|
||||
"LogicalReads": 523,
|
||||
"CpuMs": 113,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 30.4525,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 27,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 29.0087,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 27,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 29.3273,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 26,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 30.1059,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 26,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 29.1057,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 27,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 105.2397,
|
||||
"LogicalReads": 533,
|
||||
"CpuMs": 90,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 13.1032,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 11,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 11.3846,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 9,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 12.2122,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 9,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 11.9974,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 10,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 11.7283,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 10,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "touching",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 35.2808,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 26,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "touching",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 12.209,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 10,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "overlap",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 257.3256,
|
||||
"LogicalReads": 466,
|
||||
"CpuMs": 15,
|
||||
"Outcome": "51000:Conflicting physical chapter ranges"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "overlap",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 202.6991,
|
||||
"LogicalReads": 479,
|
||||
"CpuMs": 11,
|
||||
"Outcome": "51000:Conflicting physical chapter ranges"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "expired",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 18.5204,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 16,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "expired",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 11.4098,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 9,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "other-session",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 18.2168,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 16,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "other-session",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 11.9263,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 10,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "other-revision",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 18.3112,
|
||||
"LogicalReads": 521,
|
||||
"CpuMs": 15,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "other-revision",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 12.3821,
|
||||
"LogicalReads": 531,
|
||||
"CpuMs": 8,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "stale-revision",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 177.9856,
|
||||
"LogicalReads": 10,
|
||||
"CpuMs": 0,
|
||||
"Outcome": "51000:Accepted manuscript changed; chapter validation refused"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "stale-revision",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 164.1042,
|
||||
"LogicalReads": 10,
|
||||
"CpuMs": 0,
|
||||
"Outcome": "51000:Accepted manuscript changed; chapter validation refused"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "empty",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 441.7994,
|
||||
"LogicalReads": 206,
|
||||
"CpuMs": 4,
|
||||
"Outcome": "51000:Chapter position refers to an unknown paragraph"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "empty",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 252.8137,
|
||||
"LogicalReads": 208,
|
||||
"CpuMs": 6,
|
||||
"Outcome": "51000:Chapter position refers to an unknown paragraph"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "duplicate",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 188.2019,
|
||||
"LogicalReads": 214,
|
||||
"CpuMs": 4,
|
||||
"Outcome": "51000:Duplicate chapter paragraph positions"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "duplicate",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 179.555,
|
||||
"LogicalReads": 219,
|
||||
"CpuMs": 6,
|
||||
"Outcome": "51000:Duplicate chapter paragraph positions"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "unknown",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 181.564,
|
||||
"LogicalReads": 208,
|
||||
"CpuMs": 9,
|
||||
"Outcome": "51000:Chapter position refers to an unknown paragraph"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "unknown",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 223.821,
|
||||
"LogicalReads": 210,
|
||||
"CpuMs": 6,
|
||||
"Outcome": "51000:Chapter position refers to an unknown paragraph"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "self-overlap",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 866.3782,
|
||||
"LogicalReads": 214,
|
||||
"CpuMs": 4,
|
||||
"Outcome": "51000:Overlapping chapter paragraph positions"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 64,
|
||||
"Case": "self-overlap",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 252.3357,
|
||||
"LogicalReads": 221,
|
||||
"CpuMs": 7,
|
||||
"Outcome": "51000:Overlapping chapter paragraph positions"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 1304.3852,
|
||||
"LogicalReads": 3178,
|
||||
"CpuMs": 1296,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 1309.1348,
|
||||
"LogicalReads": 3178,
|
||||
"CpuMs": 1300,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 1293.2528,
|
||||
"LogicalReads": 3178,
|
||||
"CpuMs": 1285,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 1315.6925,
|
||||
"LogicalReads": 3178,
|
||||
"CpuMs": 1308,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 1309.2415,
|
||||
"LogicalReads": 3178,
|
||||
"CpuMs": 1300,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 1301.1444,
|
||||
"LogicalReads": 3178,
|
||||
"CpuMs": 1290,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 59.6458,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 48,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 40.9056,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 35,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 64.8464,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 47,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 41.4521,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 33,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 42.9604,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 34,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 512,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 55.8114,
|
||||
"LogicalReads": 3198,
|
||||
"CpuMs": 47,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 20224.5052,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20194,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 20212.2243,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20162,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 20285.9494,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20253,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 20272.9233,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20227,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 20220.1688,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20182,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Legacy",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 20255.3961,
|
||||
"LogicalReads": 10726,
|
||||
"CpuMs": 20211,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 0,
|
||||
"ElapsedMs": 174.4488,
|
||||
"LogicalReads": 10775,
|
||||
"CpuMs": 144,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 1,
|
||||
"ElapsedMs": 168.2049,
|
||||
"LogicalReads": 10776,
|
||||
"CpuMs": 139,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 2,
|
||||
"ElapsedMs": 149.3281,
|
||||
"LogicalReads": 10775,
|
||||
"CpuMs": 125,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 3,
|
||||
"ElapsedMs": 162.4561,
|
||||
"LogicalReads": 10775,
|
||||
"CpuMs": 133,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 4,
|
||||
"ElapsedMs": 169.3144,
|
||||
"LogicalReads": 10775,
|
||||
"CpuMs": 142,
|
||||
"Outcome": "accepted"
|
||||
},
|
||||
{
|
||||
"Engine": "Express",
|
||||
"Rows": 2048,
|
||||
"Case": "valid",
|
||||
"Variant": "Candidate",
|
||||
"Repeat": 5,
|
||||
"ElapsedMs": 150.6264,
|
||||
"LogicalReads": 10775,
|
||||
"CpuMs": 132,
|
||||
"Outcome": "accepted"
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,122 @@
|
||||
[
|
||||
{
|
||||
"stored": false,
|
||||
"run": 0,
|
||||
"elapsedMs": 566.122,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 1,
|
||||
"elapsedMs": 174.6538,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 2,
|
||||
"elapsedMs": 166.4874,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 3,
|
||||
"elapsedMs": 43.9253,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 4,
|
||||
"elapsedMs": 37.0353,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 5,
|
||||
"elapsedMs": 158.9328,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 0,
|
||||
"elapsedMs": 9829.0034,
|
||||
"success": 5,
|
||||
"deadlocks": 3,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 5
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 1,
|
||||
"elapsedMs": 1256.8265,
|
||||
"success": 7,
|
||||
"deadlocks": 1,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 7
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 2,
|
||||
"elapsedMs": 42.6196,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 3,
|
||||
"elapsedMs": 34.6634,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 4,
|
||||
"elapsedMs": 35.0516,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 5,
|
||||
"elapsedMs": 34.6507,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,122 @@
|
||||
[
|
||||
{
|
||||
"stored": false,
|
||||
"run": 0,
|
||||
"elapsedMs": 578.7685,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 1,
|
||||
"elapsedMs": 168.198,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 2,
|
||||
"elapsedMs": 173.5078,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 3,
|
||||
"elapsedMs": 152.594,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 4,
|
||||
"elapsedMs": 41.0469,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 5,
|
||||
"elapsedMs": 36.0412,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 0,
|
||||
"elapsedMs": 161.4391,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 1,
|
||||
"elapsedMs": 42.4221,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 2,
|
||||
"elapsedMs": 34.9213,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 3,
|
||||
"elapsedMs": 35.8502,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 4,
|
||||
"elapsedMs": 34.7462,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 5,
|
||||
"elapsedMs": 35.6162,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,402 @@
|
||||
[
|
||||
{
|
||||
"stored": false,
|
||||
"run": 0,
|
||||
"elapsedMs": 604.747,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 1,
|
||||
"elapsedMs": 191.6506,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 2,
|
||||
"elapsedMs": 164.0392,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 3,
|
||||
"elapsedMs": 43.956,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 4,
|
||||
"elapsedMs": 33.695,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 5,
|
||||
"elapsedMs": 165.7598,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 6,
|
||||
"elapsedMs": 37.8076,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 7,
|
||||
"elapsedMs": 34.8011,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 8,
|
||||
"elapsedMs": 34.1235,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 9,
|
||||
"elapsedMs": 34.5655,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 10,
|
||||
"elapsedMs": 34.8188,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 11,
|
||||
"elapsedMs": 171.8452,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 12,
|
||||
"elapsedMs": 41.1645,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 13,
|
||||
"elapsedMs": 34.6857,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 14,
|
||||
"elapsedMs": 35.0791,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 15,
|
||||
"elapsedMs": 34.0436,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 16,
|
||||
"elapsedMs": 35.1198,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 17,
|
||||
"elapsedMs": 36.547,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 18,
|
||||
"elapsedMs": 35.5238,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": false,
|
||||
"run": 19,
|
||||
"elapsedMs": 33.4071,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 0,
|
||||
"elapsedMs": 37.2445,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 1,
|
||||
"elapsedMs": 37.4831,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 2,
|
||||
"elapsedMs": 34.989,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 3,
|
||||
"elapsedMs": 34.9546,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 4,
|
||||
"elapsedMs": 34.6234,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 5,
|
||||
"elapsedMs": 35.3565,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 6,
|
||||
"elapsedMs": 37.9473,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 7,
|
||||
"elapsedMs": 34.4792,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 8,
|
||||
"elapsedMs": 35.2797,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 9,
|
||||
"elapsedMs": 36.0643,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 10,
|
||||
"elapsedMs": 36.5024,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 11,
|
||||
"elapsedMs": 33.5642,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 12,
|
||||
"elapsedMs": 34.5199,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 13,
|
||||
"elapsedMs": 35.1755,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 14,
|
||||
"elapsedMs": 34.6138,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 15,
|
||||
"elapsedMs": 35.6785,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 16,
|
||||
"elapsedMs": 39.0481,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 17,
|
||||
"elapsedMs": 39.4575,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 18,
|
||||
"elapsedMs": 34.5163,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
},
|
||||
{
|
||||
"stored": true,
|
||||
"run": 19,
|
||||
"elapsedMs": 34.466,
|
||||
"success": 8,
|
||||
"deadlocks": 0,
|
||||
"identities": 1,
|
||||
"rows": 1,
|
||||
"evidenceVersion": 8
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,163 @@
|
||||
[
|
||||
{
|
||||
"timestamp": "2026-11-19T20:19:22.642Z",
|
||||
"resources": [
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
},
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
},
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
}
|
||||
],
|
||||
"statements": [
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
},
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
},
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"timestamp": "2026-11-19T20:19:21.382Z",
|
||||
"resources": [
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
},
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
}
|
||||
],
|
||||
"statements": [
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
},
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"timestamp": "2026-11-19T20:19:18.875Z",
|
||||
"resources": [
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
},
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
},
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
}
|
||||
],
|
||||
"statements": [
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
},
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
},
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"timestamp": "2026-11-19T20:19:13.867Z",
|
||||
"resources": [
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
},
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
},
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
}
|
||||
],
|
||||
"statements": [
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
},
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
},
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"timestamp": "2026-11-19T20:16:01.336Z",
|
||||
"resources": [
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
},
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
},
|
||||
{
|
||||
"table": "StoryMemoryCharacters",
|
||||
"index": "UX_StoryMemoryCharacters_ImportCanonical",
|
||||
"mode": "RangeS-U"
|
||||
}
|
||||
],
|
||||
"statements": [
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
},
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
},
|
||||
{
|
||||
"operation": "MERGE",
|
||||
"procedure": "StoryMemory_UpsertCharacter"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,10 @@
|
||||
{
|
||||
"commit": "78b45d749a3fb71f6f0c18360aeb203f37b6f325",
|
||||
"release": "78b45d7-20261119T213741Z",
|
||||
"rollback": "/srv/apps/plotdirector-dev/current-before-78b45d7-20261119T213741Z",
|
||||
"dllSha256": "2fe1d0300b22d9c331fc4669361b43f8181a6fed6763c66f76d6d0a11b71e0e2",
|
||||
"informationalVersion": "1.0.0+78b45d749a3fb71f6f0c18360aeb203f37b6f325",
|
||||
"publicHttpsGet": 200,
|
||||
"localHttpGet": 200,
|
||||
"completedUtc": "2026-11-19T21:37:45.026085+00:00"
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
{
|
||||
"publicHttpsGet": 200,
|
||||
"correlationHeaderAbsent": true,
|
||||
"servicePid": 3304836
|
||||
}
|
||||
@ -0,0 +1,398 @@
|
||||
[
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 2,
|
||||
"run": 0,
|
||||
"elapsedMs": 208.2668,
|
||||
"cpuMs": 9.584,
|
||||
"logicalReads": 550,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 2,
|
||||
"run": 1,
|
||||
"elapsedMs": 4.3291,
|
||||
"cpuMs": 2.397,
|
||||
"logicalReads": 394,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 2,
|
||||
"run": 2,
|
||||
"elapsedMs": 3.9016,
|
||||
"cpuMs": 2.171,
|
||||
"logicalReads": 394,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 2,
|
||||
"run": 3,
|
||||
"elapsedMs": 3.8648,
|
||||
"cpuMs": 2.408,
|
||||
"logicalReads": 394,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 2,
|
||||
"run": 4,
|
||||
"elapsedMs": 3.5573,
|
||||
"cpuMs": 2.04,
|
||||
"logicalReads": 394,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 2,
|
||||
"run": 5,
|
||||
"elapsedMs": 3.3913,
|
||||
"cpuMs": 1.99,
|
||||
"logicalReads": 394,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 2,
|
||||
"run": 0,
|
||||
"elapsedMs": 688.4811,
|
||||
"cpuMs": 163.594,
|
||||
"logicalReads": 8022,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8029476
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 2,
|
||||
"run": 1,
|
||||
"elapsedMs": 391.6918,
|
||||
"cpuMs": 92.572,
|
||||
"logicalReads": 8022,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8029476
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 2,
|
||||
"run": 2,
|
||||
"elapsedMs": 341.6071,
|
||||
"cpuMs": 68.318,
|
||||
"logicalReads": 8022,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8029476
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 2,
|
||||
"run": 3,
|
||||
"elapsedMs": 430.5409,
|
||||
"cpuMs": 102.145,
|
||||
"logicalReads": 8022,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8029476
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 2,
|
||||
"run": 4,
|
||||
"elapsedMs": 456.6159,
|
||||
"cpuMs": 129.952,
|
||||
"logicalReads": 8022,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8029476
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 2,
|
||||
"run": 5,
|
||||
"elapsedMs": 402.8886,
|
||||
"cpuMs": 116.026,
|
||||
"logicalReads": 8022,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8029476
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 48,
|
||||
"run": 0,
|
||||
"elapsedMs": 6.5633,
|
||||
"cpuMs": 5.061,
|
||||
"logicalReads": 394,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 48,
|
||||
"run": 1,
|
||||
"elapsedMs": 6.0958,
|
||||
"cpuMs": 4.619,
|
||||
"logicalReads": 394,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 48,
|
||||
"run": 2,
|
||||
"elapsedMs": 7.9771,
|
||||
"cpuMs": 4.696,
|
||||
"logicalReads": 396,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 48,
|
||||
"run": 3,
|
||||
"elapsedMs": 6.31,
|
||||
"cpuMs": 4.728,
|
||||
"logicalReads": 394,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 48,
|
||||
"run": 4,
|
||||
"elapsedMs": 5.0836,
|
||||
"cpuMs": 3.86,
|
||||
"logicalReads": 394,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 48,
|
||||
"run": 5,
|
||||
"elapsedMs": 2.9548,
|
||||
"cpuMs": 2.001,
|
||||
"logicalReads": 394,
|
||||
"commands": 1,
|
||||
"rows": 0,
|
||||
"returnedTextCharacters": 0
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 48,
|
||||
"run": 0,
|
||||
"elapsedMs": 490.7775,
|
||||
"cpuMs": 196.988,
|
||||
"logicalReads": 8014,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8022893
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 48,
|
||||
"run": 1,
|
||||
"elapsedMs": 421.4895,
|
||||
"cpuMs": 115.198,
|
||||
"logicalReads": 8014,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8022893
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 48,
|
||||
"run": 2,
|
||||
"elapsedMs": 392.0052,
|
||||
"cpuMs": 103.128,
|
||||
"logicalReads": 8014,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8022893
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 48,
|
||||
"run": 3,
|
||||
"elapsedMs": 429.9088,
|
||||
"cpuMs": 142.517,
|
||||
"logicalReads": 8014,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8022893
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 48,
|
||||
"run": 4,
|
||||
"elapsedMs": 377.3942,
|
||||
"cpuMs": 126.384,
|
||||
"logicalReads": 8014,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8022893
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 48,
|
||||
"run": 5,
|
||||
"elapsedMs": 395.5393,
|
||||
"cpuMs": 112.754,
|
||||
"logicalReads": 8014,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 8022893
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 290,
|
||||
"run": 0,
|
||||
"elapsedMs": 326.7293,
|
||||
"cpuMs": 188.663,
|
||||
"logicalReads": 83305,
|
||||
"commands": 1,
|
||||
"rows": 939,
|
||||
"returnedTextCharacters": 221889
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 290,
|
||||
"run": 1,
|
||||
"elapsedMs": 183.7194,
|
||||
"cpuMs": 171.389,
|
||||
"logicalReads": 81899,
|
||||
"commands": 1,
|
||||
"rows": 939,
|
||||
"returnedTextCharacters": 221889
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 290,
|
||||
"run": 2,
|
||||
"elapsedMs": 175.5691,
|
||||
"cpuMs": 164.134,
|
||||
"logicalReads": 81905,
|
||||
"commands": 1,
|
||||
"rows": 939,
|
||||
"returnedTextCharacters": 221889
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 290,
|
||||
"run": 3,
|
||||
"elapsedMs": 179.5276,
|
||||
"cpuMs": 165.49,
|
||||
"logicalReads": 81899,
|
||||
"commands": 1,
|
||||
"rows": 939,
|
||||
"returnedTextCharacters": 221889
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 290,
|
||||
"run": 4,
|
||||
"elapsedMs": 175.8229,
|
||||
"cpuMs": 162.329,
|
||||
"logicalReads": 81905,
|
||||
"commands": 1,
|
||||
"rows": 939,
|
||||
"returnedTextCharacters": 221889
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"scenes": 290,
|
||||
"run": 5,
|
||||
"elapsedMs": 182.918,
|
||||
"cpuMs": 169.374,
|
||||
"logicalReads": 81899,
|
||||
"commands": 1,
|
||||
"rows": 939,
|
||||
"returnedTextCharacters": 221889
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 290,
|
||||
"run": 0,
|
||||
"elapsedMs": 402.1374,
|
||||
"cpuMs": 141.25,
|
||||
"logicalReads": 6522,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 6527544
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 290,
|
||||
"run": 1,
|
||||
"elapsedMs": 255.5078,
|
||||
"cpuMs": 53.085,
|
||||
"logicalReads": 6522,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 6527544
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 290,
|
||||
"run": 2,
|
||||
"elapsedMs": 262.3341,
|
||||
"cpuMs": 69.073,
|
||||
"logicalReads": 6522,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 6527544
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 290,
|
||||
"run": 3,
|
||||
"elapsedMs": 254.4517,
|
||||
"cpuMs": 49.801,
|
||||
"logicalReads": 6522,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 6527544
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 290,
|
||||
"run": 4,
|
||||
"elapsedMs": 248.5071,
|
||||
"cpuMs": 55.24,
|
||||
"logicalReads": 6522,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 6527544
|
||||
},
|
||||
{
|
||||
"area": "accepted-book",
|
||||
"scenes": 290,
|
||||
"run": 5,
|
||||
"elapsedMs": 191.1581,
|
||||
"cpuMs": 44.071,
|
||||
"logicalReads": 6522,
|
||||
"commands": 1,
|
||||
"rows": 1,
|
||||
"returnedTextCharacters": 6527544
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,98 @@
|
||||
[
|
||||
{
|
||||
"Indexed": false,
|
||||
"Repeat": 0,
|
||||
"ElapsedMicroseconds": 44801,
|
||||
"CpuMicroseconds": 33200,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
},
|
||||
{
|
||||
"Indexed": false,
|
||||
"Repeat": 1,
|
||||
"ElapsedMicroseconds": 32563,
|
||||
"CpuMicroseconds": 33050,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
},
|
||||
{
|
||||
"Indexed": false,
|
||||
"Repeat": 2,
|
||||
"ElapsedMicroseconds": 32636,
|
||||
"CpuMicroseconds": 33051,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
},
|
||||
{
|
||||
"Indexed": false,
|
||||
"Repeat": 3,
|
||||
"ElapsedMicroseconds": 32872,
|
||||
"CpuMicroseconds": 32857,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
},
|
||||
{
|
||||
"Indexed": false,
|
||||
"Repeat": 4,
|
||||
"ElapsedMicroseconds": 32895,
|
||||
"CpuMicroseconds": 32800,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
},
|
||||
{
|
||||
"Indexed": false,
|
||||
"Repeat": 5,
|
||||
"ElapsedMicroseconds": 32892,
|
||||
"CpuMicroseconds": 33004,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
},
|
||||
{
|
||||
"Indexed": true,
|
||||
"Repeat": 0,
|
||||
"ElapsedMicroseconds": 37003,
|
||||
"CpuMicroseconds": 33790,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
},
|
||||
{
|
||||
"Indexed": true,
|
||||
"Repeat": 1,
|
||||
"ElapsedMicroseconds": 32868,
|
||||
"CpuMicroseconds": 33326,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
},
|
||||
{
|
||||
"Indexed": true,
|
||||
"Repeat": 2,
|
||||
"ElapsedMicroseconds": 37005,
|
||||
"CpuMicroseconds": 33125,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
},
|
||||
{
|
||||
"Indexed": true,
|
||||
"Repeat": 3,
|
||||
"ElapsedMicroseconds": 32861,
|
||||
"CpuMicroseconds": 33020,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
},
|
||||
{
|
||||
"Indexed": true,
|
||||
"Repeat": 4,
|
||||
"ElapsedMicroseconds": 36990,
|
||||
"CpuMicroseconds": 33082,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
},
|
||||
{
|
||||
"Indexed": true,
|
||||
"Repeat": 5,
|
||||
"ElapsedMicroseconds": 32851,
|
||||
"CpuMicroseconds": 33041,
|
||||
"LogicalReads": 2972,
|
||||
"RowsExpanded": 8415
|
||||
}
|
||||
]
|
||||
@ -0,0 +1 @@
|
||||
[]
|
||||
@ -0,0 +1,410 @@
|
||||
[
|
||||
{
|
||||
"area": "writer",
|
||||
"pwa": false,
|
||||
"httpMs": 501.4375459999999,
|
||||
"correlation": "0HNQ6GLCDFDBJ:00000001",
|
||||
"status": 200,
|
||||
"serverMs": 393.7071,
|
||||
"sqlCommands": 30,
|
||||
"sqlExecuteMs": 182.3556,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccessEntity": 2,
|
||||
"dbo.Book_Get": 1,
|
||||
"dbo.Project_ListForUser": 1,
|
||||
"dbo.WriterDashboard_Scenes": 4,
|
||||
"dbo.WriterDashboard_Reminders": 1,
|
||||
"dbo.Book_ListByProject": 2,
|
||||
"dbo.WritingActivity": 1,
|
||||
"dbo.WritingActivity_List": 1,
|
||||
"dbo.WritingActivity_Summary": 1,
|
||||
"dbo.WriterBook_Reminders": 1,
|
||||
"dbo.WriterObjective": 1,
|
||||
"dbo.WritingPlanSummary_ListByUser": 1,
|
||||
"dbo.WritingPlanSummary_ListRequiringRebalance": 1,
|
||||
"dbo.WritingScheduleDashboard_ListActive": 1,
|
||||
"dbo.WriterWorkCalendar": 1,
|
||||
"dbo.WriterPlanningUpcoming": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Project_GetForUser": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"pwa": false,
|
||||
"httpMs": 404.3116500000001,
|
||||
"correlation": "0HNQ6GLCDFDC6:00000001",
|
||||
"status": 200,
|
||||
"serverMs": 295.0123,
|
||||
"sqlCommands": 15,
|
||||
"sqlExecuteMs": 131.63739999999999,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccess": 1,
|
||||
"dbo.Project_Get": 1,
|
||||
"dbo.Book_ListByProject": 2,
|
||||
"dbo.Scenario_List": 1,
|
||||
"dbo.PlotLineWorkspace_Get": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Project_GetForUser": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"pwa": false,
|
||||
"httpMs": 506.43411400000014,
|
||||
"correlation": "0HNQ6GLCDFDCC:00000001",
|
||||
"status": 200,
|
||||
"serverMs": 348.8236,
|
||||
"sqlCommands": 33,
|
||||
"sqlExecuteMs": 135.68830000000003,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccessEntity": 2,
|
||||
"dbo.Book_Get": 2,
|
||||
"dbo.Project_ListForUser": 1,
|
||||
"dbo.WriterDashboard_Scenes": 4,
|
||||
"dbo.WriterDashboard_Reminders": 1,
|
||||
"dbo.Book_ListByProject": 2,
|
||||
"dbo.WritingActivity": 1,
|
||||
"dbo.WritingActivity_List": 1,
|
||||
"dbo.WritingActivity_Summary": 1,
|
||||
"dbo.WriterBook_Reminders": 1,
|
||||
"dbo.WriterObjective": 1,
|
||||
"dbo.WritingPlanSummary_ListByUser": 1,
|
||||
"dbo.WritingPlanSummary_ListRequiringRebalance": 1,
|
||||
"dbo.WritingScheduleDashboard_ListActive": 1,
|
||||
"dbo.WriterWorkCalendar": 1,
|
||||
"dbo.WriterPlanningUpcoming": 1,
|
||||
"dbo.ParagraphManuscript": 1,
|
||||
"dbo.Chapter_ListByBook": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Project_GetForUser": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"pwa": false,
|
||||
"httpMs": 235.9456799999998,
|
||||
"correlation": "0HNQ6GLCDFDD9:00000001",
|
||||
"status": 200,
|
||||
"serverMs": 143.7591,
|
||||
"sqlCommands": 20,
|
||||
"sqlExecuteMs": 24.737300000000005,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccessEntity": 1,
|
||||
"dbo.Book_Get": 1,
|
||||
"dbo.Project_Get": 1,
|
||||
"dbo.StoryIntelligenceBookPipeline_GetByBookForUser": 2,
|
||||
"dbo.StoryIntelligenceBookPipeline_ListCommittedRunsByBook": 1,
|
||||
"dbo.StoryIntelligenceRun_ListByBookForUser": 1,
|
||||
"dbo.SceneManuscriptSource_ListByBook": 1,
|
||||
"dbo.ManuscriptDocument_GetByBook": 1,
|
||||
"dbo.Chapter_ListByBook": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Project_GetForUser": 1,
|
||||
"dbo.Book_ListByProject": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"pwa": false,
|
||||
"httpMs": 274.3265700000002,
|
||||
"correlation": "0HNQ6GLCDFDDK:00000001",
|
||||
"status": 200,
|
||||
"serverMs": 164.3695,
|
||||
"sqlCommands": 16,
|
||||
"sqlExecuteMs": 24.7767,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccess": 1,
|
||||
"dbo.Project_GetForUser": 2,
|
||||
"dbo.StoryMap_List": 1,
|
||||
"dbo.MapReferenceImage_List": 1,
|
||||
"dbo.Location_ListByProject": 1,
|
||||
"dbo.FloorPlan_ListByProject": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Book_ListByProject": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
},
|
||||
{
|
||||
"area": "legacy-reader",
|
||||
"pwa": false,
|
||||
"status": 200,
|
||||
"correlation": "0HNQ6GLCDFDE6:00000001",
|
||||
"serverMs": 110.931,
|
||||
"sqlCommands": 33,
|
||||
"sqlExecuteMs": 67.3467,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccessEntity": 2,
|
||||
"dbo.Book_Get": 2,
|
||||
"dbo.Project_ListForUser": 1,
|
||||
"dbo.WriterDashboard_Scenes": 4,
|
||||
"dbo.WriterDashboard_Reminders": 1,
|
||||
"dbo.Book_ListByProject": 2,
|
||||
"dbo.WritingActivity": 1,
|
||||
"dbo.WritingActivity_List": 1,
|
||||
"dbo.WritingActivity_Summary": 1,
|
||||
"dbo.WriterBook_Reminders": 1,
|
||||
"dbo.WriterObjective": 1,
|
||||
"dbo.WritingPlanSummary_ListByUser": 1,
|
||||
"dbo.WritingPlanSummary_ListRequiringRebalance": 1,
|
||||
"dbo.WritingScheduleDashboard_ListActive": 1,
|
||||
"dbo.WriterWorkCalendar": 1,
|
||||
"dbo.WriterPlanningUpcoming": 1,
|
||||
"dbo.ParagraphManuscript": 1,
|
||||
"dbo.Chapter_ListByBook": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Project_GetForUser": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
},
|
||||
{
|
||||
"area": "writer",
|
||||
"pwa": true,
|
||||
"httpMs": 162.74791399999958,
|
||||
"correlation": "0HNQ6GLCDFDFL:00000001",
|
||||
"status": 200,
|
||||
"serverMs": 57.3906,
|
||||
"sqlCommands": 30,
|
||||
"sqlExecuteMs": 38.7365,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccessEntity": 2,
|
||||
"dbo.Book_Get": 1,
|
||||
"dbo.Project_ListForUser": 1,
|
||||
"dbo.WriterDashboard_Scenes": 4,
|
||||
"dbo.WriterDashboard_Reminders": 1,
|
||||
"dbo.Book_ListByProject": 2,
|
||||
"dbo.WritingActivity": 1,
|
||||
"dbo.WritingActivity_List": 1,
|
||||
"dbo.WritingActivity_Summary": 1,
|
||||
"dbo.WriterBook_Reminders": 1,
|
||||
"dbo.WriterObjective": 1,
|
||||
"dbo.WritingPlanSummary_ListByUser": 1,
|
||||
"dbo.WritingPlanSummary_ListRequiringRebalance": 1,
|
||||
"dbo.WritingScheduleDashboard_ListActive": 1,
|
||||
"dbo.WriterWorkCalendar": 1,
|
||||
"dbo.WriterPlanningUpcoming": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Project_GetForUser": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"pwa": true,
|
||||
"httpMs": 257.07577200000014,
|
||||
"correlation": "0HNQ6GLCDFDG8:00000001",
|
||||
"status": 200,
|
||||
"serverMs": 137.6414,
|
||||
"sqlCommands": 15,
|
||||
"sqlExecuteMs": 125.7169,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccess": 1,
|
||||
"dbo.Project_Get": 1,
|
||||
"dbo.Book_ListByProject": 2,
|
||||
"dbo.Scenario_List": 1,
|
||||
"dbo.PlotLineWorkspace_Get": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Project_GetForUser": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"pwa": true,
|
||||
"httpMs": 291.048092,
|
||||
"correlation": "0HNQ6GLCDFDGE:00000001",
|
||||
"status": 200,
|
||||
"serverMs": 80.2185,
|
||||
"sqlCommands": 33,
|
||||
"sqlExecuteMs": 45.1543,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccessEntity": 2,
|
||||
"dbo.Book_Get": 2,
|
||||
"dbo.Project_ListForUser": 1,
|
||||
"dbo.WriterDashboard_Scenes": 4,
|
||||
"dbo.WriterDashboard_Reminders": 1,
|
||||
"dbo.Book_ListByProject": 2,
|
||||
"dbo.WritingActivity": 1,
|
||||
"dbo.WritingActivity_List": 1,
|
||||
"dbo.WritingActivity_Summary": 1,
|
||||
"dbo.WriterBook_Reminders": 1,
|
||||
"dbo.WriterObjective": 1,
|
||||
"dbo.WritingPlanSummary_ListByUser": 1,
|
||||
"dbo.WritingPlanSummary_ListRequiringRebalance": 1,
|
||||
"dbo.WritingScheduleDashboard_ListActive": 1,
|
||||
"dbo.WriterWorkCalendar": 1,
|
||||
"dbo.WriterPlanningUpcoming": 1,
|
||||
"dbo.ParagraphManuscript": 1,
|
||||
"dbo.Chapter_ListByBook": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Project_GetForUser": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"pwa": true,
|
||||
"httpMs": 157.48112299999957,
|
||||
"correlation": "0HNQ6GLCDFDHC:00000001",
|
||||
"status": 200,
|
||||
"serverMs": 43.2401,
|
||||
"sqlCommands": 20,
|
||||
"sqlExecuteMs": 20.114,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccessEntity": 1,
|
||||
"dbo.Book_Get": 1,
|
||||
"dbo.Project_Get": 1,
|
||||
"dbo.StoryIntelligenceBookPipeline_GetByBookForUser": 2,
|
||||
"dbo.StoryIntelligenceBookPipeline_ListCommittedRunsByBook": 1,
|
||||
"dbo.StoryIntelligenceRun_ListByBookForUser": 1,
|
||||
"dbo.SceneManuscriptSource_ListByBook": 1,
|
||||
"dbo.ManuscriptDocument_GetByBook": 1,
|
||||
"dbo.Chapter_ListByBook": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Project_GetForUser": 1,
|
||||
"dbo.Book_ListByProject": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"pwa": true,
|
||||
"httpMs": 216.69647499999974,
|
||||
"correlation": "0HNQ6GLCDFDHN:00000001",
|
||||
"status": 200,
|
||||
"serverMs": 49.8294,
|
||||
"sqlCommands": 16,
|
||||
"sqlExecuteMs": 26.4067,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccess": 1,
|
||||
"dbo.Project_GetForUser": 2,
|
||||
"dbo.StoryMap_List": 1,
|
||||
"dbo.MapReferenceImage_List": 1,
|
||||
"dbo.Location_ListByProject": 1,
|
||||
"dbo.FloorPlan_ListByProject": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Book_ListByProject": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
},
|
||||
{
|
||||
"area": "legacy-reader",
|
||||
"pwa": true,
|
||||
"status": 200,
|
||||
"correlation": "0HNQ6GLCDFDI9:00000001",
|
||||
"serverMs": 70.794,
|
||||
"sqlCommands": 33,
|
||||
"sqlExecuteMs": 39.97319999999999,
|
||||
"procedures": {
|
||||
"dbo.User_GetById": 1,
|
||||
"dbo.ProjectAccess_UserCanAccessEntity": 2,
|
||||
"dbo.Book_Get": 2,
|
||||
"dbo.Project_ListForUser": 1,
|
||||
"dbo.WriterDashboard_Scenes": 4,
|
||||
"dbo.WriterDashboard_Reminders": 1,
|
||||
"dbo.Book_ListByProject": 2,
|
||||
"dbo.WritingActivity": 1,
|
||||
"dbo.WritingActivity_List": 1,
|
||||
"dbo.WritingActivity_Summary": 1,
|
||||
"dbo.WriterBook_Reminders": 1,
|
||||
"dbo.WriterObjective": 1,
|
||||
"dbo.WritingPlanSummary_ListByUser": 1,
|
||||
"dbo.WritingPlanSummary_ListRequiringRebalance": 1,
|
||||
"dbo.WritingScheduleDashboard_ListActive": 1,
|
||||
"dbo.WriterWorkCalendar": 1,
|
||||
"dbo.WriterPlanningUpcoming": 1,
|
||||
"dbo.ParagraphManuscript": 1,
|
||||
"dbo.Chapter_ListByBook": 1,
|
||||
"dbo.FeatureRequest_CountAttentionForUser": 1,
|
||||
"dbo.UserOnboarding_Get": 1,
|
||||
"dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser": 1,
|
||||
"dbo.Project_GetForUser": 1,
|
||||
"dbo.UserAppearance_Get": 1,
|
||||
"dbo.UserToolbar_Get": 1,
|
||||
"dbo.UserSubscription_GetForEntitlement": 1,
|
||||
"dbo.SubscriptionOverride_GetActive": 1
|
||||
},
|
||||
"sqlErrors": 0
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,37 @@
|
||||
[
|
||||
{
|
||||
"migration": "285_StoredProcedureCompoundWrites.sql",
|
||||
"sha256": "a7ce608879638f3a9031195cedd1abbf10e4629dbc91acdd543c0f3a6dfec68a",
|
||||
"seconds": 0.3563429049681872,
|
||||
"completedUtc": "2026-11-19T21:34:44.290408+00:00",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"migration": "286_DevelopmentResetProcedures.sql",
|
||||
"sha256": "ed1de0660ed11ad36799b4449adb8c502a792e34c3b238482039ebdf4d6a5b3e",
|
||||
"seconds": 0.3372250450775027,
|
||||
"completedUtc": "2026-11-19T21:34:44.628418+00:00",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"migration": "287_ControlledKnownCharacterQueueContracts.sql",
|
||||
"sha256": "53f54abae9ff6b298c84c9e9211abe92d922616a60a7900dd7b25d9fe9485f91",
|
||||
"seconds": 0.3163962729740888,
|
||||
"completedUtc": "2026-11-19T21:34:44.946612+00:00",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"migration": "288_ManuscriptReaderNavigation.sql",
|
||||
"sha256": "ae07d21b84071341a58e40d9861847ec4db01807c9f12df8ffd4ae3d84c2a6c3",
|
||||
"seconds": 0.30857605999335647,
|
||||
"completedUtc": "2026-11-19T21:34:45.256779+00:00",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"migration": "289_ChapterSyncMaterializedIntervals.sql",
|
||||
"sha256": "bb371a9fe349c1ba1eab4b9457651758e36416c75d644fc7bae00299cb5703ed",
|
||||
"seconds": 0.3236088629346341,
|
||||
"completedUtc": "2026-11-19T21:34:45.581207+00:00",
|
||||
"exit": 0
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,24 @@
|
||||
{
|
||||
"initial-candidate": [
|
||||
[
|
||||
"[@ImportSessionID]",
|
||||
"[Expr1083]",
|
||||
"[Expr1084]"
|
||||
],
|
||||
[
|
||||
"[@ImportSessionID]",
|
||||
"[Expr1003]",
|
||||
"[Expr1004]"
|
||||
]
|
||||
],
|
||||
"qualified-candidate": [
|
||||
[
|
||||
"[@ImportSessionID]",
|
||||
"[@CanonicalIdentityKeyLookup]"
|
||||
],
|
||||
[
|
||||
"[@ImportSessionID]",
|
||||
"[@CanonicalIdentityKeyLookup]"
|
||||
]
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
"optimized": false,
|
||||
"elapsedMs": 63293.7887,
|
||||
"commands": 85,
|
||||
"steadyCommands": 40,
|
||||
"steadyWindowSeconds": 30,
|
||||
"sqlMs": 203.20129999999995,
|
||||
"jobStartLatencyMs": 2897.8511999999973
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"elapsedMs": 66063.1714,
|
||||
"commands": 61,
|
||||
"steadyCommands": 20,
|
||||
"steadyWindowSeconds": 30,
|
||||
"sqlMs": 54.273300000000006,
|
||||
"jobStartLatencyMs": 5828.400600000001
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,6 @@
|
||||
{
|
||||
"matched": true,
|
||||
"tables": 26,
|
||||
"nonemptyContentHashes": 23,
|
||||
"afterAcceptanceFixtureRemoval": true
|
||||
}
|
||||
@ -0,0 +1,137 @@
|
||||
{
|
||||
"matched": true,
|
||||
"tables": 26,
|
||||
"nonemptyContentHashes": 23,
|
||||
"records": [
|
||||
{
|
||||
"table": "Projects",
|
||||
"rows": 14,
|
||||
"sha256": "5016E144B311A359E6E3CF0475A55E411D5DD9F32499393DF4F6EB9EA86C7231"
|
||||
},
|
||||
{
|
||||
"table": "Books",
|
||||
"rows": 14,
|
||||
"sha256": "BC0B2B8987FAF564D13B013412FDD3F8E8A8B5A10E2492EC632ACCE300D727F4"
|
||||
},
|
||||
{
|
||||
"table": "Chapters",
|
||||
"rows": 626,
|
||||
"sha256": "E9A4A742734DCCED6AF94C189700772B08722D3E86565AC7D0C9874661EAB3A7"
|
||||
},
|
||||
{
|
||||
"table": "Scenes",
|
||||
"rows": 868,
|
||||
"sha256": "CFC8CFAD62075CE5C5E1CC5BCB5D92378E14DFF1D4DB866ECAFC1F39AB200EBA"
|
||||
},
|
||||
{
|
||||
"table": "BookParagraphManuscripts",
|
||||
"rows": 14,
|
||||
"sha256": "15A9A6CFC3976FBC6083543AEECF341E6A2E3ED837292C9E7FAAC9D8538BEBD9"
|
||||
},
|
||||
{
|
||||
"table": "BookParagraphPositions",
|
||||
"rows": 118399,
|
||||
"sha256": "BBBC9D758E32F15F5EEA3A5136C059D5C99A65AF0456EA98A7F523ABE5EB35F9"
|
||||
},
|
||||
{
|
||||
"table": "BookChapterValidations",
|
||||
"rows": 419,
|
||||
"sha256": "15F050FE99000EFBB3445D21DC750A9CF865D6CD10811AD9558A72FCA4CC1E83"
|
||||
},
|
||||
{
|
||||
"table": "SceneManuscriptSources",
|
||||
"rows": 868,
|
||||
"sha256": "F385AF4F60919E222B9027792D055F0E92C8F03F0AC149766305BA60861F27E9"
|
||||
},
|
||||
{
|
||||
"table": "ManuscriptDocuments",
|
||||
"rows": 1,
|
||||
"sha256": "93051C9C0F49658577979F68FABCBDD6660F98161874E91535AC8CD08C1FB505"
|
||||
},
|
||||
{
|
||||
"table": "SceneNotes",
|
||||
"rows": 0,
|
||||
"sha256": null
|
||||
},
|
||||
{
|
||||
"table": "ChapterGoals",
|
||||
"rows": 13,
|
||||
"sha256": "EE93A48D42DBAC22BA0C1D1280860320381DC07F3380A4CF43D71704CC7CDD22"
|
||||
},
|
||||
{
|
||||
"table": "SceneChecklistItems",
|
||||
"rows": 536,
|
||||
"sha256": "87043ED279E781C47A82D0507F2F8D9ADA39DFF14FFE61071B20C57B0BDE1983"
|
||||
},
|
||||
{
|
||||
"table": "Characters",
|
||||
"rows": 70,
|
||||
"sha256": "DC3F7D5DC06F06503A597BF03BCE1B602A33FCFF2CE6594B5D698103BFF84BA5"
|
||||
},
|
||||
{
|
||||
"table": "CharacterRelationships",
|
||||
"rows": 154,
|
||||
"sha256": "90B8E75E91CE02CC330E2043CE9BDDE2F4126E6BAEB1BF428BF8F38CB95F51FF"
|
||||
},
|
||||
{
|
||||
"table": "RelationshipEvents",
|
||||
"rows": 398,
|
||||
"sha256": "3EBE122A8D53738F33D5A46EB8E0EC48D0DAC96B5986CDB0C8395266383F01DB"
|
||||
},
|
||||
{
|
||||
"table": "StoryMaps",
|
||||
"rows": 1,
|
||||
"sha256": "C0871D5D9B2AF52B5C8037C1CFC4E71850A82A15478E385C6DF91D1607935ADB"
|
||||
},
|
||||
{
|
||||
"table": "MapFeatures",
|
||||
"rows": 39,
|
||||
"sha256": "39229842AA858450F7500EB7F212D01D84F41CAD8D5DBD5B6EF77A9AFAD634C6"
|
||||
},
|
||||
{
|
||||
"table": "MapRelationships",
|
||||
"rows": 0,
|
||||
"sha256": null
|
||||
},
|
||||
{
|
||||
"table": "Locations",
|
||||
"rows": 67,
|
||||
"sha256": "2616AC2824C11613E273D4676EADEF2A22CFDC5A7F378EDE97E19A1113BD3454"
|
||||
},
|
||||
{
|
||||
"table": "StoryIntelligenceNarrativeCandidates",
|
||||
"rows": 47,
|
||||
"sha256": "3B3A381E98A4638A2B45CBB5330555073313AF33896144782028CF524696E59B"
|
||||
},
|
||||
{
|
||||
"table": "StoryIntelligenceReviewCandidates",
|
||||
"rows": 9212,
|
||||
"sha256": "C32274B7F59E82CDB4B177C22043FAE2CD6C014956962026AE27D68AD97A64D8"
|
||||
},
|
||||
{
|
||||
"table": "ProjectRestorePoints",
|
||||
"rows": 1,
|
||||
"sha256": "767BB7164289AC5998FD6695A7C3354CE2EC955478C825FFB2CADFCE912AB21E"
|
||||
},
|
||||
{
|
||||
"table": "WriterWorkSessions",
|
||||
"rows": 8,
|
||||
"sha256": "1DE2869167C7E96A7AE4A767378872794901B3EE7895CA5D975E6DBA96146304"
|
||||
},
|
||||
{
|
||||
"table": "WriterActivities",
|
||||
"rows": 0,
|
||||
"sha256": null
|
||||
},
|
||||
{
|
||||
"table": "WriterInvestigationCatalogues",
|
||||
"rows": 3,
|
||||
"sha256": "9D0DD541618F5CFAB887C8C5785E3D60457CDEEC60B23A0CEB8C229F984A70BB"
|
||||
},
|
||||
{
|
||||
"table": "WritingPlans",
|
||||
"rows": 1,
|
||||
"sha256": "CDA6683DEA27517C3B6C0B886EBCD1A09EFB7136AF35FA23641484DDB5D0429C"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
{"running": null, "completed": [{"gate": "architecture", "exit": 0}, {"gate": "writes", "exit": 0}, {"gate": "locks", "exit": 0}, {"gate": "read-contracts", "exit": 0}, {"gate": "concurrency", "exit": 0}, {"gate": "express-reads", "exit": 0}, {"gate": "polling", "exit": 0}, {"gate": "regression", "exit": 0}]}
|
||||
@ -0,0 +1,146 @@
|
||||
[
|
||||
{
|
||||
"file": "PlotLine/Services/StoryIntelligenceDevelopmentResetService.cs",
|
||||
"baselineLine": 21,
|
||||
"method": "StoryIntelligenceDevelopmentResetService.ResetOwnedProjectsAndImportsAsync",
|
||||
"operation": "DELETE/INSERT/SELECT/UPDATE",
|
||||
"resolutionMigration": 286,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Services/StoryIntelligenceDevelopmentResetService.cs",
|
||||
"baselineLine": 30,
|
||||
"method": "StoryIntelligenceDevelopmentResetService.ResetOwnedProjectsAndImportsAsync",
|
||||
"operation": "SELECT",
|
||||
"resolutionMigration": 286,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"baselineLine": 39,
|
||||
"method": "StoryMemoryRepository.ClearDerivedStateAsync",
|
||||
"operation": "DELETE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"baselineLine": 77,
|
||||
"method": "StoryMemoryRepository.MarkSceneResultProcessedAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"baselineLine": 96,
|
||||
"method": "StoryMemoryRepository.UpsertCharacterAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"baselineLine": 131,
|
||||
"method": "StoryMemoryRepository.AddCharacterAliasAsync",
|
||||
"operation": "INSERT/MERGE/SELECT",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"baselineLine": 148,
|
||||
"method": "StoryMemoryRepository.AddCharacterAttributeAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"baselineLine": 171,
|
||||
"method": "StoryMemoryRepository.UpsertLocationAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"baselineLine": 198,
|
||||
"method": "StoryMemoryRepository.UpsertAssetAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"baselineLine": 226,
|
||||
"method": "StoryMemoryRepository.UpsertRelationshipAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"baselineLine": 298,
|
||||
"method": "StoryMemoryRepository.UpsertAssignmentAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"baselineLine": 342,
|
||||
"method": "StoryMemoryRepository.UpsertDemandAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"baselineLine": 407,
|
||||
"method": "StoryMemoryRepository.SetImportContextAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/IllustrationLibraryRepository.cs",
|
||||
"baselineLine": 193,
|
||||
"method": "IllustrationLibraryRepository.SupersedeRecoveredFailuresAsync",
|
||||
"operation": "SELECT/UPDATE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/CharacterIntelligenceRepository.cs",
|
||||
"baselineLine": 32,
|
||||
"method": "CharacterIntelligenceRepository.UpsertProfileAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"resolutionMigration": 285,
|
||||
"status": "Resolved: named stored procedure"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryIntelligenceResultRepository.cs",
|
||||
"baselineLine": 210,
|
||||
"method": "StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync",
|
||||
"operation": "ALTER",
|
||||
"resolutionMigration": 287,
|
||||
"status": "Resolved: runtime repair removed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryIntelligenceResultRepository.cs",
|
||||
"baselineLine": 218,
|
||||
"method": "StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync",
|
||||
"operation": "ALTER/CREATE/INSERT/SELECT",
|
||||
"resolutionMigration": 287,
|
||||
"status": "Resolved: runtime repair removed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryIntelligenceResultRepository.cs",
|
||||
"baselineLine": 261,
|
||||
"method": "StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync",
|
||||
"operation": "ALTER/CREATE/SELECT/UPDATE",
|
||||
"resolutionMigration": 287,
|
||||
"status": "Resolved: runtime repair removed"
|
||||
}
|
||||
]
|
||||
|
After Width: | Height: | Size: 113 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 88 KiB |
|
After Width: | Height: | Size: 114 KiB |
|
After Width: | Height: | Size: 205 KiB |
|
After Width: | Height: | Size: 214 KiB |
|
After Width: | Height: | Size: 160 KiB |
|
After Width: | Height: | Size: 195 KiB |
236
Docs/Database/SQL-Performance-Audit-20261118.md
Normal file
@ -0,0 +1,236 @@
|
||||
# SQL Server performance and data-access audit — 18 November 2026
|
||||
|
||||
## Initial audit boundary
|
||||
|
||||
Baseline collected on the existing shared branch at `e7cd923`, before optimisation. The unrelated canonical manuscript architecture assessment is preserved. Only Development and the separately restored `PlotDirector_SQLAudit_20261118` verification database are authorised. No Production access, data resets, indiscriminate index maintenance or EF changes are part of this audit.
|
||||
|
||||
Development runs SQL Server 2025 Enterprise Developer 17.0.4006.2 on Linux, compatibility 170. Data file 904 MB; log 1096 MB; FULL recovery; CHECKSUM; auto-create/update statistics enabled, synchronous updates; Query Store READ_WRITE/AUTO (52 MB of 1000 MB); RCSI and snapshot isolation OFF. Server started 6 November. Developer has 16 visible schedulers, roughly 3991 MB committed at capture and an effectively unbounded max-server-memory setting. These are Development observations, not Production configuration claims.
|
||||
|
||||
The complete inventory contains 199 application tables, 446 index/heap entries, 362 trusted/enabled foreign keys and 719 procedures. Every table has a primary key. The connection factory creates pooled Microsoft.Data.SqlClient connections (15-second connection timeout, default pool 0–100, default command timeout 30 seconds). Selected import/restore operations explicitly use 120–180 seconds. Application access primarily uses Dapper 2.1.79 / SqlClient 7.0.1 and stored procedures. No EF/runtime alternate ORM dependency was found.
|
||||
|
||||
Query Store's seven-day observations identify expensive plot-line attribution and chapter-sync JSON work. Repeated warm read-only procedure benchmarks reproduce a large-project plot workspace median around 2335 ms (290 scenes), compared with 6–11 ms on 2-/48-scene projects. Candidate/evidence/event multiplication is a measured read hotspot. The audit found 33 actual executable inline SQL sites after manually excluding domain methods, stored-procedure helper calls, tests and administrative utilities from 49 scanner candidates. The existing scripts/admin utilities are not architectural violations.
|
||||
|
||||
Complete inventories accompany this report in `SQL-Performance-Audit-20261118/`. The remaining sections record the subsequent qualified changes and final findings.
|
||||
|
||||
## Findings ranked by practical benefit
|
||||
|
||||
Audit began on 18 November and completed on 19 November UTC. Measurements are Development observations; this is not a Production performance assessment.
|
||||
|
||||
| Priority | Finding | Affected area | Evidence | Proposed improvement | Risk | Status |
|
||||
|---|---|---|---|---|---|---|
|
||||
| P1 | Candidate/evidence/event joins multiply rows before deduplication | Plot workspace, map Story membership, writing context plots | Reproduced 290-scene workload; approximately 2.3 seconds and 793k logical reads | Deduplicate candidate/scene associations once using UNION, then aggregate | Moderate; seven result-set contracts and scope must match | Implemented, migration 284; qualified |
|
||||
| P1 | Nested OPENJSON overlap validation is expensive | Word chapter synchronisation | Query Store 15137: 113 executions, mean 1932 ms; repeated parsing of both interval sets | Materialise incoming/eligible intervals once; retain exact revision/session/expiry/overlap rules | High correctness risk for verified positions | Proposed separate qualification; not changed |
|
||||
| P1 | Entire accepted book JSON travels to the application for chapter reads | Reader, accepted revisions, synchronisation | `ParagraphManuscript` get statement: 1124 executions, mean 124.83 ms; accepted payload table reserves about 229 MB | First measure authorised chapter projections/request-local reuse; consider incremental storage separately | Moderate to architectural; heading windows, IDs and revision fences are essential | Not changed |
|
||||
| P1 | Stored-procedure policy had 33 executable violations | Onboarding, derived intelligence, recovery/admin | Complete inspected call-site inventory | Migrate straightforward operations; freeze remaining exception fingerprints | Low for exact read replacements, higher for compound mutations | 15 fixed; 18 explicitly deferred |
|
||||
| P2 | Related onboarding update/read made two RPCs | Writing-software reset | Six repeated clone samples per variant | Return the existing onboarding result from the update procedure | Low | Implemented; 2 → 1 round trips |
|
||||
| P2 | Preference reads/writes checked and potentially altered columns at runtime | Story-memory preferences | Executable COL_LENGTH/ALTER batch before each get/set | Move exact nullable-column guards to controlled migration | Low with migration dependency | Implemented; read path 2 → 1 round trips |
|
||||
| P2 | Very frequent idle job claims | Intelligence/synthesis/enrichment workers | Roughly 805,649 executions for several claim/readiness statements in seven-day Query Store window | Evaluate bounded idle backoff or related claim consolidation with job-start latency tests | Moderate; changing latency/fairness casually is unsafe | Recommendation only |
|
||||
| P2 | Repeated related reads and full-payload requests | Writer authoring/Review, dashboards, map Story | Source call chains; see area matrix | Scoped read frames/QueryMultiple and conditional version reads, without global private-data caching | Moderate | Recommendations only |
|
||||
| P2 | Large retained JSON copies | Restore points, manuscript/source storage | One restore point reserves about 163 MB; scene manuscript sources about 81 MB | Measure retention/growth; cold storage or retention policy requires approval | Architectural/data-retention risk | No deletion or format change |
|
||||
| P2 | Stale-statistics candidates and material fragmentation exist | Positions, name reference data, illustration library | 1129 statistics inspected; relevant candidates below | Validate actual plan usage before targeted maintenance | Moderate operational risk | No blanket maintenance |
|
||||
| P3 | Two same-key index overlap pairs | Scene characters, narrative candidates | Exact metadata and usage inventory | A/B test narrower indexes before considering removal | Low storage benefit; plan regression risk | No indexes dropped |
|
||||
| P3 | 225 foreign-key leading-key coverage screens | Whole schema | Full 362-FK/index comparison; many small lookup/optional references | Review workload-supported cases, not a blanket index rollout | Write/storage overhead and unnecessary indexes | No automatic indexes added |
|
||||
|
||||
## Schema and table inventory
|
||||
|
||||
[All tables](SQL-Performance-Audit-20261118/tables.csv) and [complete columns, keys, indexes and foreign keys](SQL-Performance-Audit-20261118/schema-inventory.json) cover every application table. There are 199 clustered and 247 nonclustered indexes. Every table has a primary key; none of the existing foreign keys is disabled or untrusted. This does not prove that every conceivable business relationship should have a physical FK. Polymorphic activity references and external manuscript/occurrence IDs need their existing deletion and provenance semantics, rather than constraints inferred from column names.
|
||||
|
||||
Largest reserved allocations at baseline:
|
||||
|
||||
| Table | Rows | Reserved KB | Interpretation |
|
||||
|---|---:|---:|---|
|
||||
| BookParagraphManuscripts | 14 | 234256 | Large accepted JSON documents; small row count hides payload cost |
|
||||
| ProjectRestorePoints | 1 | 167320 | Complete retained safety snapshot |
|
||||
| SceneManuscriptSources | 868 | 82456 | Retained scene prose |
|
||||
| NameUsages | 92010 | 50080 | Largest reference-data row count |
|
||||
| StoryIntelligenceSceneResults | 290 | 47648 | Retained analysis audit source, not normal review-page reconstruction |
|
||||
| StoryIntelligenceReviewCandidates | 9212 | 42976 | Persisted review pages/evidence |
|
||||
| IllustrationLibraryItems | 1265 | 30968 | Shared illustration metadata/state |
|
||||
| OnboardingManuscriptCaptures | 1 | 24280 | Retained import capture |
|
||||
| BookChapterValidations | 419 | 24144 | Transient verified checkpoint JSON |
|
||||
| BookParagraphPositions | 118399 | 5768 | Relational position lookup data |
|
||||
|
||||
Row counts are catalog/partition counts at capture, not a transactionally frozen census of the live site. Reserved size includes indexes/LOB allocation. Empty tables and small lookup tables are included in the inventory; they were not labelled performance defects merely because a scan exists. Wide nvarchar(max)/JSON fields are intentional in several contracts, but repeatedly returning whole snapshots is a measured opportunity. No type narrowing, JSON/native geometry conversion, uniqueness constraint, cascade change or obsolete-table removal was performed without a proven contract.
|
||||
|
||||
The new migration moves three existing nullable preference-column guards out of application requests. All three columns already existed in Development, so those guards were a no-op there. Earlier numbered migrations remain unchanged. Current live table/index counts remain 199/446; procedures increase from 719 to 733.
|
||||
|
||||
## Index and statistics analysis
|
||||
|
||||
[Complete index definitions/usage](SQL-Performance-Audit-20261118/schema-inventory.json), [same-key overlaps](SQL-Performance-Audit-20261118/index-overlap.csv), [FK coverage screens](SQL-Performance-Audit-20261118/foreign-key-index-screen.csv), and [DMV/statistics/fragmentation evidence](SQL-Performance-Audit-20261118/diagnostics.json) are retained.
|
||||
|
||||
No missing-index recommendation was promoted automatically. The ten missing-index DMV suggestions include account-deletion predicates on illustration approval/rejection actors and name-reference lookup shapes; their counters are cumulative since the instance restart and include administrative/test activity. They do not establish an interactive page bottleneck. The expensive plot-attribution plan had scans/sorts/spooling but no missing-index suggestion: its main problem was join multiplication. Removing that multiplication produced the measured gain without another permanent index or write cost.
|
||||
|
||||
Two overlap candidates deserve later A/B testing:
|
||||
|
||||
1. `SceneCharacters.IX_SceneCharacters_SceneID` has `(SceneID, CharacterID)`, no INCLUDE, 64 KB, 218 recorded reads. The timeline index has the same keys and 13 included columns, 192 KB and 21,175 reads. The narrower index is actually used; it is not proven redundant.
|
||||
2. `StoryIntelligenceNarrativeCandidates.IX_StoryIntelligenceNarrativeCandidates_Status` has `(BookID, Status, CandidateType)`, no INCLUDE, 16 KB and zero recorded reads. `IX_StoryIntelligenceNarrativeCandidates_Book_Status_Type` has the same keys plus `WholeBookPlotSynthesisRunID, AcceptedPlotLineID, AcceptedPlotThreadID`, also 16 KB and 201 reads. The observed storage saving is tiny, and the observation window does not cover every future workload.
|
||||
|
||||
If later approved after plan testing, exact removals and rollback definitions are:
|
||||
|
||||
```sql
|
||||
-- NOT APPLIED. Offline index DDL can block; schedule and validate first.
|
||||
DROP INDEX IX_SceneCharacters_SceneID ON dbo.SceneCharacters;
|
||||
DROP INDEX IX_StoryIntelligenceNarrativeCandidates_Status ON dbo.StoryIntelligenceNarrativeCandidates;
|
||||
-- Rollback/recovery:
|
||||
CREATE INDEX IX_SceneCharacters_SceneID ON dbo.SceneCharacters(SceneID, CharacterID);
|
||||
CREATE INDEX IX_StoryIntelligenceNarrativeCandidates_Status
|
||||
ON dbo.StoryIntelligenceNarrativeCandidates(BookID, Status, CandidateType);
|
||||
```
|
||||
|
||||
Expected benefit would be less duplicate index maintenance/storage, not a demonstrated latency improvement. Dropping a narrow used index may make its queries more expensive; recreating it also needs a maintenance window. No index was removed in this audit.
|
||||
|
||||
An experimental validation lookup index, not a recommendation to apply immediately, is:
|
||||
|
||||
```sql
|
||||
CREATE INDEX IX_BookChapterValidations_ActorSessionRevisionExpiry
|
||||
ON dbo.BookChapterValidations(BookID, UserID, SessionID, WordRevision, ExpiresUtc)
|
||||
INCLUDE(ChapterID);
|
||||
-- Rollback: DROP INDEX IX_BookChapterValidations_ActorSessionRevisionExpiry ON dbo.BookChapterValidations;
|
||||
```
|
||||
|
||||
It targets the eligible-validation filters in `BookChapterSync` (including Query Store 15137). It could reduce visits to expired/other-session records; it cannot fix quadratic interval expansion. Positions JSON is deliberately excluded to avoid duplicating large payloads. Every checkpoint insert/expiry/revision update would maintain another index. Benefit and actual size are unmeasured: compare actual plans, logical reads and checkpoint write latency on a clone before approving it.
|
||||
|
||||
Of 23 index/LOB structures meeting the diagnostic page threshold, the largest manuscript/restore/source structures show 0% fragmentation. `NameUsages.IX_NameUsages_QueryPath` has 2001 pages and approximately 96.6% fragmentation; the illustration clustered index has 1265 pages and approximately 35.3%. These are targeted maintenance candidates, not evidence that fragmentation caused the slow plot page. No indiscriminate rebuild/reorganise occurred.
|
||||
|
||||
Statistics candidates include an auto statistic on BookParagraphPositions with a historic 8457-row sample and 669166 modifications, and modified scene-character/metric statistics. A high modification counter alone does not prove the statistic is currently used by a bad plan. Validate the relevant plan's statistics usage, sample quality and recompilation behaviour before a targeted update. Auto statistics remain enabled; no blanket UPDATE STATISTICS, plan-cache flush, forced plan or recompile hint was introduced.
|
||||
|
||||
## Stored procedures and recorded workload
|
||||
|
||||
[Procedure/caller inventory](SQL-Performance-Audit-20261118/procedures.csv) contains every baseline procedure, direct static application callers, SQL dependency callers, cached execution counters and structural flags. [Post-change procedure inventory](SQL-Performance-Audit-20261118/procedures-current.csv) includes all 733 current procedures. No static caller is a review lead, not proof a module is obsolete: SQL dependencies, runtime definitions, variable procedure dispatch, CLI/admin use and external callers require consideration. [Query Store metrics](SQL-Performance-Audit-20261118/query-store-baseline.json) retain query/plan IDs and measurements without query text or compiled parameter values.
|
||||
|
||||
Seven-day statement CPU/read sums by owning procedure (not a per-call duration and not a Production workload):
|
||||
|
||||
| Procedure | CPU ms | Logical reads |
|
||||
|---|---:|---:|
|
||||
| BookChapterSync | 456582 | 50620661 |
|
||||
| StoryIntelligenceRun_ClaimNextPendingFair | 281211 | 3222596 |
|
||||
| WholeBookPlotSynthesisRun_ClaimNext | 159573 | 1611298 |
|
||||
| CharacterEnrichmentRun_ClaimNext | 158617 | 1705093 |
|
||||
| StoryIntelligenceBookPipeline_FindNextReadySceneAnalysis | 126800 | 1611298 |
|
||||
| PlotLineWorkspace_Get | 113942 | 37892066 |
|
||||
| ParagraphManuscript | 88835 | 11591250 |
|
||||
| WriterDashboard_Scenes | 36064 | 9181235 |
|
||||
| WordCompanion_Book_Structure | 25427 | 10478155 |
|
||||
|
||||
Important individual statements include plot attribution (Query Store 11462, 86 executions, mean 1247 ms), overlap validation (15137, mean 1932 ms), paragraph payload expansion (15305, about 39.8 million reads over 113 executions), and whole-payload retrieval (14638, mean 124.83 ms). Historical plans/parameters and test imports differ; current repeat benchmarks are the stronger evidence for the implemented plot change.
|
||||
|
||||
Plan inspection showed multiple plot plans/cardinality shapes and a costly candidate/evidence/event spool/nested-loop subtree. The replacement precomputes a distinct union of candidate/scene pairs using the same project/book/pending filters, then aggregates once. It preserves counts, NULL names, canonical membership, narrative order and all seven result sets. No isolation level, decision write, manuscript revision or transaction scope changed. Like the previous multi-statement read procedure, its result sets are not a single snapshot-isolation transaction.
|
||||
|
||||
The audit screened every procedure definition for JSON, cursors, SELECT *, dynamic execution and NOLOCK, and manually traced the expensive paths and their callers. Flags are review leads, not automatic defects. Metadata-driven restore legitimately uses a cursor and quoted identifiers. There are two actual dynamic-SQL procedures: `ProjectRestore_ApplyGraph236` and `ProjectRestore_InsertJsonTable`. Their identifiers are derived from the restore table/column metadata and quoted with QUOTENAME; JSON values go through sp_executesql parameters. EXEC return-code assignments to application locks were excluded from the dynamic-SQL count. No user-value concatenation/injection defect was established by this audit; this is not a penetration-test certification. No NOLOCK was introduced and consistency was not weakened.
|
||||
|
||||
Query Store wait totals include approximately 110 seconds Network IO, 16 seconds Parallelism and 15 seconds Memory across the observation window. The blocking snapshot was empty. This does not establish that blocking never occurs. Read-committed writes, long JSON work inside accepted-revision transactions, and large client payloads warrant targeted request tracing before changing locking or enabling RCSI.
|
||||
|
||||
## Complete inline SQL compliance inventory
|
||||
|
||||
[All 33 inspected sites with operation, tables, method, proposal, migration compatibility, risk and disposition](SQL-Performance-Audit-20261118/inline-sql-before.csv) and [machine-readable disposition](SQL-Performance-Audit-20261118/inline-sql-disposition.json) are provided. The initial syntax scan produced 49 candidates: domain methods named Query/Execute, the NameIntelligence CommandDefinition helper and an administrative SQL runner were inspected and excluded. The confirmed application violations were:
|
||||
|
||||
| File | Initial sites | Fixed | Remaining |
|
||||
|---|---:|---:|---:|
|
||||
| StoryMemoryRepository.cs | 23 | 12 | 11 |
|
||||
| CharacterIntelligenceRepository.cs | 3 | 2 | 1 |
|
||||
| OnboardingRepository.cs | 1 | 1 | 0 |
|
||||
| IllustrationLibraryRepository.cs | 1 | 0 | 1 |
|
||||
| StoryIntelligenceResultRepository.cs | 3 | 0 | 3 |
|
||||
| StoryIntelligenceDevelopmentResetService.cs | 2 | 0 | 2 |
|
||||
| Total | 33 | 15 | 18 |
|
||||
|
||||
Fourteen straightforward operations now call named, parameterised stored procedures. Ten are story-memory reads and one lists character profiles; the other three clear writing-software state, append character evidence and invalidate an assignment. SQL result contracts and public repository signatures are preserved. The fifteenth fix relocates the preference-column repair to migration 283 and removes its application call sites. Read conversions are architectural compliance changes: no individual speed gain is claimed merely because SQL moved into a procedure.
|
||||
|
||||
The remaining 18 sites are explicitly inventoried: compound story-memory upserts/deletion/supersession, profile MERGE, recovered-illustration failure supersession, the once-per-process known-character queue schema/procedure repair, and two Development reset batches. These preserve identity, monotonic evidence/version flags, recovery and deletion semantics. They require separate write/concurrency or legacy-schema qualification. Runtime queue DDL must move to a migration after comparing the current queue contracts, rather than blindly freezing potentially stale runtime definitions. The Development reset must retain its ownership checks, deletion sequence and verification; it was not invoked by this audit.
|
||||
|
||||
Executable C# across the web app, Word add-in and Native Companion was scanned; actual execution call sites were inspected. Client JavaScript/Razor and project dependencies were also searched. No EF or alternate runtime ORM was found. SQL migrations, tests, `.appdata/SqlRunner`, `Tools/WritingSolver`, `Tools/PublicMarketingCapture` and `tools/RefreshRelationshipReviews` are legitimate administrative/test utilities, not hidden web data-access exceptions. None of those administrative mutation utilities was run as an application optimisation. Existing user values in the inspected application SQL were already parameterised; this was primarily an architectural compliance gap.
|
||||
|
||||
## Round trips and area-by-area assessment
|
||||
|
||||
| Area | Traced behaviour and evidence | Disposition |
|
||||
|---|---|---|
|
||||
| Writer / annotations | WriterAuthoringService serially fetches authoring sections, lookups/note types, chapter/scenes and, when selected, characters/threads/relationships/attachments. Review also reads the accepted Reader and intentions. These are related read-frame opportunities, not all N+1 loops. Annotation paging remains bounded. | No global author-data cache; propose scoped read frames and measure real request attribution. |
|
||||
| Reader / accepted manuscript | ManuscriptReaderService.Read obtains a full authorised snapshot, book and chapter list, then projects the selected heading window. Check uses lightweight status but also book/chapter/Word metadata. | Preserve heading/blank-paragraph/ID rules; avoid a naive ChapterId-only projection. |
|
||||
| Synchronisation | SaveCore retains previous/accepted state and activity append in one transaction; overlap checks repeatedly parse intervals. | Do not remove locks or split transactions without concurrency tests. |
|
||||
| Timeline / plots | PlotLineWorkspaceRepository already consumes seven related result sets with QueryMultiple. The service may load a distinct unfiltered baseline for scoped health calculations. | Optimised the attribution query, not unrelated operations or baseline semantics. |
|
||||
| Characters / relationships | CharacterIntelligenceService and story-memory preparation perform per-entity/evidence writes inside loops; some relationship journeys are deliberately in-memory. | Batch only related writes with identity/evidence parity tests. No paid analysis invoked. |
|
||||
| Maps / locations | MapRepository already uses three related result sets; MapStoryService also requests plot membership. Full geometry/document saves retain revision checks. | Plot improvement benefits membership consumers. No spatial index is justified merely by JSON geometry when reads are by MapID; do not rewrite map storage blindly. |
|
||||
| Guided Investigation / Problem Solver | Deterministic catalogue/state procedures and private investigation persistence; no leading measured hotspot in this capture. | Preserve recomputation/version/catalogue contracts; no engine or polling changes. |
|
||||
| Project / book dashboards | WriterDashboard_Scenes has high cumulative reads but about 2.57 ms mean for the cited statement; shell/reference reads can add latency. | Obtain request-correlated attribution before claiming it is the main cause. |
|
||||
| Import / export / backup | Full retained documents and snapshots are large; backup reads multiple feature families deliberately. Restore has metadata-driven SQL and dependency ordering. | Verified a physical backup/restore to a clone. No format, retention or cascade change. |
|
||||
| Subscription / account | Existing actor/subscription procedures; account cleanup can generate misleading missing-index suggestions on optional illustration actor references. | Related onboarding update/read consolidated; entitlement/payment behaviour unchanged. |
|
||||
|
||||
No sensitive data was cached globally. Good existing QueryMultiple uses were retained. Reader polling, navigation acknowledgement cadence and worker claim fairness were not changed. Request-local reuse or immutable lookup/catalogue caches require explicit freshness/invalidation rules; permission checks must precede reuse. Large-data UI paging must not silently truncate full-state analysis or backup consumers.
|
||||
|
||||
## SQL Server 2025 Express deployment considerations
|
||||
|
||||
Microsoft's [SQL Server 2025 Linux edition matrix](https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-editions-and-components-2025?view=sql-server-ver17) documents Express limits of the lesser of one socket/four cores, 1410 MB buffer pool, and 50 GB relational database size. The buffer-pool limit is not a total-process memory cap. Query Store, parameter-sensitive/optional-parameter optimisation and ordinary stored procedures/temp tables are supported. This change relies on ordinary T-SQL already used by the application, not Enterprise-only features. Developer's 16 schedulers and larger working set do not predict Express latency.
|
||||
|
||||
For a modest VPS, prioritise fewer page reads, smaller transfers and bounded concurrency over more covering indexes. Keep diagnostic permissions separate from the application principal. Use supported external scheduling for backups/maintenance; avoid reliance on SQL Agent or online index operations. Development's compressed copy-only backup is a verification artifact, not an assumption about Express backup-compression support. Current log-reuse wait was NOTHING; no log-backup timestamp was present in available msdb history, so verify the actual FULL-recovery backup/log schedule separately. No instance memory/DOP, recovery model, statistics option or maintenance schedule was changed.
|
||||
|
||||
## Implemented changes, measurements and limits
|
||||
|
||||
Implementation commit: `390c449` on the existing shared branch. Migrations: `283_DataAccessAuditReads.sql`, `284_PlotWorkspaceCandidateAssociations.sql`. No existing numbered migration was edited, no index was added/dropped, and no canonical storage or backup format was changed.
|
||||
|
||||
The primary procedure benchmark uses a frozen restored clone and normal application SQL credentials. Both old and new procedures consume all result sets. Server CPU/read deltas come from separate administrator-only DMV observation; each sample verifies exactly one procedure execution. No private row contents or compiled parameter values are exported. Six samples per shape are retained; medians exclude the first sample. This is a warm-cache/plan experiment, not a cold-disk test. Caches were not flushed on a shared server. Small/large and archived-empty shapes are separately labelled.
|
||||
|
||||
| Workload | Before | After | Interpretation |
|
||||
|---|---:|---:|---|
|
||||
| 290-scene workspace elapsed | 2318.32 ms | 199.38 ms | About 91.4% lower in this controlled workload |
|
||||
| Same workspace CPU | 2301.75 ms | 167.09 ms | About 92.7% lower |
|
||||
| Same workspace logical reads | 792941 | 81966 | About 89.7% lower, including procedure-level reads |
|
||||
| Same workspace application commands | 1 | 1 | Gain is query work, not fewer RPCs |
|
||||
| Three-scene synthetic workspace elapsed | 11.23 ms | 12.35 ms | Approximately 1.1 ms overhead; no small-project speedup claimed |
|
||||
| Three-scene logical reads | 2892 | 2971 | Slight extra preaggregation work |
|
||||
| Writing-software reset | 2 round trips | 1 round trip | Measured; median approximately 1.37 → 1.11 ms in clone samples |
|
||||
| Preference context read | 2 round trips | 1 round trip | Measured; request-time metadata batch removed |
|
||||
|
||||
[Per-sample workspace measurements](SQL-Performance-Audit-20261118/workspace-before.json), [after](SQL-Performance-Audit-20261118/workspace-after.json), [onboarding](SQL-Performance-Audit-20261118/onboarding-benchmarks.json), and [preference reads](SQL-Performance-Audit-20261118/metadata-benchmarks.json) retain timings, reads, counts and result fingerprints. Earlier independent repetitions also showed the same order-of-magnitude large-case gain. Candidate-name aggregation has no defined ordering contract; parity checks normalise that name list while preserving identities, counts and every other field. Project/book scope and valid/invalid scenario shapes were tested, including a reordered synthetic scenario.
|
||||
|
||||
Authenticated Development HTTP measurements on the small disposable fixture were:
|
||||
|
||||
| Request | Before median | After median |
|
||||
|---|---:|---:|
|
||||
| Plot workspace | 55.55 ms | 61.68 ms |
|
||||
| Review Reader | 66.82 ms | 79.33 ms |
|
||||
| Book dashboard | 38.88 ms | 51.96 ms |
|
||||
| Maps | 40.38 ms | 49.13 ms |
|
||||
|
||||
These samples include network/render time and span a service restart; they did not demonstrate HTTP improvement and are not used to claim one. The fixture does not reproduce the expensive large-project proposal workload. The observed increases are retained rather than hidden, and require representative request profiling before attributing causality. [Raw before](SQL-Performance-Audit-20261118/http-before.json) and [after](SQL-Performance-Audit-20261118/http-after.json) explicitly leave per-request SQL count/time null: the current application has no HTTP-correlated SQL interceptor. Query Store cannot reconstruct that attribution. This audit measured command counts/database work for bounded operations separately from full HTTP durations; it does not invent total database time per web request. A bounded, value-free Development request/SqlClient trace is recommended as the next observability step.
|
||||
|
||||
## Regression and acceptance
|
||||
|
||||
- Solution build: zero warnings/errors. Release publish passed.
|
||||
- Executable regression harness: 625 PASS, exit 0, including the new architecture guard.
|
||||
- Disposable clone suite: 80 checks passed. Legacy/read-procedure result parity covers existing and missing imports; real repository mapping is exercised. Seven-set plot parity covers project/book filters and valid/invalid/reordered scenarios. Onboarding consolidation, repeated assignment invalidation and evidence append are checked; test mutations roll back.
|
||||
- Controlled procedure experiments verify matching result fingerprints and row counts; manuscript/revision/annotation/geometry tables are not modified by the plot read procedure.
|
||||
- Plot map and health browser suites pass: Focus/Weave, shared scenes, associations, inspectors, health/evidence navigation and themes.
|
||||
- Authenticated Development browser and simulated PWA checks pass on plot workspace, Reader, book dashboard and Maps; all routes return their intended 200 response, with no page errors. The 182 accepted-paragraph manuscript digest matches before/after in both modes.
|
||||
- `writing-context-plots.cjs` did **not** pass: it times out waiting for the simulated native-presence beat at line 15. The unchanged fixture/client path does not execute the changed SQL. This is explicitly retained as a separate unresolved fixture/Word-follow acceptance item, not reported as passed.
|
||||
- Physical Windows/Word behaviour was not tested on Atlas. Existing native acknowledgement/security/revision regression coverage passed; synchronisation algorithms and native binaries were not changed.
|
||||
|
||||
## Architectural regression protection
|
||||
|
||||
`DatabaseArchitectureTests` parses production C# syntax with the SDK's Roslyn compiler libraries, excluding legitimate test/administrative projects. It detects likely ad hoc/default-text execution, command definitions, interpolated/constructed SQL, CommandText assignments, EF imports/context inheritance and EF package dependencies. Stored-procedure calls through the current helper pattern are permitted. Detector self-tests cover safe calls, comments, default SQL, interpolation, variable SQL and constructed SQL. The libraries are test-only dependencies, not deployed web application dependencies.
|
||||
|
||||
The 18 remaining exceptions are exact file/member/operation/SQL fingerprints with occurrence counts. A new or changed violation fails with a location and migration guidance; an obsolete exception also fails and must be removed. Run `dotnet run --project PlotLine.Tests -- --sql-architecture-check` for a focused check; it also runs in the normal harness. This is practical regression protection for the current stack, not a security proof against deliberately disguised database access. JavaScript/Razor/alternate-library review remains part of code review.
|
||||
|
||||
The policy is enforceable for new detected code, with frozen explicit legacy debt. The application is **not yet fully stored-procedure-only**. Database-level denial of direct table access must wait for the remaining paths and dynamic restore ownership/permissions to be qualified; no application permissions were weakened or changed here.
|
||||
|
||||
## Deployment, recovery and remaining work
|
||||
|
||||
The task-specific Development copy-only/checksum backup `/var/opt/mssql/backup/sql-audit-20261118.bak` passed VERIFYONLY and was actually restored to `PlotDirector_SQLAudit_20261118`, with separate data/log files. Before live migration, database identity, dependencies and the original workspace module hash were checked; active import/analysis guards passed. Scripts were applied separately. All 15 captured business-table counts/content hashes matched across the live migrations. Application-principal execute permissions were verified.
|
||||
|
||||
Development deployment only: release `390c449-20261119T000234Z`, application informational version from commit `390c449`, published/deployed DLL SHA-256 `197e4b3f519d16b3e9379c99cb9317c4a00e77a74d37b255b9ced84f9c18a514`. Configuration, data-protection keys, uploads and logs were preserved. Final service/cleanup receipts follow below. Production was not accessed or deployed.
|
||||
|
||||
Application rollback is `/srv/apps/plotdirector-dev/current-before-390c449-20261119T000234Z` (the preceding qualified Writer build). Added procedures/nullable columns remain compatible with it. To revert the read optimisation, use a **new forward migration** restoring the baseline procedure definition, rather than editing 284. The [clone-only baseline definition](SQL-Performance-Audit-20261118/clone-baseline-procedure.sql) records that body for review/reproduction; it deliberately refuses a live target. Do not restore the entire live database to undo a read-procedure change.
|
||||
|
||||
Next work needing separate approval/qualification: the 18 listed compound-write/runtime-reset migrations; interval-validation/accepted-payload redesign; request-correlated tracing and scoped batching/caching; retention/storage redesign; and any index removal/creation or targeted maintenance supported by additional workload tests. Do not treat screening inventories as a bulk work order.
|
||||
|
||||
|
||||
### Final handoff receipts
|
||||
|
||||
Service is active; local HTTP and public HTTPS GETs return 200. All fourteen new procedures have execute permission for the configured application principal. The published/deployed DLL hashes match. The application journal contains no fail/critical entries during acceptance; it does contain one HTTPS redirect-port warning from the local backend probe and two antiforgery cache-header override warnings. Public TLS succeeded; secure antiforgery no-store behaviour was retained. These warnings were not hidden or “fixed” by weakening caching/security settings.
|
||||
|
||||
The temporary browser author and its owned fixture project/books were deleted through the normal authenticated account-deletion workflow. Explicit queries confirm those fixtures are absent. The private credential JSON and temporary symlink are deleted. The exact disposable clone was dropped after checking its expected data/log paths; the local fixture host was stopped. Existing author data was not reset, truncated or restored. The verified backup and application rollback directory are retained. The unrelated untracked `Docs/Investigations/CanonicalManuscriptArchitectureAssessment.md` remains untouched.
|
||||
|
||||
Additional configuration recorded without modification: collation `SQL_Latin1_General_CP1_CI_AS`, forced parameterisation off, broker enabled, fixed 64 MB file growth, auto-close/auto-shrink off. [Configuration snapshot](SQL-Performance-Audit-20261118/database-config.json) and [log snapshot](SQL-Performance-Audit-20261118/log-status.json) are included.
|
||||
|
||||
Deployed visual smoke evidence: [plot workspace](SQL-Performance-Audit-20261118/Screenshots/after-plot-PWA.png), [accepted Reader](SQL-Performance-Audit-20261118/Screenshots/after-reader-PWA.png), [book dashboard](SQL-Performance-Audit-20261118/Screenshots/after-book-PWA.png), [Maps](SQL-Performance-Audit-20261118/Screenshots/after-maps-PWA.png). Browser-mode captures accompany them. These are small disposable fixtures; they are not pictures of the large private project used in the controlled procedure benchmark.
|
||||
|
||||
Local reproducibility/receipt directory: `/home/nick/sql-audit-20261118/` (restricted to the owner). It contains build/publish, regression, architecture, clone parity, browser, backup/migration, permission, preservation and cleanup logs. The committed inventories/measurements omit query text, credentials, compiled parameter values and author prose. To repeat clone tests, restore a separately named verification copy, apply the clone-only baseline procedure and the two new migrations, create the [small fixture](SQL-Performance-Audit-20261118/clone-small-fixture.sql) and [scenario fixture](SQL-Performance-Audit-20261118/clone-scenario-fixture.sql), then run `dotnet run --project PlotLine.Tests -- --sql-audit-database`. That command refuses the configured live database as its test target and uses only the named clone. Never substitute Production or restore over Development.
|
||||
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 116 KiB |
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 114 KiB |
|
After Width: | Height: | Size: 231 KiB |
|
After Width: | Height: | Size: 214 KiB |
@ -0,0 +1,298 @@
|
||||
-- Verification only. Never use this script against Development or Production.
|
||||
USE [PlotDirector_SQLAudit_20261118];
|
||||
GO
|
||||
IF DB_NAME()<>N'PlotDirector_SQLAudit_20261118' THROW 51000,'Wrong verification database',1;
|
||||
GO
|
||||
SET ANSI_NULLS ON;SET QUOTED_IDENTIFIER ON;
|
||||
GO
|
||||
|
||||
CREATE OR ALTER PROCEDURE dbo._AuditOriginal_PlotLineWorkspace_Get
|
||||
@ProjectID int,
|
||||
@BookID int = NULL,
|
||||
@ScenarioID int = NULL
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
|
||||
IF @ScenarioID IS NOT NULL AND NOT EXISTS
|
||||
(
|
||||
SELECT 1
|
||||
FROM dbo.Scenarios
|
||||
WHERE ScenarioID = @ScenarioID
|
||||
AND ProjectID = @ProjectID
|
||||
AND IsArchived = 0
|
||||
AND (@BookID IS NULL OR BookID IS NULL OR BookID = @BookID)
|
||||
)
|
||||
SET @ScenarioID = NULL;
|
||||
|
||||
CREATE TABLE #SceneOrder
|
||||
(
|
||||
SceneID int NOT NULL PRIMARY KEY,
|
||||
BookID int NOT NULL,
|
||||
ChapterID int NOT NULL,
|
||||
ChapterNumber decimal(10,2) NOT NULL,
|
||||
ChapterTitle nvarchar(300) NULL,
|
||||
SceneNumber decimal(10,2) NOT NULL,
|
||||
SceneTitle nvarchar(300) NULL,
|
||||
NarrativeOrder int NOT NULL
|
||||
);
|
||||
|
||||
IF @ScenarioID IS NULL
|
||||
BEGIN
|
||||
INSERT #SceneOrder (SceneID, BookID, ChapterID, ChapterNumber, ChapterTitle, SceneNumber, SceneTitle, NarrativeOrder)
|
||||
SELECT nso.SceneID, nso.BookID, nso.ChapterID, nso.ChapterNumber, nso.ChapterTitle,
|
||||
nso.SceneNumber, nso.SceneTitle,
|
||||
CASE WHEN @BookID IS NULL THEN CONVERT(int, nso.GlobalSceneIndex) ELSE CONVERT(int, nso.BookSceneIndex) END
|
||||
FROM dbo.NarrativeSceneOrder nso
|
||||
WHERE nso.ProjectID = @ProjectID AND (@BookID IS NULL OR nso.BookID = @BookID);
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
INSERT #SceneOrder (SceneID, BookID, ChapterID, ChapterNumber, ChapterTitle, SceneNumber, SceneTitle, NarrativeOrder)
|
||||
SELECT s.SceneID, b.BookID, c.ChapterID, c.ChapterNumber, c.ChapterTitle, s.SceneNumber, s.SceneTitle,
|
||||
CONVERT(int, ROW_NUMBER() OVER
|
||||
(
|
||||
ORDER BY b.SortOrder, b.BookNumber, c.SortOrder, c.ChapterNumber,
|
||||
sso.ProposedSortOrder, s.SceneNumber, s.SceneID
|
||||
))
|
||||
FROM dbo.ScenarioSceneOrder sso
|
||||
INNER JOIN dbo.Scenes s ON s.SceneID = sso.SceneID AND s.IsArchived = 0
|
||||
INNER JOIN dbo.Chapters c ON c.ChapterID = ISNULL(sso.ProposedChapterID, s.ChapterID) AND c.IsArchived = 0
|
||||
INNER JOIN dbo.Books b ON b.BookID = c.BookID AND b.IsArchived = 0
|
||||
WHERE sso.ScenarioID = @ScenarioID
|
||||
AND b.ProjectID = @ProjectID
|
||||
AND (@BookID IS NULL OR b.BookID = @BookID);
|
||||
END;
|
||||
|
||||
SELECT pl.PlotLineID, pl.ProjectID, pl.BookID, pl.PlotLineName, pl.Description,
|
||||
plt.TypeName AS PlotLineTypeName, pi.ImportanceName AS PlotImportanceName,
|
||||
pl.Colour, pl.SortOrder,
|
||||
COUNT(DISTINCT pt.PlotThreadID) AS ThreadCount,
|
||||
COUNT(DISTINCT CASE WHEN so.SceneID IS NOT NULL THEN te.SceneID END) AS ContributionSceneCount
|
||||
FROM dbo.PlotLines pl
|
||||
INNER JOIN dbo.PlotLineTypes plt ON plt.PlotLineTypeID = pl.PlotLineTypeID
|
||||
INNER JOIN dbo.PlotImportance pi ON pi.PlotImportanceID = pl.PlotImportanceID
|
||||
LEFT JOIN dbo.PlotThreads pt ON pt.PlotLineID = pl.PlotLineID AND pt.IsArchived = 0
|
||||
LEFT JOIN dbo.ThreadEvents te ON te.PlotThreadID = pt.PlotThreadID
|
||||
LEFT JOIN #SceneOrder so ON so.SceneID = te.SceneID
|
||||
WHERE pl.ProjectID = @ProjectID
|
||||
AND pl.IsArchived = 0
|
||||
AND (@BookID IS NULL OR pl.BookID IS NULL OR pl.BookID = @BookID)
|
||||
GROUP BY pl.PlotLineID, pl.ProjectID, pl.BookID, pl.PlotLineName, pl.Description,
|
||||
plt.TypeName, pi.ImportanceName, pl.Colour, pl.SortOrder
|
||||
ORDER BY pl.SortOrder, pl.PlotLineName, pl.PlotLineID;
|
||||
|
||||
SELECT pt.PlotThreadID, pt.PlotLineID, pt.ThreadTitle, pt.Summary,
|
||||
tt.TypeName AS ThreadTypeName, ts.StatusName AS ThreadStatusName, pt.Importance,
|
||||
pt.IntroducedSceneID,
|
||||
CASE WHEN intro.SceneID IS NULL THEN NULL ELSE CONCAT(N'Ch ', intro.ChapterNumber, N' · Scene ', intro.SceneNumber, N' · ', intro.SceneTitle) END AS IntroducedSceneLabel,
|
||||
pt.PlannedResolutionSceneID,
|
||||
CASE WHEN planned.SceneID IS NULL THEN NULL ELSE CONCAT(N'Ch ', planned.ChapterNumber, N' · Scene ', planned.SceneNumber, N' · ', planned.SceneTitle) END AS PlannedResolutionSceneLabel,
|
||||
pt.ActualResolutionSceneID,
|
||||
CASE WHEN actual.SceneID IS NULL THEN NULL ELSE CONCAT(N'Ch ', actual.ChapterNumber, N' · Scene ', actual.SceneNumber, N' · ', actual.SceneTitle) END AS ActualResolutionSceneLabel,
|
||||
COUNT(CASE WHEN eventOrder.SceneID IS NOT NULL THEN te.ThreadEventID END) AS ContributionCount
|
||||
FROM dbo.PlotThreads pt
|
||||
INNER JOIN dbo.PlotLines pl ON pl.PlotLineID = pt.PlotLineID AND pl.IsArchived = 0
|
||||
INNER JOIN dbo.ThreadTypes tt ON tt.ThreadTypeID = pt.ThreadTypeID
|
||||
INNER JOIN dbo.ThreadStatuses ts ON ts.ThreadStatusID = pt.ThreadStatusID
|
||||
LEFT JOIN #SceneOrder intro ON intro.SceneID = pt.IntroducedSceneID
|
||||
LEFT JOIN #SceneOrder planned ON planned.SceneID = pt.PlannedResolutionSceneID
|
||||
LEFT JOIN #SceneOrder actual ON actual.SceneID = pt.ActualResolutionSceneID
|
||||
LEFT JOIN dbo.ThreadEvents te ON te.PlotThreadID = pt.PlotThreadID
|
||||
LEFT JOIN #SceneOrder eventOrder ON eventOrder.SceneID = te.SceneID
|
||||
WHERE pl.ProjectID = @ProjectID
|
||||
AND pt.IsArchived = 0
|
||||
AND (@BookID IS NULL OR pl.BookID IS NULL OR pl.BookID = @BookID)
|
||||
GROUP BY pt.PlotThreadID, pt.PlotLineID, pt.ThreadTitle, pt.Summary, tt.TypeName,
|
||||
ts.StatusName, pt.Importance, pt.IntroducedSceneID, intro.SceneID,
|
||||
intro.ChapterNumber, intro.SceneNumber, intro.SceneTitle,
|
||||
pt.PlannedResolutionSceneID, planned.SceneID, planned.ChapterNumber,
|
||||
planned.SceneNumber, planned.SceneTitle, pt.ActualResolutionSceneID,
|
||||
actual.SceneID, actual.ChapterNumber, actual.SceneNumber, actual.SceneTitle
|
||||
ORDER BY pt.PlotLineID, pt.Importance DESC, pt.ThreadTitle, pt.PlotThreadID;
|
||||
|
||||
;WITH CandidateMatches AS
|
||||
(
|
||||
SELECT ev.NarrativeCandidateID, ev.SceneID,
|
||||
MAX(ev.EventTitle) AS EventTitle,
|
||||
MAX(ev.EventDescription) AS EventDescription,
|
||||
MAX(ev.Evidence) AS Evidence,
|
||||
MAX(ev.Confidence) AS Confidence,
|
||||
MAX(nc.Significance) AS Significance,
|
||||
COUNT(*) AS MatchCount
|
||||
FROM dbo.StoryIntelligenceNarrativeCandidateEvents ev
|
||||
INNER JOIN dbo.StoryIntelligenceNarrativeCandidates nc
|
||||
ON nc.NarrativeCandidateID = ev.NarrativeCandidateID
|
||||
WHERE nc.ProjectID = @ProjectID AND (@BookID IS NULL OR nc.BookID = @BookID)
|
||||
GROUP BY ev.NarrativeCandidateID, ev.SceneID
|
||||
)
|
||||
SELECT te.ThreadEventID, pt.PlotThreadID, pl.PlotLineID, s.SceneID,
|
||||
so.BookID, so.ChapterID, so.ChapterNumber, ISNULL(so.ChapterTitle, N'') AS ChapterTitle,
|
||||
so.SceneNumber, ISNULL(so.SceneTitle, N'Untitled scene') AS SceneTitle,
|
||||
s.Summary AS SceneSummary, so.NarrativeOrder,
|
||||
pov.CharacterName AS PovCharacterName, characterData.CharacterNames,
|
||||
loc.LocationPath AS LocationName, s.StartDateTime, s.EndDateTime,
|
||||
s.RelativeTimeText, tm.TimeModeName, tc.TimeConfidenceName,
|
||||
warningData.WarningCount, dependencyData.DependencyCount,
|
||||
CONVERT(bit, CASE WHEN sms.SceneID IS NULL OR NULLIF(sms.SourceText, N'') IS NULL THEN 0 ELSE 1 END) AS HasManuscript,
|
||||
pt.ThreadTitle, ts.StatusName AS ThreadStatusName, pt.Importance AS ThreadImportance,
|
||||
tet.TypeName AS CanonicalRole, tet.MarkerText AS CanonicalMarker,
|
||||
pet.TypeName AS CanonicalStructuralType, te.EventTitle AS CanonicalTitle,
|
||||
te.EventDescription AS CanonicalDescription, te.Confidence AS CanonicalConfidence,
|
||||
te.Source, te.SourceReferenceID, te.SourceKey,
|
||||
CASE
|
||||
WHEN te.Source <> N'WholeBookPlotSynthesis' OR te.SourceReferenceID IS NULL THEN N'Not applicable'
|
||||
WHEN cm.MatchCount = 1 THEN N'SourceReferenceID + SceneID'
|
||||
WHEN cm.MatchCount > 1 THEN N'Ambiguous'
|
||||
ELSE N'Not found'
|
||||
END AS CandidateMatchState,
|
||||
CASE WHEN cm.MatchCount = 1 THEN cm.EventTitle END AS CandidateTitle,
|
||||
CASE WHEN cm.MatchCount = 1 THEN cm.EventDescription END AS CandidateDescription,
|
||||
CASE WHEN cm.MatchCount = 1 THEN cm.Evidence END AS CandidateEvidence,
|
||||
CASE WHEN cm.MatchCount = 1 THEN cm.Confidence END AS CandidateConfidence,
|
||||
CASE WHEN cm.MatchCount = 1 THEN cm.Significance END AS CandidateSignificance
|
||||
FROM dbo.ThreadEvents te
|
||||
INNER JOIN dbo.PlotThreads pt ON pt.PlotThreadID = te.PlotThreadID AND pt.IsArchived = 0
|
||||
INNER JOIN dbo.PlotLines pl ON pl.PlotLineID = pt.PlotLineID AND pl.IsArchived = 0
|
||||
INNER JOIN #SceneOrder so ON so.SceneID = te.SceneID
|
||||
INNER JOIN dbo.Scenes s ON s.SceneID = so.SceneID AND s.IsArchived = 0
|
||||
INNER JOIN dbo.ThreadEventTypes tet ON tet.ThreadEventTypeID = te.EventTypeID
|
||||
INNER JOIN dbo.PlotEventTypes pet ON pet.PlotEventTypeID = te.PlotEventTypeID
|
||||
INNER JOIN dbo.ThreadStatuses ts ON ts.ThreadStatusID = pt.ThreadStatusID
|
||||
INNER JOIN dbo.TimeModes tm ON tm.TimeModeID = s.TimeModeID
|
||||
INNER JOIN dbo.TimeConfidences tc ON tc.TimeConfidenceID = s.TimeConfidenceID
|
||||
LEFT JOIN dbo.Characters pov ON pov.CharacterID = s.POVCharacterID AND pov.IsArchived = 0
|
||||
LEFT JOIN dbo.LocationPaths loc ON loc.LocationID = s.PrimaryLocationID
|
||||
LEFT JOIN dbo.SceneManuscriptSources sms ON sms.SceneID = s.SceneID
|
||||
LEFT JOIN CandidateMatches cm ON cm.NarrativeCandidateID = te.SourceReferenceID AND cm.SceneID = te.SceneID
|
||||
OUTER APPLY
|
||||
(
|
||||
SELECT STRING_AGG(CONVERT(nvarchar(max), c.CharacterName), N', ') AS CharacterNames
|
||||
FROM dbo.SceneCharacters sc
|
||||
INNER JOIN dbo.Characters c ON c.CharacterID = sc.CharacterID AND c.IsArchived = 0
|
||||
WHERE sc.SceneID = s.SceneID
|
||||
) characterData
|
||||
OUTER APPLY
|
||||
(
|
||||
SELECT COUNT(*) AS WarningCount
|
||||
FROM dbo.ContinuityWarnings cw
|
||||
WHERE cw.SceneID = s.SceneID AND cw.IsDismissed = 0
|
||||
) warningData
|
||||
OUTER APPLY
|
||||
(
|
||||
SELECT COUNT(*) AS DependencyCount
|
||||
FROM dbo.SceneDependencies sd
|
||||
WHERE sd.IsArchived = 0 AND (sd.SourceSceneID = s.SceneID OR sd.TargetSceneID = s.SceneID)
|
||||
) dependencyData
|
||||
WHERE pl.ProjectID = @ProjectID
|
||||
AND (@BookID IS NULL OR pl.BookID IS NULL OR pl.BookID = @BookID)
|
||||
ORDER BY so.NarrativeOrder, pl.SortOrder, pl.PlotLineName, pt.PlotThreadID, te.ThreadEventID;
|
||||
|
||||
SELECT DISTINCT te.ThreadEventID, pt.PlotLineID AS SourcePlotLineID,
|
||||
target.PlotLineID AS TargetPlotLineID, pet.TypeName AS StructuralType
|
||||
FROM dbo.ThreadEvents te
|
||||
INNER JOIN dbo.PlotThreads pt ON pt.PlotThreadID = te.PlotThreadID AND pt.IsArchived = 0
|
||||
INNER JOIN dbo.PlotLines pl ON pl.PlotLineID = pt.PlotLineID AND pl.IsArchived = 0
|
||||
INNER JOIN #SceneOrder so ON so.SceneID = te.SceneID
|
||||
INNER JOIN dbo.PlotEventTypes pet ON pet.PlotEventTypeID = te.PlotEventTypeID
|
||||
CROSS APPLY
|
||||
(
|
||||
SELECT te.TargetPlotLineID AS PlotLineID WHERE te.TargetPlotLineID IS NOT NULL
|
||||
UNION
|
||||
SELECT petp.PlotLineID FROM dbo.PlotEventTargetPlotLines petp WHERE petp.PlotEventID = te.ThreadEventID
|
||||
) target
|
||||
WHERE pl.ProjectID = @ProjectID;
|
||||
|
||||
SELECT sd.SceneDependencyID, sd.SourceSceneID, sd.TargetSceneID,
|
||||
sdt.TypeName AS DependencyType, sd.Description, sd.IsHardDependency
|
||||
FROM dbo.SceneDependencies sd
|
||||
INNER JOIN dbo.SceneDependencyTypes sdt ON sdt.SceneDependencyTypeID = sd.SceneDependencyTypeID
|
||||
INNER JOIN #SceneOrder sourceOrder ON sourceOrder.SceneID = sd.SourceSceneID
|
||||
INNER JOIN #SceneOrder targetOrder ON targetOrder.SceneID = sd.TargetSceneID
|
||||
WHERE sd.IsArchived = 0
|
||||
ORDER BY sourceOrder.NarrativeOrder, targetOrder.NarrativeOrder, sd.SceneDependencyID;
|
||||
|
||||
SELECT s.SceneID, so.BookID, so.ChapterID, so.ChapterNumber,
|
||||
ISNULL(so.ChapterTitle, N'') AS ChapterTitle, so.SceneNumber,
|
||||
ISNULL(so.SceneTitle, N'Untitled scene') AS SceneTitle, s.Summary,
|
||||
so.NarrativeOrder, pov.CharacterName AS PovCharacterName,
|
||||
characterData.CharacterNames, loc.LocationPath AS LocationName,
|
||||
purposeData.PurposeNames, s.RelativeTimeText, s.StartDateTime,
|
||||
warningData.WarningCount, dependencyData.DependencyCount,
|
||||
CONVERT(bit, CASE WHEN sms.SceneID IS NULL OR NULLIF(sms.SourceText, N'') IS NULL THEN 0 ELSE 1 END) AS HasManuscript,
|
||||
canonicalData.CanonicalPlotLineCount, proposedData.ProposedCandidateCount,
|
||||
proposedData.ProposedCandidateNames
|
||||
FROM #SceneOrder so
|
||||
INNER JOIN dbo.Scenes s ON s.SceneID = so.SceneID
|
||||
LEFT JOIN dbo.Characters pov ON pov.CharacterID = s.POVCharacterID AND pov.IsArchived = 0
|
||||
LEFT JOIN dbo.LocationPaths loc ON loc.LocationID = s.PrimaryLocationID
|
||||
LEFT JOIN dbo.SceneManuscriptSources sms ON sms.SceneID = s.SceneID
|
||||
OUTER APPLY
|
||||
(
|
||||
SELECT STRING_AGG(CONVERT(nvarchar(max), c.CharacterName), N', ') AS CharacterNames
|
||||
FROM dbo.SceneCharacters sc INNER JOIN dbo.Characters c ON c.CharacterID = sc.CharacterID AND c.IsArchived = 0
|
||||
WHERE sc.SceneID = s.SceneID
|
||||
) characterData
|
||||
OUTER APPLY
|
||||
(
|
||||
SELECT STRING_AGG(CONVERT(nvarchar(max), spt.PurposeName), N', ') AS PurposeNames
|
||||
FROM dbo.ScenePurposes sp INNER JOIN dbo.ScenePurposeTypes spt ON spt.ScenePurposeTypeID = sp.ScenePurposeTypeID
|
||||
WHERE sp.SceneID = s.SceneID
|
||||
) purposeData
|
||||
OUTER APPLY
|
||||
(
|
||||
SELECT COUNT(DISTINCT pl.PlotLineID) AS CanonicalPlotLineCount
|
||||
FROM dbo.ThreadEvents te
|
||||
INNER JOIN dbo.PlotThreads pt ON pt.PlotThreadID = te.PlotThreadID AND pt.IsArchived = 0
|
||||
INNER JOIN dbo.PlotLines pl ON pl.PlotLineID = pt.PlotLineID AND pl.IsArchived = 0
|
||||
WHERE te.SceneID = s.SceneID AND pl.ProjectID = @ProjectID
|
||||
) canonicalData
|
||||
OUTER APPLY
|
||||
(
|
||||
SELECT COUNT(DISTINCT candidate.NarrativeCandidateID) AS ProposedCandidateCount,
|
||||
STRING_AGG(CONVERT(nvarchar(max), candidate.ProposedTitle), N'; ') AS ProposedCandidateNames
|
||||
FROM
|
||||
(
|
||||
SELECT DISTINCT nc.NarrativeCandidateID, nc.ProposedTitle
|
||||
FROM dbo.StoryIntelligenceNarrativeCandidates nc
|
||||
LEFT JOIN dbo.StoryIntelligenceNarrativeCandidateEvidence e ON e.NarrativeCandidateID = nc.NarrativeCandidateID
|
||||
LEFT JOIN dbo.StoryIntelligenceNarrativeCandidateEvents ev ON ev.NarrativeCandidateID = nc.NarrativeCandidateID
|
||||
WHERE nc.ProjectID = @ProjectID
|
||||
AND nc.BookID = so.BookID
|
||||
AND nc.Status = N'Pending'
|
||||
AND (e.SceneID = s.SceneID OR ev.SceneID = s.SceneID)
|
||||
) candidate
|
||||
) proposedData
|
||||
OUTER APPLY
|
||||
(
|
||||
SELECT COUNT(*) AS WarningCount FROM dbo.ContinuityWarnings cw WHERE cw.SceneID = s.SceneID AND cw.IsDismissed = 0
|
||||
) warningData
|
||||
OUTER APPLY
|
||||
(
|
||||
SELECT COUNT(*) AS DependencyCount FROM dbo.SceneDependencies sd
|
||||
WHERE sd.IsArchived = 0 AND (sd.SourceSceneID = s.SceneID OR sd.TargetSceneID = s.SceneID)
|
||||
) dependencyData
|
||||
ORDER BY so.NarrativeOrder;
|
||||
|
||||
SELECT nc.NarrativeCandidateID, evidence.SceneID, nc.CandidateType,
|
||||
nc.ProposedTitle AS CandidateTitle, nc.Status, nc.Significance,
|
||||
nc.Confidence AS CandidateConfidence, evidence.ContributionType, evidence.Evidence
|
||||
FROM dbo.StoryIntelligenceNarrativeCandidates nc
|
||||
CROSS APPLY
|
||||
(
|
||||
SELECT e.SceneID, e.ContributionType, e.Evidence
|
||||
FROM dbo.StoryIntelligenceNarrativeCandidateEvidence e
|
||||
WHERE e.NarrativeCandidateID = nc.NarrativeCandidateID
|
||||
UNION ALL
|
||||
SELECT ev.SceneID, ev.EventType, COALESCE(ev.Evidence, ev.EventDescription)
|
||||
FROM dbo.StoryIntelligenceNarrativeCandidateEvents ev
|
||||
WHERE ev.NarrativeCandidateID = nc.NarrativeCandidateID
|
||||
) evidence
|
||||
INNER JOIN #SceneOrder so ON so.SceneID = evidence.SceneID
|
||||
WHERE nc.ProjectID = @ProjectID
|
||||
AND nc.Status = N'Pending'
|
||||
AND (@BookID IS NULL OR nc.BookID = @BookID)
|
||||
ORDER BY so.NarrativeOrder, nc.CandidateType, nc.ProposedTitle, nc.NarrativeCandidateID;
|
||||
END;
|
||||
|
||||
GO
|
||||
@ -0,0 +1,8 @@
|
||||
USE [PlotDirector_SQLAudit_20261118];
|
||||
IF DB_NAME()<>N'PlotDirector_SQLAudit_20261118' THROW 51000,'Wrong clone',1;
|
||||
DECLARE @p int=(SELECT MAX(ProjectID) FROM dbo.Projects WHERE ProjectName=N'SQL audit small synthetic project');
|
||||
IF @p IS NULL THROW 51000,'Missing isolated fixture',1;
|
||||
DECLARE @scenario int;
|
||||
INSERT dbo.Scenarios(ProjectID,ScenarioName) VALUES(@p,N'SQL audit reordered synthetic scenario');SET @scenario=SCOPE_IDENTITY();
|
||||
INSERT dbo.ScenarioSceneOrder(ScenarioID,SceneID,ProposedChapterID,ProposedSortOrder) SELECT @scenario,SceneID,ChapterID,1000-SceneID FROM dbo.NarrativeSceneOrder WHERE ProjectID=@p;
|
||||
SELECT N'Synthetic valid scenario created';
|
||||
@ -0,0 +1,10 @@
|
||||
USE [PlotDirector_SQLAudit_20261118];
|
||||
IF DB_NAME()<>N'PlotDirector_SQLAudit_20261118' THROW 51000,'Wrong clone',1;
|
||||
DECLARE @p int,@b int,@c int,@revision int=(SELECT TOP(1) RevisionStatusID FROM dbo.RevisionStatuses ORDER BY SortOrder);
|
||||
INSERT dbo.Projects(ProjectName) VALUES(N'SQL audit small synthetic project');SET @p=SCOPE_IDENTITY();
|
||||
INSERT dbo.Books(ProjectID,BookTitle,BookNumber,SortOrder) VALUES(@p,N'Synthetic SQL audit book',1,1);SET @b=SCOPE_IDENTITY();
|
||||
INSERT dbo.Chapters(BookID,ChapterTitle,ChapterNumber,SortOrder,RevisionStatusID) VALUES(@b,N'Synthetic chapter',1,1,@revision);SET @c=SCOPE_IDENTITY();
|
||||
DECLARE @n int=1;WHILE @n<=3 BEGIN
|
||||
INSERT dbo.Scenes(ChapterID,SceneTitle,SceneNumber,SortOrder,RevisionStatusID,TimeModeID,TimeConfidenceID) VALUES(@c,N'Synthetic scene',@n,@n,@revision,(SELECT TOP(1) TimeModeID FROM dbo.TimeModes ORDER BY SortOrder),(SELECT TOP(1) TimeConfidenceID FROM dbo.TimeConfidences ORDER BY SortOrder));SET @n+=1;
|
||||
END;
|
||||
SELECT N'Synthetic small clone fixture created';
|
||||
@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"collation_name": "SQL_Latin1_General_CP1_CI_AS",
|
||||
"is_parameterization_forced": false,
|
||||
"is_broker_enabled": true,
|
||||
"is_auto_create_stats_on": true,
|
||||
"is_auto_update_stats_on": true,
|
||||
"is_auto_update_stats_async_on": false
|
||||
}
|
||||
]
|
||||
12296
Docs/Database/SQL-Performance-Audit-20261118/diagnostics.json
Normal file
@ -0,0 +1,226 @@
|
||||
table,rows,foreign_key,columns,references,status
|
||||
AssetCustodyEventCharacters,0,FK_AssetCustodyEventCharacters_Events,AssetCustodyEventID,AssetCustodyEvents,Screening candidate; not a measured missing-index recommendation
|
||||
AssetCustodyEventCharacters,0,FK_AssetCustodyEventCharacters_Roles,CustodyRoleID,CustodyRoles,Screening candidate; not a measured missing-index recommendation
|
||||
AssetCustodyEvents,0,FK_AssetCustodyEvents_StoryAssets,StoryAssetID,StoryAssets,Screening candidate; not a measured missing-index recommendation
|
||||
AssetCustodyEvents,0,FK_AssetCustodyEvents_Type,AssetCustodyEventTypeID,AssetCustodyEventTypes,Screening candidate; not a measured missing-index recommendation
|
||||
AssetDependencies,0,FK_AssetDependencies_SourceAsset,SourceAssetID,StoryAssets,Screening candidate; not a measured missing-index recommendation
|
||||
AssetDependencies,0,FK_AssetDependencies_Type,AssetDependencyTypeID,AssetDependencyTypes,Screening candidate; not a measured missing-index recommendation
|
||||
AssetDependencies,0,FK_AssetDependencies_SourceState,SourceRequiredStateID,AssetStates,Screening candidate; not a measured missing-index recommendation
|
||||
AssetDependencies,0,FK_AssetDependencies_TargetState,TargetBlockedStateID,AssetStates,Screening candidate; not a measured missing-index recommendation
|
||||
AssetEvents,0,FK_AssetEvents_AssetEventTypes,AssetEventTypeID,AssetEventTypes,Screening candidate; not a measured missing-index recommendation
|
||||
AssetEvents,0,FK_AssetEvents_FromState,FromStateID,AssetStates,Screening candidate; not a measured missing-index recommendation
|
||||
AssetEvents,0,FK_AssetEvents_ToState,ToStateID,AssetStates,Screening candidate; not a measured missing-index recommendation
|
||||
AssetStates,0,FK_AssetStates_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
AssetStates,0,FK_AssetStates_AssetKinds,AssetKindID,AssetKinds,Screening candidate; not a measured missing-index recommendation
|
||||
AuthorPlotSeeds,0,FK_AuthorPlotSeeds_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
AuthorPlotSeeds,0,FK_AuthorPlotSeeds_MatchedPlotLines,MatchedPlotLineID,PlotLines,Screening candidate; not a measured missing-index recommendation
|
||||
BookRecoveryOperations,0,FK_BookRecoveryOperations_User,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
Chapters,626,FK_Chapters_ChapterPurposeTypes,ChapterPurposeID,ChapterPurposeTypes,Screening candidate; not a measured missing-index recommendation
|
||||
Chapters,626,FK_Chapters_RevisionStatuses,RevisionStatusID,RevisionStatuses,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterAttributeEvents,0,FK_CharacterAttributeEvents_Characters,CharacterID,Characters,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterAttributeEvents,0,FK_CharacterAttributeEvents_Types,CharacterAttributeTypeID,CharacterAttributeTypes,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterAttributeEvents,0,FK_CharacterAttributeEvents_Scenes,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterAttributeTypes,0,FK_CharacterAttributeTypes_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterEnrichmentEvidence,68,FK_CharacterEnrichmentEvidence_Run,CharacterEnrichmentRunID,CharacterEnrichmentRuns,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterEnrichmentEvidence,68,FK_CharacterEnrichmentEvidence_Scene,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterEnrichmentRuns,1,FK_CharacterEnrichmentRuns_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterEnrichmentRuns,1,FK_CharacterEnrichmentRuns_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterEnrichmentRuns,1,FK_CharacterEnrichmentRuns_AppUser,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterEnrichmentRuns,1,FK_CharacterEnrichmentRuns_Pipeline,StoryIntelligenceBookPipelineID,StoryIntelligenceBookPipelines,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterImages,0,FK_CharacterImages_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterIntelligenceEvidenceEvents,2593,FK_CharacterIntelligenceEvidenceEvents_SceneResult,SceneResultID,StoryIntelligenceSceneResults,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterIntelligenceProfiles,213,FK_CharacterIntelligenceProfiles_LastSceneResult,LastUpdatedSceneResultID,StoryIntelligenceSceneResults,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterKnowledge,275,FK_CharacterKnowledge_Characters,CharacterID,Characters,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterKnowledge,275,FK_CharacterKnowledge_StoryAssets,StoryAssetID,StoryAssets,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterKnowledge,275,FK_CharacterKnowledge_PlotThreads,PlotThreadID,PlotThreads,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterKnowledge,275,FK_CharacterKnowledge_States,KnowledgeStateID,KnowledgeStates,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterRelationships,154,FK_CharacterRelationships_InitialBook,InitialBookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterRelationships,154,FK_CharacterRelationships_InitialState,InitialRelationshipStateID,RelationshipStates,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterRelationships,154,FK_CharacterRelationships_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterRelationships,154,FK_CharacterRelationships_CharacterA,CharacterAID,Characters,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterRelationships,154,FK_CharacterRelationships_CharacterB,CharacterBID,Characters,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterRelationships,154,FK_CharacterRelationships_Types,RelationshipTypeID,RelationshipTypes,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterRelationships,154,FK_CharacterRelationships_StartScene,StartSceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterRelationships,154,FK_CharacterRelationships_EndScene,EndSceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
Characters,70,FK_Characters_CharacterSexValues,SexValueID,CharacterSexValues,Screening candidate; not a measured missing-index recommendation
|
||||
Characters,70,FK_Characters_AgeReferenceScene,AgeReferenceSceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
CharacterSexValues,3,FK_CharacterSexValues_AppUser,OwnerUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
ContinuityWarningAcknowledgements,0,FK_ContinuityWarningAcknowledgements_Scenes,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
ContinuityWarningAcknowledgements,0,FK_ContinuityWarningAcknowledgements_Characters,CharacterID,Characters,Screening candidate; not a measured missing-index recommendation
|
||||
ContinuityWarningAcknowledgements,0,FK_ContinuityWarningAcknowledgements_Assets,AssetID,StoryAssets,Screening candidate; not a measured missing-index recommendation
|
||||
ContinuityWarningAcknowledgements,0,FK_ContinuityWarningAcknowledgements_AppUser,AcknowledgedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
ContinuityWarnings,370,FK_ContinuityWarnings_ValidationRuns,ValidationRunID,ValidationRuns,Screening candidate; not a measured missing-index recommendation
|
||||
ContinuityWarnings,370,FK_ContinuityWarnings_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
ContinuityWarnings,370,FK_ContinuityWarnings_Chapters,ChapterID,Chapters,Screening candidate; not a measured missing-index recommendation
|
||||
ContinuityWarnings,370,FK_ContinuityWarnings_Scenes,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
ContinuityWarnings,370,FK_ContinuityWarnings_Types,WarningTypeID,WarningTypes,Screening candidate; not a measured missing-index recommendation
|
||||
ContinuityWarnings,370,FK_ContinuityWarnings_Severities,WarningSeverityID,WarningSeverities,Screening candidate; not a measured missing-index recommendation
|
||||
CoreImportBasicLocationCandidates,33,FK_CoreImportBasicLocationCandidates_LocationParent,ParentLocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
CoreImportBasicLocationCandidates,33,FK_CoreImportBasicLocationCandidates_ExistingLocation,ExistingLocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
CoreImportBasicLocationCandidates,33,FK_CoreImportBasicLocationCandidates_SameAsLocation,SameAsLocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
CoreImportBasicLocationCandidates,33,FK_CoreImportBasicLocationCandidates_ResultLocation,ResultLocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
CoreImportBasicLocationReviews,1,FK_CoreImportBasicLocationReviews_Book,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
FeatureRequestMessages,0,FK_FeatureRequestMessages_AppUser,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
FloorPlanFloors,0,FK_FloorPlanFloors_Locations,LocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
FloorPlans,0,FK_FloorPlans_Locations,LocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
FloorPlanTransitions,0,FK_FloorPlanTransitions_FromLocations,FromLocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
FloorPlanTransitions,0,FK_FloorPlanTransitions_ToLocations,ToLocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
GenreMetricPresetMetrics,0,FK_GenreMetricPresetMetrics_MetricTypes,MetricTypeID,SceneMetricTypes,Screening candidate; not a measured missing-index recommendation
|
||||
IllustrationLibraryItems,1265,FK_IllustrationLibraryItems_RejectedBy,RejectedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
IllustrationLibraryItems,1265,FK_IllustrationLibraryItems_Parent,ParentItemID,IllustrationLibraryItems,Screening candidate; not a measured missing-index recommendation
|
||||
IllustrationLibraryItems,1265,FK_IllustrationLibraryItems_ApprovedBy,ApprovedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
LocationRelationships,0,FK_LocationRelationships_From,FromLocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
LocationRelationships,0,FK_LocationRelationships_To,ToLocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
LocationRelationships,0,FK_LocationRelationships_Types,LocationRelationshipTypeID,LocationRelationshipTypes,Screening candidate; not a measured missing-index recommendation
|
||||
Locations,67,FK_Locations_Types,LocationTypeID,LocationTypes,Screening candidate; not a measured missing-index recommendation
|
||||
ManuscriptDocuments,1,FK_ManuscriptDocuments_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
ManuscriptDocuments,1,FK_ManuscriptDocuments_AppUser,CreatedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
ManuscriptStructuralChapterSources,48,FK_ManuscriptStructuralChapterSources_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
ManuscriptStructuralChapterSources,48,FK_ManuscriptStructuralChapterSources_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
MapFeatures,39,FK_MapFeatures_Location,LocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
MapFeatures,39,FK_MapFeatures_FloorPlan,FloorPlanID,FloorPlans,Screening candidate; not a measured missing-index recommendation
|
||||
MapRelationships,0,FK_MapRelationships_Source,"MapID,SourceID",MapFeatures,Screening candidate; not a measured missing-index recommendation
|
||||
MapRelationships,0,FK_MapRelationships_Target,"MapID,TargetID",MapFeatures,Screening candidate; not a measured missing-index recommendation
|
||||
NameRelationships,525,FK_NameRelationships_FromGivenName,FromGivenNameID,GivenNames,Screening candidate; not a measured missing-index recommendation
|
||||
NameRelationships,525,FK_NameRelationships_ToGivenName,ToGivenNameID,GivenNames,Screening candidate; not a measured missing-index recommendation
|
||||
NameUsages,92010,FK_NameUsages_NameLocale,NameLocaleID,NameLocales,Screening candidate; not a measured missing-index recommendation
|
||||
OnboardingManuscriptBuildChapterMap,48,FK_OnboardingManuscriptBuildChapterMap_Chapters,ChapterID,Chapters,Screening candidate; not a measured missing-index recommendation
|
||||
OnboardingManuscriptBuildCharacterMap,0,FK_OnboardingManuscriptBuildCharacterMap_Characters,CharacterID,Characters,Screening candidate; not a measured missing-index recommendation
|
||||
OnboardingManuscriptBuilds,1,FK_OnboardingManuscriptBuilds_AppUser,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
OnboardingManuscriptBuilds,1,FK_OnboardingManuscriptBuilds_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
OnboardingManuscriptBuilds,1,FK_OnboardingManuscriptBuilds_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
OnboardingManuscriptBuilds,1,FK_OnboardingManuscriptBuilds_ManuscriptDocuments,ManuscriptDocumentID,ManuscriptDocuments,Screening candidate; not a measured missing-index recommendation
|
||||
OnboardingManuscriptBuildSceneMap,290,FK_OnboardingManuscriptBuildSceneMap_Scenes,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
OnboardingManuscriptCaptures,1,FK_OnboardingManuscriptCaptures_Book,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
PlotEventTargetPlotLines,0,FK_PlotEventTargetPlotLines_PlotLines,PlotLineID,PlotLines,Screening candidate; not a measured missing-index recommendation
|
||||
PlotLines,4,FK_PlotLines_PlotImportance,PlotImportanceID,PlotImportance,Screening candidate; not a measured missing-index recommendation
|
||||
PlotLines,4,FK_PlotLines_EmergesFromPlotLine,EmergesFromPlotLineID,PlotLines,Screening candidate; not a measured missing-index recommendation
|
||||
PlotLines,4,FK_PlotLines_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
PlotLines,4,FK_PlotLines_PlotLineTypes,PlotLineTypeID,PlotLineTypes,Screening candidate; not a measured missing-index recommendation
|
||||
PlotLines,4,FK_PlotLines_ParentPlotLines,ParentPlotLineID,PlotLines,Screening candidate; not a measured missing-index recommendation
|
||||
PlotThreads,12,FK_PlotThreads_ThreadTypes,ThreadTypeID,ThreadTypes,Screening candidate; not a measured missing-index recommendation
|
||||
PlotThreads,12,FK_PlotThreads_ThreadStatuses,ThreadStatusID,ThreadStatuses,Screening candidate; not a measured missing-index recommendation
|
||||
PlotThreads,12,FK_PlotThreads_IntroducedScene,IntroducedSceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
PlotThreads,12,FK_PlotThreads_PlannedResolutionScene,PlannedResolutionSceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
PlotThreads,12,FK_PlotThreads_ActualResolutionScene,ActualResolutionSceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
ProjectActivity,58,FK_ProjectActivity_User,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
ProjectInvitation,0,FK_ProjectInvitation_InvitedByUser,InvitedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
ProjectInvitation,0,FK_ProjectInvitation_AcceptedByUser,AcceptedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
ProjectRestoreHistory,0,FK_ProjectRestoreHistory_SourceRestorePoint,SourceRestorePointID,ProjectRestorePoints,Screening candidate; not a measured missing-index recommendation
|
||||
ProjectRestoreHistory,0,FK_ProjectRestoreHistory_SafetyRestorePoint,SafetyRestorePointID,ProjectRestorePoints,Screening candidate; not a measured missing-index recommendation
|
||||
ProjectTimelineMetricSettings,154,FK_ProjectTimelineMetricSettings_SceneMetricTypes,MetricTypeID,SceneMetricTypes,Screening candidate; not a measured missing-index recommendation
|
||||
ProjectUserAccess,14,FK_ProjectUserAccess_Project,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
ProjectUserAccess,14,FK_ProjectUserAccess_InvitedByUser,InvitedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
RelationshipEvents,398,FK_RelationshipEvents_Relationships,CharacterRelationshipID,CharacterRelationships,Screening candidate; not a measured missing-index recommendation
|
||||
RelationshipEvents,398,FK_RelationshipEvents_States,RelationshipStateID,RelationshipStates,Screening candidate; not a measured missing-index recommendation
|
||||
RelationshipTypes,31,FK_RelationshipTypes_Categories,RelationshipCategoryID,RelationshipCategories,Screening candidate; not a measured missing-index recommendation
|
||||
Scenarios,0,FK_Scenarios_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
Scenarios,0,FK_Scenarios_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
ScenarioSceneOrder,0,FK_ScenarioSceneOrder_Scenes,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
ScenarioSceneOrder,0,FK_ScenarioSceneOrder_Chapters,ProposedChapterID,Chapters,Screening candidate; not a measured missing-index recommendation
|
||||
ScenarioValidationRuns,0,FK_ScenarioValidationRuns_Scenarios,ScenarioID,Scenarios,Screening candidate; not a measured missing-index recommendation
|
||||
ScenarioWarnings,0,FK_ScenarioWarnings_Runs,ScenarioValidationRunID,ScenarioValidationRuns,Screening candidate; not a measured missing-index recommendation
|
||||
ScenarioWarnings,0,FK_ScenarioWarnings_Scenarios,ScenarioID,Scenarios,Screening candidate; not a measured missing-index recommendation
|
||||
ScenarioWarnings,0,FK_ScenarioWarnings_Scenes,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
SceneAssetLocations,0,FK_SceneAssetLocations_StoryAssets,StoryAssetID,StoryAssets,Screening candidate; not a measured missing-index recommendation
|
||||
SceneAssetSuggestions,0,FK_SceneAssetSuggestions_StoryAssets,AssetID,StoryAssets,Screening candidate; not a measured missing-index recommendation
|
||||
SceneAssetSuggestions,0,FK_SceneAssetSuggestions_CreatedByUser,CreatedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
SceneAssetSuggestions,0,FK_SceneAssetSuggestions_ReviewedByUser,ReviewedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
SceneAttachments,0,FK_SceneAttachments_Types,SceneAttachmentTypeID,SceneAttachmentTypes,Screening candidate; not a measured missing-index recommendation
|
||||
SceneCharacters,1427,FK_SceneCharacters_RoleTypes,RoleInSceneTypeID,CharacterRoleInSceneTypes,Screening candidate; not a measured missing-index recommendation
|
||||
SceneCharacters,1427,FK_SceneCharacters_PresenceTypes,PresenceTypeID,PresenceTypes,Screening candidate; not a measured missing-index recommendation
|
||||
SceneCharacterSuggestions,0,FK_SceneCharacterSuggestions_Characters,CharacterID,Characters,Screening candidate; not a measured missing-index recommendation
|
||||
SceneCharacterSuggestions,0,FK_SceneCharacterSuggestions_CreatedByUser,CreatedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
SceneCharacterSuggestions,0,FK_SceneCharacterSuggestions_ReviewedByUser,ReviewedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
SceneDependencies,0,FK_SceneDependencies_SourceScene,SourceSceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
SceneDependencies,0,FK_SceneDependencies_TargetScene,TargetSceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
SceneDependencies,0,FK_SceneDependencies_Types,SceneDependencyTypeID,SceneDependencyTypes,Screening candidate; not a measured missing-index recommendation
|
||||
SceneFloorPlanOccupancy,0,FK_SceneFloorPlanOccupancy_Scenes,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
SceneFloorPlanOccupancy,0,FK_SceneFloorPlanOccupancy_FloorPlanFloors,FloorPlanFloorID,FloorPlanFloors,Screening candidate; not a measured missing-index recommendation
|
||||
SceneFloorPlanOccupancy,0,FK_SceneFloorPlanOccupancy_Characters,CharacterID,Characters,Screening candidate; not a measured missing-index recommendation
|
||||
SceneFloorPlanOccupancy,0,FK_SceneFloorPlanOccupancy_StoryAssets,StoryAssetID,StoryAssets,Screening candidate; not a measured missing-index recommendation
|
||||
SceneLocationSuggestions,0,FK_SceneLocationSuggestions_Locations,LocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
SceneLocationSuggestions,0,FK_SceneLocationSuggestions_CreatedByUser,CreatedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
SceneLocationSuggestions,0,FK_SceneLocationSuggestions_ReviewedByUser,ReviewedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
SceneManuscriptSources,868,FK_SceneManuscriptSources_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
SceneManuscriptSources,868,FK_SceneManuscriptSources_Chapters,ChapterID,Chapters,Screening candidate; not a measured missing-index recommendation
|
||||
SceneMetricValues,3190,FK_SceneMetricValues_SceneMetricTypes,MetricTypeID,SceneMetricTypes,Screening candidate; not a measured missing-index recommendation
|
||||
SceneNotes,0,FK_SceneNotes_Types,SceneNoteTypeID,SceneNoteTypes,Screening candidate; not a measured missing-index recommendation
|
||||
SceneOutcomes,0,FK_SceneOutcomes_Scenes,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
ScenePurposes,0,FK_ScenePurposes_ScenePurposeTypes,ScenePurposeTypeID,ScenePurposeTypes,Screening candidate; not a measured missing-index recommendation
|
||||
Scenes,868,FK_Scenes_InitialFloorPlanFloors,InitialFloorPlanFloorID,FloorPlanFloors,Screening candidate; not a measured missing-index recommendation
|
||||
Scenes,868,FK_Scenes_StoryIntelligenceRuns_ImportRunID,ImportRunID,StoryIntelligenceRuns,Screening candidate; not a measured missing-index recommendation
|
||||
Scenes,868,FK_Scenes_TimeModes,TimeModeID,TimeModes,Screening candidate; not a measured missing-index recommendation
|
||||
Scenes,868,FK_Scenes_DurationUnits,DurationUnitID,DurationUnits,Screening candidate; not a measured missing-index recommendation
|
||||
Scenes,868,FK_Scenes_TimeConfidences,TimeConfidenceID,TimeConfidences,Screening candidate; not a measured missing-index recommendation
|
||||
Scenes,868,FK_Scenes_RevisionStatuses,RevisionStatusID,RevisionStatuses,Screening candidate; not a measured missing-index recommendation
|
||||
StoryAssets,0,FK_StoryAssets_AssetKinds,AssetKindID,AssetKinds,Screening candidate; not a measured missing-index recommendation
|
||||
StoryAssets,0,FK_StoryAssets_CurrentState,CurrentStateID,AssetStates,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceBookPipelines,1,FK_StoryIntelligenceBookPipelines_LastRun,LastRunID,StoryIntelligenceRuns,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceConsents,0,FK_StoryIntelligenceConsents_AppUser,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceConsents,0,FK_StoryIntelligenceConsents_UserOnboardingState,UserOnboardingStateID,UserOnboardingState,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceConsents,0,FK_StoryIntelligenceConsents_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceConsents,0,FK_StoryIntelligenceConsents_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceImportCommits,0,FK_StoryIntelligenceImportCommits_Runs,StoryIntelligenceRunID,StoryIntelligenceRuns,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceImportCommits,0,FK_StoryIntelligenceImportCommits_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceImportCommits,0,FK_StoryIntelligenceImportCommits_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceImportCommits,0,FK_StoryIntelligenceImportCommits_Chapters,ChapterID,Chapters,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceImportCommits,0,FK_StoryIntelligenceImportCommits_AppUser,CommittedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceJobs,0,FK_StoryIntelligenceJobs_Consent,StoryIntelligenceConsentID,StoryIntelligenceConsents,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceJobs,0,FK_StoryIntelligenceJobs_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceJobs,0,FK_StoryIntelligenceJobs_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidateEvents,39,FK_StoryIntelligenceNarrativeCandidateEvents_SynthesisRun,WholeBookPlotSynthesisRunID,WholeBookPlotSynthesisRuns,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidateEvents,39,FK_StoryIntelligenceNarrativeCandidateEvents_Scenes,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidateEvents,39,FK_StoryIntelligenceNarrativeCandidateEvents_AcceptedThreadEvents,AcceptedThreadEventID,ThreadEvents,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidateEvidence,633,FK_StoryIntelligenceNarrativeCandidateEvidence_Scenes,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidates,47,FK_StoryIntelligenceNarrativeCandidates_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidates,47,FK_StoryIntelligenceNarrativeCandidates_ExistingPlotLines,ExistingPlotLineID,PlotLines,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidates,47,FK_StoryIntelligenceNarrativeCandidates_RelatedPlotLines,RelatedPlotLineID,PlotLines,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidates,47,FK_StoryIntelligenceNarrativeCandidates_AcceptedPlotLines,AcceptedPlotLineID,PlotLines,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidates,47,FK_StoryIntelligenceNarrativeCandidates_ExistingPlotThreads,ExistingPlotThreadID,PlotThreads,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidates,47,FK_StoryIntelligenceNarrativeCandidates_AcceptedPlotThreads,AcceptedPlotThreadID,PlotThreads,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidates,47,FK_StoryIntelligenceNarrativeCandidates_ParentCandidate,ParentNarrativeCandidateID,StoryIntelligenceNarrativeCandidates,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceNarrativeCandidates,47,FK_StoryIntelligenceNarrativeCandidates_MergeTarget,MergeTargetNarrativeCandidateID,StoryIntelligenceNarrativeCandidates,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceReviewCandidateEvidence,9590,FK_StoryIntelligenceReviewCandidateEvidence_Scene,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceReviewCandidateGenerations,29,FK_StoryIntelligenceReviewCandidateGenerations_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceReviewCandidateGenerations,29,FK_StoryIntelligenceReviewCandidateGenerations_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceRuns,48,FK_StoryIntelligenceRuns_AppUser,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceRuns,48,FK_StoryIntelligenceRuns_Chapters,ChapterID,Chapters,Screening candidate; not a measured missing-index recommendation
|
||||
StoryIntelligenceSceneResults,290,FK_StoryIntelligenceSceneResults_ChapterResult,ChapterResultID,StoryIntelligenceChapterResults,Screening candidate; not a measured missing-index recommendation
|
||||
StoryMemoryCharacterAttributes,1847,FK_StoryMemoryCharacterAttributes_Character,StoryMemoryCharacterID,StoryMemoryCharacters,Screening candidate; not a measured missing-index recommendation
|
||||
StoryMemoryIllustrationAssignments,1076,FK_StoryMemoryIllustrationAssignments_ImportSession,ImportSessionID,StoryIntelligenceBookPipelines,Screening candidate; not a measured missing-index recommendation
|
||||
StoryMemoryIllustrationAssignments,1076,FK_StoryMemoryIllustrationAssignments_Illustration,IllustrationLibraryItemID,IllustrationLibraryItems,Screening candidate; not a measured missing-index recommendation
|
||||
StoryMemoryProcessedSceneResults,290,FK_StoryMemoryProcessedSceneResults_SceneResult,SceneResultID,StoryIntelligenceSceneResults,Screening candidate; not a measured missing-index recommendation
|
||||
StoryMemoryRelationships,373,FK_StoryMemoryRelationships_ImportSession,ImportSessionID,StoryIntelligenceBookPipelines,Screening candidate; not a measured missing-index recommendation
|
||||
SubscriptionAdministrationAudit,2,FK_SubscriptionAdministrationAudit_User,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
SubscriptionAdministrationAudit,2,FK_SubscriptionAdministrationAudit_Admin,AdministratorUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
SubscriptionOverride,1,FK_SubscriptionOverride_Level,SubscriptionLevelID,SubscriptionLevel,Screening candidate; not a measured missing-index recommendation
|
||||
SubscriptionOverride,1,FK_SubscriptionOverride_CreatedBy,CreatedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
SubscriptionOverride,1,FK_SubscriptionOverride_ModifiedBy,ModifiedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
SubscriptionOverride,1,FK_SubscriptionOverride_RevokedBy,RevokedByUserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
ThreadEvents,39,FK_ThreadEvents_TargetPlotLines,TargetPlotLineID,PlotLines,Screening candidate; not a measured missing-index recommendation
|
||||
ThreadEvents,39,FK_ThreadEvents_ThreadEventTypes,EventTypeID,ThreadEventTypes,Screening candidate; not a measured missing-index recommendation
|
||||
TimelineViewPresets,0,FK_TimelineViewPresets_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
UserOnboardingState,1,FK_UserOnboardingState_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
UserOnboardingState,1,FK_UserOnboardingState_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
UserSubscription,1,FK_UserSubscription_AppUser,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
UserSubscription,1,FK_UserSubscription_SubscriptionLevel,SubscriptionLevelID,SubscriptionLevel,Screening candidate; not a measured missing-index recommendation
|
||||
ValidationRuns,0,FK_ValidationRuns_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
ValidationRuns,0,FK_ValidationRuns_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
WholeBookPlotSynthesisRuns,1,FK_WholeBookPlotSynthesisRuns_Projects,ProjectID,Projects,Screening candidate; not a measured missing-index recommendation
|
||||
WholeBookPlotSynthesisRuns,1,FK_WholeBookPlotSynthesisRuns_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
WholeBookPlotSynthesisRuns,1,FK_WholeBookPlotSynthesisRuns_AppUser,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
WholeBookPlotSynthesisRuns,1,FK_WholeBookPlotSynthesisRuns_SourceRun,SourceStoryIntelligenceRunID,StoryIntelligenceRuns,Screening candidate; not a measured missing-index recommendation
|
||||
WordCompanionSceneAssets,0,FK_WordCompanionSceneAssets_StoryAssets,StoryAssetID,StoryAssets,Screening candidate; not a measured missing-index recommendation
|
||||
WordCompanionSceneLocations,0,FK_WordCompanionSceneLocations_Locations,LocationID,Locations,Screening candidate; not a measured missing-index recommendation
|
||||
WriterActivities,0,FK_WriterActivities_Book,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
WriterInvestigations,12,FK__WriterInv__BookI__526F16A8,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
WriterInvestigations,12,FK__WriterInv__Catal__53633AE1,CatalogueVersion,WriterInvestigationCatalogues,Screening candidate; not a measured missing-index recommendation
|
||||
WriterPlannedActivities,0,FK_WriterPlanned_Book,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
WriterPlannedActivities,0,FK_WriterPlanned_Chapter,ChapterID,Chapters,Screening candidate; not a measured missing-index recommendation
|
||||
WriterPlannedActivities,0,FK_WriterPlanned_Scene,SceneID,Scenes,Screening candidate; not a measured missing-index recommendation
|
||||
WriterReviewObservations,1,FK_WriterReview_Chapter,ChapterID,Chapters,Screening candidate; not a measured missing-index recommendation
|
||||
WriterReviewObservations,1,FK_WriterReview_Book,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
WriterWorkingObjectives,1,FK__WriterWor__UserI__1471E42F,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
WriterWorkSessions,8,FK__WriterWor__UserI__1A2ABD85,UserID,AppUser,Screening candidate; not a measured missing-index recommendation
|
||||
WritingPlans,1,FK_WritingPlans_Books,BookID,Books,Screening candidate; not a measured missing-index recommendation
|
||||
|
228
Docs/Database/SQL-Performance-Audit-20261118/http-after.json
Normal file
@ -0,0 +1,228 @@
|
||||
[
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 0,
|
||||
"ms": 482.98183399999994,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 1,
|
||||
"ms": 156.17875400000003,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 2,
|
||||
"ms": 94.571911,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 3,
|
||||
"ms": 61.68174299999964,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 4,
|
||||
"ms": 61.089018000000124,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 5,
|
||||
"ms": 58.91734799999995,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 0,
|
||||
"ms": 463.46575699999994,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 1,
|
||||
"ms": 101.28656299999966,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 2,
|
||||
"ms": 101.50139399999989,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 3,
|
||||
"ms": 70.03843700000016,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 4,
|
||||
"ms": 79.33233999999993,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 5,
|
||||
"ms": 77.56838999999991,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 0,
|
||||
"ms": 163.76969099999997,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 1,
|
||||
"ms": 68.19917799999985,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 2,
|
||||
"ms": 56.55031299999973,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 3,
|
||||
"ms": 51.9620460000001,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 4,
|
||||
"ms": 50.140248000000156,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 5,
|
||||
"ms": 48.34890799999994,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 0,
|
||||
"ms": 177.8182710000001,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 1,
|
||||
"ms": 49.13304000000062,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 2,
|
||||
"ms": 50.85816799999975,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 3,
|
||||
"ms": 49.232756000000336,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 4,
|
||||
"ms": 48.84671700000035,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 5,
|
||||
"ms": 48.02044600000045,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"pwa": false,
|
||||
"acceptedTextSha256": "0403c2e970e58affef735768a7f49919d85cb354c461a559a8f697848d2bb295"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"pwa": true,
|
||||
"acceptedTextSha256": "0403c2e970e58affef735768a7f49919d85cb354c461a559a8f697848d2bb295"
|
||||
}
|
||||
]
|
||||
228
Docs/Database/SQL-Performance-Audit-20261118/http-before.json
Normal file
@ -0,0 +1,228 @@
|
||||
[
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 0,
|
||||
"ms": 99.02211499999999,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 1,
|
||||
"ms": 58.74523299999987,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 2,
|
||||
"ms": 55.553280000000086,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 3,
|
||||
"ms": 56.89857899999993,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 4,
|
||||
"ms": 44.40975900000012,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "plot",
|
||||
"repeat": 5,
|
||||
"ms": 44.47372900000005,
|
||||
"bytes": 117801,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 0,
|
||||
"ms": 70.37414000000012,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 1,
|
||||
"ms": 67.75887200000011,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 2,
|
||||
"ms": 66.97720499999991,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 3,
|
||||
"ms": 64.85230200000001,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 4,
|
||||
"ms": 60.27677999999992,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"repeat": 5,
|
||||
"ms": 66.82322799999997,
|
||||
"bytes": 292839,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 0,
|
||||
"ms": 47.31924499999991,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 1,
|
||||
"ms": 58.42124899999999,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 2,
|
||||
"ms": 47.45012900000006,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 3,
|
||||
"ms": 35.63024699999983,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 4,
|
||||
"ms": 36.71053200000006,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "book",
|
||||
"repeat": 5,
|
||||
"ms": 38.881268999999975,
|
||||
"bytes": 129708,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 0,
|
||||
"ms": 50.519292999999834,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 1,
|
||||
"ms": 40.57896500000015,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 2,
|
||||
"ms": 38.478407999999945,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 3,
|
||||
"ms": 41.530309000000216,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 4,
|
||||
"ms": 39.34411199999977,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "maps",
|
||||
"repeat": 5,
|
||||
"ms": 40.3761370000002,
|
||||
"bytes": 137354,
|
||||
"dbCommandCount": null,
|
||||
"totalDbTimeMs": null,
|
||||
"note": "Authenticated small synthetic fixture; HTTP includes network and server render; no per-request SQL interceptor available"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"pwa": false,
|
||||
"acceptedTextSha256": "0403c2e970e58affef735768a7f49919d85cb354c461a559a8f697848d2bb295"
|
||||
},
|
||||
{
|
||||
"area": "reader",
|
||||
"pwa": true,
|
||||
"acceptedTextSha256": "0403c2e970e58affef735768a7f49919d85cb354c461a559a8f697848d2bb295"
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,3 @@
|
||||
table,index_a,index_b,kind,a_kb,b_kb,a_reads,b_reads
|
||||
SceneCharacters,IX_SceneCharacters_SceneID,IX_SceneCharacters_SceneID_TimelineOverview,"same keys, differing INCLUDE",64,192,218,21175
|
||||
StoryIntelligenceNarrativeCandidates,IX_StoryIntelligenceNarrativeCandidates_Status,IX_StoryIntelligenceNarrativeCandidates_Book_Status_Type,"same keys, differing INCLUDE",16,16,0,201
|
||||
|
@ -0,0 +1,34 @@
|
||||
file,line,method,operation,tables,reason,proposed_procedure,compatibility,risk,status
|
||||
PlotLine/Services/StoryIntelligenceDevelopmentResetService.cs,21,StoryIntelligenceDevelopmentResetService.ResetOwnedProjectsAndImportsAsync,DELETE/INSERT/SELECT/UPDATE,Books; ProjectUserAccess; Projects; StoryIntelligenceBookPipelines; StoryIntelligenceCharacterIllustrationAssignments; StoryIntelligenceIllustrationDemands; StoryIntelligenceRuns; StoryMemoryAssets; StoryMemoryCharacterAliases; StoryMemoryCharacterAttributes; StoryMemoryCharacters; StoryMemoryIllustrationAssignments; StoryMemoryIllustrationDemands; StoryMemoryImportPreferences; StoryMemoryLocations; StoryMemoryProcessedSceneResults; StoryMemoryRelationships,Runtime executable SQL outside stored procedure layer,dbo.StoryIntelligenceDevelopmentReset_Prepare,Separate migration and legacy-state/write/concurrency qualification,High: reset/runtime DDL,Deferred
|
||||
PlotLine/Services/StoryIntelligenceDevelopmentResetService.cs,30,StoryIntelligenceDevelopmentResetService.ResetOwnedProjectsAndImportsAsync,SELECT,IllustrationLibraryItems; ProjectUserAccess; Projects; StoryIntelligenceBookPipelines; StoryIntelligenceRuns,Runtime executable SQL outside stored procedure layer,dbo.StoryIntelligenceDevelopmentReset_Verify,Separate migration and legacy-state/write/concurrency qualification,High: reset/runtime DDL,Deferred
|
||||
PlotLine/Data/OnboardingRepository.cs,72,OnboardingRepository.ClearWritingSoftwareAsync,UPDATE,UserOnboardingState,Runtime executable SQL outside stored procedure layer,dbo.UserOnboarding_ClearWritingSoftware,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,39,StoryMemoryRepository.ClearDerivedStateAsync,DELETE,StoryMemoryAssets; StoryMemoryCharacterAliases; StoryMemoryCharacterAttributes; StoryMemoryCharacters; StoryMemoryIllustrationAssignments; StoryMemoryIllustrationDemands; StoryMemoryLocations; StoryMemoryProcessedSceneResults; StoryMemoryRelationships,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_ClearDerivedState,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/StoryMemoryRepository.cs,63,StoryMemoryRepository.ListProcessedSceneResultIdsAsync,SELECT,StoryMemoryProcessedSceneResults,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_ListProcessedSceneResultIds,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,77,StoryMemoryRepository.MarkSceneResultProcessedAsync,INSERT/MERGE/SELECT/UPDATE,StoryMemoryProcessedSceneResults,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_MarkSceneResultProcessed,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/StoryMemoryRepository.cs,96,StoryMemoryRepository.UpsertCharacterAsync,INSERT/MERGE/SELECT/UPDATE,StoryMemoryCharacters,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_UpsertCharacter,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/StoryMemoryRepository.cs,131,StoryMemoryRepository.AddCharacterAliasAsync,INSERT/MERGE/SELECT,StoryMemoryCharacterAliases,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_AddCharacterAlias,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/StoryMemoryRepository.cs,148,StoryMemoryRepository.AddCharacterAttributeAsync,INSERT/MERGE/SELECT/UPDATE,StoryMemoryCharacterAttributes,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_AddCharacterAttribute,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/StoryMemoryRepository.cs,171,StoryMemoryRepository.UpsertLocationAsync,INSERT/MERGE/SELECT/UPDATE,StoryMemoryLocations,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_UpsertLocation,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/StoryMemoryRepository.cs,198,StoryMemoryRepository.UpsertAssetAsync,INSERT/MERGE/SELECT/UPDATE,StoryMemoryAssets,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_UpsertAsset,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/StoryMemoryRepository.cs,226,StoryMemoryRepository.UpsertRelationshipAsync,INSERT/MERGE/SELECT/UPDATE,StoryMemoryRelationships,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_UpsertRelationship,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/StoryMemoryRepository.cs,252,StoryMemoryRepository.ListCharactersAsync,SELECT,StoryMemoryCharacters,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_ListCharacters,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,258,StoryMemoryRepository.ListCharacterAttributesAsync,SELECT,StoryMemoryCharacterAttributes; StoryMemoryCharacters,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_ListCharacterAttributes,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,272,StoryMemoryRepository.ListLocationsAsync,SELECT,StoryMemoryLocations,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_ListLocations,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,278,StoryMemoryRepository.ListAssetsAsync,SELECT,StoryMemoryAssets,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_ListAssets,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,284,StoryMemoryRepository.ListAssignmentsAsync,SELECT,StoryMemoryIllustrationAssignments,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_ListAssignments,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,290,StoryMemoryRepository.GetAssignmentAsync,SELECT,StoryMemoryIllustrationAssignments,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_GetAssignment,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,298,StoryMemoryRepository.UpsertAssignmentAsync,INSERT/MERGE/SELECT/UPDATE,StoryMemoryIllustrationAssignments,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_UpsertAssignment,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/StoryMemoryRepository.cs,327,StoryMemoryRepository.InvalidateAssignmentAsync,UPDATE,StoryMemoryIllustrationAssignments,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_InvalidateAssignment,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,342,StoryMemoryRepository.UpsertDemandAsync,INSERT/MERGE/SELECT/UPDATE,StoryMemoryIllustrationDemands,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_UpsertDemand,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/StoryMemoryRepository.cs,370,StoryMemoryRepository.ListDemandsAsync,SELECT,StoryMemoryIllustrationDemands,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_ListDemands,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,386,StoryMemoryRepository.GetImportContextAsync,SELECT,StoryMemoryImportPreferences,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_GetImportContext,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,407,StoryMemoryRepository.SetImportContextAsync,INSERT/MERGE/SELECT/UPDATE,StoryMemoryImportPreferences,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_SetImportContext,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/StoryMemoryRepository.cs,434,StoryMemoryRepository.EnsureImportPreferenceContextColumnsAsync,ALTER,StoryMemoryImportPreferences,Runtime executable SQL outside stored procedure layer,Migration 283 only; runtime schema repair removed,Apply 283 column guards before caller deployment,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryMemoryRepository.cs,454,StoryMemoryRepository.GetDiagnosticsAsync,SELECT,StoryMemoryAssets; StoryMemoryCharacterAliases; StoryMemoryCharacterAttributes; StoryMemoryCharacters; StoryMemoryIllustrationAssignments; StoryMemoryIllustrationDemands; StoryMemoryImportPreferences; StoryMemoryLocations; StoryMemoryProcessedSceneResults; StoryMemoryRelationships,Runtime executable SQL outside stored procedure layer,dbo.StoryMemory_GetDiagnostics,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/IllustrationLibraryRepository.cs,193,IllustrationLibraryRepository.SupersedeRecoveredFailuresAsync,SELECT/UPDATE,IllustrationLibraryItems,Runtime executable SQL outside stored procedure layer,dbo.IllustrationLibrary_SupersedeRecoveredFailures,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/CharacterIntelligenceRepository.cs,18,CharacterIntelligenceRepository.ListProfilesAsync,SELECT,CharacterIntelligenceProfiles,Runtime executable SQL outside stored procedure layer,dbo.CharacterIntelligence_ListProfiles,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/CharacterIntelligenceRepository.cs,32,CharacterIntelligenceRepository.UpsertProfileAsync,INSERT/MERGE/SELECT/UPDATE,CharacterIntelligenceProfiles,Runtime executable SQL outside stored procedure layer,dbo.CharacterIntelligence_UpsertProfile,Separate migration and legacy-state/write/concurrency qualification,Moderate: compound mutation/identity/evidence/recovery semantics,Deferred
|
||||
PlotLine/Data/CharacterIntelligenceRepository.cs,63,CharacterIntelligenceRepository.AddEvidenceAsync,INSERT,CharacterIntelligenceEvidenceEvents,Runtime executable SQL outside stored procedure layer,dbo.CharacterIntelligence_AddEvidence,283 before caller deployment; contracts preserved,"Low, qualified",Fixed
|
||||
PlotLine/Data/StoryIntelligenceResultRepository.cs,210,StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync,ALTER,StoryIntelligenceRuns,Runtime executable SQL outside stored procedure layer,Forward-only column/procedure migration; remove runtime DDL,Separate migration and legacy-state/write/concurrency qualification,High: reset/runtime DDL,Deferred
|
||||
PlotLine/Data/StoryIntelligenceResultRepository.cs,218,StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync,ALTER/CREATE/INSERT/SELECT,StoryIntelligenceRun_QueueAdminText; StoryIntelligenceRuns,Runtime executable SQL outside stored procedure layer,Forward-only column/procedure migration; remove runtime DDL,Separate migration and legacy-state/write/concurrency qualification,High: reset/runtime DDL,Deferred
|
||||
PlotLine/Data/StoryIntelligenceResultRepository.cs,261,StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync,ALTER/CREATE/SELECT/UPDATE,StoryIntelligenceRun_ClaimNextPending; StoryIntelligenceRuns,Runtime executable SQL outside stored procedure layer,Forward-only column/procedure migration; remove runtime DDL,Separate migration and legacy-state/write/concurrency qualification,High: reset/runtime DDL,Deferred
|
||||
|
@ -0,0 +1,398 @@
|
||||
[
|
||||
{
|
||||
"file": "PlotLine/Services/StoryIntelligenceDevelopmentResetService.cs",
|
||||
"line": 21,
|
||||
"method": "StoryIntelligenceDevelopmentResetService.ResetOwnedProjectsAndImportsAsync",
|
||||
"operation": "DELETE/INSERT/SELECT/UPDATE",
|
||||
"tables": "Books; ProjectUserAccess; Projects; StoryIntelligenceBookPipelines; StoryIntelligenceCharacterIllustrationAssignments; StoryIntelligenceIllustrationDemands; StoryIntelligenceRuns; StoryMemoryAssets; StoryMemoryCharacterAliases; StoryMemoryCharacterAttributes; StoryMemoryCharacters; StoryMemoryIllustrationAssignments; StoryMemoryIllustrationDemands; StoryMemoryImportPreferences; StoryMemoryLocations; StoryMemoryProcessedSceneResults; StoryMemoryRelationships",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryIntelligenceDevelopmentReset_Prepare",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "High: reset/runtime DDL",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Services/StoryIntelligenceDevelopmentResetService.cs",
|
||||
"line": 30,
|
||||
"method": "StoryIntelligenceDevelopmentResetService.ResetOwnedProjectsAndImportsAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "IllustrationLibraryItems; ProjectUserAccess; Projects; StoryIntelligenceBookPipelines; StoryIntelligenceRuns",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryIntelligenceDevelopmentReset_Verify",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "High: reset/runtime DDL",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/OnboardingRepository.cs",
|
||||
"line": 72,
|
||||
"method": "OnboardingRepository.ClearWritingSoftwareAsync",
|
||||
"operation": "UPDATE",
|
||||
"tables": "UserOnboardingState",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.UserOnboarding_ClearWritingSoftware",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 39,
|
||||
"method": "StoryMemoryRepository.ClearDerivedStateAsync",
|
||||
"operation": "DELETE",
|
||||
"tables": "StoryMemoryAssets; StoryMemoryCharacterAliases; StoryMemoryCharacterAttributes; StoryMemoryCharacters; StoryMemoryIllustrationAssignments; StoryMemoryIllustrationDemands; StoryMemoryLocations; StoryMemoryProcessedSceneResults; StoryMemoryRelationships",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_ClearDerivedState",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 63,
|
||||
"method": "StoryMemoryRepository.ListProcessedSceneResultIdsAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "StoryMemoryProcessedSceneResults",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_ListProcessedSceneResultIds",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 77,
|
||||
"method": "StoryMemoryRepository.MarkSceneResultProcessedAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"tables": "StoryMemoryProcessedSceneResults",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_MarkSceneResultProcessed",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 96,
|
||||
"method": "StoryMemoryRepository.UpsertCharacterAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"tables": "StoryMemoryCharacters",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_UpsertCharacter",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 131,
|
||||
"method": "StoryMemoryRepository.AddCharacterAliasAsync",
|
||||
"operation": "INSERT/MERGE/SELECT",
|
||||
"tables": "StoryMemoryCharacterAliases",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_AddCharacterAlias",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 148,
|
||||
"method": "StoryMemoryRepository.AddCharacterAttributeAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"tables": "StoryMemoryCharacterAttributes",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_AddCharacterAttribute",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 171,
|
||||
"method": "StoryMemoryRepository.UpsertLocationAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"tables": "StoryMemoryLocations",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_UpsertLocation",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 198,
|
||||
"method": "StoryMemoryRepository.UpsertAssetAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"tables": "StoryMemoryAssets",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_UpsertAsset",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 226,
|
||||
"method": "StoryMemoryRepository.UpsertRelationshipAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"tables": "StoryMemoryRelationships",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_UpsertRelationship",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 252,
|
||||
"method": "StoryMemoryRepository.ListCharactersAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "StoryMemoryCharacters",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_ListCharacters",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 258,
|
||||
"method": "StoryMemoryRepository.ListCharacterAttributesAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "StoryMemoryCharacterAttributes; StoryMemoryCharacters",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_ListCharacterAttributes",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 272,
|
||||
"method": "StoryMemoryRepository.ListLocationsAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "StoryMemoryLocations",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_ListLocations",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 278,
|
||||
"method": "StoryMemoryRepository.ListAssetsAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "StoryMemoryAssets",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_ListAssets",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 284,
|
||||
"method": "StoryMemoryRepository.ListAssignmentsAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "StoryMemoryIllustrationAssignments",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_ListAssignments",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 290,
|
||||
"method": "StoryMemoryRepository.GetAssignmentAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "StoryMemoryIllustrationAssignments",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_GetAssignment",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 298,
|
||||
"method": "StoryMemoryRepository.UpsertAssignmentAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"tables": "StoryMemoryIllustrationAssignments",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_UpsertAssignment",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 327,
|
||||
"method": "StoryMemoryRepository.InvalidateAssignmentAsync",
|
||||
"operation": "UPDATE",
|
||||
"tables": "StoryMemoryIllustrationAssignments",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_InvalidateAssignment",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 342,
|
||||
"method": "StoryMemoryRepository.UpsertDemandAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"tables": "StoryMemoryIllustrationDemands",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_UpsertDemand",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 370,
|
||||
"method": "StoryMemoryRepository.ListDemandsAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "StoryMemoryIllustrationDemands",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_ListDemands",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 386,
|
||||
"method": "StoryMemoryRepository.GetImportContextAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "StoryMemoryImportPreferences",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_GetImportContext",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 407,
|
||||
"method": "StoryMemoryRepository.SetImportContextAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"tables": "StoryMemoryImportPreferences",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_SetImportContext",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 434,
|
||||
"method": "StoryMemoryRepository.EnsureImportPreferenceContextColumnsAsync",
|
||||
"operation": "ALTER",
|
||||
"tables": "StoryMemoryImportPreferences",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "Migration 283 only; runtime schema repair removed",
|
||||
"compatibility": "Apply 283 column guards before caller deployment",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryMemoryRepository.cs",
|
||||
"line": 454,
|
||||
"method": "StoryMemoryRepository.GetDiagnosticsAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "StoryMemoryAssets; StoryMemoryCharacterAliases; StoryMemoryCharacterAttributes; StoryMemoryCharacters; StoryMemoryIllustrationAssignments; StoryMemoryIllustrationDemands; StoryMemoryImportPreferences; StoryMemoryLocations; StoryMemoryProcessedSceneResults; StoryMemoryRelationships",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.StoryMemory_GetDiagnostics",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/IllustrationLibraryRepository.cs",
|
||||
"line": 193,
|
||||
"method": "IllustrationLibraryRepository.SupersedeRecoveredFailuresAsync",
|
||||
"operation": "SELECT/UPDATE",
|
||||
"tables": "IllustrationLibraryItems",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.IllustrationLibrary_SupersedeRecoveredFailures",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/CharacterIntelligenceRepository.cs",
|
||||
"line": 18,
|
||||
"method": "CharacterIntelligenceRepository.ListProfilesAsync",
|
||||
"operation": "SELECT",
|
||||
"tables": "CharacterIntelligenceProfiles",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.CharacterIntelligence_ListProfiles",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/CharacterIntelligenceRepository.cs",
|
||||
"line": 32,
|
||||
"method": "CharacterIntelligenceRepository.UpsertProfileAsync",
|
||||
"operation": "INSERT/MERGE/SELECT/UPDATE",
|
||||
"tables": "CharacterIntelligenceProfiles",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.CharacterIntelligence_UpsertProfile",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "Moderate: compound mutation/identity/evidence/recovery semantics",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/CharacterIntelligenceRepository.cs",
|
||||
"line": 63,
|
||||
"method": "CharacterIntelligenceRepository.AddEvidenceAsync",
|
||||
"operation": "INSERT",
|
||||
"tables": "CharacterIntelligenceEvidenceEvents",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "dbo.CharacterIntelligence_AddEvidence",
|
||||
"compatibility": "283 before caller deployment; contracts preserved",
|
||||
"risk": "Low, qualified",
|
||||
"status": "Fixed"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryIntelligenceResultRepository.cs",
|
||||
"line": 210,
|
||||
"method": "StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync",
|
||||
"operation": "ALTER",
|
||||
"tables": "StoryIntelligenceRuns",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "Forward-only column/procedure migration; remove runtime DDL",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "High: reset/runtime DDL",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryIntelligenceResultRepository.cs",
|
||||
"line": 218,
|
||||
"method": "StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync",
|
||||
"operation": "ALTER/CREATE/INSERT/SELECT",
|
||||
"tables": "StoryIntelligenceRun_QueueAdminText; StoryIntelligenceRuns",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "Forward-only column/procedure migration; remove runtime DDL",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "High: reset/runtime DDL",
|
||||
"status": "Deferred"
|
||||
},
|
||||
{
|
||||
"file": "PlotLine/Data/StoryIntelligenceResultRepository.cs",
|
||||
"line": 261,
|
||||
"method": "StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync",
|
||||
"operation": "ALTER/CREATE/SELECT/UPDATE",
|
||||
"tables": "StoryIntelligenceRun_ClaimNextPending; StoryIntelligenceRuns",
|
||||
"reason": "Runtime executable SQL outside stored procedure layer",
|
||||
"proposed_procedure": "Forward-only column/procedure migration; remove runtime DDL",
|
||||
"compatibility": "Separate migration and legacy-state/write/concurrency qualification",
|
||||
"risk": "High: reset/runtime DDL",
|
||||
"status": "Deferred"
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,5 @@
|
||||
[
|
||||
{
|
||||
"log_reuse_wait_desc": "NOTHING"
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,74 @@
|
||||
[
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 0,
|
||||
"ms": 31.9743,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 1,
|
||||
"ms": 1.4505,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 2,
|
||||
"ms": 1.2007,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 3,
|
||||
"ms": 1.3333,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 4,
|
||||
"ms": 1.4022,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 5,
|
||||
"ms": 1.3648,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 0,
|
||||
"ms": 1.3131,
|
||||
"roundTrips": 1
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 1,
|
||||
"ms": 0.6867,
|
||||
"roundTrips": 1
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 2,
|
||||
"ms": 0.6856,
|
||||
"roundTrips": 1
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 3,
|
||||
"ms": 0.6474,
|
||||
"roundTrips": 1
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 4,
|
||||
"ms": 0.6647,
|
||||
"roundTrips": 1
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 5,
|
||||
"ms": 0.6519,
|
||||
"roundTrips": 1
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,74 @@
|
||||
[
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 0,
|
||||
"ms": 19.7192,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 1,
|
||||
"ms": 1.3559,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 2,
|
||||
"ms": 1.6781,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 3,
|
||||
"ms": 1.3722,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 4,
|
||||
"ms": 1.1873,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": false,
|
||||
"repeat": 5,
|
||||
"ms": 1.3978,
|
||||
"roundTrips": 2
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 0,
|
||||
"ms": 7.0838,
|
||||
"roundTrips": 1
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 1,
|
||||
"ms": 0.8139,
|
||||
"roundTrips": 1
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 2,
|
||||
"ms": 0.8717,
|
||||
"roundTrips": 1
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 3,
|
||||
"ms": 1.3516,
|
||||
"roundTrips": 1
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 4,
|
||||
"ms": 1.3669,
|
||||
"roundTrips": 1
|
||||
},
|
||||
{
|
||||
"optimized": true,
|
||||
"repeat": 5,
|
||||
"ms": 1.11,
|
||||
"roundTrips": 1
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,734 @@
|
||||
procedure,application_callers,sql_callers
|
||||
dbo.Acceptance_Phase1Checklist,,
|
||||
dbo.Analytics_StoryHealth,PlotLine/Data/Repositories.cs:1119 AnalyticsRepository.GetStoryHealthAsync,
|
||||
dbo.Analytics_StoryHealth_Remainder,,Analytics_StoryHealth
|
||||
dbo.Archive_DeleteForever,PlotLine/Data/Repositories.cs:1938 ArchiveRepository.DeleteForeverAsync,
|
||||
dbo.Archive_Entity,PlotLine/Data/Repositories.cs:1920 ArchiveRepository.ArchiveAsync,Book_Archive; Chapter_Archive; Character_Archive; Location_Archive; PlotLine_Archive; PlotThread_Archive; Project_Archive; Relationship_Archive; Scenario_Archive; Scene_Archive; StoryAsset_Archive
|
||||
dbo.Archive_List,PlotLine/Data/Repositories.cs:1881 ArchiveRepository.ListAsync,Archive_ListForUser
|
||||
dbo.Archive_ListForUser,PlotLine/Data/Repositories.cs:1891 ArchiveRepository.ListForUserAsync,
|
||||
dbo.Archive_ProjectFilterList,PlotLine/Data/Repositories.cs:1901 ArchiveRepository.ListProjectFiltersAsync,
|
||||
dbo.Archive_ProjectFilterListForUser,PlotLine/Data/Repositories.cs:1910 ArchiveRepository.ListProjectFiltersForUserAsync,
|
||||
dbo.Archive_Restore,PlotLine/Data/Repositories.cs:1929 ArchiveRepository.RestoreAsync,
|
||||
dbo.AssetAlias_Add,PlotLine/Data/Repositories.cs:3462 AssetRepository.AddAliasAsync,
|
||||
dbo.AssetAlias_Delete,PlotLine/Data/Repositories.cs:3480 AssetRepository.DeleteAliasAsync,
|
||||
dbo.AssetAlias_ListByAsset,PlotLine/Data/Repositories.cs:3452 AssetRepository.ListAliasesAsync,
|
||||
dbo.AssetAlias_Update,PlotLine/Data/Repositories.cs:3471 AssetRepository.UpdateAliasAsync,
|
||||
dbo.AssetCustodyCharacter_ListByProject,PlotLine/Data/Repositories.cs:3626 AssetRepository.ListCustodyCharactersByProjectAsync,
|
||||
dbo.AssetCustodyEvent_Delete,PlotLine/Data/Repositories.cs:3694 AssetRepository.DeleteCustodyEventAsync,
|
||||
dbo.AssetCustodyEvent_ListByAsset,PlotLine/Data/Repositories.cs:3619 AssetRepository.ListCustodyByAssetAsync,
|
||||
dbo.AssetCustodyEvent_ListByScene,PlotLine/Data/Repositories.cs:3612 AssetRepository.ListCustodyBySceneAsync,
|
||||
dbo.AssetCustodyEvent_Save,PlotLine/Data/ImportRepository.cs:510 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3675 AssetRepository.SaveCustodyEventAsync,
|
||||
dbo.AssetCustodyEventType_List,,
|
||||
dbo.AssetCustodySummary_ListByEvents,PlotLine/Data/Repositories.cs:3641 AssetRepository.WithValidCustodianSummariesAsync,
|
||||
dbo.AssetDependency_CheckForEvent,PlotLine/Data/Repositories.cs:3709 AssetRepository.CheckDependencyIssuesAsync,
|
||||
dbo.AssetDependency_Delete,PlotLine/Data/Repositories.cs:3606 AssetRepository.DeleteDependencyAsync,
|
||||
dbo.AssetDependency_ListByAsset,PlotLine/Data/Repositories.cs:3581 AssetRepository.ListDependenciesByAssetAsync,
|
||||
dbo.AssetDependency_Save,PlotLine/Data/Repositories.cs:3588 AssetRepository.SaveDependencyAsync,
|
||||
dbo.AssetDependencyType_List,,
|
||||
dbo.AssetEvent_Delete,PlotLine/Data/Repositories.cs:3537 AssetRepository.DeleteEventAsync,
|
||||
dbo.AssetEvent_ListByAsset,PlotLine/Data/Repositories.cs:3511 AssetRepository.ListEventsByAssetAsync,
|
||||
dbo.AssetEvent_ListByScene,PlotLine/Data/Repositories.cs:3504 AssetRepository.ListEventsBySceneAsync,
|
||||
dbo.AssetEvent_Save,PlotLine/Data/ImportRepository.cs:536 ImportRepository.ImportAsync; PlotLine/Data/ImportRepository.cs:581 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3518 AssetRepository.SaveEventAsync,
|
||||
dbo.AssetEventType_List,,
|
||||
dbo.AssetKind_List,,
|
||||
dbo.AssetLookup_All,PlotLine/Data/Repositories.cs:3401 AssetRepository.GetLookupsAsync,
|
||||
dbo.AssetState_List,,
|
||||
dbo.AssetTimeline_GetByProject,PlotLine/Data/Repositories.cs:3700 AssetRepository.GetTimelineAsync,
|
||||
dbo.AuthorPlotSeed_ListByBook,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:47 WholeBookPlotIntelligenceRepository.ListAuthorSeedsAsync,WholeBookPlotSynthesis_ContextGet
|
||||
dbo.AuthorPlotSeed_SaveForBook,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:28 WholeBookPlotIntelligenceRepository.SaveAuthorSeedsAsync,
|
||||
dbo.Book_Archive,PlotLine/Data/Repositories.cs:2414 BookRepository.ArchiveAsync,
|
||||
dbo.Book_Get,PlotLine/Data/Repositories.cs:2363 BookRepository.GetAsync,
|
||||
dbo.Book_GetCoverPaths,PlotLine/Data/Repositories.cs:2369 BookRepository.GetCoverPathsAsync,
|
||||
dbo.Book_ListByProject,PlotLine/Data/Repositories.cs:2340 BookRepository.ListByProjectAsync,
|
||||
dbo.Book_ListByProjects,PlotLine/Data/Repositories.cs:2353 BookRepository.ListByProjectsAsync,
|
||||
dbo.Book_Save,PlotLine/Data/ImportRepository.cs:255 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:2378 BookRepository.SaveAsync,
|
||||
dbo.Book_UpdateCover,PlotLine/Data/Repositories.cs:2405 BookRepository.UpdateCoverAsync,
|
||||
dbo.BookChapterReuse,PlotLine/Data/ChapterSyncRepository.cs:24 ChapterSyncRepository.Reuse,
|
||||
dbo.BookChapterSync,PlotLine/Data/ChapterSyncRepository.cs:26 ChapterSyncRepository.SceneStart; PlotLine/Data/ChapterSyncRepository.cs:27 ChapterSyncRepository.FlagReview; PlotLine/Data/ChapterSyncRepository.cs:28 ChapterSyncRepository.Accept; PlotLine/Data/ChapterSyncRepository.cs:29 ChapterSyncRepository.Position; PlotLine/Data/ChapterSyncRepository.cs:30 ChapterSyncRepository.List,
|
||||
dbo.BookHardDelete_Core236,,BookHardDelete_ForOwner
|
||||
dbo.BookHardDelete_ForOwner,,Archive_DeleteForever
|
||||
dbo.BookRecovery,PlotLine/Data/BookRecoveryRepository.cs:10 BookRecoveryRepository.Projects; PlotLine/Data/BookRecoveryRepository.cs:11 BookRecoveryRepository.Origin; PlotLine/Data/BookRecoveryRepository.cs:12 BookRecoveryRepository.Receipt; PlotLine/Data/BookRecoveryRepository.cs:13 BookRecoveryRepository.Begin; PlotLine/Data/BookRecoveryRepository.cs:14 BookRecoveryRepository.Mappings; PlotLine/Data/BookRecoveryRepository.cs:15 BookRecoveryRepository.RegisterForks; PlotLine/Data/BookRecoveryRepository.cs:16 BookRecoveryRepository.Complete,
|
||||
dbo.Chapter_Archive,PlotLine/Data/Repositories.cs:2537 ChapterRepository.ArchiveAsync,
|
||||
dbo.Chapter_Get,PlotLine/Data/Repositories.cs:2494 ChapterRepository.GetAsync,
|
||||
dbo.Chapter_ListByBook,PlotLine/Data/Repositories.cs:2487 ChapterRepository.ListByBookAsync,
|
||||
dbo.Chapter_RenumberBook,,
|
||||
dbo.Chapter_Save,PlotLine/Data/ImportRepository.cs:277 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:2500 ChapterRepository.SaveAsync,
|
||||
dbo.Chapter_SetScenesPov,PlotLine/Data/Repositories.cs:2526 ChapterRepository.SetScenesPovAsync,
|
||||
dbo.Chapter_UpdatePovCharacter,PlotLine/Data/Repositories.cs:2509 ChapterRepository.UpdatePovCharacterAsync,
|
||||
dbo.ChapterGoal_Get,PlotLine/Data/Repositories.cs:1324 WriterWorkspaceRepository.GetChapterGoalAsync,
|
||||
dbo.ChapterGoal_Save,PlotLine/Data/Repositories.cs:1330 WriterWorkspaceRepository.SaveChapterGoalAsync,WriterAuthoring_Save
|
||||
dbo.ChapterOption_ListByProject,PlotLine/Data/Repositories.cs:2697 SceneRepository.ListChapterOptionsAsync,
|
||||
dbo.ChapterWorkflow_Summary,PlotLine/Data/Repositories.cs:1339 WriterWorkspaceRepository.GetChapterWorkflowAsync,
|
||||
dbo.Character_Archive,PlotLine/Data/Repositories.cs:3937 CharacterRepository.ArchiveCharacterAsync,
|
||||
dbo.Character_Get,PlotLine/Data/Repositories.cs:3745 CharacterRepository.GetCharacterAsync,
|
||||
dbo.Character_ListByProject,PlotLine/Data/Repositories.cs:3738 CharacterRepository.ListCharactersAsync,
|
||||
dbo.Character_Merge,PlotLine/Data/Repositories.cs:3826 CharacterRepository.MergeAsync,
|
||||
dbo.Character_Save,PlotLine/Data/ImportRepository.cs:173 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3751 CharacterRepository.SaveCharacterAsync,
|
||||
dbo.Character_SetPreferredName,PlotLine/Data/Repositories.cs:3815 CharacterRepository.SetPreferredNameAsync,
|
||||
dbo.Character_UpdateAvatar,PlotLine/Data/Repositories.cs:3877 CharacterRepository.UpdateCharacterAvatarAsync,
|
||||
dbo.Character_UpdateImage,PlotLine/Data/Repositories.cs:3868 CharacterRepository.UpdateCharacterImageAsync,
|
||||
dbo.CharacterAlias_Add,PlotLine/Data/Repositories.cs:3788 CharacterRepository.AddAliasAsync,
|
||||
dbo.CharacterAlias_Delete,PlotLine/Data/Repositories.cs:3806 CharacterRepository.DeleteAliasAsync,
|
||||
dbo.CharacterAlias_ListByCharacter,PlotLine/Data/Repositories.cs:3778 CharacterRepository.ListAliasesAsync,
|
||||
dbo.CharacterAlias_Update,PlotLine/Data/Repositories.cs:3797 CharacterRepository.UpdateAliasAsync,
|
||||
dbo.CharacterAttributeEvent_ListByCharacter,PlotLine/Data/Repositories.cs:4023 CharacterRepository.ListAttributeEventsByCharacterAsync,
|
||||
dbo.CharacterAttributeEvent_ListByScene,PlotLine/Data/Repositories.cs:4030 CharacterRepository.ListAttributeEventsBySceneAsync,
|
||||
dbo.CharacterAttributeEvent_Save,PlotLine/Data/Repositories.cs:4037 CharacterRepository.SaveAttributeEventAsync,
|
||||
dbo.CharacterEnrichment_ContextGet,PlotLine/Data/CharacterEnrichmentRepository.cs:139 CharacterEnrichmentRepository.BuildContextAsync,
|
||||
dbo.CharacterEnrichmentCharacterStatus_Get,PlotLine/Data/CharacterEnrichmentRepository.cs:85 CharacterEnrichmentRepository.GetCharacterStatusAsync,
|
||||
dbo.CharacterEnrichmentRun_ClaimNext,PlotLine/Data/CharacterEnrichmentRepository.cs:58 CharacterEnrichmentRepository.ClaimNextAsync,
|
||||
dbo.CharacterEnrichmentRun_Complete,PlotLine/Data/CharacterEnrichmentRepository.cs:103 CharacterEnrichmentRepository.CompleteAsync,
|
||||
dbo.CharacterEnrichmentRun_Fail,PlotLine/Data/CharacterEnrichmentRepository.cs:121 CharacterEnrichmentRepository.FailAsync,
|
||||
dbo.CharacterEnrichmentRun_GetCurrentByBook,PlotLine/Data/CharacterEnrichmentRepository.cs:67 CharacterEnrichmentRepository.GetCurrentAsync,
|
||||
dbo.CharacterEnrichmentRun_GetCurrentByCharacter,PlotLine/Data/CharacterEnrichmentRepository.cs:76 CharacterEnrichmentRepository.GetCurrentForCharacterAsync,
|
||||
dbo.CharacterEnrichmentRun_Queue,PlotLine/Data/CharacterEnrichmentRepository.cs:31 CharacterEnrichmentRepository.QueueAsync,CharacterEnrichmentRun_Retry
|
||||
dbo.CharacterEnrichmentRun_QueueCharacter,PlotLine/Data/CharacterEnrichmentRepository.cs:40 CharacterEnrichmentRepository.QueueCharacterAsync,
|
||||
dbo.CharacterEnrichmentRun_Retry,PlotLine/Data/CharacterEnrichmentRepository.cs:49 CharacterEnrichmentRepository.RetryAsync,
|
||||
dbo.CharacterEnrichmentRun_UpdateProgress,PlotLine/Data/CharacterEnrichmentRepository.cs:94 CharacterEnrichmentRepository.UpdateProgressAsync,
|
||||
dbo.CharacterImage_Create,PlotLine/Data/Repositories.cs:3911 CharacterRepository.CreateCharacterImageAsync,
|
||||
dbo.CharacterImage_Delete,PlotLine/Data/Repositories.cs:3928 CharacterRepository.DeleteCharacterImageAsync,
|
||||
dbo.CharacterImage_Get,PlotLine/Data/Repositories.cs:3902 CharacterRepository.GetCharacterImageAsync,
|
||||
dbo.CharacterImage_ListByCharacter,PlotLine/Data/Repositories.cs:3892 CharacterRepository.ListCharacterImagesAsync,
|
||||
dbo.CharacterIntelligence_AddEvidence,PlotLine/Data/CharacterIntelligenceRepository.cs:58 CharacterIntelligenceRepository.AddEvidenceAsync,
|
||||
dbo.CharacterIntelligence_ListProfiles,PlotLine/Data/CharacterIntelligenceRepository.cs:18 CharacterIntelligenceRepository.ListProfilesAsync,
|
||||
dbo.CharacterKnowledge_Delete,PlotLine/Data/Repositories.cs:4088 CharacterRepository.DeleteKnowledgeAsync,
|
||||
dbo.CharacterKnowledge_ListByCharacter,PlotLine/Data/Repositories.cs:4061 CharacterRepository.ListKnowledgeByCharacterAsync,Dynamics_CharacterArc; Dynamics_KnowledgeTimeline; Export_CharacterReference
|
||||
dbo.CharacterKnowledge_ListByScene,PlotLine/Data/Repositories.cs:4054 CharacterRepository.ListKnowledgeBySceneAsync,
|
||||
dbo.CharacterKnowledge_Save,PlotLine/Data/Repositories.cs:4068 CharacterRepository.SaveKnowledgeAsync,StoryIntelligenceReview_Assess
|
||||
dbo.CharacterLookup_All,PlotLine/Data/Repositories.cs:3722 CharacterRepository.GetLookupsAsync,
|
||||
dbo.CharacterSexValue_Get,PlotLine/Data/Repositories.cs:3850 CharacterRepository.GetSexValueAsync,
|
||||
dbo.CharacterSexValue_GetOrCreate,PlotLine/Data/Repositories.cs:3859 CharacterRepository.GetOrCreateSexValueAsync,
|
||||
dbo.CharacterSexValue_ListForOwner,PlotLine/Data/Repositories.cs:3840 CharacterRepository.ListSexValuesAsync,
|
||||
dbo.CharacterTimeline_GetByProject,PlotLine/Data/Repositories.cs:4202 CharacterRepository.GetTimelineAsync,
|
||||
dbo.ContinuityValidation_ValidateBook,PlotLine/Data/Repositories.cs:948 WarningRepository.ValidateBookAsync,
|
||||
dbo.ContinuityValidation_ValidateProject,PlotLine/Data/Repositories.cs:939 WarningRepository.ValidateProjectAsync,ContinuityValidation_ValidateBook; ContinuityValidation_ValidateScene
|
||||
dbo.ContinuityValidation_ValidateScene,PlotLine/Data/Repositories.cs:957 WarningRepository.ValidateSceneAsync,
|
||||
dbo.ContinuityWarning_ClearActive,,ContinuityValidation_ValidateProject
|
||||
dbo.ContinuityWarning_Dismiss,PlotLine/Data/Repositories.cs:1010 WarningRepository.DismissAsync,
|
||||
dbo.ContinuityWarning_List,PlotLine/Data/Repositories.cs:966 WarningRepository.ListAsync,ContinuityWarning_ListByBook; ContinuityWarning_ListByEntity; ContinuityWarning_ListByProject; ContinuityWarning_ListByScene
|
||||
dbo.ContinuityWarning_ListByBook,,
|
||||
dbo.ContinuityWarning_ListByEntity,,
|
||||
dbo.ContinuityWarning_ListByProject,,
|
||||
dbo.ContinuityWarning_ListByScene,PlotLine/Data/Repositories.cs:996 WarningRepository.ListBySceneAsync,
|
||||
dbo.ContinuityWarning_ListDashboardUnresolved,PlotLine/Data/Repositories.cs:986 WarningRepository.ListDashboardUnresolvedAsync,
|
||||
dbo.ContinuityWarning_MarkIntentional,PlotLine/Data/Repositories.cs:1016 WarningRepository.MarkIntentionalAsync,
|
||||
dbo.ContinuityWarning_Restore,PlotLine/Data/Repositories.cs:1022 WarningRepository.RestoreAsync,
|
||||
dbo.ContinuityWarning_SceneCounts,PlotLine/Data/Repositories.cs:1003 WarningRepository.GetSceneCountsAsync,
|
||||
dbo.ContinuityWarning_SetState,,ContinuityWarning_Dismiss; ContinuityWarning_MarkIntentional
|
||||
dbo.ContinuityWarning_Upsert,,
|
||||
dbo.ContinuityWarningAcknowledgement_Delete,PlotLine/Data/Repositories.cs:1081 ContinuityWarningAcknowledgementRepository.DeleteAsync,
|
||||
dbo.ContinuityWarningAcknowledgement_Get,PlotLine/Data/Repositories.cs:1047 ContinuityWarningAcknowledgementRepository.GetAsync,
|
||||
dbo.ContinuityWarningAcknowledgement_ListByProject,PlotLine/Data/Repositories.cs:1037 ContinuityWarningAcknowledgementRepository.ListByProjectAsync,
|
||||
dbo.ContinuityWarningAcknowledgement_Save,PlotLine/Data/Repositories.cs:1063 ContinuityWarningAcknowledgementRepository.SaveAsync,
|
||||
dbo.CoreImportBasicLocationReview_CompletePreparation,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:107 CoreImportBasicLocationReviewRepository.CompletePreparationAsync,
|
||||
dbo.CoreImportBasicLocationReview_Create,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:46 CoreImportBasicLocationReviewRepository.CreateAsync,
|
||||
dbo.CoreImportBasicLocationReview_DeleteEvidence,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:79 CoreImportBasicLocationReviewRepository.DeleteEvidenceAsync,
|
||||
dbo.CoreImportBasicLocationReview_GetByPreview,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:28 CoreImportBasicLocationReviewRepository.GetByPreviewAsync,CoreImportBasicLocationReview_Create
|
||||
dbo.CoreImportBasicLocationReview_ListCandidates,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:116 CoreImportBasicLocationReviewRepository.ListCandidatesAsync,
|
||||
dbo.CoreImportBasicLocationReview_MarkComplete,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:156 CoreImportBasicLocationReviewRepository.MarkCompleteAsync,
|
||||
dbo.CoreImportBasicLocationReview_MarkSkipped,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:165 CoreImportBasicLocationReviewRepository.MarkSkippedAsync,
|
||||
dbo.CoreImportBasicLocationReview_ResetByPreview,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:37 CoreImportBasicLocationReviewRepository.ResetByPreviewAsync,
|
||||
dbo.CoreImportBasicLocationReview_SaveCandidate,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:55 CoreImportBasicLocationReviewRepository.SaveCandidateAsync,
|
||||
dbo.CoreImportBasicLocationReview_SaveDecision,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:128 CoreImportBasicLocationReviewRepository.SaveDecisionAsync,
|
||||
dbo.CoreImportBasicLocationReview_SaveEvidence,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:88 CoreImportBasicLocationReviewRepository.SaveEvidenceAsync,
|
||||
dbo.CoreImportBasicLocationReview_SetResult,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:147 CoreImportBasicLocationReviewRepository.SetResultAsync,
|
||||
dbo.CreateScheduleItem,PlotLine/Data/Repositories.cs:1452 WritingScheduleRepository.CreateScheduleItemAsync; PlotLine/Data/Repositories.cs:1541 WritingScheduleRepository.ReplaceScheduleItemsAsync,
|
||||
dbo.CreateWritingPlan,PlotLine/Data/Repositories.cs:1376 WritingScheduleRepository.CreateWritingPlanAsync,
|
||||
dbo.CustodyRole_List,,
|
||||
dbo.DeleteScheduleItem,PlotLine/Data/Repositories.cs:1493 WritingScheduleRepository.DeleteScheduleItemAsync,
|
||||
dbo.DeleteWritingPlan,PlotLine/Data/Repositories.cs:1423 WritingScheduleRepository.DeleteWritingPlanAsync,
|
||||
dbo.Dynamics_CharacterArc,PlotLine/Data/Repositories.cs:1769 DynamicsRepository.GetCharacterArcAsync,
|
||||
dbo.Dynamics_KnowledgeTimeline,PlotLine/Data/Repositories.cs:1787 DynamicsRepository.GetKnowledgeTimelineAsync,
|
||||
dbo.Dynamics_RelationshipEvolution,PlotLine/Data/Repositories.cs:1777 DynamicsRepository.GetRelationshipEvolutionAsync,
|
||||
dbo.Dynamics_RunContinuityChecks,PlotLine/Data/Repositories.cs:1802 DynamicsRepository.RunContinuityChecksAsync,ParagraphManuscript
|
||||
dbo.Dynamics_StoryDashboard,PlotLine/Data/Repositories.cs:1795 DynamicsRepository.GetStoryDynamicsAsync,
|
||||
dbo.EmailQueue_Create,PlotLine/Data/EmailQueueRepository.cs:21 EmailQueueRepository.CreateAsync,
|
||||
dbo.EmailQueue_DequeueBatch,PlotLine/Data/EmailQueueRepository.cs:40 EmailQueueRepository.DequeueBatchAsync,
|
||||
dbo.EmailQueue_MarkFailed,PlotLine/Data/EmailQueueRepository.cs:59 EmailQueueRepository.MarkFailedAsync,
|
||||
dbo.EmailQueue_MarkSending,,
|
||||
dbo.EmailQueue_MarkSent,PlotLine/Data/EmailQueueRepository.cs:50 EmailQueueRepository.MarkSentAsync,
|
||||
dbo.EmailQueue_ResetStuckSending,PlotLine/Data/EmailQueueRepository.cs:68 EmailQueueRepository.ResetStuckSendingAsync,
|
||||
dbo.Export_ChapterBrief,PlotLine/Data/Repositories.cs:1727 ExportRepository.GetChapterBriefAsync,
|
||||
dbo.Export_CharacterReference,PlotLine/Data/Repositories.cs:1699 ExportRepository.GetCharacterReferenceAsync,
|
||||
dbo.Export_NarrativeTimeline,PlotLine/Data/Repositories.cs:1692 ExportRepository.GetNarrativeTimelineAsync,
|
||||
dbo.Export_ResearchPack,PlotLine/Data/Repositories.cs:1752 ExportRepository.GetResearchPackAsync,
|
||||
dbo.Export_SceneBrief,PlotLine/Data/Repositories.cs:1715 ExportRepository.GetSceneBriefAsync,Export_WriterSessionBrief
|
||||
dbo.Export_SearchResults,PlotLine/Data/Repositories.cs:1759 ExportRepository.GetSearchResultsAsync,
|
||||
dbo.Export_StoryBible,PlotLine/Data/Repositories.cs:1674 ExportRepository.GetStoryBibleAsync,
|
||||
dbo.Export_WriterSessionBrief,PlotLine/Data/Repositories.cs:1740 ExportRepository.GetWriterSessionBriefAsync,
|
||||
dbo.FeatureRequest_CountAttentionForUser,PlotLine/Data/FeatureRequestRepository.cs:141 FeatureRequestRepository.CountAttentionForUserAsync,
|
||||
dbo.FeatureRequest_CountWaitingForAdmin,PlotLine/Data/FeatureRequestRepository.cs:150 FeatureRequestRepository.CountWaitingForAdminAsync,
|
||||
dbo.FeatureRequest_Create,PlotLine/Data/FeatureRequestRepository.cs:30 FeatureRequestRepository.CreateAsync,
|
||||
dbo.FeatureRequest_GetForAdmin,PlotLine/Data/FeatureRequestRepository.cs:48 FeatureRequestRepository.GetForAdminAsync,FeatureRequest_UpdateAdminNotes; FeatureRequest_UpdateRoadmapVisibility; FeatureRequest_UpdateStatus
|
||||
dbo.FeatureRequest_GetForUser,PlotLine/Data/FeatureRequestRepository.cs:39 FeatureRequestRepository.GetForUserAsync,FeatureRequest_Create
|
||||
dbo.FeatureRequest_ListForAdmin,PlotLine/Data/FeatureRequestRepository.cs:67 FeatureRequestRepository.ListForAdminAsync,
|
||||
dbo.FeatureRequest_ListForUser,PlotLine/Data/FeatureRequestRepository.cs:57 FeatureRequestRepository.ListForUserAsync,
|
||||
dbo.FeatureRequest_ListRoadmap,PlotLine/Data/FeatureRequestRepository.cs:77 FeatureRequestRepository.ListRoadmapAsync,
|
||||
dbo.FeatureRequest_MarkViewedForUser,PlotLine/Data/FeatureRequestRepository.cs:132 FeatureRequestRepository.MarkViewedForUserAsync,
|
||||
dbo.FeatureRequest_UpdateAdminNotes,PlotLine/Data/FeatureRequestRepository.cs:104 FeatureRequestRepository.UpdateAdminNotesAsync,
|
||||
dbo.FeatureRequest_UpdateRoadmapVisibility,PlotLine/Data/FeatureRequestRepository.cs:95 FeatureRequestRepository.UpdateRoadmapVisibilityAsync,
|
||||
dbo.FeatureRequest_UpdateStatus,PlotLine/Data/FeatureRequestRepository.cs:86 FeatureRequestRepository.UpdateStatusAsync,
|
||||
dbo.FeatureRequestMessage_Add,PlotLine/Data/FeatureRequestRepository.cs:113 FeatureRequestRepository.AddMessageAsync,
|
||||
dbo.FeatureRequestMessage_List,PlotLine/Data/FeatureRequestRepository.cs:122 FeatureRequestRepository.ListMessagesAsync,
|
||||
dbo.FloorPlan_Delete,PlotLine/Data/Repositories.cs:830 FloorPlanRepository.DeletePlanAsync,
|
||||
dbo.FloorPlan_Get,PlotLine/Data/Repositories.cs:771 FloorPlanRepository.GetAsync,FloorPlan_GetEditor
|
||||
dbo.FloorPlan_GetEditor,PlotLine/Data/Repositories.cs:777 FloorPlanRepository.GetEditorAsync,
|
||||
dbo.FloorPlan_ListByProject,PlotLine/Data/Repositories.cs:764 FloorPlanRepository.ListByProjectAsync,
|
||||
dbo.FloorPlan_Save,PlotLine/Data/Repositories.cs:821 FloorPlanRepository.SavePlanAsync,
|
||||
dbo.FloorPlanBlock_Delete,PlotLine/Data/Repositories.cs:893 FloorPlanRepository.DeleteBlockAsync,
|
||||
dbo.FloorPlanBlock_Get,PlotLine/Data/Repositories.cs:815 FloorPlanRepository.GetBlockAsync,
|
||||
dbo.FloorPlanBlock_ListByFloor,PlotLine/Data/Repositories.cs:794 FloorPlanRepository.ListBlocksByFloorAsync,
|
||||
dbo.FloorPlanBlock_ListByPlan,PlotLine/Data/Repositories.cs:801 FloorPlanRepository.ListBlocksByPlanAsync,
|
||||
dbo.FloorPlanBlock_Save,PlotLine/Data/Repositories.cs:872 FloorPlanRepository.SaveBlockAsync,
|
||||
dbo.FloorPlanFloor_Delete,PlotLine/Data/Repositories.cs:866 FloorPlanRepository.DeleteFloorAsync,
|
||||
dbo.FloorPlanFloor_Get,PlotLine/Data/Repositories.cs:788 FloorPlanRepository.GetFloorAsync,
|
||||
dbo.FloorPlanFloor_ListByPlan,PlotLine/Data/Repositories.cs:808 FloorPlanRepository.ListFloorsByPlanAsync,
|
||||
dbo.FloorPlanFloor_Save,PlotLine/Data/Repositories.cs:836 FloorPlanRepository.SaveFloorAsync,
|
||||
dbo.FloorPlanFloor_UpdateBackground,PlotLine/Data/Repositories.cs:845 FloorPlanRepository.UpdateFloorBackgroundAsync,
|
||||
dbo.FloorPlanTransition_Delete,PlotLine/Data/Repositories.cs:919 FloorPlanRepository.DeleteTransitionAsync,
|
||||
dbo.FloorPlanTransition_Save,PlotLine/Data/Repositories.cs:899 FloorPlanRepository.SaveTransitionAsync,
|
||||
dbo.GenreMetricPreset_List,PlotLine/Data/Repositories.cs:2080 ProjectRepository.ListGenreMetricPresetsAsync,
|
||||
dbo.Geography_BatchPermit,,Geography_Retry; Geography_SubmitLocations
|
||||
dbo.Geography_Cache,PlotLine/Data/GeographyRepository.cs:36 GeographyRepository.CacheAsync,
|
||||
dbo.Geography_Chain,PlotLine/Data/GeographyRepository.cs:31 GeographyRepository.ChainAsync,
|
||||
dbo.Geography_Choose,PlotLine/Data/GeographyRepository.cs:51 GeographyRepository.ChooseAsync,
|
||||
dbo.Geography_Claim,PlotLine/Data/GeographyRepository.cs:26 GeographyRepository.ClaimAsync,
|
||||
dbo.Geography_Complete,PlotLine/Data/GeographyRepository.cs:46 GeographyRepository.CompleteAsync,
|
||||
dbo.Geography_Exclude,PlotLine/Data/GeographyRepository.cs:61 GeographyRepository.ExcludeAsync,
|
||||
dbo.Geography_Get,PlotLine/Data/GeographyRepository.cs:21 GeographyRepository.GetAsync,
|
||||
dbo.Geography_ProviderRelease,PlotLine/Data/GeographyRepository.cs:71 GeographyRepository.ReleaseAsync,
|
||||
dbo.Geography_Reserve,PlotLine/Data/GeographyRepository.cs:41 GeographyRepository.ReserveAsync,
|
||||
dbo.Geography_Retry,PlotLine/Data/GeographyRepository.cs:56 GeographyRepository.RetryAsync,
|
||||
dbo.Geography_SubmitHierarchy,PlotLine/Data/GeographyRepository.cs:66 GeographyRepository.SubmitAsync,
|
||||
dbo.Geography_SubmitLocations,PlotLine/Data/GeographyRepository.cs:76 GeographyRepository.SubmitLocationsAsync,Geography_SubmitHierarchy
|
||||
dbo.GetScheduleItemsByDateRange,PlotLine/Data/Repositories.cs:1442 WritingScheduleRepository.GetScheduleItemsByDateRangeAsync,
|
||||
dbo.GetScheduleItemsByPlan,PlotLine/Data/Repositories.cs:1435 WritingScheduleRepository.GetScheduleItemsByPlanAsync,
|
||||
dbo.GetWritingPlanByID,PlotLine/Data/Repositories.cs:1370 WritingScheduleRepository.GetWritingPlanByIDAsync,
|
||||
dbo.GetWritingPlansByUser,PlotLine/Data/Repositories.cs:1363 WritingScheduleRepository.GetWritingPlansByUserAsync,
|
||||
dbo.GivenName_BulkUpsert,,
|
||||
dbo.GivenName_Recognise,PlotLine/Data/NameIntelligenceRepository.cs:80 NameIntelligenceRepository.RecogniseAsync,
|
||||
dbo.GivenName_Relationships,PlotLine/Data/NameIntelligenceRepository.cs:105 NameIntelligenceRepository.ListRelationshipsAsync,GivenName_Recognise
|
||||
dbo.GivenName_Search,PlotLine/Data/NameIntelligenceRepository.cs:115 NameIntelligenceRepository.SearchAsync,
|
||||
dbo.GivenName_UsedDecorations,PlotLine/Data/NameIntelligenceRepository.cs:141 NameIntelligenceRepository.ListUsedDecorationsAsync,
|
||||
dbo.IllustrationLibraryItem_Approve,PlotLine/Data/IllustrationLibraryRepository.cs:132 IllustrationLibraryRepository.ApproveAsync,
|
||||
dbo.IllustrationLibraryItem_ArchiveGeneratedSet,,
|
||||
dbo.IllustrationLibraryItem_ClaimNext,PlotLine/Data/IllustrationLibraryRepository.cs:89 IllustrationLibraryRepository.ClaimNextAsync,
|
||||
dbo.IllustrationLibraryItem_CreateRegeneration,PlotLine/Data/IllustrationLibraryRepository.cs:150 IllustrationLibraryRepository.CreateRegenerationAsync,
|
||||
dbo.IllustrationLibraryItem_Disable,PlotLine/Data/IllustrationLibraryRepository.cs:159 IllustrationLibraryRepository.DisableAsync,
|
||||
dbo.IllustrationLibraryItem_Get,PlotLine/Data/IllustrationLibraryRepository.cs:54 IllustrationLibraryRepository.GetAsync,
|
||||
dbo.IllustrationLibraryItem_GetApproved,PlotLine/Data/IllustrationLibraryRepository.cs:184 IllustrationLibraryRepository.GetApprovedAsync,
|
||||
dbo.IllustrationLibraryItem_List,PlotLine/Data/IllustrationLibraryRepository.cs:31 IllustrationLibraryRepository.ListAsync,
|
||||
dbo.IllustrationLibraryItem_MarkFailed,PlotLine/Data/IllustrationLibraryRepository.cs:123 IllustrationLibraryRepository.MarkFailedAsync,
|
||||
dbo.IllustrationLibraryItem_MarkGenerated,PlotLine/Data/IllustrationLibraryRepository.cs:97 IllustrationLibraryRepository.MarkGeneratedAsync,
|
||||
dbo.IllustrationLibraryItem_Queue,PlotLine/Data/IllustrationLibraryRepository.cs:80 IllustrationLibraryRepository.QueueAsync,
|
||||
dbo.IllustrationLibraryItem_Reject,PlotLine/Data/IllustrationLibraryRepository.cs:141 IllustrationLibraryRepository.RejectAsync,
|
||||
dbo.IllustrationLibraryItem_Summary,PlotLine/Data/IllustrationLibraryRepository.cs:46 IllustrationLibraryRepository.GetSummaryAsync,
|
||||
dbo.IllustrationLibraryItem_UpdateMetadata,PlotLine/Data/IllustrationLibraryRepository.cs:168 IllustrationLibraryRepository.UpdateMetadataAsync,
|
||||
dbo.IllustrationLibraryItem_UpsertPlanned,PlotLine/Data/IllustrationLibraryRepository.cs:63 IllustrationLibraryRepository.UpsertPlannedAsync,
|
||||
dbo.Import_LookupIds,PlotLine/Data/ImportRepository.cs:682 ImportRepository.GetLookupIdsAsync,
|
||||
dbo.Location_Archive,PlotLine/Data/Repositories.cs:623 LocationRepository.ArchiveAsync,
|
||||
dbo.Location_Get,PlotLine/Data/Repositories.cs:541 LocationRepository.GetAsync,
|
||||
dbo.Location_ListByProject,PlotLine/Data/Repositories.cs:534 LocationRepository.ListByProjectAsync,LocationTree_GetByProject
|
||||
dbo.Location_Merge,PlotLine/Data/Repositories.cs:510 LocationRepository.MergeAsync,
|
||||
dbo.Location_Reparent,PlotLine/Data/Repositories.cs:494 LocationRepository.ReparentAsync,
|
||||
dbo.Location_Save,PlotLine/Data/ImportRepository.cs:210 ImportRepository.ImportAsync; PlotLine/Data/ImportRepository.cs:238 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:547 LocationRepository.SaveAsync,StoryMap_Save
|
||||
dbo.Location_SetPreferredName,PlotLine/Data/Repositories.cs:614 LocationRepository.SetPreferredNameAsync,
|
||||
dbo.LocationAlias_Add,PlotLine/Data/Repositories.cs:587 LocationRepository.AddAliasAsync,
|
||||
dbo.LocationAlias_Delete,PlotLine/Data/Repositories.cs:605 LocationRepository.DeleteAliasAsync,
|
||||
dbo.LocationAlias_ListByLocation,PlotLine/Data/Repositories.cs:567 LocationRepository.ListAliasesAsync,
|
||||
dbo.LocationAlias_ListByProject,PlotLine/Data/Repositories.cs:577 LocationRepository.ListAliasesByProjectAsync,
|
||||
dbo.LocationAlias_Update,PlotLine/Data/Repositories.cs:596 LocationRepository.UpdateAliasAsync,
|
||||
dbo.LocationCharacter_ListByLocation,PlotLine/Data/Repositories.cs:747 LocationRepository.ListCharactersByLocationAsync,
|
||||
dbo.LocationCharacter_ListByScene,,
|
||||
dbo.LocationLookup_All,PlotLine/Data/Repositories.cs:523 LocationRepository.GetLookupsAsync,
|
||||
dbo.LocationRelationship_Archive,PlotLine/Data/Repositories.cs:666 LocationRepository.ArchiveRelationshipAsync,
|
||||
dbo.LocationRelationship_ListByLocation,PlotLine/Data/Repositories.cs:636 LocationRepository.ListRelationshipsByLocationAsync,
|
||||
dbo.LocationRelationship_ListByProject,PlotLine/Data/Repositories.cs:629 LocationRepository.ListRelationshipsByProjectAsync,
|
||||
dbo.LocationRelationship_Save,PlotLine/Data/Repositories.cs:643 LocationRepository.SaveRelationshipAsync,
|
||||
dbo.LocationScene_ListByLocation,PlotLine/Data/Repositories.cs:740 LocationRepository.ListScenesByLocationAsync,
|
||||
dbo.LocationTree_GetByProject,,
|
||||
dbo.Lookup_All,PlotLine/Data/Repositories.cs:2797 LookupRepository.GetAllAsync,
|
||||
dbo.ManuscriptDocument_GetByBook,PlotLine/Data/Repositories.cs:2423 ManuscriptDocumentRepository.GetByBookAsync,ManuscriptDocument_Save
|
||||
dbo.ManuscriptDocument_GetByGuid,PlotLine/Data/Repositories.cs:2432 ManuscriptDocumentRepository.GetByGuidAsync,
|
||||
dbo.ManuscriptDocument_Save,PlotLine/Data/Repositories.cs:2443 ManuscriptDocumentRepository.SaveAsync,
|
||||
dbo.ManuscriptDocument_UnlinkBook,PlotLine/Data/Repositories.cs:2457 ManuscriptDocumentRepository.UnlinkBookAsync,
|
||||
dbo.ManuscriptDocument_UpdateLastOpened,PlotLine/Data/Repositories.cs:2475 ManuscriptDocumentRepository.UpdateLastOpenedAsync,
|
||||
dbo.ManuscriptDocument_UpdateLastSync,PlotLine/Data/Repositories.cs:2466 ManuscriptDocumentRepository.UpdateLastSyncAsync,
|
||||
dbo.ManuscriptStructuralChapterSource_Save,PlotLine/Data/OnboardingBuildRepository.cs:140 OnboardingBuildRepository.SaveStructuralChapterSourceAsync,
|
||||
dbo.MapReferenceImage_Create,PlotLine/Data/MapRepository.cs:59 MapRepository.AddImageAsync,
|
||||
dbo.MapReferenceImage_DeleteUnused,PlotLine/Data/MapRepository.cs:64 MapRepository.DeleteImageAsync,
|
||||
dbo.MapReferenceImage_Find,PlotLine/Data/MapRepository.cs:49 MapRepository.FindImageAsync,
|
||||
dbo.MapReferenceImage_Get,PlotLine/Data/MapRepository.cs:44 MapRepository.GetImageAsync,
|
||||
dbo.MapReferenceImage_List,PlotLine/Data/MapRepository.cs:39 MapRepository.ListImagesAsync,
|
||||
dbo.MapReferenceImage_Owner,PlotLine/Data/MapRepository.cs:54 MapRepository.ImageStorageOwnerAsync,
|
||||
dbo.NameLocale_BulkUpsert,,
|
||||
dbo.NameLocale_List,PlotLine/Data/NameIntelligenceRepository.cs:73 NameIntelligenceRepository.ListLocalesAsync,
|
||||
dbo.NameReferenceImport_Complete,PlotLine/Data/NameIntelligenceRepository.cs:43 NameIntelligenceRepository.CompleteImportAsync,
|
||||
dbo.NameReferenceImport_GetLatest,PlotLine/Data/NameIntelligenceRepository.cs:29 NameIntelligenceRepository.GetLatestImportAsync,
|
||||
dbo.NameReferenceImport_Start,PlotLine/Data/NameIntelligenceRepository.cs:36 NameIntelligenceRepository.StartImportAsync,
|
||||
dbo.NameRelationship_BulkUpsert,,
|
||||
dbo.NameUsage_BulkUpsert,,
|
||||
dbo.NarrativeSceneOrder_GetByProject,,
|
||||
dbo.NativeChapterReview_Access,PlotLine/Data/NativeReviewRepository.cs:18 NativeReviewRepository.Read; PlotLine/Data/NativeReviewRepository.cs:21 NativeReviewRepository.List; PlotLine/Data/NativeReviewRepository.cs:23 NativeReviewRepository.Decide,
|
||||
dbo.NativeCompanionInstallation,PlotLine/Data/NativeInstallationRepository.cs:16 NativeInstallationRepository.Run; PlotLine/Data/NativeInstallationRepository.cs:17 NativeInstallationRepository.Validate,
|
||||
dbo.NativeImportedCatalog,PlotLine/Data/NativeImportRepository.cs:15 NativeImportRepository.List,
|
||||
dbo.NativeImportedPosition,PlotLine/Data/NativePositionRepository.cs:8 NativePositionRepository.Resolve,
|
||||
dbo.NativeReviewImport,PlotLine/Data/NativeImportRepository.cs:16 NativeImportRepository.Result; PlotLine/Data/NativeImportRepository.cs:19 NativeImportRepository.Commit,
|
||||
dbo.NativeReviewSource_Save,PlotLine/Data/NativeReviewRepository.cs:22 NativeReviewRepository.Save,
|
||||
dbo.Onboarding_ManuscriptBuild_AcknowledgeOwnedMarkers,PlotLine/Data/OnboardingBuildRepository.cs:95 OnboardingBuildRepository.AcknowledgeMarkersAsync,
|
||||
dbo.Onboarding_ManuscriptBuild_Create,PlotLine/Data/OnboardingBuildRepository.cs:29 OnboardingBuildRepository.BuildAsync,NativeReviewImport
|
||||
dbo.Onboarding_ManuscriptBuild_GetByPreview,PlotLine/Data/OnboardingBuildRepository.cs:51 OnboardingBuildRepository.GetByPreviewAsync,NativeReviewImport
|
||||
dbo.Onboarding_ManuscriptBuild_MarkerSyncCompleted,PlotLine/Data/OnboardingBuildRepository.cs:113 OnboardingBuildRepository.MarkMarkerSyncCompletedAsync,
|
||||
dbo.Onboarding_ManuscriptBuild_MarkerSyncFailed,PlotLine/Data/OnboardingBuildRepository.cs:131 OnboardingBuildRepository.MarkMarkerSyncFailedAsync,
|
||||
dbo.Onboarding_ManuscriptBuild_MarkerSyncSent,PlotLine/Data/OnboardingBuildRepository.cs:104 OnboardingBuildRepository.MarkMarkerSyncSentAsync,
|
||||
dbo.Onboarding_ManuscriptBuild_MarkerSyncUserSaveRequired,PlotLine/Data/OnboardingBuildRepository.cs:122 OnboardingBuildRepository.MarkMarkerSyncUserSaveRequiredAsync,
|
||||
dbo.OnboardingManuscriptCapture,PlotLine/Data/ManuscriptCaptureRepository.cs:19 ManuscriptCaptureRepository.Clear; PlotLine/Data/ManuscriptCaptureRepository.cs:20 ManuscriptCaptureRepository.CompleteBuild; PlotLine/Data/ManuscriptCaptureRepository.cs:21 ManuscriptCaptureRepository.Save; PlotLine/Data/ManuscriptCaptureRepository.cs:22 ManuscriptCaptureRepository.Get,
|
||||
dbo.OnboardingManuscriptChapterAnalysis,PlotLine/Data/ManuscriptCaptureRepository.cs:17 ManuscriptCaptureRepository.GetAnalysis; PlotLine/Data/ManuscriptCaptureRepository.cs:18 ManuscriptCaptureRepository.SaveAnalysis,
|
||||
dbo.ParagraphEvidence_States,PlotLine/Data/ParagraphEvidenceProjection.cs:13 ParagraphEvidenceProjection.States,
|
||||
dbo.ParagraphManuscript,PlotLine/Data/ParagraphManuscriptRepository.cs:20 ParagraphManuscriptRepository.Position; PlotLine/Data/ParagraphManuscriptRepository.cs:21 ParagraphManuscriptRepository.Get; PlotLine/Data/ParagraphManuscriptRepository.cs:22 ParagraphManuscriptRepository.SetMode; PlotLine/Data/ParagraphManuscriptRepository.cs:31 ParagraphManuscriptRepository.SaveCore; PlotLine/Data/ParagraphManuscriptRepository.cs:40 ParagraphManuscriptRepository.Capture; PlotLine/Data/ParagraphManuscriptRepository.cs:41 ParagraphManuscriptRepository.Status; PlotLine/Data/ParagraphManuscriptRepository.cs:42 ParagraphManuscriptRepository.Events,
|
||||
dbo.PlotLine_Archive,PlotLine/Data/Repositories.cs:3142 PlotRepository.ArchivePlotLineAsync,
|
||||
dbo.PlotLine_Get,PlotLine/Data/Repositories.cs:3113 PlotRepository.GetPlotLineAsync,
|
||||
dbo.PlotLine_ListByProject,PlotLine/Data/Repositories.cs:3106 PlotRepository.ListPlotLinesAsync,
|
||||
dbo.PlotLine_Save,PlotLine/Data/ImportRepository.cs:389 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3119 PlotRepository.SavePlotLineAsync; PlotLine/Services/StoryIntelligenceNarrativeReviewService.cs:495 StoryIntelligenceNarrativeReviewService.SavePlotLineAsync,
|
||||
dbo.PlotLineWorkspace_Get,PlotLine/Data/PlotLineWorkspaceRepository.cs:17 PlotLineWorkspaceRepository.GetAsync,
|
||||
dbo.PlotLookup_All,PlotLine/Data/Repositories.cs:3091 PlotRepository.GetLookupsAsync,
|
||||
dbo.PlotThread_Archive,PlotLine/Data/Repositories.cs:3189 PlotRepository.ArchivePlotThreadAsync,
|
||||
dbo.PlotThread_Get,PlotLine/Data/Repositories.cs:3162 PlotRepository.GetPlotThreadAsync,
|
||||
dbo.PlotThread_ListByPlotLine,PlotLine/Data/Repositories.cs:3155 PlotRepository.ListPlotThreadsByPlotLineAsync,
|
||||
dbo.PlotThread_ListByProject,PlotLine/Data/Repositories.cs:3148 PlotRepository.ListPlotThreadsByProjectAsync,
|
||||
dbo.PlotThread_Save,PlotLine/Data/ImportRepository.cs:422 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3168 PlotRepository.SavePlotThreadAsync; PlotLine/Services/StoryIntelligenceNarrativeReviewService.cs:516 StoryIntelligenceNarrativeReviewService.SavePlotThreadAsync,
|
||||
dbo.Project_Archive,PlotLine/Data/Repositories.cs:2104 ProjectRepository.ArchiveAsync,
|
||||
dbo.Project_ArchiveForOwner,PlotLine/Data/Repositories.cs:2116 ProjectRepository.ArchiveForOwnerAsync,
|
||||
dbo.Project_ArchiveForUser,PlotLine/Data/Repositories.cs:2110 ProjectRepository.ArchiveForUserAsync,
|
||||
dbo.Project_ExistsByNameForUser,PlotLine/Data/ImportRepository.cs:26 ImportRepository.ProjectTitleExistsAsync,
|
||||
dbo.Project_Get,PlotLine/Data/Repositories.cs:2043 ProjectRepository.GetAsync,
|
||||
dbo.Project_GetArchivedForOwner,PlotLine/Data/Repositories.cs:2055 ProjectRepository.GetArchivedForOwnerAsync,
|
||||
dbo.Project_GetForUser,PlotLine/Data/Repositories.cs:2049 ProjectRepository.GetForUserAsync,
|
||||
dbo.Project_GetOwnerUserID,,
|
||||
dbo.Project_List,PlotLine/Data/Repositories.cs:2005 ProjectRepository.ListAsync,
|
||||
dbo.Project_ListActiveForUser,PlotLine/Data/Repositories.cs:2019 ProjectRepository.ListActiveForUserAsync,
|
||||
dbo.Project_ListArchivedForUser,PlotLine/Data/Repositories.cs:2026 ProjectRepository.ListArchivedForUserAsync,
|
||||
dbo.Project_ListForUser,PlotLine/Data/Repositories.cs:2012 ProjectRepository.ListForUserAsync,
|
||||
dbo.Project_ListOwnedForAccountDeletion,PlotLine/Data/Repositories.cs:2033 ProjectRepository.ListOwnedForAccountDeletionAsync,
|
||||
dbo.Project_RestoreForOwner,PlotLine/Data/Repositories.cs:2126 ProjectRepository.RestoreForOwnerAsync,
|
||||
dbo.Project_Save,PlotLine/Data/ImportRepository.cs:149 ImportRepository.ImportAsync; PlotLine/Data/ImportRepository.cs:98 ImportRepository.CreateProjectShellAsync; PlotLine/Data/Repositories.cs:2095 ProjectRepository.SaveInternalAsync,
|
||||
dbo.ProjectAccess_EnsureOwner,,Project_Save
|
||||
dbo.ProjectAccess_GetProjectIDForEntity,,
|
||||
dbo.ProjectAccess_UserCanAccess,PlotLine/Services/ProjectAccessServices.cs:26 ProjectAccessRepository.UserCanAccessProjectAsync,StoryMap_Authorize
|
||||
dbo.ProjectAccess_UserCanAccessEntity,PlotLine/Services/ProjectAccessServices.cs:44 ProjectAccessRepository.UserCanAccessEntityAsync,
|
||||
dbo.ProjectAccess_UserCanOwn,PlotLine/Services/ProjectAccessServices.cs:35 ProjectAccessRepository.UserCanOwnProjectAsync,
|
||||
dbo.ProjectActivity_Create,,ProjectAudit_Record
|
||||
dbo.ProjectActivity_ListForProject,PlotLine/Data/Repositories.cs:2299 ProjectActivityRepository.ListForProjectAsync,
|
||||
dbo.ProjectActivity_ListRecent,PlotLine/Data/Repositories.cs:2309 ProjectActivityRepository.ListRecentForProjectAsync,
|
||||
dbo.ProjectAudit_Record,PlotLine/Data/Repositories.cs:2319 ProjectActivityRepository.RecordAsync,Location_Reparent
|
||||
dbo.ProjectBackup_BookMetadata_List,PlotLine/Data/ProjectBackupRepository.cs:161 ProjectBackupRepository.GetProjectBackupAsync,
|
||||
dbo.ProjectBackup_Export,PlotLine/Data/ProjectBackupRepository.cs:21 ProjectBackupRepository.GetProjectBackupAsync,
|
||||
dbo.ProjectBackup_GetIdentityMaxValues,PlotLine/Data/ImportRepository.cs:38 ImportRepository.GetIdentityMaxValuesAsync,
|
||||
dbo.ProjectBackup_GetRelationshipImportLookups,PlotLine/Data/ImportRepository.cs:49 ImportRepository.GetRelationshipImportLookupsAsync,
|
||||
dbo.ProjectBackup_PersistentState_List,PlotLine/Data/ProjectBackupRepository.cs:96 ProjectBackupRepository.GetProjectBackupAsync,
|
||||
dbo.ProjectBackup_RelationshipImportDiagnostics,PlotLine/Data/ImportRepository.cs:89 ImportRepository.GetRelationshipImportDiagnosticsAsync,
|
||||
dbo.ProjectCollaboration_AddCollaborator,PlotLine/Data/Repositories.cs:2269 ProjectCollaborationRepository.AddCollaboratorAsync,
|
||||
dbo.ProjectCollaboration_CollaboratorCountsForOwner,PlotLine/Data/Repositories.cs:2260 ProjectCollaborationRepository.CollaboratorCountsForOwnerAsync,
|
||||
dbo.ProjectCollaboration_CreatePendingInvitation,PlotLine/Data/Repositories.cs:2287 ProjectCollaborationRepository.CreatePendingInvitationAsync,
|
||||
dbo.ProjectCollaboration_GetOwner,PlotLine/Data/Repositories.cs:2231 ProjectCollaborationRepository.GetOwnerUserIdAsync,
|
||||
dbo.ProjectCollaboration_ListCollaborators,PlotLine/Data/Repositories.cs:2240 ProjectCollaborationRepository.ListCollaboratorsAsync,
|
||||
dbo.ProjectCollaboration_ListPendingInvitations,PlotLine/Data/Repositories.cs:2250 ProjectCollaborationRepository.ListPendingInvitationsAsync,
|
||||
dbo.ProjectCollaboration_RemoveCollaborator,PlotLine/Data/Repositories.cs:2278 ProjectCollaborationRepository.RemoveCollaboratorAsync,
|
||||
dbo.ProjectDashboard_AttentionThreads,PlotLine/Data/Repositories.cs:2070 ProjectRepository.ListDashboardAttentionThreadsAsync,
|
||||
dbo.ProjectDashboard_Metrics,PlotLine/Data/Repositories.cs:2061 ProjectRepository.GetDashboardMetricsAsync,
|
||||
dbo.ProjectHardDelete_ForAccountDeletion,PlotLine/Data/Repositories.cs:2198 ProjectRepository.HardDeleteForAccountDeletionAsync,
|
||||
dbo.ProjectHardDelete_ForOwner,PlotLine/Data/Repositories.cs:2158 ProjectRepository.HardDeleteForOwnerAsync,Archive_DeleteForever; ProjectHardDelete_ForAccountDeletion; StoryIntelligence_DevelopmentAccountReset
|
||||
dbo.ProjectHardDelete_ListFilePathsForAccountDeletion,PlotLine/Data/Repositories.cs:2176 ProjectRepository.ListHardDeleteFilePathsForAccountDeletionAsync,
|
||||
dbo.ProjectHardDelete_ListFilePathsForOwner,PlotLine/Data/Repositories.cs:2136 ProjectRepository.ListHardDeleteFilePathsForOwnerAsync,
|
||||
dbo.ProjectHardDelete_PrepareCore236,,ProjectHardDelete_PrepareDependencies
|
||||
dbo.ProjectHardDelete_PrepareDependencies,PlotLine/Data/Repositories.cs:2151 ProjectRepository.HardDeleteForOwnerAsync; PlotLine/Data/Repositories.cs:2191 ProjectRepository.HardDeleteForAccountDeletionAsync,ProjectHardDelete_ForOwner
|
||||
dbo.ProjectMetricPreset_Apply,,Project_Save
|
||||
dbo.ProjectParagraphRecovery_Apply,,ProjectRecovery_Apply; ProjectRestore_ApplyFromJson
|
||||
dbo.ProjectRecovery_Apply,PlotLine/Data/BookRecoveryRepository.cs:34 BookRecoveryRepository.ApplyState,ProjectRestore_ApplyFromJson
|
||||
dbo.ProjectRecovery_State,PlotLine/Data/BookRecoveryRepository.cs:19 BookRecoveryRepository.ReadState,
|
||||
dbo.ProjectRestore_ApplyFromJson,PlotLine/Data/ImportRepository.cs:107 ImportRepository.ApplyProjectBackupJsonAsync; PlotLine/Data/ProjectRestorePointRepository.cs:75 ProjectRestorePointRepository.RestoreAsync,
|
||||
dbo.ProjectRestore_ApplyGraph236,,ProjectRestore_ApplyFromJson
|
||||
dbo.ProjectRestore_InsertJsonTable,,ProjectRestore_ApplyGraph236
|
||||
dbo.ProjectRestorePoint_Count,PlotLine/Data/ProjectRestorePointRepository.cs:41 ProjectRestorePointRepository.CountAsync,
|
||||
dbo.ProjectRestorePoint_Create,PlotLine/Data/ProjectRestorePointRepository.cs:50 ProjectRestorePointRepository.CreateAsync,
|
||||
dbo.ProjectRestorePoint_Delete,PlotLine/Data/ProjectRestorePointRepository.cs:66 ProjectRestorePointRepository.DeleteAsync,
|
||||
dbo.ProjectRestorePoint_Get,PlotLine/Data/ProjectRestorePointRepository.cs:32 ProjectRestorePointRepository.GetAsync,
|
||||
dbo.ProjectRestorePoint_List,PlotLine/Data/ProjectRestorePointRepository.cs:22 ProjectRestorePointRepository.ListAsync,
|
||||
dbo.ProjectTimelineMetricSettings_List,PlotLine/Data/Repositories.cs:2919 TimelineSettingsRepository.ListMetricSettingsAsync,
|
||||
dbo.ProjectTimelineSettings_EnsureDefaults,,ProjectTimelineMetricSettings_List; ProjectTimelineSettings_Get; ProjectTimelineSettings_Save
|
||||
dbo.ProjectTimelineSettings_Get,PlotLine/Data/Repositories.cs:2900 TimelineSettingsRepository.GetAsync,
|
||||
dbo.ProjectTimelineSettings_MetricTypes,PlotLine/Data/Repositories.cs:2909 TimelineSettingsRepository.ListMetricTypesAsync,
|
||||
dbo.ProjectTimelineSettings_Save,PlotLine/Data/Repositories.cs:2929 TimelineSettingsRepository.SaveAsync,
|
||||
dbo.Relationship_Archive,PlotLine/Data/Repositories.cs:4158 CharacterRepository.ArchiveRelationshipAsync,
|
||||
dbo.Relationship_Get,PlotLine/Data/Repositories.cs:4108 CharacterRepository.GetRelationshipAsync,
|
||||
dbo.Relationship_ListByCharacter,PlotLine/Data/Repositories.cs:4101 CharacterRepository.ListRelationshipsByCharacterAsync,Export_CharacterReference
|
||||
dbo.Relationship_ListByProject,PlotLine/Data/Repositories.cs:4094 CharacterRepository.ListRelationshipsByProjectAsync,
|
||||
dbo.Relationship_ListInitialByCharacter,PlotLine/Data/Repositories.cs:4151 CharacterRepository.ListInitialRelationshipsByCharacterAsync,
|
||||
dbo.Relationship_Save,PlotLine/Data/Repositories.cs:4124 CharacterRepository.SaveRelationshipAsync,
|
||||
dbo.RelationshipCategory_List,,
|
||||
dbo.RelationshipEvent_Delete,PlotLine/Data/Repositories.cs:4196 CharacterRepository.DeleteRelationshipEventAsync,
|
||||
dbo.RelationshipEvent_ListByCharacter,PlotLine/Data/Repositories.cs:4171 CharacterRepository.ListRelationshipEventsByCharacterAsync,Dynamics_CharacterArc
|
||||
dbo.RelationshipEvent_ListByScene,PlotLine/Data/Repositories.cs:4164 CharacterRepository.ListRelationshipEventsBySceneAsync,
|
||||
dbo.RelationshipEvent_Save,PlotLine/Data/Repositories.cs:4178 CharacterRepository.SaveRelationshipEventAsync,
|
||||
dbo.RelationshipMap_GetByProject,PlotLine/Data/Repositories.cs:4211 CharacterRepository.GetRelationshipMapAsync,
|
||||
dbo.RelationshipType_ListWithCategories,,
|
||||
dbo.RelationshipType_UpdateCategory,,
|
||||
dbo.Scenario_ApplyToMain,PlotLine/Data/Repositories.cs:1866 ScenarioRepository.ApplyAsync,
|
||||
dbo.Scenario_Archive,PlotLine/Data/Repositories.cs:1872 ScenarioRepository.ArchiveAsync,
|
||||
dbo.Scenario_Compare,PlotLine/Data/Repositories.cs:1859 ScenarioRepository.CompareAsync,
|
||||
dbo.Scenario_Create,PlotLine/Data/Repositories.cs:1824 ScenarioRepository.CreateAsync,
|
||||
dbo.Scenario_Get,PlotLine/Data/Repositories.cs:1818 ScenarioRepository.GetAsync,
|
||||
dbo.Scenario_List,PlotLine/Data/Repositories.cs:1811 ScenarioRepository.ListAsync,
|
||||
dbo.Scenario_MoveScene,PlotLine/Data/Repositories.cs:1844 ScenarioRepository.MoveSceneAsync,
|
||||
dbo.Scenario_Timeline,PlotLine/Data/Repositories.cs:1833 ScenarioRepository.GetTimelineAsync,
|
||||
dbo.Scenario_Validate,PlotLine/Data/Repositories.cs:1853 ScenarioRepository.ValidateAsync,
|
||||
dbo.Scene_Archive,PlotLine/Data/Repositories.cs:2680 SceneRepository.ArchiveAsync,
|
||||
dbo.Scene_FloorPlanLink_Save,PlotLine/Data/Repositories.cs:2628 SceneRepository.SaveFloorPlanLinkAsync; PlotLine/Data/Repositories.cs:2770 SceneFloorPlanOccupancyRepository.SaveAsync,
|
||||
dbo.Scene_Get,PlotLine/Data/Repositories.cs:2565 SceneRepository.GetAsync,
|
||||
dbo.Scene_ListByChapter,PlotLine/Data/ImportRepository.cs:296 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:2551 SceneRepository.ListByChapterAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:553 StoryIntelligenceResultRepository.ListChapterScenesAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:617 StoryIntelligenceResultRepository.CommitImportAsync,
|
||||
dbo.Scene_ListByFloorPlan,PlotLine/Data/Repositories.cs:2558 SceneRepository.ListByFloorPlanAsync,
|
||||
dbo.Scene_Move,PlotLine/Data/Repositories.cs:2691 SceneRepository.MoveAsync,
|
||||
dbo.Scene_MoveRelative,PlotLine/Data/Repositories.cs:2722 SceneRepository.MoveRelativeAsync,
|
||||
dbo.Scene_MoveToChapter,PlotLine/Data/Repositories.cs:2713 SceneRepository.MoveToChapterAsync,
|
||||
dbo.Scene_NormalizeSortOrder,,Scene_MoveRelative; Scene_MoveToChapter
|
||||
dbo.Scene_RenumberChapter,PlotLine/Data/Repositories.cs:2731 SceneRepository.RenumberChapterAsync,Scene_MoveToChapter
|
||||
dbo.Scene_Save,PlotLine/Data/ImportRepository.cs:312 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:2580 SceneRepository.SaveAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:676 StoryIntelligenceResultRepository.CommitImportAsync,
|
||||
dbo.Scene_SavePurposes,PlotLine/Data/Repositories.cs:2642 SceneRepository.SavePurposesAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:741 StoryIntelligenceResultRepository.CommitImportAsync,
|
||||
dbo.Scene_UpdatePovCharacter,PlotLine/Data/ImportRepository.cs:342 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:2610 SceneRepository.UpdatePovCharacterAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:725 StoryIntelligenceResultRepository.CommitImportAsync,
|
||||
dbo.SceneAssetLocation_Delete,PlotLine/Data/Repositories.cs:696 LocationRepository.DeleteSceneAssetLocationAsync,
|
||||
dbo.SceneAssetLocation_ListByLocation,PlotLine/Data/Repositories.cs:754 LocationRepository.ListAssetsByLocationAsync,
|
||||
dbo.SceneAssetLocation_ListByScene,PlotLine/Data/Repositories.cs:672 LocationRepository.ListSceneAssetLocationsAsync,
|
||||
dbo.SceneAssetLocation_ListBySceneLocation,,
|
||||
dbo.SceneAssetLocation_Save,PlotLine/Data/ImportRepository.cs:566 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:679 LocationRepository.SaveSceneAssetLocationAsync,
|
||||
dbo.SceneAssetSuggestion_Accept,PlotLine/Data/Repositories.cs:3553 AssetRepository.AcceptSceneAssetSuggestionAsync,
|
||||
dbo.SceneAssetSuggestion_Reject,PlotLine/Data/Repositories.cs:3562 AssetRepository.RejectSceneAssetSuggestionAsync,
|
||||
dbo.SceneAssetSuggestions_CountByChapter,PlotLine/Data/Repositories.cs:3571 AssetRepository.CountSceneAssetSuggestionsByChapterAsync,
|
||||
dbo.SceneAssetSuggestions_ListByScene,PlotLine/Data/Repositories.cs:3543 AssetRepository.ListSceneAssetSuggestionsAsync,
|
||||
dbo.SceneAttachment_Delete,PlotLine/Data/Repositories.cs:1318 WriterWorkspaceRepository.DeleteAttachmentAsync,
|
||||
dbo.SceneAttachment_ListByScene,PlotLine/Data/Repositories.cs:1302 WriterWorkspaceRepository.ListAttachmentsAsync,
|
||||
dbo.SceneAttachment_Save,PlotLine/Data/Repositories.cs:1309 WriterWorkspaceRepository.SaveAttachmentAsync,
|
||||
dbo.SceneAttachmentType_List,PlotLine/Data/Repositories.cs:1222 WriterWorkspaceRepository.ListAttachmentTypesAsync,
|
||||
dbo.SceneCharacter_Delete,PlotLine/Data/Repositories.cs:3979 CharacterRepository.DeleteSceneCharacterAsync,
|
||||
dbo.SceneCharacter_ListByScene,PlotLine/Data/Repositories.cs:3943 CharacterRepository.ListSceneCharactersAsync,
|
||||
dbo.SceneCharacter_Save,PlotLine/Data/ImportRepository.cs:351 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3950 CharacterRepository.SaveSceneCharacterAsync,
|
||||
dbo.SceneCharacterSuggestion_Accept,PlotLine/Data/Repositories.cs:3995 CharacterRepository.AcceptSceneCharacterSuggestionAsync,
|
||||
dbo.SceneCharacterSuggestion_Reject,PlotLine/Data/Repositories.cs:4004 CharacterRepository.RejectSceneCharacterSuggestionAsync,
|
||||
dbo.SceneCharacterSuggestions_CountByChapter,PlotLine/Data/Repositories.cs:4013 CharacterRepository.CountSceneCharacterSuggestionsByChapterAsync,
|
||||
dbo.SceneCharacterSuggestions_ListByScene,PlotLine/Data/Repositories.cs:3985 CharacterRepository.ListSceneCharacterSuggestionsAsync,
|
||||
dbo.SceneChecklist_Delete,PlotLine/Data/Repositories.cs:1296 WriterWorkspaceRepository.DeleteChecklistItemAsync,
|
||||
dbo.SceneChecklist_ListByScene,PlotLine/Data/Repositories.cs:1280 WriterWorkspaceRepository.ListChecklistItemsAsync,
|
||||
dbo.SceneChecklist_Save,PlotLine/Data/Repositories.cs:1287 WriterWorkspaceRepository.SaveChecklistItemAsync,WriterAuthoring_Save
|
||||
dbo.SceneDependency_Archive,PlotLine/Data/Repositories.cs:1996 SceneDependencyRepository.ArchiveAsync,
|
||||
dbo.SceneDependency_Counts,PlotLine/Data/Repositories.cs:1971 SceneDependencyRepository.GetCountsAsync,
|
||||
dbo.SceneDependency_FinaliseWarnings,PlotLine/Data/Repositories.cs:1028 WarningRepository.FinaliseSceneDependencyWarningsAsync,
|
||||
dbo.SceneDependency_ListByProject,PlotLine/Data/Repositories.cs:1964 SceneDependencyRepository.ListByProjectAsync,
|
||||
dbo.SceneDependency_ListByScene,PlotLine/Data/Repositories.cs:1957 SceneDependencyRepository.ListBySceneAsync,
|
||||
dbo.SceneDependency_Save,PlotLine/Data/ImportRepository.cs:624 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:1978 SceneDependencyRepository.SaveAsync,
|
||||
dbo.SceneDependencyLookup_All,PlotLine/Data/Repositories.cs:1950 SceneDependencyRepository.GetLookupsAsync,
|
||||
dbo.SceneFloorPlanOccupancy_ListByFloorPlan,PlotLine/Data/Repositories.cs:2750 SceneFloorPlanOccupancyRepository.ListByFloorPlanAsync,
|
||||
dbo.SceneFloorPlanOccupancy_ListByScene,PlotLine/Data/Repositories.cs:2740 SceneFloorPlanOccupancyRepository.ListBySceneAsync,
|
||||
dbo.SceneFloorPlanOccupancy_Save,PlotLine/Data/Repositories.cs:2777 SceneFloorPlanOccupancyRepository.SaveAsync,
|
||||
dbo.SceneFloorPlanParticipant_ListByFloorPlan,PlotLine/Data/Repositories.cs:2760 SceneFloorPlanOccupancyRepository.ListParticipantsByFloorPlanAsync,
|
||||
dbo.SceneLocation_SavePrimary,,
|
||||
dbo.SceneLocationSuggestion_Accept,PlotLine/Data/Repositories.cs:712 LocationRepository.AcceptSceneLocationSuggestionAsync,
|
||||
dbo.SceneLocationSuggestion_Reject,PlotLine/Data/Repositories.cs:721 LocationRepository.RejectSceneLocationSuggestionAsync,
|
||||
dbo.SceneLocationSuggestions_CountByChapter,PlotLine/Data/Repositories.cs:730 LocationRepository.CountSceneLocationSuggestionsByChapterAsync,
|
||||
dbo.SceneLocationSuggestions_ListByScene,PlotLine/Data/Repositories.cs:702 LocationRepository.ListSceneLocationSuggestionsAsync,
|
||||
dbo.SceneManuscriptSource_GetByScene,PlotLine/Data/ManuscriptTextStatisticsRepository.cs:65 ManuscriptTextStatisticsRepository.GetSourceBySceneAsync,
|
||||
dbo.SceneManuscriptSource_ListByBook,PlotLine/Data/OnboardingBuildRepository.cs:193 OnboardingBuildRepository.ListSceneManuscriptSourcesByBookAsync,
|
||||
dbo.SceneManuscriptSource_ListByChapter,PlotLine/Data/OnboardingBuildRepository.cs:203 OnboardingBuildRepository.ListSceneManuscriptSourcesByChapterAsync,
|
||||
dbo.SceneManuscriptSource_Save,PlotLine/Data/OnboardingBuildRepository.cs:161 OnboardingBuildRepository.SaveSceneManuscriptSourceAsync,NativeReviewImport; ParagraphManuscript
|
||||
dbo.SceneMetric_BackfillDefaultsForProject,PlotLine/Data/Repositories.cs:3014 SceneMetricTypeRepository.BackfillDefaultValuesForProjectAsync,
|
||||
dbo.SceneMetric_EnsureDefaults,,Scene_Get; SceneMetric_ListByScene
|
||||
dbo.SceneMetric_ListByScene,,Scene_Get
|
||||
dbo.SceneMetric_ListRecordedForBook,PlotLine/Data/Repositories.cs:2651 SceneRepository.ListRecordedMetricsByBookAsync,
|
||||
dbo.SceneMetric_SaveValue,PlotLine/Data/Repositories.cs:2659 SceneRepository.SaveMetricValuesAsync; PlotLine/Data/Repositories.cs:2669 SceneRepository.SaveMetricValueAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:757 StoryIntelligenceResultRepository.CommitImportAsync,
|
||||
dbo.SceneMetricType_AddMissingDefaultsForProject,PlotLine/Data/Repositories.cs:3008 SceneMetricTypeRepository.AddMissingDefaultsAsync,
|
||||
dbo.SceneMetricType_GetForProject,PlotLine/Data/Repositories.cs:2961 SceneMetricTypeRepository.GetAsync,
|
||||
dbo.SceneMetricType_List,,
|
||||
dbo.SceneMetricType_ListForProjectManagement,PlotLine/Data/Repositories.cs:2951 SceneMetricTypeRepository.ListForManagementAsync,
|
||||
dbo.SceneMetricType_MoveForProject,PlotLine/Data/Repositories.cs:2999 SceneMetricTypeRepository.MoveAsync,
|
||||
dbo.SceneMetricType_ProjectHasMetrics,PlotLine/Data/Repositories.cs:3032 SceneMetricTypeRepository.HasProjectMetricsAsync,
|
||||
dbo.SceneMetricType_RemoveUnusedForProject,PlotLine/Data/Repositories.cs:3023 SceneMetricTypeRepository.RemoveUnusedAsync,
|
||||
dbo.SceneMetricType_SaveForProject,PlotLine/Data/Repositories.cs:2970 SceneMetricTypeRepository.SaveAsync,
|
||||
dbo.SceneMetricType_SetActiveForProject,PlotLine/Data/Repositories.cs:2990 SceneMetricTypeRepository.SetActiveAsync,
|
||||
dbo.SceneMovePreview_Get,PlotLine/Data/Repositories.cs:2704 SceneRepository.GetMovePreviewAsync,
|
||||
dbo.SceneNote_Delete,PlotLine/Data/Repositories.cs:1274 WriterWorkspaceRepository.DeleteNoteAsync,
|
||||
dbo.SceneNote_ListByScene,PlotLine/Data/Repositories.cs:1258 WriterWorkspaceRepository.ListNotesAsync,
|
||||
dbo.SceneNote_Save,PlotLine/Data/Repositories.cs:1265 WriterWorkspaceRepository.SaveNoteAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:777 StoryIntelligenceResultRepository.CommitImportAsync,WriterAuthoring_Save
|
||||
dbo.SceneNoteType_List,PlotLine/Data/Repositories.cs:1215 WriterWorkspaceRepository.ListNoteTypesAsync,
|
||||
dbo.SceneOption_ListByProject,PlotLine/Data/Repositories.cs:3277 PlotRepository.ListSceneOptionsAsync,
|
||||
dbo.SceneStructuralSummary_Save,PlotLine/Data/OnboardingBuildRepository.cs:184 OnboardingBuildRepository.SaveSceneStructuralSummaryAsync,NativeReviewImport
|
||||
dbo.SceneTextStatistics_GetByScene,PlotLine/Data/ManuscriptTextStatisticsRepository.cs:38 ManuscriptTextStatisticsRepository.GetBySceneAsync,
|
||||
dbo.SceneTextStatistics_ListByChapter,PlotLine/Data/ManuscriptTextStatisticsRepository.cs:47 ManuscriptTextStatisticsRepository.ListByChapterAsync,
|
||||
dbo.SceneTextStatistics_ListMissingByBook,,
|
||||
dbo.SceneTextStatistics_Save,PlotLine/Data/ManuscriptTextStatisticsRepository.cs:20 ManuscriptTextStatisticsRepository.SaveAsync,
|
||||
dbo.SceneWorkflow_Get,PlotLine/Data/Repositories.cs:1229 WriterWorkspaceRepository.GetWorkflowAsync,
|
||||
dbo.SceneWorkflow_Save,PlotLine/Data/Repositories.cs:1235 WriterWorkspaceRepository.SaveWorkflowAsync,WriterAuthoring_Save
|
||||
dbo.SetWritingPlanActive,PlotLine/Data/Repositories.cs:1429 WritingScheduleRepository.SetWritingPlanActiveAsync,
|
||||
dbo.StoryAsset_Archive,PlotLine/Data/Repositories.cs:3498 AssetRepository.ArchiveAssetAsync,
|
||||
dbo.StoryAsset_Get,PlotLine/Data/Repositories.cs:3423 AssetRepository.GetAssetAsync,
|
||||
dbo.StoryAsset_ListByProject,PlotLine/Data/Repositories.cs:3416 AssetRepository.ListAssetsAsync,
|
||||
dbo.StoryAsset_Merge,PlotLine/Data/Repositories.cs:3388 AssetRepository.MergeAsync,
|
||||
dbo.StoryAsset_Save,PlotLine/Data/ImportRepository.cs:484 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3429 AssetRepository.SaveAssetAsync,
|
||||
dbo.StoryAsset_UpdateImage,PlotLine/Data/Repositories.cs:3489 AssetRepository.UpdateAssetImageAsync,
|
||||
dbo.StoryBible_AssetSummaries,PlotLine/Data/Repositories.cs:1170 StoryBibleRepository.GetAssetSummariesAsync,Export_StoryBible
|
||||
dbo.StoryBible_CharacterSummaries,PlotLine/Data/Repositories.cs:1158 StoryBibleRepository.GetCharacterSummariesAsync,Export_StoryBible
|
||||
dbo.StoryBible_LocationSummaries,PlotLine/Data/Repositories.cs:1182 StoryBibleRepository.GetLocationSummariesAsync,Export_StoryBible
|
||||
dbo.StoryBible_OpenQuestions,PlotLine/Data/Repositories.cs:1194 StoryBibleRepository.GetOpenQuestionsAsync,Export_StoryBible
|
||||
dbo.StoryBible_RelationshipSummaries,PlotLine/Data/Repositories.cs:1176 StoryBibleRepository.GetRelationshipSummariesAsync,Export_StoryBible
|
||||
dbo.StoryBible_RevisionProgress,PlotLine/Data/Repositories.cs:1200 StoryBibleRepository.GetRevisionProgressAsync,Export_StoryBible
|
||||
dbo.StoryBible_Search,PlotLine/Data/Repositories.cs:1206 StoryBibleRepository.SearchAsync,Export_SearchResults
|
||||
dbo.StoryBible_ThreadSummaries,PlotLine/Data/Repositories.cs:1164 StoryBibleRepository.GetThreadSummariesAsync,Export_StoryBible
|
||||
dbo.StoryBible_TimelineSummary,PlotLine/Data/Repositories.cs:1188 StoryBibleRepository.GetTimelineSummaryAsync,Export_NarrativeTimeline; Export_StoryBible
|
||||
dbo.StoryIntelligence_DevelopmentAccountReset,,
|
||||
dbo.StoryIntelligenceBookPipeline_FindNextReadySceneAnalysis,PlotLine/Data/StoryIntelligencePipelineRepository.cs:107 StoryIntelligencePipelineRepository.FindNextReadySceneAnalysisAsync,
|
||||
dbo.StoryIntelligenceBookPipeline_GetByBook,PlotLine/Data/StoryIntelligencePipelineRepository.cs:35 StoryIntelligencePipelineRepository.GetByBookAsync,StoryIntelligenceBookPipeline_Upsert
|
||||
dbo.StoryIntelligenceBookPipeline_GetByBookForUser,PlotLine/Data/StoryIntelligencePipelineRepository.cs:44 StoryIntelligencePipelineRepository.GetByBookForUserAsync,
|
||||
dbo.StoryIntelligenceBookPipeline_GetByIDForUser,PlotLine/Data/StoryIntelligencePipelineRepository.cs:26 StoryIntelligencePipelineRepository.GetByIdForUserAsync,
|
||||
dbo.StoryIntelligenceBookPipeline_ListCommittedRunsByBook,PlotLine/Data/StoryIntelligencePipelineRepository.cs:97 StoryIntelligencePipelineRepository.ListCommittedRunsByBookAsync,
|
||||
dbo.StoryIntelligenceBookPipeline_ListForUser,PlotLine/Data/StoryIntelligencePipelineRepository.cs:62 StoryIntelligencePipelineRepository.ListForUserAsync,
|
||||
dbo.StoryIntelligenceBookPipeline_TryBeginCompletionNotification,PlotLine/Data/StoryIntelligencePipelineRepository.cs:124 StoryIntelligencePipelineRepository.TryBeginCompletionNotificationAsync,
|
||||
dbo.StoryIntelligenceBookPipeline_TryCompleteNextReadySceneAnalysis,,
|
||||
dbo.StoryIntelligenceBookPipeline_TryCompleteSceneAnalysis,PlotLine/Data/StoryIntelligencePipelineRepository.cs:115 StoryIntelligencePipelineRepository.TryCompleteSceneAnalysisAsync,StoryIntelligenceBookPipeline_TryCompleteNextReadySceneAnalysis
|
||||
dbo.StoryIntelligenceBookPipeline_Upsert,PlotLine/Data/StoryIntelligencePipelineRepository.cs:72 StoryIntelligencePipelineRepository.UpsertAsync,
|
||||
dbo.StoryIntelligenceChapterResult_GetByRun,PlotLine/Data/StoryIntelligenceResultRepository.cs:534 StoryIntelligenceResultRepository.GetChapterResultAsync,
|
||||
dbo.StoryIntelligenceChapterResult_Save,PlotLine/Data/StoryIntelligenceResultRepository.cs:436 StoryIntelligenceResultRepository.SaveChapterResultAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:98 StoryIntelligenceResultRepository.SaveAsync,
|
||||
dbo.StoryIntelligenceImportCommit_CountChapterScenes,,
|
||||
dbo.StoryIntelligenceImportCommit_GetByRun,PlotLine/Data/StoryIntelligenceResultRepository.cs:567 StoryIntelligenceResultRepository.GetImportCommitAsync,
|
||||
dbo.StoryIntelligenceImportCommit_GetChapterReadiness,PlotLine/Data/StoryIntelligenceResultRepository.cs:576 StoryIntelligenceResultRepository.GetChapterImportReadinessAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:608 StoryIntelligenceResultRepository.CommitImportAsync,
|
||||
dbo.StoryIntelligenceImportCommit_HasCompleted,PlotLine/Data/StoryIntelligenceResultRepository.cs:593 StoryIntelligenceResultRepository.CommitImportAsync,
|
||||
dbo.StoryIntelligenceImportCommit_RecordCompleted,PlotLine/Data/StoryIntelligenceResultRepository.cs:809 StoryIntelligenceResultRepository.CommitImportAsync,
|
||||
dbo.StoryIntelligenceImportCommit_RecordFailed,PlotLine/Data/StoryIntelligenceResultRepository.cs:848 StoryIntelligenceResultRepository.RecordFailedCommitAsync,
|
||||
dbo.StoryIntelligenceImportCommit_UpdateChapterPlanning,PlotLine/Data/StoryIntelligenceResultRepository.cs:641 StoryIntelligenceResultRepository.CommitImportAsync,
|
||||
dbo.StoryIntelligenceJob_Cancel,PlotLine/Data/StoryIntelligenceRepository.cs:92 StoryIntelligenceRepository.CancelAsync,
|
||||
dbo.StoryIntelligenceJob_ClaimNextPending,PlotLine/Data/StoryIntelligenceRepository.cs:58 StoryIntelligenceRepository.ClaimNextPendingAsync,
|
||||
dbo.StoryIntelligenceJob_Complete,PlotLine/Data/StoryIntelligenceRepository.cs:83 StoryIntelligenceRepository.CompleteAsync,
|
||||
dbo.StoryIntelligenceJob_CreateWithConsent,PlotLine/Data/StoryIntelligenceRepository.cs:24 StoryIntelligenceRepository.CreateWithConsentAsync,
|
||||
dbo.StoryIntelligenceJob_Fail,PlotLine/Data/StoryIntelligenceRepository.cs:101 StoryIntelligenceRepository.FailAsync,
|
||||
dbo.StoryIntelligenceJob_Get,PlotLine/Data/StoryIntelligenceRepository.cs:40 StoryIntelligenceRepository.GetAsync,StoryIntelligenceJob_Cancel; StoryIntelligenceJob_CreateWithConsent
|
||||
dbo.StoryIntelligenceJob_GetLatestForUser,PlotLine/Data/StoryIntelligenceRepository.cs:49 StoryIntelligenceRepository.GetLatestForUserAsync,
|
||||
dbo.StoryIntelligenceJob_UpdateProgress,PlotLine/Data/StoryIntelligenceRepository.cs:66 StoryIntelligenceRepository.UpdateProgressAsync,
|
||||
dbo.StoryIntelligenceLocationReview_BackfillSignificance,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:165 StoryIntelligenceReviewCandidateRepository.BackfillLocationSignificanceAsync,
|
||||
dbo.StoryIntelligenceLocationReview_List,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:158 StoryIntelligenceReviewCandidateRepository.ListLocationsAsync,
|
||||
dbo.StoryIntelligenceNarrativeCandidate_ListByBook,PlotLine/Data/Repositories.cs:3337 StoryIntelligenceNarrativeCandidateRepository.ListByBookAsync,
|
||||
dbo.StoryIntelligenceNarrativeCandidate_MarkReviewed,PlotLine/Data/Repositories.cs:3365 StoryIntelligenceNarrativeCandidateRepository.MarkReviewedAsync; PlotLine/Services/StoryIntelligenceNarrativeReviewService.cs:565 StoryIntelligenceNarrativeReviewService.MarkReviewedAsync,
|
||||
dbo.StoryIntelligenceNarrativeCandidate_Save,PlotLine/Data/Repositories.cs:3287 StoryIntelligenceNarrativeCandidateRepository.SaveAsync,
|
||||
dbo.StoryIntelligenceNarrativeCandidateEvidence_Save,PlotLine/Data/Repositories.cs:3321 StoryIntelligenceNarrativeCandidateRepository.SaveEvidenceAsync; PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:204 WholeBookPlotIntelligenceRepository.CompleteAsync,
|
||||
dbo.StoryIntelligenceRelationship_AcceptDevelopment,PlotLine/Data/Repositories.cs:4117 CharacterRepository.AcceptRelationshipDevelopmentAsync,StoryIntelligenceReview_Assess
|
||||
dbo.StoryIntelligenceReview_Assess,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:43 StoryIntelligenceReviewCandidateRepository.AssessAsync,
|
||||
dbo.StoryIntelligenceReview_List,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:31 StoryIntelligenceReviewCandidateRepository.ListAllAsync,
|
||||
dbo.StoryIntelligenceReview_Summary,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:37 StoryIntelligenceReviewCandidateRepository.GetReviewSummaryAsync,
|
||||
dbo.StoryIntelligenceReviewCandidate_ListPage,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:131 StoryIntelligenceReviewCandidateRepository.ListPageAsync,
|
||||
dbo.StoryIntelligenceReviewCandidate_MarkReviewed,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:141 StoryIntelligenceReviewCandidateRepository.MarkReviewedAsync,
|
||||
dbo.StoryIntelligenceReviewCandidate_RefreshPendingRelationships,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:50 StoryIntelligenceReviewCandidateRepository.RefreshPendingRelationshipsAsync,
|
||||
dbo.StoryIntelligenceReviewCandidate_ResetBook,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:172 StoryIntelligenceReviewCandidateRepository.ResetBookAsync,
|
||||
dbo.StoryIntelligenceReviewCandidate_Save,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:75 StoryIntelligenceReviewCandidateRepository.SaveCandidateAsync,
|
||||
dbo.StoryIntelligenceReviewCandidateEvidence_Save,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:97 StoryIntelligenceReviewCandidateRepository.SaveEvidenceAsync,
|
||||
dbo.StoryIntelligenceReviewCandidateGeneration_Begin,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:57 StoryIntelligenceReviewCandidateRepository.BeginGenerationAsync,
|
||||
dbo.StoryIntelligenceReviewCandidateGeneration_Complete,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:113 StoryIntelligenceReviewCandidateRepository.CompleteGenerationAsync,
|
||||
dbo.StoryIntelligenceReviewCandidateGeneration_Fail,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:122 StoryIntelligenceReviewCandidateRepository.FailGenerationAsync,
|
||||
dbo.StoryIntelligenceReviewCandidateGeneration_GetCurrent,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:66 StoryIntelligenceReviewCandidateRepository.GetCurrentGenerationAsync,
|
||||
dbo.StoryIntelligenceReviewCentre_GetSummary,PlotLine/Data/StoryIntelligencePipelineRepository.cs:53 StoryIntelligencePipelineRepository.GetReviewCentreSummaryAsync,
|
||||
dbo.StoryIntelligenceRun_Cancel,PlotLine/Data/StoryIntelligenceResultRepository.cs:427 StoryIntelligenceResultRepository.CancelRunAsync,
|
||||
dbo.StoryIntelligenceRun_ClaimNextPending,PlotLine/Data/StoryIntelligenceResultRepository.cs:261 StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:321 StoryIntelligenceResultRepository.ClaimNextPendingAsync,
|
||||
dbo.StoryIntelligenceRun_ClaimNextPendingFair,PlotLine/Data/StoryIntelligenceResultRepository.cs:332 StoryIntelligenceResultRepository.ClaimNextPendingFairAsync,
|
||||
dbo.StoryIntelligenceRun_Complete,PlotLine/Data/StoryIntelligenceResultRepository.cs:383 StoryIntelligenceResultRepository.CompleteRunAsync,
|
||||
dbo.StoryIntelligenceRun_Fail,PlotLine/Data/StoryIntelligenceResultRepository.cs:402 StoryIntelligenceResultRepository.FailRunAsync,
|
||||
dbo.StoryIntelligenceRun_GetAdmin,PlotLine/Data/StoryIntelligenceResultRepository.cs:525 StoryIntelligenceResultRepository.GetRunAsync,
|
||||
dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser,PlotLine/Data/StoryIntelligenceResultRepository.cs:515 StoryIntelligenceResultRepository.ListActiveBookRunSummariesForUserAsync,
|
||||
dbo.StoryIntelligenceRun_ListAdmin,PlotLine/Data/StoryIntelligenceResultRepository.cs:496 StoryIntelligenceResultRepository.ListRunsAsync,
|
||||
dbo.StoryIntelligenceRun_ListByBookForUser,PlotLine/Data/StoryIntelligenceResultRepository.cs:505 StoryIntelligenceResultRepository.ListRunsByBookForUserAsync,
|
||||
dbo.StoryIntelligenceRun_QueueAdminText,PlotLine/Data/StoryIntelligenceResultRepository.cs:170 StoryIntelligenceResultRepository.QueueAdminTextAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:218 StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync,
|
||||
dbo.StoryIntelligenceRun_RequestCancel,PlotLine/Data/StoryIntelligenceResultRepository.cs:418 StoryIntelligenceResultRepository.RequestCancelAsync,
|
||||
dbo.StoryIntelligenceRun_Save,PlotLine/Data/StoryIntelligenceResultRepository.cs:58 StoryIntelligenceResultRepository.SaveAsync,
|
||||
dbo.StoryIntelligenceRun_UpdateProgress,PlotLine/Data/StoryIntelligenceResultRepository.cs:359 StoryIntelligenceResultRepository.UpdateProgressAsync,
|
||||
dbo.StoryIntelligenceSceneResult_ListByRun,PlotLine/Data/StoryIntelligenceResultRepository.cs:543 StoryIntelligenceResultRepository.ListSceneResultsAsync,
|
||||
dbo.StoryIntelligenceSceneResult_Save,PlotLine/Data/StoryIntelligenceResultRepository.cs:126 StoryIntelligenceResultRepository.SaveAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:464 StoryIntelligenceResultRepository.SaveSceneResultAsync,
|
||||
dbo.StoryIntelligenceSceneSource_Save,PlotLine/Data/StoryIntelligenceResultRepository.cs:703 StoryIntelligenceResultRepository.CommitImportAsync,
|
||||
dbo.StoryIntelligenceSource_BookListAdmin,PlotLine/Data/StoryIntelligenceSourceRepository.cs:29 StoryIntelligenceSourceRepository.ListBooksAsync,
|
||||
dbo.StoryIntelligenceSource_ChapterListAdmin,PlotLine/Data/StoryIntelligenceSourceRepository.cs:39 StoryIntelligenceSourceRepository.ListChaptersAsync,
|
||||
dbo.StoryIntelligenceSource_ChapterText_GetAdmin,PlotLine/Data/StoryIntelligenceSourceRepository.cs:49 StoryIntelligenceSourceRepository.GetChapterSourceAsync,
|
||||
dbo.StoryIntelligenceSource_ProjectListAdmin,PlotLine/Data/StoryIntelligenceSourceRepository.cs:20 StoryIntelligenceSourceRepository.ListProjectsAsync,
|
||||
dbo.StoryMap_Authorize,,Geography_Choose; Geography_Exclude; Geography_Get; Geography_Retry; Geography_SubmitHierarchy; Geography_SubmitLocations; MapReferenceImage_Create; MapReferenceImage_DeleteUnused; MapReferenceImage_Find; MapReferenceImage_Get; MapReferenceImage_List; MapReferenceImage_Owner; StoryMap_Backup; StoryMap_Create; StoryMap_Delete; StoryMap_Get; StoryMap_JourneySave; StoryMap_List; StoryMap_Save; StoryMap_Story
|
||||
dbo.StoryMap_Backup,PlotLine/Data/ProjectBackupRepository.cs:87 ProjectBackupRepository.GetProjectBackupAsync,
|
||||
dbo.StoryMap_Create,PlotLine/Data/MapRepository.cs:26 MapRepository.CreateAsync,
|
||||
dbo.StoryMap_Delete,PlotLine/Data/MapRepository.cs:69 MapRepository.DeleteAsync,
|
||||
dbo.StoryMap_Get,PlotLine/Data/MapRepository.cs:17 MapRepository.GetAsync,
|
||||
dbo.StoryMap_JourneySave,PlotLine/Data/MapStoryRepository.cs:30 MapStoryRepository.SaveJourneyAsync,
|
||||
dbo.StoryMap_List,PlotLine/Data/MapRepository.cs:12 MapRepository.ListAsync,
|
||||
dbo.StoryMap_Save,PlotLine/Data/MapRepository.cs:33 MapRepository.SaveAsync,
|
||||
dbo.StoryMap_Story,PlotLine/Data/MapStoryRepository.cs:16 MapStoryRepository.GetAsync,
|
||||
dbo.StoryMemory_GetAssignment,PlotLine/Data/StoryMemoryRepository.cs:279 StoryMemoryRepository.GetAssignmentAsync,
|
||||
dbo.StoryMemory_GetDiagnostics,PlotLine/Data/StoryMemoryRepository.cs:409 StoryMemoryRepository.GetDiagnosticsAsync,
|
||||
dbo.StoryMemory_GetImportContext,PlotLine/Data/StoryMemoryRepository.cs:363 StoryMemoryRepository.GetImportContextAsync,
|
||||
dbo.StoryMemory_InvalidateAssignment,PlotLine/Data/StoryMemoryRepository.cs:316 StoryMemoryRepository.InvalidateAssignmentAsync,
|
||||
dbo.StoryMemory_ListAssets,PlotLine/Data/StoryMemoryRepository.cs:267 StoryMemoryRepository.ListAssetsAsync,
|
||||
dbo.StoryMemory_ListAssignments,PlotLine/Data/StoryMemoryRepository.cs:273 StoryMemoryRepository.ListAssignmentsAsync,
|
||||
dbo.StoryMemory_ListCharacterAttributes,PlotLine/Data/StoryMemoryRepository.cs:253 StoryMemoryRepository.ListCharacterAttributesAsync,
|
||||
dbo.StoryMemory_ListCharacters,PlotLine/Data/StoryMemoryRepository.cs:247 StoryMemoryRepository.ListCharactersAsync,
|
||||
dbo.StoryMemory_ListDemands,PlotLine/Data/StoryMemoryRepository.cs:352 StoryMemoryRepository.ListDemandsAsync,
|
||||
dbo.StoryMemory_ListLocations,PlotLine/Data/StoryMemoryRepository.cs:261 StoryMemoryRepository.ListLocationsAsync,
|
||||
dbo.StoryMemory_ListProcessedSceneResultIds,PlotLine/Data/StoryMemoryRepository.cs:63 StoryMemoryRepository.ListProcessedSceneResultIdsAsync,
|
||||
dbo.StoryPoint_GetHistory,PlotLine/Data/StoryPointRepository.cs:27 StoryPointRepository.GetHistoryAsync,
|
||||
dbo.StripeWebhookEvent_Complete,PlotLine/Data/SubscriptionRepository.cs:157 SubscriptionRepository.CompleteStripeWebhookEventAsync,
|
||||
dbo.StripeWebhookEvent_TryBegin,PlotLine/Data/SubscriptionRepository.cs:148 SubscriptionRepository.TryBeginStripeWebhookEventAsync,
|
||||
dbo.SubscriptionAdmin_ExtendTrial,,
|
||||
dbo.SubscriptionAdmin_RevokeOverride,PlotLine/Data/SubscriptionRepository.cs:247 SubscriptionRepository.RevokeOverrideAsync,
|
||||
dbo.SubscriptionAdmin_SaveOverride,PlotLine/Data/SubscriptionRepository.cs:239 SubscriptionRepository.SaveOverrideAsync,
|
||||
dbo.SubscriptionAdmin_SearchUsers,PlotLine/Data/SubscriptionRepository.cs:229 SubscriptionRepository.SearchUsersAsync,
|
||||
dbo.SubscriptionEntitlement_ReleaseBookSlots,PlotLine/Data/SubscriptionRepository.cs:220 SubscriptionRepository.ReleaseBookSlotReservationAsync,ProjectRestore_ApplyFromJson
|
||||
dbo.SubscriptionEntitlement_TryReserveBookSlots,PlotLine/Data/SubscriptionRepository.cs:211 SubscriptionRepository.TryReserveBookSlotsAsync,ProjectRestore_ApplyFromJson
|
||||
dbo.SubscriptionLevel_Get,PlotLine/Data/SubscriptionRepository.cs:58 SubscriptionRepository.GetSubscriptionLevelAsync,
|
||||
dbo.SubscriptionLevel_GetByStripePrice,PlotLine/Data/SubscriptionRepository.cs:130 SubscriptionRepository.GetSubscriptionLevelByStripePriceAsync,
|
||||
dbo.SubscriptionLevel_ListActive,PlotLine/Data/SubscriptionRepository.cs:67 SubscriptionRepository.GetActiveSubscriptionLevelsAsync,
|
||||
dbo.SubscriptionOverride_GetActive,PlotLine/Data/SubscriptionRepository.cs:202 SubscriptionRepository.GetActiveOverrideAsync,
|
||||
dbo.SubscriptionUsage_BookCountForOwner,PlotLine/Data/SubscriptionRepository.cs:76 SubscriptionRepository.GetOwnedBookCountAsync,
|
||||
dbo.SubscriptionUsage_ChapterCountForBook,PlotLine/Data/SubscriptionRepository.cs:85 SubscriptionRepository.GetChapterCountForBookAsync,
|
||||
dbo.SubscriptionUsage_CharacterCountForProject,PlotLine/Data/SubscriptionRepository.cs:103 SubscriptionRepository.GetCharacterCountForProjectAsync,
|
||||
dbo.SubscriptionUsage_CollaboratorCountForOwner,PlotLine/Data/SubscriptionRepository.cs:112 SubscriptionRepository.GetCollaboratorCountForOwnerAsync,
|
||||
dbo.SubscriptionUsage_GetSummaryForOwner,PlotLine/Data/SubscriptionRepository.cs:121 SubscriptionRepository.GetUsageSummaryForOwnerAsync,
|
||||
dbo.SubscriptionUsage_SceneCountForBook,PlotLine/Data/SubscriptionRepository.cs:94 SubscriptionRepository.GetSceneCountForBookAsync,
|
||||
dbo.ThreadEvent_Delete,PlotLine/Data/Repositories.cs:3271 PlotRepository.DeleteThreadEventAsync,
|
||||
dbo.ThreadEvent_ListByPlotThread,PlotLine/Data/Repositories.cs:3203 PlotRepository.ListThreadEventsByPlotThreadAsync,
|
||||
dbo.ThreadEvent_ListByScene,PlotLine/Data/Repositories.cs:3195 PlotRepository.ListThreadEventsBySceneAsync,
|
||||
dbo.ThreadEvent_Save,PlotLine/Data/ImportRepository.cs:449 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3242 PlotRepository.SaveThreadEventAsync; PlotLine/Services/StoryIntelligenceNarrativeReviewService.cs:535 StoryIntelligenceNarrativeReviewService.SaveThreadEventAsync,
|
||||
dbo.ThreadEventTarget_ListByEvents,PlotLine/Data/Repositories.cs:2861 TimelineRepository.PopulateThreadEventTargetsAsync; PlotLine/Data/Repositories.cs:3216 PlotRepository.PopulateThreadEventTargetsAsync,
|
||||
dbo.ThreadEventTarget_SaveForEvent,PlotLine/Data/Repositories.cs:3262 PlotRepository.SaveThreadEventTargetsAsync,
|
||||
dbo.Timeline_GetByProject,PlotLine/Data/Repositories.cs:2816 TimelineRepository.GetByProjectAsync,
|
||||
dbo.Timeline_SceneOverviews,PlotLine/Data/Repositories.cs:2887 TimelineRepository.GetSceneOverviewsAsync,
|
||||
dbo.TimelineViewPreset_Archive,PlotLine/Data/Repositories.cs:3079 TimelinePresetRepository.ArchiveAsync,
|
||||
dbo.TimelineViewPreset_Get,PlotLine/Data/Repositories.cs:3051 TimelinePresetRepository.GetAsync,
|
||||
dbo.TimelineViewPreset_List,PlotLine/Data/Repositories.cs:3041 TimelinePresetRepository.ListAsync,
|
||||
dbo.TimelineViewPreset_Save,PlotLine/Data/Repositories.cs:3060 TimelinePresetRepository.SaveAsync,
|
||||
dbo.UpdateScheduleItem,PlotLine/Data/Repositories.cs:1472 WritingScheduleRepository.UpdateScheduleItemAsync,
|
||||
dbo.UpdateScheduleItemStatus,PlotLine/Data/Repositories.cs:1499 WritingScheduleRepository.UpdateScheduleItemStatusAsync,
|
||||
dbo.UpdateWritingPlan,PlotLine/Data/Repositories.cs:1399 WritingScheduleRepository.UpdateWritingPlanAsync,
|
||||
dbo.User_ChangePassword,PlotLine/Data/AuthRepositories.cs:107 UserRepository.ChangePasswordAsync,
|
||||
dbo.User_ConfirmEmail,PlotLine/Data/AuthRepositories.cs:89 UserRepository.ConfirmEmailAsync,
|
||||
dbo.User_Create,PlotLine/Data/AuthRepositories.cs:62 UserRepository.CreateAsync,
|
||||
dbo.User_CreateEmailVerificationToken,PlotLine/Data/AuthRepositories.cs:156 AuthenticationRepository.CreateEmailVerificationTokenAsync,
|
||||
dbo.User_CreatePasswordResetToken,PlotLine/Data/AuthRepositories.cs:174 AuthenticationRepository.CreatePasswordResetTokenAsync,
|
||||
dbo.User_DisableTwoFactor,PlotLine/Data/AuthRepositories.cs:125 UserRepository.DisableTwoFactorAsync,
|
||||
dbo.User_EnableTwoFactor,PlotLine/Data/AuthRepositories.cs:116 UserRepository.EnableTwoFactorAsync,
|
||||
dbo.User_GetByEmail,PlotLine/Data/AuthRepositories.cs:44 UserRepository.GetByEmailAsync,
|
||||
dbo.User_GetById,PlotLine/Data/AuthRepositories.cs:53 UserRepository.GetByIdAsync,User_ChangePassword; User_Create; User_DisableTwoFactor; User_EnableTwoFactor; User_UpdateFailedLogin; User_UpdateLoginSuccess; UserTwoFactor_Disable; UserTwoFactor_Enable
|
||||
dbo.User_GetEmailVerificationToken,PlotLine/Data/AuthRepositories.cs:165 AuthenticationRepository.GetEmailVerificationTokenAsync,
|
||||
dbo.User_GetPasswordResetToken,PlotLine/Data/AuthRepositories.cs:183 AuthenticationRepository.GetPasswordResetTokenAsync,
|
||||
dbo.User_GetTwoFactor,,
|
||||
dbo.User_InsertLoginAudit,PlotLine/Data/AuthRepositories.cs:255 AuthenticationRepository.InsertLoginAuditAsync,
|
||||
dbo.User_ResetPassword,PlotLine/Data/AuthRepositories.cs:98 UserRepository.ResetPasswordAsync,
|
||||
dbo.User_SaveTwoFactor,,
|
||||
dbo.User_UpdateFailedLogin,PlotLine/Data/AuthRepositories.cs:80 UserRepository.UpdateFailedLoginAsync,
|
||||
dbo.User_UpdateLoginSuccess,PlotLine/Data/AuthRepositories.cs:71 UserRepository.UpdateLoginSuccessAsync,
|
||||
dbo.UserAppearance_Get,PlotLine/Data/AppearanceRepository.cs:18 AppearanceRepository.GetAsync,
|
||||
dbo.UserAppearance_SaveApplicationBar,PlotLine/Data/AppearanceRepository.cs:33 AppearanceRepository.SaveApplicationBarAsync,
|
||||
dbo.UserAppearance_SaveRibbon,PlotLine/Data/AppearanceRepository.cs:28 AppearanceRepository.SaveRibbonAsync,
|
||||
dbo.UserAppearance_SaveTheme,PlotLine/Data/AppearanceRepository.cs:23 AppearanceRepository.SaveThemeAsync,
|
||||
dbo.UserFile_Create,PlotLine/Data/UserFileRepository.cs:19 UserFileRepository.CreateAsync,
|
||||
dbo.UserFile_GetStorageUsageForOwner,PlotLine/Data/UserFileRepository.cs:48 UserFileRepository.GetStorageUsageForOwnerAsync,
|
||||
dbo.UserFile_MarkDeletedByStoragePath,PlotLine/Data/UserFileRepository.cs:39 UserFileRepository.MarkDeletedByStoragePathAsync,
|
||||
dbo.UserHardDelete_ForAccountDeletion,PlotLine/Data/AuthRepositories.cs:144 UserRepository.HardDeleteAccountDataAsync,
|
||||
dbo.UserHardDelete_ListFilePaths,PlotLine/Data/AuthRepositories.cs:134 UserRepository.ListHardDeleteFilePathsAsync,
|
||||
dbo.UserOnboarding_ClearWritingSoftware,PlotLine/Data/OnboardingRepository.cs:72 OnboardingRepository.ClearWritingSoftwareAsync,
|
||||
dbo.UserOnboarding_CompleteCoreImport,PlotLine/Data/OnboardingRepository.cs:107 OnboardingRepository.CompleteCoreImportAsync,
|
||||
dbo.UserOnboarding_Get,PlotLine/Data/OnboardingRepository.cs:27 OnboardingRepository.GetAsync,UserOnboarding_ClearWritingSoftware; UserOnboarding_CompleteCoreImport; UserOnboarding_GetOrCreate; UserOnboarding_MarkCompleted; UserOnboarding_SaveBook; UserOnboarding_SaveProject; UserOnboarding_SaveWritingJourney; UserOnboarding_SaveWritingSoftware; UserOnboarding_SetCurrentStep
|
||||
dbo.UserOnboarding_GetOrCreate,PlotLine/Data/OnboardingRepository.cs:36 OnboardingRepository.GetOrCreateAsync,
|
||||
dbo.UserOnboarding_MarkCompleted,PlotLine/Data/OnboardingRepository.cs:98 OnboardingRepository.MarkCompletedAsync,
|
||||
dbo.UserOnboarding_SaveBook,PlotLine/Data/OnboardingRepository.cs:89 OnboardingRepository.SaveBookAsync,
|
||||
dbo.UserOnboarding_SaveProject,PlotLine/Data/OnboardingRepository.cs:80 OnboardingRepository.SaveProjectAsync,
|
||||
dbo.UserOnboarding_SaveWritingJourney,PlotLine/Data/OnboardingRepository.cs:54 OnboardingRepository.SaveWritingJourneyAsync,
|
||||
dbo.UserOnboarding_SaveWritingSoftware,PlotLine/Data/OnboardingRepository.cs:63 OnboardingRepository.SaveWritingSoftwareAsync,
|
||||
dbo.UserOnboarding_SetCurrentStep,PlotLine/Data/OnboardingRepository.cs:45 OnboardingRepository.SetCurrentStepAsync,
|
||||
dbo.UserOnboarding_ShouldShowWordCompanionHeader,PlotLine/Data/OnboardingRepository.cs:116 OnboardingRepository.ShouldShowWordCompanionHeaderAsync,
|
||||
dbo.UserSubscription_ApplyStripeState,PlotLine/Data/SubscriptionRepository.cs:166 SubscriptionRepository.ApplyStripeStateAsync,
|
||||
dbo.UserSubscription_AssignDefaultDraftDesk,,
|
||||
dbo.UserSubscription_ClearPaymentFailure,PlotLine/Data/SubscriptionRepository.cs:193 SubscriptionRepository.ClearPaymentFailureAsync,
|
||||
dbo.UserSubscription_DowngradeToDraftDesk,PlotLine/Data/SubscriptionRepository.cs:175 SubscriptionRepository.DowngradeToDraftDeskAsync,
|
||||
dbo.UserSubscription_GetCurrent,PlotLine/Data/SubscriptionRepository.cs:40 SubscriptionRepository.GetCurrentSubscriptionAsync,
|
||||
dbo.UserSubscription_GetForEntitlement,PlotLine/Data/SubscriptionRepository.cs:49 SubscriptionRepository.GetSubscriptionForEntitlementAsync,
|
||||
dbo.UserSubscription_RecordPaymentFailure,PlotLine/Data/SubscriptionRepository.cs:184 SubscriptionRepository.RecordPaymentFailureAsync,
|
||||
dbo.UserSubscription_SetStripeCustomer,PlotLine/Data/SubscriptionRepository.cs:139 SubscriptionRepository.SetStripeCustomerAsync,
|
||||
dbo.UserToolbar_Get,PlotLine/Data/ToolbarPreferenceRepository.cs:17 ToolbarPreferenceRepository.GetAsync,
|
||||
dbo.UserToolbar_Save,PlotLine/Data/ToolbarPreferenceRepository.cs:22 ToolbarPreferenceRepository.SaveAsync,
|
||||
dbo.UserTwoFactor_Disable,PlotLine/Data/AuthRepositories.cs:219 AuthenticationRepository.DisableTwoFactorAsync,
|
||||
dbo.UserTwoFactor_Enable,PlotLine/Data/AuthRepositories.cs:210 AuthenticationRepository.EnableTwoFactorAsync,
|
||||
dbo.UserTwoFactor_Get,PlotLine/Data/AuthRepositories.cs:192 AuthenticationRepository.GetTwoFactorAsync,User_GetTwoFactor; UserTwoFactor_Save; UserTwoFactor_SaveRecoveryCodes
|
||||
dbo.UserTwoFactor_GetRecoveryCodes,PlotLine/Data/AuthRepositories.cs:237 AuthenticationRepository.GetRecoveryCodesAsync,
|
||||
dbo.UserTwoFactor_Save,PlotLine/Data/AuthRepositories.cs:201 AuthenticationRepository.SaveTwoFactorAsync,User_SaveTwoFactor
|
||||
dbo.UserTwoFactor_SaveRecoveryCodes,PlotLine/Data/AuthRepositories.cs:228 AuthenticationRepository.SaveRecoveryCodesAsync,
|
||||
dbo.UserTwoFactor_UpdateLastUsedTimeStep,PlotLine/Data/AuthRepositories.cs:246 AuthenticationRepository.UpdateLastUsedTimeStepAsync,
|
||||
dbo.ValidationRun_Complete,,ContinuityValidation_ValidateProject
|
||||
dbo.ValidationRun_Create,,ContinuityValidation_ValidateProject
|
||||
dbo.WarningLookup_All,PlotLine/Data/Repositories.cs:928 WarningRepository.GetLookupsAsync,
|
||||
dbo.WholeBookPlotSynthesis_ContextGet,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:247 WholeBookPlotIntelligenceRepository.BuildContextAsync,
|
||||
dbo.WholeBookPlotSynthesisCandidate_Save,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:123 WholeBookPlotIntelligenceRepository.CompleteAsync; PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:154 WholeBookPlotIntelligenceRepository.CompleteAsync,
|
||||
dbo.WholeBookPlotSynthesisCandidateEvent_Save,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:184 WholeBookPlotIntelligenceRepository.CompleteAsync,
|
||||
dbo.WholeBookPlotSynthesisRun_ClaimNext,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:82 WholeBookPlotIntelligenceRepository.ClaimNextAsync,
|
||||
dbo.WholeBookPlotSynthesisRun_Complete,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:104 WholeBookPlotIntelligenceRepository.CompleteAsync,
|
||||
dbo.WholeBookPlotSynthesisRun_Fail,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:232 WholeBookPlotIntelligenceRepository.FailAsync,
|
||||
dbo.WholeBookPlotSynthesisRun_GetCurrentByBook,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:91 WholeBookPlotIntelligenceRepository.GetCurrentAsync,
|
||||
dbo.WholeBookPlotSynthesisRun_Queue,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:57 WholeBookPlotIntelligenceRepository.QueueAsync,
|
||||
dbo.WholeBookPlotSynthesisRun_Retry,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:73 WholeBookPlotIntelligenceRepository.RetryAsync,
|
||||
dbo.WordCompanion_Book_Create,PlotLine/Data/WordCompanionRepository.cs:61 WordCompanionRepository.CreateBookAsync,
|
||||
dbo.WordCompanion_Book_ListByProject,PlotLine/Data/WordCompanionRepository.cs:51 WordCompanionRepository.ListBooksAsync,
|
||||
dbo.WordCompanion_Book_Structure,PlotLine/Data/WordCompanionRepository.cs:70 WordCompanionRepository.GetBookStructureAsync,
|
||||
dbo.WordCompanion_Chapter_Create,PlotLine/Data/WordCompanionRepository.cs:156 WordCompanionRepository.CreateChapterAsync,
|
||||
dbo.WordCompanion_Chapter_List,PlotLine/Data/WordCompanionRepository.cs:104 WordCompanionRepository.ListChaptersAsync,
|
||||
dbo.WordCompanion_Character_CreateDiscovered,PlotLine/Data/WordCompanionRepository.cs:441 WordCompanionRepository.CreateDiscoveredCharactersAsync,
|
||||
dbo.WordCompanion_Manuscript_Analyse,PlotLine/Data/WordCompanionRepository.cs:358 WordCompanionRepository.AnalyseManuscriptAsync,
|
||||
dbo.WordCompanion_Manuscript_Import,PlotLine/Data/WordCompanionRepository.cs:389 WordCompanionRepository.ImportManuscriptAsync,
|
||||
dbo.WordCompanion_Manuscript_Sync,PlotLine/Data/WordCompanionRepository.cs:208 WordCompanionRepository.SyncManuscriptAsync,
|
||||
dbo.WordCompanion_Project_HasAccess,PlotLine/Data/WordCompanionRepository.cs:428 WordCompanionRepository.HasProjectAccessAsync,
|
||||
dbo.WordCompanion_Project_List,PlotLine/Data/WordCompanionRepository.cs:41 WordCompanionRepository.ListProjectsAsync,
|
||||
dbo.WordCompanion_Runtime_AssetAlias_List,PlotLine/Data/WordCompanionRepository.cs:308 WordCompanionRepository.ListRuntimeAssetAliasesAsync,
|
||||
dbo.WordCompanion_Runtime_AssetSuggestions_Create,PlotLine/Data/WordCompanionRepository.cs:318 WordCompanionRepository.CreateRuntimeAssetSuggestionsAsync,
|
||||
dbo.WordCompanion_Runtime_CharacterAlias_List,PlotLine/Data/WordCompanionRepository.cs:283 WordCompanionRepository.ListRuntimeCharacterAliasesAsync,
|
||||
dbo.WordCompanion_Runtime_CharacterSuggestions_Create,PlotLine/Data/WordCompanionRepository.cs:293 WordCompanionRepository.CreateRuntimeCharacterSuggestionsAsync,
|
||||
dbo.WordCompanion_Runtime_CurrentScene_Validate,PlotLine/Data/WordCompanionRepository.cs:266 WordCompanionRepository.ValidateRuntimeCurrentSceneAsync,
|
||||
dbo.WordCompanion_Runtime_LocationAlias_List,PlotLine/Data/WordCompanionRepository.cs:333 WordCompanionRepository.ListRuntimeLocationAliasesAsync,
|
||||
dbo.WordCompanion_Runtime_LocationSuggestions_Create,PlotLine/Data/WordCompanionRepository.cs:343 WordCompanionRepository.CreateRuntimeLocationSuggestionsAsync,
|
||||
dbo.WordCompanion_Runtime_SceneWordCount_Update,PlotLine/Data/WordCompanionRepository.cs:249 WordCompanionRepository.UpdateRuntimeSceneWordCountAsync,
|
||||
dbo.WordCompanion_Scene_Companion,PlotLine/Data/WordCompanionRepository.cs:124 WordCompanionRepository.GetSceneCompanionAsync,
|
||||
dbo.WordCompanion_Scene_Create,PlotLine/Data/WordCompanionRepository.cs:165 WordCompanionRepository.CreateSceneAsync,
|
||||
dbo.WordCompanion_Scene_Resolve,PlotLine/Data/WordCompanionRepository.cs:114 WordCompanionRepository.ResolveSceneAsync,
|
||||
dbo.WordCompanion_Scene_Sync,PlotLine/Data/WordCompanionRepository.cs:174 WordCompanionRepository.SyncSceneAsync,WordCompanion_Manuscript_Sync
|
||||
dbo.WordCompanion_Scene_UpdateWordCount,PlotLine/Data/WordCompanionRepository.cs:240 WordCompanionRepository.UpdateWordCountAsync,
|
||||
dbo.WordCompanion_SceneLinks_Update,PlotLine/Data/WordCompanionRepository.cs:223 WordCompanionRepository.UpdateSceneLinksAsync,
|
||||
dbo.WriterActivities_Manage,PlotLine/Data/WriterActivityRepository.cs:7 WriterActivityRepository.Read; PlotLine/Data/WriterActivityRepository.cs:8 WriterActivityRepository.Entities; PlotLine/Data/WriterActivityRepository.cs:9 WriterActivityRepository.Execute,
|
||||
dbo.WriterAuthoring_Save,PlotLine/Services/Writer/WriterAuthoringService.cs:27 WriterAuthoringService.Save,
|
||||
dbo.WriterAuthoring_Sections,PlotLine/Services/Writer/WriterAuthoringService.cs:17 WriterAuthoringService.Read,WriterAuthoring_Save
|
||||
dbo.WriterBook_Reminders,PlotLine/Data/WritingActivityRepository.cs:20 WritingActivityRepository.Reminders,
|
||||
dbo.WriterDashboard_Reminders,PlotLine/Data/Repositories.cs:1353 WriterWorkspaceRepository.GetWriterDashboardRemindersAsync,
|
||||
dbo.WriterDashboard_Scenes,PlotLine/Data/Repositories.cs:1346 WriterWorkspaceRepository.GetWriterDashboardScenesAsync,
|
||||
dbo.WriterInvestigation,PlotLine/Data/InvestigationRepository.cs:13 InvestigationRepository.List; PlotLine/Data/InvestigationRepository.cs:14 InvestigationRepository.Read; PlotLine/Data/InvestigationRepository.cs:15 InvestigationRepository.Save; PlotLine/Data/InvestigationRepository.cs:16 InvestigationRepository.Replay,
|
||||
dbo.WriterInvestigationCatalogue,PlotLine/Data/InvestigationRepository.cs:11 InvestigationRepository.Catalogue; PlotLine/Data/InvestigationRepository.cs:12 InvestigationRepository.Publish,
|
||||
dbo.WriterInvestigationGuidanceState,PlotLine/Data/InvestigationGuidanceRepository.cs:19 InvestigationGuidanceRepository.Read; PlotLine/Data/InvestigationGuidanceRepository.cs:21 InvestigationGuidanceRepository.Save,
|
||||
dbo.WriterInvestigationSavedSummaries,PlotLine/Data/InvestigationGuidanceRepository.cs:20 InvestigationGuidanceRepository.List,
|
||||
dbo.WriterObjective,PlotLine/Data/WriterObjectiveRepository.cs:10 WriterObjectiveRepository.Read; PlotLine/Data/WriterObjectiveRepository.cs:16 WriterObjectiveRepository.Save,
|
||||
dbo.WriterPlanning,PlotLine/Data/WriterPlanningRepository.cs:11 WriterPlanningRepository.Context; PlotLine/Data/WriterPlanningRepository.cs:13 WriterPlanningRepository.Save; PlotLine/Data/WriterPlanningRepository.cs:15 WriterPlanningRepository.Complete; PlotLine/Data/WriterPlanningRepository.cs:9 WriterPlanningRepository.Read,
|
||||
dbo.WriterPlanningUpcoming,PlotLine/Data/WriterPlanningRepository.cs:17 WriterPlanningRepository.Upcoming,
|
||||
dbo.WriterReview_Observations,PlotLine/Services/Writer/WriterReviewService.cs:57 WriterReviewService.Read; PlotLine/Services/Writer/WriterReviewService.cs:70 WriterReviewService.Save,
|
||||
dbo.WriterReview_ParagraphStart,PlotLine/Services/Writer/WriterWordService.cs:31 WriterWordService.Navigate,
|
||||
dbo.WriterWord_Status,PlotLine/Services/Writer/WriterWordService.cs:16 WriterWordService.Metadata,
|
||||
dbo.WriterWork,PlotLine/Data/WriterWorkRepository.cs:10 WriterWorkRepository.Read; PlotLine/Data/WriterWorkRepository.cs:13 WriterWorkRepository.State; PlotLine/Data/WriterWorkRepository.cs:27 WriterWorkRepository.Execute; PlotLine/Data/WriterWorkRepository.cs:32 WriterWorkRepository.Media; PlotLine/Data/WriterWorkRepository.cs:45 WriterWorkRepository.Media,
|
||||
dbo.WriterWork_Prune,PlotLine/Services/WritingActivity/WritingActivityRetention.cs:28 WritingActivityRetention.ExecuteAsync,
|
||||
dbo.WriterWorkCalendar,PlotLine/Data/WriterWorkRepository.cs:25 WriterWorkRepository.Calendar,
|
||||
dbo.WriterWorkEvidence,PlotLine/Data/WriterWorkRepository.cs:20 WriterWorkRepository.History,
|
||||
dbo.WritingActivity,PlotLine/Data/ParagraphManuscriptRepository.cs:29 ParagraphManuscriptRepository.SaveCore; PlotLine/Data/ParagraphManuscriptRepository.cs:36 ParagraphManuscriptRepository.SaveCore; PlotLine/Data/WritingActivityRepository.cs:13 WritingActivityRepository.Read; PlotLine/Data/WritingActivityRepository.cs:24 WritingActivityRepository.Baseline; PlotLine/Data/WritingActivityRepository.cs:27 WritingActivityRepository.Baseline; PlotLine/Data/WritingActivityRepository.cs:33 WritingActivityRepository.Configure; PlotLine/Data/WritingActivityRepository.cs:35 WritingActivityRepository.Erase; PlotLine/Data/WritingActivityRepository.cs:39 WritingActivityRepository.Observe,
|
||||
dbo.WritingActivity_BaselineTargets,PlotLine/Data/WritingActivityRepository.cs:31 WritingActivityRepository.BaselineTargets,
|
||||
dbo.WritingActivity_List,PlotLine/Data/WritingActivityRepository.cs:14 WritingActivityRepository.Read,
|
||||
dbo.WritingActivity_Prune,PlotLine/Services/WritingActivity/WritingActivityRetention.cs:28 WritingActivityRetention.ExecuteAsync,
|
||||
dbo.WritingActivity_Summary,PlotLine/Data/WritingActivityRepository.cs:15 WritingActivityRepository.Read,
|
||||
dbo.WritingIntentAssessment,PlotLine/Data/IntentAssessmentRepository.cs:13 IntentAssessmentRepository.Read; PlotLine/Data/IntentAssessmentRepository.cs:14 IntentAssessmentRepository.Save; PlotLine/Data/IntentAssessmentRepository.cs:15 IntentAssessmentRepository.Decide,
|
||||
dbo.WritingPlan_ListForManagement,PlotLine/Data/Repositories.cs:1508 WritingScheduleRepository.GetWritingPlansForManagementAsync,
|
||||
dbo.WritingPlanSummary_ListByUser,PlotLine/Data/Repositories.cs:1571 WritingScheduleRepository.GetWritingPlanSummariesByUserAsync,
|
||||
dbo.WritingPlanSummary_ListRequiringRebalance,PlotLine/Data/Repositories.cs:1625 WritingScheduleRepository.GetPlansRequiringRebalanceAsync,
|
||||
dbo.WritingScheduleDashboard_ListActive,PlotLine/Data/Repositories.cs:1600 WritingScheduleRepository.GetActiveScheduleDashboardItemsAsync,
|
||||
dbo.WritingScheduleItem_DeleteByPlan,PlotLine/Data/Repositories.cs:1533 WritingScheduleRepository.ReplaceScheduleItemsAsync; PlotLine/Data/Repositories.cs:1591 WritingScheduleRepository.DeleteScheduleItemsByPlanAsync,
|
||||
dbo.WritingScheduleItem_UpdatePlannedDate,PlotLine/Data/Repositories.cs:1647 WritingScheduleRepository.UpdatePlannedScheduleItemDatesAsync,
|
||||
dbo.WritingScheduleItem_UpdatePlannedStatusForUser,PlotLine/Data/Repositories.cs:1610 WritingScheduleRepository.UpdatePlannedScheduleItemStatusForUserAsync,
|
||||
dbo.WritingSchedulePreview_ListByPlan,PlotLine/Data/Repositories.cs:1581 WritingScheduleRepository.GetSchedulePreviewItemsAsync,
|
||||
dbo.WritingScheduleScene_ListForPlanning,PlotLine/Data/Repositories.cs:1518 WritingScheduleRepository.GetSchedulingScenesAsync,
|
||||
dbo.WritingSolver_Get,PlotLine/Data/WritingSolverRepository.cs:35 WritingSolverRepository.GetAsync,
|
||||
dbo.WritingSolver_Publish,PlotLine/Data/WritingSolverRepository.cs:48 WritingSolverRepository.PublishAsync,
|
||||
|
720
Docs/Database/SQL-Performance-Audit-20261118/procedures.csv
Normal file
@ -0,0 +1,720 @@
|
||||
procedure,application_callers,sql_callers,cache_executions,cache_cpu_ms,cache_reads,flags
|
||||
dbo.Acceptance_Phase1Checklist,,,,0.0,,
|
||||
dbo.Analytics_StoryHealth,PlotLine/Data/Repositories.cs:1119 AnalyticsRepository.GetStoryHealthAsync,,1,198.656,3982,
|
||||
dbo.Analytics_StoryHealth_Remainder,,Analytics_StoryHealth,1,7.392,1424,
|
||||
dbo.Archive_DeleteForever,PlotLine/Data/Repositories.cs:1938 ArchiveRepository.DeleteForeverAsync,,,0.0,,
|
||||
dbo.Archive_Entity,PlotLine/Data/Repositories.cs:1920 ArchiveRepository.ArchiveAsync,Book_Archive; Chapter_Archive; Character_Archive; Location_Archive; PlotLine_Archive; PlotThread_Archive; Project_Archive; Relationship_Archive; Scenario_Archive; Scene_Archive; StoryAsset_Archive,,0.0,,
|
||||
dbo.Archive_List,PlotLine/Data/Repositories.cs:1881 ArchiveRepository.ListAsync,Archive_ListForUser,,0.0,,
|
||||
dbo.Archive_ListForUser,PlotLine/Data/Repositories.cs:1891 ArchiveRepository.ListForUserAsync,,,0.0,,
|
||||
dbo.Archive_ProjectFilterList,PlotLine/Data/Repositories.cs:1901 ArchiveRepository.ListProjectFiltersAsync,,,0.0,,
|
||||
dbo.Archive_ProjectFilterListForUser,PlotLine/Data/Repositories.cs:1910 ArchiveRepository.ListProjectFiltersForUserAsync,,,0.0,,
|
||||
dbo.Archive_Restore,PlotLine/Data/Repositories.cs:1929 ArchiveRepository.RestoreAsync,,,0.0,,
|
||||
dbo.AssetAlias_Add,PlotLine/Data/Repositories.cs:3462 AssetRepository.AddAliasAsync,,,0.0,,
|
||||
dbo.AssetAlias_Delete,PlotLine/Data/Repositories.cs:3480 AssetRepository.DeleteAliasAsync,,,0.0,,
|
||||
dbo.AssetAlias_ListByAsset,PlotLine/Data/Repositories.cs:3452 AssetRepository.ListAliasesAsync,,20,2.139,82,
|
||||
dbo.AssetAlias_Update,PlotLine/Data/Repositories.cs:3471 AssetRepository.UpdateAliasAsync,,,0.0,,
|
||||
dbo.AssetCustodyCharacter_ListByProject,PlotLine/Data/Repositories.cs:3626 AssetRepository.ListCustodyCharactersByProjectAsync,,1,0.222,2,
|
||||
dbo.AssetCustodyEvent_Delete,PlotLine/Data/Repositories.cs:3694 AssetRepository.DeleteCustodyEventAsync,,,0.0,,
|
||||
dbo.AssetCustodyEvent_ListByAsset,PlotLine/Data/Repositories.cs:3619 AssetRepository.ListCustodyByAssetAsync,,60,82.681,1518,
|
||||
dbo.AssetCustodyEvent_ListByScene,PlotLine/Data/Repositories.cs:3612 AssetRepository.ListCustodyBySceneAsync,,253,35.856,523,
|
||||
dbo.AssetCustodyEvent_Save,PlotLine/Data/ImportRepository.cs:510 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3675 AssetRepository.SaveCustodyEventAsync,,,0.0,,
|
||||
dbo.AssetCustodyEventType_List,,,,0.0,,
|
||||
dbo.AssetCustodySummary_ListByEvents,PlotLine/Data/Repositories.cs:3641 AssetRepository.WithValidCustodianSummariesAsync,,43,14.04,2799,
|
||||
dbo.AssetDependency_CheckForEvent,PlotLine/Data/Repositories.cs:3709 AssetRepository.CheckDependencyIssuesAsync,,,0.0,,
|
||||
dbo.AssetDependency_Delete,PlotLine/Data/Repositories.cs:3606 AssetRepository.DeleteDependencyAsync,,,0.0,,
|
||||
dbo.AssetDependency_ListByAsset,PlotLine/Data/Repositories.cs:3581 AssetRepository.ListDependenciesByAssetAsync,,,0.0,,
|
||||
dbo.AssetDependency_Save,PlotLine/Data/Repositories.cs:3588 AssetRepository.SaveDependencyAsync,,,0.0,,
|
||||
dbo.AssetDependencyType_List,,,,0.0,,
|
||||
dbo.AssetEvent_Delete,PlotLine/Data/Repositories.cs:3537 AssetRepository.DeleteEventAsync,,,0.0,,
|
||||
dbo.AssetEvent_ListByAsset,PlotLine/Data/Repositories.cs:3511 AssetRepository.ListEventsByAssetAsync,,,0.0,,
|
||||
dbo.AssetEvent_ListByScene,PlotLine/Data/Repositories.cs:3504 AssetRepository.ListEventsBySceneAsync,,3733,303.3,7502,
|
||||
dbo.AssetEvent_Save,PlotLine/Data/ImportRepository.cs:536 ImportRepository.ImportAsync; PlotLine/Data/ImportRepository.cs:581 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3518 AssetRepository.SaveEventAsync,,,0.0,,
|
||||
dbo.AssetEventType_List,,,,0.0,,
|
||||
dbo.AssetKind_List,,,,0.0,,
|
||||
dbo.AssetLookup_All,PlotLine/Data/Repositories.cs:3401 AssetRepository.GetLookupsAsync,,286,235.847,3432,
|
||||
dbo.AssetState_List,,,,0.0,,
|
||||
dbo.AssetTimeline_GetByProject,PlotLine/Data/Repositories.cs:3700 AssetRepository.GetTimelineAsync,,285,99.119,4964,
|
||||
dbo.AuthorPlotSeed_ListByBook,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:47 WholeBookPlotIntelligenceRepository.ListAuthorSeedsAsync,WholeBookPlotSynthesis_ContextGet,4,1.469,8,
|
||||
dbo.AuthorPlotSeed_SaveForBook,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:28 WholeBookPlotIntelligenceRepository.SaveAuthorSeedsAsync,,2,3.026,4,JSON
|
||||
dbo.Book_Archive,PlotLine/Data/Repositories.cs:2414 BookRepository.ArchiveAsync,,,0.0,,
|
||||
dbo.Book_Get,PlotLine/Data/Repositories.cs:2363 BookRepository.GetAsync,,11309,20495.341,8407566,
|
||||
dbo.Book_GetCoverPaths,PlotLine/Data/Repositories.cs:2369 BookRepository.GetCoverPathsAsync,,79,10.649,158,
|
||||
dbo.Book_ListByProject,PlotLine/Data/Repositories.cs:2340 BookRepository.ListByProjectAsync,,9842,9899.078,4136864,
|
||||
dbo.Book_ListByProjects,PlotLine/Data/Repositories.cs:2353 BookRepository.ListByProjectsAsync,,347,1552.621,602016,
|
||||
dbo.Book_Save,PlotLine/Data/ImportRepository.cs:255 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:2378 BookRepository.SaveAsync,,80,1012.071,6100,
|
||||
dbo.Book_UpdateCover,PlotLine/Data/Repositories.cs:2405 BookRepository.UpdateCoverAsync,,3,1.126,6,
|
||||
dbo.BookChapterReuse,PlotLine/Data/ChapterSyncRepository.cs:24 ChapterSyncRepository.Reuse,,49,23242.904,9813512,JSON
|
||||
dbo.BookChapterSync,PlotLine/Data/ChapterSyncRepository.cs:26 ChapterSyncRepository.SceneStart; PlotLine/Data/ChapterSyncRepository.cs:27 ChapterSyncRepository.FlagReview; PlotLine/Data/ChapterSyncRepository.cs:28 ChapterSyncRepository.Accept; PlotLine/Data/ChapterSyncRepository.cs:29 ChapterSyncRepository.Position; PlotLine/Data/ChapterSyncRepository.cs:30 ChapterSyncRepository.List,,5413,2149628.036,351528556,JSON
|
||||
dbo.BookHardDelete_Core236,,BookHardDelete_ForOwner,,0.0,,
|
||||
dbo.BookHardDelete_ForOwner,,Archive_DeleteForever,,0.0,,JSON
|
||||
dbo.BookRecovery,PlotLine/Data/BookRecoveryRepository.cs:10 BookRecoveryRepository.Projects; PlotLine/Data/BookRecoveryRepository.cs:11 BookRecoveryRepository.Origin; PlotLine/Data/BookRecoveryRepository.cs:12 BookRecoveryRepository.Receipt; PlotLine/Data/BookRecoveryRepository.cs:13 BookRecoveryRepository.Begin; PlotLine/Data/BookRecoveryRepository.cs:14 BookRecoveryRepository.Mappings; PlotLine/Data/BookRecoveryRepository.cs:15 BookRecoveryRepository.RegisterForks; PlotLine/Data/BookRecoveryRepository.cs:16 BookRecoveryRepository.Complete,,88,70.346,1113,JSON
|
||||
dbo.Chapter_Archive,PlotLine/Data/Repositories.cs:2537 ChapterRepository.ArchiveAsync,,,0.0,,
|
||||
dbo.Chapter_Get,PlotLine/Data/Repositories.cs:2494 ChapterRepository.GetAsync,,2889,293.567,14856,
|
||||
dbo.Chapter_ListByBook,PlotLine/Data/Repositories.cs:2487 ChapterRepository.ListByBookAsync,,1688,1938.581,233222,
|
||||
dbo.Chapter_RenumberBook,,,,0.0,,
|
||||
dbo.Chapter_Save,PlotLine/Data/ImportRepository.cs:277 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:2500 ChapterRepository.SaveAsync,,630,4198.941,38347,
|
||||
dbo.Chapter_SetScenesPov,PlotLine/Data/Repositories.cs:2526 ChapterRepository.SetScenesPovAsync,,,0.0,,
|
||||
dbo.Chapter_UpdatePovCharacter,PlotLine/Data/Repositories.cs:2509 ChapterRepository.UpdatePovCharacterAsync,,256,491.883,1973,
|
||||
dbo.ChapterGoal_Get,PlotLine/Data/Repositories.cs:1324 WriterWorkspaceRepository.GetChapterGoalAsync,,89,71.255,700,
|
||||
dbo.ChapterGoal_Save,PlotLine/Data/Repositories.cs:1330 WriterWorkspaceRepository.SaveChapterGoalAsync,WriterAuthoring_Save,12,3.73,94,
|
||||
dbo.ChapterOption_ListByProject,PlotLine/Data/Repositories.cs:2697 SceneRepository.ListChapterOptionsAsync,,235,72.444,955,
|
||||
dbo.ChapterWorkflow_Summary,PlotLine/Data/Repositories.cs:1339 WriterWorkspaceRepository.GetChapterWorkflowAsync,,89,42.764,4028,
|
||||
dbo.Character_Archive,PlotLine/Data/Repositories.cs:3937 CharacterRepository.ArchiveCharacterAsync,,,0.0,,
|
||||
dbo.Character_Get,PlotLine/Data/Repositories.cs:3745 CharacterRepository.GetCharacterAsync,,34,3.758,68,
|
||||
dbo.Character_ListByProject,PlotLine/Data/Repositories.cs:3738 CharacterRepository.ListCharactersAsync,,1013,618.967,92822,
|
||||
dbo.Character_Merge,PlotLine/Data/Repositories.cs:3826 CharacterRepository.MergeAsync,,3,27.24,1663,cursor
|
||||
dbo.Character_Save,PlotLine/Data/ImportRepository.cs:173 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3751 CharacterRepository.SaveCharacterAsync,,112,567.501,5478,
|
||||
dbo.Character_SetPreferredName,PlotLine/Data/Repositories.cs:3815 CharacterRepository.SetPreferredNameAsync,,2,6.291,28,
|
||||
dbo.Character_UpdateAvatar,PlotLine/Data/Repositories.cs:3877 CharacterRepository.UpdateCharacterAvatarAsync,,,0.0,,
|
||||
dbo.Character_UpdateImage,PlotLine/Data/Repositories.cs:3868 CharacterRepository.UpdateCharacterImageAsync,,,0.0,,
|
||||
dbo.CharacterAlias_Add,PlotLine/Data/Repositories.cs:3788 CharacterRepository.AddAliasAsync,,40,94.328,518,
|
||||
dbo.CharacterAlias_Delete,PlotLine/Data/Repositories.cs:3806 CharacterRepository.DeleteAliasAsync,,,0.0,,
|
||||
dbo.CharacterAlias_ListByCharacter,PlotLine/Data/Repositories.cs:3778 CharacterRepository.ListAliasesAsync,,6603,401.233,36478,
|
||||
dbo.CharacterAlias_Update,PlotLine/Data/Repositories.cs:3797 CharacterRepository.UpdateAliasAsync,,5,12.371,30,
|
||||
dbo.CharacterAttributeEvent_ListByCharacter,PlotLine/Data/Repositories.cs:4023 CharacterRepository.ListAttributeEventsByCharacterAsync,,15,2.202,38,
|
||||
dbo.CharacterAttributeEvent_ListByScene,PlotLine/Data/Repositories.cs:4030 CharacterRepository.ListAttributeEventsBySceneAsync,,253,39.832,2018,
|
||||
dbo.CharacterAttributeEvent_Save,PlotLine/Data/Repositories.cs:4037 CharacterRepository.SaveAttributeEventAsync,,,0.0,,
|
||||
dbo.CharacterEnrichment_ContextGet,PlotLine/Data/CharacterEnrichmentRepository.cs:139 CharacterEnrichmentRepository.BuildContextAsync,,1,77.327,19280,
|
||||
dbo.CharacterEnrichmentCharacterStatus_Get,PlotLine/Data/CharacterEnrichmentRepository.cs:85 CharacterEnrichmentRepository.GetCharacterStatusAsync,,15,14.38,365,
|
||||
dbo.CharacterEnrichmentRun_ClaimNext,PlotLine/Data/CharacterEnrichmentRepository.cs:58 CharacterEnrichmentRepository.ClaimNextAsync,,1436465,387731.035,3220726,SELECT *
|
||||
dbo.CharacterEnrichmentRun_Complete,PlotLine/Data/CharacterEnrichmentRepository.cs:103 CharacterEnrichmentRepository.CompleteAsync,,1,9.579,1860,JSON
|
||||
dbo.CharacterEnrichmentRun_Fail,PlotLine/Data/CharacterEnrichmentRepository.cs:121 CharacterEnrichmentRepository.FailAsync,,,0.0,,
|
||||
dbo.CharacterEnrichmentRun_GetCurrentByBook,PlotLine/Data/CharacterEnrichmentRepository.cs:67 CharacterEnrichmentRepository.GetCurrentAsync,,64,6.729,128,
|
||||
dbo.CharacterEnrichmentRun_GetCurrentByCharacter,PlotLine/Data/CharacterEnrichmentRepository.cs:76 CharacterEnrichmentRepository.GetCurrentForCharacterAsync,,15,6.665,49,
|
||||
dbo.CharacterEnrichmentRun_Queue,PlotLine/Data/CharacterEnrichmentRepository.cs:31 CharacterEnrichmentRepository.QueueAsync,CharacterEnrichmentRun_Retry,1,7.74,8758,SELECT *
|
||||
dbo.CharacterEnrichmentRun_QueueCharacter,PlotLine/Data/CharacterEnrichmentRepository.cs:40 CharacterEnrichmentRepository.QueueCharacterAsync,,,0.0,,
|
||||
dbo.CharacterEnrichmentRun_Retry,PlotLine/Data/CharacterEnrichmentRepository.cs:49 CharacterEnrichmentRepository.RetryAsync,,,0.0,,
|
||||
dbo.CharacterEnrichmentRun_UpdateProgress,PlotLine/Data/CharacterEnrichmentRepository.cs:94 CharacterEnrichmentRepository.UpdateProgressAsync,,40,131.239,256,
|
||||
dbo.CharacterImage_Create,PlotLine/Data/Repositories.cs:3911 CharacterRepository.CreateCharacterImageAsync,,,0.0,,
|
||||
dbo.CharacterImage_Delete,PlotLine/Data/Repositories.cs:3928 CharacterRepository.DeleteCharacterImageAsync,,,0.0,,
|
||||
dbo.CharacterImage_Get,PlotLine/Data/Repositories.cs:3902 CharacterRepository.GetCharacterImageAsync,,,0.0,,
|
||||
dbo.CharacterImage_ListByCharacter,PlotLine/Data/Repositories.cs:3892 CharacterRepository.ListCharacterImagesAsync,,15,1.351,32,
|
||||
dbo.CharacterKnowledge_Delete,PlotLine/Data/Repositories.cs:4088 CharacterRepository.DeleteKnowledgeAsync,,,0.0,,
|
||||
dbo.CharacterKnowledge_ListByCharacter,PlotLine/Data/Repositories.cs:4061 CharacterRepository.ListKnowledgeByCharacterAsync,Dynamics_CharacterArc; Dynamics_KnowledgeTimeline; Export_CharacterReference,365,89.713,11830,
|
||||
dbo.CharacterKnowledge_ListByScene,PlotLine/Data/Repositories.cs:4054 CharacterRepository.ListKnowledgeBySceneAsync,,1971,292.533,17266,
|
||||
dbo.CharacterKnowledge_Save,PlotLine/Data/Repositories.cs:4068 CharacterRepository.SaveKnowledgeAsync,StoryIntelligenceReview_Assess,276,68.554,5752,
|
||||
dbo.CharacterLookup_All,PlotLine/Data/Repositories.cs:3722 CharacterRepository.GetLookupsAsync,,760,795.188,58520,
|
||||
dbo.CharacterSexValue_Get,PlotLine/Data/Repositories.cs:3850 CharacterRepository.GetSexValueAsync,,2,0.317,4,
|
||||
dbo.CharacterSexValue_GetOrCreate,PlotLine/Data/Repositories.cs:3859 CharacterRepository.GetOrCreateSexValueAsync,,,0.0,,
|
||||
dbo.CharacterSexValue_ListForOwner,PlotLine/Data/Repositories.cs:3840 CharacterRepository.ListSexValuesAsync,,8,2.939,16,
|
||||
dbo.CharacterTimeline_GetByProject,PlotLine/Data/Repositories.cs:4202 CharacterRepository.GetTimelineAsync,,,0.0,,
|
||||
dbo.ContinuityValidation_ValidateBook,PlotLine/Data/Repositories.cs:948 WarningRepository.ValidateBookAsync,,,0.0,,
|
||||
dbo.ContinuityValidation_ValidateProject,PlotLine/Data/Repositories.cs:939 WarningRepository.ValidateProjectAsync,ContinuityValidation_ValidateBook; ContinuityValidation_ValidateScene,,0.0,,SELECT *
|
||||
dbo.ContinuityValidation_ValidateScene,PlotLine/Data/Repositories.cs:957 WarningRepository.ValidateSceneAsync,,,0.0,,
|
||||
dbo.ContinuityWarning_ClearActive,,ContinuityValidation_ValidateProject,,0.0,,
|
||||
dbo.ContinuityWarning_Dismiss,PlotLine/Data/Repositories.cs:1010 WarningRepository.DismissAsync,,,0.0,,
|
||||
dbo.ContinuityWarning_List,PlotLine/Data/Repositories.cs:966 WarningRepository.ListAsync,ContinuityWarning_ListByBook; ContinuityWarning_ListByEntity; ContinuityWarning_ListByProject; ContinuityWarning_ListByScene,299,353.809,53816,
|
||||
dbo.ContinuityWarning_ListByBook,,,,0.0,,
|
||||
dbo.ContinuityWarning_ListByEntity,,,,0.0,,
|
||||
dbo.ContinuityWarning_ListByProject,,,,0.0,,
|
||||
dbo.ContinuityWarning_ListByScene,PlotLine/Data/Repositories.cs:996 WarningRepository.ListBySceneAsync,,253,4232.634,45482,
|
||||
dbo.ContinuityWarning_ListDashboardUnresolved,PlotLine/Data/Repositories.cs:986 WarningRepository.ListDashboardUnresolvedAsync,,135,572.679,56507,
|
||||
dbo.ContinuityWarning_MarkIntentional,PlotLine/Data/Repositories.cs:1016 WarningRepository.MarkIntentionalAsync,,,0.0,,
|
||||
dbo.ContinuityWarning_Restore,PlotLine/Data/Repositories.cs:1022 WarningRepository.RestoreAsync,,,0.0,,
|
||||
dbo.ContinuityWarning_SceneCounts,PlotLine/Data/Repositories.cs:1003 WarningRepository.GetSceneCountsAsync,,,0.0,,
|
||||
dbo.ContinuityWarning_SetState,,ContinuityWarning_Dismiss; ContinuityWarning_MarkIntentional,,0.0,,
|
||||
dbo.ContinuityWarning_Upsert,,,,0.0,,
|
||||
dbo.ContinuityWarningAcknowledgement_Delete,PlotLine/Data/Repositories.cs:1081 ContinuityWarningAcknowledgementRepository.DeleteAsync,,,0.0,,
|
||||
dbo.ContinuityWarningAcknowledgement_Get,PlotLine/Data/Repositories.cs:1047 ContinuityWarningAcknowledgementRepository.GetAsync,,,0.0,,
|
||||
dbo.ContinuityWarningAcknowledgement_ListByProject,PlotLine/Data/Repositories.cs:1037 ContinuityWarningAcknowledgementRepository.ListByProjectAsync,,10,1.234,20,
|
||||
dbo.ContinuityWarningAcknowledgement_Save,PlotLine/Data/Repositories.cs:1063 ContinuityWarningAcknowledgementRepository.SaveAsync,,,0.0,,
|
||||
dbo.CoreImportBasicLocationReview_CompletePreparation,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:107 CoreImportBasicLocationReviewRepository.CompletePreparationAsync,,5,10.822,10,
|
||||
dbo.CoreImportBasicLocationReview_Create,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:46 CoreImportBasicLocationReviewRepository.CreateAsync,,9,25.62,173,
|
||||
dbo.CoreImportBasicLocationReview_DeleteEvidence,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:79 CoreImportBasicLocationReviewRepository.DeleteEvidenceAsync,,67,5.165,134,
|
||||
dbo.CoreImportBasicLocationReview_GetByPreview,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:28 CoreImportBasicLocationReviewRepository.GetByPreviewAsync,CoreImportBasicLocationReview_Create,188,15.985,752,
|
||||
dbo.CoreImportBasicLocationReview_ListCandidates,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:116 CoreImportBasicLocationReviewRepository.ListCandidatesAsync,,14,18.841,1389,SELECT *
|
||||
dbo.CoreImportBasicLocationReview_MarkComplete,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:156 CoreImportBasicLocationReviewRepository.MarkCompleteAsync,,2,4.401,4,
|
||||
dbo.CoreImportBasicLocationReview_MarkSkipped,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:165 CoreImportBasicLocationReviewRepository.MarkSkippedAsync,,,0.0,,
|
||||
dbo.CoreImportBasicLocationReview_ResetByPreview,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:37 CoreImportBasicLocationReviewRepository.ResetByPreviewAsync,,,0.0,,
|
||||
dbo.CoreImportBasicLocationReview_SaveCandidate,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:55 CoreImportBasicLocationReviewRepository.SaveCandidateAsync,,67,137.368,958,
|
||||
dbo.CoreImportBasicLocationReview_SaveDecision,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:128 CoreImportBasicLocationReviewRepository.SaveDecisionAsync,,67,123.101,268,
|
||||
dbo.CoreImportBasicLocationReview_SaveEvidence,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:88 CoreImportBasicLocationReviewRepository.SaveEvidenceAsync,,129,248.474,849,
|
||||
dbo.CoreImportBasicLocationReview_SetResult,PlotLine/Data/CoreImportBasicLocationReviewRepository.cs:147 CoreImportBasicLocationReviewRepository.SetResultAsync,,59,113.735,354,
|
||||
dbo.CreateScheduleItem,PlotLine/Data/Repositories.cs:1452 WritingScheduleRepository.CreateScheduleItemAsync; PlotLine/Data/Repositories.cs:1541 WritingScheduleRepository.ReplaceScheduleItemsAsync,,,0.0,,
|
||||
dbo.CreateWritingPlan,PlotLine/Data/Repositories.cs:1376 WritingScheduleRepository.CreateWritingPlanAsync,,27,65.078,380,
|
||||
dbo.CustodyRole_List,,,,0.0,,
|
||||
dbo.DeleteScheduleItem,PlotLine/Data/Repositories.cs:1493 WritingScheduleRepository.DeleteScheduleItemAsync,,,0.0,,
|
||||
dbo.DeleteWritingPlan,PlotLine/Data/Repositories.cs:1423 WritingScheduleRepository.DeleteWritingPlanAsync,,3,6.319,44,
|
||||
dbo.Dynamics_CharacterArc,PlotLine/Data/Repositories.cs:1769 DynamicsRepository.GetCharacterArcAsync,,,0.0,,
|
||||
dbo.Dynamics_KnowledgeTimeline,PlotLine/Data/Repositories.cs:1787 DynamicsRepository.GetKnowledgeTimelineAsync,,,0.0,,
|
||||
dbo.Dynamics_RelationshipEvolution,PlotLine/Data/Repositories.cs:1777 DynamicsRepository.GetRelationshipEvolutionAsync,,1,4.172,753,
|
||||
dbo.Dynamics_RunContinuityChecks,PlotLine/Data/Repositories.cs:1802 DynamicsRepository.RunContinuityChecksAsync,ParagraphManuscript,95,9547.04,8385503,
|
||||
dbo.Dynamics_StoryDashboard,PlotLine/Data/Repositories.cs:1795 DynamicsRepository.GetStoryDynamicsAsync,,,0.0,,
|
||||
dbo.EmailQueue_Create,PlotLine/Data/EmailQueueRepository.cs:21 EmailQueueRepository.CreateAsync,,1,2.174,8,
|
||||
dbo.EmailQueue_DequeueBatch,PlotLine/Data/EmailQueueRepository.cs:40 EmailQueueRepository.DequeueBatchAsync,,108629,19320.048,217251,
|
||||
dbo.EmailQueue_MarkFailed,PlotLine/Data/EmailQueueRepository.cs:59 EmailQueueRepository.MarkFailedAsync,,,0.0,,
|
||||
dbo.EmailQueue_MarkSending,,,,0.0,,
|
||||
dbo.EmailQueue_MarkSent,PlotLine/Data/EmailQueueRepository.cs:50 EmailQueueRepository.MarkSentAsync,,1,2.775,6,
|
||||
dbo.EmailQueue_ResetStuckSending,PlotLine/Data/EmailQueueRepository.cs:68 EmailQueueRepository.ResetStuckSendingAsync,,108629,22051.804,651846,
|
||||
dbo.Export_ChapterBrief,PlotLine/Data/Repositories.cs:1727 ExportRepository.GetChapterBriefAsync,,,0.0,,
|
||||
dbo.Export_CharacterReference,PlotLine/Data/Repositories.cs:1699 ExportRepository.GetCharacterReferenceAsync,,,0.0,,
|
||||
dbo.Export_NarrativeTimeline,PlotLine/Data/Repositories.cs:1692 ExportRepository.GetNarrativeTimelineAsync,,,0.0,,
|
||||
dbo.Export_ResearchPack,PlotLine/Data/Repositories.cs:1752 ExportRepository.GetResearchPackAsync,,,0.0,,
|
||||
dbo.Export_SceneBrief,PlotLine/Data/Repositories.cs:1715 ExportRepository.GetSceneBriefAsync,Export_WriterSessionBrief,,0.0,,
|
||||
dbo.Export_SearchResults,PlotLine/Data/Repositories.cs:1759 ExportRepository.GetSearchResultsAsync,,,0.0,,
|
||||
dbo.Export_StoryBible,PlotLine/Data/Repositories.cs:1674 ExportRepository.GetStoryBibleAsync,,,0.0,,
|
||||
dbo.Export_WriterSessionBrief,PlotLine/Data/Repositories.cs:1740 ExportRepository.GetWriterSessionBriefAsync,,,0.0,,
|
||||
dbo.FeatureRequest_CountAttentionForUser,PlotLine/Data/FeatureRequestRepository.cs:141 FeatureRequestRepository.CountAttentionForUserAsync,,6675,472.924,0,
|
||||
dbo.FeatureRequest_CountWaitingForAdmin,PlotLine/Data/FeatureRequestRepository.cs:150 FeatureRequestRepository.CountWaitingForAdminAsync,,1635,106.335,0,
|
||||
dbo.FeatureRequest_Create,PlotLine/Data/FeatureRequestRepository.cs:30 FeatureRequestRepository.CreateAsync,,,0.0,,
|
||||
dbo.FeatureRequest_GetForAdmin,PlotLine/Data/FeatureRequestRepository.cs:48 FeatureRequestRepository.GetForAdminAsync,FeatureRequest_UpdateAdminNotes; FeatureRequest_UpdateRoadmapVisibility; FeatureRequest_UpdateStatus,,0.0,,
|
||||
dbo.FeatureRequest_GetForUser,PlotLine/Data/FeatureRequestRepository.cs:39 FeatureRequestRepository.GetForUserAsync,FeatureRequest_Create,,0.0,,
|
||||
dbo.FeatureRequest_ListForAdmin,PlotLine/Data/FeatureRequestRepository.cs:67 FeatureRequestRepository.ListForAdminAsync,,4,4.79,0,
|
||||
dbo.FeatureRequest_ListForUser,PlotLine/Data/FeatureRequestRepository.cs:57 FeatureRequestRepository.ListForUserAsync,,,0.0,,
|
||||
dbo.FeatureRequest_ListRoadmap,PlotLine/Data/FeatureRequestRepository.cs:77 FeatureRequestRepository.ListRoadmapAsync,,,0.0,,
|
||||
dbo.FeatureRequest_MarkViewedForUser,PlotLine/Data/FeatureRequestRepository.cs:132 FeatureRequestRepository.MarkViewedForUserAsync,,,0.0,,
|
||||
dbo.FeatureRequest_UpdateAdminNotes,PlotLine/Data/FeatureRequestRepository.cs:104 FeatureRequestRepository.UpdateAdminNotesAsync,,,0.0,,
|
||||
dbo.FeatureRequest_UpdateRoadmapVisibility,PlotLine/Data/FeatureRequestRepository.cs:95 FeatureRequestRepository.UpdateRoadmapVisibilityAsync,,,0.0,,
|
||||
dbo.FeatureRequest_UpdateStatus,PlotLine/Data/FeatureRequestRepository.cs:86 FeatureRequestRepository.UpdateStatusAsync,,,0.0,,
|
||||
dbo.FeatureRequestMessage_Add,PlotLine/Data/FeatureRequestRepository.cs:113 FeatureRequestRepository.AddMessageAsync,,,0.0,,
|
||||
dbo.FeatureRequestMessage_List,PlotLine/Data/FeatureRequestRepository.cs:122 FeatureRequestRepository.ListMessagesAsync,,,0.0,,
|
||||
dbo.FloorPlan_Delete,PlotLine/Data/Repositories.cs:830 FloorPlanRepository.DeletePlanAsync,,,0.0,,
|
||||
dbo.FloorPlan_Get,PlotLine/Data/Repositories.cs:771 FloorPlanRepository.GetAsync,FloorPlan_GetEditor,,0.0,,
|
||||
dbo.FloorPlan_GetEditor,PlotLine/Data/Repositories.cs:777 FloorPlanRepository.GetEditorAsync,,,0.0,,
|
||||
dbo.FloorPlan_ListByProject,PlotLine/Data/Repositories.cs:764 FloorPlanRepository.ListByProjectAsync,,155,38.164,310,
|
||||
dbo.FloorPlan_Save,PlotLine/Data/Repositories.cs:821 FloorPlanRepository.SavePlanAsync,,,0.0,,
|
||||
dbo.FloorPlanBlock_Delete,PlotLine/Data/Repositories.cs:893 FloorPlanRepository.DeleteBlockAsync,,,0.0,,
|
||||
dbo.FloorPlanBlock_Get,PlotLine/Data/Repositories.cs:815 FloorPlanRepository.GetBlockAsync,,,0.0,,
|
||||
dbo.FloorPlanBlock_ListByFloor,PlotLine/Data/Repositories.cs:794 FloorPlanRepository.ListBlocksByFloorAsync,,,0.0,,
|
||||
dbo.FloorPlanBlock_ListByPlan,PlotLine/Data/Repositories.cs:801 FloorPlanRepository.ListBlocksByPlanAsync,,,0.0,,
|
||||
dbo.FloorPlanBlock_Save,PlotLine/Data/Repositories.cs:872 FloorPlanRepository.SaveBlockAsync,,,0.0,,
|
||||
dbo.FloorPlanFloor_Delete,PlotLine/Data/Repositories.cs:866 FloorPlanRepository.DeleteFloorAsync,,,0.0,,
|
||||
dbo.FloorPlanFloor_Get,PlotLine/Data/Repositories.cs:788 FloorPlanRepository.GetFloorAsync,,,0.0,,
|
||||
dbo.FloorPlanFloor_ListByPlan,PlotLine/Data/Repositories.cs:808 FloorPlanRepository.ListFloorsByPlanAsync,,,0.0,,
|
||||
dbo.FloorPlanFloor_Save,PlotLine/Data/Repositories.cs:836 FloorPlanRepository.SaveFloorAsync,,,0.0,,
|
||||
dbo.FloorPlanFloor_UpdateBackground,PlotLine/Data/Repositories.cs:845 FloorPlanRepository.UpdateFloorBackgroundAsync,,,0.0,,
|
||||
dbo.FloorPlanTransition_Delete,PlotLine/Data/Repositories.cs:919 FloorPlanRepository.DeleteTransitionAsync,,,0.0,,
|
||||
dbo.FloorPlanTransition_Save,PlotLine/Data/Repositories.cs:899 FloorPlanRepository.SaveTransitionAsync,,,0.0,,
|
||||
dbo.GenreMetricPreset_List,PlotLine/Data/Repositories.cs:2080 ProjectRepository.ListGenreMetricPresetsAsync,,10,3.15,20,
|
||||
dbo.Geography_BatchPermit,,Geography_Retry; Geography_SubmitLocations,22,6.79,140,
|
||||
dbo.Geography_Cache,PlotLine/Data/GeographyRepository.cs:36 GeographyRepository.CacheAsync,,20,1.759,40,
|
||||
dbo.Geography_Chain,PlotLine/Data/GeographyRepository.cs:31 GeographyRepository.ChainAsync,,48,19.025,1898,
|
||||
dbo.Geography_Choose,PlotLine/Data/GeographyRepository.cs:51 GeographyRepository.ChooseAsync,,22,56.991,623,
|
||||
dbo.Geography_Claim,PlotLine/Data/GeographyRepository.cs:26 GeographyRepository.ClaimAsync,,15319,5855.089,30796,
|
||||
dbo.Geography_Complete,PlotLine/Data/GeographyRepository.cs:46 GeographyRepository.CompleteAsync,,16,37.507,243,
|
||||
dbo.Geography_Exclude,PlotLine/Data/GeographyRepository.cs:61 GeographyRepository.ExcludeAsync,,6,3.269,168,
|
||||
dbo.Geography_Get,PlotLine/Data/GeographyRepository.cs:21 GeographyRepository.GetAsync,,126,152.12,6586,
|
||||
dbo.Geography_ProviderRelease,PlotLine/Data/GeographyRepository.cs:71 GeographyRepository.ReleaseAsync,,21,27.425,42,
|
||||
dbo.Geography_Reserve,PlotLine/Data/GeographyRepository.cs:41 GeographyRepository.ReserveAsync,,39,80.216,361,
|
||||
dbo.Geography_Retry,PlotLine/Data/GeographyRepository.cs:56 GeographyRepository.RetryAsync,,1,2.064,35,
|
||||
dbo.Geography_SubmitHierarchy,PlotLine/Data/GeographyRepository.cs:66 GeographyRepository.SubmitAsync,,5,48.332,1570,SELECT *
|
||||
dbo.Geography_SubmitLocations,PlotLine/Data/GeographyRepository.cs:76 GeographyRepository.SubmitLocationsAsync,Geography_SubmitHierarchy,20,92.839,2322,JSON
|
||||
dbo.GetScheduleItemsByDateRange,PlotLine/Data/Repositories.cs:1442 WritingScheduleRepository.GetScheduleItemsByDateRangeAsync,,,0.0,,
|
||||
dbo.GetScheduleItemsByPlan,PlotLine/Data/Repositories.cs:1435 WritingScheduleRepository.GetScheduleItemsByPlanAsync,,,0.0,,
|
||||
dbo.GetWritingPlanByID,PlotLine/Data/Repositories.cs:1370 WritingScheduleRepository.GetWritingPlanByIDAsync,,110,11.126,220,
|
||||
dbo.GetWritingPlansByUser,PlotLine/Data/Repositories.cs:1363 WritingScheduleRepository.GetWritingPlansByUserAsync,,,0.0,,
|
||||
dbo.GivenName_BulkUpsert,,,,0.0,,
|
||||
dbo.GivenName_Recognise,PlotLine/Data/NameIntelligenceRepository.cs:80 NameIntelligenceRepository.RecogniseAsync,,345,91.857,5210,SELECT *
|
||||
dbo.GivenName_Relationships,PlotLine/Data/NameIntelligenceRepository.cs:105 NameIntelligenceRepository.ListRelationshipsAsync,GivenName_Recognise,70,32.899,1480,
|
||||
dbo.GivenName_Search,PlotLine/Data/NameIntelligenceRepository.cs:115 NameIntelligenceRepository.SearchAsync,,11,1817.955,105772,SELECT *
|
||||
dbo.GivenName_UsedDecorations,PlotLine/Data/NameIntelligenceRepository.cs:141 NameIntelligenceRepository.ListUsedDecorationsAsync,,,0.0,,
|
||||
dbo.IllustrationLibraryItem_Approve,PlotLine/Data/IllustrationLibraryRepository.cs:132 IllustrationLibraryRepository.ApproveAsync,,,0.0,,
|
||||
dbo.IllustrationLibraryItem_ArchiveGeneratedSet,,,,0.0,,
|
||||
dbo.IllustrationLibraryItem_ClaimNext,PlotLine/Data/IllustrationLibraryRepository.cs:89 IllustrationLibraryRepository.ClaimNextAsync,,217228,130775.385,1303707,
|
||||
dbo.IllustrationLibraryItem_CreateRegeneration,PlotLine/Data/IllustrationLibraryRepository.cs:150 IllustrationLibraryRepository.CreateRegenerationAsync,,,0.0,,SELECT *
|
||||
dbo.IllustrationLibraryItem_Disable,PlotLine/Data/IllustrationLibraryRepository.cs:159 IllustrationLibraryRepository.DisableAsync,,,0.0,,
|
||||
dbo.IllustrationLibraryItem_Get,PlotLine/Data/IllustrationLibraryRepository.cs:54 IllustrationLibraryRepository.GetAsync,,,0.0,,SELECT *
|
||||
dbo.IllustrationLibraryItem_GetApproved,PlotLine/Data/IllustrationLibraryRepository.cs:184 IllustrationLibraryRepository.GetApprovedAsync,,,0.0,,SELECT *
|
||||
dbo.IllustrationLibraryItem_List,PlotLine/Data/IllustrationLibraryRepository.cs:31 IllustrationLibraryRepository.ListAsync,,447,1975.682,73470,SELECT *
|
||||
dbo.IllustrationLibraryItem_MarkFailed,PlotLine/Data/IllustrationLibraryRepository.cs:123 IllustrationLibraryRepository.MarkFailedAsync,,,0.0,,
|
||||
dbo.IllustrationLibraryItem_MarkGenerated,PlotLine/Data/IllustrationLibraryRepository.cs:97 IllustrationLibraryRepository.MarkGeneratedAsync,,,0.0,,
|
||||
dbo.IllustrationLibraryItem_Queue,PlotLine/Data/IllustrationLibraryRepository.cs:80 IllustrationLibraryRepository.QueueAsync,,,0.0,,
|
||||
dbo.IllustrationLibraryItem_Reject,PlotLine/Data/IllustrationLibraryRepository.cs:141 IllustrationLibraryRepository.RejectAsync,,,0.0,,
|
||||
dbo.IllustrationLibraryItem_Summary,PlotLine/Data/IllustrationLibraryRepository.cs:46 IllustrationLibraryRepository.GetSummaryAsync,,,0.0,,
|
||||
dbo.IllustrationLibraryItem_UpdateMetadata,PlotLine/Data/IllustrationLibraryRepository.cs:168 IllustrationLibraryRepository.UpdateMetadataAsync,,,0.0,,
|
||||
dbo.IllustrationLibraryItem_UpsertPlanned,PlotLine/Data/IllustrationLibraryRepository.cs:63 IllustrationLibraryRepository.UpsertPlannedAsync,,,0.0,,SELECT *
|
||||
dbo.Import_LookupIds,PlotLine/Data/ImportRepository.cs:682 ImportRepository.GetLookupIdsAsync,,,0.0,,
|
||||
dbo.Location_Archive,PlotLine/Data/Repositories.cs:623 LocationRepository.ArchiveAsync,,,0.0,,
|
||||
dbo.Location_Get,PlotLine/Data/Repositories.cs:541 LocationRepository.GetAsync,,289,1651.526,286897,
|
||||
dbo.Location_ListByProject,PlotLine/Data/Repositories.cs:534 LocationRepository.ListByProjectAsync,LocationTree_GetByProject,1053,4151.563,796059,
|
||||
dbo.Location_Merge,PlotLine/Data/Repositories.cs:510 LocationRepository.MergeAsync,,,0.0,,
|
||||
dbo.Location_Reparent,PlotLine/Data/Repositories.cs:494 LocationRepository.ReparentAsync,,31,188.052,12215,
|
||||
dbo.Location_Save,PlotLine/Data/ImportRepository.cs:210 ImportRepository.ImportAsync; PlotLine/Data/ImportRepository.cs:238 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:547 LocationRepository.SaveAsync,StoryMap_Save,153,979.189,38606,
|
||||
dbo.Location_SetPreferredName,PlotLine/Data/Repositories.cs:614 LocationRepository.SetPreferredNameAsync,,,0.0,,
|
||||
dbo.LocationAlias_Add,PlotLine/Data/Repositories.cs:587 LocationRepository.AddAliasAsync,,4,12.412,44,
|
||||
dbo.LocationAlias_Delete,PlotLine/Data/Repositories.cs:605 LocationRepository.DeleteAliasAsync,,,0.0,,
|
||||
dbo.LocationAlias_ListByLocation,PlotLine/Data/Repositories.cs:567 LocationRepository.ListAliasesAsync,,2393,152.288,9836,
|
||||
dbo.LocationAlias_ListByProject,PlotLine/Data/Repositories.cs:577 LocationRepository.ListAliasesByProjectAsync,,31,15.519,4386,
|
||||
dbo.LocationAlias_Update,PlotLine/Data/Repositories.cs:596 LocationRepository.UpdateAliasAsync,,27,55.183,162,
|
||||
dbo.LocationCharacter_ListByLocation,PlotLine/Data/Repositories.cs:747 LocationRepository.ListCharactersByLocationAsync,,54,13.362,108,
|
||||
dbo.LocationCharacter_ListByScene,,,,0.0,,
|
||||
dbo.LocationLookup_All,PlotLine/Data/Repositories.cs:523 LocationRepository.GetLookupsAsync,,225,79.093,900,
|
||||
dbo.LocationRelationship_Archive,PlotLine/Data/Repositories.cs:666 LocationRepository.ArchiveRelationshipAsync,,,0.0,,
|
||||
dbo.LocationRelationship_ListByLocation,PlotLine/Data/Repositories.cs:636 LocationRepository.ListRelationshipsByLocationAsync,,54,8.839,108,
|
||||
dbo.LocationRelationship_ListByProject,PlotLine/Data/Repositories.cs:629 LocationRepository.ListRelationshipsByProjectAsync,,,0.0,,
|
||||
dbo.LocationRelationship_Save,PlotLine/Data/Repositories.cs:643 LocationRepository.SaveRelationshipAsync,,,0.0,,
|
||||
dbo.LocationScene_ListByLocation,PlotLine/Data/Repositories.cs:740 LocationRepository.ListScenesByLocationAsync,,54,72.873,4173,
|
||||
dbo.LocationTree_GetByProject,,,,0.0,,
|
||||
dbo.Lookup_All,PlotLine/Data/Repositories.cs:2797 LookupRepository.GetAllAsync,,1040,803.368,12480,
|
||||
dbo.ManuscriptDocument_GetByBook,PlotLine/Data/Repositories.cs:2423 ManuscriptDocumentRepository.GetByBookAsync,ManuscriptDocument_Save,152,42.56,1216,
|
||||
dbo.ManuscriptDocument_GetByGuid,PlotLine/Data/Repositories.cs:2432 ManuscriptDocumentRepository.GetByGuidAsync,,,0.0,,
|
||||
dbo.ManuscriptDocument_Save,PlotLine/Data/Repositories.cs:2443 ManuscriptDocumentRepository.SaveAsync,,,0.0,,
|
||||
dbo.ManuscriptDocument_UnlinkBook,PlotLine/Data/Repositories.cs:2457 ManuscriptDocumentRepository.UnlinkBookAsync,,,0.0,,
|
||||
dbo.ManuscriptDocument_UpdateLastOpened,PlotLine/Data/Repositories.cs:2475 ManuscriptDocumentRepository.UpdateLastOpenedAsync,,,0.0,,
|
||||
dbo.ManuscriptDocument_UpdateLastSync,PlotLine/Data/Repositories.cs:2466 ManuscriptDocumentRepository.UpdateLastSyncAsync,,,0.0,,
|
||||
dbo.ManuscriptStructuralChapterSource_Save,PlotLine/Data/OnboardingBuildRepository.cs:140 OnboardingBuildRepository.SaveStructuralChapterSourceAsync,,109,588.182,22086,
|
||||
dbo.MapReferenceImage_Create,PlotLine/Data/MapRepository.cs:59 MapRepository.AddImageAsync,,2,14.941,406,
|
||||
dbo.MapReferenceImage_DeleteUnused,PlotLine/Data/MapRepository.cs:64 MapRepository.DeleteImageAsync,,,0.0,,
|
||||
dbo.MapReferenceImage_Find,PlotLine/Data/MapRepository.cs:49 MapRepository.FindImageAsync,,3,3.58,78,
|
||||
dbo.MapReferenceImage_Get,PlotLine/Data/MapRepository.cs:44 MapRepository.GetImageAsync,,3,8.895,438,
|
||||
dbo.MapReferenceImage_List,PlotLine/Data/MapRepository.cs:39 MapRepository.ListImagesAsync,,155,133.74,3896,
|
||||
dbo.MapReferenceImage_Owner,PlotLine/Data/MapRepository.cs:54 MapRepository.ImageStorageOwnerAsync,,2,1.972,48,
|
||||
dbo.NameLocale_BulkUpsert,,,,0.0,,
|
||||
dbo.NameLocale_List,PlotLine/Data/NameIntelligenceRepository.cs:73 NameIntelligenceRepository.ListLocalesAsync,,11,3.131,22,SELECT *
|
||||
dbo.NameReferenceImport_Complete,PlotLine/Data/NameIntelligenceRepository.cs:43 NameIntelligenceRepository.CompleteImportAsync,,,0.0,,
|
||||
dbo.NameReferenceImport_GetLatest,PlotLine/Data/NameIntelligenceRepository.cs:29 NameIntelligenceRepository.GetLatestImportAsync,,,0.0,,
|
||||
dbo.NameReferenceImport_Start,PlotLine/Data/NameIntelligenceRepository.cs:36 NameIntelligenceRepository.StartImportAsync,,,0.0,,
|
||||
dbo.NameRelationship_BulkUpsert,,,,0.0,,
|
||||
dbo.NameUsage_BulkUpsert,,,,0.0,,
|
||||
dbo.NarrativeSceneOrder_GetByProject,,,,0.0,,SELECT *
|
||||
dbo.NativeChapterReview_Access,PlotLine/Data/NativeReviewRepository.cs:18 NativeReviewRepository.Read; PlotLine/Data/NativeReviewRepository.cs:21 NativeReviewRepository.List; PlotLine/Data/NativeReviewRepository.cs:23 NativeReviewRepository.Decide,,162,558.349,22840,SELECT *
|
||||
dbo.NativeCompanionInstallation,PlotLine/Data/NativeInstallationRepository.cs:16 NativeInstallationRepository.Run; PlotLine/Data/NativeInstallationRepository.cs:17 NativeInstallationRepository.Validate,,55041,66939.455,375832,
|
||||
dbo.NativeImportedCatalog,PlotLine/Data/NativeImportRepository.cs:15 NativeImportRepository.List,,,0.0,,
|
||||
dbo.NativeImportedPosition,PlotLine/Data/NativePositionRepository.cs:8 NativePositionRepository.Resolve,,2176,463.202,13076,JSON
|
||||
dbo.NativeReviewImport,PlotLine/Data/NativeImportRepository.cs:16 NativeImportRepository.Result; PlotLine/Data/NativeImportRepository.cs:19 NativeImportRepository.Commit,,6,169.97,6366,cursor; JSON
|
||||
dbo.NativeReviewSource_Save,PlotLine/Data/NativeReviewRepository.cs:22 NativeReviewRepository.Save,,48,143.534,4152,
|
||||
dbo.Onboarding_ManuscriptBuild_AcknowledgeOwnedMarkers,PlotLine/Data/OnboardingBuildRepository.cs:95 OnboardingBuildRepository.AcknowledgeMarkersAsync,,,0.0,,
|
||||
dbo.Onboarding_ManuscriptBuild_Create,PlotLine/Data/OnboardingBuildRepository.cs:29 OnboardingBuildRepository.BuildAsync,NativeReviewImport,9,850.372,434688,cursor; JSON
|
||||
dbo.Onboarding_ManuscriptBuild_GetByPreview,PlotLine/Data/OnboardingBuildRepository.cs:51 OnboardingBuildRepository.GetByPreviewAsync,NativeReviewImport,141,57.296,1393,
|
||||
dbo.Onboarding_ManuscriptBuild_MarkerSyncCompleted,PlotLine/Data/OnboardingBuildRepository.cs:113 OnboardingBuildRepository.MarkMarkerSyncCompletedAsync,,,0.0,,
|
||||
dbo.Onboarding_ManuscriptBuild_MarkerSyncFailed,PlotLine/Data/OnboardingBuildRepository.cs:131 OnboardingBuildRepository.MarkMarkerSyncFailedAsync,,,0.0,,
|
||||
dbo.Onboarding_ManuscriptBuild_MarkerSyncSent,PlotLine/Data/OnboardingBuildRepository.cs:104 OnboardingBuildRepository.MarkMarkerSyncSentAsync,,,0.0,,
|
||||
dbo.Onboarding_ManuscriptBuild_MarkerSyncUserSaveRequired,PlotLine/Data/OnboardingBuildRepository.cs:122 OnboardingBuildRepository.MarkMarkerSyncUserSaveRequiredAsync,,,0.0,,
|
||||
dbo.OnboardingManuscriptCapture,PlotLine/Data/ManuscriptCaptureRepository.cs:19 ManuscriptCaptureRepository.Clear; PlotLine/Data/ManuscriptCaptureRepository.cs:20 ManuscriptCaptureRepository.CompleteBuild; PlotLine/Data/ManuscriptCaptureRepository.cs:21 ManuscriptCaptureRepository.Save; PlotLine/Data/ManuscriptCaptureRepository.cs:22 ManuscriptCaptureRepository.Get,,295,1012.914,173651,
|
||||
dbo.OnboardingManuscriptChapterAnalysis,PlotLine/Data/ManuscriptCaptureRepository.cs:17 ManuscriptCaptureRepository.GetAnalysis; PlotLine/Data/ManuscriptCaptureRepository.cs:18 ManuscriptCaptureRepository.SaveAnalysis,,241,8548.454,2519632,
|
||||
dbo.ParagraphEvidence_States,PlotLine/Data/ParagraphEvidenceProjection.cs:13 ParagraphEvidenceProjection.States,,2256,214.49,4512,JSON
|
||||
dbo.ParagraphManuscript,PlotLine/Data/ParagraphManuscriptRepository.cs:20 ParagraphManuscriptRepository.Position; PlotLine/Data/ParagraphManuscriptRepository.cs:21 ParagraphManuscriptRepository.Get; PlotLine/Data/ParagraphManuscriptRepository.cs:22 ParagraphManuscriptRepository.SetMode; PlotLine/Data/ParagraphManuscriptRepository.cs:31 ParagraphManuscriptRepository.SaveCore; PlotLine/Data/ParagraphManuscriptRepository.cs:40 ParagraphManuscriptRepository.Capture; PlotLine/Data/ParagraphManuscriptRepository.cs:41 ParagraphManuscriptRepository.Status; PlotLine/Data/ParagraphManuscriptRepository.cs:42 ParagraphManuscriptRepository.Events,,9800,204462.65,37021691,cursor; JSON; SELECT *
|
||||
dbo.PlotLine_Archive,PlotLine/Data/Repositories.cs:3142 PlotRepository.ArchivePlotLineAsync,,,0.0,,
|
||||
dbo.PlotLine_Get,PlotLine/Data/Repositories.cs:3113 PlotRepository.GetPlotLineAsync,,,0.0,,
|
||||
dbo.PlotLine_ListByProject,PlotLine/Data/Repositories.cs:3106 PlotRepository.ListPlotLinesAsync,,363,111.324,7275,
|
||||
dbo.PlotLine_Save,PlotLine/Data/ImportRepository.cs:389 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3119 PlotRepository.SavePlotLineAsync; PlotLine/Services/StoryIntelligenceNarrativeReviewService.cs:495 StoryIntelligenceNarrativeReviewService.SavePlotLineAsync,,4,1.209,59,
|
||||
dbo.PlotLineWorkspace_Get,PlotLine/Data/PlotLineWorkspaceRepository.cs:17 PlotLineWorkspaceRepository.GetAsync,,226,219682.67,74080321,
|
||||
dbo.PlotLookup_All,PlotLine/Data/Repositories.cs:3091 PlotRepository.GetLookupsAsync,,237,204.783,2844,
|
||||
dbo.PlotThread_Archive,PlotLine/Data/Repositories.cs:3189 PlotRepository.ArchivePlotThreadAsync,,,0.0,,
|
||||
dbo.PlotThread_Get,PlotLine/Data/Repositories.cs:3162 PlotRepository.GetPlotThreadAsync,,2,0.631,16,
|
||||
dbo.PlotThread_ListByPlotLine,PlotLine/Data/Repositories.cs:3155 PlotRepository.ListPlotThreadsByPlotLineAsync,,,0.0,,
|
||||
dbo.PlotThread_ListByProject,PlotLine/Data/Repositories.cs:3148 PlotRepository.ListPlotThreadsByProjectAsync,,364,108.816,12493,
|
||||
dbo.PlotThread_Save,PlotLine/Data/ImportRepository.cs:422 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3168 PlotRepository.SavePlotThreadAsync; PlotLine/Services/StoryIntelligenceNarrativeReviewService.cs:516 StoryIntelligenceNarrativeReviewService.SavePlotThreadAsync,,12,1.111,146,
|
||||
dbo.Project_Archive,PlotLine/Data/Repositories.cs:2104 ProjectRepository.ArchiveAsync,,,0.0,,
|
||||
dbo.Project_ArchiveForOwner,PlotLine/Data/Repositories.cs:2116 ProjectRepository.ArchiveForOwnerAsync,,,0.0,,
|
||||
dbo.Project_ArchiveForUser,PlotLine/Data/Repositories.cs:2110 ProjectRepository.ArchiveForUserAsync,,13,60.668,52,
|
||||
dbo.Project_ExistsByNameForUser,PlotLine/Data/ImportRepository.cs:26 ImportRepository.ProjectTitleExistsAsync,,,0.0,,
|
||||
dbo.Project_Get,PlotLine/Data/Repositories.cs:2043 ProjectRepository.GetAsync,,1382,104.762,2764,
|
||||
dbo.Project_GetArchivedForOwner,PlotLine/Data/Repositories.cs:2055 ProjectRepository.GetArchivedForOwnerAsync,,,0.0,,
|
||||
dbo.Project_GetForUser,PlotLine/Data/Repositories.cs:2049 ProjectRepository.GetForUserAsync,,7192,809.852,28768,
|
||||
dbo.Project_GetOwnerUserID,,,,0.0,,
|
||||
dbo.Project_List,PlotLine/Data/Repositories.cs:2005 ProjectRepository.ListAsync,,,0.0,,
|
||||
dbo.Project_ListActiveForUser,PlotLine/Data/Repositories.cs:2019 ProjectRepository.ListActiveForUserAsync,,532,186.213,4351,
|
||||
dbo.Project_ListArchivedForUser,PlotLine/Data/Repositories.cs:2026 ProjectRepository.ListArchivedForUserAsync,,376,124.217,4435,
|
||||
dbo.Project_ListForUser,PlotLine/Data/Repositories.cs:2012 ProjectRepository.ListForUserAsync,,3521,937.617,28767,
|
||||
dbo.Project_ListOwnedForAccountDeletion,PlotLine/Data/Repositories.cs:2033 ProjectRepository.ListOwnedForAccountDeletionAsync,,41,17.157,202,
|
||||
dbo.Project_RestoreForOwner,PlotLine/Data/Repositories.cs:2126 ProjectRepository.RestoreForOwnerAsync,,,0.0,,
|
||||
dbo.Project_Save,PlotLine/Data/ImportRepository.cs:149 ImportRepository.ImportAsync; PlotLine/Data/ImportRepository.cs:98 ImportRepository.CreateProjectShellAsync; PlotLine/Data/Repositories.cs:2095 ProjectRepository.SaveInternalAsync,,91,1551.249,12165,
|
||||
dbo.ProjectAccess_EnsureOwner,,Project_Save,91,278.659,1216,
|
||||
dbo.ProjectAccess_GetProjectIDForEntity,,,,0.0,,
|
||||
dbo.ProjectAccess_UserCanAccess,PlotLine/Services/ProjectAccessServices.cs:26 ProjectAccessRepository.UserCanAccessProjectAsync,StoryMap_Authorize,5538,738.909,27852,
|
||||
dbo.ProjectAccess_UserCanAccessEntity,PlotLine/Services/ProjectAccessServices.cs:44 ProjectAccessRepository.UserCanAccessEntityAsync,,49715,6848.34,224530,
|
||||
dbo.ProjectAccess_UserCanOwn,PlotLine/Services/ProjectAccessServices.cs:35 ProjectAccessRepository.UserCanOwnProjectAsync,,27,8.494,108,
|
||||
dbo.ProjectActivity_Create,,ProjectAudit_Record,122,241.625,1054,
|
||||
dbo.ProjectActivity_ListForProject,PlotLine/Data/Repositories.cs:2299 ProjectActivityRepository.ListForProjectAsync,,,0.0,,
|
||||
dbo.ProjectActivity_ListRecent,PlotLine/Data/Repositories.cs:2309 ProjectActivityRepository.ListRecentForProjectAsync,,135,62.432,1580,
|
||||
dbo.ProjectAudit_Record,PlotLine/Data/Repositories.cs:2319 ProjectActivityRepository.RecordAsync,Location_Reparent,122,547.363,1628,
|
||||
dbo.ProjectBackup_BookMetadata_List,PlotLine/Data/ProjectBackupRepository.cs:161 ProjectBackupRepository.GetProjectBackupAsync,,37,5.406,107,
|
||||
dbo.ProjectBackup_Export,PlotLine/Data/ProjectBackupRepository.cs:21 ProjectBackupRepository.GetProjectBackupAsync,,37,1491.306,200488,SELECT *
|
||||
dbo.ProjectBackup_GetIdentityMaxValues,PlotLine/Data/ImportRepository.cs:38 ImportRepository.GetIdentityMaxValuesAsync,,19,106.544,30799,
|
||||
dbo.ProjectBackup_GetRelationshipImportLookups,PlotLine/Data/ImportRepository.cs:49 ImportRepository.GetRelationshipImportLookupsAsync,,19,83.69,2261,
|
||||
dbo.ProjectBackup_PersistentState_List,PlotLine/Data/ProjectBackupRepository.cs:96 ProjectBackupRepository.GetProjectBackupAsync,,37,4872.572,473042,SELECT *
|
||||
dbo.ProjectBackup_RelationshipImportDiagnostics,PlotLine/Data/ImportRepository.cs:89 ImportRepository.GetRelationshipImportDiagnosticsAsync,,,0.0,,
|
||||
dbo.ProjectCollaboration_AddCollaborator,PlotLine/Data/Repositories.cs:2269 ProjectCollaborationRepository.AddCollaboratorAsync,,1,2.696,16,
|
||||
dbo.ProjectCollaboration_CollaboratorCountsForOwner,PlotLine/Data/Repositories.cs:2260 ProjectCollaborationRepository.CollaboratorCountsForOwnerAsync,,,0.0,,
|
||||
dbo.ProjectCollaboration_CreatePendingInvitation,PlotLine/Data/Repositories.cs:2287 ProjectCollaborationRepository.CreatePendingInvitationAsync,,,0.0,,
|
||||
dbo.ProjectCollaboration_GetOwner,PlotLine/Data/Repositories.cs:2231 ProjectCollaborationRepository.GetOwnerUserIdAsync,,245,16.205,490,
|
||||
dbo.ProjectCollaboration_ListCollaborators,PlotLine/Data/Repositories.cs:2240 ProjectCollaborationRepository.ListCollaboratorsAsync,,,0.0,,
|
||||
dbo.ProjectCollaboration_ListPendingInvitations,PlotLine/Data/Repositories.cs:2250 ProjectCollaborationRepository.ListPendingInvitationsAsync,,,0.0,,
|
||||
dbo.ProjectCollaboration_RemoveCollaborator,PlotLine/Data/Repositories.cs:2278 ProjectCollaborationRepository.RemoveCollaboratorAsync,,1,2.216,17,
|
||||
dbo.ProjectDashboard_AttentionThreads,PlotLine/Data/Repositories.cs:2070 ProjectRepository.ListDashboardAttentionThreadsAsync,,135,35.682,4987,
|
||||
dbo.ProjectDashboard_Metrics,PlotLine/Data/Repositories.cs:2061 ProjectRepository.GetDashboardMetricsAsync,,135,81.757,4372,
|
||||
dbo.ProjectHardDelete_ForAccountDeletion,PlotLine/Data/Repositories.cs:2198 ProjectRepository.HardDeleteForAccountDeletionAsync,,62,8402.827,879919,
|
||||
dbo.ProjectHardDelete_ForOwner,PlotLine/Data/Repositories.cs:2158 ProjectRepository.HardDeleteForOwnerAsync,Archive_DeleteForever; ProjectHardDelete_ForAccountDeletion; StoryIntelligence_DevelopmentAccountReset,64,3838.062,1202198,
|
||||
dbo.ProjectHardDelete_ListFilePathsForAccountDeletion,PlotLine/Data/Repositories.cs:2176 ProjectRepository.ListHardDeleteFilePathsForAccountDeletionAsync,,44,28.82,683,
|
||||
dbo.ProjectHardDelete_ListFilePathsForOwner,PlotLine/Data/Repositories.cs:2136 ProjectRepository.ListHardDeleteFilePathsForOwnerAsync,,,0.0,,
|
||||
dbo.ProjectHardDelete_PrepareCore236,,ProjectHardDelete_PrepareDependencies,128,1868.17,545235,
|
||||
dbo.ProjectHardDelete_PrepareDependencies,PlotLine/Data/Repositories.cs:2151 ProjectRepository.HardDeleteForOwnerAsync; PlotLine/Data/Repositories.cs:2191 ProjectRepository.HardDeleteForAccountDeletionAsync,ProjectHardDelete_ForOwner,128,3351.881,581059,
|
||||
dbo.ProjectMetricPreset_Apply,,Project_Save,91,565.56,7960,
|
||||
dbo.ProjectParagraphRecovery_Apply,,ProjectRecovery_Apply; ProjectRestore_ApplyFromJson,12,48.403,1399,cursor; JSON; SELECT *
|
||||
dbo.ProjectRecovery_Apply,PlotLine/Data/BookRecoveryRepository.cs:34 BookRecoveryRepository.ApplyState,ProjectRestore_ApplyFromJson,12,280.47,6123,JSON
|
||||
dbo.ProjectRecovery_State,PlotLine/Data/BookRecoveryRepository.cs:19 BookRecoveryRepository.ReadState,,36,334.839,26084,
|
||||
dbo.ProjectRestore_ApplyFromJson,PlotLine/Data/ImportRepository.cs:107 ImportRepository.ApplyProjectBackupJsonAsync; PlotLine/Data/ProjectRestorePointRepository.cs:75 ProjectRestorePointRepository.RestoreAsync,,14,16684.947,2108439,JSON
|
||||
dbo.ProjectRestore_ApplyGraph236,,ProjectRestore_ApplyFromJson,12,10530.712,1341081,dynamic SQL; cursor; JSON
|
||||
dbo.ProjectRestore_InsertJsonTable,,ProjectRestore_ApplyGraph236,1224,3726.305,831470,dynamic SQL; JSON
|
||||
dbo.ProjectRestorePoint_Count,PlotLine/Data/ProjectRestorePointRepository.cs:41 ProjectRestorePointRepository.CountAsync,,2,0.271,4,
|
||||
dbo.ProjectRestorePoint_Create,PlotLine/Data/ProjectRestorePointRepository.cs:50 ProjectRestorePointRepository.CreateAsync,,1,680.258,212519,
|
||||
dbo.ProjectRestorePoint_Delete,PlotLine/Data/ProjectRestorePointRepository.cs:66 ProjectRestorePointRepository.DeleteAsync,,,0.0,,
|
||||
dbo.ProjectRestorePoint_Get,PlotLine/Data/ProjectRestorePointRepository.cs:32 ProjectRestorePointRepository.GetAsync,,,0.0,,
|
||||
dbo.ProjectRestorePoint_List,PlotLine/Data/ProjectRestorePointRepository.cs:22 ProjectRestorePointRepository.ListAsync,,5,2.431,20,
|
||||
dbo.ProjectTimelineMetricSettings_List,PlotLine/Data/Repositories.cs:2919 TimelineSettingsRepository.ListMetricSettingsAsync,,45,22.187,1170,
|
||||
dbo.ProjectTimelineSettings_EnsureDefaults,,ProjectTimelineMetricSettings_List; ProjectTimelineSettings_Get; ProjectTimelineSettings_Save,90,8.679,180,
|
||||
dbo.ProjectTimelineSettings_Get,PlotLine/Data/Repositories.cs:2900 TimelineSettingsRepository.GetAsync,,45,26.231,404,
|
||||
dbo.ProjectTimelineSettings_MetricTypes,PlotLine/Data/Repositories.cs:2909 TimelineSettingsRepository.ListMetricTypesAsync,,,0.0,,
|
||||
dbo.ProjectTimelineSettings_Save,PlotLine/Data/Repositories.cs:2929 TimelineSettingsRepository.SaveAsync,,,0.0,,
|
||||
dbo.Relationship_Archive,PlotLine/Data/Repositories.cs:4158 CharacterRepository.ArchiveRelationshipAsync,,,0.0,,
|
||||
dbo.Relationship_Get,PlotLine/Data/Repositories.cs:4108 CharacterRepository.GetRelationshipAsync,,,0.0,,
|
||||
dbo.Relationship_ListByCharacter,PlotLine/Data/Repositories.cs:4101 CharacterRepository.ListRelationshipsByCharacterAsync,Export_CharacterReference,15,7.411,961,
|
||||
dbo.Relationship_ListByProject,PlotLine/Data/Repositories.cs:4094 CharacterRepository.ListRelationshipsByProjectAsync,,244,1131.957,214853,
|
||||
dbo.Relationship_ListInitialByCharacter,PlotLine/Data/Repositories.cs:4151 CharacterRepository.ListInitialRelationshipsByCharacterAsync,,15,4.543,101,
|
||||
dbo.Relationship_Save,PlotLine/Data/Repositories.cs:4124 CharacterRepository.SaveRelationshipAsync,,,0.0,,
|
||||
dbo.RelationshipCategory_List,,,,0.0,,
|
||||
dbo.RelationshipEvent_Delete,PlotLine/Data/Repositories.cs:4196 CharacterRepository.DeleteRelationshipEventAsync,,,0.0,,
|
||||
dbo.RelationshipEvent_ListByCharacter,PlotLine/Data/Repositories.cs:4171 CharacterRepository.ListRelationshipEventsByCharacterAsync,Dynamics_CharacterArc,15,32.239,10693,
|
||||
dbo.RelationshipEvent_ListByScene,PlotLine/Data/Repositories.cs:4164 CharacterRepository.ListRelationshipEventsBySceneAsync,,3215,2530.922,43055,
|
||||
dbo.RelationshipEvent_Save,PlotLine/Data/Repositories.cs:4178 CharacterRepository.SaveRelationshipEventAsync,,,0.0,,
|
||||
dbo.RelationshipMap_GetByProject,PlotLine/Data/Repositories.cs:4211 CharacterRepository.GetRelationshipMapAsync,,434,11564.717,3892391,
|
||||
dbo.RelationshipType_ListWithCategories,,,,0.0,,
|
||||
dbo.RelationshipType_UpdateCategory,,,,0.0,,
|
||||
dbo.Scenario_ApplyToMain,PlotLine/Data/Repositories.cs:1866 ScenarioRepository.ApplyAsync,,,0.0,,
|
||||
dbo.Scenario_Archive,PlotLine/Data/Repositories.cs:1872 ScenarioRepository.ArchiveAsync,,,0.0,,
|
||||
dbo.Scenario_Compare,PlotLine/Data/Repositories.cs:1859 ScenarioRepository.CompareAsync,,,0.0,,
|
||||
dbo.Scenario_Create,PlotLine/Data/Repositories.cs:1824 ScenarioRepository.CreateAsync,,,0.0,,
|
||||
dbo.Scenario_Get,PlotLine/Data/Repositories.cs:1818 ScenarioRepository.GetAsync,,,0.0,,
|
||||
dbo.Scenario_List,PlotLine/Data/Repositories.cs:1811 ScenarioRepository.ListAsync,,118,34.473,472,
|
||||
dbo.Scenario_MoveScene,PlotLine/Data/Repositories.cs:1844 ScenarioRepository.MoveSceneAsync,,,0.0,,
|
||||
dbo.Scenario_Timeline,PlotLine/Data/Repositories.cs:1833 ScenarioRepository.GetTimelineAsync,,,0.0,,
|
||||
dbo.Scenario_Validate,PlotLine/Data/Repositories.cs:1853 ScenarioRepository.ValidateAsync,,,0.0,,
|
||||
dbo.Scene_Archive,PlotLine/Data/Repositories.cs:2680 SceneRepository.ArchiveAsync,,,0.0,,
|
||||
dbo.Scene_FloorPlanLink_Save,PlotLine/Data/Repositories.cs:2628 SceneRepository.SaveFloorPlanLinkAsync; PlotLine/Data/Repositories.cs:2770 SceneFloorPlanOccupancyRepository.SaveAsync,,,0.0,,
|
||||
dbo.Scene_Get,PlotLine/Data/Repositories.cs:2565 SceneRepository.GetAsync,,1850,7083.868,1247645,
|
||||
dbo.Scene_ListByChapter,PlotLine/Data/ImportRepository.cs:296 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:2551 SceneRepository.ListByChapterAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:553 StoryIntelligenceResultRepository.ListChapterScenesAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:617 StoryIntelligenceResultRepository.CommitImportAsync,,36645,110995.276,33854370,
|
||||
dbo.Scene_ListByFloorPlan,PlotLine/Data/Repositories.cs:2558 SceneRepository.ListByFloorPlanAsync,,,0.0,,
|
||||
dbo.Scene_Move,PlotLine/Data/Repositories.cs:2691 SceneRepository.MoveAsync,,,0.0,,
|
||||
dbo.Scene_MoveRelative,PlotLine/Data/Repositories.cs:2722 SceneRepository.MoveRelativeAsync,,,0.0,,
|
||||
dbo.Scene_MoveToChapter,PlotLine/Data/Repositories.cs:2713 SceneRepository.MoveToChapterAsync,,,0.0,,
|
||||
dbo.Scene_NormalizeSortOrder,,Scene_MoveRelative; Scene_MoveToChapter,,0.0,,
|
||||
dbo.Scene_RenumberChapter,PlotLine/Data/Repositories.cs:2731 SceneRepository.RenumberChapterAsync,Scene_MoveToChapter,,0.0,,
|
||||
dbo.Scene_Save,PlotLine/Data/ImportRepository.cs:312 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:2580 SceneRepository.SaveAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:676 StoryIntelligenceResultRepository.CommitImportAsync,,1369,6039.755,85856,
|
||||
dbo.Scene_SavePurposes,PlotLine/Data/Repositories.cs:2642 SceneRepository.SavePurposesAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:741 StoryIntelligenceResultRepository.CommitImportAsync,,,0.0,,
|
||||
dbo.Scene_UpdatePovCharacter,PlotLine/Data/ImportRepository.cs:342 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:2610 SceneRepository.UpdatePovCharacterAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:725 StoryIntelligenceResultRepository.CommitImportAsync,,2337,5045.084,24255,
|
||||
dbo.SceneAssetLocation_Delete,PlotLine/Data/Repositories.cs:696 LocationRepository.DeleteSceneAssetLocationAsync,,,0.0,,
|
||||
dbo.SceneAssetLocation_ListByLocation,PlotLine/Data/Repositories.cs:754 LocationRepository.ListAssetsByLocationAsync,,54,8.886,108,
|
||||
dbo.SceneAssetLocation_ListByScene,PlotLine/Data/Repositories.cs:672 LocationRepository.ListSceneAssetLocationsAsync,,20750,13991.301,6527921,
|
||||
dbo.SceneAssetLocation_ListBySceneLocation,,,,0.0,,
|
||||
dbo.SceneAssetLocation_Save,PlotLine/Data/ImportRepository.cs:566 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:679 LocationRepository.SaveSceneAssetLocationAsync,,,0.0,,
|
||||
dbo.SceneAssetSuggestion_Accept,PlotLine/Data/Repositories.cs:3553 AssetRepository.AcceptSceneAssetSuggestionAsync,,,0.0,,
|
||||
dbo.SceneAssetSuggestion_Reject,PlotLine/Data/Repositories.cs:3562 AssetRepository.RejectSceneAssetSuggestionAsync,,,0.0,,
|
||||
dbo.SceneAssetSuggestions_CountByChapter,PlotLine/Data/Repositories.cs:3571 AssetRepository.CountSceneAssetSuggestionsByChapterAsync,,13,6.029,144,
|
||||
dbo.SceneAssetSuggestions_ListByScene,PlotLine/Data/Repositories.cs:3543 AssetRepository.ListSceneAssetSuggestionsAsync,,231,51.067,3990,
|
||||
dbo.SceneAttachment_Delete,PlotLine/Data/Repositories.cs:1318 WriterWorkspaceRepository.DeleteAttachmentAsync,,,0.0,,
|
||||
dbo.SceneAttachment_ListByScene,PlotLine/Data/Repositories.cs:1302 WriterWorkspaceRepository.ListAttachmentsAsync,,582,57.824,1158,
|
||||
dbo.SceneAttachment_Save,PlotLine/Data/Repositories.cs:1309 WriterWorkspaceRepository.SaveAttachmentAsync,,,0.0,,
|
||||
dbo.SceneAttachmentType_List,PlotLine/Data/Repositories.cs:1222 WriterWorkspaceRepository.ListAttachmentTypesAsync,,235,22.591,470,
|
||||
dbo.SceneCharacter_Delete,PlotLine/Data/Repositories.cs:3979 CharacterRepository.DeleteSceneCharacterAsync,,,0.0,,
|
||||
dbo.SceneCharacter_ListByScene,PlotLine/Data/Repositories.cs:3943 CharacterRepository.ListSceneCharactersAsync,,5512,1485.179,165644,
|
||||
dbo.SceneCharacter_Save,PlotLine/Data/ImportRepository.cs:351 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3950 CharacterRepository.SaveSceneCharacterAsync,,14547,33217.126,398726,
|
||||
dbo.SceneCharacterSuggestion_Accept,PlotLine/Data/Repositories.cs:3995 CharacterRepository.AcceptSceneCharacterSuggestionAsync,,,0.0,,
|
||||
dbo.SceneCharacterSuggestion_Reject,PlotLine/Data/Repositories.cs:4004 CharacterRepository.RejectSceneCharacterSuggestionAsync,,,0.0,,
|
||||
dbo.SceneCharacterSuggestions_CountByChapter,PlotLine/Data/Repositories.cs:4013 CharacterRepository.CountSceneCharacterSuggestionsByChapterAsync,,13,7.769,144,
|
||||
dbo.SceneCharacterSuggestions_ListByScene,PlotLine/Data/Repositories.cs:3985 CharacterRepository.ListSceneCharacterSuggestionsAsync,,231,57.425,3990,
|
||||
dbo.SceneChecklist_Delete,PlotLine/Data/Repositories.cs:1296 WriterWorkspaceRepository.DeleteChecklistItemAsync,,,0.0,,
|
||||
dbo.SceneChecklist_ListByScene,PlotLine/Data/Repositories.cs:1280 WriterWorkspaceRepository.ListChecklistItemsAsync,,252,38.08,1630,
|
||||
dbo.SceneChecklist_Save,PlotLine/Data/Repositories.cs:1287 WriterWorkspaceRepository.SaveChecklistItemAsync,WriterAuthoring_Save,26,5.1,144,
|
||||
dbo.SceneDependency_Archive,PlotLine/Data/Repositories.cs:1996 SceneDependencyRepository.ArchiveAsync,,,0.0,,
|
||||
dbo.SceneDependency_Counts,PlotLine/Data/Repositories.cs:1971 SceneDependencyRepository.GetCountsAsync,,45,31.04,19205,
|
||||
dbo.SceneDependency_FinaliseWarnings,PlotLine/Data/Repositories.cs:1028 WarningRepository.FinaliseSceneDependencyWarningsAsync,,,0.0,,
|
||||
dbo.SceneDependency_ListByProject,PlotLine/Data/Repositories.cs:1964 SceneDependencyRepository.ListByProjectAsync,,,0.0,,
|
||||
dbo.SceneDependency_ListByScene,PlotLine/Data/Repositories.cs:1957 SceneDependencyRepository.ListBySceneAsync,,253,434.375,15994,
|
||||
dbo.SceneDependency_Save,PlotLine/Data/ImportRepository.cs:624 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:1978 SceneDependencyRepository.SaveAsync,,,0.0,,
|
||||
dbo.SceneDependencyLookup_All,PlotLine/Data/Repositories.cs:1950 SceneDependencyRepository.GetLookupsAsync,,235,43.513,470,
|
||||
dbo.SceneFloorPlanOccupancy_ListByFloorPlan,PlotLine/Data/Repositories.cs:2750 SceneFloorPlanOccupancyRepository.ListByFloorPlanAsync,,,0.0,,
|
||||
dbo.SceneFloorPlanOccupancy_ListByScene,PlotLine/Data/Repositories.cs:2740 SceneFloorPlanOccupancyRepository.ListBySceneAsync,,,0.0,,
|
||||
dbo.SceneFloorPlanOccupancy_Save,PlotLine/Data/Repositories.cs:2777 SceneFloorPlanOccupancyRepository.SaveAsync,,,0.0,,
|
||||
dbo.SceneFloorPlanParticipant_ListByFloorPlan,PlotLine/Data/Repositories.cs:2760 SceneFloorPlanOccupancyRepository.ListParticipantsByFloorPlanAsync,,,0.0,,
|
||||
dbo.SceneLocation_SavePrimary,,,,0.0,,
|
||||
dbo.SceneLocationSuggestion_Accept,PlotLine/Data/Repositories.cs:712 LocationRepository.AcceptSceneLocationSuggestionAsync,,,0.0,,
|
||||
dbo.SceneLocationSuggestion_Reject,PlotLine/Data/Repositories.cs:721 LocationRepository.RejectSceneLocationSuggestionAsync,,,0.0,,
|
||||
dbo.SceneLocationSuggestions_CountByChapter,PlotLine/Data/Repositories.cs:730 LocationRepository.CountSceneLocationSuggestionsByChapterAsync,,13,6.16,144,
|
||||
dbo.SceneLocationSuggestions_ListByScene,PlotLine/Data/Repositories.cs:702 LocationRepository.ListSceneLocationSuggestionsAsync,,231,426.568,87343,
|
||||
dbo.SceneManuscriptSource_GetByScene,PlotLine/Data/ManuscriptTextStatisticsRepository.cs:65 ManuscriptTextStatisticsRepository.GetSourceBySceneAsync,,686,68.17,1773,
|
||||
dbo.SceneManuscriptSource_ListByBook,PlotLine/Data/OnboardingBuildRepository.cs:193 OnboardingBuildRepository.ListSceneManuscriptSourcesByBookAsync,,230,3980.935,247766,
|
||||
dbo.SceneManuscriptSource_ListByChapter,PlotLine/Data/OnboardingBuildRepository.cs:203 OnboardingBuildRepository.ListSceneManuscriptSourcesByChapterAsync,,105,94.118,4183,
|
||||
dbo.SceneManuscriptSource_Save,PlotLine/Data/OnboardingBuildRepository.cs:161 OnboardingBuildRepository.SaveSceneManuscriptSourceAsync,NativeReviewImport; ParagraphManuscript,2281,1772.283,97886,
|
||||
dbo.SceneMetric_BackfillDefaultsForProject,PlotLine/Data/Repositories.cs:3014 SceneMetricTypeRepository.BackfillDefaultValuesForProjectAsync,,,0.0,,
|
||||
dbo.SceneMetric_EnsureDefaults,,Scene_Get; SceneMetric_ListByScene,3700,2204.912,275786,
|
||||
dbo.SceneMetric_ListByScene,,Scene_Get,1850,906.755,204772,
|
||||
dbo.SceneMetric_ListRecordedForBook,PlotLine/Data/Repositories.cs:2651 SceneRepository.ListRecordedMetricsByBookAsync,,12,59.732,39097,
|
||||
dbo.SceneMetric_SaveValue,PlotLine/Data/Repositories.cs:2659 SceneRepository.SaveMetricValuesAsync; PlotLine/Data/Repositories.cs:2669 SceneRepository.SaveMetricValueAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:757 StoryIntelligenceResultRepository.CommitImportAsync,,15125,35118.372,167086,
|
||||
dbo.SceneMetricType_AddMissingDefaultsForProject,PlotLine/Data/Repositories.cs:3008 SceneMetricTypeRepository.AddMissingDefaultsAsync,,,0.0,,
|
||||
dbo.SceneMetricType_GetForProject,PlotLine/Data/Repositories.cs:2961 SceneMetricTypeRepository.GetAsync,,,0.0,,
|
||||
dbo.SceneMetricType_List,,,,0.0,,
|
||||
dbo.SceneMetricType_ListForProjectManagement,PlotLine/Data/Repositories.cs:2951 SceneMetricTypeRepository.ListForManagementAsync,,80,1648.451,16495,
|
||||
dbo.SceneMetricType_MoveForProject,PlotLine/Data/Repositories.cs:2999 SceneMetricTypeRepository.MoveAsync,,,0.0,,SELECT *
|
||||
dbo.SceneMetricType_ProjectHasMetrics,PlotLine/Data/Repositories.cs:3032 SceneMetricTypeRepository.HasProjectMetricsAsync,,,0.0,,
|
||||
dbo.SceneMetricType_RemoveUnusedForProject,PlotLine/Data/Repositories.cs:3023 SceneMetricTypeRepository.RemoveUnusedAsync,,,0.0,,
|
||||
dbo.SceneMetricType_SaveForProject,PlotLine/Data/Repositories.cs:2970 SceneMetricTypeRepository.SaveAsync,,1,5.816,20,
|
||||
dbo.SceneMetricType_SetActiveForProject,PlotLine/Data/Repositories.cs:2990 SceneMetricTypeRepository.SetActiveAsync,,,0.0,,
|
||||
dbo.SceneMovePreview_Get,PlotLine/Data/Repositories.cs:2704 SceneRepository.GetMovePreviewAsync,,,0.0,,
|
||||
dbo.SceneNote_Delete,PlotLine/Data/Repositories.cs:1274 WriterWorkspaceRepository.DeleteNoteAsync,,,0.0,,
|
||||
dbo.SceneNote_ListByScene,PlotLine/Data/Repositories.cs:1258 WriterWorkspaceRepository.ListNotesAsync,,252,19.878,504,
|
||||
dbo.SceneNote_Save,PlotLine/Data/Repositories.cs:1265 WriterWorkspaceRepository.SaveNoteAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:777 StoryIntelligenceResultRepository.CommitImportAsync,WriterAuthoring_Save,12,9.952,95,
|
||||
dbo.SceneNoteType_List,PlotLine/Data/Repositories.cs:1215 WriterWorkspaceRepository.ListNoteTypesAsync,,930,164.416,1860,
|
||||
dbo.SceneOption_ListByProject,PlotLine/Data/Repositories.cs:3277 PlotRepository.ListSceneOptionsAsync,,235,356.72,21279,
|
||||
dbo.SceneStructuralSummary_Save,PlotLine/Data/OnboardingBuildRepository.cs:184 OnboardingBuildRepository.SaveSceneStructuralSummaryAsync,NativeReviewImport,689,1477.159,21626,
|
||||
dbo.SceneTextStatistics_GetByScene,PlotLine/Data/ManuscriptTextStatisticsRepository.cs:38 ManuscriptTextStatisticsRepository.GetBySceneAsync,,231,17.203,462,
|
||||
dbo.SceneTextStatistics_ListByChapter,PlotLine/Data/ManuscriptTextStatisticsRepository.cs:47 ManuscriptTextStatisticsRepository.ListByChapterAsync,,13,6.857,96,
|
||||
dbo.SceneTextStatistics_ListMissingByBook,,,,0.0,,
|
||||
dbo.SceneTextStatistics_Save,PlotLine/Data/ManuscriptTextStatisticsRepository.cs:20 ManuscriptTextStatisticsRepository.SaveAsync,,1422,2759.237,11829,
|
||||
dbo.SceneWorkflow_Get,PlotLine/Data/Repositories.cs:1229 WriterWorkspaceRepository.GetWorkflowAsync,,253,221.391,6189,
|
||||
dbo.SceneWorkflow_Save,PlotLine/Data/Repositories.cs:1235 WriterWorkspaceRepository.SaveWorkflowAsync,WriterAuthoring_Save,10,1.711,80,
|
||||
dbo.SetWritingPlanActive,PlotLine/Data/Repositories.cs:1429 WritingScheduleRepository.SetWritingPlanActiveAsync,,12,28.324,75,
|
||||
dbo.StoryAsset_Archive,PlotLine/Data/Repositories.cs:3498 AssetRepository.ArchiveAssetAsync,,,0.0,,
|
||||
dbo.StoryAsset_Get,PlotLine/Data/Repositories.cs:3423 AssetRepository.GetAssetAsync,,,0.0,,
|
||||
dbo.StoryAsset_ListByProject,PlotLine/Data/Repositories.cs:3416 AssetRepository.ListAssetsAsync,,306,459.72,99722,
|
||||
dbo.StoryAsset_Merge,PlotLine/Data/Repositories.cs:3388 AssetRepository.MergeAsync,,,0.0,,
|
||||
dbo.StoryAsset_Save,PlotLine/Data/ImportRepository.cs:484 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3429 AssetRepository.SaveAssetAsync,,,0.0,,
|
||||
dbo.StoryAsset_UpdateImage,PlotLine/Data/Repositories.cs:3489 AssetRepository.UpdateAssetImageAsync,,,0.0,,
|
||||
dbo.StoryBible_AssetSummaries,PlotLine/Data/Repositories.cs:1170 StoryBibleRepository.GetAssetSummariesAsync,Export_StoryBible,,0.0,,
|
||||
dbo.StoryBible_CharacterSummaries,PlotLine/Data/Repositories.cs:1158 StoryBibleRepository.GetCharacterSummariesAsync,Export_StoryBible,,0.0,,
|
||||
dbo.StoryBible_LocationSummaries,PlotLine/Data/Repositories.cs:1182 StoryBibleRepository.GetLocationSummariesAsync,Export_StoryBible,,0.0,,
|
||||
dbo.StoryBible_OpenQuestions,PlotLine/Data/Repositories.cs:1194 StoryBibleRepository.GetOpenQuestionsAsync,Export_StoryBible,,0.0,,
|
||||
dbo.StoryBible_RelationshipSummaries,PlotLine/Data/Repositories.cs:1176 StoryBibleRepository.GetRelationshipSummariesAsync,Export_StoryBible,,0.0,,
|
||||
dbo.StoryBible_RevisionProgress,PlotLine/Data/Repositories.cs:1200 StoryBibleRepository.GetRevisionProgressAsync,Export_StoryBible,,0.0,,
|
||||
dbo.StoryBible_Search,PlotLine/Data/Repositories.cs:1206 StoryBibleRepository.SearchAsync,Export_SearchResults,,0.0,,
|
||||
dbo.StoryBible_ThreadSummaries,PlotLine/Data/Repositories.cs:1164 StoryBibleRepository.GetThreadSummariesAsync,Export_StoryBible,,0.0,,
|
||||
dbo.StoryBible_TimelineSummary,PlotLine/Data/Repositories.cs:1188 StoryBibleRepository.GetTimelineSummaryAsync,Export_NarrativeTimeline; Export_StoryBible,,0.0,,
|
||||
dbo.StoryIntelligence_DevelopmentAccountReset,,,,0.0,,cursor
|
||||
dbo.StoryIntelligenceBookPipeline_FindNextReadySceneAnalysis,PlotLine/Data/StoryIntelligencePipelineRepository.cs:107 StoryIntelligencePipelineRepository.FindNextReadySceneAnalysisAsync,,1436503,366780.658,24477445,
|
||||
dbo.StoryIntelligenceBookPipeline_GetByBook,PlotLine/Data/StoryIntelligencePipelineRepository.cs:35 StoryIntelligencePipelineRepository.GetByBookAsync,StoryIntelligenceBookPipeline_Upsert,554,62.05,4432,
|
||||
dbo.StoryIntelligenceBookPipeline_GetByBookForUser,PlotLine/Data/StoryIntelligencePipelineRepository.cs:44 StoryIntelligencePipelineRepository.GetByBookForUserAsync,,342,66.543,2608,
|
||||
dbo.StoryIntelligenceBookPipeline_GetByIDForUser,PlotLine/Data/StoryIntelligencePipelineRepository.cs:26 StoryIntelligencePipelineRepository.GetByIdForUserAsync,,894,134.668,7152,
|
||||
dbo.StoryIntelligenceBookPipeline_ListCommittedRunsByBook,PlotLine/Data/StoryIntelligencePipelineRepository.cs:97 StoryIntelligencePipelineRepository.ListCommittedRunsByBookAsync,,70,19.986,280,
|
||||
dbo.StoryIntelligenceBookPipeline_ListForUser,PlotLine/Data/StoryIntelligencePipelineRepository.cs:62 StoryIntelligencePipelineRepository.ListForUserAsync,,376,103.665,2336,
|
||||
dbo.StoryIntelligenceBookPipeline_TryBeginCompletionNotification,PlotLine/Data/StoryIntelligencePipelineRepository.cs:124 StoryIntelligencePipelineRepository.TryBeginCompletionNotificationAsync,,4,3.842,43,
|
||||
dbo.StoryIntelligenceBookPipeline_TryCompleteNextReadySceneAnalysis,,,,0.0,,
|
||||
dbo.StoryIntelligenceBookPipeline_TryCompleteSceneAnalysis,PlotLine/Data/StoryIntelligencePipelineRepository.cs:115 StoryIntelligencePipelineRepository.TryCompleteSceneAnalysisAsync,StoryIntelligenceBookPipeline_TryCompleteNextReadySceneAnalysis,3,4.858,351,SELECT *
|
||||
dbo.StoryIntelligenceBookPipeline_Upsert,PlotLine/Data/StoryIntelligencePipelineRepository.cs:72 StoryIntelligencePipelineRepository.UpsertAsync,,107,257.577,2500,
|
||||
dbo.StoryIntelligenceChapterResult_GetByRun,PlotLine/Data/StoryIntelligenceResultRepository.cs:534 StoryIntelligenceResultRepository.GetChapterResultAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceChapterResult_Save,PlotLine/Data/StoryIntelligenceResultRepository.cs:436 StoryIntelligenceResultRepository.SaveChapterResultAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:98 StoryIntelligenceResultRepository.SaveAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceImportCommit_CountChapterScenes,,,,0.0,,
|
||||
dbo.StoryIntelligenceImportCommit_GetByRun,PlotLine/Data/StoryIntelligenceResultRepository.cs:567 StoryIntelligenceResultRepository.GetImportCommitAsync,,105,7.589,210,
|
||||
dbo.StoryIntelligenceImportCommit_GetChapterReadiness,PlotLine/Data/StoryIntelligenceResultRepository.cs:576 StoryIntelligenceResultRepository.GetChapterImportReadinessAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:608 StoryIntelligenceResultRepository.CommitImportAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceImportCommit_HasCompleted,PlotLine/Data/StoryIntelligenceResultRepository.cs:593 StoryIntelligenceResultRepository.CommitImportAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceImportCommit_RecordCompleted,PlotLine/Data/StoryIntelligenceResultRepository.cs:809 StoryIntelligenceResultRepository.CommitImportAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceImportCommit_RecordFailed,PlotLine/Data/StoryIntelligenceResultRepository.cs:848 StoryIntelligenceResultRepository.RecordFailedCommitAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceImportCommit_UpdateChapterPlanning,PlotLine/Data/StoryIntelligenceResultRepository.cs:641 StoryIntelligenceResultRepository.CommitImportAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceJob_Cancel,PlotLine/Data/StoryIntelligenceRepository.cs:92 StoryIntelligenceRepository.CancelAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceJob_ClaimNextPending,PlotLine/Data/StoryIntelligenceRepository.cs:58 StoryIntelligenceRepository.ClaimNextPendingAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceJob_Complete,PlotLine/Data/StoryIntelligenceRepository.cs:83 StoryIntelligenceRepository.CompleteAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceJob_CreateWithConsent,PlotLine/Data/StoryIntelligenceRepository.cs:24 StoryIntelligenceRepository.CreateWithConsentAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceJob_Fail,PlotLine/Data/StoryIntelligenceRepository.cs:101 StoryIntelligenceRepository.FailAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceJob_Get,PlotLine/Data/StoryIntelligenceRepository.cs:40 StoryIntelligenceRepository.GetAsync,StoryIntelligenceJob_Cancel; StoryIntelligenceJob_CreateWithConsent,,0.0,,
|
||||
dbo.StoryIntelligenceJob_GetLatestForUser,PlotLine/Data/StoryIntelligenceRepository.cs:49 StoryIntelligenceRepository.GetLatestForUserAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceJob_UpdateProgress,PlotLine/Data/StoryIntelligenceRepository.cs:66 StoryIntelligenceRepository.UpdateProgressAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceLocationReview_BackfillSignificance,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:165 StoryIntelligenceReviewCandidateRepository.BackfillLocationSignificanceAsync,,,0.0,,JSON
|
||||
dbo.StoryIntelligenceLocationReview_List,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:158 StoryIntelligenceReviewCandidateRepository.ListLocationsAsync,,8,58.583,6162,
|
||||
dbo.StoryIntelligenceNarrativeCandidate_ListByBook,PlotLine/Data/Repositories.cs:3337 StoryIntelligenceNarrativeCandidateRepository.ListByBookAsync,,12,69.679,26046,
|
||||
dbo.StoryIntelligenceNarrativeCandidate_MarkReviewed,PlotLine/Data/Repositories.cs:3365 StoryIntelligenceNarrativeCandidateRepository.MarkReviewedAsync; PlotLine/Services/StoryIntelligenceNarrativeReviewService.cs:565 StoryIntelligenceNarrativeReviewService.MarkReviewedAsync,,16,2.164,342,
|
||||
dbo.StoryIntelligenceNarrativeCandidate_Save,PlotLine/Data/Repositories.cs:3287 StoryIntelligenceNarrativeCandidateRepository.SaveAsync,,108,320.282,1547,
|
||||
dbo.StoryIntelligenceNarrativeCandidateEvidence_Save,PlotLine/Data/Repositories.cs:3321 StoryIntelligenceNarrativeCandidateRepository.SaveEvidenceAsync; PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:204 WholeBookPlotIntelligenceRepository.CompleteAsync,,2128,2107.498,17932,
|
||||
dbo.StoryIntelligenceRelationship_AcceptDevelopment,PlotLine/Data/Repositories.cs:4117 CharacterRepository.AcceptRelationshipDevelopmentAsync,StoryIntelligenceReview_Assess,398,449.439,22704,
|
||||
dbo.StoryIntelligenceReview_Assess,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:43 StoryIntelligenceReviewCandidateRepository.AssessAsync,,2203,21666.913,3307841,JSON
|
||||
dbo.StoryIntelligenceReview_List,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:31 StoryIntelligenceReviewCandidateRepository.ListAllAsync,,29,373.412,33516,
|
||||
dbo.StoryIntelligenceReview_Summary,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:37 StoryIntelligenceReviewCandidateRepository.GetReviewSummaryAsync,,54,768.938,169783,
|
||||
dbo.StoryIntelligenceReviewCandidate_ListPage,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:131 StoryIntelligenceReviewCandidateRepository.ListPageAsync,,4,23.64,3072,SELECT *
|
||||
dbo.StoryIntelligenceReviewCandidate_MarkReviewed,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:141 StoryIntelligenceReviewCandidateRepository.MarkReviewedAsync,,96,740.076,23727,SELECT *
|
||||
dbo.StoryIntelligenceReviewCandidate_RefreshPendingRelationships,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:50 StoryIntelligenceReviewCandidateRepository.RefreshPendingRelationshipsAsync,,,0.0,,JSON
|
||||
dbo.StoryIntelligenceReviewCandidate_ResetBook,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:172 StoryIntelligenceReviewCandidateRepository.ResetBookAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceReviewCandidate_Save,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:75 StoryIntelligenceReviewCandidateRepository.SaveCandidateAsync,,9212,17503.033,351509,SELECT *
|
||||
dbo.StoryIntelligenceReviewCandidateEvidence_Save,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:97 StoryIntelligenceReviewCandidateRepository.SaveEvidenceAsync,,8266,15771.788,70917,
|
||||
dbo.StoryIntelligenceReviewCandidateGeneration_Begin,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:57 StoryIntelligenceReviewCandidateRepository.BeginGenerationAsync,,29,323.737,74060,SELECT *
|
||||
dbo.StoryIntelligenceReviewCandidateGeneration_Complete,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:113 StoryIntelligenceReviewCandidateRepository.CompleteGenerationAsync,,29,141.016,3327,SELECT *
|
||||
dbo.StoryIntelligenceReviewCandidateGeneration_Fail,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:122 StoryIntelligenceReviewCandidateRepository.FailGenerationAsync,,1,2.019,2,
|
||||
dbo.StoryIntelligenceReviewCandidateGeneration_GetCurrent,PlotLine/Data/StoryIntelligenceReviewCandidateRepository.cs:66 StoryIntelligenceReviewCandidateRepository.GetCurrentGenerationAsync,,54,6.221,132,
|
||||
dbo.StoryIntelligenceReviewCentre_GetSummary,PlotLine/Data/StoryIntelligencePipelineRepository.cs:53 StoryIntelligencePipelineRepository.GetReviewCentreSummaryAsync,,45,1662.207,63871,
|
||||
dbo.StoryIntelligenceRun_Cancel,PlotLine/Data/StoryIntelligenceResultRepository.cs:427 StoryIntelligenceResultRepository.CancelRunAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceRun_ClaimNextPending,PlotLine/Data/StoryIntelligenceResultRepository.cs:261 StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:321 StoryIntelligenceResultRepository.ClaimNextPendingAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceRun_ClaimNextPendingFair,PlotLine/Data/StoryIntelligenceResultRepository.cs:332 StoryIntelligenceResultRepository.ClaimNextPendingFairAsync,,1436578,652190.095,6522441,
|
||||
dbo.StoryIntelligenceRun_Complete,PlotLine/Data/StoryIntelligenceResultRepository.cs:383 StoryIntelligenceResultRepository.CompleteRunAsync,,73,302.99,555,
|
||||
dbo.StoryIntelligenceRun_Fail,PlotLine/Data/StoryIntelligenceResultRepository.cs:402 StoryIntelligenceResultRepository.FailRunAsync,,3,1.393,6,
|
||||
dbo.StoryIntelligenceRun_GetAdmin,PlotLine/Data/StoryIntelligenceResultRepository.cs:525 StoryIntelligenceResultRepository.GetRunAsync,,4371,1692.879,90437,
|
||||
dbo.StoryIntelligenceRun_ListActiveBookSummaryForUser,PlotLine/Data/StoryIntelligenceResultRepository.cs:515 StoryIntelligenceResultRepository.ListActiveBookRunSummariesForUserAsync,,14833,105677.534,70962749,
|
||||
dbo.StoryIntelligenceRun_ListAdmin,PlotLine/Data/StoryIntelligenceResultRepository.cs:496 StoryIntelligenceResultRepository.ListRunsAsync,,447,2160.487,399485,
|
||||
dbo.StoryIntelligenceRun_ListByBookForUser,PlotLine/Data/StoryIntelligenceResultRepository.cs:505 StoryIntelligenceResultRepository.ListRunsByBookForUserAsync,,1605,20424.186,1493162,
|
||||
dbo.StoryIntelligenceRun_QueueAdminText,PlotLine/Data/StoryIntelligenceResultRepository.cs:170 StoryIntelligenceResultRepository.QueueAdminTextAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:218 StoryIntelligenceResultRepository.EnsureKnownCharacterQueueSupportAsync,,48,123.559,2691,
|
||||
dbo.StoryIntelligenceRun_RequestCancel,PlotLine/Data/StoryIntelligenceResultRepository.cs:418 StoryIntelligenceResultRepository.RequestCancelAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceRun_Save,PlotLine/Data/StoryIntelligenceResultRepository.cs:58 StoryIntelligenceResultRepository.SaveAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceRun_UpdateProgress,PlotLine/Data/StoryIntelligenceResultRepository.cs:359 StoryIntelligenceResultRepository.UpdateProgressAsync,,971,2285.477,7488,
|
||||
dbo.StoryIntelligenceSceneResult_ListByRun,PlotLine/Data/StoryIntelligenceResultRepository.cs:543 StoryIntelligenceResultRepository.ListSceneResultsAsync,,25999,91784.31,4924751,
|
||||
dbo.StoryIntelligenceSceneResult_Save,PlotLine/Data/StoryIntelligenceResultRepository.cs:126 StoryIntelligenceResultRepository.SaveAsync; PlotLine/Data/StoryIntelligenceResultRepository.cs:464 StoryIntelligenceResultRepository.SaveSceneResultAsync,,451,2290.872,49116,
|
||||
dbo.StoryIntelligenceSceneSource_Save,PlotLine/Data/StoryIntelligenceResultRepository.cs:703 StoryIntelligenceResultRepository.CommitImportAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceSource_BookListAdmin,PlotLine/Data/StoryIntelligenceSourceRepository.cs:29 StoryIntelligenceSourceRepository.ListBooksAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceSource_ChapterListAdmin,PlotLine/Data/StoryIntelligenceSourceRepository.cs:39 StoryIntelligenceSourceRepository.ListChaptersAsync,,,0.0,,
|
||||
dbo.StoryIntelligenceSource_ChapterText_GetAdmin,PlotLine/Data/StoryIntelligenceSourceRepository.cs:49 StoryIntelligenceSourceRepository.GetChapterSourceAsync,,105,71.509,2826,
|
||||
dbo.StoryIntelligenceSource_ProjectListAdmin,PlotLine/Data/StoryIntelligenceSourceRepository.cs:20 StoryIntelligenceSourceRepository.ListProjectsAsync,,,0.0,,
|
||||
dbo.StoryMap_Authorize,,Geography_Choose; Geography_Exclude; Geography_Get; Geography_Retry; Geography_SubmitHierarchy; Geography_SubmitLocations; MapReferenceImage_Create; MapReferenceImage_DeleteUnused; MapReferenceImage_Find; MapReferenceImage_Get; MapReferenceImage_List; MapReferenceImage_Owner; StoryMap_Backup; StoryMap_Create; StoryMap_Delete; StoryMap_Get; StoryMap_JourneySave; StoryMap_List; StoryMap_Save; StoryMap_Story,951,586.856,17320,
|
||||
dbo.StoryMap_Backup,PlotLine/Data/ProjectBackupRepository.cs:87 ProjectBackupRepository.GetProjectBackupAsync,,37,57.593,1904,SELECT *
|
||||
dbo.StoryMap_Create,PlotLine/Data/MapRepository.cs:26 MapRepository.CreateAsync,,22,81.279,732,
|
||||
dbo.StoryMap_Delete,PlotLine/Data/MapRepository.cs:69 MapRepository.DeleteAsync,,3,9.68,187,
|
||||
dbo.StoryMap_Get,PlotLine/Data/MapRepository.cs:17 MapRepository.GetAsync,,216,326.874,8106,
|
||||
dbo.StoryMap_JourneySave,PlotLine/Data/MapStoryRepository.cs:30 MapStoryRepository.SaveJourneyAsync,,,0.0,,
|
||||
dbo.StoryMap_List,PlotLine/Data/MapRepository.cs:12 MapRepository.ListAsync,,158,168.374,3959,
|
||||
dbo.StoryMap_Save,PlotLine/Data/MapRepository.cs:33 MapRepository.SaveAsync,,127,1081.438,56885,cursor; JSON; SELECT *
|
||||
dbo.StoryMap_Story,PlotLine/Data/MapStoryRepository.cs:16 MapStoryRepository.GetAsync,,2,42.485,22726,SELECT *
|
||||
dbo.StoryPoint_GetHistory,PlotLine/Data/StoryPointRepository.cs:27 StoryPointRepository.GetHistoryAsync,,9,161.15,14658,
|
||||
dbo.StripeWebhookEvent_Complete,PlotLine/Data/SubscriptionRepository.cs:157 SubscriptionRepository.CompleteStripeWebhookEventAsync,,,0.0,,
|
||||
dbo.StripeWebhookEvent_TryBegin,PlotLine/Data/SubscriptionRepository.cs:148 SubscriptionRepository.TryBeginStripeWebhookEventAsync,,,0.0,,
|
||||
dbo.SubscriptionAdmin_ExtendTrial,,,,0.0,,
|
||||
dbo.SubscriptionAdmin_RevokeOverride,PlotLine/Data/SubscriptionRepository.cs:247 SubscriptionRepository.RevokeOverrideAsync,,,0.0,,SELECT *
|
||||
dbo.SubscriptionAdmin_SaveOverride,PlotLine/Data/SubscriptionRepository.cs:239 SubscriptionRepository.SaveOverrideAsync,,,0.0,,SELECT *
|
||||
dbo.SubscriptionAdmin_SearchUsers,PlotLine/Data/SubscriptionRepository.cs:229 SubscriptionRepository.SearchUsersAsync,,,0.0,,
|
||||
dbo.SubscriptionEntitlement_ReleaseBookSlots,PlotLine/Data/SubscriptionRepository.cs:220 SubscriptionRepository.ReleaseBookSlotReservationAsync,ProjectRestore_ApplyFromJson,21,48.314,124,
|
||||
dbo.SubscriptionEntitlement_TryReserveBookSlots,PlotLine/Data/SubscriptionRepository.cs:211 SubscriptionRepository.TryReserveBookSlotsAsync,ProjectRestore_ApplyFromJson,21,84.786,496,
|
||||
dbo.SubscriptionLevel_Get,PlotLine/Data/SubscriptionRepository.cs:58 SubscriptionRepository.GetSubscriptionLevelAsync,,52214,3370.54,104428,
|
||||
dbo.SubscriptionLevel_GetByStripePrice,PlotLine/Data/SubscriptionRepository.cs:130 SubscriptionRepository.GetSubscriptionLevelByStripePriceAsync,,,0.0,,
|
||||
dbo.SubscriptionLevel_ListActive,PlotLine/Data/SubscriptionRepository.cs:67 SubscriptionRepository.GetActiveSubscriptionLevelsAsync,,5,2.098,10,
|
||||
dbo.SubscriptionOverride_GetActive,PlotLine/Data/SubscriptionRepository.cs:202 SubscriptionRepository.GetActiveOverrideAsync,,59640,8498.3,223708,
|
||||
dbo.SubscriptionUsage_BookCountForOwner,PlotLine/Data/SubscriptionRepository.cs:76 SubscriptionRepository.GetOwnedBookCountAsync,,5,3.216,46,
|
||||
dbo.SubscriptionUsage_ChapterCountForBook,PlotLine/Data/SubscriptionRepository.cs:85 SubscriptionRepository.GetChapterCountForBookAsync,,2,0.681,4,
|
||||
dbo.SubscriptionUsage_CharacterCountForProject,PlotLine/Data/SubscriptionRepository.cs:103 SubscriptionRepository.GetCharacterCountForProjectAsync,,,0.0,,
|
||||
dbo.SubscriptionUsage_CollaboratorCountForOwner,PlotLine/Data/SubscriptionRepository.cs:112 SubscriptionRepository.GetCollaboratorCountForOwnerAsync,,,0.0,,
|
||||
dbo.SubscriptionUsage_GetSummaryForOwner,PlotLine/Data/SubscriptionRepository.cs:121 SubscriptionRepository.GetUsageSummaryForOwnerAsync,,7,8.53,464,
|
||||
dbo.SubscriptionUsage_SceneCountForBook,PlotLine/Data/SubscriptionRepository.cs:94 SubscriptionRepository.GetSceneCountForBookAsync,,,0.0,,
|
||||
dbo.ThreadEvent_Delete,PlotLine/Data/Repositories.cs:3271 PlotRepository.DeleteThreadEventAsync,,,0.0,,
|
||||
dbo.ThreadEvent_ListByPlotThread,PlotLine/Data/Repositories.cs:3203 PlotRepository.ListThreadEventsByPlotThreadAsync,,,0.0,,
|
||||
dbo.ThreadEvent_ListByScene,PlotLine/Data/Repositories.cs:3195 PlotRepository.ListThreadEventsBySceneAsync,,605,114.238,3113,
|
||||
dbo.ThreadEvent_Save,PlotLine/Data/ImportRepository.cs:449 ImportRepository.ImportAsync; PlotLine/Data/Repositories.cs:3242 PlotRepository.SaveThreadEventAsync; PlotLine/Services/StoryIntelligenceNarrativeReviewService.cs:535 StoryIntelligenceNarrativeReviewService.SaveThreadEventAsync,,40,17.913,985,
|
||||
dbo.ThreadEventTarget_ListByEvents,PlotLine/Data/Repositories.cs:2861 TimelineRepository.PopulateThreadEventTargetsAsync; PlotLine/Data/Repositories.cs:3216 PlotRepository.PopulateThreadEventTargetsAsync,,82,8.474,154,
|
||||
dbo.ThreadEventTarget_SaveForEvent,PlotLine/Data/Repositories.cs:3262 PlotRepository.SaveThreadEventTargetsAsync,,1,0.387,0,
|
||||
dbo.Timeline_GetByProject,PlotLine/Data/Repositories.cs:2816 TimelineRepository.GetByProjectAsync,,465,20997.574,9487378,
|
||||
dbo.Timeline_SceneOverviews,PlotLine/Data/Repositories.cs:2887 TimelineRepository.GetSceneOverviewsAsync,,45,291.851,180018,
|
||||
dbo.TimelineViewPreset_Archive,PlotLine/Data/Repositories.cs:3079 TimelinePresetRepository.ArchiveAsync,,,0.0,,
|
||||
dbo.TimelineViewPreset_Get,PlotLine/Data/Repositories.cs:3051 TimelinePresetRepository.GetAsync,,,0.0,,
|
||||
dbo.TimelineViewPreset_List,PlotLine/Data/Repositories.cs:3041 TimelinePresetRepository.ListAsync,,45,7.021,82,
|
||||
dbo.TimelineViewPreset_Save,PlotLine/Data/Repositories.cs:3060 TimelinePresetRepository.SaveAsync,,,0.0,,
|
||||
dbo.UpdateScheduleItem,PlotLine/Data/Repositories.cs:1472 WritingScheduleRepository.UpdateScheduleItemAsync,,,0.0,,
|
||||
dbo.UpdateScheduleItemStatus,PlotLine/Data/Repositories.cs:1499 WritingScheduleRepository.UpdateScheduleItemStatusAsync,,,0.0,,
|
||||
dbo.UpdateWritingPlan,PlotLine/Data/Repositories.cs:1399 WritingScheduleRepository.UpdateWritingPlanAsync,,10,24.158,74,
|
||||
dbo.User_ChangePassword,PlotLine/Data/AuthRepositories.cs:107 UserRepository.ChangePasswordAsync,,,0.0,,
|
||||
dbo.User_ConfirmEmail,PlotLine/Data/AuthRepositories.cs:89 UserRepository.ConfirmEmailAsync,,36,579.963,216,
|
||||
dbo.User_Create,PlotLine/Data/AuthRepositories.cs:62 UserRepository.CreateAsync,,57,496.577,1300,
|
||||
dbo.User_CreateEmailVerificationToken,PlotLine/Data/AuthRepositories.cs:156 AuthenticationRepository.CreateEmailVerificationTokenAsync,,36,413.814,432,
|
||||
dbo.User_CreatePasswordResetToken,PlotLine/Data/AuthRepositories.cs:174 AuthenticationRepository.CreatePasswordResetTokenAsync,,,0.0,,
|
||||
dbo.User_DisableTwoFactor,PlotLine/Data/AuthRepositories.cs:125 UserRepository.DisableTwoFactorAsync,,,0.0,,
|
||||
dbo.User_EnableTwoFactor,PlotLine/Data/AuthRepositories.cs:116 UserRepository.EnableTwoFactorAsync,,,0.0,,
|
||||
dbo.User_GetByEmail,PlotLine/Data/AuthRepositories.cs:44 UserRepository.GetByEmailAsync,,410,61.506,1572,
|
||||
dbo.User_GetById,PlotLine/Data/AuthRepositories.cs:53 UserRepository.GetByIdAsync,User_ChangePassword; User_Create; User_DisableTwoFactor; User_EnableTwoFactor; User_UpdateFailedLogin; User_UpdateLoginSuccess; UserTwoFactor_Disable; UserTwoFactor_Enable,112286,11645.988,224612,
|
||||
dbo.User_GetEmailVerificationToken,PlotLine/Data/AuthRepositories.cs:165 AuthenticationRepository.GetEmailVerificationTokenAsync,,,0.0,,
|
||||
dbo.User_GetPasswordResetToken,PlotLine/Data/AuthRepositories.cs:183 AuthenticationRepository.GetPasswordResetTokenAsync,,,0.0,,
|
||||
dbo.User_GetTwoFactor,,,,0.0,,
|
||||
dbo.User_InsertLoginAudit,PlotLine/Data/AuthRepositories.cs:255 AuthenticationRepository.InsertLoginAuditAsync,,303,761.345,2694,
|
||||
dbo.User_ResetPassword,PlotLine/Data/AuthRepositories.cs:98 UserRepository.ResetPasswordAsync,,,0.0,,
|
||||
dbo.User_SaveTwoFactor,,,,0.0,,
|
||||
dbo.User_UpdateFailedLogin,PlotLine/Data/AuthRepositories.cs:80 UserRepository.UpdateFailedLoginAsync,,2,4.484,8,
|
||||
dbo.User_UpdateLoginSuccess,PlotLine/Data/AuthRepositories.cs:71 UserRepository.UpdateLoginSuccessAsync,,298,821.96,1218,
|
||||
dbo.UserAppearance_Get,PlotLine/Data/AppearanceRepository.cs:18 AppearanceRepository.GetAsync,,6845,444.279,13690,
|
||||
dbo.UserAppearance_SaveApplicationBar,PlotLine/Data/AppearanceRepository.cs:33 AppearanceRepository.SaveApplicationBarAsync,,,0.0,,
|
||||
dbo.UserAppearance_SaveRibbon,PlotLine/Data/AppearanceRepository.cs:28 AppearanceRepository.SaveRibbonAsync,,131,285.219,262,
|
||||
dbo.UserAppearance_SaveTheme,PlotLine/Data/AppearanceRepository.cs:23 AppearanceRepository.SaveThemeAsync,,91,295.357,182,
|
||||
dbo.UserFile_Create,PlotLine/Data/UserFileRepository.cs:19 UserFileRepository.CreateAsync,,6,2.724,78,
|
||||
dbo.UserFile_GetStorageUsageForOwner,PlotLine/Data/UserFileRepository.cs:48 UserFileRepository.GetStorageUsageForOwnerAsync,,247,12.462,494,
|
||||
dbo.UserFile_MarkDeletedByStoragePath,PlotLine/Data/UserFileRepository.cs:39 UserFileRepository.MarkDeletedByStoragePathAsync,,,0.0,,
|
||||
dbo.UserHardDelete_ForAccountDeletion,PlotLine/Data/AuthRepositories.cs:144 UserRepository.HardDeleteAccountDataAsync,,59,463.274,161144,
|
||||
dbo.UserHardDelete_ListFilePaths,PlotLine/Data/AuthRepositories.cs:134 UserRepository.ListHardDeleteFilePathsAsync,,42,10.869,534,
|
||||
dbo.UserOnboarding_CompleteCoreImport,PlotLine/Data/OnboardingRepository.cs:119 OnboardingRepository.CompleteCoreImportAsync,,2,4.918,39,
|
||||
dbo.UserOnboarding_Get,PlotLine/Data/OnboardingRepository.cs:27 OnboardingRepository.GetAsync; PlotLine/Data/OnboardingRepository.cs:83 OnboardingRepository.ClearWritingSoftwareAsync,UserOnboarding_CompleteCoreImport; UserOnboarding_GetOrCreate; UserOnboarding_MarkCompleted; UserOnboarding_SaveBook; UserOnboarding_SaveProject; UserOnboarding_SaveWritingJourney; UserOnboarding_SaveWritingSoftware; UserOnboarding_SetCurrentStep,21146,1371.068,55416,
|
||||
dbo.UserOnboarding_GetOrCreate,PlotLine/Data/OnboardingRepository.cs:36 OnboardingRepository.GetOrCreateAsync,,167,67.149,1066,
|
||||
dbo.UserOnboarding_MarkCompleted,PlotLine/Data/OnboardingRepository.cs:110 OnboardingRepository.MarkCompletedAsync,,2,5.105,20,
|
||||
dbo.UserOnboarding_SaveBook,PlotLine/Data/OnboardingRepository.cs:101 OnboardingRepository.SaveBookAsync,,16,45.598,192,
|
||||
dbo.UserOnboarding_SaveProject,PlotLine/Data/OnboardingRepository.cs:92 OnboardingRepository.SaveProjectAsync,,16,45.785,206,
|
||||
dbo.UserOnboarding_SaveWritingJourney,PlotLine/Data/OnboardingRepository.cs:54 OnboardingRepository.SaveWritingJourneyAsync,,25,97.196,250,
|
||||
dbo.UserOnboarding_SaveWritingSoftware,PlotLine/Data/OnboardingRepository.cs:63 OnboardingRepository.SaveWritingSoftwareAsync,,17,63.229,170,
|
||||
dbo.UserOnboarding_SetCurrentStep,PlotLine/Data/OnboardingRepository.cs:45 OnboardingRepository.SetCurrentStepAsync,,10,24.612,100,
|
||||
dbo.UserOnboarding_ShouldShowWordCompanionHeader,PlotLine/Data/OnboardingRepository.cs:128 OnboardingRepository.ShouldShowWordCompanionHeaderAsync,,,0.0,,
|
||||
dbo.UserSubscription_ApplyStripeState,PlotLine/Data/SubscriptionRepository.cs:166 SubscriptionRepository.ApplyStripeStateAsync,,,0.0,,
|
||||
dbo.UserSubscription_AssignDefaultDraftDesk,,,,0.0,,
|
||||
dbo.UserSubscription_ClearPaymentFailure,PlotLine/Data/SubscriptionRepository.cs:193 SubscriptionRepository.ClearPaymentFailureAsync,,,0.0,,
|
||||
dbo.UserSubscription_DowngradeToDraftDesk,PlotLine/Data/SubscriptionRepository.cs:175 SubscriptionRepository.DowngradeToDraftDeskAsync,,,0.0,,
|
||||
dbo.UserSubscription_GetCurrent,PlotLine/Data/SubscriptionRepository.cs:40 SubscriptionRepository.GetCurrentSubscriptionAsync,,82,14.238,328,
|
||||
dbo.UserSubscription_GetForEntitlement,PlotLine/Data/SubscriptionRepository.cs:49 SubscriptionRepository.GetSubscriptionForEntitlementAsync,,59640,10178.772,238560,
|
||||
dbo.UserSubscription_RecordPaymentFailure,PlotLine/Data/SubscriptionRepository.cs:184 SubscriptionRepository.RecordPaymentFailureAsync,,,0.0,,
|
||||
dbo.UserSubscription_SetStripeCustomer,PlotLine/Data/SubscriptionRepository.cs:139 SubscriptionRepository.SetStripeCustomerAsync,,,0.0,,
|
||||
dbo.UserToolbar_Get,PlotLine/Data/ToolbarPreferenceRepository.cs:17 ToolbarPreferenceRepository.GetAsync,,6676,426.299,13352,
|
||||
dbo.UserToolbar_Save,PlotLine/Data/ToolbarPreferenceRepository.cs:22 ToolbarPreferenceRepository.SaveAsync,,,0.0,,
|
||||
dbo.UserTwoFactor_Disable,PlotLine/Data/AuthRepositories.cs:219 AuthenticationRepository.DisableTwoFactorAsync,,,0.0,,
|
||||
dbo.UserTwoFactor_Enable,PlotLine/Data/AuthRepositories.cs:210 AuthenticationRepository.EnableTwoFactorAsync,,,0.0,,
|
||||
dbo.UserTwoFactor_Get,PlotLine/Data/AuthRepositories.cs:192 AuthenticationRepository.GetTwoFactorAsync,User_GetTwoFactor; UserTwoFactor_Save; UserTwoFactor_SaveRecoveryCodes,,0.0,,
|
||||
dbo.UserTwoFactor_GetRecoveryCodes,PlotLine/Data/AuthRepositories.cs:237 AuthenticationRepository.GetRecoveryCodesAsync,,,0.0,,
|
||||
dbo.UserTwoFactor_Save,PlotLine/Data/AuthRepositories.cs:201 AuthenticationRepository.SaveTwoFactorAsync,User_SaveTwoFactor,,0.0,,
|
||||
dbo.UserTwoFactor_SaveRecoveryCodes,PlotLine/Data/AuthRepositories.cs:228 AuthenticationRepository.SaveRecoveryCodesAsync,,,0.0,,
|
||||
dbo.UserTwoFactor_UpdateLastUsedTimeStep,PlotLine/Data/AuthRepositories.cs:246 AuthenticationRepository.UpdateLastUsedTimeStepAsync,,,0.0,,
|
||||
dbo.ValidationRun_Complete,,ContinuityValidation_ValidateProject,,0.0,,
|
||||
dbo.ValidationRun_Create,,ContinuityValidation_ValidateProject,,0.0,,
|
||||
dbo.WarningLookup_All,PlotLine/Data/Repositories.cs:928 WarningRepository.GetLookupsAsync,,46,20.533,230,
|
||||
dbo.WholeBookPlotSynthesis_ContextGet,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:247 WholeBookPlotIntelligenceRepository.BuildContextAsync,,1,20.409,1202,
|
||||
dbo.WholeBookPlotSynthesisCandidate_Save,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:123 WholeBookPlotIntelligenceRepository.CompleteAsync; PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:154 WholeBookPlotIntelligenceRepository.CompleteAsync,,16,2.87,321,
|
||||
dbo.WholeBookPlotSynthesisCandidateEvent_Save,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:184 WholeBookPlotIntelligenceRepository.CompleteAsync,,39,4.298,518,
|
||||
dbo.WholeBookPlotSynthesisRun_ClaimNext,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:82 WholeBookPlotIntelligenceRepository.ClaimNextAsync,,1436502,359069.784,2872945,SELECT *
|
||||
dbo.WholeBookPlotSynthesisRun_Complete,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:104 WholeBookPlotIntelligenceRepository.CompleteAsync,,1,0.563,32,
|
||||
dbo.WholeBookPlotSynthesisRun_Fail,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:232 WholeBookPlotIntelligenceRepository.FailAsync,,,0.0,,
|
||||
dbo.WholeBookPlotSynthesisRun_GetCurrentByBook,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:91 WholeBookPlotIntelligenceRepository.GetCurrentAsync,,2,0.77,4,
|
||||
dbo.WholeBookPlotSynthesisRun_Queue,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:57 WholeBookPlotIntelligenceRepository.QueueAsync,,1,1.317,20,SELECT *
|
||||
dbo.WholeBookPlotSynthesisRun_Retry,PlotLine/Data/WholeBookPlotIntelligenceRepository.cs:73 WholeBookPlotIntelligenceRepository.RetryAsync,,,0.0,,SELECT *
|
||||
dbo.WordCompanion_Book_Create,PlotLine/Data/WordCompanionRepository.cs:61 WordCompanionRepository.CreateBookAsync,,,0.0,,
|
||||
dbo.WordCompanion_Book_ListByProject,PlotLine/Data/WordCompanionRepository.cs:51 WordCompanionRepository.ListBooksAsync,,2339,589.719,15732,
|
||||
dbo.WordCompanion_Book_Structure,PlotLine/Data/WordCompanionRepository.cs:70 WordCompanionRepository.GetBookStructureAsync,,23778,82766.783,26796857,
|
||||
dbo.WordCompanion_Chapter_Create,PlotLine/Data/WordCompanionRepository.cs:156 WordCompanionRepository.CreateChapterAsync,,,0.0,,
|
||||
dbo.WordCompanion_Chapter_List,PlotLine/Data/WordCompanionRepository.cs:104 WordCompanionRepository.ListChaptersAsync,,,0.0,,
|
||||
dbo.WordCompanion_Character_CreateDiscovered,PlotLine/Data/WordCompanionRepository.cs:441 WordCompanionRepository.CreateDiscoveredCharactersAsync,,,0.0,,JSON
|
||||
dbo.WordCompanion_Manuscript_Analyse,PlotLine/Data/WordCompanionRepository.cs:358 WordCompanionRepository.AnalyseManuscriptAsync,,,0.0,,
|
||||
dbo.WordCompanion_Manuscript_Import,PlotLine/Data/WordCompanionRepository.cs:389 WordCompanionRepository.ImportManuscriptAsync,,,0.0,,cursor; JSON
|
||||
dbo.WordCompanion_Manuscript_Sync,PlotLine/Data/WordCompanionRepository.cs:208 WordCompanionRepository.SyncManuscriptAsync,,,0.0,,cursor; JSON
|
||||
dbo.WordCompanion_Project_HasAccess,PlotLine/Data/WordCompanionRepository.cs:428 WordCompanionRepository.HasProjectAccessAsync,,,0.0,,
|
||||
dbo.WordCompanion_Project_List,PlotLine/Data/WordCompanionRepository.cs:41 WordCompanionRepository.ListProjectsAsync,,2353,528.018,44312,
|
||||
dbo.WordCompanion_Runtime_AssetAlias_List,PlotLine/Data/WordCompanionRepository.cs:308 WordCompanionRepository.ListRuntimeAssetAliasesAsync,,,0.0,,
|
||||
dbo.WordCompanion_Runtime_AssetSuggestions_Create,PlotLine/Data/WordCompanionRepository.cs:318 WordCompanionRepository.CreateRuntimeAssetSuggestionsAsync,,,0.0,,
|
||||
dbo.WordCompanion_Runtime_CharacterAlias_List,PlotLine/Data/WordCompanionRepository.cs:283 WordCompanionRepository.ListRuntimeCharacterAliasesAsync,,,0.0,,
|
||||
dbo.WordCompanion_Runtime_CharacterSuggestions_Create,PlotLine/Data/WordCompanionRepository.cs:293 WordCompanionRepository.CreateRuntimeCharacterSuggestionsAsync,,,0.0,,
|
||||
dbo.WordCompanion_Runtime_CurrentScene_Validate,PlotLine/Data/WordCompanionRepository.cs:266 WordCompanionRepository.ValidateRuntimeCurrentSceneAsync,,,0.0,,
|
||||
dbo.WordCompanion_Runtime_LocationAlias_List,PlotLine/Data/WordCompanionRepository.cs:333 WordCompanionRepository.ListRuntimeLocationAliasesAsync,,,0.0,,
|
||||
dbo.WordCompanion_Runtime_LocationSuggestions_Create,PlotLine/Data/WordCompanionRepository.cs:343 WordCompanionRepository.CreateRuntimeLocationSuggestionsAsync,,,0.0,,
|
||||
dbo.WordCompanion_Runtime_SceneWordCount_Update,PlotLine/Data/WordCompanionRepository.cs:249 WordCompanionRepository.UpdateRuntimeSceneWordCountAsync,,,0.0,,
|
||||
dbo.WordCompanion_Scene_Companion,PlotLine/Data/WordCompanionRepository.cs:124 WordCompanionRepository.GetSceneCompanionAsync,,,0.0,,
|
||||
dbo.WordCompanion_Scene_Create,PlotLine/Data/WordCompanionRepository.cs:165 WordCompanionRepository.CreateSceneAsync,,,0.0,,
|
||||
dbo.WordCompanion_Scene_Resolve,PlotLine/Data/WordCompanionRepository.cs:114 WordCompanionRepository.ResolveSceneAsync,,,0.0,,
|
||||
dbo.WordCompanion_Scene_Sync,PlotLine/Data/WordCompanionRepository.cs:174 WordCompanionRepository.SyncSceneAsync,WordCompanion_Manuscript_Sync,,0.0,,
|
||||
dbo.WordCompanion_Scene_UpdateWordCount,PlotLine/Data/WordCompanionRepository.cs:240 WordCompanionRepository.UpdateWordCountAsync,,,0.0,,
|
||||
dbo.WordCompanion_SceneLinks_Update,PlotLine/Data/WordCompanionRepository.cs:223 WordCompanionRepository.UpdateSceneLinksAsync,,,0.0,,
|
||||
dbo.WriterActivities_Manage,PlotLine/Data/WriterActivityRepository.cs:7 WriterActivityRepository.Read; PlotLine/Data/WriterActivityRepository.cs:8 WriterActivityRepository.Entities; PlotLine/Data/WriterActivityRepository.cs:9 WriterActivityRepository.Execute,,283,473.05,27303,SELECT *
|
||||
dbo.WriterAuthoring_Save,PlotLine/Services/Writer/WriterAuthoringService.cs:27 WriterAuthoringService.Save,,67,396.52,8731,JSON
|
||||
dbo.WriterAuthoring_Sections,PlotLine/Services/Writer/WriterAuthoringService.cs:17 WriterAuthoringService.Read,WriterAuthoring_Save,786,1333.067,34842,SELECT *
|
||||
dbo.WriterBook_Reminders,PlotLine/Data/WritingActivityRepository.cs:20 WritingActivityRepository.Reminders,,3227,1090.602,102947,
|
||||
dbo.WriterDashboard_Reminders,PlotLine/Data/Repositories.cs:1353 WriterWorkspaceRepository.GetWriterDashboardRemindersAsync,,3358,1403.362,217324,
|
||||
dbo.WriterDashboard_Scenes,PlotLine/Data/Repositories.cs:1346 WriterWorkspaceRepository.GetWriterDashboardScenesAsync,,12455,32628.504,8191286,
|
||||
dbo.WriterInvestigation,PlotLine/Data/InvestigationRepository.cs:13 InvestigationRepository.List; PlotLine/Data/InvestigationRepository.cs:14 InvestigationRepository.Read; PlotLine/Data/InvestigationRepository.cs:15 InvestigationRepository.Save; PlotLine/Data/InvestigationRepository.cs:16 InvestigationRepository.Replay,,4525,5598.231,116580,
|
||||
dbo.WriterInvestigationCatalogue,PlotLine/Data/InvestigationRepository.cs:11 InvestigationRepository.Catalogue; PlotLine/Data/InvestigationRepository.cs:12 InvestigationRepository.Publish,,1884,3612.825,173684,
|
||||
dbo.WriterInvestigationGuidanceState,PlotLine/Data/InvestigationGuidanceRepository.cs:19 InvestigationGuidanceRepository.Read; PlotLine/Data/InvestigationGuidanceRepository.cs:21 InvestigationGuidanceRepository.Save,,1263,2529.078,178228,JSON
|
||||
dbo.WriterInvestigationSavedSummaries,PlotLine/Data/InvestigationGuidanceRepository.cs:20 InvestigationGuidanceRepository.List,,186,383.51,33678,
|
||||
dbo.WriterObjective,PlotLine/Data/WriterObjectiveRepository.cs:10 WriterObjectiveRepository.Read; PlotLine/Data/WriterObjectiveRepository.cs:16 WriterObjectiveRepository.Save,,662,425.387,20963,
|
||||
dbo.WriterPlanning,PlotLine/Data/WriterPlanningRepository.cs:11 WriterPlanningRepository.Context; PlotLine/Data/WriterPlanningRepository.cs:13 WriterPlanningRepository.Save; PlotLine/Data/WriterPlanningRepository.cs:15 WriterPlanningRepository.Complete; PlotLine/Data/WriterPlanningRepository.cs:9 WriterPlanningRepository.Read,,122,388.202,3694,JSON
|
||||
dbo.WriterPlanningUpcoming,PlotLine/Data/WriterPlanningRepository.cs:17 WriterPlanningRepository.Upcoming,,3128,635.206,27872,
|
||||
dbo.WriterReview_Observations,PlotLine/Services/Writer/WriterReviewService.cs:57 WriterReviewService.Read; PlotLine/Services/Writer/WriterReviewService.cs:70 WriterReviewService.Save,,171,108.624,3802,SELECT *
|
||||
dbo.WriterReview_ParagraphStart,PlotLine/Services/Writer/WriterWordService.cs:31 WriterWordService.Navigate,,3,5.432,189,JSON
|
||||
dbo.WriterWord_Status,PlotLine/Services/Writer/WriterWordService.cs:16 WriterWordService.Metadata,,2197,874.823,28804,JSON
|
||||
dbo.WriterWork,PlotLine/Data/WriterWorkRepository.cs:10 WriterWorkRepository.Read; PlotLine/Data/WriterWorkRepository.cs:13 WriterWorkRepository.State; PlotLine/Data/WriterWorkRepository.cs:27 WriterWorkRepository.Execute; PlotLine/Data/WriterWorkRepository.cs:32 WriterWorkRepository.Media; PlotLine/Data/WriterWorkRepository.cs:45 WriterWorkRepository.Media,,28770,23103.346,796327,JSON; SELECT *
|
||||
dbo.WriterWork_Prune,PlotLine/Services/WritingActivity/WritingActivityRetention.cs:28 WritingActivityRetention.ExecuteAsync,,32,7.994,1068,
|
||||
dbo.WriterWorkCalendar,PlotLine/Data/WriterWorkRepository.cs:25 WriterWorkRepository.Calendar,,3128,1278.185,97862,
|
||||
dbo.WriterWorkEvidence,PlotLine/Data/WriterWorkRepository.cs:20 WriterWorkRepository.History,,176,161.69,17834,JSON
|
||||
dbo.WritingActivity,PlotLine/Data/ParagraphManuscriptRepository.cs:29 ParagraphManuscriptRepository.SaveCore; PlotLine/Data/ParagraphManuscriptRepository.cs:36 ParagraphManuscriptRepository.SaveCore; PlotLine/Data/WritingActivityRepository.cs:13 WritingActivityRepository.Read; PlotLine/Data/WritingActivityRepository.cs:24 WritingActivityRepository.Baseline; PlotLine/Data/WritingActivityRepository.cs:27 WritingActivityRepository.Baseline; PlotLine/Data/WritingActivityRepository.cs:33 WritingActivityRepository.Configure; PlotLine/Data/WritingActivityRepository.cs:35 WritingActivityRepository.Erase; PlotLine/Data/WritingActivityRepository.cs:39 WritingActivityRepository.Observe,,3296,1861.43,72515,
|
||||
dbo.WritingActivity_BaselineTargets,PlotLine/Data/WritingActivityRepository.cs:31 WritingActivityRepository.BaselineTargets,,42,24.436,1694,
|
||||
dbo.WritingActivity_List,PlotLine/Data/WritingActivityRepository.cs:14 WritingActivityRepository.Read,,3247,602.278,29666,
|
||||
dbo.WritingActivity_Prune,PlotLine/Services/WritingActivity/WritingActivityRetention.cs:28 WritingActivityRetention.ExecuteAsync,,36,6.57,698,
|
||||
dbo.WritingActivity_Summary,PlotLine/Data/WritingActivityRepository.cs:15 WritingActivityRepository.Read,,3247,1103.885,35560,
|
||||
dbo.WritingIntentAssessment,PlotLine/Data/IntentAssessmentRepository.cs:13 IntentAssessmentRepository.Read; PlotLine/Data/IntentAssessmentRepository.cs:14 IntentAssessmentRepository.Save; PlotLine/Data/IntentAssessmentRepository.cs:15 IntentAssessmentRepository.Decide,,7,6.97,84,JSON
|
||||
dbo.WritingPlan_ListForManagement,PlotLine/Data/Repositories.cs:1508 WritingScheduleRepository.GetWritingPlansForManagementAsync,,48,25.436,1467,
|
||||
dbo.WritingPlanSummary_ListByUser,PlotLine/Data/Repositories.cs:1571 WritingScheduleRepository.GetWritingPlanSummariesByUserAsync,,3524,486.335,11210,
|
||||
dbo.WritingPlanSummary_ListRequiringRebalance,PlotLine/Data/Repositories.cs:1625 WritingScheduleRepository.GetPlansRequiringRebalanceAsync,,3389,353.396,6764,
|
||||
dbo.WritingScheduleDashboard_ListActive,PlotLine/Data/Repositories.cs:1600 WritingScheduleRepository.GetActiveScheduleDashboardItemsAsync,,3262,250.21,6524,
|
||||
dbo.WritingScheduleItem_DeleteByPlan,PlotLine/Data/Repositories.cs:1533 WritingScheduleRepository.ReplaceScheduleItemsAsync; PlotLine/Data/Repositories.cs:1591 WritingScheduleRepository.DeleteScheduleItemsByPlanAsync,,15,1.851,30,
|
||||
dbo.WritingScheduleItem_UpdatePlannedDate,PlotLine/Data/Repositories.cs:1647 WritingScheduleRepository.UpdatePlannedScheduleItemDatesAsync,,,0.0,,
|
||||
dbo.WritingScheduleItem_UpdatePlannedStatusForUser,PlotLine/Data/Repositories.cs:1610 WritingScheduleRepository.UpdatePlannedScheduleItemStatusForUserAsync,,,0.0,,
|
||||
dbo.WritingSchedulePreview_ListByPlan,PlotLine/Data/Repositories.cs:1581 WritingScheduleRepository.GetSchedulePreviewItemsAsync,,53,8.343,106,
|
||||
dbo.WritingScheduleScene_ListForPlanning,PlotLine/Data/Repositories.cs:1518 WritingScheduleRepository.GetSchedulingScenesAsync,,12,13.49,2844,
|
||||
dbo.WritingSolver_Get,PlotLine/Data/WritingSolverRepository.cs:35 WritingSolverRepository.GetAsync,,226,2798.437,157974,
|
||||
dbo.WritingSolver_Publish,PlotLine/Data/WritingSolverRepository.cs:48 WritingSolverRepository.PublishAsync,,,0.0,,
|
||||
|
29385
Docs/Database/SQL-Performance-Audit-20261118/query-store-baseline.json
Normal file
43314
Docs/Database/SQL-Performance-Audit-20261118/schema-inventory.json
Normal file
200
Docs/Database/SQL-Performance-Audit-20261118/tables.csv
Normal file
@ -0,0 +1,200 @@
|
||||
table,rows,reserved_kb,indexes,foreign_keys,large_columns
|
||||
dbo.AppUser,1,144,2,0,PasswordHash; ToolbarCommandKeysJson
|
||||
dbo.AssetAliases,0,216,3,1,
|
||||
dbo.AssetCustodyEventCharacters,0,72,1,2,
|
||||
dbo.AssetCustodyEvents,0,144,2,3,Description
|
||||
dbo.AssetCustodyEventTypes,12,144,2,0,
|
||||
dbo.AssetDependencies,0,144,2,5,Description
|
||||
dbo.AssetDependencyTypes,8,144,2,0,
|
||||
dbo.AssetEvents,0,288,4,5,EventDescription
|
||||
dbo.AssetEventTypes,18,144,2,0,
|
||||
dbo.AssetKinds,16,144,2,0,
|
||||
dbo.AssetStates,0,144,2,2,Description
|
||||
dbo.AuthorPlotSeeds,0,144,2,3,Description
|
||||
dbo.BookChapterValidations,419,24144,1,1,Positions
|
||||
dbo.BookParagraphManuscripts,14,234256,1,1,Payload
|
||||
dbo.BookParagraphPositions,118399,5768,1,1,
|
||||
dbo.BookRecoveryExternalReferences,0,72,1,1,ReferencesJson
|
||||
dbo.BookRecoveryMappings,0,72,1,1,
|
||||
dbo.BookRecoveryOperations,0,72,1,1,
|
||||
dbo.BookRecoveryOrigins,1,72,1,1,
|
||||
dbo.Books,14,216,3,1,Description; ShortDescription
|
||||
dbo.ChapterGoals,13,144,2,1,GoalSummary; EmotionalGoal; ReaderTakeaway; MustInclude; RisksOrConcerns
|
||||
dbo.ChapterPurposeTypes,11,144,2,0,
|
||||
dbo.Chapters,626,352,4,4,Summary
|
||||
dbo.CharacterAliases,103,216,3,1,
|
||||
dbo.CharacterAttributeEvents,0,72,1,3,Description
|
||||
dbo.CharacterAttributeTypes,0,144,2,1,
|
||||
dbo.CharacterEnrichmentEvidence,68,144,2,3,Value
|
||||
dbo.CharacterEnrichmentRuns,1,360,5,5,ErrorMessage; ErrorDetail
|
||||
dbo.CharacterImages,0,144,2,2,
|
||||
dbo.CharacterIntelligenceEvidenceEvents,2593,1552,2,2,
|
||||
dbo.CharacterIntelligenceProfiles,213,2336,3,2,ProfileJson
|
||||
dbo.CharacterKnowledge,275,408,3,5,Description
|
||||
dbo.CharacterRelationships,154,72,1,8,Notes
|
||||
dbo.CharacterRoleInSceneTypes,8,144,2,0,
|
||||
dbo.Characters,70,280,3,3,DefaultDescription
|
||||
dbo.CharacterSexValues,3,144,3,1,
|
||||
dbo.ContinuityWarningAcknowledgements,0,144,2,5,
|
||||
dbo.ContinuityWarnings,370,936,5,7,Details
|
||||
dbo.CoreImportBasicLocationCandidates,33,216,3,5,KnownNamesJson
|
||||
dbo.CoreImportBasicLocationEvidence,71,144,2,1,
|
||||
dbo.CoreImportBasicLocationReviews,1,144,2,1,
|
||||
dbo.CustodyRoles,10,144,2,0,
|
||||
dbo.DurationUnits,7,144,2,0,
|
||||
dbo.EmailQueue,23,216,3,0,PlainTextBody; HtmlBody; LastError
|
||||
dbo.FeatureRequestMessages,0,0,3,2,MessageBody
|
||||
dbo.FeatureRequests,0,0,5,1,Description; AdminNotes
|
||||
dbo.FloorPlanBlocks,0,216,3,2,Notes
|
||||
dbo.FloorPlanFloors,0,216,3,2,BackgroundImagePath; Description
|
||||
dbo.FloorPlans,0,216,3,2,Description
|
||||
dbo.FloorPlanTransitions,0,216,3,3,Notes
|
||||
dbo.GenreMetricPresetMetrics,0,72,1,2,
|
||||
dbo.GenreMetricPresets,7,144,2,0,
|
||||
dbo.GeographicAuthorBatch,10,144,2,0,
|
||||
dbo.GeographicCache,13,72,1,0,CandidatesJson
|
||||
dbo.GeographicLookupLease,0,72,1,0,
|
||||
dbo.GeographicProviderGate,1,72,1,0,
|
||||
dbo.GivenNames,3067,1056,4,0,
|
||||
dbo.IllustrationLibraryItems,1265,30968,6,3,MetadataJson; SpecificationJson; PromptText; Prompt
|
||||
dbo.KnowledgeStates,7,144,2,0,
|
||||
dbo.LocationAliases,70,216,3,1,
|
||||
dbo.LocationGeography,67,208,2,1,CandidatesJson; MatchJson
|
||||
dbo.LocationRelationships,0,72,1,3,Notes
|
||||
dbo.LocationRelationshipTypes,13,144,2,0,
|
||||
dbo.Locations,67,216,3,3,Description
|
||||
dbo.LocationTypes,12,144,2,0,
|
||||
dbo.ManuscriptDocuments,1,288,4,3,
|
||||
dbo.ManuscriptEvidenceIndex,0,216,3,1,
|
||||
dbo.ManuscriptStructuralChapterSources,48,5776,1,3,SourceText; ParagraphMapJson; StructuralParsedJson
|
||||
dbo.MapFeatures,39,272,1,3,GeometryJson
|
||||
dbo.MapJourneyNotes,0,72,1,1,
|
||||
dbo.MapReferenceImages,2,600,2,1,ImageData
|
||||
dbo.MapRelationships,0,72,1,3,
|
||||
dbo.NameLocales,6,144,2,0,
|
||||
dbo.NameReferenceImports,3,72,1,0,ErrorSummary
|
||||
dbo.NameRelationships,525,344,3,2,
|
||||
dbo.NameUsages,92010,50080,4,2,
|
||||
dbo.NativeChapterReviews,0,152,2,0,ResultJson; DecisionsJson; EncryptedSource
|
||||
dbo.NativeCompanionInstallations,5,144,2,1,
|
||||
dbo.NativeImportOperations,0,72,1,0,
|
||||
dbo.NativeReviewImports,0,72,1,0,ScenePositionsJson
|
||||
dbo.OnboardingManuscriptBuildChapterMap,48,72,1,2,
|
||||
dbo.OnboardingManuscriptBuildCharacterMap,0,72,1,2,
|
||||
dbo.OnboardingManuscriptBuilds,1,144,2,4,
|
||||
dbo.OnboardingManuscriptBuildSceneMap,290,136,1,2,
|
||||
dbo.OnboardingManuscriptCaptures,1,24280,2,1,Payload; AnalysisCheckpoints
|
||||
dbo.PlotEventTargetPlotLines,0,72,1,2,
|
||||
dbo.PlotEventTypes,9,144,2,0,
|
||||
dbo.PlotImportance,3,144,2,0,
|
||||
dbo.PlotLines,4,216,3,6,Description
|
||||
dbo.PlotLineTypes,10,144,2,0,
|
||||
dbo.PlotThreads,12,144,2,6,Summary
|
||||
dbo.PresenceTypes,9,144,2,0,
|
||||
dbo.ProjectActivity,58,144,2,2,
|
||||
dbo.ProjectInvitation,0,0,4,3,
|
||||
dbo.ProjectRestoreHistory,0,144,2,3,Notes
|
||||
dbo.ProjectRestorePoints,1,167320,2,1,JsonData; Notes
|
||||
dbo.Projects,14,72,1,0,Description
|
||||
dbo.ProjectTimelineMetricSettings,154,72,1,2,
|
||||
dbo.ProjectTimelineSettings,14,144,2,1,
|
||||
dbo.ProjectUserAccess,14,216,3,3,
|
||||
dbo.RelationshipCategories,6,144,2,0,
|
||||
dbo.RelationshipEvents,398,408,3,3,Description
|
||||
dbo.RelationshipStates,15,144,2,0,
|
||||
dbo.RelationshipTypes,31,144,2,1,
|
||||
dbo.RevisionStatuses,8,144,2,0,
|
||||
dbo.Scenarios,0,72,1,2,Description
|
||||
dbo.ScenarioSceneOrder,0,144,2,3,Notes
|
||||
dbo.ScenarioValidationRuns,0,72,1,1,
|
||||
dbo.ScenarioWarnings,0,72,1,3,Details
|
||||
dbo.SceneAssetLocations,0,216,3,3,Description
|
||||
dbo.SceneAssetSuggestions,0,216,3,4,
|
||||
dbo.SceneAttachments,0,144,2,2,Notes
|
||||
dbo.SceneAttachmentTypes,8,144,2,0,
|
||||
dbo.SceneCharacters,1427,1000,5,4,AppearanceNotes; OutfitDescription; PhysicalCondition; EmotionalState; KnowledgeNotes
|
||||
dbo.SceneCharacterSuggestions,0,216,3,4,
|
||||
dbo.SceneChecklistItems,528,208,2,1,
|
||||
dbo.SceneDependencies,0,216,3,3,Description
|
||||
dbo.SceneDependencyTypes,10,144,2,0,
|
||||
dbo.SceneFloorPlanOccupancy,0,360,7,6,
|
||||
dbo.SceneLocationSuggestions,0,216,3,4,
|
||||
dbo.SceneManuscriptSources,868,82456,2,4,SourceText
|
||||
dbo.SceneMetricTypes,11,144,2,1,
|
||||
dbo.SceneMetricValues,3190,584,1,2,
|
||||
dbo.SceneNotes,0,208,2,2,NoteText
|
||||
dbo.SceneNoteTypes,11,144,2,0,
|
||||
dbo.SceneOutcomes,0,72,1,1,
|
||||
dbo.ScenePurposes,0,72,1,2,
|
||||
dbo.ScenePurposeTypes,16,144,2,0,
|
||||
dbo.Scenes,868,1464,6,9,Summary; ScenePurposeNotes; SceneOutcomeNotes; StructuralSummary
|
||||
dbo.SceneTextStatistics,295,72,1,1,
|
||||
dbo.SceneWorkflow,290,144,2,1,BlockedReason
|
||||
dbo.StoryAssets,0,216,3,3,Description
|
||||
dbo.StoryIntelligenceBookPipelines,1,216,3,3,
|
||||
dbo.StoryIntelligenceChapterResults,0,152,2,1,RawResponseJson; OutputTextJson; ParsedJson
|
||||
dbo.StoryIntelligenceConsents,0,0,1,4,
|
||||
dbo.StoryIntelligenceIllustrationDemands,1,144,2,0,
|
||||
dbo.StoryIntelligenceImportCommits,0,144,2,5,Notes
|
||||
dbo.StoryIntelligenceJobs,0,0,3,4,
|
||||
dbo.StoryIntelligenceNarrativeCandidateEvents,39,144,2,4,EventDescription; Evidence
|
||||
dbo.StoryIntelligenceNarrativeCandidateEvidence,633,272,2,2,
|
||||
dbo.StoryIntelligenceNarrativeCandidates,47,360,5,9,ExistingPlotLineMatchReason; SeedMatchReason
|
||||
dbo.StoryIntelligenceReviewCandidateEvidence,9590,2128,2,2,
|
||||
dbo.StoryIntelligenceReviewCandidateGenerations,29,144,2,2,
|
||||
dbo.StoryIntelligenceReviewCandidates,9212,42976,3,1,CandidatePayloadJson; AssessmentJson
|
||||
dbo.StoryIntelligenceRuns,48,3880,4,2,ErrorMessage; ErrorDetail; SourceText; KnownCharactersJson
|
||||
dbo.StoryIntelligenceSceneResults,290,47648,3,2,RawResponseJson; OutputTextJson; ParsedJson
|
||||
dbo.StoryMaps,1,216,3,2,
|
||||
dbo.StoryMemoryAssets,361,272,2,1,
|
||||
dbo.StoryMemoryCharacterAliases,3007,656,2,1,
|
||||
dbo.StoryMemoryCharacterAttributes,1847,784,2,1,
|
||||
dbo.StoryMemoryCharacters,246,272,2,1,
|
||||
dbo.StoryMemoryIllustrationAssignments,1076,528,2,2,
|
||||
dbo.StoryMemoryIllustrationDemands,924,528,2,1,
|
||||
dbo.StoryMemoryImportPreferences,1,144,2,1,
|
||||
dbo.StoryMemoryLocations,483,336,2,1,
|
||||
dbo.StoryMemoryProcessedSceneResults,290,208,2,2,
|
||||
dbo.StoryMemoryRelationships,373,272,2,1,
|
||||
dbo.StripeWebhookEvent,0,0,2,0,
|
||||
dbo.SubscriptionAdministrationAudit,2,72,1,2,PreviousState; NewState
|
||||
dbo.SubscriptionBookSlotReservation,0,144,2,1,
|
||||
dbo.SubscriptionLevel,4,144,2,0,
|
||||
dbo.SubscriptionOverride,1,144,2,5,
|
||||
dbo.ThreadEvents,39,360,5,5,EventDescription
|
||||
dbo.ThreadEventTypes,14,144,2,0,
|
||||
dbo.ThreadStatuses,7,144,2,0,
|
||||
dbo.ThreadTypes,11,144,2,0,
|
||||
dbo.TimeConfidences,4,144,2,0,
|
||||
dbo.TimelineViewPresets,0,144,2,2,FilterJson; VisibilityJson
|
||||
dbo.TimeModes,7,144,2,0,
|
||||
dbo.UserEmailVerificationToken,1,216,3,1,
|
||||
dbo.UserFile,4,288,4,2,
|
||||
dbo.UserLoginAudit,278,280,3,1,
|
||||
dbo.UserOnboardingState,1,144,2,3,
|
||||
dbo.UserPasswordResetToken,2,216,3,1,
|
||||
dbo.UserSubscription,1,144,4,2,
|
||||
dbo.UserTwoFactor,0,0,1,1,RecoveryCodes
|
||||
dbo.ValidationRuns,0,72,1,2,
|
||||
dbo.WarningSeverities,3,144,2,0,
|
||||
dbo.WarningTypes,24,144,2,0,Description
|
||||
dbo.WholeBookPlotSynthesisRuns,1,288,3,4,ErrorMessage; ErrorDetail; ResultJson
|
||||
dbo.WordCompanionSceneAssets,0,144,2,2,
|
||||
dbo.WordCompanionSceneLocations,0,144,2,2,
|
||||
dbo.WriterActivities,0,144,2,2,Notes
|
||||
dbo.WriterInvestigationCatalogues,3,528,1,0,Json
|
||||
dbo.WriterInvestigationEvents,107,2704,1,1,Event
|
||||
dbo.WriterInvestigationGuidance,5,144,2,1,Json
|
||||
dbo.WriterInvestigations,12,336,2,3,Json
|
||||
dbo.WriterPlannedActivities,0,144,2,4,
|
||||
dbo.WriterReviewObservations,1,144,2,3,Observation; Decision
|
||||
dbo.WriterWorkDays,7,72,1,1,
|
||||
dbo.WriterWorkingObjectives,1,72,1,2,
|
||||
dbo.WriterWorkSessions,8,288,4,2,RangesJson
|
||||
dbo.WritingActivityEvents,10,224,3,1,Scopes
|
||||
dbo.WritingActivityReceipts,10,72,1,1,
|
||||
dbo.WritingActivitySettings,0,72,1,1,
|
||||
dbo.WritingIntentAssessments,0,72,1,0,ResultsJson; DecisionsJson
|
||||
dbo.WritingPlans,1,288,4,3,AvailableDaysJson
|
||||
dbo.WritingScheduleItems,0,360,5,2,
|
||||
dbo.WritingSolverVersions,4,3488,3,0,GraphJson
|
||||
|
@ -0,0 +1,506 @@
|
||||
[
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 0,
|
||||
"ms": 16.2158,
|
||||
"cpuMs": 14.296,
|
||||
"procedureLogicalReads": 432,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 1,
|
||||
"ms": 19.176,
|
||||
"cpuMs": 17.402,
|
||||
"procedureLogicalReads": 427,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 2,
|
||||
"ms": 12.6659,
|
||||
"cpuMs": 11.445,
|
||||
"procedureLogicalReads": 431,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 3,
|
||||
"ms": 7.4665,
|
||||
"cpuMs": 6.356,
|
||||
"procedureLogicalReads": 431,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 4,
|
||||
"ms": 7.4411,
|
||||
"cpuMs": 6.346,
|
||||
"procedureLogicalReads": 431,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 5,
|
||||
"ms": 7.5506,
|
||||
"cpuMs": 6.29,
|
||||
"procedureLogicalReads": 431,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 0,
|
||||
"ms": 20.6678,
|
||||
"cpuMs": 10.779,
|
||||
"procedureLogicalReads": 2969,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 53509,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 1,
|
||||
"ms": 12.4103,
|
||||
"cpuMs": 10.909,
|
||||
"procedureLogicalReads": 2971,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 53509,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 2,
|
||||
"ms": 12.3502,
|
||||
"cpuMs": 10.942,
|
||||
"procedureLogicalReads": 2971,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 53509,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 3,
|
||||
"ms": 12.241,
|
||||
"cpuMs": 10.842,
|
||||
"procedureLogicalReads": 2970,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 53509,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 4,
|
||||
"ms": 12.4127,
|
||||
"cpuMs": 10.922,
|
||||
"procedureLogicalReads": 2969,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 53509,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 5,
|
||||
"ms": 12.273,
|
||||
"cpuMs": 10.85,
|
||||
"procedureLogicalReads": 2971,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 53509,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 0,
|
||||
"ms": 210.7117,
|
||||
"cpuMs": 169.312,
|
||||
"procedureLogicalReads": 82000,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570083,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 1,
|
||||
"ms": 217.5282,
|
||||
"cpuMs": 166.521,
|
||||
"procedureLogicalReads": 81985,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570083,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 2,
|
||||
"ms": 200.287,
|
||||
"cpuMs": 170.666,
|
||||
"procedureLogicalReads": 81973,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570083,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 3,
|
||||
"ms": 196.5056,
|
||||
"cpuMs": 165.215,
|
||||
"procedureLogicalReads": 81957,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570083,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 4,
|
||||
"ms": 193.872,
|
||||
"cpuMs": 167.091,
|
||||
"procedureLogicalReads": 81966,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570083,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 5,
|
||||
"ms": 199.377,
|
||||
"cpuMs": 167.208,
|
||||
"procedureLogicalReads": 81958,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570083,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 0,
|
||||
"ms": 7.3216,
|
||||
"cpuMs": 6.279,
|
||||
"procedureLogicalReads": 431,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-48"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 1,
|
||||
"ms": 7.112,
|
||||
"cpuMs": 6.22,
|
||||
"procedureLogicalReads": 431,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-48"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 2,
|
||||
"ms": 7.1123,
|
||||
"cpuMs": 6.217,
|
||||
"procedureLogicalReads": 431,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-48"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 3,
|
||||
"ms": 7.1725,
|
||||
"cpuMs": 6.16,
|
||||
"procedureLogicalReads": 431,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-48"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 4,
|
||||
"ms": 7.0967,
|
||||
"cpuMs": 6.179,
|
||||
"procedureLogicalReads": 431,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-48"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 5,
|
||||
"ms": 9.0012,
|
||||
"cpuMs": 7.785,
|
||||
"procedureLogicalReads": 431,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 49313,
|
||||
"case": "archived-empty-48"
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,506 @@
|
||||
[
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 0,
|
||||
"ms": 18.1912,
|
||||
"cpuMs": 15.952,
|
||||
"procedureLogicalReads": 314,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 1,
|
||||
"ms": 14.113,
|
||||
"cpuMs": 12.337,
|
||||
"procedureLogicalReads": 311,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 2,
|
||||
"ms": 13.4388,
|
||||
"cpuMs": 12.247,
|
||||
"procedureLogicalReads": 311,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 3,
|
||||
"ms": 6.6819,
|
||||
"cpuMs": 5.507,
|
||||
"procedureLogicalReads": 311,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 4,
|
||||
"ms": 6.5248,
|
||||
"cpuMs": 5.284,
|
||||
"procedureLogicalReads": 311,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 2,
|
||||
"run": 5,
|
||||
"ms": 6.6454,
|
||||
"cpuMs": 5.356,
|
||||
"procedureLogicalReads": 311,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-2"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 0,
|
||||
"ms": 19.3348,
|
||||
"cpuMs": 10.095,
|
||||
"procedureLogicalReads": 2894,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 52806,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 1,
|
||||
"ms": 12.0244,
|
||||
"cpuMs": 10.663,
|
||||
"procedureLogicalReads": 2891,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 52806,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 2,
|
||||
"ms": 11.2047,
|
||||
"cpuMs": 10.088,
|
||||
"procedureLogicalReads": 2891,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 52806,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 3,
|
||||
"ms": 11.1927,
|
||||
"cpuMs": 9.971,
|
||||
"procedureLogicalReads": 2892,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 52806,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 4,
|
||||
"ms": 11.2286,
|
||||
"cpuMs": 10.006,
|
||||
"procedureLogicalReads": 2893,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 52806,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 3,
|
||||
"run": 5,
|
||||
"ms": 11.2505,
|
||||
"cpuMs": 10.008,
|
||||
"procedureLogicalReads": 2892,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"hash": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"roundTrips": 1,
|
||||
"bytes": 52806,
|
||||
"case": "small-synthetic-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 0,
|
||||
"ms": 2428.2533,
|
||||
"cpuMs": 2408.21,
|
||||
"procedureLogicalReads": 792920,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570087,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 1,
|
||||
"ms": 2348.7404,
|
||||
"cpuMs": 2333.199,
|
||||
"procedureLogicalReads": 792941,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570087,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 2,
|
||||
"ms": 2308.652,
|
||||
"cpuMs": 2294.025,
|
||||
"procedureLogicalReads": 792941,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570087,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 3,
|
||||
"ms": 2310.4568,
|
||||
"cpuMs": 2294.626,
|
||||
"procedureLogicalReads": 792931,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570087,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 4,
|
||||
"ms": 2318.3225,
|
||||
"cpuMs": 2301.753,
|
||||
"procedureLogicalReads": 792943,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570087,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 290,
|
||||
"run": 5,
|
||||
"ms": 2330.0231,
|
||||
"cpuMs": 2313.556,
|
||||
"procedureLogicalReads": 792933,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"hash": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"roundTrips": 1,
|
||||
"bytes": 570087,
|
||||
"case": "large-populated"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 0,
|
||||
"ms": 6.2803,
|
||||
"cpuMs": 5.105,
|
||||
"procedureLogicalReads": 311,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-48"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 1,
|
||||
"ms": 6.1014,
|
||||
"cpuMs": 5.032,
|
||||
"procedureLogicalReads": 311,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-48"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 2,
|
||||
"ms": 6.336,
|
||||
"cpuMs": 5.098,
|
||||
"procedureLogicalReads": 311,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-48"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 3,
|
||||
"ms": 6.0891,
|
||||
"cpuMs": 5.037,
|
||||
"procedureLogicalReads": 311,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-48"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 4,
|
||||
"ms": 6.067,
|
||||
"cpuMs": 5.047,
|
||||
"procedureLogicalReads": 311,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-48"
|
||||
},
|
||||
{
|
||||
"scenes": 48,
|
||||
"run": 5,
|
||||
"ms": 6.0257,
|
||||
"cpuMs": 5.068,
|
||||
"procedureLogicalReads": 311,
|
||||
"observedCalls": 1,
|
||||
"rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"roundTrips": 1,
|
||||
"bytes": 47709,
|
||||
"case": "archived-empty-48"
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,962 @@
|
||||
[
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-2",
|
||||
"run": 0,
|
||||
"elapsed_ms": 204.5673,
|
||||
"logical_reads": 282,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 30557
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-2",
|
||||
"run": 1,
|
||||
"elapsed_ms": 53.8708,
|
||||
"logical_reads": 282,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 28622
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-2",
|
||||
"run": 2,
|
||||
"elapsed_ms": 3.8153,
|
||||
"logical_reads": 282,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 28345
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-2",
|
||||
"run": 3,
|
||||
"elapsed_ms": 4.5074,
|
||||
"logical_reads": 282,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 28345
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-2",
|
||||
"run": 4,
|
||||
"elapsed_ms": 3.8673,
|
||||
"logical_reads": 282,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 28345
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-2",
|
||||
"run": 5,
|
||||
"elapsed_ms": 3.8834,
|
||||
"logical_reads": 282,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 28345
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 0,
|
||||
"elapsed_ms": 66.5169,
|
||||
"logical_reads": 2436,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 36739
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 1,
|
||||
"elapsed_ms": 21.5831,
|
||||
"logical_reads": 2436,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 35908
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 2,
|
||||
"elapsed_ms": 13.4234,
|
||||
"logical_reads": 2436,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 35908
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 3,
|
||||
"elapsed_ms": 13.4155,
|
||||
"logical_reads": 2436,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 35908
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 4,
|
||||
"elapsed_ms": 13.4929,
|
||||
"logical_reads": 2436,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 35908
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 5,
|
||||
"elapsed_ms": 13.1991,
|
||||
"logical_reads": 2436,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 35908
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "large-populated",
|
||||
"run": 0,
|
||||
"elapsed_ms": 2437.3292,
|
||||
"logical_reads": 764763,
|
||||
"lob_reads": 1278,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 570922
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "large-populated",
|
||||
"run": 1,
|
||||
"elapsed_ms": 2450.3752,
|
||||
"logical_reads": 764761,
|
||||
"lob_reads": 1275,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 570633
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "large-populated",
|
||||
"run": 2,
|
||||
"elapsed_ms": 2393.8346,
|
||||
"logical_reads": 764761,
|
||||
"lob_reads": 1278,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 570637
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "large-populated",
|
||||
"run": 3,
|
||||
"elapsed_ms": 2492.9847,
|
||||
"logical_reads": 764761,
|
||||
"lob_reads": 1271,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 571179
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "large-populated",
|
||||
"run": 4,
|
||||
"elapsed_ms": 2373.5147,
|
||||
"logical_reads": 764764,
|
||||
"lob_reads": 1275,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 570328
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "large-populated",
|
||||
"run": 5,
|
||||
"elapsed_ms": 2302.8173,
|
||||
"logical_reads": 764762,
|
||||
"lob_reads": 1273,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 570087
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-48",
|
||||
"run": 0,
|
||||
"elapsed_ms": 6.1206,
|
||||
"logical_reads": 298,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 47709
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-48",
|
||||
"run": 1,
|
||||
"elapsed_ms": 5.8731,
|
||||
"logical_reads": 298,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 47709
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-48",
|
||||
"run": 2,
|
||||
"elapsed_ms": 5.8617,
|
||||
"logical_reads": 298,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 47709
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-48",
|
||||
"run": 3,
|
||||
"elapsed_ms": 5.9221,
|
||||
"logical_reads": 298,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 47709
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-48",
|
||||
"run": 4,
|
||||
"elapsed_ms": 5.9824,
|
||||
"logical_reads": 298,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 47709
|
||||
},
|
||||
{
|
||||
"phase": "before",
|
||||
"case": "archived-empty-48",
|
||||
"run": 5,
|
||||
"elapsed_ms": 5.8141,
|
||||
"logical_reads": 298,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 47709
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-2",
|
||||
"run": 0,
|
||||
"elapsed_ms": 130.8008,
|
||||
"logical_reads": 376,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 32166
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-2",
|
||||
"run": 1,
|
||||
"elapsed_ms": 5.5776,
|
||||
"logical_reads": 376,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 31174
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-2",
|
||||
"run": 2,
|
||||
"elapsed_ms": 5.4422,
|
||||
"logical_reads": 376,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 31174
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-2",
|
||||
"run": 3,
|
||||
"elapsed_ms": 5.4962,
|
||||
"logical_reads": 376,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 31174
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-2",
|
||||
"run": 4,
|
||||
"elapsed_ms": 5.4355,
|
||||
"logical_reads": 376,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 31174
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-2",
|
||||
"run": 5,
|
||||
"elapsed_ms": 5.5802,
|
||||
"logical_reads": 376,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 31174
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 0,
|
||||
"elapsed_ms": 52.8023,
|
||||
"logical_reads": 2513,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 39081
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 1,
|
||||
"elapsed_ms": 109.524,
|
||||
"logical_reads": 2513,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 39575
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 2,
|
||||
"elapsed_ms": 14.852,
|
||||
"logical_reads": 2514,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 38589
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 3,
|
||||
"elapsed_ms": 15.0029,
|
||||
"logical_reads": 2514,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 38591
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 4,
|
||||
"elapsed_ms": 15.1403,
|
||||
"logical_reads": 2514,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 38589
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "small-synthetic-populated",
|
||||
"run": 5,
|
||||
"elapsed_ms": 19.4436,
|
||||
"logical_reads": 2514,
|
||||
"lob_reads": 98,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"result_sha256": "843F339EC67C6C65C878EDC21E55203F3475FFF472EF927B4F9F97BF8B4C8BC2",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 38591
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "large-populated",
|
||||
"run": 0,
|
||||
"elapsed_ms": 244.255,
|
||||
"logical_reads": 53361,
|
||||
"lob_reads": 408,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 570362
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "large-populated",
|
||||
"run": 1,
|
||||
"elapsed_ms": 222.5692,
|
||||
"logical_reads": 53360,
|
||||
"lob_reads": 408,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 570083
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "large-populated",
|
||||
"run": 2,
|
||||
"elapsed_ms": 207.8998,
|
||||
"logical_reads": 53360,
|
||||
"lob_reads": 408,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 570083
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "large-populated",
|
||||
"run": 3,
|
||||
"elapsed_ms": 210.5711,
|
||||
"logical_reads": 53360,
|
||||
"lob_reads": 408,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 570083
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "large-populated",
|
||||
"run": 4,
|
||||
"elapsed_ms": 210.2493,
|
||||
"logical_reads": 53360,
|
||||
"lob_reads": 408,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 570083
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "large-populated",
|
||||
"run": 5,
|
||||
"elapsed_ms": 206.4732,
|
||||
"logical_reads": 53360,
|
||||
"lob_reads": 408,
|
||||
"result_rows": [
|
||||
4,
|
||||
12,
|
||||
39,
|
||||
0,
|
||||
0,
|
||||
290,
|
||||
594
|
||||
],
|
||||
"result_sha256": "AD58D7B4B537818FE89B773EF8AF4D3AC3F126F60440B81E51CA76907CA146FC",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 570083
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-48",
|
||||
"run": 0,
|
||||
"elapsed_ms": 8.3568,
|
||||
"logical_reads": 388,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 49313
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-48",
|
||||
"run": 1,
|
||||
"elapsed_ms": 7.9633,
|
||||
"logical_reads": 388,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 49313
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-48",
|
||||
"run": 2,
|
||||
"elapsed_ms": 9.5208,
|
||||
"logical_reads": 388,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 49313
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-48",
|
||||
"run": 3,
|
||||
"elapsed_ms": 8.2849,
|
||||
"logical_reads": 388,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 49313
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-48",
|
||||
"run": 4,
|
||||
"elapsed_ms": 7.3177,
|
||||
"logical_reads": 388,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 49313
|
||||
},
|
||||
{
|
||||
"phase": "after",
|
||||
"case": "archived-empty-48",
|
||||
"run": 5,
|
||||
"elapsed_ms": 7.2543,
|
||||
"logical_reads": 388,
|
||||
"lob_reads": 0,
|
||||
"result_rows": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"result_sha256": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
|
||||
"server_roundtrips": 1,
|
||||
"bytes_received": 49313
|
||||
}
|
||||
]
|
||||
43
Docs/Geography/Corrections-2026-11-13.md
Normal file
@ -0,0 +1,43 @@
|
||||
# Development geographical positioning correction — 13 November 2026
|
||||
|
||||
## Exact incident findings
|
||||
|
||||
At 15:30–15:35 GMT, Birmingham, Rubery and Redditch were Pending with JobState `Awaiting hierarchy request`, generation 1, zero attempts and no queued work. Northfield alone had been submitted and successfully resolved by a real Nominatim request. The provider was enabled on the correct host (`atlas`); there was no request cooldown, active lease, provider failure or stale-result rejection.
|
||||
|
||||
The blocking limit was **one admitted batch per author per rolling hour**. The affected author had **1/1** batches, containing just Northfield (one location), submitted at 15:15:07. The application limit was 6 batches/hour with only **1/6** used; the external budget was **1/200** requests/day. Birmingham's branch contained 16 locations but only three geographical types, of which Northfield was already resolved. Failed Resolve submissions rolled back: they did not create batch records or make external requests. Earlier dedicated test accounts had not consumed the allowance. The per-click author rule wasted the remaining capacity of the intended 20-location allowance.
|
||||
|
||||
The old Save hook submitted only parent changes to existing locations. Creating a location with an explicitly assigned real-world parent left it unsubmitted. The UI rendered both unsubmitted and genuinely queued work as Pending. Finally, Maps allowed one resolved point to be centred and reported as a successful arrangement, while its confirmation dialog obscured the canvas proposal.
|
||||
|
||||
## Corrections
|
||||
|
||||
- Explicit parent assignments, including creating a child under a recognised root, automatically submit eligible work. Existing name/type changes and reparenting also re-evaluate the affected branch. Creating an unparented location alone does not submit lookup. Resolve remains a recovery action.
|
||||
- Author admission now charges **new uncached location work**, not clicks or every descendant: 20 locations/author/rolling hour and 120 application-wide/hour, at most 20 new eligible locations per submission. These preserve the previous maximum capacities (1×20 and 6×20) while permitting successive small actions. Cached, confirmed/resolved, already-requested and duplicate entries are not charged; rejected submissions do not spend allowance. Cache-backed recovery is free of a new location charge. Actual HTTP attempts remain separately metered.
|
||||
- The designated host, single persistent external-request slot, minimum 15-second interval and 200-request/day ceiling are unchanged. No cap was disabled or reset.
|
||||
- Queue state, attempt count, next attempt and lease are returned by the authorised status endpoint. The UI distinguishes Not requested, Queued, Looking up, Retry scheduled and Lookup disabled. Action messages no longer overwrite the location's status heading. Safe job/candidate/cache/error diagnostics contain IDs/counts rather than query URLs or descriptions.
|
||||
- Maps requires two distinct resolved, unlocked locations. A lone point is left unchanged and Apply is disabled with specific request/confirmation guidance. Maps can explicitly submit its missing linked locations and refresh status.
|
||||
- A larger dialog contains a read-only clone of the actual proposed SVG, including its unchanged surroundings, rather than hiding the proposal behind a modal. Statuses, recovery links, north-up guidance, unchanged counts and attribution are visible. Cancel leaves the document untouched; Apply closes the dialog and creates one existing Undo checkpoint; Save uses normal persistence. No objects are recreated.
|
||||
|
||||
## Bounded live-provider findings
|
||||
|
||||
Three explicitly scoped live recoveries returned successful Nominatim responses: Birmingham and Redditch each had both a point and an administrative-area candidate; Rubery's full `Rubery, Birmingham, United Kingdom` query returned no geographical match. This was a successful HTTP search with an empty result, not a network failure. A book hierarchy need not reproduce administrative boundaries: the returned Rubery point belongs to Bromsgrove/Worcestershire.
|
||||
|
||||
A full-context empty result now schedules **at most one country-scoped fallback**, using a separate cache key and the same central request gate. Its generation-bound stage survives restarts and cannot overwrite newer context. Relaxed-context results always require author confirmation. A scoped Development recovery through the production processor/provider/repository pipeline made exactly one further real HTTP request: the request counter moved **4 → 5**, and returned Rubery (`node:248191627`) at 52.3926619, -2.0166846, with zero failures and Needs confirmation. No arbitrary match was selected for the author.
|
||||
|
||||
During verification the author confirmed Birmingham, Redditch and subsequently Rubery. The final real database check showed **all four reported places Resolved/Done with zero failed attempts**. These author choices, including the chosen Redditch administrative area, were preserved. No saved positions in the author's map were modified by this investigation.
|
||||
|
||||
The dedicated authenticated acceptance account independently created the same public hierarchy through normal forms: all four explicit parent assignments automatically queued work without clicking Resolve. Worker diagnostics showed four initial cache hits plus Rubery's cached fallback. The account's billed-work count was **zero**. Its genuine Nominatim candidates were confirmed through normal Location Details controls and consumed by a real saved map, then the account and all fixture projects/locations were removed through normal deletion.
|
||||
|
||||
The author continued normal hierarchy activity during verification. At the accounting snapshot the author had **8/20** newly required locations across **six** admitted actions in the rolling hour, rather than being locked out after one action. The application had made **10 actual requests that day**: the earlier Northfield request, three scoped recoveries, one Rubery fallback and five subsequent real-author requests. The acceptance account's cache hits were not additional network calls or allowance consumption.
|
||||
|
||||
## Qualification and rollout
|
||||
|
||||
- Solution build: passed, zero warnings/errors. Normal executable regression harness: passed all configured groups, 488 PASS output records including nested suites.
|
||||
- Focused tests: eligibility/cache identity, bounded fallback, projection edge cases, one-point and duplicate-location refusal, safe candidate rendering and real-preview transactions passed.
|
||||
- Rollback SQL regressions: durable claims, stale-result protection, confirmation/exclusion, accurate cached/resolved/queued/duplicate accounting, successive small actions and the retained 20-location budget passed. An initial test attempted nested INSERT EXEC through the existing authorization procedure; it was corrected to inspect transactional state directly. This was a test-harness issue, not a migration defect.
|
||||
- Browser/PWA light/dark regressions: passed visible inline preview, insufficient-coordinate guidance, explicit missing requests/status refresh, Cancel/Escape, Apply closure, movement, Undo/Redo, Save and unrelated-object/lock preservation.
|
||||
- Authenticated Development: automatic parent-assignment submission, real provider candidates/confirmation, visible preview, actual Apply closure and movement, Undo/Redo, real Save/reload, independent geographical coordinates, locks/drawings and the actual PWA action were verified. The first PWA assertion ran before the asynchronous preview request completed; adding the missing dialog wait corrected the test. A focused authenticated PWA rerun passed, including full-document preservation on cancellation.
|
||||
- Forward-only migrations **257 and 258** were backed up, applied and tested against verified `PlotDirector_Development`; existing numbered migrations were not edited. Backup: `/var/opt/mssql/backup/PlotDirector_Development_geography_corrections_20261113.bak`, created with COPY_ONLY/COMPRESSION/CHECKSUM and verified nonempty in the SQL container. No restore/reset occurred.
|
||||
- Deployed implementation commit: **dad70a1** on the existing shared branch. Release: `geography-fix-dad70a1-20261113T161751Z`. Qualified publish-to-authenticated-verification window: **16:17:51–16:27:37 GMT, 9 minutes 46 seconds**. No deployment blocker remained.
|
||||
- Published/deployed `PlotLine.dll` hashes match: `5b8df4a389591885ad28163a40587621c157e4e50b41cca463a4a7546bc8f7ca`. Service active; local GET, public TLS-verified HTTPS GET, DLL metadata and authenticated routes verified. A loopback HTTPS-redirect-port warning was reviewed; there were no geographical processing errors. No active/queued import, Story Intelligence, synthesis or enrichment work was interrupted. Previous application snapshot and release archive are retained under the normal Development paths.
|
||||
|
||||
Production, Word Companion, Context, Intent and manuscript persistence were not modified. The pre-existing untracked manuscript assessment document was preserved. Refresh the Maps page to load the corrected preview UI.
|
||||
23
Docs/Geography/Delivery-2026-11-13.md
Normal file
@ -0,0 +1,23 @@
|
||||
# Geographical positioning delivery — 13 November 2026
|
||||
|
||||
1. **Implemented functionality.** Locations now expose geographical status, candidate selection, exclusion, retry and deliberate hierarchy resolution. Existing location creation does not submit lookup. Reparenting an existing location beneath an eligible root submits that branch; name/type edits invalidate identifying context without submitting fresh requests. Maps adds Position geographically with a real canvas preview, Cancel/Escape, Apply, existing Save/revision checks and existing Undo/Redo. Word Companion, manuscript synchronisation/persistence, Context and Intent were not changed.
|
||||
|
||||
2. **Roots and types.** Bundled ISO 3166 country/subdivision reference data provides worldwide country support and explicit or country-qualified administrative roots, with UK/US aliases and England, Scotland, Wales and Northern Ireland. Existing Country, Region, Town and Village types qualify; generic State/County/City types are supported if present, without changing the lookup table. Premises and non-geographical ancestors are excluded. Bare ambiguous regions and fictional roots fail closed. Direct and deep hierarchies are supported.
|
||||
|
||||
3. **Provider and verified conditions.** Public Nominatim is the initial configurable provider, following the developer's explicit informed decision. The [published policy](https://operations.osmfoundation.org/policies/nominatim/) was checked on this date. The implementation uses one designated machine, one database-serialized external request at a time, an identifying PlotDirector User-Agent, persistent caching and visible OpenStreetMap/ODbL attribution. It always applies a 15-second minimum interval (four/minute), stricter than the absolute one/second ceiling. There are no API credentials, periodic refreshes, automatic scans or unrestricted import endpoints. No OS Open Names/local UK gazetteer is shipped.
|
||||
|
||||
4. **Queue/cache.** Durable per-location jobs use generation and lease fencing, two-minute restart recovery, provider timeout, four bounded attempts and backoff. A database gate serializes requests across application instances, retains cooldown and caps live requests at 200/day. Admission is at most 20 locations per author action, one batch per author/hour and six application batches/hour; retry shares that admission allowance. A shared cache stores public provider identities, metadata, coordinates, attribution and resolution time, keyed by provider/endpoint and complete geographical context. It contains no private project hierarchy or manuscript descriptions. Author confirmations remain per-location and are never promoted from one ambiguous private choice to another author.
|
||||
|
||||
5. **Confirmation and automatic matches.** A single non-truncated candidate with an exact provider place name, matching country/subdivision and all available additional administrative context can resolve automatically when context extends beyond a country-only root. Otherwise the author sees the candidate's place/region/country and confirms an index with the observed generation. Broad UK-only names, including insufficiently contextualised Newtown, are not silently assigned a coordinate. Confirmed matches survive unrelated edits; stale results and cross-account confirmations are rejected.
|
||||
|
||||
6. **Maps and coordinates.** The local spherical azimuthal equidistant projection uses north-up orientation, circular longitude centring, one aspect-preserving scale and padding. Single/coincident locations remain finite. Extents beyond 15 degrees from the centre are refused instead of producing a misleading global layout. Only resolved, unlocked location markers move; paths, drawings and other features retain their stored contents. Existing connected routes keep following linked markers as before. Apply adds one Undo step; manual dragging cannot change real-world coordinates.
|
||||
|
||||
7. **Database status.** Development was verified as `PlotDirector_Development`. Migrations 253–256 are applied and their 12 geography procedures verified. Required fresh-install order is **253, 255, 254, 256**: the initial qualification of 254 exposed a short job-state column; forward-only 255 repaired its width before 254 resumed. Applied numbered migrations were not edited to repair the live schema. A successful copy-only compressed CHECKSUM backup and nonempty backup file were verified. RESTORE VERIFYONLY was unavailable to the application principal; no restore/reset was attempted. See the implementation guide for the exact backup path and rollout order.
|
||||
|
||||
8. **Automated/browser verification.** The solution build passed with zero warnings/errors. The normal regression harness passed all 421 configured groups (488 PASS output records including nested suites). Focused tests cover country/alias/type/hierarchy rules, fake-provider outcomes, cache identity, ambiguity, automatic contextual matching, errors/backoff, provider configuration, authorisation and CSRF. Rollback SQL tests passed invalidation, durable deduplication, expired-lease recovery, stale-result rejection, author confirmation/exclusion and hierarchy admission. Sixteen concurrent real database reservations produced exactly one winner; fresh connections and provider cooldown could not bypass the gate. Projection tests passed direction/distance ratio, aspect/padding, single/coincident/polar/antimeridian cases and wide-extent refusal. Browser tests passed new preview/cancel/Escape/Apply/Save/Undo/Redo/manual movement in light/dark browser/PWA layouts, safe candidate text rendering, existing Maps author workflows, existing Locations drag/drop and PWA/service-worker regressions. Authenticated Development tests passed candidate confirmation, foreign-project/CSRF rejection, real map Save/reload and the actual PWA ribbon, using only dedicated deterministic fixtures. No live geocoding calls occurred. The dedicated account and all its fixture projects/locations were removed through normal account deletion; post-cleanup SQL shows the original 32 geography rows awaiting author requests, no live provider reservations and an empty shared cache.
|
||||
|
||||
9. **Deployment and exact commit.** Development runs implementation commit **9eb1f553ef8c807104346a7d01b41e7c570235ad** on the existing shared branch. Release: `geography-9eb1f55-20261113T144835Z`. Publish-to-authenticated-verification window: **14:48:35–14:57:27 GMT, 8 minutes 52 seconds**. Service state, local GET, public TLS-verified HTTPS GET, authenticated changed routes, DLL metadata and matching published/deployed DLL SHA-256 were verified. Hash: `3c5ed7861642463dadbca92132a9dcdc34056de795e0265fbaf785e723617a25`. No warning/error entries appeared during release verification. The previous physical application directory is retained at `/srv/apps/plotdirector-dev/current-before-geography-9eb1f55-20261113T144835Z`; the release archive is retained under `/srv/apps/plotdirector-dev/releases/`. No queued/active import, Story Intelligence, synthesis or enrichment work was interrupted. Production was not accessed or deployed.
|
||||
|
||||
10. **Configuration, limits and acceptance.** Development has Nominatim enabled with the identifying Development URL and designated host `atlas`. Existing rows remain unsubmitted: enabling the provider did not trigger a scan. Watched Development JSON supports immediate disable or switching to another Nominatim-compatible endpoint without redeployment; code defaults remain disabled for unconfigured installations. An actual public-provider round trip remains a small manual acceptance step: deliberately request an eligible hierarchy, wait for the finite queue, inspect/confirm any uncertain matches, then preview/apply/save geographical positioning and undo it. Automated tests intentionally do not depend on the public service. Dense coincident markers can overlap, large geographical extents are refused, and the conservative hourly batch allowance may require waiting between multiple quick hierarchy edits. Project backups currently preserve map canvas positions but do not export geographical confirmations; a restored hierarchy needs an explicit resolution request again. The unrelated pre-existing `Docs/Investigations/CanonicalManuscriptArchitectureAssessment.md` remains untracked and unchanged.
|
||||
|
||||
Implementation, policy links, configuration and migration/test instructions: [GeographicalPositioning.md](GeographicalPositioning.md).
|
||||
94
Docs/Geography/GeographicalPositioning.md
Normal file
@ -0,0 +1,94 @@
|
||||
# Geographical resolution and map positioning
|
||||
|
||||
Implementation and qualification record, 13 November 2026. This feature extends existing Locations and Maps. Word Companion, manuscript persistence, Context and Intent are untouched.
|
||||
|
||||
## Author workflow and triggers
|
||||
|
||||
Creating an unparented location does not submit lookup. Saving an explicit parent assignment, including creating a child beneath a recognised root, establishes/changes a hierarchy and automatically requests eligible work for that branch. Name/type edits to an existing location also re-evaluate identifying context. Reparenting follows the same path. The Resolve button is recovery, not mandatory setup. Maps can explicitly request its unsubmitted linked locations. There is no database-wide enrichment or periodic provider refresh.
|
||||
|
||||
Admission charges newly required uncached location work: up to 20 new eligible locations per submission, 20 per author in a rolling hour and 120 application-wide in that hour. This preserves the original maximum capacity of one 20-location author batch and six application batches while removing their per-click lockouts. Cached responses, confirmed/resolved locations, already-requested jobs and duplicates are not billed. Failed admissions roll back without charging. Multiple small parent-assignment actions can use the remaining allowance. Real HTTP requests have a separate persistent application counter and remain serialized, at least 15 seconds apart, and capped at 200/day. Bounded error retries and one optional context fallback consume that HTTP budget, not separate author hierarchy actions.
|
||||
|
||||
Location Details shows status, candidate name/administrative context/country/coordinates and source attribution. Selecting a candidate sends its index and the observed generation, never client-supplied coordinates. Confirmed matches persist until identifying context changes or the author explicitly chooses replacement/exclusion. Authors can exclude lookup and later re-enable it; re-enabling waits for a deliberate hierarchy request.
|
||||
|
||||
## Eligibility and root reference
|
||||
|
||||
Existing database types are Country, Region, Town, Village, Street, Building, Floor, Room, Outdoor Area, Vehicle Interior, Landmark and Other. Only Country, Region, Town and Village currently qualify. The generic rule also supports State, County and City if those types already exist in another installation; it does not insert or rename types. Premises, streets and arbitrary non-geographical intermediate parents are excluded.
|
||||
|
||||
Country and administrative-root recognition uses the bundled Debian `iso-codes` ISO 3166-1/3166-2 datasets, not a UK-only coordinate gazetteer. Attribution/licensing accompany the files in `PlotLine/Data/Reference/Geography/COPYRIGHT.txt`. Update these reference snapshots from the upstream iso-codes project, review their differences and run the focused geography tests. Country names, official/common names and alpha-3 identifiers are accepted. Explicit subdivision codes and country-qualified subdivision names (for example `US-CA` or `California, US`) avoid unsafe bare-region assumptions. UK/United Kingdom and US/USA/United States aliases are supported, as are England, Scotland, Wales and Northern Ireland. Bare Georgia is deliberately excluded; use GEO for the country or US-GA for the state. Fictional roots fail closed. Incomplete/archived ancestor chains also fail closed.
|
||||
|
||||
Depth is flexible: there is no requirement to insert missing administrative levels. All available geographical ancestors are sent, with a country restriction and explicit subdivision checking when available. Production rules contain no manuscript-specific place names.
|
||||
|
||||
## Provider decision and policy
|
||||
|
||||
The initial configurable provider is **public Nominatim**, following the developer's explicit decision for a small user base and finite author-triggered hierarchy requests. No local UK gazetteer, OS Names API, map tiles or additional coordinate infrastructure is shipped.
|
||||
|
||||
The [OSMF usage policy](https://operations.osmfoundation.org/policies/nominatim/) was checked on 13 November 2026. It permits modest user-triggered searches, limits the application as a whole to at most one request per second, requires an identifying User-Agent and attribution, discourages recurring/bulk work, and restricts permissible small bulk jobs to one thread on one machine. Regular or day-long scripts have a stricter four-request-per-minute ceiling. Repeated queries must be cached. Service availability and permission can change. These limits are not a blanket approval for scaling the workload; review the provider before increasing caps or user numbers.
|
||||
|
||||
This implementation always uses the stricter 15-second interval, one designated host, one database-fenced external request at a time and a 200-request daily application cap. Retries also consume this budget. Public usage requires no API key or subscription; service capacity is donated and carries no application SLA. Data attribution is `© OpenStreetMap contributors`, with the [ODbL/copyright link](https://www.openstreetmap.org/copyright), retained with candidates and displayed in Location Details and geographical preview. The ODbL terms apply to reuse of the geographical cache; do not publish a substantial extracted database without reviewing its obligations.
|
||||
|
||||
The [Search API](https://nominatim.org/release-docs/latest/api/Search/) returns ranked matches, not a proof of uniqueness. The Nominatim adapter automatically resolves only one non-truncated candidate with an exact place-name match, matching country/subdivision, all available additional administrative ancestors represented in the response, and identifying context beyond a country-only root (an explicit subdivision root or additional matching ancestor). Multiple candidates, missing context, aliases without exact provider-name evidence and country-only queries require confirmation. A single ranking alone is insufficient. This deliberately means that the broad `United Kingdom → town` case may require confirmation; `England → town` or matching county context can resolve automatically. Other adapters must establish equivalent reliable matching rules before setting `UniqueWithinContext`. The deterministic tests cover automatic resolution and conservative ambiguity. OSM identities use `osm_type:osm_id`; Nominatim's transient numeric `place_id` is not treated as a stable identity ([output documentation](https://nominatim.org/release-docs/latest/api/Output/)).
|
||||
|
||||
Earlier OS Open Names investigation found Great Britain coverage only, OGL commercial reuse, quarterly full replacements and an API alternative with the same underlying geographical coverage. Northern Ireland must not be inferred from Great Britain coverage. This direction was superseded by the explicit Nominatim decision; no OS data/importer/provider is part of this feature.
|
||||
|
||||
## Configuration and safe disable/switch
|
||||
|
||||
Defaults keep external processing disabled. Put the following section in the deployment's watched `appsettings.Production.json` (or the applicable watched environment JSON), preserving its other settings:
|
||||
|
||||
```json
|
||||
"Geography": {
|
||||
"Enabled": false,
|
||||
"Provider": "Nominatim",
|
||||
"Endpoint": "https://nominatim.openstreetmap.org/search",
|
||||
"UserAgent": "PlotDirector/1.0 (+https://dev.plotdirector.com/)",
|
||||
"WorkerHost": "atlas",
|
||||
"MinimumIntervalSeconds": 15
|
||||
}
|
||||
```
|
||||
|
||||
Use the actual designated machine name and an identifying application/contact URL. `Enabled=true` requires a valid PlotDirector User-Agent and matching host. `Enabled=false` or a provider value other than Nominatim disables external lookup. An alternative Nominatim-compatible endpoint can be selected through the same configuration. `IOptionsMonitor` reloads watched JSON without redeployment. Environment-variable changes require a process restart, so use watched JSON when immediate disable/switch is required. HTTP redirects are disabled, and the server never exposes this configuration to browser clients. HttpClient request logging is removed for this client to prevent query URLs leaking into routine logs.
|
||||
|
||||
No external requests run during the automated tests. Public service testing must be an explicitly approved, small manual author-triggered acceptance check, not a dependency of the regression gate.
|
||||
|
||||
## Queue, cache, concurrency and privacy
|
||||
|
||||
The Locations trigger invalidates changed locations and descendants on name/type/parent/archive changes. Ordinary descriptions do not invalidate confirmed geography. Invalidation increments a generation and revokes leases; it does not submit new work. The application admits author hierarchy events after its existing project-access checks. SQL rechecks project access and generation and admits the finite subtree under a transaction and central quota lock.
|
||||
|
||||
Jobs persist across restarts. A single per-location row deduplicates work. A two-minute processing lease supports crash recovery; a 25-second HTTP timeout keeps normal calls within that lease. Provider reservations serialize all external requests across application processes, with a persistent next-request timestamp, daily budget and cross-author request-key lease. The designated-host check prevents external processing on a second machine. Persistent request-key caching prevents repeats, including empty results; no TTL refresh is scheduled. Provider/endpoint plus country/subdivision and the complete available ancestor context form the request hash. Different Newtown contexts cannot reuse coordinates based on name alone.
|
||||
|
||||
If a full hierarchy query returns no geographical match, the worker queues at most one country-scoped fallback. It uses a separate persistent cache key and passes through the same external reservation gate. Its generation-bound stage survives restart and resets automatically when identifying context changes. A relaxed-context result always requires author confirmation; geographical parentage need not match the provider's administrative boundaries.
|
||||
|
||||
Shared cache entries contain provider-returned public geographical candidates: provider/OSM identity, canonical display name, coordinates, country, administrative context, attribution and resolution time. They contain no project, account, private description, manuscript text or original hierarchy. Per-author confirmation remains on that author's Location record; an ambiguous choice by one author is not silently promoted into another author's confirmed match. Identical candidate sets may be reused, with confirmation still required.
|
||||
|
||||
Provider failures have four bounded attempts and 60/120/240/480-second backoff. Rate reservation failures defer work without consuming a provider failure. HTTP 403/429 also apply an application-wide cooldown, respecting Retry-After subject to safe bounds. No provider error body/query/credential is logged. Only bounded error-type operational events are logged. Stale completion checks both generation and lease; a confirmed coordinate cannot be overwritten by a worker.
|
||||
|
||||
## Maps
|
||||
|
||||
**Position geographically** projects resolved, unlocked location markers onto the currently visible canvas area. It uses a spherical azimuthal equidistant local projection, north up at its centre; circular longitude centring handles the antimeridian. One scale preserves aspect ratio with padding. Single/coincident points remain finite and centred; coincident places deliberately overlap. Shapes, paths, unlinked markers and locked pieces retain their serialized contents. Connected routes retain their existing behaviour of following their linked markers.
|
||||
|
||||
This is a local projection, not a claim that every pairwise spherical distance is exactly preserved. Extents beyond 15 degrees from the centre (roughly 1,650 km) are refused to avoid a misleading global arrangement. Labels and markers may overlap in dense clusters; authors can adjust them afterwards.
|
||||
|
||||
At least two distinct resolved, unlocked locations are required; a single marker is never centred and presented as a successful geographical arrangement. The actual proposed canvas is rendered inside a larger confirmation dialog, including unchanged surroundings, with north-up orientation, statuses and recovery links. The working document remains unchanged during preview. The dialog identifies moves, skipped statuses/locks and attribution. Cancel/Escape preserve the complete document. Apply adds one existing Undo/Redo checkpoint; Save uses the established map revision/permission/persistence path. No objects are deleted/recreated. Manual canvas dragging cannot alter geographical coordinates. Repositioning is always explicit.
|
||||
|
||||
## Database rollout
|
||||
|
||||
Original tables/procedures are in 253, 254, 255 and 256. Corrections 257 and 258 implement work-based accounting, detailed queue state and the bounded context fallback; apply them after 256. Apply **253, 255, 254, 256**, not a blind numeric replay. During Development qualification, 254 exposed that a new job-state label exceeded the original 24-character column; 255 is the forward-only width repair, preserving the applied scripts. 254 then completed successfully. 256 indexes the durable queue and batch-time lookup.
|
||||
|
||||
Development was verified as `PlotDirector_Development` before applying changes. A copy-only compressed CHECKSUM backup was successfully created and its nonempty container file verified at `/var/opt/mssql/backup/PlotDirector_Development_geography_20261113_142234.bak`. An additional RESTORE VERIFYONLY attempt was unavailable to the application principal (CREATE DATABASE permission); no restore was attempted. The backup is not a tested restore. Existing unrelated manuscript/Word work is preserved.
|
||||
|
||||
New per-location geography rows cascade on physical Location deletion. Shared public cache and provider-budget rows contain no private project hierarchy. The feature does not modify the existing map X/Y schema. Project backups currently do not export/import geocoding decisions; restored locations will need an explicit hierarchy request and confirmation again. Existing map canvas coordinates continue through the established map backup path.
|
||||
|
||||
## Verification commands
|
||||
|
||||
Run build and regression serially:
|
||||
|
||||
```sh
|
||||
dotnet build PlotLine.slnx
|
||||
dotnet run --project PlotLine.Tests/PlotLine.Tests.csproj
|
||||
dotnet run --project PlotLine.Tests/PlotLine.Tests.csproj -- --geography
|
||||
```
|
||||
|
||||
The normal harness includes the deterministic geography group. Development-only SQL regressions `253_LocationGeographyRegression.sql` and `254_GeographyHierarchyBatchesRegression.sql` use rollback fixtures. `--geography-database` separately verifies 16 concurrent database provider reservations, persistent cooldown and fresh-connection recovery using random synthetic provider/request identifiers, then removes only its own rows. It makes no external requests.
|
||||
|
||||
Browser tests: `maps-geography-engine.cjs`, `maps-geography.cjs`, `location-geography.cjs`, existing `maps-engine.cjs`, `maps-workspace.cjs`, `location-reparent.cjs`, and `application-pwa.cjs`. The workspace tests use the isolated Razor host (`--toolbar-browser-host`) and deterministic mocked resolutions/saves, including browser/PWA and light/dark themes. The existing Maps test screenshots were redirected to the task evidence directory because the shared `/tmp` write quota rejected screenshot output; assertions were unchanged.
|
||||
|
||||
Final execution results, deployed commit and any remaining Development acceptance work are recorded in the delivery report accompanying this document.
|
||||
18
Docs/HomeSolverInvitation/BrowserChecks.json
Normal file
@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"width": 390,
|
||||
"contrastFailures": []
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"contrastFailures": []
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"contrastFailures": []
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"contrastFailures": []
|
||||
}
|
||||
]
|
||||
48
Docs/HomeSolverInvitation/Deployment.md
Normal file
@ -0,0 +1,48 @@
|
||||
# Development deployment and owner review
|
||||
|
||||
- **Runtime commit:** `17dd4ff` — Invite Home visitors into Writing Solver and unify marketing screenshots.
|
||||
- **Development:** https://dev.plotdirector.com/
|
||||
- **Tour:** https://dev.plotdirector.com/features#plot-lines
|
||||
- **Solver:** https://dev.plotdirector.com/writing-problems
|
||||
- Production unchanged. Development remains noindex.
|
||||
|
||||
Deployment verified no active/queued import, Story Intelligence, synthesis, enrichment or core-build work, then published Release into a fresh directory. Release archive: `/srv/apps/plotdirector-dev/releases/home-solver-marketing-17dd4ff-20261102_150845`. Previous runtime backup: `/srv/apps/plotdirector-dev/current-before-home-solver-marketing-17dd4ff-20261102_150845`. Persistent configuration, App_Data, uploads and logs preserved.
|
||||
|
||||
Published/deployed `PlotLine.dll` SHA-256 matched: `0496c350118736c84c54792aecd10d8f8a49643d76f73be95ef1f0d6049a6e72`. Service active, local/public GETs returned 200 with normal TLS. No new runtime failure/error entries during post-deployment verification.
|
||||
|
||||
## Live verification
|
||||
|
||||
The live Development runtime passed:
|
||||
|
||||
- Home invitation placement, four noninteractive frustrations, keyboard focus and anonymous server-rendered CTA with JavaScript disabled.
|
||||
- Full Home/Tour image decode and canonical-theme composition checks at 390/768/1440/1920px; no horizontal overflow.
|
||||
- Tour text foreground/background contrast checks at all four widths; full desktop/mobile visual inspection. Corrected Plot Lines and the other eight small section labels.
|
||||
- Existing public visual identity checks: photography, cropping, responsive formats, intact hero/manuscript/Pricing and ten other public page types.
|
||||
- Existing clean-URL suite: all 52 diagnosis pages, personalised evidence, clean URLs, fresh sharing, Back/Forward, JS/no-JS, metadata and Development noindex.
|
||||
- Full-page image loading/performance checks: zero measured CLS at 390 and 1440px for both Home and Tour.
|
||||
|
||||
Before deployment: solution build and all **395 existing regression checks passed**; existing public-site browser suite passed for all seven application theme preferences, browser/standalone and signed-in/out presentation. No application theme behaviour changed.
|
||||
|
||||
## Transfer comparison
|
||||
|
||||
Fresh browser contexts, same live Development origin, one before/after sample per page/width, scrolling through every main-content image and awaiting decode. These are transfer observations, not a latency benchmark. Numbers include shared CSS/JS and the unchanged photographic backgrounds.
|
||||
|
||||
| Page | Width | Initial before → after | Full scroll before → after | Full reduction | CLS after |
|
||||
|---|---:|---:|---:|---:|---:|
|
||||
| Home | 390 | 1,006,414 → 778,174 B | 1,482,557 → 846,645 B | 43% | 0 |
|
||||
| Tour | 390 | 1,310,418 → 805,409 B | 1,864,219 → 869,210 B | 53% | 0 |
|
||||
| Home | 1440 | 1,199,942 → 902,037 B | 1,568,961 → 1,000,701 B | 36% | 0 |
|
||||
| Tour | 1440 | 1,399,644 → 931,001 B | 1,953,445 → 1,043,514 B | 47% | 0 |
|
||||
|
||||
[Raw before](PerformanceBefore.json), [raw after](PerformanceAfter.json), [four-width contrast results](BrowserChecks.json).
|
||||
|
||||
## Review artifacts
|
||||
|
||||
Actual deployed full Home/Tour captures and invitation details at all four widths:
|
||||
`/home/nick/.codex/artifacts/home-solver-invitation-20261102/deployed/`.
|
||||
|
||||
Tour Plot Lines before/after:
|
||||
`/home/nick/.codex/artifacts/home-solver-invitation-20261102/tour-plot-lines-before.png`
|
||||
and `tour-plot-lines-after.png` in the same directory.
|
||||
|
||||
Current assets reinforce the warm site and canonical application identity. The only deliberately dark group is clearly labelled in later Home. The manuscript setup screenshot truthfully shows book selection; no Word scan or analysis was fabricated. The 14 approved Writing Problem screenshots, diagnosis content, scoring, recommendations, routes and canonical metadata remain unchanged.
|
||||
226
Docs/HomeSolverInvitation/PerformanceAfter.json
Normal file
@ -0,0 +1,226 @@
|
||||
[
|
||||
{
|
||||
"path": "/",
|
||||
"width": 390,
|
||||
"first": {
|
||||
"cls": 0,
|
||||
"bytes": 778174
|
||||
},
|
||||
"full": {
|
||||
"cls": 0,
|
||||
"bytes": 846645,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scenes/home-mobile-480.avif",
|
||||
"encoded": 41526
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/person-fragment-640.avif",
|
||||
"encoded": 2886
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/scene-640.avif",
|
||||
"encoded": 14550
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/writing-640.avif",
|
||||
"encoded": 12793
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/calendar-640.avif",
|
||||
"encoded": 9317
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"encoded": 14201
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/knowledge-fragment-640.avif",
|
||||
"encoded": 4963
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/dark-overview-640.avif",
|
||||
"encoded": 11667
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/dark-knowledge-fragment-640.avif",
|
||||
"encoded": 2447
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/dark-plot-lines-640.avif",
|
||||
"encoded": 10983
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/features",
|
||||
"width": 390,
|
||||
"first": {
|
||||
"cls": 0,
|
||||
"bytes": 805409
|
||||
},
|
||||
"full": {
|
||||
"cls": 0,
|
||||
"bytes": 869210,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scenes/tour-mobile-480.avif",
|
||||
"encoded": 39858
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/writing-640.avif",
|
||||
"encoded": 12793
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/characters-640.avif",
|
||||
"encoded": 8739
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/series-project-640.avif",
|
||||
"encoded": 11704
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/person-fragment-640.avif",
|
||||
"encoded": 2886
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/calendar-640.avif",
|
||||
"encoded": 9317
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"encoded": 14201
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/continuity-story-state-640.avif",
|
||||
"encoded": 14041
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/character-knowledge-640.avif",
|
||||
"encoded": 11777
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/import-640.avif",
|
||||
"encoded": 8506
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/timeline-story-values-640.avif",
|
||||
"encoded": 13776
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/",
|
||||
"width": 1440,
|
||||
"first": {
|
||||
"cls": 0,
|
||||
"bytes": 902037
|
||||
},
|
||||
"full": {
|
||||
"cls": 0,
|
||||
"bytes": 1000701,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scenes/home-wide-1536.avif",
|
||||
"encoded": 127930
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/scene-960.avif",
|
||||
"encoded": 26898
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/person-fragment-960.avif",
|
||||
"encoded": 3920
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/writing-960.avif",
|
||||
"encoded": 23777
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/calendar-960.avif",
|
||||
"encoded": 16857
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-960.avif",
|
||||
"encoded": 24533
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/knowledge-fragment-960.avif",
|
||||
"encoded": 9937
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/dark-overview-960.avif",
|
||||
"encoded": 21629
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/dark-plot-lines-960.avif",
|
||||
"encoded": 19775
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/dark-knowledge-fragment-960.avif",
|
||||
"encoded": 4133
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/features",
|
||||
"width": 1440,
|
||||
"first": {
|
||||
"cls": 0,
|
||||
"bytes": 931001
|
||||
},
|
||||
"full": {
|
||||
"cls": 0,
|
||||
"bytes": 1043514,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scenes/tour-wide-1536.avif",
|
||||
"encoded": 129084
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/writing-960.avif",
|
||||
"encoded": 23777
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/series-project-960.avif",
|
||||
"encoded": 21400
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/characters-960.avif",
|
||||
"encoded": 15851
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/calendar-960.avif",
|
||||
"encoded": 16857
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/person-fragment-960.avif",
|
||||
"encoded": 3920
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-960.avif",
|
||||
"encoded": 24533
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/continuity-story-state-960.avif",
|
||||
"encoded": 24718
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/character-knowledge-960.avif",
|
||||
"encoded": 22609
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/application/import-960.avif",
|
||||
"encoded": 15223
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/timeline-story-values-960.avif",
|
||||
"encoded": 23930
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
202
Docs/HomeSolverInvitation/PerformanceBefore.json
Normal file
@ -0,0 +1,202 @@
|
||||
[
|
||||
{
|
||||
"path": "/",
|
||||
"width": 390,
|
||||
"first": {
|
||||
"cls": 0,
|
||||
"bytes": 1006414
|
||||
},
|
||||
"full": {
|
||||
"cls": 0,
|
||||
"bytes": 1482557,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scenes/home-mobile-480.avif",
|
||||
"encoded": 41526
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"encoded": 102350
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/calendar.jpg",
|
||||
"encoded": 106824
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/plot-lines.jpg",
|
||||
"encoded": 134225
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/knowledge.jpg",
|
||||
"encoded": 135156
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/workspace.jpg",
|
||||
"encoded": 98738
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/features",
|
||||
"width": 390,
|
||||
"first": {
|
||||
"cls": 0,
|
||||
"bytes": 1310418
|
||||
},
|
||||
"full": {
|
||||
"cls": 0,
|
||||
"bytes": 1864219,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scenes/tour-mobile-480.avif",
|
||||
"encoded": 39858
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"encoded": 102350
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/workspace.jpg",
|
||||
"encoded": 98738
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/characters.jpg",
|
||||
"encoded": 99210
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/calendar.jpg",
|
||||
"encoded": 106824
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/plot-lines.jpg",
|
||||
"encoded": 134225
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/continuity.jpg",
|
||||
"encoded": 80872
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/knowledge.jpg",
|
||||
"encoded": 135156
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/import.jpg",
|
||||
"encoded": 92641
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/insights.jpg",
|
||||
"encoded": 109407
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/",
|
||||
"width": 1440,
|
||||
"first": {
|
||||
"cls": 0,
|
||||
"bytes": 1199942
|
||||
},
|
||||
"full": {
|
||||
"cls": 0,
|
||||
"bytes": 1568961,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scenes/home-wide-1536.avif",
|
||||
"encoded": 127930
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"encoded": 102350
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/calendar.jpg",
|
||||
"encoded": 106824
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/plot-lines.jpg",
|
||||
"encoded": 134225
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/knowledge.jpg",
|
||||
"encoded": 135156
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/workspace.jpg",
|
||||
"encoded": 98738
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/features",
|
||||
"width": 1440,
|
||||
"first": {
|
||||
"cls": 0,
|
||||
"bytes": 1399644
|
||||
},
|
||||
"full": {
|
||||
"cls": 0,
|
||||
"bytes": 1953445,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scenes/tour-wide-1536.avif",
|
||||
"encoded": 129084
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"encoded": 102350
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/workspace.jpg",
|
||||
"encoded": 98738
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/characters.jpg",
|
||||
"encoded": 99210
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/calendar.jpg",
|
||||
"encoded": 106824
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/plot-lines.jpg",
|
||||
"encoded": 134225
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/continuity.jpg",
|
||||
"encoded": 80872
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/knowledge.jpg",
|
||||
"encoded": 135156
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/import.jpg",
|
||||
"encoded": 92641
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/insights.jpg",
|
||||
"encoded": 109407
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
46
Docs/HomeSolverInvitation/Report.md
Normal file
@ -0,0 +1,46 @@
|
||||
# Home Writing Solver invitation and canonical marketing screenshots
|
||||
|
||||
## Home invitation
|
||||
|
||||
The new section follows “Sound familiar?” and precedes “Meet PlotDirector”. The hero, manuscript composition, primary Start writing route, new public photography and the remainder of the Home sequence remain intact.
|
||||
|
||||
**Not sure what’s getting in the way?**
|
||||
|
||||
“Characters, storylines, scene order, continuity. You can feel something getting tangled without knowing what to call it.”
|
||||
|
||||
“Tell us what’s becoming difficult. We’ll help you narrow down what’s happening, what to look at next and where PlotDirector may help.”
|
||||
|
||||
Four illustrative frustrations are plain list items, not controls:
|
||||
|
||||
- I’m losing track of things
|
||||
- Something doesn’t feel right
|
||||
- Changing things causes problems elsewhere
|
||||
- There’s simply too much to manage
|
||||
|
||||
The plum **Help me find the problem →** link performs ordinary server navigation to `/writing-problems`. “No sign-up needed.” makes its anonymous availability explicit. The cream/sage example cards, plum heading, editorial serif and compact responsive grid use the public palette. The section stacks below 900px and the examples below 600px. The link has an evident keyboard focus outline. No solver logic or recommendations were changed.
|
||||
|
||||
## Tour contrast amendment
|
||||
|
||||
The public visual unification changed the Plot Lines section’s background to cream through an alternating-section rule, while the former dark section retained pale foreground variables and explicit pale olive details. The shared public visual stylesheet now pairs that section’s cream surface with dark ink/muted text and darker olive emphasis, annotation and checkmarks. Its screenshot frame also uses the warm surface.
|
||||
|
||||
The rest of the Tour was checked too. All eight other small section labels failed normal-text contrast (approximately 3.58–3.73:1). Tour labels now use `#62664f`, including on sage. Browser checks walk rendered Tour text nodes against their solid ancestor surfaces and require WCAG AA normal/large-text ratios at all four widths. Decorative/photo regions also receive visual review; this automated check is not an assertion about text baked into screenshots.
|
||||
|
||||
## Screenshot amendment
|
||||
|
||||
See [the inventory and capture report](../PublicMarketingScreenshots/Report.md). Principal Home and all Tour application screenshots now use PlotDirector. One later Home composition deliberately demonstrates Modern Dark, labelled “A different mood, still your workspace. Shown in Modern Dark.”
|
||||
|
||||
Existing angled layouts and cropped fragments remain. The common `_MarketingScreenshot` partial uses lazy AVIF/WebP 640/960/1280 variants and intrinsic dimensions. The 14 approved Solver captures and derivatives remain unchanged. No application theme or author preference code changed.
|
||||
|
||||
## Verification before deployment
|
||||
|
||||
- `dotnet build PlotLine.slnx`: passed; two existing nullable warnings on the first build, no new errors.
|
||||
- Existing executable regression harness: **395 passed**, exit 0.
|
||||
- `home-solver-marketing.cjs`: Home placement, four noninteractive examples, anonymous JavaScript-disabled CTA, keyboard focus, canonical-theme clusters, AVIF decode, full Home/Tour captures, Tour text contrast and no horizontal overflow at **390/768/1440/1920px**.
|
||||
- `public-visual-identity.cjs`: existing coordinated photos, one responsive background per page, intact hero/manuscript/Tour/Pricing structure and ten other public page types passed at all four widths.
|
||||
- `writing-solver-clean-urls.cjs`: all 52 permanent pages, personalised/private evidence, fresh sharing, Back/Forward, revised diagnosis, JS/no-JS, 390/1440, metadata/canonical/OG/schema and Development noindex passed.
|
||||
|
||||
Development deployment and measured performance are recorded in Deployment.md. Production remains unchanged.
|
||||
|
||||
## Final SEO verification amendment
|
||||
|
||||
The [52-page SEO audit](SeoAudit/Report.md) verifies the generated Production sitemap, metadata, structured identity, crawlable discovery and state exclusion. It also records the Development-only global noindex safeguard, the validation-query correction and the distinction between tested application commit and the preserved live Calendar runtime.
|
||||
1915
Docs/HomeSolverInvitation/SeoAudit/Development.json
Normal file
10
Docs/HomeSolverInvitation/SeoAudit/DevelopmentProxy.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- /var/backups/plotdirector/nginx-dev-before-solver-seo-20261102.conf 2026-07-10 18:35:36.642145185 +0000
|
||||
+++ /etc/nginx/sites-enabled/plotdirector-dev.conf 2026-11-02 16:20:21.899882455 +0000
|
||||
@@ -6,0 +7,3 @@
|
||||
+ # This Development origin must never enter a public search index.
|
||||
+ add_header X-Robots-Tag "noindex, follow" always;
|
||||
+
|
||||
@@ -13,0 +17 @@
|
||||
+ add_header X-Robots-Tag "noindex, follow" always;
|
||||
@@ -17,0 +22 @@
|
||||
+ proxy_hide_header X-Robots-Tag;
|
||||
1915
Docs/HomeSolverInvitation/SeoAudit/Production.json
Normal file
53
Docs/HomeSolverInvitation/SeoAudit/Report.md
Normal file
@ -0,0 +1,53 @@
|
||||
# Final Writing Problem Solver public SEO audit
|
||||
|
||||
Extends the completed Home/Tour task. No pages were redesigned or rewritten. No Production deployment or configuration change was made.
|
||||
|
||||
## Results
|
||||
|
||||
| Requested verification | Result |
|
||||
|---|---|
|
||||
| Permanent clean diagnosis URLs found | **52** active, index-eligible diagnoses; native publication JSON and read-only Development publication inspection agree |
|
||||
| Generated Production sitemap | **52/52** permanent diagnosis URLs; generated from `Active && Index` publication data, not a manually maintained list |
|
||||
| `/writing-problems` sitemap status | Included with indexing enabled; excluded when Solver indexing is disabled |
|
||||
| Stateful journey URLs in sitemap | **0**; every generated URL also checked for an empty query and fragment |
|
||||
| HTML titles | **52 unique, nonempty** titles |
|
||||
| Meta descriptions | **52 unique, nonempty** descriptions |
|
||||
| Canonicals | **52/52** point to `https://plotdirector.com/writing-problems/{slug}`; no state or query parameters |
|
||||
| Open Graph | **52/52** have title, description, canonical-aligned URL and a reachable social image; current architecture uses the established site social image when no page-specific image is assigned |
|
||||
| JSON-LD | **WebPage** for the entry page and all diagnoses; valid JSON, stable URL/name/description, describing the page’s authored visible subject; no artificial FAQ schema |
|
||||
| Crawlable links | Entry → browse → area → diagnosis is ordinary server-rendered anchor navigation; all 52 reached through those links with JavaScript disabled; diagnoses link to relevant feature, related problems, area and entry |
|
||||
| Production indexability | **52/52 indexable** under Production/enabled configuration, with no accidental meta/header noindex; default application switch is enabled when absent |
|
||||
| Intermediate states | Protected/invalid `?state=` and validation-only `?choose=true` use noindex and canonical `/writing-problems`; no state enters sitemap |
|
||||
| Personalised arrivals | Title, description, canonical, Open Graph and JSON-LD exactly match direct-entry identity at the same clean result URL; evidence is visible only in the private journey presentation |
|
||||
| Development | Solver meta remains noindex and its sitemap excludes all 52 plus the entry. The entire public Development origin now also sends authoritative `X-Robots-Tag: noindex, follow`, including Home, Tour, Help, XML sitemap and robots.txt |
|
||||
|
||||
The global public `WebPage` schema uses only authored metadata, not personal evidence, diagnoses inferred into schema, reviews, fictional FAQs or other unsupported claims. A separate schema node for every UI control is neither needed nor emitted. Public identities intentionally use the canonical Production host even on Development.
|
||||
|
||||
## Omissions corrected
|
||||
|
||||
1. **Development protection was Solver-specific.** `WritingSolver__EnableIndexing=false` correctly protected the Solver, but Home still emitted `index, follow` with no environmental HTTP safeguard. Added a global Development-origin header at its nginx virtual host. Upstream robots headers are hidden there so the effective public header is unambiguous. The `/health` location has its own matching header because nginx child `add_header` directives replace parent inheritance. Configuration validation and graceful nginx reload succeeded. Normal application deployments preserve this host-level protection.
|
||||
2. **Validation-only query variant.** `?choose=true` without a protected state token previously retained entry-page indexability. The controller now treats that validation flag as transient for robots purposes while retaining the clean entry canonical. Answer selection, state encoding/restoration, scoring, routes and Back/Forward logic are unchanged.
|
||||
3. Added application defence in depth for the next application release: `UseDevelopmentNoIndex()` before static files and redirects, plus environment-aware public HTML robots metadata. Production keeps the requested indexing policy; explicit state noindex remains intact in either environment.
|
||||
|
||||
No sitemap omission, duplicate permanent metadata, missing social asset or unstable structured identity was found.
|
||||
|
||||
## Runtime preservation and changes
|
||||
|
||||
Application/code/test commit: **`ad489bd`**.
|
||||
|
||||
A separate Calendar update had reached Development after the earlier Home deployment. To preserve that runtime and unrelated dirty-worktree changes, this audit **did not redeploy an older application snapshot**. Instead, the Development-only nginx safeguard was applied without restarting `plotdirector-dev`; application PID remained `105230` and DLL SHA-256 remained `1921dad305cb5d6817acb18207d6151b35745af1e8a5b2386f95e90bb5f19e2d` before/after.
|
||||
|
||||
The live application remains the independent `calendar-no-apply-7d05de9-20261102_155722` release. The new application safeguards and validation-only correction are committed/tested for its next application release; **`ad489bd` is not claimed as the live application commit**. Development’s existing Solver switch already prevents indexing of all its query variants, while the proxy now protects the entire Development origin. Production was neither deployed nor queried for private configuration.
|
||||
|
||||
Proxy backup: `/var/backups/plotdirector/nginx-dev-before-solver-seo-20261102.conf`. The exact Development-only [configuration patch](DevelopmentProxy.patch) is retained for review. Public HTTPS verification used normal TLS.
|
||||
|
||||
## Regression protection and evidence
|
||||
|
||||
- Clean isolated worktree at `ad489bd`: solution build passed, with two existing nullable warnings; **395 regression checks passed**, exit 0.
|
||||
- `WritingSolverSeoTests.AuditPublication` is called by the existing clean-URL regression check. It uses the native catalogue, real sitemap controller and real metadata generation; verifies exact eligible sets, flag/deactivation exclusion, no query/fragment URLs, entry inclusion, disabled exclusion, unique metadata, valid social files/JSON-LD, validation-only noindex and Production/Development boundary differences. Counts derive from publication/editorial data rather than hardcoding 52 sitemap entries.
|
||||
- `writing-solver-seo.cjs` audits rendered Razor documents and actual generated XML. Production mode refuses non-loopback origins. It verifies all 52, crawlable browse discovery, social image delivery, uniqueness, canonical/OG/schema identity, personalised/direct parity, invalid/valid state robots and validation-only URLs.
|
||||
- Production configuration exercised on the isolated real Razor host with indexing enabled, no database, workers or Production deployment. [Production results](Production.json).
|
||||
- Actual deployed Development audit passed all 52 and global proxy checks. [Development results](Development.json).
|
||||
- Earlier unchanged clean-URL browser suite covered Back/Forward, state restoration, revision and JS/no-JS; this stage changes only SEO policy around the validation flag.
|
||||
|
||||
For hands-on review: https://dev.plotdirector.com/writing-problems. Development is intentionally excluded from indexing, so its sitemap is not a Production sitemap preview.
|
||||
1279
Docs/Investigations/2026-11-04-word-companion-contracts.md
Normal file
@ -0,0 +1,554 @@
|
||||
{
|
||||
"database": "PlotDirector_Development",
|
||||
"access": "read-only sys.procedures/sys.sql_modules/sys.sql_expression_dependencies SELECTs",
|
||||
"authorDataRead": false,
|
||||
"procedures": [
|
||||
{
|
||||
"procedure": "ManuscriptDocument_GetByBook",
|
||||
"definitionSha256": "4fff8c8f101b220c2c029ca7b5a9636f323e1b0ef247f0d389554b1a40d17106",
|
||||
"latestDirectSource": "PlotLine/Sql/094_Phase16B_ManuscriptBindingLinkedStructures.sql",
|
||||
"sourceLine": 87,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "ManuscriptDocument_GetByGuid",
|
||||
"definitionSha256": "4dac77a1eea03100e6fa7c36e3a9bdefb799aa394b4320bd3e221240b639c72d",
|
||||
"latestDirectSource": "PlotLine/Sql/094_Phase16B_ManuscriptBindingLinkedStructures.sql",
|
||||
"sourceLine": 109,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "ManuscriptDocument_Save",
|
||||
"definitionSha256": "e3b386fad5b804367578a06995c4268d080e9c0dba821a29544c2fce142d94ca",
|
||||
"latestDirectSource": "PlotLine/Sql/094_Phase16B_ManuscriptBindingLinkedStructures.sql",
|
||||
"sourceLine": 131,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"ManuscriptDocument_GetByBook",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "ManuscriptDocument_UnlinkBook",
|
||||
"definitionSha256": "dc021845a41abc62fc19e126af9194ee0d961ec258dc46e56b72598cbbc6d673",
|
||||
"latestDirectSource": "PlotLine/Sql/108_Phase16Q_ManuscriptUnlink.sql",
|
||||
"sourceLine": 6,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"Scenes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "ManuscriptDocument_UpdateLastOpened",
|
||||
"definitionSha256": "e745b1f87c565218921587af1a823e4f63e0ecdad42d6c842d1fc3630351c0cf",
|
||||
"latestDirectSource": "PlotLine/Sql/094_Phase16B_ManuscriptBindingLinkedStructures.sql",
|
||||
"sourceLine": 206,
|
||||
"directReferencedEntities": [
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "ManuscriptDocument_UpdateLastSync",
|
||||
"definitionSha256": "8e4acb989910d3d89f5a1770bcb8870a5a9dfbf6c317690c29cadc2bedcebde4",
|
||||
"latestDirectSource": "PlotLine/Sql/094_Phase16B_ManuscriptBindingLinkedStructures.sql",
|
||||
"sourceLine": 188,
|
||||
"directReferencedEntities": [
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "ManuscriptStructuralChapterSource_Save",
|
||||
"definitionSha256": "85ea7ee2945eea4c684a600560c4e7f2efa1e2e7d83c92278b0b461b2b6922d0",
|
||||
"latestDirectSource": "PlotLine/Sql/166_Phase26B_StructuralPovAudit.sql",
|
||||
"sourceLine": 18,
|
||||
"directReferencedEntities": [],
|
||||
"dependencyMetadata": "Not requested for these two supplementary source writers; source path inspected."
|
||||
},
|
||||
{
|
||||
"procedure": "Onboarding_ManuscriptBuild_Create",
|
||||
"definitionSha256": "0abfdf21345b8a4e3489b8f0b01f105ad6107f909256d49deb15c877517a88a3",
|
||||
"latestDirectSource": "PlotLine/Sql/162_Phase25G_CoreImportSceneTitles.sql",
|
||||
"sourceLine": 71,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"Characters",
|
||||
"ManuscriptDocuments",
|
||||
"OnboardingManuscriptBuildChapterMap",
|
||||
"OnboardingManuscriptBuildCharacterMap",
|
||||
"OnboardingManuscriptBuildSceneMap",
|
||||
"OnboardingManuscriptBuilds",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"RevisionStatuses",
|
||||
"SceneWorkflow",
|
||||
"Scenes",
|
||||
"TimeConfidences",
|
||||
"TimeModes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "Onboarding_ManuscriptBuild_GetByPreview",
|
||||
"definitionSha256": "756c8fe193c23405e31471f2db91816c40ef08978e98514a53e7708171999825",
|
||||
"latestDirectSource": "PlotLine/Sql/158_Phase25C_OnboardingMarkerSaveStates.sql",
|
||||
"sourceLine": 6,
|
||||
"directReferencedEntities": [
|
||||
"OnboardingManuscriptBuildChapterMap",
|
||||
"OnboardingManuscriptBuildCharacterMap",
|
||||
"OnboardingManuscriptBuildSceneMap",
|
||||
"OnboardingManuscriptBuilds"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "Onboarding_ManuscriptBuild_MarkerSyncCompleted",
|
||||
"definitionSha256": "33a289443a0f523b04af5e954c882d100d353cb23216e0218bdc4cc7a8209fd0",
|
||||
"latestDirectSource": "PlotLine/Sql/158_Phase25C_OnboardingMarkerSaveStates.sql",
|
||||
"sourceLine": 52,
|
||||
"directReferencedEntities": [
|
||||
"OnboardingManuscriptBuilds"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "Onboarding_ManuscriptBuild_MarkerSyncFailed",
|
||||
"definitionSha256": "0dc3239f6cff24d3e4b3590165f7f7bb4babaa22eb0d36ac5f326344ac975c5e",
|
||||
"latestDirectSource": "PlotLine/Sql/158_Phase25C_OnboardingMarkerSaveStates.sql",
|
||||
"sourceLine": 95,
|
||||
"directReferencedEntities": [
|
||||
"OnboardingManuscriptBuilds"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "Onboarding_ManuscriptBuild_MarkerSyncSent",
|
||||
"definitionSha256": "699a7433d1389ff3039f96a5ef8096455f32ff036aefccdd94e64893017e9b7c",
|
||||
"latestDirectSource": "PlotLine/Sql/149_Phase24_StructuralImportMarkerSync.sql",
|
||||
"sourceLine": 63,
|
||||
"directReferencedEntities": [
|
||||
"OnboardingManuscriptBuilds"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "Onboarding_ManuscriptBuild_MarkerSyncUserSaveRequired",
|
||||
"definitionSha256": "4aa790e55758f9cf2b5e3da374eec22eeff19e6c43acc28a799b023a74a769d5",
|
||||
"latestDirectSource": "PlotLine/Sql/158_Phase25C_OnboardingMarkerSaveStates.sql",
|
||||
"sourceLine": 78,
|
||||
"directReferencedEntities": [
|
||||
"OnboardingManuscriptBuilds"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "SceneManuscriptSource_GetByScene",
|
||||
"definitionSha256": "16a7be303dbcc2f8750946f3d350070e33066e1f7d9e5ba471ebb9dd83d95443",
|
||||
"latestDirectSource": "PlotLine/Sql/150_Phase24B_SceneManuscriptSources.sql",
|
||||
"sourceLine": 83,
|
||||
"directReferencedEntities": []
|
||||
},
|
||||
{
|
||||
"procedure": "SceneManuscriptSource_ListByBook",
|
||||
"definitionSha256": "9f186fbd3764dc41792b7dccfc2ff929b297d26b5d82df216b3bb2907751b823",
|
||||
"latestDirectSource": "PlotLine/Sql/167_Phase26C_CanonicalStoryIntelligenceContext.sql",
|
||||
"sourceLine": 113,
|
||||
"directReferencedEntities": []
|
||||
},
|
||||
{
|
||||
"procedure": "SceneManuscriptSource_ListByChapter",
|
||||
"definitionSha256": "5d43db5dd371b6a819c0cbebf82581ec5a0cf1759568dc7552923aea5769b47a",
|
||||
"latestDirectSource": "PlotLine/Sql/167_Phase26C_CanonicalStoryIntelligenceContext.sql",
|
||||
"sourceLine": 94,
|
||||
"directReferencedEntities": []
|
||||
},
|
||||
{
|
||||
"procedure": "SceneManuscriptSource_Save",
|
||||
"definitionSha256": "4aed700cee173b7901399e48359d2eb7ec0dfe17ebf688ecf3b26e4b133af317",
|
||||
"latestDirectSource": "PlotLine/Sql/150_Phase24B_SceneManuscriptSources.sql",
|
||||
"sourceLine": 36,
|
||||
"directReferencedEntities": []
|
||||
},
|
||||
{
|
||||
"procedure": "SceneStructuralSummary_Save",
|
||||
"definitionSha256": "d659d76acb54801b5e1fe5b67a8fb265b422e349cf07ebe43b23724b87ce5119",
|
||||
"latestDirectSource": "PlotLine/Sql/167_Phase26C_CanonicalStoryIntelligenceContext.sql",
|
||||
"sourceLine": 10,
|
||||
"directReferencedEntities": [],
|
||||
"dependencyMetadata": "Not requested for these two supplementary source writers; source path inspected."
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Book_Create",
|
||||
"definitionSha256": "b1f1a1f8419cb879ed6e36b6c36a4fe3a6ee1af0d8bebb7d6979c87986862947",
|
||||
"latestDirectSource": "PlotLine/Sql/095_Phase16C_WordCompanionFirstRunImport.sql",
|
||||
"sourceLine": 30,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"ProjectUserAccess",
|
||||
"Projects"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Book_ListByProject",
|
||||
"definitionSha256": "b5ac863078d631d4dbbfa690aa5f9990d0f31957ef06d67089f079d19ca3953e",
|
||||
"latestDirectSource": "PlotLine/Sql/109_DropdownListOrderingConsistency.sql",
|
||||
"sourceLine": 140,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"ProjectUserAccess",
|
||||
"Projects"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Book_Structure",
|
||||
"definitionSha256": "d941472b2fcc82a19d566a7cfe4b5ed6b3ef3b043d8a66ebc0b829c511b857bb",
|
||||
"latestDirectSource": "PlotLine/Sql/109_DropdownListOrderingConsistency.sql",
|
||||
"sourceLine": 171,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"RevisionStatuses",
|
||||
"SceneWorkflow",
|
||||
"Scenes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Chapter_Create",
|
||||
"definitionSha256": "2ac072e2a516db1cc8efbd0be65db05a098aaf25c0656dabcd05fdf0c769b078",
|
||||
"latestDirectSource": "PlotLine/Sql/064_Phase10K_WordCompanionChapterCreateLink.sql",
|
||||
"sourceLine": 37,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"RevisionStatuses"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Chapter_List",
|
||||
"definitionSha256": "e6863453597b1a1e933bcd62037539b88f7c7928302b73243d552e295f8f626e",
|
||||
"latestDirectSource": "PlotLine/Sql/109_DropdownListOrderingConsistency.sql",
|
||||
"sourceLine": 215,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ProjectUserAccess",
|
||||
"Projects"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Character_CreateDiscovered",
|
||||
"definitionSha256": "3489f823497e3af23d0726ea0dcbc71807465d30024cbe1239824a7919a3b742",
|
||||
"latestDirectSource": "PlotLine/Sql/096_Phase16D_WordCompanionCharacterDiscovery.sql",
|
||||
"sourceLine": 27,
|
||||
"directReferencedEntities": [
|
||||
"Characters",
|
||||
"ProjectUserAccess",
|
||||
"Projects"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Manuscript_Analyse",
|
||||
"definitionSha256": "e4a9d6951dbb5d5e9f6f459a42441596825202607afd336cbddc65fa0fec3b36",
|
||||
"latestDirectSource": "PlotLine/Sql/095_Phase16C_WordCompanionFirstRunImport.sql",
|
||||
"sourceLine": 72,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"Scenes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Manuscript_Import",
|
||||
"definitionSha256": "3b4fe8af9741365a1fd39fdb2157565c850565f439ef818248735d63d77600c3",
|
||||
"latestDirectSource": "PlotLine/Sql/219_WordManuscriptImportCurrentSceneModel.sql",
|
||||
"sourceLine": 5,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"RevisionStatuses",
|
||||
"SceneWorkflow",
|
||||
"Scenes",
|
||||
"TimeConfidences",
|
||||
"TimeModes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Manuscript_Sync",
|
||||
"definitionSha256": "7c2ef7111ae024d65d5c38111b7fe560fc77493b728584070d5ae87646c95bbf",
|
||||
"latestDirectSource": "PlotLine/Sql/057_Phase10A_WordCompanionApiFoundation.sql",
|
||||
"sourceLine": 378,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"RevisionStatuses",
|
||||
"WordCompanion_Scene_Sync"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Project_HasAccess",
|
||||
"definitionSha256": "96c4ff5e10756f2212306add419aae4ce7ce288d96612dd9fef23b01aea75352",
|
||||
"latestDirectSource": "PlotLine/Sql/096_Phase16D_WordCompanionCharacterDiscovery.sql",
|
||||
"sourceLine": 6,
|
||||
"directReferencedEntities": [
|
||||
"ProjectUserAccess",
|
||||
"Projects"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Project_List",
|
||||
"definitionSha256": "c01a7b00ec465b899f8a0ae39949afca730ef15f881ba87e1a8275cd090aa4fc",
|
||||
"latestDirectSource": "PlotLine/Sql/057_Phase10A_WordCompanionApiFoundation.sql",
|
||||
"sourceLine": 38,
|
||||
"directReferencedEntities": [
|
||||
"ProjectUserAccess",
|
||||
"Projects"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Runtime_AssetAlias_List",
|
||||
"definitionSha256": "4b24c1fcef8efb440c78707de7de027a77f119a196732a632b7b1c506cbdecef",
|
||||
"latestDirectSource": "PlotLine/Sql/103_Phase16K_WordCompanionAssetSuggestions.sql",
|
||||
"sourceLine": 34,
|
||||
"directReferencedEntities": [
|
||||
"AssetAliases",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"StoryAssets"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Runtime_AssetSuggestions_Create",
|
||||
"definitionSha256": "97d57a68e6d6c7efbb393a60024f5a551fa9d95d2e47dcb02648b79d642272e7",
|
||||
"latestDirectSource": "PlotLine/Sql/103_Phase16K_WordCompanionAssetSuggestions.sql",
|
||||
"sourceLine": 86,
|
||||
"directReferencedEntities": [
|
||||
"AssetCustodyEvents",
|
||||
"AssetEvents",
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"SceneAssetLocations",
|
||||
"SceneAssetSuggestions",
|
||||
"Scenes",
|
||||
"StoryAssets"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Runtime_CharacterAlias_List",
|
||||
"definitionSha256": "93f0efe53bc1965e44f3e446c0c35bae71404ce61c5ade901af2d96c7011d989",
|
||||
"latestDirectSource": "PlotLine/Sql/098_Phase16H_WordCompanionCharacterSuggestions.sql",
|
||||
"sourceLine": 34,
|
||||
"directReferencedEntities": [
|
||||
"CharacterAliases",
|
||||
"Characters",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Runtime_CharacterSuggestions_Create",
|
||||
"definitionSha256": "8b4ed2a93c672e403638e9cd53b49c63662f3be5be69a4476d28077003ab6803",
|
||||
"latestDirectSource": "PlotLine/Sql/100_Phase16I_WordCompanionCharacterSuggestionReview.sql",
|
||||
"sourceLine": 182,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"Characters",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"SceneCharacterSuggestions",
|
||||
"SceneCharacters",
|
||||
"Scenes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Runtime_CurrentScene_Validate",
|
||||
"definitionSha256": "80515bd99d2a9d49a071df4b99e889739c305fd9dc6e3d5215de21cd5e945ab2",
|
||||
"latestDirectSource": "PlotLine/Sql/102_Phase16J_FixFollowSceneEditUrl.sql",
|
||||
"sourceLine": 6,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"Scenes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Runtime_LocationAlias_List",
|
||||
"definitionSha256": "990705099d881a65840141c2aca2a647de3deb574642ced1fd039e9cadfba3b6",
|
||||
"latestDirectSource": "PlotLine/Sql/105_Phase16M_LocationDetectionMetadata.sql",
|
||||
"sourceLine": 116,
|
||||
"directReferencedEntities": [
|
||||
"LocationAliases",
|
||||
"LocationPaths",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Runtime_LocationSuggestions_Create",
|
||||
"definitionSha256": "d147ab64069c2e14a53b430d39e3559883121a2a8053ed742f2abfbaf500d011",
|
||||
"latestDirectSource": "PlotLine/Sql/106_Phase16N_WordCompanionLocationSuggestions.sql",
|
||||
"sourceLine": 39,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"Locations",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"SceneLocationSuggestions",
|
||||
"Scenes",
|
||||
"WordCompanionSceneLocations"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Runtime_SceneWordCount_Update",
|
||||
"definitionSha256": "efa29edec164079f630d4a279ba1be554e3c97b96197d1958e6c8f192fac24da",
|
||||
"latestDirectSource": "PlotLine/Sql/097_Phase16F_WordCompanionRuntimeSceneWordCountSync.sql",
|
||||
"sourceLine": 1,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ManuscriptDocuments",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"SceneWorkflow",
|
||||
"Scenes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_SceneLinks_Update",
|
||||
"definitionSha256": "639a0a3ff12c83272173633bc5aca0828242dec9ce6e0e32f23a2b7a959bda87",
|
||||
"latestDirectSource": "PlotLine/Sql/061_Phase10H2_WordCompanionSceneLinksRealSceneData.sql",
|
||||
"sourceLine": 70,
|
||||
"directReferencedEntities": [
|
||||
"AssetEventTypes",
|
||||
"AssetEvents",
|
||||
"Books",
|
||||
"Chapters",
|
||||
"Characters",
|
||||
"Locations",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"SceneAssetLocations",
|
||||
"SceneCharacters",
|
||||
"Scenes",
|
||||
"StoryAssets"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Scene_Companion",
|
||||
"definitionSha256": "f951b46cc0e85af6ccebb935b98b5494a133fa11e30f5a52a676e8841f45e5e8",
|
||||
"latestDirectSource": "PlotLine/Sql/061_Phase10H2_WordCompanionSceneLinksRealSceneData.sql",
|
||||
"sourceLine": 6,
|
||||
"directReferencedEntities": [
|
||||
"AssetEvents",
|
||||
"Books",
|
||||
"Chapters",
|
||||
"Characters",
|
||||
"Locations",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"SceneAssetLocations",
|
||||
"SceneCharacters",
|
||||
"SceneWorkflow",
|
||||
"Scenes",
|
||||
"StoryAssets"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Scene_Create",
|
||||
"definitionSha256": "8096e7d655129fec11d9c5da919399970fe545ba3e0837bff38115e47901c890",
|
||||
"latestDirectSource": "PlotLine/Sql/062_Phase10J_WordCompanionSceneCreateLink.sql",
|
||||
"sourceLine": 6,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"RevisionStatuses",
|
||||
"SceneWorkflow",
|
||||
"Scenes",
|
||||
"TimeConfidences",
|
||||
"TimeModes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Scene_Resolve",
|
||||
"definitionSha256": "b8a84526ac3eabf2ca7e04ca298fed7dc2453f2deeb383e556f037583517d84d",
|
||||
"latestDirectSource": "PlotLine/Sql/063_Phase10J_UnmatchedSceneChapterDiagnostics.sql",
|
||||
"sourceLine": 6,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"Scenes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Scene_Sync",
|
||||
"definitionSha256": "980446d95b750d57f01c5e7041aa09867fae20c2f178c60305083dcd2be709fb",
|
||||
"latestDirectSource": "PlotLine/Sql/057_Phase10A_WordCompanionApiFoundation.sql",
|
||||
"sourceLine": 287,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"RevisionStatuses",
|
||||
"SceneWorkflow",
|
||||
"Scenes",
|
||||
"TimeConfidences",
|
||||
"TimeModes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"procedure": "WordCompanion_Scene_UpdateWordCount",
|
||||
"definitionSha256": "a07aa6f5cd896ba215caada9c4bf7b010d5c94c3203f8f648ea6eb7424461546",
|
||||
"latestDirectSource": "PlotLine/Sql/059_Phase10F_WordCompanionSceneProgressSync.sql",
|
||||
"sourceLine": 1,
|
||||
"directReferencedEntities": [
|
||||
"Books",
|
||||
"Chapters",
|
||||
"ProjectUserAccess",
|
||||
"Projects",
|
||||
"SceneWorkflow",
|
||||
"Scenes"
|
||||
]
|
||||
}
|
||||
],
|
||||
"caveat": "Latest direct source definitions may be superseded by dynamic SQL patches; live definition hash is authoritative for this inspection. Dependency metadata does not expand dynamic SQL or application-mediated calls."
|
||||
}
|
||||
30
Docs/Investigations/2026-11-04-word-companion-http-api.csv
Normal file
@ -0,0 +1,30 @@
|
||||
Verb,Route,ControllerAction,Parameters,ServiceMethod,ControllerLine
|
||||
GET,/api/word-companion/projects,GetProjects,,ListProjectsAsync,21
|
||||
GET,/api/word-companion/projects/{projectId:int}/books,GetBooks,int projectId,ListBooksAsync,24
|
||||
POST,/api/word-companion/projects/{projectId:int}/books,CreateBook,"int projectId, WordCompanionCreateBookRequest request",CreateBookAsync,31
|
||||
GET,/api/word-companion/books/{bookId:int}/structure,GetBookStructure,int bookId,GetBookStructureAsync,38
|
||||
GET,/api/word-companion/books/{bookId:int}/chapters,GetChapters,int bookId,ListChaptersAsync,45
|
||||
POST,/api/word-companion/books/{bookId:int}/resolve-scene,ResolveScene,"int bookId, WordCompanionResolveSceneRequest request",ResolveSceneAsync,52
|
||||
GET,/api/word-companion/scenes/{sceneId:int}/companion,GetSceneCompanion,int sceneId,GetSceneCompanionAsync,64
|
||||
POST,/api/word-companion/books/{bookId:int}/chapters,CreateChapter,"int bookId, WordCompanionCreateChapterRequest request",CreateChapterAsync,71
|
||||
POST,/api/word-companion/books/{bookId:int}/chapters/{chapterId:int}/scenes,CreateScene,"int bookId, int chapterId, WordCompanionCreateSceneRequest request",CreateSceneAsync,78
|
||||
POST,/api/word-companion/books/{bookId:int}/sync-scene,SyncScene,"int bookId, WordCompanionSyncSceneRequest request",SyncSceneAsync,85
|
||||
POST,/api/word-companion/books/{bookId:int}/sync-manuscript,SyncManuscript,"int bookId, WordCompanionSyncManuscriptRequest request",SyncManuscriptAsync,92
|
||||
PUT,/api/word-companion/scenes/{sceneId:int}/links,UpdateSceneLinks,"int sceneId, WordCompanionUpdateSceneLinksRequest request",UpdateSceneLinksAsync,99
|
||||
PATCH,/api/word-companion/scenes/{sceneId:int}/word-count,UpdateWordCount,"int sceneId, WordCompanionUpdateWordCountRequest request",UpdateWordCountAsync,106
|
||||
GET,/api/word-companion/runtime/book/{bookId:int},GetRuntimeBook,"int bookId, [FromQuery] Guid documentGuid",GetRuntimeBookAsync,113
|
||||
POST,/api/word-companion/runtime/scene-word-count,UpdateRuntimeSceneWordCount,WordCompanionRuntimeSceneWordCountRequest request,UpdateRuntimeSceneWordCountAsync,120
|
||||
POST,/api/word-companion/runtime/current-scene,UpdateRuntimeCurrentScene,WordCompanionRuntimeCurrentSceneRequest request,ValidateRuntimeCurrentSceneAsync,127
|
||||
GET,/api/word-companion/runtime/characters,GetRuntimeCharacters,"[FromQuery] int projectId, [FromQuery] Guid documentGuid",ListRuntimeCharacterAliasesAsync,173
|
||||
POST,/api/word-companion/runtime/character-suggestions,CreateRuntimeCharacterSuggestions,WordCompanionRuntimeCharacterSuggestionsRequest request,CreateRuntimeCharacterSuggestionsAsync,180
|
||||
GET,/api/word-companion/runtime/assets,GetRuntimeAssets,"[FromQuery] int projectId, [FromQuery] Guid documentGuid",ListRuntimeAssetAliasesAsync,187
|
||||
POST,/api/word-companion/runtime/asset-suggestions,CreateRuntimeAssetSuggestions,WordCompanionRuntimeAssetSuggestionsRequest request,CreateRuntimeAssetSuggestionsAsync,194
|
||||
GET,/api/word-companion/runtime/locations,GetRuntimeLocations,"[FromQuery] int projectId, [FromQuery] Guid documentGuid",ListRuntimeLocationAliasesAsync,201
|
||||
POST,/api/word-companion/runtime/location-suggestions,CreateRuntimeLocationSuggestions,WordCompanionRuntimeLocationSuggestionsRequest request,CreateRuntimeLocationSuggestionsAsync,208
|
||||
GET,/api/word-companion/manuscript/book/{bookId:int},GetManuscriptForBook,int bookId,GetManuscriptForBookAsync,215
|
||||
POST,/api/word-companion/manuscript/link,LinkManuscript,WordCompanionManuscriptLinkRequest request,LinkManuscriptAsync,222
|
||||
POST,/api/word-companion/manuscript/unlink,UnlinkManuscript,WordCompanionManuscriptUnlinkRequest request,UnlinkManuscriptAsync,229
|
||||
POST,/api/word-companion/manuscript/analyse,AnalyseManuscript,WordCompanionManuscriptAnalyseRequest request,AnalyseManuscriptAsync,236
|
||||
POST,/api/word-companion/manuscript/import,ImportManuscript,WordCompanionManuscriptImportRequest request,ImportManuscriptAsync,243
|
||||
POST,/api/word-companion/manuscript/discover-characters,DiscoverCharacters,WordCompanionDiscoverCharactersRequest request,DiscoverCharacterCandidatesAsync,257
|
||||
POST,/api/word-companion/manuscript/create-discovered-characters,CreateDiscoveredCharacters,WordCompanionCreateDiscoveredCharactersRequest request,CreateDiscoveredCharactersAsync,264
|
||||
|
582
Docs/Investigations/2026-11-04-word-companion-investigation.md
Normal file
@ -0,0 +1,582 @@
|
||||
# PlotDirector Word Companion: technical investigation
|
||||
|
||||
Investigation date: 4 November 2026. Source baseline: `d0ed7d7c3b6c5f58f34bfaf64043dded5b486e90`, `/srv/repos/PlotDirector`. Investigation only: application code, database data/schema and deployment were not changed. New documentation is the sole repository change.
|
||||
|
||||
## 1. Executive summary
|
||||
|
||||
The current Companion is an Office.js task pane, not a native desktop process. The separate `PlotDirector.WordCompanion/` directory supplies its manifest and manifest renderer; nearly all behaviour runs in PlotDirector's hosted `word-companion-host.js` (6,635 lines). It uses same-origin cookie-authenticated HTTP for project data and runtime scene notifications, and one ASP.NET Core SignalR hub for presence, browser-window coordination and browser-led manuscript onboarding.
|
||||
|
||||
**Preserve Context and Intent as independent browser/PWA windows.** They combine canonical scene/chapter data with live Word position, per-window roles, per-book named windows, focus requests and display preferences. They are not mere task-pane tabs. They can remain server-rendered screens under a VSTO migration. The native component should not need to duplicate their rendering or story-domain logic.
|
||||
|
||||
**Word owns prose, but current “sync” does not continuously upload prose.** Older task-pane first-run import uploads structure/counts; browser-led Core Import uploads chapter text and paragraph provenance and then persists scene sources. Routine scene sync updates a word count and timestamps; runtime entity detection sends matched IDs, not prose. No implemented general server-to-Word prose writer or cursor-navigation command was found. Server-initiated Word writes are structural marker instructions. Browser manual selection updates the current browser's story-position event, not Word's selection.
|
||||
|
||||
**A native port alone will not resolve protocol weaknesses.** Presence has one effective Word connection per user; follow messages omit document/session identity and ordering; marker completion methods lack build ownership validation; paragraph-index mapping can become stale; delayed browser responses can display an older scene. These must be design inputs rather than compatibility requirements to preserve unchanged.
|
||||
|
||||
**Architecture recommendation:** retain the server/domain/browser system, replace the Word adapter, and design the transport behind an interface. Prefer the simpler in-process asynchronous design unless a measured prototype establishes a need for an agent. An agent has a strong possible justification for a modern .NET runtime, durable offline work and independent restart; it does not make Word COM extraction thread-safe or inherently faster. Classic VSTO remains a .NET Framework component, so the proposed all-C# solution crosses a runtime boundary if the agent uses modern .NET. This is a proposed direction, not an existing capability. See sections 10–13.
|
||||
|
||||
### Evidence and deliverable index
|
||||
|
||||
- [HTTP API inventory: all 29 controller actions](2026-11-04-word-companion-http-api.csv).
|
||||
- [Public DTO/property inventory](2026-11-04-word-companion-contracts.md): API, presence, workspace and scan models; exact source declarations remain authoritative.
|
||||
- [Development metadata evidence](2026-11-04-word-companion-database-evidence.json): 43 live procedure definition hashes, source candidates and dependency metadata; no author/manuscript rows.
|
||||
- [Feature-by-feature migration matrix](2026-11-04-word-companion-migration.csv).
|
||||
- This report contains architecture, live-follow, Context, Intent, multi-screen and onboarding sequence diagrams.
|
||||
|
||||
Evidence labels: **source-confirmed** means reachable implementation was inspected; **isolated reproduction** executes the actual JavaScript with local deterministic substitutes and no network/Word/DB writes; **platform documentation** is externally verified Microsoft guidance; **inference/proposal** is explicitly identified. Source inspection establishes code behaviour, not successful operation on every Word host. Existing tests were inspected, not rerun against live data. No Windows Word/VSTO runtime, real signed-in Office task pane or author manuscript was available. No production host/database was accessed. Only Development schema/procedure metadata was queried, after `DB_NAME()` verification.
|
||||
|
||||
## 2. Current architecture and responsibility boundaries
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
subgraph Word[Microsoft Word and its document]
|
||||
Manifest[Office manifest: Home ribbon button]
|
||||
Pane[Hosted task pane: Office.js adapter and UI]
|
||||
Document[Body paragraphs, controls/bookmarks, add-in settings]
|
||||
Manifest -->|ShowTaskpane: /word-companion| Pane
|
||||
Pane <-->|Word.run, context.sync, selection event; marker/settings writes| Document
|
||||
end
|
||||
subgraph Browser[Browser / PWA windows]
|
||||
Onboarding[Import setup, review and save confirmation]
|
||||
Launcher[Writer launcher and display preferences]
|
||||
Context[Context screen]
|
||||
Intent[Intent screen]
|
||||
end
|
||||
subgraph Server[ASP.NET Core PlotDirector]
|
||||
Account[Account login and PlotLine.Auth cookie]
|
||||
API[WordCompanionController: 29 HTTP actions]
|
||||
Hub[WordCompanionFollowHub]
|
||||
Presence[Singleton Word/window presence and scan store]
|
||||
Core[WordCompanionService / OnboardingService]
|
||||
Screens[WritingController and story/workflow/map services]
|
||||
SQL[Dapper repositories and stored procedures]
|
||||
AI[Chapter structure / Core Import processing]
|
||||
end
|
||||
DB[(SQL Server)]
|
||||
Pane -->|same-origin cookie HTTP| API
|
||||
Pane <-->|SignalR: registration, scans, marker commands| Hub
|
||||
Pane -.->|window.open: scoped URLs| Launcher
|
||||
Pane -.->|window.open| Context
|
||||
Pane -.->|window.open| Intent
|
||||
Onboarding <-->|SignalR scan/build/progress| Hub
|
||||
Onboarding -->|review HTTP forms| Core
|
||||
Launcher <-->|window roles, heartbeats, focus| Hub
|
||||
Context <-->|follow connection + role connection| Hub
|
||||
Intent <-->|follow connection + role connection| Hub
|
||||
Context -->|GET full page / scene fragment| Screens
|
||||
Intent -->|GET full page / chapter or scene fragment| Screens
|
||||
API --> Core
|
||||
API -->|validated position; user-group event| Hub
|
||||
API --> Presence
|
||||
Hub --> Presence
|
||||
Hub --> Core
|
||||
Core --> AI
|
||||
Core --> SQL
|
||||
Screens --> SQL
|
||||
SQL --> DB
|
||||
Account -.->|separate browser/webview cookie contexts may apply| Pane
|
||||
Account -.-> Browser
|
||||
```
|
||||
|
||||
Dashed opening/authentication edges describe the code's browser calls and session dependency; native Word-to-browser activation is not proven by a desktop run. There is no existing local agent, IPC service, token broker or VSTO project in the inspected source. The only other similarly named checkout found was `PlotDirector-seo-verification`, not a separate Companion implementation. No additional Companion repository was supplied; externally installed manifests, Office tenant deployment settings, Windows registry/install state and production configuration are evidence gaps.
|
||||
|
||||
| Component | Actual responsibility and source |
|
||||
|---|---|
|
||||
| Add-in shell | [manifest.template.xml](../../PlotDirector.WordCompanion/manifest.template.xml), generated [manifest.xml](../../PlotDirector.WordCompanion/manifest.xml): fixed add-in ID `7e97f8e8-49ce-4a5d-99cc-5447a460a27f`, version `1.0.0.0`, host `Document`, Home-tab PlotDirector group, one **Open PlotDirector Companion** button using ShowTaskpane. ReadWriteDocument permission. FunctionFile is the same hosted URL; no separate ExecuteFunction command implementation. No explicit Word requirement-set minimum in this manifest. |
|
||||
| Manifest tooling | [render-manifest.js](../../PlotDirector.WordCompanion/scripts/render-manifest.js) substitutes escaped config; package has only manifest build/validation tooling, `office-addin-manifest` dev dependency. Do not run `npm run validate` in a strict read-only inspection: it regenerates the manifest. |
|
||||
| Environment selection | [config/development.json](../../PlotDirector.WordCompanion/config/development.json) and checked-in manifest actually name `https://plotdirector.com`, **not** `https://dev.plotdirector.com`. This is confirmed configuration, not proof of the currently installed add-in's target. A Development deployment does not prove that Word's installed manifest uses it. |
|
||||
| Hosted task pane | [WordCompanionHostController.Index](../../PlotLine/Controllers/WordCompanionHostController.cs#L16), [Index.cshtml](../../PlotLine/Views/WordCompanionHost/Index.cshtml): anonymous shell/sign-in link, authenticated feature UI, no main application layout; Office.js hosted CDN and SignalR JS 8.0.7 CDN. Host version label is `20C`, independent of manifest/package versions. |
|
||||
| Word adapter and task-pane state | [word-companion-host.js](../../PlotLine/wwwroot/js/word-companion-host.js): Word access, parsers, marker maintenance, matching, imports, UI, runtime snapshots, entity detection and network orchestration in one closure. Tabs: Scene, Review, Maintenance, Diagnostics. |
|
||||
| HTTP service boundary | [WordCompanionController](../../PlotLine/Controllers/WordCompanionController.cs), [WordCompanionService](../../PlotLine/Services/WordCompanionService.cs), [WordCompanionRepository](../../PlotLine/Data/WordCompanionRepository.cs); structured DTOs in [WordCompanionApiModels](../../PlotLine/Models/WordCompanionApiModels.cs). Services enforce positive IDs/limits and subscriptions; SQL checks project access and document linkage. |
|
||||
| SignalR | [WordCompanionFollowHub](../../PlotLine/Hubs/WordCompanionFollowHub.cs); registration in [Program.cs](../../PlotLine/Program.cs#L346), one route `/hubs/word-companion-follow`, `[Authorize]`. Relevant web clients: host, `word-companion-presence.js`, `writing-workspace.js`, `writing-follow.js`. Other product hubs are not in this Word path. |
|
||||
| Volatile server state | [WordCompanionPresenceService](../../PlotLine/Services/WordCompanionPresenceService.cs), [WritingWorkspacePresenceService](../../PlotLine/Services/WritingWorkspacePresenceService.cs), [ManuscriptScanPreviewStore](../../PlotLine/Services/ManuscriptScanPreviewStore.cs) are singleton in-process stores. Restart loses presence/scans/review previews; no backplane/durable replay is configured in this path. |
|
||||
| Background work | [WordCompanionPresenceMonitor](../../PlotLine/Services/WordCompanionPresenceMonitor.cs) periodically expires presence. Browser-led build calls OnboardingService and chapter analysis on the server; it is not an existing client background process or a durable desktop job queue. |
|
||||
| Browser/PWA display | [WritingController](../../PlotLine/Controllers/WritingController.cs), [Writing views](../../PlotLine/Views/Writing/Context.cshtml), [writing-follow.js](../../PlotLine/wwwroot/js/writing-follow.js), [writing-workspace.js](../../PlotLine/wwwroot/js/writing-workspace.js), [writing-workspace-launcher.js](../../PlotLine/wwwroot/js/writing-workspace-launcher.js). Canonical browser event helper is [site.js](../../PlotLine/wwwroot/js/site.js#L66). |
|
||||
| Core Import and source custody | [OnboardingService.BuildApprovedStructureAsync](../../PlotLine/Services/OnboardingService.cs#L309), [ManuscriptStructureAnalysisService](../../PlotLine/Services/ManuscriptStructureAnalysisService.cs), [OnboardingBuildRepository](../../PlotLine/Data/OnboardingBuildRepository.cs), source/statistics/character/location services. Core Import produces canonical scene sources consumed by the existing Story Intelligence pipeline; see [runtime contract](../../docs/story-intelligence/single-system-runtime.md). |
|
||||
|
||||
### Authentication, authorization and session handling
|
||||
|
||||
`WordCompanionHostController` is anonymous so it can show sign-in. Sign-in navigates `_top` to Account/Login with a local return URL. The normal login pipeline handles password checks, optional two-factor flow and cookie issuance. There is no Office SSO API, OAuth access-token exchange or desktop-device authorization endpoint in this path.
|
||||
|
||||
[Program.cs](../../PlotLine/Program.cs#L57) uses `PlotLine.Auth`, HttpOnly/Secure/SameSite=Lax, 14-day sliding expiration, identity/security-stamp and lockout validation. The separate ASP.NET session cookie has a 10-minute idle timeout; it is not the 14-day authentication lifetime. The host's `fetchJson` uses `credentials: same-origin`; SignalR uses the site's authentication. A native agent cannot assume it inherits the task-pane/browser cookie container. WebView/browser cookie isolation, embedded cookie policy and sign-in expiry require real Office testing.
|
||||
|
||||
MVC globally applies ProjectAccessFilter and SubscriptionEnforcementFilter. The Companion controller is `[ApiController]` and `[Authorize]`; ordinary HTTP writes are also subscription-gated. Repository procedures receive authenticated UserID; runtime operations validate active document binding plus book/chapter/scene membership. The hub uses NameIdentifier claims and ignores an asserted different registration UserID. Hub calls do **not** pass through MVC action filters. The inspected host/API has no antiforgery attributes or global automatic antiforgery filter; JSON, same-origin use and Lax cookies provide some barriers, but are not a substitute for a documented CSRF/origin policy. No unauthenticated exploit was attempted. The existing account form itself is antiforgery-protected.
|
||||
|
||||
## 3. Feature inventory and complete execution paths
|
||||
|
||||
Notation: **H** = `wwwroot/js/word-companion-host.js`; **C/S/R** = WordCompanionController/Service/Repository; procedure names below have `dbo.` prefix. Detailed routes/signatures: [HTTP CSV](2026-11-04-word-companion-http-api.csv). Features marked “API only” are public operations even though the current host does not call them.
|
||||
|
||||
| ID | Trigger / feature | Complete path, Word use and transferred/persisted state | Success, failure and limitations |
|
||||
|---|---|---|---|
|
||||
| F01 | Open Companion | Manifest Home button → `/word-companion` → host Index → Office.onReady, Word-host check. | Anonymous sign-in UI or authenticated pane. No desktop agent startup. Host availability is not an API capability/version negotiation. |
|
||||
| F02 | Sign in/out, reconnect account | Account/Login → AuthService/cookie; C/S RequireUserId; fetch/SignalR credentials. Browser account logout/security stamp changes invalidate later requests. | Host has sign-in affordance; no desktop token lifecycle or offline login. Generic HTTP errors do not distinguish expired login from network/subscription errors well. |
|
||||
| F03 | Choose project/book, create book | H `loadProjects`, `loadBooks`, first-run selectors → C GetProjects/GetBooks/CreateBook → S validation/entitlements → R project/book SPs. | Accessible active projects/books; optional new title. Browser localStorage remembers selection/tab. UI storage does not grant access. |
|
||||
| F04 | Bind an existing manuscript | H `linkFirstRunManuscript` → manuscript/link → S `LinkManuscriptAsync` → `ManuscriptDocument_Save`; H `writeDocumentBinding` settings.saveAsync. | GUID generated if absent, metadata written locally after server success. One active binding conflict is rejected. Server and document writes are separate failure boundaries. |
|
||||
| F05 | Resume a bound document | H `initialiseFirstRunBinding` reads four settings → runtime/book + documentGuid → S validates document/active book/access and updates LastOpened → H loads structure/alias caches. | Matches GUID/book/project before entering runtime. Failures fall back to unbound UI; no distinction between a transient request failure and a definitively invalid binding. |
|
||||
| F06 | Task-pane first-run scan/preview | H `analyseFirstRunManuscript` → Word.run reads body paragraphs/styles → `buildFirstRunImportStructure` → manuscript/analyse; sends counts and IDs. | Heading 1 chapters; each gets a scene; `***`/`###` separators when UsesExplicitScenes. Preview/replace confirmation; pre-chapter text not represented in structure. Not a prose archive. |
|
||||
| F07 | Task-pane first-run import | H `importFirstRunManuscript` → manuscript/import → S/R → `WordCompanion_Manuscript_Import` (migration 219); chapters/scenes/titles/order/counts, GUID, BindingVersion, ReplacePlanned. | Transactional linked structure creation, protected planned replacement/archive rules, repeat import refusal; settings saved after SQL. No chapter/scene prose fields in this request. Marker attachment is a separate operation; do not assume this path performs Core Import's marker round trip. |
|
||||
| F08 | Discover/create characters at first run | H sends documentText to manuscript/discover-characters; S regex/name-intelligence decoration; selected names → create-discovered-characters → project access/limits → creation SP. | Heuristic candidates, selection/skip UI, existing-name handling; minimum mentions 2, max creation selection 250. English/capitalization-biased candidate regex is not universal named-entity recognition. This scan is not routine prose synchronization. |
|
||||
| F09 | Browser-led scan request | Browser `word-companion-presence.js` → Hub StartOnboardingManuscriptScan → user onboarding/project/book + latest Word presence → targeted ScanCurrentDocument → H `runOnboardingDocumentScan`. | Requires connected Word/document and selected onboarding scope. Error if missing. Server selects one effective per-user Companion, not a requested document session. |
|
||||
| F10 | Extract/upload full scan | H Word.run loads body text/styles, heading anchors → `buildOnboardingScanPreview` → JSON chunks through ReceiveOnboardingScanChunk. | Chapter text + paragraph map + source paragraphs/indexes/flags; progress, scan ID and length checks. Front matter ignored before manuscript; no readable chapter/body fails. Section 6 details normalization and limits. |
|
||||
| F11 | Review scan / approve chapters | Browser onboarding scan-review → OnboardingController.SaveScanReview → OnboardingService → ManuscriptScanPreviewStore review. | Inclusion/title/order choices and status saved in memory; ready-to-import validation. Not durable across server restart. Review has no Word COM dependency. |
|
||||
| F12 | Build canonical project scenes | Browser Hub StartOnboardingProjectBuild(previewId, generateSceneTitles) → OnboardingService.BuildApprovedStructureAsync → approved chapter analysis/validator → OnboardingBuildRepository.BuildAsync; sources/statistics/POV/chronology and location/character preparation. | SQL build mappings persist; completed build can resume using preview/mappings and missing source repair. Server chapter analysis uses configured AI client with one JSON repair retry. Multi-step post-build operations are not a single Word+SQL transaction. |
|
||||
| F13 | Insert server-generated marker instructions | Hub targets UpdateOnboardingBuildMarkers → H reloads body paragraphs, indexes instructions, calls ensureAnchorControl → manual save request/ack. | DB IDs mapped to chapter/scene paragraph anchors; exact existing tags idempotent. No prose insertion. Old indexes can be wrong after edits; no document revision/text precondition. See section 8. |
|
||||
| F14 | Confirm manuscript saved | Companion or browser “I've saved it” → CompleteOnboardingBuildMarkerSync → persistent build MarkerStatus/timestamp → progress/completion event → browser build-complete. | User confirmation, not independently verified disk-save proof. Existing-marker path reports SaveNotRequired. Changed-marker onboarding deliberately asks for manual save. |
|
||||
| F15 | Current chapter/scene discovery | H runtime parser/cache + getSelection().paragraphs; `findSelectedParagraphIndex`, `applyRuntimeSelection`, `refreshPlotDirectorScene/Chapter`. | Canonical scene/chapter IDs first, title fallback, matched or create/link UI. Selection matching uses text/style and nearest cached index, not stable Word range identity. |
|
||||
| F16 | Automatic change tracking | Common DocumentSelectionChanged → markRuntimeDirty → 1.2-second idle debounce → capture snapshot → refresh scene/count/suggestions. | Generation prevents stale local snapshot responses being adopted. No general paragraph-insert/delete/content-changed subscription; edits can invalidate cached boundaries until full refresh. |
|
||||
| F17 | Manual current scene/document refresh | Refresh Current Scene / Read Document → H refreshCurrentScene/refreshDocumentStructure/loadRuntimeDocumentAwareness → full structure read + API resolution. | Rebuild/resolve fallback for unsupported events or changed structure; diagnostic/error messages. Does not silently change prose. |
|
||||
| F18 | Read planning brief/status/links | Scene resolution → GetSceneCompanion → `WordCompanion_Scene_Companion` returns revision, estimated/actual words, blocked reason, writing brief, selected/available characters/assets/locations and primary location. | Read-only presentation. Missing/inaccessible scene resets UI; not a full scene editor. |
|
||||
| F19 | Runtime scene word-count sync | H `syncSceneProgress` snapshot → runtime/scene-word-count → active-document/linked-scene validation → SceneWorkflow actual count + LastWorkedOn UTC date + ManuscriptDocuments.LastSyncUtc. | Automatic ~4-second timer after idle or manual button; count equality suppresses duplicates; in-flight coalescing and stale-snapshot checks. No prose/hash upload, persistent retry queue or conflict version. |
|
||||
| F20 | Legacy direct word-count update (API only) | PATCH scenes/{id}/word-count → C/S/R → `WordCompanion_Scene_UpdateWordCount`, accepts ActualWords or ActualWordCount and optional LastWorkedOn. | Older access-controlled count API; lacks newer document-bound request identity. Host defines patchJson but current runtime uses POST above. |
|
||||
| F21 | Legacy scene/manuscript structure sync (API only) | POST books/{id}/sync-scene or sync-manuscript → entitlement preflight → SPs create/match by titles and update counts. | Optional DocumentId/ContentHash are accepted but not used for reliable optimistic concurrency or prose transfer. No automatic deletion/rename reconciliation; cursor-based manuscript SP is not a durable batch queue. |
|
||||
| F22 | Manually create or link missing chapter | H createPlotDirectorChapter / linkSelectedExistingChapter → chapters API or selection of existing structure → ensureAnchorControl PD-CHAPTER → refresh. | Confirm/create/search dialog, positive title/order validation and server entitlements. Linking changes Word metadata; Word failure can follow a successful SQL create. |
|
||||
| F23 | Manually create or link missing scene | H createPlotDirectorScene / linkSelectedExistingScene → scenes API or existing choice → PD-SCENE and chapter marker attachment → refresh. | Chapter must resolve; duplicate/title ambiguity surfaced in preview/manual review. No atomic Word/DB rollback. |
|
||||
| F24 | Attach/repair stored IDs | H attachPlotDirectorIds/attachResolvedPlotDirectorIds/attachResolvedChapterId → current Word paragraphs → ensureAnchorControl. | Tries content-control Content/Start/Whole ranges, then start bookmark; updates reusable tag/title. Existing IDs validated through book structure. Hidden appearance means hidden control chrome, not hidden/deleted prose. |
|
||||
| F25 | Preview/apply structural maintenance | H analyseManuscriptStructure reads Word + GET book structure → comparison groups → confirmed applyStructureSync. Each create/link item calls existing APIs, queues anchor attachment, records success/failure/skipped. | Manual review/ambiguous items skipped; preview refreshed. Per-item partial failures reported; not atomic and no automatic server archive of disappeared Word items. |
|
||||
| F26 | Detect existing entities while drafting | Snapshot text matched locally against cached character/asset/location aliases; suggestion APIs receive DocumentGuid, SceneId and matched IDs (max 50). | ~2.5-second suggestion debounce, signature dedup, generation checks. Whole-word regex; conservative location filtering. Empty matches do not revoke earlier suggestions. Alias caches refresh on explicit runtime reload, not an evidenced push invalidation. |
|
||||
| F27 | Review/save canonical scene links | Pane Review chips/primary location → verifyCurrentWordSceneMatchesLinkedScene full read → PUT links → SQL canonical relationships/custody/location mappings. Browser Scenes suggestion accept/reject actions invoke domain services/SPs. | Guards stale selected scene before writes; user review changes planning data, not Word prose. Runtime suggestions are distinct persisted Pending/Accepted/Rejected observations. |
|
||||
| F28 | Publish current Word location | Resolved H `notifyPlotDirectorCurrentScene` → runtime/current-scene → SQL validate → in-memory current story position → user SignalR storyPositionChanged. | Signature suppresses duplicate notifications; failure clears signature but no timed retry. Payload lacks document/session/revision/sequence; no clear-position command for unresolvable selection. |
|
||||
| F29 | Open Writer / Context / Intent | H openWritingWindow → same-origin scoped URLs with project/book/chapter/scene/documentGuid where applicable; stable named browser window. | Blocked-popup message; direct Word task-pane → external browser activation/cookie sharing requires desktop evidence. Writer launcher additionally handles screen detection/role focus. |
|
||||
| F30 | Context follow + manual display | WritingController.Context/ContextScene → StoryContextService → SceneService/canonical story state + relationship map/floor plan → Razor fragments; writing-follow loads on story-position event. | Scene-only display; local tab preference; manual dropdown publishes browser DOM event. No reverse Word command. See section 5. |
|
||||
| F31 | Intent follow + manual display | WritingController.Intent/IntentScene → StoryContextService and WriterWorkspaceService chapter workflow/goals → Razor fragments. | Scene or chapter-only display, five tabs, independent window preference. No reverse Word command. See section 5. |
|
||||
| F32 | Multi-screen layout / focus | Writer launcher + workspace JS → getScreenDetails/window-management permission, display preferences, window.open/stable names; Hub RegisterWritingWindow/heartbeats/focus. | Default Context-left/Intent-right with 3+ displays, configurable 2-screen primary role, fallback windows if unavailable. Word position itself is not moved between monitors by this JS. |
|
||||
| F33 | Presence and reconnect | Host RegisterCompanion/25s heartbeat; browser WatchCompanionPresence; window role registration/15s heartbeat; monitor expires stale records. | Word timeout 55s, windows 45s, monitor 10s. Automatic reconnect where configured, differing initial/terminal retry handling. In-memory state and one Word record/user limit robustness. |
|
||||
| F34 | Unlink without marker removal | H unlinkThisWordDocument → server unlink + settings removal → unbound onboarding; can explicitly offer local-only metadata removal on failure. BooksController.UnlinkManuscript is browser-side equivalent server operation. | Link flags/document active state cleared by server, planning data retained; markers deliberately remain for reuse. Distributed partial state is reported, not atomic. |
|
||||
| F35 | Clean and unlink | H inspect → removePlotDirectorContentControlsPreservingContent → optional save helper → verify marker count → remove settings → server unlink. | Controls deleted with Office.js keepContent=true, tagged prefixes only. **Bookmark fallback anchors are not removed or counted.** save helper result ignored; read-only/unsupported/failed save can be misrepresented. |
|
||||
| F36 | Diagnostics and recovery UI | H runDiagnostics, anchor/resolve/status/timing panels, console logs; server register/current-scene/build logs. | Shows host/platform, IDs, paragraph/heading counts, resolution method, last error, timings and save diagnostics. No single end-to-end correlation envelope, durable client log or support export. |
|
||||
|
||||
## 4. SignalR: complete relevant contract and routing
|
||||
|
||||
### Connections and identity
|
||||
|
||||
All relevant traffic uses **one hub route**, not a dedicated Context hub and Intent hub. OnConnected adds any authenticated connection to `word-companion-presence:{UserID}`. The same group carries all that user's book/document presence, positions and onboarding events; there are no per-document/per-book hub groups. Some commands target a single connection selected from the in-memory stores.
|
||||
|
||||
| Client | Establishment / re-establishment | Listening and scope |
|
||||
|---|---|---|
|
||||
| Word task pane (`startCompanionPresence`, H1459) | HubConnectionBuilder + automatic reconnect; start → RegisterCompanion; 25s heartbeat. Reconnected sends heartbeat, which can establish record again. Initial failure retains the non-null connection object; terminal close clears timer but does not null/restart connection. | ScanCurrentDocument and UpdateOnboardingBuildMarkers only. No navigate/replace-prose event listener. Registration has user/version/machine(empty)/document-open/name/project/book, **no document GUID/session ID**. |
|
||||
| Shared browser header/onboarding (`word-companion-presence.js`) | start → WatchCompanionPresence; reconnected watches again; reconnecting shows Connecting. Initial failure caught for UI. | Presence + scan/build/save progress; commands scan/build/manual-save. Conditional layout inclusion for relevant authenticated users. |
|
||||
| Writer/Context/Intent role client (`writing-workspace.js`) | Lazy shared-per-page connection; initial failure/terminal close clear promise so later actions retry. Reconnected registers window. 15s heartbeat. | storyPositionChanged, WritingWorkspacePresenceChanged, WordCompanionPresenceChanged, WritingWorkspaceFocusRequested. Window ID in sessionStorage with owner/opener-clone detection; stable within document without storage. |
|
||||
| Context/Intent follow client (`writing-follow.js`) | **Another connection** per screen, start → WatchWritingWorkspace for replay. Automatic reconnect configured; no onreconnected replay/watch handler in this helper. | storyPositionChanged → normalized DOM event → fragment fetch. Local project/book filter; documentGuid displayed in root but not checked. |
|
||||
|
||||
A Context/Intent page commonly has two connections; a relevant shared header can add a third. Both workspace and follow clients publish the same scene event into the same DOM; in-flight/current-scene dedup often hides duplicate delivery. This is duplicated responsibility, not a second source of authority.
|
||||
|
||||
### Client → server invocations
|
||||
|
||||
All methods below are public on WordCompanionFollowHub. Parameters are JSON hub arguments; methods return DTOs unless stated otherwise.
|
||||
|
||||
| Method | Request / return and effects |
|
||||
|---|---|
|
||||
| WatchCompanionPresence() | Returns WordCompanionPresenceStatus; joins user group. |
|
||||
| RegisterCompanion(registration) | Registration fields in connection table; rejects mismatched supplied UserID; replaces per-user presence → presence/workspace broadcasts. |
|
||||
| CompanionHeartbeat(heartbeat) | Version/machine/document-open/name/project/book; updates effective connection/time; returns status and broadcasts. |
|
||||
| WatchWritingWorkspace(scope) | Nullable ProjectID/BookID; returns WritingWorkspaceStatus with windows, Word state and cached StoryPosition. |
|
||||
| RegisterWritingWindow(registration) | BrowserWindowID, ProjectID, BookID, CurrentRoute, WritingRole, DisplayLabel → register and broadcast scoped status. |
|
||||
| WritingWindowHeartbeat(heartbeat) | Same identifying fields → latest route/role/scope/LastSeen, status broadcast. |
|
||||
| RequestWritingWindowFocus(scope, role) | Finds newest active role window in user+scope → targeted focus event; returns status, not proof the browser OS foregrounded it. |
|
||||
| StartOnboardingManuscriptScan() | Resolves user onboarding Project/Book and latest live Companion → starts ScanID/session, sends targeted scan command; returns state. |
|
||||
| ReportOnboardingScanProgress(progress) | OnboardingID, optional UserID, message/percent/counts; updates scan store and sends progress. No ScanID on this progress DTO. |
|
||||
| ReceiveOnboardingScanChunk(chunk) | ScanID, optional UserID, OnboardingID, ChunkIndex, TotalChunks, TotalLength, Payload. Sorts by index, validates metadata/duplicate content/assembled length → Complete preview; returns state. |
|
||||
| CompleteOnboardingScan(preview) | Alternate unchunked path: explicit onboarding/project/book context validation then store; host currently uses chunks instead. |
|
||||
| FailOnboardingScan(failure) | OnboardingID/message, optional UserID; marks user's session failed and broadcasts. No ScanID on this failure DTO. |
|
||||
| StartOnboardingProjectBuild(previewId, generateSceneTitles=true) | Calls approved Core Import build, progress callback, then targets marker instructions at latest Companion; returns build result. |
|
||||
| CompleteOnboardingBuildMarkerSync(buildId, result?) | MarkerSyncClientResult: PreviewID, MarkerStatus, Message, MarkersChanged, SaveState, SaveApi, Host, Platform, Version, DocumentGuid/Url, error name/code/message. Persists status and broadcasts completion. Does not validate build ownership/document/session here. |
|
||||
| RequireOnboardingBuildManualSave(buildId, message, result?) | Persists UserSaveRequired and broadcasts manual-save progress. Same ownership gap. |
|
||||
| FailOnboardingBuildMarkerSync(buildId, message, result?) | Persists Failed; diagnostics logged/passed to repository; broadcasts failure progress. Same ownership gap. |
|
||||
|
||||
### Server → client events
|
||||
|
||||
| Exact event | Recipient / payload / trigger |
|
||||
|---|---|
|
||||
| WordCompanionPresenceChanged | User group; WordCompanionPresenceStatus: user, connected/status, version/machine/document name/open, linked project/book, current position, connection/heartbeat times; register/heartbeat/disconnect/stale expiry. |
|
||||
| WritingWorkspacePresenceChanged | User group; WritingWorkspaceStatus: user/project/book, Word connected/document flags, Word project/book/current position, Windows array + latest Launcher/Context/Intent; window/Word state changes. |
|
||||
| WritingWorkspaceFocusRequested | Selected role connection; `{WritingRole, ProjectID, BookID}`; focus request. Client calls window.focus best-effort. |
|
||||
| **storyPositionChanged** | User group; `{Source:"WordCompanion", ProjectId, BookId, ChapterId, SceneId, CanonicalUrl, Position}` from HTTP current-scene controller after DB validation. Position is project/book/chapter/scene, **not DocumentGuid**. |
|
||||
| ScanCurrentDocument | Selected Word connection; ManuscriptScanCommand `{ScanID,UserID,OnboardingID,ProjectID,BookID,RequestedUtc}`. |
|
||||
| OnboardingScanStateChanged | User group; initial scan state (ScanID, status/message/counts/progress/preview/timestamp). |
|
||||
| OnboardingScanProgress / OnboardingScanCompleted / OnboardingScanFailed | User group; scan state after progress/chunk completion/failure/disconnect. |
|
||||
| OnboardingBuildProgress | User group; status/message/percent/preview/build/count/marker fields according to phase. |
|
||||
| UpdateOnboardingBuildMarkers | Selected Word connection; OnboardingManuscriptBuildResult includes build/preview/project/book/document IDs, chapter/scene/character mappings, paragraph-index/tag/title/prefix marker instructions and structure summary. |
|
||||
| OnboardingBuildManualSaveRequired | User group; build progress with BuildID, PreviewID, UserSaveRequired. |
|
||||
| OnboardingBuildMarkerSyncCompleted | User group; `{buildId,markerStatus,previewID}`; user-confirmed save or marker no-op. |
|
||||
| OnboardingBuildCompleted | Browser listener exists, but **no emitter found** in inspected server/JS source. Actual build action also consumes method return; marker completion drives later redirect. Do not create a required event from this orphan listener. |
|
||||
|
||||
Contract casing varies intentionally in the existing JavaScript (`field`, camel/Pascal fallback). Record exact endpoint DTOs before creating a new transport; do not port by guessing field casing from UI labels.
|
||||
|
||||
### Existing live position flow
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant W as Word document
|
||||
participant P as Task-pane host JS
|
||||
participant A as HTTP current-scene API
|
||||
participant D as SQL validation
|
||||
participant M as In-memory presence
|
||||
participant H as Follow hub/user group
|
||||
participant B as Context/Intent browser
|
||||
W->>P: DocumentSelectionChanged
|
||||
P->>P: 1.2s idle, generation check, cache match, resolve IDs
|
||||
P->>A: POST runtime/current-scene (GUID + project/book/chapter/scene)
|
||||
A->>D: WordCompanion_Runtime_CurrentScene_Validate(UserID,...)
|
||||
D-->>A: Authorized active linked position or no row
|
||||
alt valid
|
||||
A->>M: UpdateCurrentStoryPositionAsync
|
||||
A->>H: storyPositionChanged (no GUID or sequence)
|
||||
H-->>B: Broadcast to user's connections
|
||||
B->>B: Normalize; local project/book filter; dedup
|
||||
B->>A: Separate Writing/Context/Scene or Intent/Scene GET
|
||||
else invalid
|
||||
A-->>P: 400; existing cached browser position is not cleared
|
||||
end
|
||||
```
|
||||
|
||||
The final GET is routed to WritingController, not WordCompanionController. Diagram places it at the HTTP boundary to show transport; its services are detailed below.
|
||||
|
||||
### Ordering, duplicates, disconnects and feedback loops
|
||||
|
||||
- Word local generation checks protect scene snapshot/display/count/suggestion handling during new selection activity. They do not add a server revision: an already-sent stale write may still commit. HTTP positions can arrive out of order; there is no sequence/session compare in the controller or store.
|
||||
- Chunk assembly accepts equal duplicate chunks while Running, rejects conflicting duplicates and metadata changes, concatenates in index order and checks total length. Completed sessions reject subsequent chunk retries; there is no resume/last-ack protocol exposed to the host. Progress/failure messages lack ScanID and can affect a replacement scan for the same onboarding ID.
|
||||
- Word notification signature is project:book:scene only. A successful notification can remain suppressed across a reconnect/server restart when staying in the same scene, until context/signature reset. Reconnected presence carries no scene and cannot replay the lost cached position by itself.
|
||||
- Server presence is one mutable record/UserID; registration replaces it and another document's heartbeat can replace the effective connection again. It is not robust multi-document/multi-machine arbitration. An old disconnect is guarded against taking a newer connection offline, which should be retained.
|
||||
- Window presence is keyed user+BrowserWindowID, filtered by optional project/book, latest role selected by LastSeen. It supports several windows but no explicitly chosen active-document session. Native multi-instance Word must add that missing identity.
|
||||
- Context/Intent dedup compares scene/chapter and pending IDs. It does **not** abort older requests or check response generation. Isolated real-helper reproduction loaded scene 12 then delayed scene 11 and ended displaying scene 11.
|
||||
- Follow helper has no onreconnected watch/replay; workspace role re-registration provides status events but does not itself make `writing-follow` consume the returned current position. New future position events may recover; a stationary cursor after reconnect is not guaranteed to recover the display.
|
||||
- Current Word position is not explicitly cleared when scene resolution fails/unlinks or cursor is outside recognized manuscript. Disconnect hides current position in status, but follow fragments may retain old content; a status label is not proof the displayed scene is current.
|
||||
- There is no Word navigation feedback loop to suppress because Context/Intent do not command Word selection. They publish local DOM story-position events; hub events are not automatically re-posted to the current-scene API. Duplicate UI updates are partly suppressed by current/loading checks, not an end-to-end message identity.
|
||||
- [workspace-bridge.js](../../PlotLine/wwwroot/js/workspace-bridge.js) is a **separate** paired map/detached-browser BroadcastChannel system: user/project/token/sender/sequence validation, scene-selected/open-scene/story-state messages and fallback navigation. It observes the DOM position bus but does not provide Context↔Intent↔Word bidirectional synchronization. Its token/session and ordering protections must not be attributed to the Word hub.
|
||||
|
||||
## 5. Context, Intent and multi-screen operation
|
||||
|
||||
### Context: content and sequence
|
||||
|
||||
Context shows canonical scene **Overview, People, Relationships, Place, Story**. It uses StoryContextService.GetForSceneAsync → SceneService.GetEditAsync and validated project/book position, RelationshipMapService.GetAsync and optional FloorPlanService.GetEditorAsync. Content includes summary, POV/time/location/revision/purpose/outcome/continuity; character appearance/state/knowledge/attributes; relationship graph/state; place/floor plan; thread events/knowledge/dependencies. It consumes canonical materialized story data; merely receiving new Word text is not automatic reanalysis of those facts.
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant P as Companion
|
||||
participant C as Context window
|
||||
participant H as Follow hub
|
||||
participant WC as WritingController
|
||||
participant S as StoryContext/scene/map/floor-plan services
|
||||
P->>C: window.open Context with project/book/chapter/scene/GUID
|
||||
C->>WC: GET Writing/Context
|
||||
WC->>S: BuildDisplayAsync(sceneId, scope)
|
||||
S-->>C: Full Razor page and initial scene or waiting state
|
||||
C->>H: Role connection: RegisterWritingWindow(Context)
|
||||
C->>H: Follow connection: WatchWritingWorkspace(scope)
|
||||
H-->>C: Cached current position when available
|
||||
H-->>C: storyPositionChanged on later Word movement
|
||||
C->>C: Normalize; scope/dedup; retain active tab
|
||||
C->>WC: GET Writing/Context/Scene with IDs
|
||||
WC->>S: Rebuild canonical context
|
||||
WC-->>C: _WritingContextContent fragment
|
||||
C->>C: Replace HTML, rewire tabs/role, restore tab
|
||||
opt User manually selects another scene
|
||||
C->>C: DOM story-position event; same fragment path
|
||||
Note over C,P: No command to Word; no server broadcast of manual selection
|
||||
end
|
||||
```
|
||||
|
||||
### Intent: content and sequence
|
||||
|
||||
Intent is not a duplicate Context screen. It combines scene context and chapter workflow/goals via WriterWorkspaceService.GetChapterWorkflowAsync. Tabs are **Plan, Must Include, Notes, Threads, Checklist**: chapter summary/purpose/goals, emotional goal/reader takeaway, scene expectations and outcome, planned inclusions/notes/thread/checklist data. It can render **chapter-only intent**, with chapter selector and scenes for that workflow, before a scene is chosen. Context requires a scene.
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant P as Companion
|
||||
participant I as Intent window
|
||||
participant H as Follow hub
|
||||
participant WC as WritingController
|
||||
participant SC as StoryContextService
|
||||
participant WF as WriterWorkspaceService
|
||||
P->>I: Open Intent with scope and resolved chapter/scene
|
||||
I->>WC: GET Writing/Intent
|
||||
opt Scene provided
|
||||
WC->>SC: GetForSceneAsync; resolve authoritative chapter
|
||||
end
|
||||
WC->>WF: GetChapterWorkflowAsync(chapter)
|
||||
WC->>WC: Verify chapter project/book against scope
|
||||
WC-->>I: Full Intent or waiting/missing display
|
||||
I->>H: RegisterWritingWindow(Intent) + separate WatchWritingWorkspace
|
||||
H-->>I: Replay/current storyPositionChanged
|
||||
I->>WC: GET Writing/Intent/Scene (scene or chapter)
|
||||
WC->>SC: Scene context when present
|
||||
WC->>WF: Chapter goals/workflow
|
||||
WC-->>I: _WritingIntentContent fragment
|
||||
I->>I: Replace and rewire, retain active tab
|
||||
opt Manual chapter/scene dropdown
|
||||
I->>I: Local canonical-position event; reload Intent
|
||||
Note over I,P: Does not navigate Word or publish to other browser windows
|
||||
end
|
||||
```
|
||||
|
||||
Both screens store active tab in origin-localStorage under different keys, not database/user/document-specific preferences. Current scene is local fragment state plus server cached Word position; URL initial state and manual browsing are also supported. `data-document-guid` is present in markup but not used to route/filter follow updates. Return of a same-scene event does not reload changed planning data because scene-ID dedup is used; explicit reload/navigation may be needed.
|
||||
|
||||
### Combined multi-screen responsibilities
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant W as Word document/task pane
|
||||
participant L as Writer launcher (browser)
|
||||
participant H as Hub and presence stores
|
||||
participant C as Context display
|
||||
participant I as Intent display
|
||||
W->>H: RegisterCompanion; 25s heartbeat (user/book, not document session)
|
||||
L->>H: Register Launcher; WatchWritingWorkspace
|
||||
L->>L: Detect screens/permission; choose saved layout
|
||||
L->>C: Open named Context_Book_N or reuse/focus
|
||||
L->>I: Open named Intent_Book_N or reuse/focus
|
||||
C->>H: Register Context window; 15s heartbeat
|
||||
I->>H: Register Intent window; 15s heartbeat
|
||||
W->>H: HTTP-validated story position broadcast through user group
|
||||
par Independent views
|
||||
H-->>C: storyPositionChanged; Context HTTP fragment
|
||||
and
|
||||
H-->>I: storyPositionChanged; Intent HTTP fragment
|
||||
end
|
||||
L->>H: RequestWritingWindowFocus(scope, role) if local focus fails
|
||||
H-->>C: Targeted focus request (best effort)
|
||||
Note over W,I: Browser layout does not move/focus Word via COM
|
||||
Note over C,I: Manual browser selection stays local; no mutual or reverse Word command
|
||||
```
|
||||
|
||||
Stable names are `PlotDirectorContext_Book_<id>` / `PlotDirectorIntent_Book_<id>` with project/general fallback. Popup sessionStorage clone protection creates distinct window IDs; reload preserves the owner identity. Multiple windows for a role are possible; server focus selects latest active one. `window.getScreenDetails` and window-management permission choose display bounds; unavailable/denied permission falls back to ordinary windows. Three displays default Context left, Intent right and nominal Word middle; two-display preference selects primary supplementary role. This is a browser layout suggestion, not an implemented native Word monitor manager. Focus and popup acceptance remain browser-policy dependent.
|
||||
|
||||
**Observed launch defect:** `writing-workspace.js:361` reads undeclared `currentRole` when there is no existing Intent window. A no-network VM execution of the actual script reproduced ReferenceError after opening Context. Existing browser regression first attempts blocked launch without asserting its message, then opens Context/Intent individually before testing reapply; this allows the fresh-Intent branch to be missed. No repair was made.
|
||||
|
||||
Migration acceptance must preserve independent/scoped windows, both opening paths, tab state, manual navigation, chapter-only Intent, window reuse/focus, blocked-popup fallbacks, reconnect replay, and several books/windows. Add explicit document/session choice and stale-response protection rather than preserving the current ambiguous routing.
|
||||
|
||||
## 6. Manuscript synchronization, ownership and scale
|
||||
|
||||
### Different meanings of “import” and “sync”
|
||||
|
||||
| Path | Word → PlotDirector | PlotDirector → Word | Ownership implication |
|
||||
|---|---|---|---|
|
||||
| Older task-pane import | Chapter/scene titles, sort order, counts, document GUID/binding version; optional separate character discovery text. | Binding settings; author-invoked ID attachment is separate. | Does not preserve prose through its structure DTO. Do not equate imported structure with stored scene source. |
|
||||
| Browser-led Core Import | Plain chapter text, structural paragraph map, source paragraph text/flags/Word indexes, chapter IDs if present; reviewed structure and server analysis produce SceneManuscriptSources. | Marker instruction list with DB chapter/scene IDs at Word paragraph indexes; manual save handshake. | Word supplies prose; server derives scene boundaries/title suggestions and planning metadata without rewriting Word prose. |
|
||||
| Runtime scene follow | Document GUID and IDs → validated scene position; local scene text used for detection. | No Word cursor instruction. | Browser follows resolved Word location. |
|
||||
| Runtime count/suggestions | Actual word count/date; matched entity IDs. | Planning brief/available entities/status for pane display. | Prose edits do not refresh canonical source text or trigger Story Intelligence automatically. |
|
||||
| Legacy sync API | Titles/order/counts plus optional DocumentId/ContentHash. | IDs/results only. | No strong text-hash conflict check, no general structural diff/archive propagation. |
|
||||
| Maintenance create/link/apply | Explicit accepted structure additions/matches. | Controls/bookmarks attach IDs; no body text writer. | Partial operations can leave server and document temporarily inconsistent. |
|
||||
|
||||
### Structural extraction and identifier semantics
|
||||
|
||||
There are **three parsers**, with materially different rules:
|
||||
|
||||
1. `buildDocumentStructure` (H2084): Heading 1 chapters; Heading 2 or canonical scene markers; also supports scene marker at chapter heading; used by legacy/full-document/manual operations. Text/style selection matching finds the first matching paragraph.
|
||||
2. `buildFirstRunImportStructure` (H2170): Heading 1 chapters; initial scene per chapter; optional exact `***` / `###` scene breaks. Heading 2 is not the general splitting rule in this path. Structure/counts and a separate joined documentText for discovery are built; heading counting differs from runtime.
|
||||
3. `buildRuntimeDocumentStructure` (H2264): snapshots paragraph indexes/styles/IDs; Heading 1 chapters; canonical PD-SCENE markers and optional separator scenes; bounded start/end index cache. Presence of any canonical scene anchor changes fallback behaviour. Raw body text is reread later using these cached boundaries.
|
||||
|
||||
The browser-led scan (H2378) is another extraction projection: ignore front matter before first real Heading 1; retain included chapters, normalize each paragraph's internal whitespace/line separators; omit chapter headings, Heading 2 headings and separators from prose source flags. `ParagraphMap` links structural ordinal back to original Word paragraph index; `SourceParagraphs` retains blank/heading/separator/inclusion flags. This is **plain-text source custody, not rich-text/OOXML fidelity**: inline formatting, comments, tracked-change semantics, headers/footers/footnotes and other stories are not captured by body paragraph text extraction. Word remains authoritative for those. Localized/custom heading styles, repeated headings, tables and protected/track-changes documents need host-specific qualification.
|
||||
|
||||
Marker tags are `PD-CHAPTER-<database ID>` and `PD-SCENE-<database ID>`. Exact tag first, same-prefix control reuse next; title/tag/appearance are assigned. Office.js insert tries Content, Start, Whole ranges with sync at each attempt. Fallback bookmark name is uppercased underscore form `_PD_CHAPTER_<id>` / `_PD_SCENE_<id>`, max 40 characters, at paragraph start. Readers load controls and hidden/adjacent bookmarks and use first usable matching marker. No general document-wide duplicate-ID repair/unique occurrence registry was found. Copy/paste or Save As can duplicate both markers and the document's GUID metadata; current code does not establish a new instance identity automatically.
|
||||
|
||||
Binding settings are four keys: `plotdirector.word.documentGuid`, `.boundBookId`, `.boundProjectId`, `.bindingVersion`. These are **Office add-in settings**, not proven Word CustomDocumentProperties. Their add-in-scoped persistence must be understood before native migration; changing the add-in ID or simply reading a similarly named custom property is not an evidence-backed migration. Microsoft describes the per-document/add-in settings property bag and saveAsync semantics in [Persist add-in state and settings](https://learn.microsoft.com/en-us/office/dev/add-ins/develop/persisting-add-in-state-and-settings). A real DOCX package and native read-back test are required to determine the bridge.
|
||||
|
||||
### Full scan/build/save flow
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant B as Onboarding browser
|
||||
participant H as Hub
|
||||
participant P as Word task pane
|
||||
participant W as Word document
|
||||
participant S as Scan store / OnboardingService
|
||||
participant A as Chapter analysis / SQL sources
|
||||
B->>H: StartOnboardingManuscriptScan
|
||||
H->>P: ScanCurrentDocument (ScanID + scope)
|
||||
P->>W: Read body paragraphs/styles/heading anchors
|
||||
W-->>P: Plain text and paragraph indexes
|
||||
loop 128 KiB JavaScript-character slices, sequential acknowledgement
|
||||
P->>H: ReceiveOnboardingScanChunk
|
||||
H->>S: Validate and assemble in memory
|
||||
H-->>B: Progress / Completed
|
||||
end
|
||||
B->>S: Review chapters; ready-to-import
|
||||
B->>H: StartOnboardingProjectBuild(previewID)
|
||||
H->>S: BuildApprovedStructureAsync
|
||||
S->>A: Analyze approved chapters, create canonical structure/mappings
|
||||
S->>A: Persist chapter/scene source, statistics, derived context
|
||||
H->>P: UpdateOnboardingBuildMarkers
|
||||
P->>W: Attach markers at indexed paragraphs
|
||||
P->>H: RequireOnboardingBuildManualSave
|
||||
H-->>B: UserSaveRequired (90%)
|
||||
W->>W: Author saves manuscript
|
||||
B->>H: CompleteOnboardingBuildMarkerSync(UserConfirmedSave)
|
||||
H->>A: Persist build marker status/timestamp
|
||||
H-->>B: Marker sync completed; proceed
|
||||
```
|
||||
|
||||
Server analysis is not prose authoring. `ManuscriptStructureAnalysisService` loads `Chapter-Structure-Prompt-V2.md`, numbers structural paragraphs, validates returned boundaries against reversible source mappings and retries malformed AI JSON once. `OnboardingService.AnalyseApprovedChaptersAsync` processes included chapters sequentially; its latency includes provider/validation work. It creates canonical DB scenes and retained source. Later Story Intelligence review must obey the existing persisted candidate/materialisation contract; the replacement should reuse it rather than create a second interpretation pipeline.
|
||||
|
||||
### Change detection, batching, retry and offline behaviour
|
||||
|
||||
- Only DocumentSelectionChanged is registered by the host. “Typing idle” is inferred from that event, not a complete text-change journal. `runtimeGeneration` and pending flags coalesce local work; no Office paragraph-change subscription is implemented here.
|
||||
- `findSelectedParagraphIndex` matches trimmed text/style against cached paragraphs and chooses the match nearest the previous index. A new/edited paragraph that no longer matches falls back to the old current index; blank selection can do the same. Insertion/deletion can shift cached scene boundaries. A full manual structure refresh is the available recovery path.
|
||||
- A “current scene” snapshot loads **all body paragraph text**, then slices the selected scene in JavaScript (H3384); it is not an incremental Word range read. Runtime model calls may be reduced by debounce/cache, but COM bridge work still scales with manuscript size.
|
||||
- Onboarding chunks are 128×1024 **JavaScript characters**, not compressed bytes. Hub receive limit is 1 MiB. The full preview is assembled and JSON-parsed in memory; the host retains full paragraphs/preview/serialized payload. There is no streaming Word extraction, durable resumable upload or bounded total chunk/payload allocation policy in ScanPreviewStore. Equal duplicate chunks are handled only while scan is Running.
|
||||
- Existing `WordCompanionScanChunksAssembleFullNovelPayloads` test constructs 42×58×82-word synthetic data (200k+ words) plus a single 200k-word paragraph, passes it through the store and checks retained chapter/source data. This proves the **in-memory assembly algorithm** for that fixture, not Office extraction latency, HTTP/SignalR network delivery, editor responsiveness or 190k-word end-to-end performance. Compressed size is measured by that test; live upload is not gzip because of that measurement.
|
||||
- HTTP fetch has no per-request timeout/AbortController/exponential backoff/idempotency key. Generic errors show HTTP status; structured server message bodies can be lost. A successful server create followed by local Word failure can leave a retry/relink situation. SQL first-run import is transactional; maintenance apply is intentionally per-item, and Core Import has persisted-build resume logic but volatile preview dependencies.
|
||||
- No persistent local outbox, offline delta queue, revision acknowledgement or conflict-resolution UI exists. Word editing remains usable offline; pane/network tasks fail or await reconnect. The PWA [service-worker.js](../../PlotLine/wwwroot/service-worker.js) explicitly has no fetch caching, offline page or background sync.
|
||||
- A text edit preserving word count produces no runtime server prose update. ContentHash in old DTOs does not establish conflict detection; the inspected live scene-sync procedure accepts it without using it for concurrency. No reliable document dirty/revision/hash handshake is used before applying marker instructions.
|
||||
|
||||
### Every identified Word-mutating operation
|
||||
|
||||
| Operation and initiator | Mutation | Prose authority / risks |
|
||||
|---|---|---|
|
||||
| Bind/resume import or unlink, user/task-pane driven | settings.set/remove + settings.saveAsync | Changes add-in metadata; no text assignment. Save As/copy identity and partial server/local failure need a migration policy. |
|
||||
| Attach IDs, create/link chapter/scene, apply structural maintenance, user initiated | Control tag/title/appearance updates; control insertion; fallback bookmark insertion/deletion | No insertText/insertHtml/OOXML/prose writer found. Wrapping ranges changes document structure and can affect nesting/undo/protection. Per-operation sync/failure can leave partial markers. |
|
||||
| Core Import build, browser initiated and server-commanded | Same marker helper using server paragraph indexes | **Server can modify metadata in Word.** No revision/document-instance precondition; silently skips unavailable indexes. Does not intentionally modify prose but can annotate wrong text if manuscript moved. |
|
||||
| Clean/unlink, explicit user confirmation | Tagged controls `delete(true)` in Office.js; settings removal; feature-detected document.saveAsync helper | keepContent=true preserves content in Office.js; formatting/comments/tracked-change preservation not desktop-proven. Does not remove fallback bookmarks; ignores save result. |
|
||||
| Manual Word save confirmation / user editing | Author saves/edits in Word | Browser/Companion acknowledgement is self-report, not disk verification. Marker change and setting persistence should be qualified separately. |
|
||||
|
||||
No Word selection `.select()`, document body text replacement, generated manuscript skeleton writer, merge-back edits, automatic Word scene deletion or bidirectional prose reconciliation was found in the current host. Those may appear as ambitions in the v2 specification; they are **not confirmed existing functionality**. Word-linked archive/delete protections exist server-side (migration 094 guards), but the current runtime does not implement the specification's automatic “delete in Word → archive in PlotDirector” loop.
|
||||
|
||||
## 7. Persistence and related server functionality
|
||||
|
||||
All inspected application data access is Dapper/stored-procedure based. [Database evidence](2026-11-04-word-companion-database-evidence.json) records live Development definitions and direct dependency metadata; dynamic SQL/application-mediated dependencies need the additional sources below. It intentionally contains no connection strings or author data.
|
||||
|
||||
| State | Durable storage / writer / reader |
|
||||
|---|---|
|
||||
| Manuscript identity and binding | `ManuscriptDocuments`: document GUID, book/project, binding version, created user/date, LastOpenedUtc/LastSyncUtc, active flag. ManuscriptDocument_Save/GetByGuid/GetByBook/UpdateLastOpened/UpdateLastSync/UnlinkBook; [ManuscriptDocumentRepository](../../PlotLine/Data/Repositories.cs#L2423). |
|
||||
| Structure and link metadata | `Books`, `Chapters`, `Scenes`: manuscript-linked flags, ManuscriptDocumentID, ExternalReference, LinkedUtc plus canonical titles/order/archive. SQL 094 introduces ownership fields; 095/219 import; legacy create/sync API has different linkage semantics. |
|
||||
| Draft progress / planning | `SceneWorkflow` actual count/last-worked/revision/planning fields; `ChapterGoals` and chapter workflow used by Intent/Writer. Count sync does not write scene prose. |
|
||||
| Canonical source | `ManuscriptStructuralChapterSources`, `SceneManuscriptSources`: text/counts, paragraph/source boundaries/provenance, structural parsed JSON. OnboardingBuildRepository's dedicated source SPs; consumed by statistics, Core Import/Story Intelligence. Not updated by routine count sync. |
|
||||
| Build recovery | `OnboardingManuscriptBuilds`, ChapterMap/SceneMap/CharacterMap: preview/project/book/document mappings, created/reused counts/status/marker-save timestamps. Build/GetByPreview and MarkerSync* SPs. SQL build can resume; scan/review preview dictionaries do not survive restart. |
|
||||
| Scene associations | `SceneCharacters`, canonical `SceneAssetLocations`, asset events/custody and `WordCompanionSceneLocations`/primary scene location are read/written through current scene companion/link procedures. Historical `WordCompanionSceneAssets` exists in migrations; do not assume it is the current asset source—live dependency metadata points at canonical asset tables. |
|
||||
| Runtime suggestions | `SceneCharacterSuggestions`, `SceneAssetSuggestions`, `SceneLocationSuggestions`; alias tables and entity canonical names used for detection. API records suggestions; ScenesController accept/reject actions (lines 974–1116) invoke existing character/asset/location services and canonical materialisation SPs. Preserve settled user decisions/idempotency. |
|
||||
| Core Import downstream | UserOnboardingStates and CoreImportBasicLocation review tables, source/statistics, persisted Story Intelligence runs/results/candidates, canonical knowledge/relationships/threads/metrics. These are server-owned domain functionality, not an Office implementation to duplicate. |
|
||||
| Permissions/subscriptions | `ProjectUserAccess`, user/security stamp and subscription state; source of authorization/entitlement. Client metadata cannot bypass them. |
|
||||
| Transient state | Word presence, window presence, current position, scan chunks/previews/reviews/progress in process memory; task-pane caches/snapshot/generation and browser preferences in their stated scopes. No durable per-document live session ledger. |
|
||||
|
||||
Runtime current-scene validation confirms GUID/active manuscript, owning project/book/chapter/scene, linked scene and access/archive conditions; do not drop it merely because a future agent is local. MarkerSyncCompleted/UserSaveRequired/Failed procedures instead accept BuildID without UserID/ownership: that difference is material (finding D01).
|
||||
|
||||
The [v2 specification](../../PlotLine/Docs/Features/PlotDirector_Word_Companion_v2_Specification.md) and [archived API design](../../PlotLine/Docs/Archive/WordCompanionAddInAndSyncAPI.md) are intent/history. “Invisible sync,” linked deletion, skeleton generation and broadly bidirectional planning should not be assumed implemented from those documents. Conversely, Core Import's AI scene detection, paragraph provenance and manual-save handshake are real code beyond the older small-add-in description.
|
||||
|
||||
## 8. Office.js → VSTO / Interop mapping
|
||||
|
||||
All native equivalents in this table are **design feasibility mappings**, not tested replacement behaviour. Every Word COM access should be owned and scheduled through Word's UI/STA context; sending RCWs/Word objects to an agent or Task.Run is not a safe boundary. Only immutable text/ID/index/version DTOs should cross it.
|
||||
|
||||
| Existing API/mechanism | Current purpose | Native equivalent / difference and risk | UI/STA access |
|
||||
|---|---|---|---|
|
||||
| Manifest ShowTaskpane/Home ribbon | Launch one hosted UI | VSTO Ribbon XML/designer + task pane/native minimal status UI. Preserve all existing commands somewhere, even if ribbon stays small. Windows desktop only; no automatic Mac/web replacement. | Ribbon/task pane creation and Word state: yes |
|
||||
| Office.onReady, HostType.Word, context.diagnostics | Readiness/host/version diagnostic | ThisAddIn Startup/Shutdown + Application.Version/host/process/session diagnostics. Native availability is not a guarantee the document permits writes. | Word properties: yes |
|
||||
| Word.run, context.sync, proxy load | Batched Word reads/writes | Direct Interop calls/COM proxies; there is no context.sync transaction/equivalent. Extract in bounded UI-thread work, then process immutable DTOs off-thread. Fewer bridge calls can help, but no measured performance promise. | Yes |
|
||||
| document.body.paragraphs.load text/style/styleBuiltIn | Discover body structure/prose | Document.Content/Paragraphs and Style/built-in heading identities. Interop text has paragraph/end-of-cell markers, different range coordinates and stories; preserve intended scope/normalization explicitly. | Yes |
|
||||
| getSelection().paragraphs | Cursor context | Application.WindowSelectionChange/Selection.Range with Word range start/end. Better positional evidence than text matching, but document/window identity and stale ranges must be handled. | Yes |
|
||||
| Office.EventType.DocumentSelectionChanged add/removeHandlerAsync | Idle-triggered tracking | Application WindowSelectionChange plus DocumentOpen/NewDocument/DocumentChange/BeforeClose/BeforeSave and selected content-control events as appropriate. There is no universal reliable “all prose changed” event simply by porting this one handler. | Event handling/Word reads: yes |
|
||||
| paragraph.contentControls / document.contentControls | Read PD IDs/cleanup count | Document/Range ContentControls, Tag/Title; hierarchical controls, nesting and protected content differ. Do not use control numeric runtime ID as replacement for persisted Tag. | Yes |
|
||||
| getRange(Content/Start/Whole).insertContentControl | Attach markers without writing prose | ContentControls.Add over explicit Range; collapsed vs noncollapsed range, allowed content types, nesting/protection/undo need real tests. | Yes |
|
||||
| control.tag/title/appearance=Hidden | Hidden control chrome + identity | ContentControl.Tag/Title/Appearance where supported. “Hidden” is not Font.Hidden and does not mean hide prose. Minimum Word versions must be established. | Yes |
|
||||
| **control.delete(true)** | **Office.js: keepContent=true** | **Interop ContentControl.Delete(DeleteContents): preserve with false, not true. Copying the Boolean would delete manuscript content.** This is a critical semantic migration hazard. [Office.js reference](https://learn.microsoft.com/en-us/javascript/api/word/word.contentcontrol?view=word-js-preview) and [Interop reference](https://learn.microsoft.com/en-us/dotnet/api/microsoft.office.interop.word.contentcontrol.delete?view=word-pia). | Yes |
|
||||
| getBookmarks(true,true), insertBookmark, deleteBookmark | Hidden/adjacent fallback anchors | Range.Bookmarks/Document.Bookmarks, ShowHidden, Add/Delete; preserve underscore naming and bookmark endpoint semantics. Reader/writer/cleanup must support both marker families. | Yes |
|
||||
| Office.context.document.settings get/set/remove/saveAsync | Add-in-scoped document binding | No established one-to-one mapping to CustomDocumentProperties. Inspect OOXML/add-in settings and implement a reviewed one-time adapter or migration; CustomXMLParts/properties could be a new format only with explicit versioning. | Word/package access on adapter boundary; no live RCW off-thread |
|
||||
| Office.context.document.url | Display document name / diagnostics | Document.FullName/Name plus unsaved-document identity; distinguish cloud URL, file path, Save As and separate process/window. Avoid leaking paths to logs. | Yes |
|
||||
| Feature-detected document.saveAsync helper | Cleanup save attempt; onboarding instead asks user | Document.Save/BeforeSave/SaveAs lifecycle. Handle read-only/cloud/AutoSave/unsaved path, cancellation and actual save completion; never silently save unrelated prose edits as a metadata side effect. | Yes |
|
||||
| JSON.fetch + same-origin cookie | HTTP project/runtime operations | HttpClient async with explicitly designed client authentication. Browser cookie inheritance does not occur automatically. API authorization remains server-owned. | No Word access; network off UI thread |
|
||||
| JS SignalR 8.0.7 | Presence/scans/follow routing | Microsoft.AspNetCore.SignalR.Client; qualify a compatible version/target for .NET Framework or put network stack in modern agent. It must be **ASP.NET Core** SignalR, not legacy Microsoft.AspNet.SignalR. | Network off UI thread; Word commands marshalled back |
|
||||
| localStorage/sessionStorage/tab state | Pane UI choices and browser IDs | Native per-user preferences may replace pane choices; browser window identities/preferences should remain in browser. Distinguish durable document binding from local convenience. | Usually no; UI binding through UI thread |
|
||||
| window.open/focus/getScreenDetails | Independent browser windows and placement | Preserve browser launcher or carefully approved shell activation. VSTO can coordinate Word windows, but cannot assume control of browser permission/focus. | Word placement yes; shell/browser paths separate |
|
||||
|
||||
Microsoft documents Office's non-thread-safe object model, STA marshaling and busy-call failures in [Threading support in Office](https://learn.microsoft.com/en-us/visualstudio/vsto/threading-support-in-office?view=visualstudio). Rejecting/busy COM calls need bounded UI-aware retry/cancellation; a second process does not remove that constraint. Selection-event behaviour has its own limitations, including embedded documents ([WindowSelectionChange](https://learn.microsoft.com/en-us/office/vba/api/word.application.windowselectionchange)).
|
||||
|
||||
VSTO remains .NET Framework rather than modern .NET ([Microsoft runtime policy](https://learn.microsoft.com/en-us/visualstudio/vsto/visual-studio-tools-for-office-runtime?view=visualstudio)). Shared server code targets .NET 10 and cannot simply be referenced wholesale by VSTO. Reuse protocol schemas/pure portable logic selectively; verify library/package compatibility. Office.js currently offers cross-platform Word integration ([Word add-ins overview](https://learn.microsoft.com/en-us/office/dev/add-ins/word/word-add-ins-programming-overview)); choosing native Windows VSTO requires a product decision about Mac/web users.
|
||||
|
||||
## 9. Technical debt and reliability findings
|
||||
|
||||
No fixes were applied. “Confirmed” below refers to inspected code paths or isolated reproductions, not a destructive live reproduction. Risk prioritization is an engineering assessment.
|
||||
|
||||
| ID | Finding / evidence | Classification and implication |
|
||||
|---|---|---|
|
||||
| D01 | Hub Complete/RequireManualSave/Fail marker methods derive authenticated user but pass arbitrary BuildID to repository. Repository/SPs accept no UserID and update only WHERE BuildID. Confirmed in live Development procedure definition and source SQL 158. | **Confirmed authorization defect, high priority.** An authenticated caller can address another build if its ID is known. Did not invoke it. Require ownership and command/session association before any native reuse. Normal MVC filters do not protect hub methods. |
|
||||
| D02 | Presence keyed by user, last registration/heartbeat wins; no document/session GUID in presence command routing. | **Confirmed design limitation, high multi-document risk.** Scan/marker commands can target an unintended open Word session. Current multiple browser-window support must not be mistaken for multiple-document safety. |
|
||||
| D03 | Marker instructions index current paragraphs but do not verify preview revision, expected text or bound document GUID; missing indexes silently skipped. | **Confirmed unsafe precondition gap.** Wrong/partial markers possible after manuscript edits/switch; no Word+SQL atomic rollback. Treat mutation authorization as document/session/revision-scoped. |
|
||||
| D04 | writing-follow allows concurrent fetches without latest-request check; isolated actual-script test displayed old scene after newer response. | **Reproduced race.** Add ordering/cancellation in eventual design; avoid silently showing stale context. |
|
||||
| D05 | writing-workspace startWorkspace references undeclared currentRole when opening missing Intent. | **Reproduced ReferenceError** in isolated actual script. Existing test sequencing misses the fresh launch branch. This affects launcher Start, not every direct Open Intent path. |
|
||||
| D06 | Runtime paragraph selection matches cached text/style; edited/duplicate/blank paragraphs can retain/choose wrong index. Body insert/delete doesn't rebuild boundaries automatically. | **Confirmed algorithmic limitation**, concrete cases evident in code; not desktop-measured. Incorrect scene/count attribution risk; native positional APIs help only with revision invalidation too. |
|
||||
| D07 | Local generation checks do not prevent server accepting already-sent stale position/count requests; follow payload has no sequence/session/document ID. | **Confirmed protocol omission.** Late messages can change server/UI state; no conflict rejection. |
|
||||
| D08 | Host initial/terminal SignalR failure retains connection object and/or drops heartbeat; follow reconnect does not request replay; scene signature suppresses repeats across cache loss. | **Confirmed recovery gaps.** Do not claim automatic reconnect fully restores live position. ASP.NET Core SignalR automatic reconnect does not retry initial start failures by itself ([client guidance](https://learn.microsoft.com/en-us/aspnet/core/signalr/dotnet-client?view=aspnetcore-8.0)). |
|
||||
| D09 | Marker inspection/clean operate only on contentControls although reader/writer supports bookmarks. | **Confirmed cleanup omission.** Clean/unlink may report no remaining markers while fallback bookmarks survive. |
|
||||
| D10 | Cleanup awaits save helper but ignores Saved/Failed/Unsupported; onboarding completion is self-reported, and absent marker indexes can still yield no-op completion. | **Confirmed save/ack reliability gaps.** Separate marker-applied, settings-persisted and document-saved states. Do not equate user acknowledgement with independent disk proof. |
|
||||
| D11 | Current-scene notification requires valid scene; no server clear event on unknown/outside/unlink; cached browser display can remain. | **Confirmed stale-state gap.** Show freshness/source explicitly; do not silently retain authority. |
|
||||
| D12 | H full-body text read for current-scene snapshot; per-marker context.sync; full JSON memory copies and sequential upload; multiple UI/hub connections. | **Confirmed cost drivers; performance impact unmeasured.** Profile 190k+ words before deciding process split or claiming VSTO acceleration. |
|
||||
| D13 | Scan/review chunks/previews/build progress in singleton dictionaries, no durable outbox/resumable protocol/TTL cleanup of all retained previews; nested mutable state. | **Confirmed recovery/memory limitations; concurrency impact inferred.** Restart loses unfinished source/review, accumulated memory can grow; concurrent same-user clients require stress qualification. |
|
||||
| D14 | Chunk path checks active session/ScanID but completion payload scope is not rechecked like alternate CompleteOnboardingScan; progress/failure lack ScanID. | **Confirmed validation inconsistency.** A new protocol should validate envelope/payload scope and command identity consistently; no cross-user data-write attempt made. |
|
||||
| D15 | 6,635-line closure mixes Office, parsing, network, suggestions, UI and recovery; several structural parsers and duplicated hub connections. Legacy APIs/unused helpers and orphan build-completed listener coexist. | **Simplification opportunity**, not inherently a defect. Preserve capability/contracts, not the file's internal organization. |
|
||||
| D16 | Manifest “development” config targets public domain; package 0.1.0, manifest 1.0.0.0, host 20C, server informational version are unrelated. | **Confirmed configuration/version ambiguity.** Need explicit environment/capability/version handshake; installed manifest environment remains unknown. |
|
||||
| D17 | Count-only “sync” leaves SceneManuscriptSources unchanged; title deletion/rename reconciliation not a complete pipeline. | **Confirmed functionality gap relative to broader sync expectations**, not a hidden existing two-way prose feature. Decide required source freshness and structural authority before designing replacement. |
|
||||
| D18 | Body-text extraction/regex detection/word splitting normalizes/omits formatting and nonbody content; English-style heading/name heuristics. | **Known scope/quality limitations.** No evidence for arbitrary-language/format-rich fidelity; do not promise Word's exact word-count semantics. |
|
||||
| D19 | Cookie-authenticated JSON writes lack explicit CSRF policy; client auth cannot be transplanted to native agent; local paths/names/IDs appear in diagnostics. | **Security design work**, distinct from proved D01. Verify origin/CSRF, privacy, credential storage/revocation and native login; no speculative exploit claim. |
|
||||
| D20 | Browser-led scan sends currentDocumentGuid (empty for an unbound document); server generates a GUID in BuildApprovedStructureAsync. UpdateOnboardingBuildMarkers writes anchors but not document settings; build result has ManuscriptDocumentID, not a binding payload. Only task-pane link/import calls writeDocumentBinding. | **Confirmed missing binding write-back on the initially unbound Core Import path.** If a separate binding step has not occurred, newly created server linkage is not persisted into Word by that handler; later runtime requires it. Do not assume marker success proves a resumable bound document. Actual affected-user frequency was not measured. |
|
||||
|
||||
Existing tests provide useful but mixed-strength evidence. `PlotLine.Tests/Program.cs` includes many source-string assertions (routes/events/markers/tabs) and real in-memory presence/chunk assembly tests; source strings do not prove Word host operations. Browser writer-workspace/goals scripts exercise compiled Razor/real hub but emulate PWA and do not automate desktop Word. `WordTransferDatabaseTests` exercises real isolated HTTP/SQL structure/count/import/access/retry semantics, explicitly excluding desktop prose transfer. Core transfer tests exercise retained source/provenance. None is a measured Windows Office 190k-word qualification, native process-lifecycle/COM test, or proof that installed manifests use the expected environment. This investigation did not rerun mutation-capable SQL tests.
|
||||
|
||||
## 10. Architecture comparison: in-process vs separate agent
|
||||
|
||||
These are proposed designs, not existing implementations. Both must keep Word object-model ownership inside VSTO and leave canonical planning/domain rules on the server.
|
||||
|
||||
| Concern | VSTO with in-process asynchronous components | Thin VSTO + local C# agent |
|
||||
|---|---|---|
|
||||
| Responsibility | Adapter + pure processing/network queues in one add-in process; explicit UI dispatcher. | Adapter handles COM/ribbon; immutable snapshots/commands over IPC; agent handles pure processing, HTTP/SignalR, outbox/retry. |
|
||||
| Word extraction | UI/STA bounded work; background cannot safely read arbitrary Word objects. | **Same limitation.** Agent cannot make live COM extraction free; avoid agent automating Word out-of-process as a workaround. |
|
||||
| Runtime/library options | .NET Framework compatibility limits; portable DTO/pure library reuse requires verification. | Modern .NET agent can use newer supported libraries while VSTO stays Framework. Strong potential reason for split, independent of performance. |
|
||||
| Crash containment | Faults/heavy allocations can harm Word; good cancellation/error discipline essential. | Agent crash/heavy parsing separated; VSTO failure can still affect Word. IPC failure must leave editing functional. |
|
||||
| Lifecycle/offline | Simplest lifecycle follows Word; durable outbox possible but worker stops with Word. | Can persist/retry after Word closes, if source snapshot is complete and authorized. Cannot apply Word changes after its document closes. |
|
||||
| Multiple documents/instances | Per-Application/window/document registry and server session IDs needed. | Same registry plus per-Word-process/agent session routing; broker avoids multiple worker connections only with explicit design. |
|
||||
| Installation/update | One add-in/signing/trust/version chain. | Two binaries/runtime prerequisites/autostart/repair/update coordination; partial updates and orphan agents are new failure modes. |
|
||||
| Authentication | Native login/token model still required; not solved by being in Word. | Agent may centralize per-user login, encrypted token storage/revocation, but server needs a supported native authentication protocol. |
|
||||
| Diagnostics | One process/log correlation; Word user impact needs care. | Cross-process correlation IDs and health states essential; richer support export possible but not automatic. |
|
||||
| Engineering cost | Lower initial operational/protocol complexity. | Higher: IPC security/framing/flow control, compatible protocol rollout, lifecycle recovery, duplicate-worker avoidance. |
|
||||
|
||||
**Provisional recommendation:** design a transport-independent Word adapter and protocol first. Start evaluation with a small, reviewed in-process prototype unless the approved requirements demand modern-runtime-only dependencies, offline/background continuation or demonstrated fault/memory isolation that warrants the agent. If those requirements are confirmed, the proposed split is reasonable and Windows named pipes are the leading IPC candidate. Do not make extraction/synchronization reliability conditional on a process split; D01–D11 are protocol/adapter issues in either architecture.
|
||||
|
||||
### Agent feasibility and proposed IPC
|
||||
|
||||
- Prefer a **per-user interactive agent**, not a Windows service controlling Word. One agent per Windows logon session may broker multiple Word processes; identify environment, account, Word process/application instance, document instance, persistent DocumentGuid and browser-follow session separately. Persisted document GUID is not a process/document-instance ID.
|
||||
- Named pipes with framed, bounded, versioned DTO messages are a good Windows-local candidate: explicit pipe ACL to current user, local-only intent, peer/session validation, handshake and size/time/cancellation limits. Modern .NET `PipeOptions.CurrentUserOnly` checks user/elevation ([Microsoft API](https://learn.microsoft.com/en-us/dotnet/api/system.io.pipes.pipeoptions?view=net-10.0)); older VSTO Framework availability differs, so qualify explicit PipeSecurity/compatible APIs rather than assuming the same enum is usable everywhere.
|
||||
- Loopback HTTP/gRPC is possible, but requires port discovery, browser-origin/CSRF protection, local authentication and firewall/URL policy. gRPC-over-pipes is an option only after validating the Framework client's HTTP/2/handler/library support; it is not a free drop-in. Direct COM IPC couples lifetimes/threading; memory-mapped files add synchronization complexity without evidence of need. Start with a simple authenticated pipe protocol unless measurement dictates otherwise.
|
||||
- The agent must not receive or hold Word COM proxies. VSTO creates immutable snapshots on STA, with document revision/paragraph identities and cancellation. Pure parsing/hashing/serialization/compression/local detection/network IO can run in the agent or in-process background components.
|
||||
- Launch-on-demand, per-session single-instance ownership, version handshake, crash backoff and idle shutdown need explicit policy. Agent startup after Word crash must not replay marker writes into a different document. Queued work must carry environment/account/document/revision/idempotency keys and expire or be superseded safely.
|
||||
- Authentication proposal: supported native browser-assisted login/token issuance, revocable scoped credentials, per-user encrypted storage and logout/account-switch propagation. Existing server supplies cookie login only; OAuth/device-code endpoints must not be invented as currently available. Never scrape browser cookies/store account passwords to avoid designing auth.
|
||||
- Installer design must qualify supported Office/Windows/bitness, VSTO Runtime/.NET Framework, signing/trust and per-user/per-machine scope. VSTO ClickOnce and Windows Installer are documented deployment paths ([ClickOnce guidance](https://learn.microsoft.com/en-us/visualstudio/vsto/deploying-an-office-solution-by-using-clickonce?view=visualstudio)); choose one and explicitly coordinate agent prerequisites/updates. A newer independently updated agent needs backward-compatible protocol negotiation, not a forced identical server build.
|
||||
- Logging proposal: correlation envelope, redacted document identifiers, event/revision/operation IDs, timings, retries/ack state and bounded rotation. Exclude manuscript bodies/tokens/paths by default; deliberate diagnostic export needs author consent. Crash recovery must distinguish “not sent,” “server committed,” “markers applied” and “save confirmed.”
|
||||
|
||||
## 11. Migration capability matrix
|
||||
|
||||
The [complete CSV matrix](2026-11-04-word-companion-migration.csv) assigns a disposition, complexity, risk, dependencies and testing to **every F01–F36 feature**. It explicitly covers Context, Intent, multiple screens, presence/SignalR, imports and manuscript sync. Classifications are recommendations:
|
||||
|
||||
- **Retain:** canonical domain, authorization, planning/review/source database and browser display functionality; no Office-specific rewrite required, though defects called out here still need separately authorized repair.
|
||||
- **Reuse:** current validated DTO concepts, stored-procedure boundaries, source custody rules, idempotent build/mapping logic and tested matching concepts after qualification.
|
||||
- **Replace:** Office.js host/manifest, document access, settings bridge, marker operations, selection adapter and native diagnostics/lifecycle.
|
||||
- **Redesign:** native authentication, multi-document/session routing, revision/ordering/idempotency, durable work/retry and mutation acknowledgement; current internals are unsuitable to carry forward unchanged.
|
||||
- **Investigate:** installed manifest environment, real Office marker/settings package compatibility, rich/protected/track-changes behaviour and large-document performance.
|
||||
|
||||
“Retain Context/Intent” means preserve their capabilities and browser ownership, not ignore D04/D08. “Reuse SignalR contracts” means compatible/adapted server semantics, not immutable propagation of user-only routing. Some features have one primary disposition and explicitly named supporting changes in the CSV.
|
||||
|
||||
## 12. Risks, unknowns and decisions required
|
||||
|
||||
| Decision / unknown | Evidence needed before implementation |
|
||||
|---|---|
|
||||
| Windows-only scope | Supported Windows/Office versions, 32/64-bit, enterprise policy; number of Mac/web users and whether Office.js remains supported. |
|
||||
| Agent justification | Representative measured STA extraction, memory/CPU, UI latency and supported network-library matrix; requirements for work continuing after Word closes. |
|
||||
| Native authentication | Approved server/client flow, scopes, expiry/revocation/2FA/account switching, allowed environment endpoints and credential-storage policy. No native auth exists in this path today. |
|
||||
| Settings/marker migration | Real linked DOCX files containing Office add-in settings, controls, hidden bookmarks, mixed/nested markers, Save As copies; read-only package inspection followed by later authorized round-trip tests. No actual manuscript file was provided. |
|
||||
| Authoritative document/session | Policy for two documents for the same book, Save As/duplicate GUID, two Windows machines, multiple Word processes, multiple accounts/environments and which browser screens follow each. |
|
||||
| Meaning of manuscript sync | Counts-only parity versus incremental canonical prose refresh, structural rename/reorder/archive, conflict policy and whether analysis reruns require explicit author approval/cost. Do not silently turn a transport migration into a prose replication feature. |
|
||||
| Mutations allowed back to Word | Identifiers/metadata only; whether future explicit navigation is wanted. Any prose/skeleton write would be a new approved capability, not necessary parity. |
|
||||
| Save/protection/undo | Cloud/AutoSave/coauthoring/track changes/protected documents and read-only files; whether metadata operations must create one undo step and how cancellation is handled. |
|
||||
| Existing deployed Office behaviour | Installed manifest URL/version, actual Word host capabilities, cookie/webview navigation and monitor/popup behaviour. Source config targets public domain, but this inspection made no Production requests. |
|
||||
| Server recovery/security | Ownership defect, scan lifetime/TTL, mutation authorization, version/feature negotiation, stale-position clearing and reconnect snapshot/replay strategy. |
|
||||
| Performance threshold | Real 190k–250k+ word manuscripts, many short paragraphs vs huge paragraphs, repeated text, tables/blank lines and all editing scenarios. Define quantitative UI pause/memory/upload/recovery budgets before comparing architectures. |
|
||||
|
||||
No inaccessible dependency was silently treated as verified. Microsoft Word desktop/VSTO/tenant installation and real documents were unavailable. The single supplied repository and its SQL metadata were accessible. Microsoft Range reference retrieval failed during external browsing; API minimum-version qualification remains explicitly open rather than asserting an unsupported requirement-set number. Microsoft documentation above supports platform constraints, not PlotDirector-specific runtime correctness.
|
||||
|
||||
## 13. Recommended implementation phases — review first
|
||||
|
||||
1. **Approve contracts and product boundaries.** Review this report and matrix; decide platform support, counts vs prose sync, document/session authority and native authentication. Record compatibility requirements and error/save states. Do not start with a broad rewrite.
|
||||
2. **Define acceptance fixtures and capture existing Word packages.** Later, with authorization, capture representative linked/unlinked/mixed-marker documents and testable end-to-end scenarios. Establish no-prose-change/format/comment/track-change/undo invariants and quantitative 190k+ performance baseline.
|
||||
3. **Separately authorize server reliability/security repairs.** Ownership checks, document-session/revision envelopes, ordered latest position, snapshot/replay/clear and idempotent marker acknowledgements. Maintain legacy clients through capability negotiation. These changes are not implemented by this investigation.
|
||||
4. **Prototype only the Word adapter and compare architectures.** STA scheduling, positional selection, settings read-back, dual-marker read/write/cleanup and bounded snapshots. Measure in-process async and agent alternatives using the same manuscripts before selecting packaging.
|
||||
5. **Port feature slices without duplicating domain logic.** Native ribbon/binding → read-only context/follow → count/suggestion sync → both import flows/markers/save/recovery → maintenance/unlink. Keep existing browser Context/Intent and canonical services; ensure parity for all matrix rows.
|
||||
6. **Add agent only if decision gate supports it.** Implement reviewed IPC/auth/version/lifecycle/outbox policy; test crash/restart/account switch/parallel Word instances and stale command refusal. A process split must retain fast no-network Word editing.
|
||||
7. **Qualify migration and controlled rollout.** Desktop STA/COM tests; real SignalR/API/SQL authorization tests; multi-window and multi-document reconnect/out-of-order tests; no-data-loss DOCX comparisons; signed installer/update/rollback matrix. Retain original client until native parity and source/marker migration are proved.
|
||||
|
||||
This investigation ends at documentation and evidence. No replacement code, migration, refactor, deployment, new native project or application repair has been started. Await review before implementation.
|
||||
37
Docs/Investigations/2026-11-04-word-companion-migration.csv
Normal file
@ -0,0 +1,37 @@
|
||||
FeatureID,Capability,PrimaryDisposition,Complexity,Risk,DependenciesAndSupportingChanges,RequiredTesting
|
||||
F01,Ribbon and task-pane launch,Replace,Low,Medium,VSTO ribbon/startup; supported Office builds,Load/unload; disabled add-in; Windows/Office bitness; retain all command entry points
|
||||
F02,Authentication and account session,Redesign,High,High,Native authentication server decision; token/cookie separation,"2FA, expiry, lockout, logout/revocation, account/environment switching; no password/cookie scraping"
|
||||
F03,Project/book listing and book creation,Reuse,Low,Medium,"Existing authorized APIs, entitlements and DTOs",Owner/collaborator/foreign author; empty/archived projects; subscription denials
|
||||
F04,Document binding,Replace,High,High,Office settings read-back; ManuscriptDocument_Save; identity policy,Existing linked DOCX; GUID conflict; Save As/copy; server-success/local-failure recovery
|
||||
F05,Bound-document resume,Redesign,Medium,High,Document binding; runtime/book; session handshake,Offline vs invalid binding; two documents same book; reopened files; stale/inactive link
|
||||
F06,Older pane first-run analysis,Replace,Medium,Medium,Heading/separator adapter; existing analyse DTO/SP,Explicit/nonexplicit scenes; empty content/front matter; localized/custom headings
|
||||
F07,Older pane first-run import,Reuse,Medium,High,Existing transactional import and validation; new Word adapter,"Planned replacement confirmation, archival protection, repeat import, SQL/local metadata partial failure"
|
||||
F08,Character discovery and selected creation,Reuse,Medium,Medium,Existing heuristic/name intelligence/API; source extraction,Unicode/name variants; false positives; count/selection limits; existing names and skip
|
||||
F09,Browser-to-Word scan dispatch,Redesign,High,High,Document/process/session selection; hub contract,Wrong-document/machine routing; concurrent scans; account scope; disconnection
|
||||
F10,Full scan extraction/chunk transport,Replace,High,High,STA snapshots; source mapping; reviewed upload protocol,190k+ measured Word extraction; long/short paragraphs; partial/out-of-order/duplicate chunks; memory budget
|
||||
F11,Browser chapter review,Retain,Medium,Medium,Existing Onboarding UI/store; durability redesign separate,Review/inclusion/title/order; restart loss/recovery; cancellation; author scope
|
||||
F12,Core Import canonical build/source custody,Reuse,High,High,OnboardingService; analysis/validator; source/build SPs,"Approved structure, reversible source boundaries, retry/resume, provider failure, canonical source/POV/chronology"
|
||||
F13,Server-issued Word marker application,Redesign,High,Critical,Revision/document preconditions; STA adapter; build ownership,"Changed/switching document, stale indexes, missing marker instruction, partial writes, idempotent retry"
|
||||
F14,Manual save/marker acknowledgement,Redesign,High,High,Owned build commands; actual Word save state; persistent statuses,"Manual/cancelled/read-only/cloud save, missing instructions, stale ack, another user build; no false completion"
|
||||
F15,Current chapter/scene resolution,Replace,High,High,Word Range identity + existing DB ID/title resolution,"Repeated/edited/blank text, anchored/unanchored/nested markers, chapter-only positions"
|
||||
F16,Edit and selection detection,Redesign,High,High,Word UI event model; revision invalidation and coalescing,Typing/paste/undo/reorder/delete; in-flight edits; focus/window changes; no blocking UI
|
||||
F17,Explicit document/current-scene refresh,Replace,Medium,Medium,STA extraction; cache invalidation; existing API,Full rebuild after edits; event unsupported; interruption/cancel; meaningful errors
|
||||
F18,Companion planning brief and status,Reuse,Low,Medium,Scene_Companion DTO/SP and canonical data,"Correct current scene, blocked reasons, nullable fields, revoked access; stale display indication"
|
||||
F19,Runtime count synchronization,Redesign,Medium,High,Runtime count SP reused; revision/outbox/freshness contract,"Same-count prose edits, duplicate/late writes, last-worked date, offline retry, stale scene rejection"
|
||||
F20,Legacy word-count API compatibility,Investigate,Low,Medium,Consumer/deprecation inventory; existing endpoint retained initially,"Known clients/version scope, authorization, compatibility; do not silently remove public operation"
|
||||
F21,Legacy scene/manuscript sync APIs,Investigate,High,High,External consumer evidence; title matching and concurrency redesign,"Duplicate titles, create/partial retry, ordering, quotas; document/hash semantics; explicit retirement decision"
|
||||
F22,Create/link chapter,Reuse,Medium,High,Existing API/entitlements; replace marker adapter,"Duplicate title/search, SQL create then Word failure, foreign chapter, manual confirmation"
|
||||
F23,Create/link scene,Reuse,Medium,High,Existing API/entitlements; chapter resolution; native markers,"Wrong chapter, duplicate/empty title, foreign scene, partial create/link and repeat"
|
||||
F24,Anchor attachment/repair,Replace,High,Critical,Interop controls/bookmarks; existing tag grammar,"Mixed/nested controls, fallback bookmarks, duplicate IDs, protection, byte/prose/format/undo invariants"
|
||||
F25,Structural maintenance preview/apply,Redesign,High,High,Diff policy; existing create/link APIs; native markers,Ambiguous/missing/duplicate IDs; no implicit deletion; per-item recovery; revised document before apply
|
||||
F26,Runtime entity suggestions,Reuse,Medium,Medium,Alias APIs/limits; pure detection qualified; snapshot revision,"Whole-word/Unicode aliases, conservative locations, cache refresh, stale responses, settled decision preservation"
|
||||
F27,Scene links and suggestion review,Retain,Medium,High,Existing scene/review services + ownership; native pane integration,Characters/assets/primary/multiple locations; accept/reject idempotence; stale-scene write and author separation
|
||||
F28,Live current position / SignalR routing,Redesign,High,High,Existing validation + extended document/session/sequence/replay,"Out-of-order/duplicate/clear/replay; multiple Word instances, documents, machines and accounts"
|
||||
F29,Open browser Writer/Context/Intent,Replace,Medium,Medium,Shell/browser activation; scoped URLs and named browser roles,Real external browser vs webview; sign-in separation; popup denial; scope propagation
|
||||
F30,Context screen and live follow,Retain,Medium,High,Existing canonical services/views; follow race/reconnect repair required,"All five tabs, scoped manual selection, snapshot replay, delayed fragments, multi-document filtering; no reverse Word command assumed"
|
||||
F31,Intent screen and live follow,Retain,Medium,High,Existing workflow/goals/views; follow race/reconnect repair required,All five tabs; chapter-only and scene paths; manual chapter choice; state retention and ownership
|
||||
F32,Multi-screen layout/window focus,Retain,Medium,High,Browser workspace roles/display preferences; launch defect separately addressed,"Fresh Start without Intent, reuse/focus, 1/2/3+ displays, denied permission, several books/windows; no implied native Word monitor control"
|
||||
F33,Presence/connection/reconnect management,Redesign,High,High,Agent/in-process network stack decision; session-scoped server presence,"Initial failure, terminal reconnect, stationary cursor after server restart, lost events, stale timeout, multiple users/docs"
|
||||
F34,Unlink preserving markers,Replace,Medium,High,Native settings adapter; existing server unlink retained,"Server/local partial failure, offline local-only confirmation, preserved planning data and markers"
|
||||
F35,Clean/unlink removing markers,Replace,High,Critical,Dual marker cleanup + semantic Interop Delete(false); save policy,Keep prose/format/comments/tracked changes; bookmark cleanup; cancel/failed save; foreign controls untouched
|
||||
F36,Diagnostics/progress/error recovery,Redesign,Medium,Medium,Correlation/version/operation IDs; local logging and server progress,"Redaction, bounded log rotation, recovery phases, environment clarity, UI responsiveness and support export policy"
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Overnight Development handover — 5–6 November 2026
|
||||
|
||||
Shared branch: `codex/word-companion-native-phase1-20261104`. Started by fetching the configured origin and fast-forwarding to Windows handover `97f5d99`. No Production deployment, author-account changes or Windows installation operations.
|
||||
|
||||
## Workstreams
|
||||
|
||||
| Workstream | Delivered | Commits / qualification | Limits |
|
||||
|---|---|---|---|
|
||||
| Word AI review → import | Browser-approved optional encrypted source capture; approved scenes only; target-book preview; explicit confirmation; canonical manuscript build and source/summary services; atomic receipt; retries; incremental new-chapter append | `bf515d2` and final integration commit; service and actual authenticated HTTP tests; Development SQL fixtures | Existing chapters are never overwritten. Changed/overlapping imports and title matches conflict rather than reconcile. A real author must qualify the complete workflow in Word. |
|
||||
| Context / Intent | Independent saved-scene picker; live-follow/manual pause/return; minimal embedded writing layout; existing calendar, Story Maps, floor-plan, relationship and plot-line navigation; saved Intent progress | `15ea2ba` plus theme inheritance integration; browser live/manual/pinned/stale-response tests | No invented AI fulfilment scores. No automatic map centring without a reliable saved mapping. Imported-position follow requires updated tray and exact observed revision; marker-based follow remains available. |
|
||||
| Plot Lines | Existing Focus/Weave enriched with intersection/health summary, intersection-only filter, combined text filtering and next-intersection navigation | `caeb90b`; actual Razor browser Focus/Weave/association/theme regressions | Existing suggestions and author confirmation retained; no new AI engine or silent membership changes. |
|
||||
| Continuity | Severity/rule/entity evidence clusters, active/decided filter, search, expand/collapse and clear detection timestamps | `b8bb089`; pure grouping and real browser interaction tests | Related evidence is not asserted to share a root cause. Existing actions retained; no new persisted Deferred/Resolved states. Detection time is not proof prose was rechecked. |
|
||||
| Onboarding / release | Browser-first first-book guide and honest Companion installation availability; Home/Help links; public theme/account behaviour checked | `b8bb089`; actual Help routing and public-site browser tests | Verified installer exists only on Windows; no fabricated public download. No live payment/subscription mutation performed. |
|
||||
|
||||
## Import operation and consent
|
||||
|
||||
The browser pairing approval offers an **unchecked** encrypted import-capture permission. Legacy grants default to false. This works with tested Windows agent **1.0.0.10**: sign out/reconnect, approve capture in the browser, select the correct book, explicitly submit the selected chapters again. Identical persisted AI results are reused; review decisions survive, and source capture does not incur another AI request. Existing agent caches may require reconnecting/restarting before resubmission.
|
||||
|
||||
Encrypted selected-chapter source is retained with the existing 30-day review lifecycle, protected by server Data Protection. Confirmed import becomes ordinary saved book data. Keep the existing server Data Protection keys backed up. Logs contain neither manuscript prose nor tokens.
|
||||
|
||||
In the browser workspace, edit titles/summaries and save approved/rejected decisions, select reviews, preview the exact proposed chapter/scene structure and destination, then confirm. Pending/rejected scenes are excluded, explicitly disclosed. The transaction rechecks authorisation, subscription, review version, source identity/hash and duplicates. It uses `dbo.Onboarding_ManuscriptBuild_Create`, then existing source and summary procedures. A receipt is returned only after all source writes commit. No Word prose or markers are changed; marker status is `NotRequestedNative`.
|
||||
|
||||
New chapters append in capture order. Existing relationships and metadata remain untouched. Changed existing imports require a subsequent explicit reconciliation feature. Successful AI chapter results persist; failed chapters are retried explicitly. The tray reports processed/failed/import-ready counts separately.
|
||||
|
||||
## Position and multi-screen safety
|
||||
|
||||
Optional tray 1.0.0.11 sends the already available selection start, without additional Word COM operations. The server resolves only saved imported absolute ranges for the same authorised book, persistent document identity, captured live session and observed revision. Scene/chapter changes invalidate the browser workspace; cursor heartbeats do not continuously rebuild it. After an observed edit, unmatched ranges are refused rather than guessed. This is not durable bookmark installation: reopened sessions are refused (SQL regression checked); same-length dirty edits still require Windows qualification; manual scene choice and existing markers remain the safer fallback. Chapter-relative paragraph indices are not saved as whole-document Word positions.
|
||||
|
||||
## Database and deployment
|
||||
|
||||
Development-only forward migrations: `232_NativeApprovedImport.sql`, `233_NativeImportedPositions.sql`, `234_NativeImportedSessionGuard.sql`. Both applied after verified COPY_ONLY/CHECKSUM backups:
|
||||
|
||||
- `/var/opt/mssql/backups/PlotDirector_Development-overnight-20261105T225822.bak`
|
||||
- `/var/opt/mssql/backups/PlotDirector_Development-overnight-position-20261105T232027.bak`
|
||||
- `/var/opt/mssql/backups/PlotDirector_Development-overnight-session-20261105T234600.bak`
|
||||
|
||||
SQL regression fixtures run inside rollback transactions. Tests cover initial import, exact source/summary, duplicate retry, ordered append, stale revision refusal, and failure after canonical build maps were emitted. Failure leaves no chapter, scene, receipt or fixture behind. No real manuscript import was executed by this sprint.
|
||||
|
||||
Final Development deployment evidence and final regression counts are recorded in the companion verification note. Existing environment configuration, uploads, Data Protection and logs are preserved. Production unchanged.
|
||||
|
||||
## Windows handover and installer preservation
|
||||
|
||||
`WindowsValidation/Setup` remains byte-for-byte unchanged from `97f5d99`. Its builder intentionally pins the Windows-qualified **1.0.0.10** payload/source `6cdb49c`; do not edit that guard to make an unqualified package appear approved. The Windows handover records installer SHA256 `9526E3781EB2EF9936132786E1E2242633349933A553E93E7A7D0B038160A7FF`. Atlas does not possess that artifact, so Help does not offer a fake URL or expose a developer path.
|
||||
|
||||
Native sources are version **1.0.0.11**, for richer import-ready reporting and optional imported cursor mapping. Linux builds include the Windows-targeted managed tray; they do not execute Word/VSTO or qualify an installer upgrade. The VSTO Word adapter implementation remains unchanged from the Windows baseline; version metadata alone advances. Windows Codex owns packaging and upgrade qualification through the existing scripts; no second installer/update mechanism was introduced.
|
||||
|
||||
## Ready for user testing
|
||||
|
||||
1. With existing installed Companion10, reconnect with capture consent; submit one chapter, approve some scenes, preview then confirm; repeat confirmation and verify no duplicates. Test a second new chapter and a changed existing chapter conflict. Check saved exact prose, summaries and existing metadata.
|
||||
2. Open Context and Intent in separate windows; choose scenes independently without Word; pause and resume follow, switch books/documents, disconnect and verify no stale scene takes over. Try tool links and theme changes.
|
||||
3. Use Plot Lines intersection filter/search/next; use continuity clusters and active/decided filters; ensure saved decisions remain unchanged until an explicit action.
|
||||
|
||||
## Release recommendation and next actions
|
||||
|
||||
Development is suitable for bounded author testing, **not public-release qualification**. Three next actions:
|
||||
|
||||
1. Qualify the real Word → chapter AI → approved import → saved story-data journey with an author-owned test book, including cancellation/retry and existing-content conflict cases.
|
||||
2. Windows Codex qualifies tray11, three documents, typing/saving under load, reconnect/revision safety, then builds and upgrade-tests through the preserved installer workflow.
|
||||
3. Obtain a distributable signed installer artifact, complete download/release gates and real-manuscript/access/subscription acceptance. Decide explicit existing-chapter reconciliation and evidence-backed Intent fulfilment as subsequent work.
|
||||
|
||||
No live provider billing, public account creation, Stripe upgrade/downgrade, full existing-manuscript reconciliation, native Word performance or public installer upgrade was proved by Linux fixtures.
|
||||
123
Docs/Investigations/2026-11-05-overnight-verification.md
Normal file
@ -0,0 +1,123 @@
|
||||
# Overnight qualification evidence
|
||||
|
||||
Application source deployed: `10f44ed`. Final handover/test-only commits do not change deployed application binaries.
|
||||
|
||||
Full application harness: **411 PASS**, process exit 0. Native portable harness: **206 checks passed**, exit 0. Final solution build: **0 warnings, 0 errors**. Actual authenticated HTTP regression passed after session guard change. Full harness preceded that isolated guard; final build, HTTP and SQL session regression rechecked it.
|
||||
|
||||
## Final build
|
||||
|
||||
```text
|
||||
|
||||
Build succeeded.
|
||||
0 Warning(s)
|
||||
0 Error(s)
|
||||
|
||||
Time Elapsed 00:00:54.15
|
||||
```
|
||||
|
||||
## Authenticated HTTP
|
||||
|
||||
```text
|
||||
PASS actual HTTP native pairing, antiforgery, bearer/stamp, book/subscription access, canonical AI/idempotency, persistent review and live WebSocket invalidation (synthetic provider, no database)
|
||||
```
|
||||
|
||||
## Native foundation
|
||||
|
||||
```text
|
||||
Native foundation: 206 checks passed. Linux named-pipe API uses Unix domain sockets; Windows ACL/COM/Word responsiveness NOT verified.
|
||||
```
|
||||
|
||||
## Writing screens
|
||||
|
||||
```text
|
||||
PASS native PWA exact-session following, pinned scope, manual pause, disconnection and Word-unavailable states
|
||||
PASS native presence badge never infers connection from associations and clears stale links safely
|
||||
```
|
||||
|
||||
## Existing Office.js browser regressions
|
||||
|
||||
```text
|
||||
PASS pinned context retains scoped saved content without SignalR/latest Word/window registration
|
||||
PASS pinned intent retains scoped saved content without SignalR/latest Word/window registration
|
||||
PASS fresh Writer launcher opens both missing role windows without undeclared currentRole
|
||||
```
|
||||
|
||||
## Plot Lines
|
||||
|
||||
```text
|
||||
PASS: narrative map Focus/Weave, shared scenes, threads, gaps, connections, themes, inspector and association workflow
|
||||
```
|
||||
|
||||
## Continuity
|
||||
|
||||
```text
|
||||
PASS warning triage search, state, expansion and unchanged author-action forms
|
||||
```
|
||||
|
||||
## Public design
|
||||
|
||||
```text
|
||||
PASS public theme isolation: all seven themes, browser/standalone, signed in/out; authentication palette and validation; responsive layouts, assets, navigation, checkout links and public SEO.
|
||||
```
|
||||
|
||||
## Embedded theme
|
||||
|
||||
```text
|
||||
PASS embedded writing screens inherit and track existing PWA theme without separate persistence
|
||||
```
|
||||
|
||||
## SQL imported-session guard
|
||||
|
||||
```text
|
||||
PASS canonical native initial import, source/summary preservation, retry and incremental append
|
||||
SQL file completed: overnight-session-regression.sql
|
||||
```
|
||||
|
||||
## SQL rollback failure
|
||||
|
||||
```text
|
||||
PASS source-stage failure rolled back core chapters, scenes, receipt and fixture; review/canonical author data untouched
|
||||
SQL file completed: NativeApprovedImportRollback.sql
|
||||
```
|
||||
|
||||
## Windows script syntax only
|
||||
|
||||
```text
|
||||
PASS parse PlotDirector.NativeCompanion/WindowsValidation/Update-WordCompanion.ps1
|
||||
PASS parse PlotDirector.NativeCompanion/WindowsValidation/Install-WordCompanion.ps1
|
||||
```
|
||||
|
||||
## Development deployment
|
||||
|
||||
```text
|
||||
active
|
||||
Development server release: /srv/apps/plotdirector-dev/releases/overnight-integrated-10f44ed-20261105234532
|
||||
Previous application backup: /srv/apps/plotdirector-dev/current-before-overnight-integrated-10f44ed-20261105234532
|
||||
PlotLine.dll publish/deployed SHA256 matches: fcd299fad24173d49972c5b4baa8788a527ba5f6536255fd627574101419eaac
|
||||
PlotDirector.Companion.Protocol.dll publish/deployed SHA256 matches: 3a79bb8eca364cb1f88ea10e0133198d37450cc027fd38cb7ffc67ef3f3c535d
|
||||
```
|
||||
|
||||
## Development GET smoke checks
|
||||
|
||||
```text
|
||||
200 GET http://127.0.0.1:5050/ (33941 bytes; final http://127.0.0.1:5050/)
|
||||
200 GET https://dev.plotdirector.com/ (33941 bytes; final https://dev.plotdirector.com/)
|
||||
200 GET https://dev.plotdirector.com/help/getting-started/first-book (11063 bytes; final https://dev.plotdirector.com/help/getting-started/first-book)
|
||||
200 GET https://dev.plotdirector.com/help/word-companion/install (10569 bytes; final https://dev.plotdirector.com/help/word-companion/install)
|
||||
200 GET https://dev.plotdirector.com/js/writing-embedded-theme.js (703 bytes; final https://dev.plotdirector.com/js/writing-embedded-theme.js)
|
||||
200 GET https://dev.plotdirector.com/js/warning-triage.js (1127 bytes; final https://dev.plotdirector.com/js/warning-triage.js)
|
||||
200 GET https://dev.plotdirector.com/native-companion/workspace (7405 bytes; final https://dev.plotdirector.com/Account/Login?ReturnUrl=%2Fnative-companion%2Fworkspace)
|
||||
401 GET https://dev.plotdirector.com/api/native-companion/books
|
||||
```
|
||||
|
||||
## Service warnings/errors
|
||||
|
||||
```text
|
||||
-- No entries --
|
||||
```
|
||||
|
||||
## Scope
|
||||
|
||||
Browser checks used the existing isolated Razor host and synthetic fixtures. Authenticated HTTP used synthetic identities and AI provider, exercising real HTTP/auth/antiforgery/SignalR controllers without provider spend. SQL fixtures ran against Development inside rolled-back transactions. Public TLS smoke checks used deployed Development. No live author manuscript, payment mutation, Windows Word execution, installer build/install or Production deployment was performed.
|
||||
|
||||
The application-principal backup attempt for migration234 was denied before schema changes; the administrative SQL backup completed and VERIFYONLY passed before applying234. No permission changes were made.
|
||||
312
Docs/Investigations/2026-11-06-backup-import-export-audit.md
Normal file
@ -0,0 +1,312 @@
|
||||
# PlotDirector JSON import/export and backup/restore audit
|
||||
|
||||
Date: 6 November 2026. Application source inspected: `87c94f124ac29a0d835f95f86c6bc60c731f8fc6`, branch `codex/word-companion-native-phase1-20261104`.
|
||||
|
||||
## 1. Executive summary
|
||||
|
||||
**Retain the existing recovery engines.** PlotDirector already has a substantially developed, versioned project backup and restore implementation, including manuscript sources, maps, floor plans, files, planning, continuity decisions and much retained Story Intelligence history. It is considerably more complete than the legacy JSON outline importer.
|
||||
|
||||
The source exposes several different operations:
|
||||
|
||||
- **Download project backup:** exports a whole project as JSON inside a `.plotdirector` file, currently format `PlotDirector.ProjectBackup`, version `1.3`.
|
||||
- **Import a downloaded backup:** the existing JSON Import page recognises that format, validates/previews it and creates a **new project**, remapping identities. It does not replace the selected project or import into an existing book.
|
||||
- **Saved Restore Points:** snapshots held inside the application database. Restore replaces the **same project**, first creating a complete safety snapshot. It is a different service path from uploaded-file import.
|
||||
- **Restore archived project/book/item:** unhides retained records. It does not read a backup or rewind content.
|
||||
- **Legacy JSON import:** creates structure/planning from a different, smaller outline format. It still has a legitimate advanced portability purpose. No standalone exporter producing that legacy package was found.
|
||||
|
||||
The Projects header currently says **“Import JSON”**, not simply “Import”. Its underlying page handles both legacy packages and project backups, but presents a sample/textarea-oriented technical experience. The legacy schema is **already collapsed** under `<details>`. The visible “Download backup” More menu is on **project cards** and passes `projectId`; no standalone book-backup implementation was found. This corrects two assumptions in the request without diminishing the usability problem.
|
||||
|
||||
**Strong runtime evidence:** the existing guarded synthetic database harness passed a populated copy and in-place restore: **103 persistent collections**, **2,467 remapped stored-value comparisons** for copy and **2,563** for same-project restore. Real HTTP download tests retained **12 uploaded files** and gallery metadata. Invalid input, SQL rollback, ownership, omission and upload-transport tests are described below. These are synthetic tests, not a claim of compatibility with every historical author backup.
|
||||
|
||||
**High-priority new coverage gap:** the live Development schema now has **171 tables**, versus the previous classified census of 167. The four additions—`NativeChapterReviews`, `NativeImportOperations`, `NativeReviewImports`, `WritingIntentAssessments`—are absent from the backup DTO/selectors, restore lists, omission detection and copy remapping. Canonical prose/planning created by native imports is covered; pending native review decisions, native import receipts/range provenance, and Intent assessment evidence/author decisions are not portable. These four tables were empty in the read-only Development census. This is a confirmed silent-loss exposure for future populated backups, **not evidence of an author already losing those records**.
|
||||
|
||||
**Confirmed browser defect:** the actual import FileReader script allows an older file read to overwrite the newer selected file's textarea/carried JSON. Reproduced in a browser fixture without submitting any import.
|
||||
|
||||
Recommended direction: separate author-facing **Restore a backup as a new project** and **Restore this project from a saved point** navigation, reuse the existing services and confirmations, retain legacy JSON under Advanced Data Tools, and close the new data/lifecycle gaps before claiming complete recovery.
|
||||
|
||||
## 2. Scope, safety and evidence conventions
|
||||
|
||||
The worktree was clean; the configured remote was inspected (`origin`, `git@git.catherinelynwood.com:nick/PlotDirector.git`), fetched, and the existing branch fast-forward check reported already up to date. No branch/worktree was created.
|
||||
|
||||
This investigation changed no application code, migration or deployed service. No Production access or deployment occurred. Live `PlotDirector_Development` access was read-only: database identity, table/procedure metadata and four aggregate counts. Its author projects, users, subscriptions and story data were not modified.
|
||||
|
||||
Round trips used the **existing separately named disposable database** `PlotDirector_Phase2_20261103_2305`, not the running Development database. Its literal database name and `PlotDirector.Phase2.SyntheticOnly=true` marker were verified before writes. Existing test code refuses another target. Fixtures create their own synthetic actors/projects and private files under `/srv/repos/plotdirector-phase2-artifacts/synthetic-uploads/<guid>`; no real account credentials or production manuscript were used. Fixtures remain there as test evidence; no broad cleanup/reset was performed.
|
||||
|
||||
Before those writes, a COPY_ONLY/CHECKSUM backup was made and VERIFYONLY succeeded:
|
||||
|
||||
`/var/opt/mssql/backups/PlotDirector_Phase2_20261103_2305-backup-audit-20261106T114958.bak`
|
||||
|
||||
No schema migrations were applied, including to the synthetic database. Test-only assertions/fixtures are existing code, run without `--apply-required-migrations`.
|
||||
|
||||
Evidence levels below distinguish **source-confirmed**, **runtime verified in this audit**, **prior recorded qualification**, and **unverified/inferred consequence**. Existing detailed census/coverage files under `Docs/Sprints/2026-11-03-phase2-*` were used as prior evidence and checked against current metadata; their historical completeness claim does not automatically extend to migrations231–235.
|
||||
|
||||
### Source evidence index
|
||||
|
||||
| Ref | Actual components |
|
||||
|---|---|
|
||||
| E1 | `PlotLine/Controllers/ImportsController.cs`: `Index`, `Sample`, `Preview`, `Import`, `ValidationReport`; `Views/Imports/Index.cshtml`, `Result.cshtml`; `ViewModels/ImportViewModels.cs` |
|
||||
| E2 | `Services/ImportServices.cs`: `DetectImportFormat` (656), `TryReadProjectBackup` (577), `BuildProjectBackupPreviewAsync` (337), `ImportProjectBackupAsync` (384), `RemapProjectBackupForImport` (875), `ReadJsonTextAsync` (3093); `Models/ImportModels.cs` |
|
||||
| E3 | `Controllers/ExportsController.cs`: `ProjectBackup`; `Services/ProjectExportService.cs`: `ExportCoreAsync`, `BuildFileName`; `Data/ProjectBackupRepository.cs`: `GetProjectBackupAsync`; `Models/ProjectBackupModels.cs` |
|
||||
| E4 | `Controllers/ProjectRestorePointsController.cs`; `Services/ProjectRestorePointService.cs`; `Services/ProjectRestoreService.cs`: `RestoreAsync`, `ValidateBackup`; `Data/ProjectRestorePointRepository.cs` |
|
||||
| E5 | `Services/ProjectBackupFiles.cs`, `ProjectBackupMapValidation.cs`, `ProjectBackupGraphValidation.cs`, `ProjectBackupCollectionPresence.cs`, `ProjectBackupStoredFieldContract.cs` / `.Schema.cs`, `ProjectBackupTimelineState.cs`, `ProjectBackupStoryMemory.cs`, `ProjectBackupEntityReview.cs`, `ProjectBackupNarrative.cs` |
|
||||
| E6 | SQL034/035/036, 084, 209, 213–229; current selector/restore implementations principally in214 and229; `Data/ImportRepository.cs` |
|
||||
| E7 | `Services/ProjectAccessFilter.cs` (controller maps, owner-only map99, execution161); `ProjectAccessServices.cs`; `Tests/ProjectAccessRegressionTests.cs` |
|
||||
| E8 | `Views/Projects/Index.cshtml` (header14, first-run97, project More196, archive restore273); `Views/Projects/Details.cshtml` (project Actions56–58); `Views/Books/Details.cshtml`; `Controllers/ProjectsController.cs`, `BooksController.cs`, `ArchivesController.cs` |
|
||||
| E9 | `Services/CoreServices.cs`: `ExportService` (7225); `Controllers/ExportsController.cs`; `Data/Repositories.cs`: `ExportRepository`; `Controllers/WritingSolverReviewController.cs`, `Services/WritingSolverReview.cs` |
|
||||
| E10 | SQL230–235; `Services/NativeCompanion/NativeImportService.cs`, `NativePresenceStore.cs`; `Services/IntentAssessmentService.cs`; `Data/NativeImportRepository.cs`, `NativePositionRepository.cs`, `IntentAssessmentRepository.cs` |
|
||||
| E11 | `PlotLine.Tests/ProjectTransferDatabaseTests.cs`, `ProjectExportDatabaseTests.cs`, `LegacyImportDatabaseTests.cs`, `ImportTransportTests.cs`, `ProjectBackupStoredFieldTests.cs`, `ProjectBackupConsistencyTests.cs`, `ProjectBackupImageConsistencyTests.cs` and `ProjectTransfer*Assertions` / `ProjectTransferPlanning.sql` fixtures |
|
||||
| E12 | Help `Articles/Imports/Overview.md`, `RestorePoints/Overview.md`; `wwwroot/js/site.js` shared confirmation modal; Imports view inline FileReader/carried-JSON script (388 onward) |
|
||||
|
||||
Paths in the index are relative to `PlotLine/` unless `PlotLine.Tests/` or `Docs/` is stated. Line numbers are investigation-baseline aids, not promises after future edits.
|
||||
|
||||
## 3. Existing feature inventory and UI entry points
|
||||
|
||||
| Mechanism / entry | Intention and actual behaviour | Format / storage / validation | Tests and overlap |
|
||||
|---|---|---|---|
|
||||
| Projects header **Import JSON** → `GET /Imports` | Prepared outline/data import; same page also accepts full backups. Does not parse `.docx`, merge existing projects, or upload to Word. | Prefilled legacy sample, paste or `.json`/`.plotdirector` upload; preview/report/dry run/confirmation. | E1/E2/E11. Shared UI with backup-copy import is the confusing overlap. |
|
||||
| Legacy `POST /Imports/Import` | Creates new project/books/chapters/scenes plus supported named references. Useful for structured outlines or external generators. | `PlotLineImportPackage`; `packageVersion=1.0` is expected but other versions warn rather than automatically refuse if structure is valid. No `format` discriminator like backups. Required titles/orders; aliases, number bounds, reference diagnostics. | Legacy SQL and transport tests passed. No corresponding full-fidelity legacy-package export discovered. |
|
||||
| `GET /Imports/Sample`, `POST /Imports/ValidationReport` | Downloads sample legacy JSON or text validation diagnostics. Not a backup. | `plotline-import-sample.json`; `plotline-import-validation-report.txt`. | Actual published sample and real MVC transport tested. |
|
||||
| Project card More → `GET /Exports/ProjectBackup?projectId=…` | Downloads **entire project**, all included books and project-scoped data. Owner-only HTTP gate. | Camel-case indented UTF-8 JSON; MIME `application/json`; filename `<safe_project>_<UTC yyyy-MM-dd_HHmm>.plotdirector`; root `format`, `formatVersion`, `exportedAtUtc`, `sourceApplication`, `project`, `data`, `files`, `diagnostics`. | E3; actual HTTP/file checks passed. “Book backup” would be an inaccurate label. |
|
||||
| Project dashboard Actions → Download Project Backup / Restore Points | Correctly names project scope. Actual book cards have book actions, not a separate book-backup engine. | Same download route; points link below. | E8. Reuse these entries rather than inventing another backup. |
|
||||
| Upload `.plotdirector` through Imports → Preview → Import | Restores file contents **as a new project owned by the importing user**. No destination project/book selector or replace-uploaded-file path. | Versions1.0–1.3 accepted with differing completeness/file semantics. Revalidation, warning acknowledgement, duplicate-title consent, subscription/storage/book-slot checks. | Full populated copy/remapping passed. Uses same SQL apply engine as saved-point restore after creating a new shell. |
|
||||
| `GET /ProjectRestorePoints/Index?projectId=…`; POST Create | Database-held manual snapshot generated by the same project-export service. Not a separate file format. | `ProjectRestorePoints.JsonData`, metadata and byte count. Service blocks manual creation once total point count is10; pre-restore safety snapshots bypass manual cap. | E4/E6. Points are inside the same DB failure domain; download off-host for disaster recovery. |
|
||||
| Point Download | Downloads stored snapshot, not a fresh export of current state. | Same `.plotdirector` JSON; filename adds `_RestorePoint_<UTC timestamp>`. | Actual HTTP download retained12 embedded files. |
|
||||
| Point POST Restore | Replaces current contents of that same project; explicit Bootstrap confirmation modal; creates safety backup first. File cannot be uploaded here. | Requires point/project match, supported format, complete stored-field/collection checks, graph/files validation; SQL apply and history. | Actual service/in-place value comparisons, safety/refusal and rollback tests. |
|
||||
| Point POST Delete | Deletes only the selected snapshot. Existing modal and POST antiforgery. | Stored snapshot deletion, not deletion of the project itself. | E4; preserve while improving navigation. |
|
||||
| Archived Projects / Books / Archives Restore | Unarchives retained entities; no historical reconstruction or JSON read. Project archive restore enforces ownership in its service/repository path rather than the general skipped filter action. | `IsArchived` and archive metadata; separate archive procedures. Hard deletion is an independent destructive action. | E8; distinguish “Unarchive” from backup restore in future terminology. |
|
||||
| Story Bible, Narrative Timeline, Character, Scene/Chapter Brief, Writing Session, Research Pack, Search exports | Readable reference/report documents, not recovery files. | HTML default; Markdown/md and text/txt. An unknown format—including `json`—falls back to HTML, not a legacy JSON export. `Export_*` stored procedures. | Eight packet types × five formats/aliases passed real HTTP/SQL tests. No matching importer. |
|
||||
| Solver review JSON | Development-only, AdminOnly diagnostic review capture, not a project backup. | `GET /admin/writing-solver-review/{id}/export`, `solver-review-<guid>.json`; `App_Data/WritingSolverReview`, no project import counterpart. | E9. Keep in diagnostics; not an ordinary author's recovery flow. |
|
||||
| Word/onboarding/native approved import | Word authority → bounded extraction → AI review → approved canonical data. Different contracts and author workflow. | Existing Onboarding `POST StartImport`, Book create `BeginMode=Import`; native review/preview/confirm routes. | Not a JSON project-restore replacement. Once approved prose is stored in canonical source tables it enters existing backup scope. |
|
||||
|
||||
The Projects first-run screen already provides **Import an existing manuscript** via `Onboarding.StartImport`; ordinary nonempty Projects retains the more prominent technical header link. Book creation already supports a manuscript begin mode. Reuse those author-facing entry points without redirecting JSON files into manuscript analysis.
|
||||
|
||||
## 4. Current storage and coverage matrix
|
||||
|
||||
**Column meaning:** “JSON export” refers to the actual project JSON export in E3. No independent legacy JSON exporter exists to compare against it. “Backup” is the database-saved restore-point snapshot generated from that same export. Thus two Yes columns do **not** represent independent recovery implementations. Legacy DTO import coverage is stated separately below. `C/R` = new-project copy / same-project restore. `Partial` describes an explicit scope boundary, not an assumed missing implementation.
|
||||
|
||||
| Feature | Stored data / actual tables | JSON export | Backup | Restore | Evidence | Gap/risk |
|
||||
|---|---|---|---|---|---|---|
|
||||
| Project / book metadata | `Projects`, `Books` incl subtitle, era, locale, explicit-scene mode, covers, archive state | Yes | Same | C/R; project ID new on C | E3, SQL213; populated tests | Whole project scope; no standalone book package. |
|
||||
| Chapter/scene structure | `Chapters`, `Scenes`, `ScenePurposes`, `SceneOutcomes` | Yes | Same | C remaps; R retains IDs | E3/E6/E11 | Word document itself is not rewound. |
|
||||
| Manuscript prose / document metadata | `SceneManuscriptSources`, `ManuscriptStructuralChapterSources`, `ManuscriptDocuments` | Yes | Same | C/R; copied bindings inactive/reconnect | SQL214; full stored-text tests | Saved source only, not original `.docx`, unsaved edits, comments or tracked changes. Unimported prose is not guaranteed in project backup. |
|
||||
| Core import provenance | `OnboardingManuscriptBuilds`, `OnboardingManuscriptBuildChapterMap`, `…SceneMap`, `…CharacterMap` | Yes | Same | C/R with IDs/preview IDs remapped; unfinished copy history inactive | SQL220, E2 | Does not include newer native receipt/ledger below. |
|
||||
| Characters / aliases / appearance | `Characters`, `CharacterAliases`, `SceneCharacters`, `CharacterImages` | Yes | Same | C/R plus image bytes | SQL214/217/220; gallery/Unicode tests | Deleted gallery metadata retained; deleted file bytes intentionally not required. |
|
||||
| Character attributes / knowledge | `CharacterAttributeTypes`, `CharacterAttributeEvents`, `CharacterKnowledge` | Yes, mixed project/shared types | Same | C/R; project definitions remapped | E3/E6/E11 | Shared vocabulary authority is separate. |
|
||||
| Relationships | `CharacterRelationships`, `RelationshipEvents` | Yes | Same | C/R with endpoint/state/type resolution | E2/E5/E11 | Import checks relationship-map diagnostics; not an arbitrary cross-instance shared-vocabulary clone. |
|
||||
| Locations / hierarchy | `Locations`, `LocationAliases`, `LocationRelationships` | Yes | Same | C/R parent/edge remapping | E5/E11 | Core location hierarchy differs from Story Memory parent portability caveat below. |
|
||||
| Floor plans / occupancy | `FloorPlans`, `FloorPlanFloors`, `FloorPlanBlocks`, `FloorPlanTransitions`, `SceneFloorPlanOccupancy`, `SceneAssetLocations` | Yes | Same | C/R; background bytes staged | SQL084/217; populated fixture | Linked rooms, floors and entity mappings included; not merely plan titles. |
|
||||
| Story Maps / shapes | `StoryMaps`, `MapFeatures`, `MapRelationships`, `MapJourneyNotes`, `MapReferenceImages` | Yes | Same | C/R incl parent maps/features, geometry, routes and image placement | SQL209/215; actual geometry tests | Opaque geometry/extensions, locks/labels/unplaced features are tested. Map revision is safely advanced on restore. |
|
||||
| Plot lines / developments | `PlotLines`, `PlotThreads`, `ThreadEvents`, `PlotEventTargetPlotLines`, `AuthorPlotSeeds` | Yes | Same | C/R incl multiple target associations | SQL214/228; full fixture | Historical source references remapped/detached according to declared provenance. |
|
||||
| Timeline / calendar | Scene dates/time modes/confidence plus `ProjectTimelineSettings`, `ProjectTimelineMetricSettings`, `TimelineViewPresets` | Yes | Same | C/R | E3/E5/E11 | Calendar is a view of saved timeline/scene data, not a second missing calendar-event engine. |
|
||||
| Metrics | `SceneMetricTypes`, `SceneMetricValues`; `GenreMetricPresets`, `GenreMetricPresetMetrics` diagnostic vocab | Yes | Same | Project values/types yes; shared presets not overwritten | E3/E5/E6 | Shared/admin configuration is not restored from author JSON. |
|
||||
| Intent / planning / writing workflow | Scene purpose/outcome; `ChapterGoals`, `SceneChecklistItems`, `SceneNotes`, `SceneWorkflow`, `WritingPlans`, `WritingScheduleItems` | Yes | Same | C/R incl completion, dates, schedule ownership remapping | SQL214; explicit writing-plan and planning tests | Recent AI evidence/author decisions in `WritingIntentAssessments` are absent. |
|
||||
| Story assets / custody | `StoryAssets`, `AssetAliases`, `AssetStates`, `AssetEvents`, `AssetDependencies`, `AssetCustodyEvents`, `AssetCustodyEventCharacters`, `SceneAssetLocations` | Yes | Same | C/R | E3/E6/E11 | Shared state lookups remapped; not restored globally. |
|
||||
| Scene dependencies | `SceneDependencies` | Yes | Same | C/R | E5/E11 | Cross-project/unknown scene references validated. |
|
||||
| Continuity | `ValidationRuns`, `ContinuityWarnings`, `ContinuityWarningAcknowledgements` | Yes | Same | C/R incl saved author decisions | SQL214; acknowledgement tests | Restored results are historical observations, not proof prose was freshly reanalysed. |
|
||||
| Alternative scenarios | `Scenarios`, `ScenarioSceneOrder`, `ScenarioValidationRuns`, `ScenarioWarnings` | Yes | Same | C/R | E3/E6/E11 | Separate scenario order retained. |
|
||||
| Companion entity suggestions / counts | `WordCompanionSceneAssets`, `WordCompanionSceneLocations`, `SceneAssetSuggestions`, `SceneCharacterSuggestions`, `SceneLocationSuggestions`, `SceneTextStatistics` | Yes | Same | C/R | SQL216/221 | These legacy/canonical scene links are not the new native session/ledger. |
|
||||
| Basic location import review | `CoreImportBasicLocationReviews`, `…Candidates`, `…Evidence` | Yes | Same | C/R review/build/preview links remapped | SQL222; populated tests | Human decisions are already included here; retain this precedent. |
|
||||
| Retained Story Intelligence analysis | `StoryIntelligenceRuns`, `StoryIntelligenceChapterResults`, `StoryIntelligenceSceneResults`, `StoryIntelligenceImportCommits` | Yes | Same | C/R; unfinished copied runs cancelled | SQL223; retained raw-result tests | Audit/history, not permission to restart paid jobs. |
|
||||
| Story Memory / intelligence profiles | `StoryIntelligenceBookPipelines`; `StoryMemoryCharacters`, `…CharacterAliases`, `…CharacterAttributes`, `…Locations`, `…Assets`, `…Relationships`, `…ProcessedSceneResults`, `…ImportPreferences`; `CharacterIntelligenceProfiles`, `CharacterIntelligenceEvidenceEvents` | Yes | Same | C/R with typed embedded-reference remapping | SQL224/E5 | Copy explicitly refuses Story Memory location ParentLocationID whose portable meaning is undefined; same-project restore can retain it. |
|
||||
| Persisted entity review | `StoryIntelligenceReviewCandidateGenerations`, `StoryIntelligenceReviewCandidates`, `StoryIntelligenceReviewCandidateEvidence` | Yes | Same | C/R; preparing copies become failed/inactive | SQL225/E11 | Retains evidence/decisions; not all AI state is disposable cache. |
|
||||
| Character enrichment | `CharacterEnrichmentRuns`, `CharacterEnrichmentEvidence` | Yes | Same | C/R, inactive unfinished copies | SQL227 | Existing active work can block same-project restore. |
|
||||
| Narrative review | `WholeBookPlotSynthesisRuns`, `StoryIntelligenceNarrativeCandidates`, `…CandidateEvidence`, `…CandidateEvents` | Yes | Same | C/R incl ignored/tombstone decisions | SQL228/E11 | Do not silently restart synthesis. |
|
||||
| Project illustration history | `StoryMemoryIllustrationAssignments`, `StoryMemoryIllustrationDemands`, `StoryIntelligenceIllustrationDemands` | Yes | Same | C/R; copies inactive, shared catalogue IDs detached | SQL229/E11 | Shared illustration catalogue/artwork files/approval/usage are deliberately outside project recovery. |
|
||||
| Uploaded files | Referenced character/avatar/gallery/asset images, covers, floor backgrounds, `SceneAttachments`; map reference image bytes | v1.3 bytes + SHA256 | Same | Fresh paths staged before SQL; failure removes new files | E5/SQL217; 12-file HTTP and byte tests | JSON is not encrypted. Old formats lack these upload bytes. Shared catalogue files excluded. |
|
||||
| Project ACL / file accounting | `ProjectUserAccess`, `UserFile` (`ProjectAccess`, `UserFiles` JSON) | Diagnostic/reference | Same | Original collaborators/account authority not recreated | E3 diagnostics, SQL226 | Includes names/email/actor metadata; keep downloaded files private. New copy owned by importer. |
|
||||
| Activity / recovery history | `ProjectActivity`, `ProjectRestorePoints`, `ProjectRestoreHistory` | Not portable project history / no recursive point archive | Stored separately | Existing activity retained; new restore history appended; points not copied | E4/E6, account-state tests | A downloaded backup is not an archive of every restore point or the entire server DB. |
|
||||
| Native chapter review (231/232) | `NativeChapterReviews`: result, edited decisions, encrypted selected-chapter capture | **No** | **No** | C loses it; R leaves outside snapshot | E10; absent DTO + live selectors | Human approvals/title edits can be lost on file-only recovery; encrypted source is server-key-bound. Logical30-day visibility/lazy cleanup, not permanent canonical storage. |
|
||||
| Native import idempotency / positions (232–234) | `NativeImportOperations`, `NativeReviewImports` incl document/session/revision/range JSON | **No** | **No** | C absent; R leaves old rows outside rewind | E10; current live SQL metadata | Stale receipts/ledger can disagree with restored chapters; needs integration lifecycle policy. |
|
||||
| Intent assessment (235) | `WritingIntentAssessments`: input hash, evidence, **author decisions**, model/time | **No** | **No** | C loses evidence/decisions; R does not rewind them | E10; current live metadata | Evidence may be regenerable, author defer/dismiss/keep decisions are not. |
|
||||
| Identity/billing/runtime state | `AppUser`, subscriptions, consents/jobs, account onboarding, PWA appearance; in-memory presence/auth/session queues | Excluded by design | Not a project snapshot concern | Never replay credentials, consent, account authority or active session commands | SQL226; existing table census | Full administrator DB/files/keys backup is a separate disaster-recovery responsibility. |
|
||||
|
||||
The prior all-table classification is `Docs/Sprints/2026-11-03-phase2-data-coverage.csv`; model/row/value matrices and independent census there remain useful evidence for the 167-table baseline. Current metadata adds only the four explicitly identified tables. A field inventory generated solely from existing `ProjectBackupData` properties would **not discover an entirely new omitted table**; retain a full schema ownership census as well as DTO field tests.
|
||||
|
||||
### Legacy package scope
|
||||
|
||||
Legacy `PlotLineImportPackage` supports project description, ordered books/chapters/scenes, summaries/purpose/outcome/time text, POV/location/character appearances, aliases, location hierarchy, plot lines/threads/events, assets/states/events/custody and scene dependencies. It does not represent canonical manuscript source prose, full relationship graphs, maps, floor plans, metrics, continuity history or the full workflow/AI/review schema. Its unmatched-reference warnings and mapping defaults are intentional structured-outline semantics, not backup fidelity. Retain it under Advanced Data Tools; do not claim it is a current project backup schema.
|
||||
|
||||
## 5. Round-trip and negative-test evidence
|
||||
|
||||
### Reproducible commands actually run
|
||||
|
||||
All use the unchanged existing executable test harness, not `dotnet test`. No full application rebuild was necessary for this documentation-only investigation; the current built harness was available.
|
||||
|
||||
```bash
|
||||
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- \
|
||||
--project-transfer-database --require-writing-plans PlotDirector_Phase2_20261103_2305
|
||||
|
||||
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- \
|
||||
--project-transfer-database --exports-only PlotDirector_Phase2_20261103_2305
|
||||
|
||||
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- \
|
||||
--project-transfer-database --legacy-import-only PlotDirector_Phase2_20261103_2305
|
||||
|
||||
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- --import-transport
|
||||
|
||||
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- \
|
||||
--project-transfer-database --restore-omission-only PlotDirector_Phase2_20261103_2305
|
||||
|
||||
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- \
|
||||
--project-transfer-database --restore-field-omission-only PlotDirector_Phase2_20261103_2305
|
||||
```
|
||||
|
||||
The database modes read Development connection settings as data, verify the configured source catalog, **substitute the hard-coded synthetic catalog**, then verify database name/marker. They do not run the fixtures against `PlotDirector_Development` or apply migrations. Authenticated HTTP export fixtures use production controllers/services/filter and real SQL under isolated Kestrel with synthetic principals; the import HTTP transport fixture uses production MVC binding/controller metadata/antiforgery with an isolated test service. Import/restore semantics and stored-row comparisons run through the actual production services/repositories/SQL separately. This is strong layered evidence; it is **not** a claim of a single normal-browser upload/restore acceptance session with a real author's login.
|
||||
|
||||
### Results
|
||||
|
||||
| Check | Result / actual evidence |
|
||||
|---|---|
|
||||
| Export content vs source SQL | PASS:106 populated entities /2,599 stored field values compared. Independent row census:106 scoped entities /183 owned rows, shared vocabulary classified separately. |
|
||||
| New-project backup import | PASS:103 populated persistent collections /2,467 remapped stored values compared. New owner/project/book/scene IDs and internal references checked; source/other-author boundaries retained. |
|
||||
| Same-project saved-point restore | PASS:103 populated persistent collections /2,563 stored values compared; actual safety snapshot and restore paths exercised. |
|
||||
| Manuscript / planning | Exact long Unicode/plain text, source prose, decimal chapter/scene numbers and ordering retained. Writing plan source=1/imported=1; goals, schedule dates/settings, checklist and references compared. |
|
||||
| Maps / floors | Populated geometry, parent maps/features, feature connections, label/lock/placement metadata, reference image placement, room/floor/occupancy relationships compared, not just row counts. |
|
||||
| Uploaded content | Actual HTTP project/point downloads each retained12 embedded files plus gallery metadata; source/restored capture compares file bytes and paths. Map images are included separately. |
|
||||
| Malformed backup / unsafe graph | PASS:53 invalid JSON/map/data/version preview cases before project allocation. Cross-project graph/identity and malicious supplied restore-path metadata are checked by existing fixtures. |
|
||||
| Failure atomicity | Full harness injected SQL failure and compared project counts: before415, after415 in the synthetic DB. Stored-value/source/file-preservation checks accompany same-project refusal/safety tests. No claim of power-loss/crash-consistency testing. |
|
||||
| Active-work safeguards | PASS:active import/analysis/synthesis/enrichment/review/illustration cases refused; completed history/account consent/job state retained; no paid work restarted on copy. |
|
||||
| Legacy import | PASS:30 malformed shapes rejected, number bounds, no-write dry run, long Unicode, independent order/number semantics, empty structures, aliases, hierarchy/custody, shared-state scope, dependencies, published sample, BOM decoding, ownership and SQL rollback. |
|
||||
| HTTP reference exports | PASS:eight reference packet types ×five format/alias variants; ordering, long/empty/Unicode content, HTML encoding, owner/other/anonymous/missing boundaries. These reports are not backups. |
|
||||
| HTTP import transport | PASS:all three POST actions carry5MiB text and Unicode unchanged; multipart upload/authentication/antiforgery checked. SQL semantics tested separately. This does not qualify maximum-size backups. |
|
||||
| Omission / historical shape | Actual restore service refuses103 populated persistent collection omissions; required headers/camel-case/explicit empty/raw-absence handling and copy warnings exercised. PASS:1,353 independently SQL-derived stored-field omissions refused before mutation/allocation; missing book era left unchanged with no safety allocation; explicit-null complete restore accepted. |
|
||||
| Actual upload JavaScript race | **REPRODUCED defect:** actual inline FileReader script, two controlled file reads; complete second read first, then first read. Textarea and carried hidden JSON end with first-file content while file input selects the second file. No import submitted, no DB writes. |
|
||||
|
||||
Logs retained locally during this audit: `/tmp/backup-audit-roundtrip.log`, `-http.log`, `-legacy.log`, `-transport.log`, `-omissions.log`, `-fields.log`, `-upload-race.log`; SQL metadata/census under `/tmp/backup-audit-*`. Existing stable coverage CSVs remain under `Docs/Sprints/2026-11-03-phase2-*`; no source/test changes were made to generate this evidence.
|
||||
|
||||
### What was not proved
|
||||
|
||||
- No real historical author backup file was supplied. Synthetic older-format and missing-field cases do not prove arbitrary historical compatibility.
|
||||
- No destructive restore against a real author's project, no deployed Development browser login/session acceptance, and no Production test.
|
||||
- The synthetic schema is the guarded pre-native transfer fixture; it does not contain migrations231–235. Current live Development metadata/source demonstrate their omissions, but their populated copy/restore lifecycle was **not** exercised by that harness. Current Development counts for all four new tables were0.
|
||||
- No maximum-size/190,000-word-plus-images restore, load/concurrent-writer stress, process-kill/power-loss test, or cross-instance shared-catalogue disaster recovery.
|
||||
- File selection race uses the actual script in a controlled browser fixture; malformed uploads did not reach application mutation paths.
|
||||
|
||||
## 6. Safety, reliability and compatibility findings
|
||||
|
||||
### Existing safeguards to retain
|
||||
|
||||
1. **SQL snapshot consistency:** `ProjectBackupRepository.GetProjectBackupAsync` uses a serializable transaction across `ProjectBackup_Export`, `StoryMap_Backup`, `ProjectBackup_PersistentState_List` and book-metadata selection. It does not combine independently timed SQL reads. File capture then reads referenced bytes and retries once with fresh SQL data if a referenced file disappears. SQL/files still are not an operating-system volume snapshot.
|
||||
2. **Restore preflight:** format/version/project match, complete stored-field checks, graph/maps/file integrity and older-collection checks run before SQL replacement. A complete safety snapshot is required. Missing known collections with existing values abort; explicit empty arrays can deliberately remove data. Copying an incomplete older backup instead warns that absent information becomes empty/default.
|
||||
3. **Database/file atomicity:** backup copy wraps project-shell allocation, identity allocation, graph remapping and SQL apply in an async serializable TransactionScope with a five-minute bound. The SQL apply procedure uses `XACT_ABORT ON`, a transaction, fixed restore table lists, graph/identity preflight and constraint rechecking. Same-project apply preserves project identities. New files are written to unique paths before SQL publishes their references; stage disposal removes those new files on failure, then a successful database commit retains them. Existing files are not overwritten. Old unused files/crash orphans need normal storage lifecycle management; a DB transaction cannot promise hardware-level file snapshot atomicity.
|
||||
4. **Ownership:** HTTP filters enforce project/entity scope; direct backup download is owner-only. Import allocates a new importer-owned project; exported collaborator records are diagnostic and never recreate source access authority. SQL apply is a trusted internal procedure without a caller UserID: public route/service guards are essential.
|
||||
5. **Cross-reference protection:** backup graph/map validators, typed embedded-evidence remappers, lookup resolution and SQL collision checks prevent ordinary cross-project IDs from being accepted as local. Original IDs are diagnostic, not portable identifiers. Rebinding copied Word manuscripts is explicit; original Word prose/documents are not changed.
|
||||
6. **File validation:** v1.3 requires referenced upload bytes, SHA256 agreement, unique referenced file paths and owning-entity upload directories. Restoration discards attacker-supplied `RestoredPath`/owner metadata, derives safe owner folders and fresh filenames. Map image validation includes raster constraints. SHA256 checks integrity, not a signature proving a file came from a trusted author; general attachments are not a universal malware-sanitisation service.
|
||||
7. **Older formats:**1.0/1.1/1.2/1.3 are recognised. Pre1.3 files lack upload-byte portability: copy warns/detaches unavailable upload paths; same-project restore requires the original referenced files still available. Missing required stored fields can make an old point safely unrestorable. Unsupported future versions fail rather than being treated as legacy outlines.
|
||||
|
||||
### Prioritised risks and omissions
|
||||
|
||||
| Finding | Classification / priority | Evidence and consequence |
|
||||
|---|---|---|
|
||||
| New author decisions outside snapshot | **Confirmed omission; P0 before full-recovery claims** | `WritingIntentAssessments.ResultsJson/DecisionsJson` and `NativeChapterReviews.DecisionsJson` have no backup representation. New-copy recovery loses them. In-place restore does not rewind them. Omission guards only inspect known DTO categories, so they cannot detect this absence. No populated live loss observed. |
|
||||
| Native receipts survive rollback of canonical story data | **Source-confirmed lifecycle mismatch; P1**, runtime reproduction outstanding | SQL229 does not touch the native receipt/ledger tables. `NativeImportService.Commit` returns an existing operation receipt after verifying book access, without establishing that every imported chapter/scene still exists in the restored snapshot; preview also matches ledger content/version. Restoring a point from before an import can leave receipts claiming success for removed story rows. Position resolution does join canonical rows, so absent scenes should refuse navigation rather than create them. Requires an integrated restore/native-retry test before stronger claims. |
|
||||
| Older file read wins over newer selection | **Browser-reproduced defect; P1** | Imports view FileReader callbacks have no generation/cancellation guard. Server intentionally prefers non-sample `JsonText` over uploaded bytes, making the stale textarea consequential. Fix before hiding technical data behind a simpler upload workflow. |
|
||||
| Owner vs collaborator restore policy | **Confirmed policy inconsistency; P1 decision** | `Exports.ProjectBackup` is owner-only; `ProjectRestorePoints` download/create/delete/restore use ordinary project/entity access and are not in the owner-only action map. An authorised project collaborator can reach more snapshot authority than the direct owner-only backup route suggests. Unrelated-author denial passed; this is not a proven unauthorised cross-account bypass. Decide which collaborator roles may export/delete/replace a whole project and enforce consistently. |
|
||||
| No standalone book recovery | **Confirmed capability limit; P1 UX** | Current APIs operate on projectId. Filtering out other books could break shared characters/maps/relationships/threads and provenance. Do not relabel the existing export “book backup”. |
|
||||
| Upload/resource-size contract unclear | **Source-confirmed gap; P1 hardening** | Form value limit32MiB, Development Nginx100m, no Imports request-body override or business-level file-byte/object-count cap; service reads full text and multiple JSON/file representations into memory. Suspicious book/chapter/scene thresholds are warnings, not hard caps. Effective full proxy/server envelope and largest round-trip sizes need qualification. Current transport evidence is5MiB, not100MiB. |
|
||||
| Duplicate restore-as-copy is not operation-idempotent | **Confirmed semantics; P1/P2** | Duplicate title requires explicit consent and adjusted name. A new-project import has no durable operation receipt. Retrying an already-approved duplicate import can create another project; it does not reconcile or overwrite the first. Preview/confirmation is safe but does not prove retry idempotence. |
|
||||
| Historical compatibility | **Evidence gap; P1** | Current synthetic contracts are strong; real historic backup fixtures and cross-version acceptance are absent. Keep fail-closed replace behaviour. Version1.3 alone cannot signal the four newer omitted categories. |
|
||||
| Entire restore-point history/shared catalogue excluded | **Deliberate boundary, needs clear disclosure** | Point snapshots do not recursively include restore points; project export does not replace administrator DB/files/Data Protection/illustration-catalogue recovery. Shared illustration references in copies become inactive history, not newly approved artwork. |
|
||||
| Privacy of local backup | **Confirmed format property; P2 messaging** | Plain JSON/base64, not encrypted despite `.plotdirector` extension. Includes prose/research/raw AI audit and diagnostic collaborator names/emails/actor metadata. Store privately; backup is not credential/billing migration. |
|
||||
| Synchronous UX and long SQL locks | **Confirmed implementation; P2 measurement** | Import/restore is request-bound without a dedicated per-restore progress/cancel job contract. SQL table constraint operations/serializable reads can block other users; timeouts are not meaningful progress. Do not add fake percentages or assume browser cancellation rolls back a completed transaction. |
|
||||
| Recovery audit and limits | **Source-confirmed improvement opportunity; P2** | SQL restore history records `SUSER_SNAME()` rather than an explicit application actor; manual10-point limit does not cap automatic safety snapshots. Define traceability/retention/quota and recovery-above-current-plan policy. New-copy resource checks already exist; same-project restore does not use that subscription allocation path. |
|
||||
| Legacy client encoding | **Source-confirmed integration caveat; P2** | Server StreamReader recognises BOM encodings (tested), but browser FileReader explicitly decodes UTF-8 and its textarea may take precedence. Do not infer full browser UTF-16 support from server-only BOM tests. |
|
||||
|
||||
The new tables deliberately have no foreign keys, confirmed in live metadata. They therefore do not immediately block old SQL restore with FK errors; instead they remain outside its transactional scope, which is precisely why their stale/orphaned semantics need explicit handling. Do not fix this by blindly adding cascading FKs or replaying live session IDs.
|
||||
|
||||
## 7. Smallest sensible author experience
|
||||
|
||||
### Projects and menus
|
||||
|
||||
- Replace the prominent **Import JSON** destination with a clear author choice: **Import a manuscript**, **Restore a project backup**, **Advanced Data Tools**. Reuse Onboarding/Book begin-mode paths for manuscript work, not the JSON importer.
|
||||
- On project More/Actions, keep **Download project backup** and put **Restore a downloaded backup…** immediately beside it. Its preview must say **Creates a new project; current project unchanged**. Use the existing import service and result flow in a backup-focused presentation mode.
|
||||
- Separately expose **Restore this project from a saved point…**, reusing `ProjectRestorePoints.Index` and its existing replacement/safety modal. Do not make file restore silently mean overwrite or make a project click determine the uploaded file's destination.
|
||||
- Current book cards have no book backup engine. Keep backup at project level, or label a contextual link **Back up entire project (all books)**. A real book-only package is a later shared-subgraph/product decision, not a quick filter.
|
||||
- Rename archive recovery **Unarchive** where necessary to avoid confusing it with replacement recovery.
|
||||
|
||||
### Backup file and restore preview
|
||||
|
||||
Keep `.plotdirector` and `application/json`; the custom extension already exists. It helps distinguish a backup from an arbitrary legacy outline, but is neither an encrypted format nor a new archive technology. Accept existing `.json` backups by content. No benefit justifies another extension migration now.
|
||||
|
||||
Reuse current preview, warnings, duplicate checks, resource checks, dry-run, confirmation and result page. For a backup-focused page, initially show file upload and a compact source summary: project/title, all included books, source version/date, counts for prose/planning/maps/files, unavailable categories and compatibility warnings. Destination is **new project** with proposed name and copy/rebind implications. Hide raw JSON/schema/sample editing under Advanced rather than creating another parser.
|
||||
|
||||
Give failure stage and safe next action without raw SQL in the normal screen. Preserve validation-report download and expandable technical details for support. Use a real busy state, suppress duplicate submits and bind confirmation to the validated content; if measured restores need background progress later, reuse the application's operation/progress conventions after defining retry/cancellation semantics.
|
||||
|
||||
For same-project saved points, retain the existing Bootstrap modal that names the selected point and explains replacement plus safety backup. Add a contents/difference preview only through the same validation services; never weaken missing-category checks to make older points appear compatible.
|
||||
|
||||
### Existing reusable components
|
||||
|
||||
- Imports multipart upload, preview/counts/tree, warning/error sections, duplicate-title consent, dry run, validation-report export, result page and carried-JSON mechanism (after fixing the race).
|
||||
- Restore-point create/download/list/delete and point-specific replacement/deletion modals.
|
||||
- `site.js` / shared `plotlineConfirmModal`, `data-confirm-message`, button styling and PWA header conventions.
|
||||
- Existing Onboarding and book creation start-mode controls; existing shared project Actions dropdowns.
|
||||
- Existing Story Intelligence progress components are tied to their own jobs. Reuse their UX conventions, not their event contracts for a fictitious backup job.
|
||||
|
||||
Help currently explains outline import and restore points but does not adequately connect downloaded v1.3 backup → new-project import, whole-project scope, file inclusion/older-file limits and recent omissions. Improve the current two articles plus existing getting-started/navigation links; no parallel Help system is needed.
|
||||
|
||||
## 8. Prioritised implementation proposal (recommendations only)
|
||||
|
||||
Scope estimates are approximate focused engineering days, including tests, not delivery commitments. `S`≈0.5–2 days, `M`≈2–5 days, `L` requires a separately agreed product/data contract. No work below was implemented by this audit.
|
||||
|
||||
| ID / class | Priority / scope | Proposal / dependency | Risk and proposed acceptance tests |
|
||||
|---|---|---|---|
|
||||
| A1 Existing and working | Retain / S documentation | Keep project export, saved points, graph/remapping/file stage, safety backup, omission guards and shared lookup/account boundaries. Preserve the existing representative fixtures. | Low implementation risk; all current 103-collection, file, auth, rollback and omission tests continue passing. |
|
||||
| A2 Existing and working | Retain / S | Keep legacy prepared-outline import, sample, dry run and diagnostics; keep report exports separate. | Renavigation must not break existing JSON1.0 users or turn reports into advertised backups. |
|
||||
| C1 Data coverage | **P0 / M** | Define/export/restore author-owned native review and Intent decisions. Extend DTO/selectors/file-manifest capabilities, typed graph/actor/ID remapping and complete-shape checks in a **new forward-only migration**. Decide portable encrypted-capture handling before copying server-bound ciphertext. | Medium/high data risk. Seed all four recent tables; compare author decisions after new-owner copy and same-project restore, including snapshot-before/after decision changes. Never export auth grants, live commands or consent authority. Cover absence and older backups explicitly. |
|
||||
| D1 Reliability | **P1 / M**, with C1 | Define native receipt/provenance invalidation or remapping on restore. Verify canonical rows before reporting an old import as complete. Expire live presence/navigation references as appropriate; copies must rebind Word. | High semantic risk if receipts blindly replayed. Restore a point predating native import, retry the same operation, then try preview/navigation: no false “already imported”, no duplicate prose, no arbitrary live-session routing. Preserve valid post-import receipts when restoration actually includes their canonical rows. |
|
||||
| D2 Reliability / UI | **P1 / S** | Supersede/cancel obsolete FileReader reads; bind selected filename, decoded contents, preview and confirmation to the same generation. Keep explicit manual JSON edits authoritative only in advanced mode. | Low code risk, important correctness. Controlled A/B out-of-order callbacks, cancel, empty file, failed read, manual edit during read and reselect tests. Confirm UTF-8/BOM policy through actual browser + server path. |
|
||||
| B1 UI / terminology | **P1 / S** | Clear Projects author entry points; adjacent project Download / Restore-file / Saved-points entries; move legacy JSON/sample/schema into Advanced presentation. Reuse current service/preview/result components. | Low/medium routing risk. Test with/without Word, empty/nonempty Projects, owner/collaborator, PWA/mobile; destination says new project or same-project replacement before any mutation. Existing importer routes remain compatible. |
|
||||
| D3 Security | **P1 / S after product decision** | Align snapshot download/create/delete/replace permissions with explicit project roles and direct backup ownership. Consider passing application actor through restore service/procedure for defence-in-depth and audit. | Medium access-compatibility risk. Owner, intended editor, read-only/nonmember, archived project, cross-project point ID, anonymous and antiforgery tests at real HTTP/SQL boundaries; no silent privilege expansion. |
|
||||
| D4 Reliability / size | **P1 / M** | Establish one explicit upload/export/decoded-file/object-count contract consistent across reverse proxy, request/body/form settings, UI and business validation. Measure peak memory and time. Preserve old valid files within supported limits. | Medium availability risk. Test0/5MiB, near/over each configured limit, base64-heavy backups, deep/huge arrays and malformed files; refuse before allocation with useful messages; exported supported backups must be restorable. Bound work before considering compression/streaming changes. |
|
||||
| D5 Compatibility | **P1 / M**, with C1 | Add real historical backup fixtures with approved provenance, compatibility matrix and declared data categories/capabilities (possibly next version1.4). Keep fail-closed replacement; explicitly acknowledge partial-copy loss. Gate new schema tables with an ownership/disposition census. | Medium/high old-data risk. v1.0–1.3 real files, missing fields/categories, explicit empty/null, unsupported future versions, case variants, saved shared references and cross-version file bytes. Unknown categories must not silently disappear under a “complete” claim. |
|
||||
| D6 Reliability | P1/P2 / M | Specify confirmation/retry idempotence for restore-as-copy and concurrent-edit handling for same-project replacement. Current safety export and apply are separate transactions; intervening collaborator changes are not guaranteed captured by the safety point. | Medium concurrency risk; not a failed test in this audit. Lost-response/double-submit tests, approved duplicate retry, two imports, edit between safety capture and apply, timeout/cancel. Preserve safety/SQL atomicity and reject stale confirmation rather than guessing. |
|
||||
| B2 UI / Help | P2 / S | Display inclusion/exclusion/version/date/file information, privacy guidance, historical-file limits and recovery destination. Update existing Imports/RestorePoints Help. Make raw SQL details secondary. | Low risk. Ordinary author can recover a file without reading schema; cannot confuse an unarchive, report or Word chapter import with recovery. |
|
||||
| D7 Operations | P2 / S–M | Clarify retained safety-point limits, storage accounting, old file/orphan cleanup and restore audit actor. Define recovery above current subscription limits; preserve existing new-copy entitlement checks. | Medium retention risk. Safety snapshot still succeeds safely; no automatic deletion of the only recovery point; completed restore remains recoverable after quota/status changes. |
|
||||
| E1 Legacy | P2 / S | Retain legacy JSON import as Advanced Data Tools, schema/sample/report and compatibility docs; deprecate only after usage evidence and notice. No replacement engine required. | Low migration risk if routes/contracts retained. Published sample, aliases, legacy importer and technical diagnostics regressions pass. |
|
||||
| C2 Book-only portability | Product decision / L | Only if genuinely required: specify project-shared dependency closure and destination semantics for a book package/import into an existing project. Do not implement by truncating the project backup's books list. | High graph risk; multi-book shared characters/maps/threads/locations/custody/scenario/evidence tests, conflict preview and no dangling references. Existing whole-project recovery remains default. |
|
||||
|
||||
### Classification of data when closing gaps
|
||||
|
||||
- **Canonical author data:** project/book/story structure, saved manuscript prose, authored plans/objectives/checklist completion, character/location/relationship/plot/map/floor data and deliberate author review decisions. These deserve explicit recovery semantics.
|
||||
- **Derived/regenerable:** counts, AI observations and some continuity/analysis output. Existing backups intentionally retain much of this history. Regenerating AI observations cannot reconstruct an author's dismiss/defer/approve choices or paid historical evidence exactly.
|
||||
- **Temporary/operational:** current presence, IPC/session IDs, pending requests, credentials/grants, job execution state and consent authority. Do not resume or recreate these by copying JSON. Keep useful provenance as inactive history only where its contract is defined.
|
||||
- **Shared/account/administrator data:** accounts/billing, vocabulary authorities, shared catalogue/artwork and global solver configuration require separate administrative recovery. Diagnostic references in an author file do not convey permission to recreate those records.
|
||||
|
||||
## 9. Specific components likely to change in a subsequent implementation
|
||||
|
||||
**UI only:** `Views/Projects/Index.cshtml`, `Details.cshtml`; existing book action partials only if labels/navigation need adjustment; `Views/Imports/Index.cshtml`, `Result.cshtml`, `ImportViewModels.cs`; `Views/ProjectRestorePoints/Index.cshtml`; existing shared confirmation conventions; Help Imports/RestorePoints and existing onboarding links. A backup-focused mode may be introduced through the existing Imports controller/view model, with the service unchanged initially. Fix the existing FileReader/carried-content lifecycle rather than adding another uploader.
|
||||
|
||||
**Coverage and contracts:** `Models/ProjectBackupModels.cs`, `Data/ProjectBackupRepository.cs`, `ProjectBackupCollectionPresence`, `ProjectBackupStoredFieldContract`, graph/map/typed provenance validators and `ImportService.RemapProjectBackupForImport` / identity-table catalogue; add only the next appropriate forward migration for export/list/apply procedures and recent-table handling. Do not edit numbered SQL213–235 in place.
|
||||
|
||||
**Lifecycle/security:** `ProjectRestoreService`, `ProjectRestorePointService` / repositories, `ProjectAccessFilter` / access procedures, native import receipt/catalogue checks and Intent assessment persistence. Introduce explicit application actor/permission/context where needed. Do not move auth/network/backup work into Word or duplicate the manuscript import engine.
|
||||
|
||||
**Acceptance harness:** extend current `ProjectTransferDatabaseTests`, independent row/schema census, value/field omission tests, real HTTP export/import transport tests and browser fixtures. The existing all-table census must learn the new tables; merely increasing a count in the DTO test would hide the problem.
|
||||
|
||||
## 10. Product decisions and outstanding evidence
|
||||
|
||||
1. Is author-facing “Restore from backup” initially **new-project only** (recommended safe default), or must uploaded files also replace an existing project? The latter does not currently exist and requires a separate explicit contract.
|
||||
2. Is whole-project backup sufficient, or is a true book-only portable subgraph required? Where should shared cross-book entities live after such an import?
|
||||
3. Which collaborator roles may download snapshots, create/delete points or replace the entire project? Current routes do not consistently share the direct-export owner policy.
|
||||
4. Should temporary native review captures be included by default, opt-in, or clearly excluded with a warning? How are author decisions and portable prose retained without exporting server-bound encryption keys or auth authority?
|
||||
5. On same-project restore, should native receipts/positions and Intent assessments be rewound, invalidated, or retained as labelled out-of-snapshot history? Author decisions need a deliberate policy, not incidental leftover rows.
|
||||
6. Which old real backups must remain recoverable, and may partial **new copies** use defaults after explicit warning while in-place restore remains strict? No historical author file was available to settle that acceptance question.
|
||||
7. What supported backup-size, maximum time and storage-retention envelope should an author be able to rely on? Include embedded assets and schema growth, not just prose size.
|
||||
8. Should approved duplicate file imports be one-shot/retry-idempotent, or intentionally create a distinct new project each time? UI feedback must match that choice.
|
||||
9. What administrator-managed full DB/files/keys/shared-illustration recovery process accompanies project downloads? It is outside this author-file mechanism and was not tested here.
|
||||
|
||||
**Recommendation:** proceed with targeted reliability/coverage corrections and navigation changes, preserving the tested engines. The existing system supports meaningful, tested whole-project portability; it should not yet be described as complete recovery for the newly added native review/receipt and Intent decision state. No implementation or deployment was performed in this task.
|
||||
|
||||
### Audit evidence appendix: current live metadata
|
||||
|
||||
Read-only Development procedure-definition SHA256 values captured during the audit (not assertions about a later deployment):
|
||||
|
||||
| Procedure | SHA256 of live SQL definition |
|
||||
|---|---|
|
||||
| `ProjectBackup_Export` | `70B72DC6FEFCAB128D1DF7F04AD2AF35E87C8943218B302C49CD6CA04EC3F7E1` |
|
||||
| `ProjectBackup_PersistentState_List` | `AFDA6CF8D6A68E6B4108383597E7D3C9DB7A559F1A0C407AB1AB897F060E11B9` |
|
||||
| `ProjectRestore_ApplyFromJson` | `8ED55C829D44D1E933ECB571F3A2628CB993127563AA75DBAD64196F5FAE18F1` |
|
||||
| `StoryMap_Backup` | `91BD73AB177E8058CACF2A879E57F133486E1FBFA0029902CF31248BB5258549` |
|
||||
|
||||
Current persistent selector and restore definitions include illustration-history additions from229 and contain no native receipt/Intent assessment table handling. All four recent tables exist with no foreign keys; aggregate counts were0 each. Table names/counters/procedure definitions were inspected, not author prose or credentials. The synthetic SQL backup passed VERIFYONLY; a physical SQL database restore was not part of this project-JSON round-trip test.
|
||||
|
||||
Internal JSON API transport, Maps bootstrap JSON and AI result bodies are not treated as additional downloadable project backup formats. The file portability endpoints and separate Development diagnostic export are catalogued above.
|
||||
137
Docs/Investigations/OnboardingCleanup-20261121-fingerprints.json
Normal file
@ -0,0 +1,137 @@
|
||||
{
|
||||
"database": "PlotDirector_Development",
|
||||
"comparison": "Before and after scoped cleanup; all protected table fingerprints identical",
|
||||
"algorithm": "SQL SHA2_256 over ordered FOR JSON PATH, INCLUDE_NULL_VALUES (primary-key order)",
|
||||
"tables": [
|
||||
{
|
||||
"TableName": "BookParagraphManuscripts",
|
||||
"RowCount": 14,
|
||||
"Fingerprint": "9EFAF278DCC2A86618A19162DE38A9D27D83C91121F06290D7A81EE7FDBA48FD"
|
||||
},
|
||||
{
|
||||
"TableName": "BookParagraphPositions",
|
||||
"RowCount": 118400,
|
||||
"Fingerprint": "06446D388BC73598C3854E24868226B5619E3846F2DF59475D5F3FF6BAF265DF"
|
||||
},
|
||||
{
|
||||
"TableName": "Books",
|
||||
"RowCount": 18,
|
||||
"Fingerprint": "AE7122BEED391CF58C742C1FBEEEE89B2080E5432C093BF96548B7B783961EAF"
|
||||
},
|
||||
{
|
||||
"TableName": "Chapters",
|
||||
"RowCount": 626,
|
||||
"Fingerprint": "23E638E66D9FC77269B63D0031CEEA9A0086C851ED3528EF2B2E39B745CCB5D0"
|
||||
},
|
||||
{
|
||||
"TableName": "CharacterEnrichmentRuns",
|
||||
"RowCount": 1,
|
||||
"Fingerprint": "81C769C46D391A269766459DAFF19DB22FA8B0D42BBE6EDE1F00D8988AA1CAAD"
|
||||
},
|
||||
{
|
||||
"TableName": "Characters",
|
||||
"RowCount": 70,
|
||||
"Fingerprint": "62973C703CC50838536738B6CB3246B34A9E1FCE6D28CA847B7EBB7D1A8B5DD9"
|
||||
},
|
||||
{
|
||||
"TableName": "CoreImportBasicLocationReviews",
|
||||
"RowCount": 1,
|
||||
"Fingerprint": "B1E611D0EF40B1FE4B63182672D6B83BE3DC68FB8B3B33188D8409A1FE7FA445"
|
||||
},
|
||||
{
|
||||
"TableName": "Locations",
|
||||
"RowCount": 68,
|
||||
"Fingerprint": "C9CECC939861D128B029D19956960621EC83FCC877F143C32D503C91A457213E"
|
||||
},
|
||||
{
|
||||
"TableName": "ManuscriptDocuments",
|
||||
"RowCount": 1,
|
||||
"Fingerprint": "93051C9C0F49658577979F68FABCBDD6660F98161874E91535AC8CD08C1FB505"
|
||||
},
|
||||
{
|
||||
"TableName": "ManuscriptStructuralChapterSources",
|
||||
"RowCount": 48,
|
||||
"Fingerprint": "DF21E0B70BCE7DC639B62524C051D463F7EF5ADF4C17FF349BFCD5574619C456"
|
||||
},
|
||||
{
|
||||
"TableName": "NativeChapterReviews",
|
||||
"RowCount": 0,
|
||||
"Fingerprint": null
|
||||
},
|
||||
{
|
||||
"TableName": "NativeImportOperations",
|
||||
"RowCount": 0,
|
||||
"Fingerprint": null
|
||||
},
|
||||
{
|
||||
"TableName": "NativeReviewImports",
|
||||
"RowCount": 0,
|
||||
"Fingerprint": null
|
||||
},
|
||||
{
|
||||
"TableName": "OnboardingManuscriptBuildChapterMap",
|
||||
"RowCount": 48,
|
||||
"Fingerprint": "F0B1F9D08C34EC339D7B4B63298185C5410D06311260355AC0A1E662C1C2EA21"
|
||||
},
|
||||
{
|
||||
"TableName": "OnboardingManuscriptBuildCharacterMap",
|
||||
"RowCount": 0,
|
||||
"Fingerprint": null
|
||||
},
|
||||
{
|
||||
"TableName": "OnboardingManuscriptBuilds",
|
||||
"RowCount": 1,
|
||||
"Fingerprint": "4D2A9616D4C8D2EF4635BD02A5A29C1BA14A6BE58E950DDBCE8B08ABC15D5F62"
|
||||
},
|
||||
{
|
||||
"TableName": "OnboardingManuscriptBuildSceneMap",
|
||||
"RowCount": 290,
|
||||
"Fingerprint": "F4EFA88F78BECFCA015E53CDC9F7546462838875AB21135CBD8C86A763971819"
|
||||
},
|
||||
{
|
||||
"TableName": "OnboardingManuscriptCaptures",
|
||||
"RowCount": 1,
|
||||
"Fingerprint": "84C77D34479DB85E7D54BB1A90431998A266BB4650C34576EC22972ECBADC7AC"
|
||||
},
|
||||
{
|
||||
"TableName": "Projects",
|
||||
"RowCount": 15,
|
||||
"Fingerprint": "F74EC161E16C7E5298D2343BFE8D326A1D646537B7E079B7FBDD4AA1C6E23FB3"
|
||||
},
|
||||
{
|
||||
"TableName": "SceneManuscriptSources",
|
||||
"RowCount": 868,
|
||||
"Fingerprint": "193325F70AEA513DE532F4E00477919AA970329F8D7A947E907B27746F8EBAB1"
|
||||
},
|
||||
{
|
||||
"TableName": "Scenes",
|
||||
"RowCount": 868,
|
||||
"Fingerprint": "0B4F9A297B05BD19753A3747B35E1ECE29F491ADD1093A861D2C80EEB808CC44"
|
||||
},
|
||||
{
|
||||
"TableName": "StoryIntelligenceBookPipelines",
|
||||
"RowCount": 1,
|
||||
"Fingerprint": "F697EA47E6AA14A400F1858E1B822AADEE1F586D5DDB3E75277EE7CBC7E546B8"
|
||||
},
|
||||
{
|
||||
"TableName": "StoryIntelligenceConsents",
|
||||
"RowCount": 0,
|
||||
"Fingerprint": null
|
||||
},
|
||||
{
|
||||
"TableName": "StoryIntelligenceJobs",
|
||||
"RowCount": 0,
|
||||
"Fingerprint": null
|
||||
},
|
||||
{
|
||||
"TableName": "StoryIntelligenceRuns",
|
||||
"RowCount": 48,
|
||||
"Fingerprint": "896ED2BDF1FD8FC774D4ACA9A3A99CF5C1FA686051CB2DBDEFE4A9BD6AC214B0"
|
||||
},
|
||||
{
|
||||
"TableName": "WholeBookPlotSynthesisRuns",
|
||||
"RowCount": 1,
|
||||
"Fingerprint": "04651205BA3BDC21113904A8659FFB15E98F2F5A4D63688670C10DC23CF3F516"
|
||||
}
|
||||
]
|
||||
}
|
||||
58
Docs/Investigations/OnboardingCleanup-20261121.md
Normal file
@ -0,0 +1,58 @@
|
||||
# Saved manuscript setup cleanup and wizard theme correction
|
||||
|
||||
Development only, 21 November 2026. Production was not accessed.
|
||||
|
||||
## Root cause and discovered state
|
||||
|
||||
User 1 (Nick Beckley), onboarding state 2, project 8174 (The Alpha Flame), book 10152 (The Alpha Flame: Discovery) had `CurrentStep=WritingSoftware`, `WritingJourney=ManuscriptMostlyComplete`, no software preference and no completion timestamp. Its last update before cleanup was 19:01:01.4374149 UTC.
|
||||
|
||||
The global progress service deliberately returns **Continue manuscript setup** for an incomplete manuscript journey with a selected book and no current scan preview. `GetWizardAsync` restores that persisted state. A banner is not evidence of an active import. Starting a new import clears completion through `UserOnboarding_SaveWritingJourney`, clears software and deactivates current capture state while retaining the previously selected project/book. This explains the saved shape; there is no audit event proving which UI action reopened it.
|
||||
|
||||
The existing capture `2fde9b12-42fe-4c65-ae45-d91f5ce5f477` was already non-current. Build 7081 was Complete: 48 chapters, 290 scenes, Word document association 7078. Location review completed on 8 November; the book pipeline and character review completed on 9 November. There were no consent records or Story Intelligence jobs. All 48 analysis runs were terminal (12 Completed, 36 CompletedWithWarnings); synthesis and enrichment were Completed. Live authenticated Companion status showed no capture request or paragraph transfer, including the affected open Word document. No worker needed cancellation.
|
||||
|
||||
The preview store keeps scan/build sessions in memory and restores accepted source through `OnboardingManuscriptCaptures`; it does not run a resumable import merely because setup is incomplete. Native pending captures require an explicit capture request. No temporary files were deleted: the retained capture, build maps and Word association are genuine existing manuscript provenance.
|
||||
|
||||
## Checkpoint and exact cleanup
|
||||
|
||||
Created COPY_ONLY backup with CHECKSUM at `/var/opt/mssql/backup/PlotDirector_Development_onboarding_20261121.bak` (876,773,376 bytes). Verified its existence and successfully ran `RESTORE VERIFYONLY WITH CHECKSUM` using the container administrator after the application principal lacked verification permission. No restore was performed; verification is not a restore test.
|
||||
|
||||
Used existing `dbo.UserOnboarding_CompleteCoreImport` with UserID 1, OnboardingID 2, BookID 10152 and the original preview above. An outer transaction checked the exact saved state/timestamp, account/project/book, absence of a current capture and active analysis, and completed pipeline/character review. The existing procedure additionally checks ownership, a completed/built import, scene mappings and completed location review. This closes a reopened setup for an already completed import; it does not assert that unfinished manuscript processing succeeded.
|
||||
|
||||
Only onboarding state 2 changed:
|
||||
|
||||
- `CurrentStep`: WritingSoftware -> Complete.
|
||||
- `OnboardingCompletedUtc`: null -> 2026-11-21 20:41:47.3643272 UTC.
|
||||
- `UpdatedUtc`: updated to the same timestamp.
|
||||
|
||||
Repeating the guarded operation was a no-op. No records, capture source, jobs, book content, preferences, Word association or synchronisation state were removed. No schema migration or new cancellation architecture was required.
|
||||
|
||||
## Preservation evidence
|
||||
|
||||
The adjacent JSON evidence records identical before/after counts and SHA-256 fingerprints for 26 complete tables, including every book/account in those tables. These cover canonical manuscript payloads, 118,400 paragraph-position rows, chapters, scenes, scene manuscript sources, structural sources, Word documents, import maps, accepted capture, native reviews/imports, characters, locations and pipeline history.
|
||||
|
||||
The affected canonical payload contains 8,459 paragraphs. Its unchanged whole-payload fingerprint covers paragraph text, GUIDs, paragraph/chapter/scene mappings, manuscript identity, revision and retained history. All 626 chapters and 868 scenes across Development remained identical, including the imported 48 chapter and 290 scene map rows. The Word document row, including document GUID and sync metadata, remained identical. The sole onboarding record retained its account/project/book and software fields.
|
||||
|
||||
## Theme correction
|
||||
|
||||
Shared `onboarding.css` mixed translucent white surfaces with theme-dependent light text, hardcoded dark text and dark-only border colours. Replaced those surface and border literals with existing theme/body tokens across shared wizard/review components. Corrected badge/status/summary text, analysis select surfaces, progress tracks and the current-step label. Scoped primary-button foreground/background variables to the onboarding panel so dark-theme navigation remains readable. Layout, routes, workflow and SignalR/Companion code are unchanged.
|
||||
|
||||
Selection cards now style their direct surface child, retain selected borders, have a visible keyboard-focus outline and a dashed disabled state. Disabled cards do not animate on hover.
|
||||
|
||||
## Validation
|
||||
|
||||
- Solution build: passed, zero warnings/errors.
|
||||
- Full executable regression harness: passed, 683 PASS checks.
|
||||
- Existing focused core-import completion checks: passed (review gates, interrupted mapping, scoped completion, retry timestamp and durable recovery).
|
||||
- Added isolated compiled-Razor fixtures for all 11 wizard steps. No real import is advanced.
|
||||
- Browser and actual Chromium installed-PWA fixtures cover all 11 steps in warm light/dark and modern light/dark themes; software headings, descriptions, badges and the primary button meet 4.5:1 contrast. Selection, hover, keyboard focus and disabled states are checked. Fixture requests cannot submit onboarding/manuscript changes.
|
||||
- Live authenticated onboarding, book and Writer GETs returned 200 after cleanup; banner and Writing Software prompt were absent.
|
||||
|
||||
## Development deployment scope
|
||||
|
||||
Runtime change is one stylesheet. Deployed the tested `wwwroot/css/onboarding.css` atomically from commit `7e63280`, with release `onboarding-theme-7e63280-20261121T204745Z` and matching `current-before` stylesheet backup. Preserved the current Development application assembly and the separately deployed toast project. A full application replacement would unnecessarily roll back or bundle that unrelated work. No service restart is needed for this asset change; Razor uses a content-versioned stylesheet URL and the PWA worker has no fetch/cache handler.
|
||||
|
||||
Verified public/local GETs returned 200, the service remained active and no new warning/error journal entries appeared. Authenticated browser book/Writer/onboarding GETs and refresh passed. An actual installed Chromium PWA opened the affected book and Writer, refreshed, then closed/restarted into a new session; the unwanted banner remained absent throughout.
|
||||
|
||||
The public content-versioned CSS, release copy and deployed file all have SHA-256 `f2dc9c827f2d8f196915ba5f7f4eb0c0beacceccda098677fd329536afe05a0c`. The unchanged deployed assembly has SHA-256 `14c675c65560081c372c8e80b585f0c2fb4b0e70d1fc57ec728ce03c7b7afb73`. Final database comparison after deployment again found all 26 protected table fingerprints and the closed onboarding state unchanged.
|
||||
|
||||
Word Companion .44 physical acceptance remains a separate outstanding task; it was not repeated or claimed complete. This fix does not provide a general cancellation UI for genuinely unfinished imports.
|
||||
@ -0,0 +1,62 @@
|
||||
# Existing System Inventory
|
||||
|
||||
Evidence labels and audit scope are defined in [README](README.md). Paths below are repository-relative. “Implemented” describes inspected code, not a new end-to-end runtime certification.
|
||||
|
||||
## Writer and planning
|
||||
|
||||
| Component / status | Actual implementation and reusable behaviour | Limit relevant to Writer 2.0 |
|
||||
|---|---|---|
|
||||
| Writer dashboard — implemented; SQL objects present in Development | `PlotLine/Controllers/WriterController.cs`: `Index`, `Chapter`; `PlotLine/Services/CoreServices.cs`: `WriterWorkspaceService.GetDashboardAsync`, `GetChapterWorkflowAsync`; `PlotLine/Views/Writer/Index.cshtml`, `Chapter.cshtml`, `_WriterSceneQueue.cshtml`; `PlotLine/Data/Repositories.cs`: `WriterWorkspaceRepository` | Dashboard selects projects, not a book-specific workspace. `Index(int? projectId)` does not consume `bookId` although shell links carry it. Queries are repeated for accessible projects and four queues. Avoid expanding this fan-out for historical charts. |
|
||||
| Workflow queues — implemented | `dbo.WriterDashboard_Scenes`, `dbo.WriterDashboard_Reminders`; `PlotLine/Sql/015_Phase1P_WriterWorkspace.sql`, `052_RevisionStatusWriterWorkflow.sql`. Outlined → Write Next; Drafted → Continue Writing; Needs Work → Revision; Revised → Polishing. Scene links, priorities, blockers, warnings, outstanding notes and checklist counts already exist. | Single scene revision status cannot describe multiple independent chapter passes. Old DraftStatus/readiness fields remain in model/storage for compatibility; `SaveSceneWorkflowAsync` preserves them rather than using them as queue authority. |
|
||||
| Chapter/scene planning — implemented | `ChapterGoal_Get/Save`, `ChapterGoals`, `SceneWorkflow`, notes, checklists and attachments; `IWriterWorkspaceRepository`; `WriterWorkspaceService.SaveChapterGoalAsync`, `SaveSceneWorkflowAsync`, note/checklist/attachment methods. | Goals are author-entered narrative objectives, not time-series milestone completions or observed edit events. Preserve these distinctions. |
|
||||
| Book targets/progress — implemented | `Book` in `Models/CoreModels.cs`: `TargetWordCount`, `CurrentWordCount`, `WritingStartDate`, `TargetCompletionDate`, calculated `ProgressPercentage`; book/project dashboard services | Existing explicit targets are useful wizard prefill/milestone inputs. Word-count ratio is current length versus target, capped at 100%; it is not percentage of revision/editorial work complete or historical output. |
|
||||
| Writing plans — implemented and populated in Development | `WriterController.WritingPlans`, `EditWritingPlan`, activate/deactivate/delete/regenerate actions; `WritingScheduleService`; `WritingPlan` / `WritingScheduleItem` in `PlotLine/Models/CoreModels.cs`; `PlotLine/Views/Writer/{WritingPlans,EditWritingPlan,ScheduleSetup,SchedulePreview}.cshtml`. | Personal plan owner, project, optional book, start/deadline, JSON days/capacity, session minutes, blocked inclusion, rebalance mode. No separate time-of-day slots, exceptions, protected time, flexible unscheduled mode or versioned schedule history. |
|
||||
| Schedule persistence — implemented | `PlotLine/Sql/056_Phase9B_WritingScheduleFoundation.sql` and procedure refactor `088_InlineSqlStoredProcedureRefactor.sql`; `WritingPlans`, `WritingScheduleItems`; `CreateWritingPlan`, `UpdateWritingPlan`, `GetWritingPlansByUser`, `WritingPlan_ListForManagement`, `WritingScheduleScene_ListForPlanning`, `WritingSchedulePreview_ListByPlan`, `WritingScheduleDashboard_ListActive`, `WritingScheduleItem_UpdatePlannedStatusForUser`, `WritingPlanSummary_ListRequiringRebalance`, date-update/delete procedures. Dapper calls specify stored-procedure command type. | Dates and capacity are plans, not measured sessions. Status Done is a user action, not observed manuscript completion. Deletion/regeneration can remove records. |
|
||||
| Schedule engine — implemented | `WritingScheduleService.GenerateSchedule`, `BuildGeneratedScheduleItems`, `CreateTaskEstimate`, `PreviewRebalanceAsync`, `ApplyRebalanceAsync`. Draft estimates use estimated words / 750 words per hour, or 90 minutes; revision 45, polish 30. Large tasks split across dates and word allocations reconcile across parts. | Generation consumes a new available date per task/part; unused daily capacity is not shared between successive scenes. GoalType is stored but does not select a different task-estimation pipeline in `GenerateSchedule`. Insufficient capacity throws. No dependency graph or overlapping pass planning. Daily boundaries use server `DateTime.Today`. |
|
||||
| Rebalance modes — partly implemented | Ask/Automatic/Never values are persisted and editable; rebalance preview and explicit apply exist. | The inspected service has no automatic rebalance execution path driven by the Automatic setting. Treat the value as configuration, not proof of a running scheduler. Specification requires approval of suggestions; retire incompatible automatic behaviour rather than adding it. |
|
||||
| Measured sessions / sprints / rhythm / provenance — new work | `Exports.WritingSession` and `ExportWriterSessionBriefAsync` render a scene writing guide. Account onboarding has `WritingJourney` / writing software answers (`OnboardingController`, `UserOnboardingState`). | Neither is a measured focus session or the Writer 2.0 journey timeline. Targeted source and Development schema inspection found no implemented Writer 2.0 ledger/session/pass/insight/report subsystem. |
|
||||
|
||||
## Shell, workspaces and displays
|
||||
|
||||
| Component / status | Evidence and reusable behaviour | Limitation |
|
||||
|---|---|---|
|
||||
| Application shell/ribbon — implemented | `PlotLine/Services/ApplicationNavigation.cs`, `ApplicationRibbon.cs`, `ToolbarCommands.cs`, `RibbonPresentation.cs`; `Views/Shared/_ApplicationShell.cshtml`, `_ApplicationNavigation.cshtml`, `_ApplicationSectionMenus.cshtml`; ribbon contribution tag helpers | Writer is already a direct navigation destination. `ActiveCategory` returns `writer`, but the static category list does not define the six-destination Writer ribbon. Do not diagnose this as absence of all ribbon integration. |
|
||||
| Theme/PWA/maximise — implemented | `wwwroot/css/plotline-theme.css`, application-navigation assets, `wwwroot/js/application-pwa.js`, workspace maximise browser tests; four application themes | Reuse existing tokens and controls. `wwwroot/service-worker.js` explicitly has no fetch handler, offline cache or background sync; installing the PWA does not provide offline manuscript history. |
|
||||
| Context/Intent writing desks — implemented | `WritingController` routes `/Writing/Context`, `/Writing/Intent`, partials, maps/plots/metrics; `Views/Writing/`; `wwwroot/js/writing-workspace.js`; `WritingWorkspacePresenceService`, `WordCompanionFollowHub`, `Models/WritingWorkspacePresenceModels.cs` | These are contextual working windows, not duplicate Writer dashboards to remove. Native-target checks include saved state, session, revision and accepted positions. Preserve those checks and deep links. |
|
||||
| Companion state/presence — implemented, ephemeral | `WordCompanionPresenceService` uses concurrent dictionaries with 55-second heartbeat timeout; `Services/NativeCompanion/NativePresenceStore.cs` has 45-second live leases; `WordCompanionPresenceMonitor` hosted service; native presence hub, `_WritingConnectionDetails.cshtml` and shell status button | Heartbeat time is connection evidence, not focus duration. “Not installed” cannot be established from a missing heartbeat alone. |
|
||||
| Display discovery — partially meets specification | `writing-workspace.js`: `getScreenLayout`, `sortScreens`, `chooseLayout`, `popupFeatures`, `openRoleWindow`, `focusRole`. Permission-aware `getScreenDetails`, manual fallbacks, browser-window registration/focus, localStorage preference persistence. | >=3 monitors use a `three-screen` layout: outer Context/Intent and middle Word. Discovery can enumerate more screens, but semantic roles/profiles/research/spare/topology lifecycle are missing. Word display is a calculated preference, not an implemented OS Word-window placement command. |
|
||||
| Charts/drill-down — reuse outside Writer | `Views/Analytics/Index.cshtml` has navigable scene metric charts and raw-row fallback; `Views/Timeline/Index.cshtml` uses story-position navigation and scene selection | Story chronology/narrative order is not writing-calendar history. Reuse interaction/theme patterns without substituting story events for author activity. |
|
||||
|
||||
## Manuscript and native integration
|
||||
|
||||
| Component / status | Evidence / responsibilities | Retention and compatibility limits |
|
||||
|---|---|---|
|
||||
| Office task-pane shell — existing separate integration | `PlotDirector.WordCompanion/README.md`, manifest/template, `/word-companion` host and `wwwroot/js/word-companion-host.js`; `WordCompanionController`, `WordCompanionService` | This is not the native VSTO source. Keep legacy routes/contracts compatible and explicitly identify which source captured evidence. |
|
||||
| VSTO Word add-in — source implemented; Windows qualification separate | `PlotDirector.NativeCompanion/Vsto/WordAdapter.cs`, `WordChapterRead.cs`, `WordChapterPositions.cs`, `ThisAddIn.cs`, native ribbon. Word UI-thread COM work, bounded reads, document properties/association, selection/save/close observations and session/revision guards. | Revision counter is a local lifecycle/change signal, not Word Track Changes or a complete edit count. Linux cannot certify COM, installer, responsiveness or OS window focus. |
|
||||
| Background Windows agent — source implemented | `PlotDirector.NativeCompanion/Agent/{Program,PipeHost,SessionManager,TrayCoordinator,TrayCoordinator.Chapters,TrayCoordinator.Reuse,CloudGateway,CloudGateway.Authorization,ParagraphSnapshotCache,CompanionStateStore}.cs` | Pipe sequences, authentication contexts, per-document sessions, bounded caches, captured transfer and retry coordination. Persistent protected state stores installation credentials/preferences/bindings; not an activity log. |
|
||||
| Offline queue foundation — unused by production sender | `Agent/DeferredWorkQueue.cs`; only constructor/use references outside its class are in `PlotDirector.NativeCompanion/Tests/Program.cs` | Contains bounded durable scheduling metadata, coalesced per manuscript/scene; no prose. Source comment explicitly says not attached to a server sender. Does not preserve all offline edits or event order. |
|
||||
| Native pairing/access — implemented | `NativeCompanionAuthController`, `Services/NativeCompanion/{DesktopPairing,NativeInstallationService}.cs`; `CloudGateway.Authorization`; Windows user DPAPI in `CompanionStateStore` | Existing server/account scope, grant renewal/revocation, capability negotiation and security stamp should be extended rather than bypassed. |
|
||||
| Import capture — implemented and retained | `NativeManuscriptCaptureController`; `Services/NativeCompanion/NativeManuscriptCapture.cs`; `OnboardingManuscriptCaptures`, `OnboardingManuscriptCapture` procedure; SQL 237 and 239 | Original accepted preview payload/hash/time can survive beyond import. Analysis checkpoints are mutable and are not manuscript versions. Only one capture retained in current Development. |
|
||||
| Canonical accepted manuscript — implemented and populated | `Models/ParagraphManuscriptModels.cs`; `Services/Manuscript/ParagraphManuscriptService.cs`, `ParagraphManuscriptEngine.cs`; `Data/ParagraphManuscriptRepository.cs`; `BookParagraphManuscripts`, `dbo.ParagraphManuscript`; SQL 240 and later replacements 249–250 | One accepted JSON payload per book. Full snapshot and selective chapter changes use expected revision/request identity. Scene projections and statistics remain existing authoritative consumer stores; do not introduce a second live manuscript. |
|
||||
| Paragraph identities/reconciliation — implemented | `Protocol/Manuscript/ParagraphIdentity.cs`, `ParagraphDelta.cs`; GUID occurrences, Word native paraId hints, text fingerprints, neighbour/context matching, moves, ambiguity, removals and retained evidence anchors | Native paraId is a hint, not permanent identity. PreviousText is a latest-comparison aid; removed paragraphs are not a durable tombstone stream. Layout Undo stores assignments, not old prose. |
|
||||
| Chapter detection and acceptance — implemented | `ChapterCheckpointEngine.{Build,Validate,MergeChapter}`, `ChapterSyncService.{Manifest,Accept,Reuse,Finish,Repair}`; `BookChapterSync`, `BookChapterReuse`; SQL 243, 245–251; `BookChapterValidations` | Durable checkpoint ≠ live position validation ≠ writing-pass completion. Explicit review for cross-boundary structural uncertainty. Validations expire after 12 hours and are updated/pruned, not immutable audit events. |
|
||||
| Scene source/statistics — implemented | `SceneManuscriptSources`, source projections in `ParagraphManuscript`, `ManuscriptTextStatisticsService` and deterministic recalculation | Latest text/counts support current metrics and Story Intelligence; no gross historical addition/deletion ledger. Formatting absent from plain-text capture cannot be reconstructed. |
|
||||
| Reader — implemented; documented Development delivery | `ManuscriptReaderController`, `ManuscriptReaderService.{Read,Check,Project}`, `Views/ManuscriptReader/`; `Docs/ManuscriptReader/{Phase1,LiveUpdates}.md` | GET-only, accepted source only, chapter navigation, focus reading, encoded selectable prose, refresh without reimport. Whole-book JSON still read server-side. Sync and capture timestamps are explicitly different. No native editor yet. |
|
||||
|
||||
## History, relationships, access and background work
|
||||
|
||||
- `Projects → Books → Chapters → Scenes` remains the relational hierarchy. Canonical paragraph state also stores document/manuscript identity, paragraph GUIDs, chapter heading GUIDs, scene GUIDs and scene canonical IDs. Captured paragraph ordinals and physical Word offsets are not durable entity identity. Document renames must preserve manuscript identity; copied documents with identical IDs need conflict treatment.
|
||||
- `ProjectActivity` / `ProjectAudit_Record` / `ProjectActivity_Create` record selected entity operations with user, project, type, entity and receipt timestamp. `ProjectActivityService.RecordAsync` and explicit callers in `CoreServices.cs` establish coverage. This is not a universal SQL change log; native sync does not automatically become a recorded writing event. Source migration 046 has later extensions (e.g. merge/export activity); inspect current constraints rather than treating its original type list as exhaustive.
|
||||
- `ProjectRestorePointService` stores complete project backup JSON through `IProjectExportService`. Manual creation is limited to 10 existing points; pre-restore safety backups also exist. Deletion/download are available. `Services/Manuscript/ParagraphRecovery.cs` validates and carries paragraph manuscripts through recovery. These are discrete recovery states, not periodic writing history. Book/project restore and transfer must be updated deliberately for a future ledger.
|
||||
- `ProjectCollaboratorsController`, `ProjectCollaborationService` in `CoreServices.cs`, `ProjectAccessServices.cs`, `ProjectAccessFilter.cs`, SQL 045: owner-managed invitations and project-wide `Owner`/`Collaborator` access. All 14 Development access rows were Owner; no live collaboration journey was verified. Existing collaborators are not automatically restricted to assigned chapters or private-note exclusions.
|
||||
- `SubscriptionService.GetEffectiveEntitlementAsync`, `SubscriptionEnforcementFilter`, `SubscriptionFeature`, `SubscriptionRepository`, SQL `201_SubscriptionEntitlementEnforcement.sql` and `docs/subscription-entitlements.md` are the central entitlement path. Inactive accounts retain reading/export but unsafe requests are blocked. Future ingestion must define denied-write/offline recovery semantics and avoid silently losing queued activity. Do not hard-code tier names.
|
||||
- `UserOnboardingState`, application toolbar/bar preferences, browser-local display settings and native protected `CompanionPreferences` are different preference scopes. None is a versioned Writing Rhythm profile. Use the existing account/theme preferences; add writing-specific settings with explicit account/book/device scope.
|
||||
- Hosted presence monitoring and the native agent's periodic polling are operational coordination. Existing import/analysis workers are not focus-session processors. Story Health should consume persisted warnings/metrics/review summaries under `docs/story-intelligence/single-system-runtime.md` and `Docs/StoryIntelligence_ExceptionReview.md`; no raw-analysis reconstruction or AI re-run on dashboard GETs.
|
||||
|
||||
## Tests and operational evidence
|
||||
|
||||
Existing relevant tests: `PlotLine.Tests/Paragraph{Manuscript,Workflow,Chapter,Backup,View}Tests.cs`, `ChapterSynchronisationTests.cs`, `ChapterStructuralContentTests.cs`, `ManuscriptReaderTests.cs`, `WritingIntegrationTests.cs`, `Native{Companion,Workflow,TrayIntegration,Installation,ManuscriptCapture,CaptureLifetime}Tests.cs`, `SubscriptionEntitlementTests.cs`, native portable tests, SQL tests and browser suites listed in the implementation plan. Existing tests include source-contract assertions; these are not substitutes for runtime/native acceptance.
|
||||
|
||||
`Docs/WordCompanion/WindowsHandover/` distinguishes source candidates, Atlas qualification and Windows results. `Docs/ManuscriptReader/Phase1.md` explicitly leaves real Word-to-Reader and Windows installed-PWA acceptance unverified. Those limitations remain here; historical reports are not a new test run.
|
||||
|
||||
Gate/deployment procedure was inspected in `Docs/Codex/Deployment.md` solely for the requested delivery-flow assessment. Future Development rollout requires idle import/analysis guard, verified migration prerequisites, build identity, service/HTTPS/authenticated smoke checks and an application rollback compatible with forward-only schema additions. No deployment took place in this audit.
|
||||
109
Docs/Investigations/Writer2Audit/02-Requirements-Traceability.md
Normal file
@ -0,0 +1,109 @@
|
||||
# Requirements Traceability Matrix
|
||||
|
||||
Baseline: [Writer2_Spec.md](Writer2_Spec.md). IDs below are audit IDs, grouped by specification section; they do not change requirements. **R** = reuse, **M** = modify/extend, **N** = new capability, **U** = unverified acceptance/design input. Evidence aliases refer to exact repository paths/classes in [inventory](01-Existing-System-Inventory.md): **W** WriterController/WriterWorkspaceService/views; **P** WritingScheduleService/repository/SQL 056 and 088; **S** ApplicationNavigation/ApplicationRibbon/shared shell/themes/PWA; **D** WritingController/writing-workspace.js/presence; **C** native capture, paragraph and chapter services/protocol/SQL; **H** ProjectActivity/captures/recovery; **A** access/collaboration/subscription; **V** Reader/Analytics/Timeline. Each row identifies the dependency or principal risk and proposed approach. Phases G1–G6 refer to [implementation plan](06-Phased-Implementation-Plan.md).
|
||||
|
||||
## Product, navigation and dashboard (§1–3)
|
||||
|
||||
| ID / requirement | Existing and disposition | Gap, dependency/risk and approach |
|
||||
|---|---|---|
|
||||
| 1.1 Writing first; show achievement and next work; no duplicate records | R W queues, P tasks | M Overview should project current work + opportunities + evidence. G1 coverage before activity indicators. |
|
||||
| 1.2 No chatty AI, artificial praise or guilt; UK English | R non-chat Writer; M copy | Remove “control room”/setup-heavy emphasis; factual labels, no streak penalties. No external AI dependency. G2. |
|
||||
| 1.3 Drafting, deletion, revision, research, editorial and publication all count | R scene states/notes; N event categories | Distinguish observed edits from declared non-document work; never translate research minutes into invented words. G1/G4/G5. |
|
||||
| 1.4 Author schedule control, accessible theme/ribbon | R S; M P | All proposals preview/approve/dismiss; accessible controls and non-colour meaning. G2/G3. |
|
||||
| 2.1 Full-width Writer with contextual ribbon | R S; M W/ApplicationRibbon | Add Overview/Journey/Plan/Focus Sessions/Workspaces/Reports destinations; preserve shell/maximise. G2. |
|
||||
| 2.2 Remove duplicate Write/Writer destinations; preserve deep links/redirects | R direct Writer nav; M route review | No separate `WriteController` was found in the audited path. Inventory legacy URLs before redirecting; Context/Intent remain independent desks. Preserve query scope. G2. |
|
||||
| 2.3 Five workspace tabs | R four W queues + reminders; M | Map to Write Next/In Progress/Revision/Final Pass/Story Health; keep status semantics and completed work reachable. G2. |
|
||||
| 2.4 Chapter/scene/issues navigate; common shell book/project selection | R V scene links/S selection; M W | Current dashboard ignores bookId and shows local project selector. Add authorised book scope; link issue targets explicitly. G2. |
|
||||
| 2.5 Companion/Display Setup contextual actions | R D discovery/status; M | Compact menu; hide irrelevant document actions when no linked document. Installation state requires evidence, not heartbeat absence. G2. |
|
||||
| 3.1 First viewport: selected book/current work/next opportunity/compact state/indicators | R W/P/D; M | Remove permanent workstation panel and long tables from first viewport; small data-backed cards. G2. |
|
||||
| 3.2 Activity days relative to chosen opportunities | R planned dates P; N observed projection | Need G1 capture and local-day/coverage semantics; unscheduled days neutral, flexible mode has no invented missed days. G2/G3. |
|
||||
| 3.3 Gross added/deleted/net manuscript change | R C current text/counts; N versioned differencing/history | Counts between accepted states only; moves/format-only changes separated. No summing current word counts as output. G1/G2. |
|
||||
| 3.4 Pass/milestone progress; optional compact journey | R P Done and W revision status; N parallel passes/milestones | Author declarations labelled; edits never imply complete. G4; placeholder withheld before data. |
|
||||
| 3.5 Progressive disclosure; charts/cards drillable | R V chart links/raw fallback; M W | Bounded aggregates → dates/events/scene/reader destinations. Keyboard/table equivalents. G2/G4. |
|
||||
| 3.6 Green observed/amber risk/red blocker/grey unscheduled; provenance labels | R S tokens; M visual semantics | Labels/icons/patterns accompany colour. Risk is a forecast, pass completion may be declared, not green observed output by implication. G2. |
|
||||
|
||||
## Rhythm wizard and focus (§4–5)
|
||||
|
||||
| ID / requirement | Existing and disposition | Gap, dependency/risk and approach |
|
||||
|---|---|---|
|
||||
| 4.1 Visual conversational/skippable/resumable setup; four lifestyle choices | R onboarding patterns; N Writer setup state | No chatbot persona or full-/part-time identities. Save optional wizard draft without forcing a plan. G3. |
|
||||
| 4.2 Paint weekly time slots/protected time/session types/rough milestones | R P day capacity; N intervals/exceptions | Add timezone-aware intervals + protected/excluded periods; touch/keyboard alternative to painting. G3. |
|
||||
| 4.3 Write whenever possible; no fixed weekdays or mandatory daily targets | R nullable target words P; M validation/model | Current controller/service require a day. Separate flexible availability from zero opportunity; no fabricated daily obligations. G3. |
|
||||
| 4.4 Detect manuscript/progress and reliably prefill | R C accepted state/W revision states | Use coverage-labelled current baseline and declared state; never infer historic effort or phase completion. G1/G3. |
|
||||
| 4.5 Proposed plan preview before saving | R P rebalance preview; M create flow | Existing setup saves then generates. Introduce side-effect-free proposal before durable plan activation; revision token on approval. G3. |
|
||||
| 4.6 Changes/holidays/exceptions, suggestions approved/ignored/dismissed | R P preview/apply; N exceptions/dismissals | Preserve past plan versions, no silent auto-rebalance; handle DST/travel. G3. |
|
||||
| 5.1 Start sessions from dashboard/timeline/Word/future Editor | R D/C channels; N session contract/entry points | Shared session ID with source-neutral events, capability-gated native commands. G4. |
|
||||
| 5.2 20/30/45/60/custom durations; six objective types | R P estimated minutes only; N session settings | Do not reuse planned schedule item as actual timer. Draft/revise/plan/editorial/publication/promotion selectable. G4. |
|
||||
| 5.3 Optional five-minute recharge/reflection and next note | R W note conventions; N session breaks/note | Private-by-default note; break duration separate; no mandatory interruption. G4. |
|
||||
| 5.4 Focus mode with discreet timer/pause/extend/finish; no mid-sentence modal | R PWA maximise patterns; N lifecycle UI | Monotonic duration accounting, browser sleep/reload recovery, non-modal expiry. G4. |
|
||||
| 5.5 Focus/open linked Word and navigate chapter when permitted | R C validated navigate; N opening/OS focus contract | Current range selection is not a general safe open/focus/placement API. Author intent, identity and capability checks; Windows acceptance. G4. |
|
||||
| 5.6 Notifications respect browser/OS/consent | N permission-aware delivery | Progressive enhancement; silent timer remains usable if denied/unsupported. G4. |
|
||||
| 5.7 Planned/elapsed/observed activity/interruptions recorded separately; no attention claim | R ephemeral presence; N durable session transitions | Manual interruptions vs inferred inactivity distinct. Timer running ≠ continuous concentration. G1/G4. |
|
||||
|
||||
## Journey and manuscript integration (§6–7)
|
||||
|
||||
| ID / requirement | Existing and disposition | Gap, dependency/risk and approach |
|
||||
|---|---|---|
|
||||
| 6.1 Full-width zoomable history-left/Today/future-right, day/week/month/book | R V interaction patterns; N real-time calendar | Narrative Timeline data is unsuitable as author time. Bounded date-range projections and accessible list view. G4. |
|
||||
| 6.2 Interactive days/milestones/chapter/scene drill-down | R V routes; N activity/milestone aggregation | Drill to coverage-qualified events and accepted manuscript version where retained; no unsupported past Reader reconstruction. G4. |
|
||||
| 6.3 Editable future targets/dependency preview/optional reforecast | R P preview/apply; N dependency planning | Preview changes against plan version; approval before application. G3/G4. |
|
||||
| 6.4 Parallel tracks: draft/structural/line/proof/editorial/publish/marketing/custom | R single revision status; N independent ManuscriptPass | Multiple passes can touch same chapter; statuses explicit and separate from scene workflow. G4. |
|
||||
| 6.5 Chapter-pass matrix four states with provenance; iterative and sequential authors | N pass state/history model | No inference of reviewed/complete from edits; maintain declaration actor/time/source. G4. |
|
||||
| 7.1 One ingestion contract for Companion and future Editor | R C stable IDs/reconciliation; N ledger adapter | Server appends accepted transitions; future Editor calls same acceptance boundary. Preserve existing wire contracts. G1. |
|
||||
| 7.2 Audit GUIDs/Reader/checkpoints/reconciliation before alteration | R completed in this audit | Maintain canonical source and conservative structural review. No replacement import or second manuscript store. G0/G1. |
|
||||
| 7.3 Idempotent events with session/document/chapter/scene/actor/source/times/counts/snapshot refs | R C request/revision/session IDs; N durable event receipts | Latest request check is not permanent idempotency. Unique scoped event key + payload hash, transactional acceptance; server stamps actor/receipt. G1. |
|
||||
| 7.4 Offline queue/retries/clock skew/repeated sync | R C retry guards; queue class unused; N production outbox | Persist protected bounded observations before send; exact retries; preserve capture time uncertainty and interval gaps. G1. |
|
||||
| 7.5 Switching/renames/moves/conflicts | R C manuscript/session IDs/native hints/move detection | M immutable old/new associations; don't attribute a moved paragraph as new writing; copied IDs/multiple devices must conflict safely. G1. |
|
||||
| 7.6 Immediate baseline, no fabricated history; preserve native compatibility | R C current accepted source; M baseline onboarding | Snapshot present-day state; historic imports separate evidence class. Server-only acceptance capture can benefit legacy clients first. G1. |
|
||||
| 7.7 Compact seven states and relevant actions | R S/D presence/details; M state reducer | Not installed / disconnected / connected-unlinked / syncing / ready / stale / error, with explicit capability/installation uncertainty. G2. |
|
||||
|
||||
## Displays, insights and collaboration (§8–10)
|
||||
|
||||
| ID / requirement | Existing and disposition | Gap, dependency/risk and approach |
|
||||
|---|---|---|
|
||||
| 8.1 Prominent permission-aware Detect Displays | R D getScreenLayout; M placement | Promote to Display Setup; user gesture requests permission; no automatic prompt on page open. G2. |
|
||||
| 8.2 Visual geometry and Word/PlotDirector/reference/spare roles; 1–4+ | R screen enumeration and bounds; M chooseLayout | Replace >=3 “three-screen” policy with arbitrary role mapping; geometry display and manual editor. G2. |
|
||||
| 8.3 Saved laptop/docked profiles/topology changes/manual fallback | R one local preference object; N profiles/lifecycle | Device-local profile keys, match/check topology, repair vanished targets; do not assume screen index stable. G2. |
|
||||
| 8.4 Explain permissions/window restrictions; no irrelevant actions without document | R browser fallback/error handling; M UI | Never claim browser positions Word; separate browser window placement from native capabilities. G2/G4. |
|
||||
| 9.1 Conventional statistics; independent schedule/session/workflow/mix/time dimensions | R current statistics; N historical projections | Availability vs preference distinct; explicit objective vs inferred edit pattern distinct. No AI narration. G5. |
|
||||
| 9.2 Enough-quality data, sample size/uncertainty/factual wording | N qualification rules | Versioned eligibility, gaps, minimum sample window; suppress unsupported averages. G1/G5. |
|
||||
| 9.3 Optional descriptors, no diagnoses/identities | N profile controls | Author can disable; no fixed labels based on availability. G5. |
|
||||
| 9.4 Infrequent explainable/dismissible suggestions; no automatic schedule change | R P preview; N insight state/dismissal | Persist dismissal/cooldown and data basis; no unrequested plan mutation. G5. |
|
||||
| 10.1 Author-owned contributor assignments, overlapping phases/status/milestones | R A invitations; N scoped assignments | Chapter/book/pass grants and external-contact records; do not grant project-wide collaborator as shortcut. G5. |
|
||||
| 10.2 Manual reports distinct from captured edits | R P Done declarations; N actor/provenance model | Attribute imports/system/author/collaborator separately; an authenticated account does not prove who typed in Word. G1/G5. |
|
||||
| 10.3 External milestones/feedback import first; integrated edit attribution later | R attachments/notes; N editorial import workflow | Preview/import with source, effective/receipt dates and idempotency; no collaborator adoption requirement. G5. |
|
||||
| 10.4 No unrelated books/private notes/research access | R A project isolation; N granular authorisation | Endpoint/procedure/SignalR/export tests for chapter/book restrictions; default deny. G5. |
|
||||
|
||||
## Reporting, architecture and acceptance (§11–16)
|
||||
|
||||
| ID / requirement | Existing and disposition | Gap, dependency/risk and approach |
|
||||
|---|---|---|
|
||||
| 11.1 Date/chapter/pass/contributor report filters | R export infrastructure; N activity reporting | Same authorised bounded projections as dashboard; link reproducible query/version basis. G5. |
|
||||
| 11.2 Days/qualified durations/gross/net/version growth/chapter/milestone/editorial/coverage | R current state and sparse H; N historical report | Separate planned/observed/inferred/declared/imported sections and incomparable scopes. G1/G5. |
|
||||
| 11.3 Concise overview/detailed evidence report | R export patterns; N report composition | Redactable preview, explicit exclusions, evidence references and coverage warnings. G5. |
|
||||
| 11.4 Future sealed PDF: ID/time/scope/quality/cryptographic signature/optional QR | N report registry/signing/verification | Separate security review, key custody/rotation/revocation and privacy-preserving verification. Not a logo/hash-only substitute. G6. |
|
||||
| 11.5 Integrity ≠ human-only authorship; no AI-free certification | N evidence/report language controls | Enforce in templates/tests; imports/declarations visibly separate. G5/G6. |
|
||||
| 11.6 Redaction/privacy/retention/export/deletion before production capture | R account/export patterns; N activity policy | Decide data minimisation, snapshot retention, report verification disclosure and erasure handling before G1 production use. |
|
||||
| 12.1 Append-only versioned records + rebuildable derived read models | R SQL/Dapper; N event/projection store | Transactional append at acceptance; replay/versioned aggregation; do not mutate source events to fix statistics. G1. |
|
||||
| 12.2 Candidate entities and stable keys/source/actors/UTC/local metadata/correlation/version | R IDs in C; N schema additions | Proposed schema in architecture; no migrations created/executed. G1/G3–G6. |
|
||||
| 12.3 Minimal text, policy-governed diffs/snapshots | R current accepted manuscript; N optional immutable history | Counts-only cannot reconstruct prose; minimise duplicate text and disclose coverage lost after expiry. G1. |
|
||||
| 12.4 Efficient bounded queries/aggregation/audit/repair | R procedures; N projection/checkpoint/repair controls | Book+time index, cursor paging, revision hashes, rebuild comparison; no whole-book JSON per dashboard card. G1/G2. |
|
||||
| 13.A New author journey | R onboarding/plan forms; M | Skip/setup draft/proposal approval → usable dashboard → session. G2–G4. |
|
||||
| 13.B Existing author journey | R accepted source/native/Reader; M/N session | Current baseline with coverage note → start → Word best effort → finish → event-backed summary. G1/G2/G4. |
|
||||
| 13.C Irregular author journey | N flexible plan mode | No fixed weekday validation or empty-week failure display. G3. |
|
||||
| 13.D Iterative author journey | N parallel passes | Independent Chapter 35 drafting and Chapter 8 revision with no status collision. G4. |
|
||||
| 13.E Editor journey | R A only project-wide; N scoped editorial | Assignment/report first, integrated edits later; no private-note access. G5. |
|
||||
| 13.F Provenance journey | N report scope/preview/export | Accurate evidence levels first; signed export only G6. |
|
||||
| 13.G Display journey | R D detection; M | Detect/grant/assign/save/fallback across arbitrary monitor counts. G2. |
|
||||
| 14.1 Ribbon/theme/responsive/PWA/routes/no-document controls | R S/D; M W | Browser acceptance matrix in G2; preserve legacy and Context/Intent URLs. |
|
||||
| 14.2 No daily targets/available opportunities only | R nullable targets; M validation/P | Flexible and regular plans tested including holidays and no availability. G3. |
|
||||
| 14.3 30-minute session pause/extend/complete, honest time | N lifecycle | Fake monotonic-clock and real browser recovery tests; non-modal expiration. G4. |
|
||||
| 14.4 Parallel passes/no edit-induced completion | N pass transitions | Assert independent status and explicit actor/source. G4. |
|
||||
| 14.5 Offline/duplicate no inflation; gross/deletion/net fixtures/format-only | R conservative C; N durable ledger/outbox | Retry across restart, old-key replay, conflict, moves, split/merge and tokenisation fixtures. G1. |
|
||||
| 14.6 Coverage/source/navigation/display 1–4+/denied permission | R routes/discovery; M/N history | Cross-device coverage and permission-denied/browser unavailable tests. G1/G2. |
|
||||
| 14.7 Insight thresholds/dismissal; no AI-free claim | N | Deterministic qualification/dismissal/report tests. G5/G6. |
|
||||
| 14.8 Existing Word/Writer regressions | R existing harness/browser/native suites | Serial build/harness plus bounded feature and Windows acceptance at each affected gate. |
|
||||
| 15 Gates 0–6 and per-gate testing/rollback/Development approval | R repository operational procedures | Phase plan below follows baseline sequence; no production authorisation and no gate automatically deploys. |
|
||||
| 16 Historical capture, maps, permissions, displays, retention, components, milestones/imports | R this investigation | Findings in inventory/activity/UX; genuine product questions isolated in decisions document. Unknowns are not invented features. |
|
||||
|
||||
The proposed architecture remains provisional as required by the baseline. Existing implemented functions are reusable foundations, not blanket acceptance of their unchanged UI, evidence meaning or access model.
|
||||