diff --git a/Docs/Sprints/2026-11-03-phase2-stored-field-omission-coverage.csv b/Docs/Sprints/2026-11-03-phase2-stored-field-omission-coverage.csv new file mode 100644 index 00000000..0de95559 --- /dev/null +++ b/Docs/Sprints/2026-11-03-phase2-stored-field-omission-coverage.csv @@ -0,0 +1,1354 @@ +Collection,Column,Execution,Result +StoryMemoryIllustrationAssignments,StoryMemoryIllustrationAssignmentID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,ImportSessionID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,EntityType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,EntityID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,IllustrationLibraryItemID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,StableCode,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,AssignmentStatus,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,IsFallback,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,MatchScore,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,AssignmentReason,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,EvidenceVersion,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,AssignedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,LastValidatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,InvalidatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,InvalidationReason,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationAssignments,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,StoryMemoryIllustrationDemandID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,ImportSessionID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,EntityType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,ArchetypeKey,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,DemandCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,WaitingEntityCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,QueuedIllustrationLibraryItemID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,GeneratedIllustrationLibraryItemID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryIllustrationDemands,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,StoryIntelligenceIllustrationDemandID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,DemandKey,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,AgeBand,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,Presentation,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,HairColour,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,SkinTone,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,HairLength,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,Glasses,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,FacialHair,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,RequestCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,LastRequestedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,QueuedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceIllustrationDemands,GenerationSource,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,WholeBookPlotSynthesisRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,UserID,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,SourceStoryIntelligenceRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,CharacterResolutionVersion,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,QueuedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,StartedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,CompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,FailedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,AttemptCount,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,Model,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,OpenAIResponseID,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,InputTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,OutputTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,CachedInputTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,TotalTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,DurationMs,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,ErrorMessage,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,ErrorDetail,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,ResultJson,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,IsCurrent,Actual service preflight + independent SQL field metadata,Refused before allocation +WholeBookPlotSynthesisRuns,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,NarrativeCandidateID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,CandidateType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,CandidateKey,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ProposedTitle,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ProposedDescription,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,Category,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,InferredState,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ExistingPlotLineID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ExistingPlotThreadID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,RelatedPlotLineID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ReviewAction,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,AcceptedPlotLineID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,AcceptedPlotThreadID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ReviewedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ReviewedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ChangeType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,Significance,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ParentCandidateKey,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ParentNarrativeCandidateID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,MergeTargetNarrativeCandidateID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,WholeBookPlotSynthesisRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,AuthorPlotSeedID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ExistingPlotLineMatchConfidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,ExistingPlotLineMatchReason,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,SeedMatchConfidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,SeedMatchReason,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidates,Source,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvidence,NarrativeCandidateEvidenceID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvidence,NarrativeCandidateID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvidence,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvidence,ContributionType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvidence,Evidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvidence,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvidence,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,NarrativeCandidateEventID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,NarrativeCandidateID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,WholeBookPlotSynthesisRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,EventKey,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,EventType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,EventTitle,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,EventDescription,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,Evidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,IsIgnored,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,AcceptedThreadEventID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceNarrativeCandidateEvents,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,CharacterEnrichmentRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,UserID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,StoryIntelligenceBookPipelineID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,CharacterResolutionVersion,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,TotalCharacters,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,ProcessedCharacters,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,CurrentStage,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,CurrentMessage,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,QueuedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,StartedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,CompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,FailedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,AttemptCount,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,Model,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,InputTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,OutputTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,TotalTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,DurationMs,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,ErrorMessage,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,ErrorDetail,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,IsCurrent,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentRuns,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentEvidence,CharacterEnrichmentEvidenceID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentEvidence,CharacterEnrichmentRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentEvidence,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentEvidence,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentEvidence,FieldName,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentEvidence,Value,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentEvidence,Evidence,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentEvidence,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentEvidence,Source,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterEnrichmentEvidence,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,ReviewCandidateGenerationID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,Module,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,Source,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,CandidateCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,PendingCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,ErrorMessage,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,IsCurrent,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,PreparedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,FailedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateGenerations,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,ReviewCandidateID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,ReviewCandidateGenerationID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,Module,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,StableKey,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,CandidateType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,DisplayName,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,ExistingCanonicalID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,DecisionStatus,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,DecisionAction,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,DecisionTargetKey,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,DecisionCanonicalID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,CandidatePayloadJson,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,ReviewedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,ReviewPriority,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidates,AssessmentJson,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateEvidence,ReviewCandidateEvidenceID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateEvidence,ReviewCandidateID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateEvidence,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateEvidence,EvidenceText,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateEvidence,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateEvidence,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceReviewCandidateEvidence,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,StoryIntelligenceBookPipelineID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,CurrentStage,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,LastCompletedStage,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,CurrentReviewStage,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,CompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,LastRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,CompletionEmailQueuedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,FailureEmailQueuedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,CharacterReviewCompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,LocationReviewCompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,AssetReviewCompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,RelationshipReviewCompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,KnowledgeReviewCompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceBookPipelines,NarrativeReviewCompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,StoryMemoryCharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,ImportSessionID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,CanonicalIdentityKey,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,DisplayName,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,EntityContext,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,SourceSectionType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,IsNamed,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,IsGroupEntity,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,IsResolved,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,IsNarrator,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,IsPrimaryPOV,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,Significance,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,EvidenceVersion,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,CreatedSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,LastUpdatedSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacters,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAliases,StoryMemoryCharacterAliasID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAliases,StoryMemoryCharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAliases,Alias,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAliases,NormalisedAlias,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAliases,ResolutionReason,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAliases,SourceSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAliases,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAliases,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAttributes,StoryMemoryCharacterAttributeID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAttributes,StoryMemoryCharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAttributes,AttributeType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAttributes,NormalisedValue,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAttributes,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAttributes,IsExplicit,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAttributes,EvidenceSummary,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAttributes,SourceSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAttributes,SupersededUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryCharacterAttributes,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,StoryMemoryLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,ImportSessionID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,CanonicalIdentityKey,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,DisplayName,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,SemanticType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,Subtype,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,InteriorExterior,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,ParentLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,FirstSeenSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,LastSeenSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryLocations,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,StoryMemoryAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,ImportSessionID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,CanonicalIdentityKey,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,DisplayName,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,SemanticType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,Subtype,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,Colour,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,Era,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,FirstSeenSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,LastSeenSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryAssets,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,StoryMemoryRelationshipID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,ImportSessionID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,SourceEntityType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,SourceEntityID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,TargetEntityType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,TargetEntityID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,RelationshipType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,IsExplicit,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,FirstSeenSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,LastUpdatedSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,Active,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryRelationships,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryProcessedSceneResults,StoryMemoryProcessedSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryProcessedSceneResults,ImportSessionID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryProcessedSceneResults,SceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryProcessedSceneResults,ProcessorVersion,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryProcessedSceneResults,SnapshotHash,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryProcessedSceneResults,ProcessedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryImportPreferences,StoryMemoryImportPreferenceID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryImportPreferences,ImportSessionID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryImportPreferences,AppearancePreference,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryImportPreferences,ResolverVersion,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryImportPreferences,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryImportPreferences,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryImportPreferences,PrimaryAgeGroup,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryImportPreferences,StoryEra,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMemoryImportPreferences,StoryLocation,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,CharacterIntelligenceProfileID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,ImportSessionID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,CanonicalIdentityKey,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,CanonicalName,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,ProfileJson,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,NarrativeImportance,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,IsRecurring,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,EvidenceVersion,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,LastUpdatedSceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceProfiles,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceEvidenceEvents,CharacterIntelligenceEvidenceEventID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceEvidenceEvents,CharacterIntelligenceProfileID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceEvidenceEvents,SceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceEvidenceEvents,FieldName,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceEvidenceEvents,PreviousValue,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceEvidenceEvents,NewValue,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceEvidenceEvents,Evidence,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceEvidenceEvents,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceEvidenceEvents,IsContradiction,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceEvidenceEvents,Source,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterIntelligenceEvidenceEvents,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,StoryIntelligenceRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,UserID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceType,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,PromptVersion,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,Model,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,StartedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,CompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,TotalInputTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,TotalOutputTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,TotalTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,TotalDurationMs,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,ErrorMessage,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceFileName,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceFileSizeBytes,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceWordCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceCharacterCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceChapterCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceDetectedImagesCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceDetectedTablesCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceDetectedFootnotesCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceDetectedCommentsCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,FailureStage,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,ErrorDetail,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,EstimatedCostGBP,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,EstimatedCostUSD,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,PromptVersionsSummary,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceLabel,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceText,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,CurrentStage,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,CurrentMessage,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,TotalDetectedScenes,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,CompletedScenes,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,FailedScenes,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,CancellationRequestedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,CancelledUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,ChapterNumber,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,SourceParagraphCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceRuns,KnownCharactersJson,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,ChapterResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,StoryIntelligenceRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,ChapterNumber,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,SourceLabel,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,PromptVersion,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,Model,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,RawResponseJson,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,OutputTextJson,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,ParsedJson,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,ValidationErrorsCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,ValidationWarningsCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,InputTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,OutputTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,TotalTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,DurationMs,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceChapterResults,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,SceneResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,StoryIntelligenceRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,ChapterResultID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,TemporarySceneNumber,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,StartParagraph,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,EndParagraph,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,SourceLabel,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,PromptVersion,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,Model,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,RawResponseJson,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,OutputTextJson,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,ParsedJson,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,ValidationErrorsCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,ValidationWarningsCount,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,InputTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,OutputTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,TotalTokens,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,DurationMs,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceSceneResults,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,StoryIntelligenceImportCommitID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,StoryIntelligenceRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,CommittedAt,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,CommittedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,ScenesCreated,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,MetricsCreated,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryIntelligenceImportCommits,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,CoreImportBasicLocationReviewID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,PreviewID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,UserID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,BuildID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,RawObservationCount,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,CandidateCount,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationReviews,CompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,CoreImportBasicLocationCandidateID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,CoreImportBasicLocationReviewID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,StableKey,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,ProposedName,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,PreferredName,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,KnownNamesJson,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,ParentLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,ParentCandidateKey,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,ExistingLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,Action,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,SameAsLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,SameAsCandidateKey,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,ResultLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,FirstChapterNumber,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,FirstSceneNumber,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,FirstOccurrenceIndex,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,ObservationCount,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationCandidates,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationEvidence,CoreImportBasicLocationEvidenceID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationEvidence,CoreImportBasicLocationCandidateID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationEvidence,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationEvidence,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationEvidence,ChapterNumber,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationEvidence,SceneNumber,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationEvidence,OccurrenceIndex,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationEvidence,EvidenceText,Actual service preflight + independent SQL field metadata,Refused before allocation +CoreImportBasicLocationEvidence,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetSuggestions,SceneAssetSuggestionID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetSuggestions,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetSuggestions,AssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetSuggestions,SuggestionSource,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetSuggestions,DetectedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetSuggestions,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetSuggestions,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetSuggestions,Reason,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetSuggestions,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetSuggestions,ReviewedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetSuggestions,ReviewedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacterSuggestions,SceneCharacterSuggestionID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacterSuggestions,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacterSuggestions,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacterSuggestions,SuggestionSource,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacterSuggestions,DetectedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacterSuggestions,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacterSuggestions,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacterSuggestions,Reason,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacterSuggestions,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacterSuggestions,ReviewedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacterSuggestions,ReviewedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneLocationSuggestions,SceneLocationSuggestionID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneLocationSuggestions,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneLocationSuggestions,LocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneLocationSuggestions,SuggestionSource,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneLocationSuggestions,DetectedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneLocationSuggestions,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneLocationSuggestions,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneLocationSuggestions,Reason,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneLocationSuggestions,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneLocationSuggestions,ReviewedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneLocationSuggestions,ReviewedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneTextStatistics,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneTextStatistics,TotalWordCount,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneTextStatistics,DialogueWordCount,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneTextStatistics,ProseWordCount,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneTextStatistics,TotalParagraphCount,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneTextStatistics,DialogueParagraphCount,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneTextStatistics,ProseParagraphCount,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneTextStatistics,CalculatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneTextStatistics,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,OnboardingManuscriptBuildID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,PreviewID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,UserID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,ManuscriptDocumentID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,MarkerStatus,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,ChaptersCreated,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,ScenesCreated,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,CharactersCreated,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,CharactersReused,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,SceneAppearancesCreated,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,MarkerSyncMessage,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuilds,MarkerSyncCompletedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuildChapterMap,OnboardingManuscriptBuildID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuildChapterMap,TemporaryChapterKey,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuildChapterMap,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuildSceneMap,OnboardingManuscriptBuildID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuildSceneMap,TemporarySceneKey,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuildSceneMap,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuildCharacterMap,OnboardingManuscriptBuildID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuildCharacterMap,TemporaryCharacterKey,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuildCharacterMap,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +OnboardingManuscriptBuildCharacterMap,Created,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterImages,CharacterImageID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterImages,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterImages,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterImages,ImagePath,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterImages,ThumbnailPath,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterImages,Caption,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterImages,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterImages,UploadedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterImages,IsDeleted,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterImages,DeletedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +WordCompanionSceneAssets,WordCompanionSceneAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +WordCompanionSceneAssets,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +WordCompanionSceneAssets,StoryAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +WordCompanionSceneAssets,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +WordCompanionSceneAssets,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +WordCompanionSceneLocations,WordCompanionSceneLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +WordCompanionSceneLocations,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +WordCompanionSceneLocations,LocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +WordCompanionSceneLocations,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +WordCompanionSceneLocations,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptDocuments,ManuscriptDocumentID,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptDocuments,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptDocuments,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptDocuments,DocumentGuid,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptDocuments,BindingVersion,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptDocuments,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptDocuments,LastSyncUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptDocuments,LastOpenedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptDocuments,IsActive,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptDocuments,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,SourceText,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,SourceWordCount,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,SourceCharacterCount,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,SourceStartParagraph,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,SourceEndParagraph,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,WordStartParagraphIndex,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,WordEndParagraphIndex,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,SourceKind,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneManuscriptSources,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,SourceText,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,SourceWordCount,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,SourceCharacterCount,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,ParagraphMapJson,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,StructuralParsedJson,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,DefaultPovName,Actual service preflight + independent SQL field metadata,Refused before allocation +ManuscriptStructuralChapterSources,ExplicitNarratorName,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,WritingPlanID,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,UserID,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,PlanName,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,GoalType,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,StartDate,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,DeadlineDate,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,AvailableDaysJson,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,SessionLengthMinutes,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,IncludeBlockedScenes,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,RebalanceMode,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,IsActive,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,CreatedDateUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingPlans,ModifiedDateUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,WritingScheduleItemID,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,WritingPlanID,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,ScheduledDate,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,TaskType,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,EstimatedMinutes,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,TargetWords,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,ScheduleStatus,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,CompletedDateUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,CreatedDateUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +WritingScheduleItems,ModifiedDateUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAliases,CharacterAliasID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAliases,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAliases,Alias,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAliases,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAliases,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetAliases,AssetAliasID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetAliases,StoryAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetAliases,Alias,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetAliases,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetAliases,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationAliases,LocationAliasID,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationAliases,LocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationAliases,Alias,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationAliases,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationAliases,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +AuthorPlotSeeds,AuthorPlotSeedID,Actual service preflight + independent SQL field metadata,Refused before allocation +AuthorPlotSeeds,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +AuthorPlotSeeds,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +AuthorPlotSeeds,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +AuthorPlotSeeds,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +AuthorPlotSeeds,MatchedPlotLineID,Actual service preflight + independent SQL field metadata,Refused before allocation +AuthorPlotSeeds,Source,Actual service preflight + independent SQL field metadata,Refused before allocation +AuthorPlotSeeds,CreatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +AuthorPlotSeeds,UpdatedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarningAcknowledgements,ContinuityWarningAcknowledgementID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarningAcknowledgements,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarningAcknowledgements,WarningType,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarningAcknowledgements,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarningAcknowledgements,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarningAcknowledgements,AssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarningAcknowledgements,AcknowledgedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarningAcknowledgements,AcknowledgedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarningAcknowledgements,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotEventTargetPlotLines,PlotEventID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotEventTargetPlotLines,PlotLineID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotEventTargetPlotLines,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +MapReferenceImages,ImageID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapReferenceImages,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapReferenceImages,OriginalFileName,Actual service preflight + independent SQL field metadata,Refused before allocation +MapReferenceImages,ContentType,Actual service preflight + independent SQL field metadata,Refused before allocation +MapReferenceImages,Width,Actual service preflight + independent SQL field metadata,Refused before allocation +MapReferenceImages,Height,Actual service preflight + independent SQL field metadata,Refused before allocation +MapReferenceImages,ImageData,Actual service preflight + independent SQL field metadata,Refused before allocation +MapJourneyNotes,MapID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapJourneyNotes,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapJourneyNotes,FromSceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapJourneyNotes,ToSceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapJourneyNotes,RouteFeatureID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapJourneyNotes,TravelMethod,Actual service preflight + independent SQL field metadata,Refused before allocation +MapJourneyNotes,TypicalMinutes,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMaps,MapID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMaps,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMaps,ParentMapID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMaps,ParentFeatureID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMaps,Name,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMaps,Kind,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMaps,Revision,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMaps,ModifiedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMaps,AppearanceJson,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryMaps,ReferenceJson,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,MapID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,FeatureID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,Name,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,Type,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,GeometryClass,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,Layer,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,X,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,Y,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,Width,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,Height,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,Rotation,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,ZOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,IsPlaced,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,IsProvisional,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,IsLocked,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,ShowLabel,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,LabelX,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,LabelY,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,LocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,FloorPlanID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,StartFeatureID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,EndFeatureID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,GeometryJson,Actual service preflight + independent SQL field metadata,Refused before allocation +MapFeatures,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +MapRelationships,MapID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapRelationships,RelationshipID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapRelationships,SourceID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapRelationships,TargetID,Actual service preflight + independent SQL field metadata,Refused before allocation +MapRelationships,Direction,Actual service preflight + independent SQL field metadata,Refused before allocation +MapRelationships,RelativeDistance,Actual service preflight + independent SQL field metadata,Refused before allocation +MapRelationships,MeasuredDistance,Actual service preflight + independent SQL field metadata,Refused before allocation +MapRelationships,Unit,Actual service preflight + independent SQL field metadata,Refused before allocation +MapRelationships,TypicalTravelTime,Actual service preflight + independent SQL field metadata,Refused before allocation +MapRelationships,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,BookTitle,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,BookNumber,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,ArchivedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,ArchivedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,Subtitle,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,Tagline,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,ShortDescription,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,Status,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,TargetWordCount,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,WritingStartDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,TargetCompletionDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,PublicationDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,CoverThumbnailPath,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,CoverStandardPath,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,UsesExplicitScenes,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,StoryEra,Actual service preflight + independent SQL field metadata,Refused before allocation +Books,PrimaryLocaleCode,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,ChapterNumber,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,ChapterTitle,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,POVCharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,Summary,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,RevisionStatusID,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,ArchivedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,ArchivedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,IsLinkedToManuscript,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,ManuscriptDocumentID,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,ExternalReference,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,LinkedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,ChapterPurposeID,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,POVSource,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,POVConfidence,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,POVEvidence,Actual service preflight + independent SQL field metadata,Refused before allocation +Chapters,POVSuggestedName,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,SceneNumber,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,SceneTitle,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,Summary,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,POVCharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,PrimaryLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,TimeModeID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,StartDateTime,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,EndDateTime,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,DurationAmount,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,DurationUnitID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,RelativeTimeText,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,TimeConfidenceID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,ScenePurposeNotes,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,SceneOutcomeNotes,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,RevisionStatusID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,ArchivedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,ArchivedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,FloorPlanID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,InitialFloorPlanFloorID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,IsLinkedToManuscript,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,ManuscriptDocumentID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,ExternalReference,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,LinkedUtc,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,ImportSource,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,ImportRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,SourceStartParagraph,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,SourceEndParagraph,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,StructuralSummary,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,SceneTitleSource,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,POVSource,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,POVConfidence,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,POVEvidence,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,POVSuggestedName,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,StructuralSetting,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenePurposes,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenePurposes,ScenePurposeTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneOutcomes,SceneOutcomeID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneOutcomes,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneOutcomes,OutcomeDescription,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneOutcomes,OutcomeTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneOutcomes,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneOutcomes,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricTypes,MetricTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricTypes,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricTypes,MetricName,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricTypes,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricTypes,MinValue,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricTypes,MaxValue,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricTypes,DefaultValue,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricTypes,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricTypes,IsActive,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricValues,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricValues,MetricTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricValues,Value,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneMetricValues,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineSettings,ProjectTimelineSettingsID,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineSettings,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineSettings,ShowSceneCards,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineSettings,ShowMetricShape,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineSettings,ShowPlotLines,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineSettings,ShowStoryAssets,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineSettings,ShowCharacterAppearances,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineSettings,ShowWarnings,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineSettings,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineSettings,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineMetricSettings,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineMetricSettings,MetricTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineMetricSettings,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineMetricSettings,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineViewPresets,TimelineViewPresetID,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineViewPresets,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineViewPresets,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineViewPresets,PresetName,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineViewPresets,FilterJson,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineViewPresets,VisibilityJson,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineViewPresets,FocusType,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineViewPresets,FocusID,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineViewPresets,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineViewPresets,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +TimelineViewPresets,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,PlotLineID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,PlotLineName,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,PlotLineTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,ParentPlotLineID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,Colour,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,IsVisibleOnTimeline,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,ArchivedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,ArchivedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,PlotImportanceID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotLines,EmergesFromPlotLineID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,PlotThreadID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,PlotLineID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,ThreadTitle,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,ThreadTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,ThreadStatusID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,Importance,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,Summary,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,IntroducedSceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,PlannedResolutionSceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,ActualResolutionSceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,ArchivedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,ArchivedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +PlotThreads,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,ThreadEventID,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,PlotThreadID,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,EventTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,EventTitle,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,EventDescription,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,PlotEventTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,TargetPlotLineID,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,Source,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,SourceReferenceID,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,SourceKey,Actual service preflight + independent SQL field metadata,Refused before allocation +ThreadEvents,Confidence,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,StoryAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,AssetName,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,AssetKindID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,Importance,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,CurrentStateID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,CurrentLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,IsResolved,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,ArchivedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,ArchivedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,ShowInQuickAddBar,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,ImagePath,Actual service preflight + independent SQL field metadata,Refused before allocation +StoryAssets,ThumbnailPath,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetStates,AssetStateID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetStates,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetStates,AssetKindID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetStates,StateName,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetStates,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetStates,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetStates,IsResolvedState,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetStates,IsActive,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,AssetEventID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,StoryAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,AssetEventTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,FromStateID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,ToStateID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,EventTitle,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,EventDescription,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetEvents,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetDependencies,AssetDependencyID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetDependencies,SourceAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetDependencies,TargetAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetDependencies,AssetDependencyTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetDependencies,SourceRequiredStateID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetDependencies,TargetBlockedStateID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetDependencies,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetDependencies,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetDependencies,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetDependencies,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyEvents,AssetCustodyEventID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyEvents,StoryAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyEvents,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyEvents,AssetCustodyEventTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyEvents,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyEvents,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyEvents,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyCharacters,AssetCustodyEventCharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyCharacters,AssetCustodyEventID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyCharacters,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyCharacters,CharacterNameText,Actual service preflight + independent SQL field metadata,Refused before allocation +AssetCustodyCharacters,CustodyRoleID,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,CharacterName,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,ShortName,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,Sex,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,BirthDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,AgeAtSeriesStart,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,AgeReferenceSceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,Height,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,EyeColour,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,CharacterImportance,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,DefaultDescription,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,ArchivedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,ArchivedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,ShowInQuickAddBar,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,ImagePath,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,ThumbnailPath,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,AvatarSourceCharacterImageID,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,AvatarImagePath,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,AvatarThumbnailPath,Actual service preflight + independent SQL field metadata,Refused before allocation +Characters,SexValueID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,SceneCharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,RoleInSceneTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,PresenceTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,LocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,EntryLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,ExitLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,AppearanceNotes,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,OutfitDescription,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,PhysicalCondition,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,EmotionalState,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,KnowledgeNotes,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,MatchSource,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,MatchedText,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,OccurrenceCount,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneCharacters,FirstOccurrenceIndex,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeTypes,CharacterAttributeTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeTypes,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeTypes,AttributeName,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeTypes,DataType,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeTypes,IsNormallyStable,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeTypes,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeTypes,IsActive,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeEvents,CharacterAttributeEventID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeEvents,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeEvents,CharacterAttributeTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeEvents,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeEvents,AttributeValue,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeEvents,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeEvents,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterAttributeEvents,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterKnowledge,CharacterKnowledgeID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterKnowledge,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterKnowledge,StoryAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterKnowledge,PlotThreadID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterKnowledge,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterKnowledge,KnowledgeStateID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterKnowledge,SourceEventID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterKnowledge,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterKnowledge,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterKnowledge,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterKnowledge,SourceReviewKey,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,CharacterRelationshipID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,CharacterAID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,CharacterBID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,RelationshipTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,IsPermanent,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,StartSceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,EndSceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,IsKnownToReader,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,ArchivedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,ArchivedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,IsInitialRelationship,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,InitialBookID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,ReaderInitiallyKnows,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,InitialRelationshipStateID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,InitialIntensity,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,IsReciprocal,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +CharacterRelationships,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,RelationshipEventID,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,CharacterRelationshipID,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,RelationshipStateID,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,Intensity,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,IsKnownToOtherCharacter,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +RelationshipEvents,SourceReviewKey,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,LocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,ParentLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,LocationName,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,LocationTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,ArchivedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,ArchivedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,ShowInQuickAddBar,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,ExcludeFromCompanionDetection,Actual service preflight + independent SQL field metadata,Refused before allocation +Locations,DetectionPriority,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,LocationRelationshipID,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,FromLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,ToLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,LocationRelationshipTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,IsBidirectional,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,Strength,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,CanHearNormalSpeech,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,CanHearLoudNoise,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,CanSeeMovement,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,CanSeeClearly,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,CanTravelDirectly,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +LocationRelationships,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlans,FloorPlanID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlans,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlans,Name,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlans,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlans,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlans,ModifiedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlans,LocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,FloorPlanFloorID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,FloorPlanID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,Name,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,GridWidth,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,GridHeight,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,ModifiedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,LocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,BackgroundImagePath,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,BackgroundImageOriginalFileName,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,BackgroundOpacity,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,BackgroundScale,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,BackgroundOffsetX,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,BackgroundOffsetY,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,BackgroundLocked,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanFloors,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,FloorPlanBlockID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,FloorPlanFloorID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,LocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,X,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,Y,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,WidthCells,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,HeightCells,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,BlockType,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,LabelOverride,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanBlocks,ModifiedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanTransitions,FloorPlanTransitionID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanTransitions,FloorPlanFloorID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanTransitions,FromLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanTransitions,ToLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanTransitions,TransitionType,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanTransitions,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanTransitions,IsLocked,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanTransitions,DisplayLabel,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanTransitions,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanTransitions,ModifiedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +FloorPlanTransitions,PositionWithinLocation,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetLocations,SceneAssetLocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetLocations,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetLocations,StoryAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetLocations,LocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetLocations,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetLocations,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAssetLocations,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneFloorPlanOccupancy,SceneFloorPlanOccupancyID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneFloorPlanOccupancy,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneFloorPlanOccupancy,FloorPlanID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneFloorPlanOccupancy,FloorPlanFloorID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneFloorPlanOccupancy,CharacterID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneFloorPlanOccupancy,StoryAssetID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneFloorPlanOccupancy,LocationID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneFloorPlanOccupancy,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneFloorPlanOccupancy,ModifiedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneDependencies,SceneDependencyID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneDependencies,SourceSceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneDependencies,TargetSceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneDependencies,SceneDependencyTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneDependencies,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneDependencies,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneDependencies,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneDependencies,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneDependencies,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneDependencies,IsHardDependency,Actual service preflight + independent SQL field metadata,Refused before allocation +ValidationRuns,ValidationRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +ValidationRuns,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +ValidationRuns,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +ValidationRuns,StartedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ValidationRuns,CompletedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ValidationRuns,TriggeredBy,Actual service preflight + independent SQL field metadata,Refused before allocation +ValidationRuns,ScopeDescription,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,ContinuityWarningID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,ValidationRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,EntityType,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,EntityID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,WarningTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,WarningSeverityID,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,Message,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,Details,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,IsDismissed,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,IsIntentional,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ContinuityWarnings,LastDetectedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,SceneNoteID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,SceneNoteTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,NoteTitle,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,NoteText,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,IsPinned,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,IsResolved,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneNotes,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,SceneWorkflowID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,DraftStatus,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,EstimatedWordCount,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,ActualWordCount,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,DraftedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,LastWorkedOn,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,ReadyForDraft,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,ReadyForRevision,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,ReadyForPolish,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,IsBlocked,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,BlockedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,Priority,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneWorkflow,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneChecklistItems,SceneChecklistItemID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneChecklistItems,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneChecklistItems,ItemText,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneChecklistItems,IsCompleted,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneChecklistItems,SortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneChecklistItems,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneChecklistItems,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneChecklistItems,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneChecklistItems,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneChecklistItems,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneChecklistItems,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,SceneAttachmentID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,SceneAttachmentTypeID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,Title,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,FilePath,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,ExternalUrl,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +SceneAttachments,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,ChapterGoalID,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,ChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,GoalSummary,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,EmotionalGoal,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,ReaderTakeaway,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,MustInclude,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,RisksOrConcerns,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,CreatedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,ModifiedByUserID,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,CreatedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +ChapterGoals,ModifiedDateUTC,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,ScenarioID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,BookID,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,ScenarioName,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,BaseCreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,IsAppliedToMain,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,ArchivedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenarios,ArchivedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioSceneOrder,ScenarioSceneOrderID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioSceneOrder,ScenarioID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioSceneOrder,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioSceneOrder,ProposedChapterID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioSceneOrder,ProposedSortOrder,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioSceneOrder,Notes,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioSceneOrder,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioSceneOrder,UpdatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioValidationRuns,ScenarioValidationRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioValidationRuns,ScenarioID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioValidationRuns,StartedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioValidationRuns,CompletedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioValidationRuns,WarningCount,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioWarnings,ScenarioWarningID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioWarnings,ScenarioValidationRunID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioWarnings,ScenarioID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioWarnings,SceneID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioWarnings,EntityType,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioWarnings,EntityID,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioWarnings,WarningTypeName,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioWarnings,SeverityName,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioWarnings,Message,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioWarnings,Details,Actual service preflight + independent SQL field metadata,Refused before allocation +ScenarioWarnings,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Project,ProjectID,Actual service preflight + independent SQL field metadata,Refused before allocation +Project,ProjectName,Actual service preflight + independent SQL field metadata,Refused before allocation +Project,Description,Actual service preflight + independent SQL field metadata,Refused before allocation +Project,CreatedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Project,IsArchived,Actual service preflight + independent SQL field metadata,Refused before allocation +Project,ArchivedDate,Actual service preflight + independent SQL field metadata,Refused before allocation +Project,ArchivedReason,Actual service preflight + independent SQL field metadata,Refused before allocation +Scenes,Summary (second row),Actual service preflight,Refused before allocation +Books,StoryEra (camel case),Actual service preflight,Refused before allocation +Project,CreatedByUserID (version 1.2),Actual service preflight,Refused before allocation +Project,ModifiedByUserID (version 1.2),Actual service preflight,Refused before allocation +Project,CreatedDateUTC (version 1.2),Actual service preflight,Refused before allocation +Project,ModifiedDateUTC (version 1.2),Actual service preflight,Refused before allocation diff --git a/Docs/Sprints/2026-11-03-phase2.md b/Docs/Sprints/2026-11-03-phase2.md index b407a227..b7cf8fab 100644 --- a/Docs/Sprints/2026-11-03-phase2.md +++ b/Docs/Sprints/2026-11-03-phase2.md @@ -386,3 +386,17 @@ Restore now verifies the complete stored safety snapshot, compares original coll Actual service matrix passed all 103 independently metadata/SQL-owned collection omissions with exact original data/file-byte equality. Any safety point created was read back and compared for complete data. Camel-case and three required-header cases passed; explicit empty remains a valid historical state. An observed-and-forwarded real repository/SQL call confirmed that a safely absent unused category remains absent after staging. Copy warning, required-header and lenient-JSON preview checks passed. These are synthetic compatibility shapes, not historical backup fixtures. Inventory `2026-11-03-phase2-restore-omission-coverage.csv`; evidence `/tmp/plotdirector-phase2-service-omission-matrix.log`. Checkpoint: build zero warnings/errors; complete 103-collection transfer/safety/rollback/account matrix passed (`/tmp/plotdirector-phase2-transfer-service-presence.log`); all 405 regression checks passed (`/tmp/plotdirector-phase2-tests-service-presence.log`). No migration or Development/Production writes. Next check: field-level default inference in older-shaped rows, distinct from absent collections. No historical full-backup compatibility claim. + +## Stored-field presence before restore defaults — 4 November + +Confirmed the same inference defect inside a row: a real service restore from a synthetic snapshot lacking Books.StoryEra succeeded and replaced its stored `Future era` value with NULL (`/tmp/plotdirector-phase2-service-field-before.log`). Collection presence alone could not prevent this. The repaired real service refusal retains the entire original data state before allocation (`/tmp/plotdirector-phase2-service-field-fixed.log`). + +Added a compiled stored-field contract generated from the independently audited schema CSV (104 restored entities / 1,351 non-computed columns before explicit JSON/audit semantics). It avoids treating UI-only model properties as persisted requirements. Computed/derived and diagnostic permission/quota categories are excluded; explicitly global lookup rows are retained rather than overwritten. Root UpdatedDate is server-maintained, while the existing version-1.2 root audit replay is handled conditionally. Nullable values remain valid when explicitly present. Omitted stored fields refuse same-project restore instead of acquiring DTO defaults. New-copy preview can recover supplied data with a clear existing warning acknowledgement that absent field values cannot be reconstructed. + +The generator is `PlotLine.Tests/Tools/generate-backup-field-contract.py`: first produce the verified synthetic `--schema-coverage-only` inventory, regenerate, review its diff, build and run the field gate. Regeneration was byte-for-byte deterministic. No production schema reflection, inline application SQL, database option/permission changes or new migration. + +The specialist matrix derived its field universe from actual synthetic sys.columns and public model serialization attributes, independently of the generated requirement list. All 1,353 cases passed before safety/write allocation, including the four conditional legacy audit fields, camel-case and a later record. Fast per-field probes use repository/safety observers to prove allocation was not attempted; the original era regression and the complete explicit-null positive restore use the real repositories/SQL/files. The first later-record test mistakenly selected a non-stored word-count property; corrected to actual Scenes.Summary and asserted removal before testing. That fixture mistake was not treated as a production defect. Inventory `2026-11-03-phase2-stored-field-omission-coverage.csv`; final evidence `/tmp/plotdirector-phase2-stored-fields-later-row.log` and build log of the same prefix. + +These are current-schema and synthetic older-shaped validations. They cannot recover values an old writer never saved, and are not proof that historical backup files are complete. Actual historical fixtures remain unavailable. Collection/full-transfer/regression gates are being rerun before commit. + +Stored-field final checkpoint: all 103 actual collection-service omission cases passed again (`/tmp/plotdirector-phase2-collections-stored-fields.log`), followed by the full 103-collection copy/in-place/safety/rollback/account matrix (`/tmp/plotdirector-phase2-transfer-stored-fields.log`) and all 405 executable regressions (`/tmp/plotdirector-phase2-tests-stored-fields.log`), exit 0. Final field matrix: 1,353 cases including later stored summary and camel-case; actual complete explicit-null restore succeeded. Build zero warnings/errors. Completed verification/reproduction logs are also retained under `/srv/repos/plotdirector-phase2-artifacts/verification/`. diff --git a/PlotLine.Tests/Program.cs b/PlotLine.Tests/Program.cs index d7716a16..33a6137e 100644 --- a/PlotLine.Tests/Program.cs +++ b/PlotLine.Tests/Program.cs @@ -73,7 +73,7 @@ if (args.Contains("--maps-story-dev-fixture")) if(args.Contains("--project-transfer-database")) { - try { await ProjectTransferDatabaseTests.RunAsync(args.Last(), args.Contains("--apply-required-migrations"), args.Contains("--require-writing-plans"), args.Contains("--schema-coverage-only"), args.Contains("--exports-only"), args.Contains("--legacy-import-only"), args.Contains("--word-transfer-only"), args.Contains("--core-import-only"), args.Contains("--image-transfer-only"), args.Contains("--backup-consistency-only"), args.Contains("--restore-omission-only")); } + try { await ProjectTransferDatabaseTests.RunAsync(args.Last(), args.Contains("--apply-required-migrations"), args.Contains("--require-writing-plans"), args.Contains("--schema-coverage-only"), args.Contains("--exports-only"), args.Contains("--legacy-import-only"), args.Contains("--word-transfer-only"), args.Contains("--core-import-only"), args.Contains("--image-transfer-only"), args.Contains("--backup-consistency-only"), (args.Contains("--restore-omission-only") || args.Contains("--restore-field-omission-only"))); } catch(Exception error) { Console.Error.WriteLine(error.Message); Environment.ExitCode=1; } return; } diff --git a/PlotLine.Tests/ProjectBackupStoredFieldTests.cs b/PlotLine.Tests/ProjectBackupStoredFieldTests.cs new file mode 100644 index 00000000..cc3bf273 --- /dev/null +++ b/PlotLine.Tests/ProjectBackupStoredFieldTests.cs @@ -0,0 +1,100 @@ +using System.Reflection; +using System.Text.Json; +using System.Text.Json.Nodes; +using System.Text.Json.Serialization; +using Dapper; +using Microsoft.Extensions.Logging.Abstractions; +using PlotLine.Data; +using PlotLine.Models; +using PlotLine.Services; + +internal static class ProjectBackupStoredFieldTests +{ + private sealed class Column + { + public string TableName {get;set;}=""; + public string ColumnName {get;set;}=""; + public bool IsNullable {get;set;} + public bool IsComputed {get;set;} + } + private static void Check(bool condition,string message){if(!condition)throw new InvalidOperationException(message);} + private static T Proxy(Func handler) where T:class + {var result=DispatchProxy.Create();((StoryPointProxy)(object)result).Handler=handler;return result;} + internal static async Task RunAsync(ISqlConnectionFactory factory,IProjectBackupFiles files,int owner,int project,ProjectBackupExport before,IReadOnlyDictionary owned,IProjectRestoreService actual,IProjectRestorePointRepository repository) + { + using var db=factory.CreateConnection(); + Check(await db.ExecuteScalarAsync("SELECT DB_NAME()") == "PlotDirector_Phase2_20261103_2305" && await db.ExecuteScalarAsync("SELECT COUNT(*) FROM sys.extended_properties WHERE class=0 AND name=N'PlotDirector.Phase2.SyntheticOnly' AND CONVERT(nvarchar(20),value)=N'true'")==1,"Stored-field fixture requires marked synthetic database."); + var aliases=new Dictionary{{"Project","Projects"},{"TimelineSettings","ProjectTimelineSettings"},{"TimelineMetricSettings","ProjectTimelineMetricSettings"},{"AssetCustodyCharacters","AssetCustodyEventCharacters"}}; + var collections=owned.Where(pair=>pair.Value>0 && pair.Key is not ("UserFiles" or "ProjectAccess")).Select(pair=>pair.Key).ToArray(); + var tables=collections.Select(name=>aliases.GetValueOrDefault(name,name)).ToArray(); + var columns=(await db.QueryAsync("SELECT t.name AS TableName,c.name AS ColumnName,c.is_nullable AS IsNullable,c.is_computed AS IsComputed FROM sys.tables t JOIN sys.columns c ON c.object_id=t.object_id WHERE SCHEMA_NAME(t.schema_id)=N'dbo' AND t.name IN @tables ORDER BY t.name,c.column_id",new{tables})).Where(column=>!column.IsComputed).GroupBy(column=>column.TableName).ToDictionary(group=>group.Key,group=>group.ToArray()); + var original=JsonSerializer.Serialize(before);string? probe=null;var safetyAttempts=0;var writes=0; + var source=Proxy((name,args)=>name switch + { + "GetAsync"=>Task.FromResult(new(){ProjectRestorePointID=123,ProjectID=project,RestorePointName="Stored-field preflight probe",JsonData=probe}), + "RestoreAsync"=>Write(), + _=>throw new NotSupportedException(name) + }); + Task Write(){writes++;throw new InvalidOperationException("Malformed field reached SQL mutation.");} + var safety=Proxy((name,args)=>name=="CreatePreRestoreAsync" ? Safety() : throw new NotSupportedException(name)); + Task Safety(){safetyAttempts++;return Task.FromResult(null);} + var guarded=new ProjectRestoreService(source,safety,NullLogger.Instance,files); + var coverage=new List{"Collection,Column,Execution,Result"}; + var audit=new HashSet(StringComparer.OrdinalIgnoreCase){"CreatedByUserID","ModifiedByUserID","CreatedDateUTC","ModifiedDateUTC"}; + foreach(var collection in collections) + { + var model=collection=="Project" ? typeof(Project) : typeof(ProjectBackupData).GetProperty(collection)!.PropertyType.GetGenericArguments().Single(); + var full=JsonNode.Parse(original)!; + var rowIndex=0; + if(collection!="Project") + { + var rows=full["Data"]![collection]!.AsArray(); + rowIndex=rows.Select((row,index)=>(row,index)).OrderByDescending(pair=>pair.row?["ProjectID"] is JsonValue value && value.TryGetValue(out var id) && id==project).First().index; + } + foreach(var column in columns[aliases.GetValueOrDefault(collection,collection)]) + { + if(collection=="Project" && (column.ColumnName=="UpdatedDate" || audit.Contains(column.ColumnName)))continue; + var member=model.GetProperty(column.ColumnName,BindingFlags.Public|BindingFlags.Instance|BindingFlags.IgnoreCase)!; + var ignore=member.GetCustomAttribute(); + if(ignore?.Condition==JsonIgnoreCondition.Always || ignore?.Condition==JsonIgnoreCondition.WhenWritingDefault + || ignore?.Condition==JsonIgnoreCondition.WhenWritingNull && column.IsNullable)continue; + var wire=member.GetCustomAttribute()?.Name ?? member.Name; + var changed=JsonNode.Parse(original)!; + var row=collection=="Project" ? changed["Project"]!.AsObject() : changed["Data"]![collection]![rowIndex]!.AsObject(); + Check(row.Remove(wire),"Current complete backup serializes stored field "+collection+"."+wire); + probe=changed.ToJsonString();var attempts=safetyAttempts; + var result=await guarded.RestoreAsync(project,123); + Check(!result.Succeeded && safetyAttempts==attempts && writes==0,"Missing "+collection+"."+wire+" is refused before safety/write allocation."); + coverage.Add($"{collection},{column.ColumnName},Actual service preflight + independent SQL field metadata,Refused before allocation"); + } + } + var second=JsonNode.Parse(original)!;Check(second["Data"]!["Scenes"]!.AsArray().Count>1,"Later-row omission fixture has multiple scenes."); + Check(second["Data"]!["Scenes"]![1]!.AsObject().Remove("Summary"),"Later-row probe removes a stored scene field.");probe=second.ToJsonString();var prior=safetyAttempts; + Check(!(await guarded.RestoreAsync(project,123)).Succeeded && safetyAttempts==prior && writes==0,"Stored-field checking covers records after the first row."); + coverage.Add("Scenes,Summary (second row),Actual service preflight,Refused before allocation"); + var camel=JsonNode.Parse(JsonSerializer.Serialize(before,new JsonSerializerOptions{PropertyNamingPolicy=JsonNamingPolicy.CamelCase}))!; + camel["data"]!["books"]![0]!.AsObject().Remove("storyEra");probe=camel.ToJsonString();prior=safetyAttempts; + Check(!(await guarded.RestoreAsync(project,123)).Succeeded && safetyAttempts==prior && writes==0,"Stored-field presence is case insensitive."); + coverage.Add("Books,StoryEra (camel case),Actual service preflight,Refused before allocation"); + foreach(var field in audit) + { + var changed=JsonNode.Parse(original)!;changed["FormatVersion"]="1.2";changed["Project"]!.AsObject().Remove(field);probe=changed.ToJsonString();var attempts=safetyAttempts; + var result=await guarded.RestoreAsync(project,123); + Check(!result.Succeeded && safetyAttempts==attempts && writes==0,"Legacy project audit field is required when SQL restores it: "+field); + coverage.Add($"Project,{field} (version 1.2),Actual service preflight,Refused before allocation"); + } + var user=Proxy((name,args)=>name=="get_UserId" ? (int?)owner : throw new NotSupportedException(name)); + var subscriptions=Proxy((name,args)=>name=="CanUseResourcesAsync" ? Task.FromResult(new EntitlementDecision{Allowed=true}) : throw new NotSupportedException(name)); + var import=new ImportService(new ImportRepository(factory),user,subscriptions,NullLogger.Instance,files); + var partial=JsonNode.Parse(original)!;partial["Data"]!["Books"]![0]!.AsObject().Remove("StoryEra"); + var preview=await import.PreviewAsync(new(){JsonText=partial.ToJsonString()}); + Check(preview.Preview!.Validation.IsValid && preview.Preview.Validation.Warnings.Any(message=>message.Contains("stored project fields",StringComparison.Ordinal)),"Partial new-copy preview explicitly warns about missing stored fields."); + // Null is declared state; absence must not be guessed as null. + var explicitNull=JsonNode.Parse(original)!;explicitNull["Data"]!["Books"]![0]!["StoryEra"]=null; + var point=await repository.CreateAsync(project,"Synthetic explicit null era","Manual",explicitNull.ToJsonString(),"Explicit null is intentional, not absent."); + var restored=await actual.RestoreAsync(project,point.ProjectRestorePointID); + Check(restored.Succeeded && (await new ProjectBackupRepository(factory).GetProjectBackupAsync(project,owner))!.Data.Books.First().StoryEra is null,"Complete current snapshot with explicitly null metadata restores successfully."); + await File.WriteAllLinesAsync("Docs/Sprints/2026-11-03-phase2-stored-field-omission-coverage.csv",coverage); + Console.WriteLine($"PASS {coverage.Count-1} independently SQL-derived stored-field omissions refused before mutation/allocation; legacy audit semantics; partial-copy warning; actual complete explicit-null restore."); + } +} diff --git a/PlotLine.Tests/ProjectRestoreOmissionTests.cs b/PlotLine.Tests/ProjectRestoreOmissionTests.cs index 0c41f46a..d70e69e9 100644 --- a/PlotLine.Tests/ProjectRestoreOmissionTests.cs +++ b/PlotLine.Tests/ProjectRestoreOmissionTests.cs @@ -28,6 +28,17 @@ internal static class ProjectRestoreOmissionTests var before=(await backups.GetProjectBackupAsync(project,owner))!;await files.CaptureAsync(before); var counts=await ProjectTransferOwnedRowCensus.VerifyAsync((SqlConnection)db,before,false); var original=JsonSerializer.Serialize(before);var dataBefore=JsonSerializer.Serialize(before.Data); + if(Environment.GetCommandLineArgs().Contains("--restore-field-omission-only")) + { + var source=JsonNode.Parse(original)!;source["Data"]!["Books"]![0]!.AsObject().Remove("StoryEra"); + var point=await repository.CreateAsync(project,"Synthetic missing book era field","Manual",source.ToJsonString(),"Synthetic older-shaped row, not a historical fixture."); + var result=await service.RestoreAsync(project,point.ProjectRestorePointID); + var after=(await backups.GetProjectBackupAsync(project,owner))!; + Console.WriteLine($"Service field omission: succeeded={result.Succeeded}; era={before.Data.Books.First().StoryEra}->{after.Data.Books.First().StoryEra ?? ""}; safety={result.SafetyBackup is not null}."); + Check(!result.Succeeded && JsonSerializer.Serialize(after.Data)==dataBefore,"Actual restore service must not infer an absent stored book field as null and overwrite existing metadata."); + await ProjectBackupStoredFieldTests.RunAsync(factory,files,owner,project,before,counts,service,repository); + return; + } string FileState()=>string.Join('|',Directory.GetFiles(uploads.UploadsRootPath,"*",SearchOption.AllDirectories).Order().Select(path=>path+":"+Convert.ToHexString(SHA256.HashData(File.ReadAllBytes(path))))); var fileState=FileState();var coverage=new List{"Case,Execution,Result,SafetyBackup"}; async Task Refused(string name,string json) diff --git a/PlotLine.Tests/Tools/generate-backup-field-contract.py b/PlotLine.Tests/Tools/generate-backup-field-contract.py new file mode 100644 index 00000000..2bbcd697 --- /dev/null +++ b/PlotLine.Tests/Tools/generate-backup-field-contract.py @@ -0,0 +1,40 @@ +#!/usr/bin/env python3 +"""Generate the compiled field contract from the verified specialist schema inventory. + +First run the marked synthetic database --schema-coverage-only gate, then this script, +review its diff, build, and run --restore-field-omission-only. No database access here. +""" +import csv +import json +from collections import defaultdict +from pathlib import Path + +root = Path(__file__).resolve().parents[2] +source = root / "Docs/Sprints/2026-11-03-phase2-field-coverage.csv" +output = root / "PlotLine/Services/ProjectBackupStoredFieldContract.Schema.cs" +excluded = {"GenreMetricPresets", "GenreMetricPresetMetrics", "ProjectAccess", "UserFiles"} +groups = defaultdict(list) +with source.open() as stream: + for row in csv.DictReader(stream): + if row["Collection"] in excluded or row["Computed"] == "True": + continue + if row["Collection"] == "Project" and row["Column"] == "UpdatedDate": + continue + groups[row["Collection"]].append(row) + +text = """namespace PlotLine.Services; + +internal static partial class ProjectBackupStoredFieldContract +{ + // Generated from the independently audited stored schema inventory. + // Update alongside stored columns/backup DTOs; specialist field-omission checks use live synthetic metadata. + private static readonly IReadOnlyDictionary StoredColumns= + new Dictionary(StringComparer.OrdinalIgnoreCase) + { +""" +for collection, rows in sorted(groups.items()): + columns = ",".join(row["Column"] for row in rows) + nullable = ",".join(row["Column"] for row in rows if row["Nullable"] == "True") + text += f" [{json.dumps(collection)}]=({json.dumps(columns)},{json.dumps(nullable)}),\n" +output.write_text(text + " };\n}\n") +print(f"Generated {len(groups)} stored entity contracts; review the diff and run the field-omission specialist gate.") diff --git a/PlotLine/Services/ImportServices.cs b/PlotLine/Services/ImportServices.cs index aaa7b338..068e6651 100644 --- a/PlotLine/Services/ImportServices.cs +++ b/PlotLine/Services/ImportServices.cs @@ -648,6 +648,8 @@ public sealed class ImportService(IImportRepository imports, ICurrentUserService } if(mapError is null && validation.Errors.Count==0 && ProjectBackupCollectionPresence.AbsentPersistentCollections(jsonText).Count>0) validation.Warnings.Add("Some project data categories are absent from this backup. They will remain empty in the imported copy; information not saved in the file cannot be reconstructed."); + if(mapError is null && validation.Errors.Count==0 && ProjectBackupStoredFieldContract.Missing(jsonText,includeShared:true).Count>0) + validation.Warnings.Add("Some stored project fields are absent from this backup and will use defaults in the new copy. Values not saved in the file cannot be reconstructed."); return true; } diff --git a/PlotLine/Services/ProjectBackupStoredFieldContract.Schema.cs b/PlotLine/Services/ProjectBackupStoredFieldContract.Schema.cs new file mode 100644 index 00000000..e3320321 --- /dev/null +++ b/PlotLine/Services/ProjectBackupStoredFieldContract.Schema.cs @@ -0,0 +1,115 @@ +namespace PlotLine.Services; + +internal static partial class ProjectBackupStoredFieldContract +{ + // Generated from the independently audited stored schema inventory. + // Update alongside stored columns/backup DTOs; specialist field-omission checks use live synthetic metadata. + private static readonly IReadOnlyDictionary StoredColumns= + new Dictionary(StringComparer.OrdinalIgnoreCase) + { + ["AssetAliases"]=("AssetAliasID,StoryAssetID,Alias,SortOrder,CreatedUtc",""), + ["AssetCustodyCharacters"]=("AssetCustodyEventCharacterID,AssetCustodyEventID,CharacterID,CharacterNameText,CustodyRoleID","CharacterID,CharacterNameText"), + ["AssetCustodyEvents"]=("AssetCustodyEventID,StoryAssetID,SceneID,AssetCustodyEventTypeID,Description,CreatedDate,UpdatedDate","Description"), + ["AssetDependencies"]=("AssetDependencyID,SourceAssetID,TargetAssetID,AssetDependencyTypeID,SourceRequiredStateID,TargetBlockedStateID,Description,CreatedDate,UpdatedDate,IsArchived","SourceRequiredStateID,TargetBlockedStateID,Description"), + ["AssetEvents"]=("AssetEventID,StoryAssetID,SceneID,AssetEventTypeID,FromStateID,ToStateID,EventTitle,EventDescription,CreatedDate,UpdatedDate,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC","FromStateID,ToStateID,EventDescription,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC"), + ["AssetStates"]=("AssetStateID,ProjectID,AssetKindID,StateName,SortOrder,Description,IsResolvedState,IsActive","ProjectID,AssetKindID,Description"), + ["AuthorPlotSeeds"]=("AuthorPlotSeedID,ProjectID,BookID,Description,Status,MatchedPlotLineID,Source,CreatedUtc,UpdatedUtc","MatchedPlotLineID"), + ["Books"]=("BookID,ProjectID,BookTitle,BookNumber,Description,SortOrder,CreatedDate,UpdatedDate,IsArchived,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,Subtitle,Tagline,ShortDescription,Status,TargetWordCount,WritingStartDate,TargetCompletionDate,PublicationDate,CoverThumbnailPath,CoverStandardPath,UsesExplicitScenes,StoryEra,PrimaryLocaleCode","Description,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,Subtitle,Tagline,ShortDescription,TargetWordCount,WritingStartDate,TargetCompletionDate,PublicationDate,CoverThumbnailPath,CoverStandardPath,StoryEra,PrimaryLocaleCode"), + ["ChapterGoals"]=("ChapterGoalID,ChapterID,GoalSummary,EmotionalGoal,ReaderTakeaway,MustInclude,RisksOrConcerns,CreatedDate,UpdatedDate,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC","GoalSummary,EmotionalGoal,ReaderTakeaway,MustInclude,RisksOrConcerns,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC"), + ["Chapters"]=("ChapterID,BookID,ChapterNumber,ChapterTitle,POVCharacterID,Summary,SortOrder,RevisionStatusID,CreatedDate,UpdatedDate,IsArchived,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,IsLinkedToManuscript,ManuscriptDocumentID,ExternalReference,LinkedUtc,ChapterPurposeID,POVSource,POVConfidence,POVEvidence,POVSuggestedName","POVCharacterID,Summary,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,ManuscriptDocumentID,ExternalReference,LinkedUtc,ChapterPurposeID,POVSource,POVConfidence,POVEvidence,POVSuggestedName"), + ["CharacterAliases"]=("CharacterAliasID,CharacterID,Alias,SortOrder,CreatedUtc",""), + ["CharacterAttributeEvents"]=("CharacterAttributeEventID,CharacterID,CharacterAttributeTypeID,SceneID,AttributeValue,Description,CreatedDate,UpdatedDate","Description"), + ["CharacterAttributeTypes"]=("CharacterAttributeTypeID,ProjectID,AttributeName,DataType,IsNormallyStable,SortOrder,IsActive","ProjectID"), + ["CharacterEnrichmentEvidence"]=("CharacterEnrichmentEvidenceID,CharacterEnrichmentRunID,CharacterID,SceneID,FieldName,Value,Evidence,Confidence,Source,CreatedUtc","SceneID,Value,Evidence"), + ["CharacterEnrichmentRuns"]=("CharacterEnrichmentRunID,ProjectID,BookID,UserID,StoryIntelligenceBookPipelineID,CharacterResolutionVersion,Status,TotalCharacters,ProcessedCharacters,CurrentStage,CurrentMessage,QueuedUtc,StartedUtc,CompletedUtc,FailedUtc,AttemptCount,Model,InputTokens,OutputTokens,TotalTokens,DurationMs,ErrorMessage,ErrorDetail,IsCurrent,UpdatedUtc,CharacterID","StoryIntelligenceBookPipelineID,CurrentStage,CurrentMessage,StartedUtc,CompletedUtc,FailedUtc,Model,InputTokens,OutputTokens,TotalTokens,DurationMs,ErrorMessage,ErrorDetail,CharacterID"), + ["CharacterImages"]=("CharacterImageID,CharacterID,ProjectID,ImagePath,ThumbnailPath,Caption,SortOrder,UploadedDateUTC,IsDeleted,DeletedDateUTC","Caption,DeletedDateUTC"), + ["CharacterIntelligenceEvidenceEvents"]=("CharacterIntelligenceEvidenceEventID,CharacterIntelligenceProfileID,SceneResultID,FieldName,PreviousValue,NewValue,Evidence,Confidence,IsContradiction,Source,CreatedUtc","PreviousValue,NewValue,Evidence"), + ["CharacterIntelligenceProfiles"]=("CharacterIntelligenceProfileID,ImportSessionID,ProjectID,BookID,CanonicalIdentityKey,CanonicalName,ProfileJson,Confidence,NarrativeImportance,IsRecurring,EvidenceVersion,LastUpdatedSceneResultID,CreatedUtc,UpdatedUtc","NarrativeImportance,LastUpdatedSceneResultID"), + ["CharacterKnowledge"]=("CharacterKnowledgeID,CharacterID,StoryAssetID,PlotThreadID,SceneID,KnowledgeStateID,SourceEventID,Description,CreatedDate,UpdatedDate,SourceReviewKey","StoryAssetID,PlotThreadID,SourceEventID,Description,SourceReviewKey"), + ["CharacterRelationships"]=("CharacterRelationshipID,ProjectID,CharacterAID,CharacterBID,RelationshipTypeID,IsPermanent,StartSceneID,EndSceneID,IsKnownToReader,Notes,CreatedDate,UpdatedDate,IsArchived,ArchivedDate,ArchivedReason,IsInitialRelationship,InitialBookID,ReaderInitiallyKnows,InitialRelationshipStateID,InitialIntensity,IsReciprocal,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC","StartSceneID,EndSceneID,Notes,ArchivedDate,ArchivedReason,InitialBookID,InitialRelationshipStateID,InitialIntensity,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC"), + ["Characters"]=("CharacterID,ProjectID,CharacterName,ShortName,Sex,BirthDate,AgeAtSeriesStart,AgeReferenceSceneID,Height,EyeColour,CharacterImportance,DefaultDescription,CreatedDate,UpdatedDate,IsArchived,ArchivedDate,ArchivedReason,ShowInQuickAddBar,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,ImagePath,ThumbnailPath,AvatarSourceCharacterImageID,AvatarImagePath,AvatarThumbnailPath,SexValueID","ShortName,Sex,BirthDate,AgeAtSeriesStart,AgeReferenceSceneID,Height,EyeColour,CharacterImportance,DefaultDescription,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,ImagePath,ThumbnailPath,AvatarSourceCharacterImageID,AvatarImagePath,AvatarThumbnailPath,SexValueID"), + ["ContinuityWarningAcknowledgements"]=("ContinuityWarningAcknowledgementID,ProjectID,WarningType,SceneID,CharacterID,AssetID,AcknowledgedDate,AcknowledgedByUserID,Notes","SceneID,CharacterID,AssetID,AcknowledgedByUserID,Notes"), + ["ContinuityWarnings"]=("ContinuityWarningID,ValidationRunID,ProjectID,BookID,ChapterID,SceneID,EntityType,EntityID,WarningTypeID,WarningSeverityID,Message,Details,IsDismissed,IsIntentional,CreatedDate,LastDetectedDate","ValidationRunID,BookID,ChapterID,SceneID,EntityID,Details"), + ["CoreImportBasicLocationCandidates"]=("CoreImportBasicLocationCandidateID,CoreImportBasicLocationReviewID,StableKey,ProposedName,PreferredName,KnownNamesJson,ParentLocationID,ParentCandidateKey,ExistingLocationID,Action,SameAsLocationID,SameAsCandidateKey,ResultLocationID,FirstChapterNumber,FirstSceneNumber,FirstOccurrenceIndex,ObservationCount,SortOrder,CreatedUtc,UpdatedUtc","ParentLocationID,ParentCandidateKey,ExistingLocationID,SameAsLocationID,SameAsCandidateKey,ResultLocationID"), + ["CoreImportBasicLocationEvidence"]=("CoreImportBasicLocationEvidenceID,CoreImportBasicLocationCandidateID,SceneID,ChapterID,ChapterNumber,SceneNumber,OccurrenceIndex,EvidenceText,SortOrder",""), + ["CoreImportBasicLocationReviews"]=("CoreImportBasicLocationReviewID,PreviewID,UserID,ProjectID,BookID,BuildID,Status,RawObservationCount,CandidateCount,CreatedUtc,UpdatedUtc,CompletedUtc","BuildID,CompletedUtc"), + ["FloorPlanBlocks"]=("FloorPlanBlockID,FloorPlanFloorID,LocationID,X,Y,WidthCells,HeightCells,BlockType,LabelOverride,Notes,CreatedDate,ModifiedDate","LabelOverride,Notes,ModifiedDate"), + ["FloorPlanFloors"]=("FloorPlanFloorID,FloorPlanID,Name,SortOrder,GridWidth,GridHeight,CreatedDate,ModifiedDate,LocationID,BackgroundImagePath,BackgroundImageOriginalFileName,BackgroundOpacity,BackgroundScale,BackgroundOffsetX,BackgroundOffsetY,BackgroundLocked,Description","ModifiedDate,LocationID,BackgroundImagePath,BackgroundImageOriginalFileName,BackgroundOpacity,BackgroundScale,BackgroundOffsetX,BackgroundOffsetY,Description"), + ["FloorPlanTransitions"]=("FloorPlanTransitionID,FloorPlanFloorID,FromLocationID,ToLocationID,TransitionType,Notes,IsLocked,DisplayLabel,CreatedDate,ModifiedDate,PositionWithinLocation","Notes,DisplayLabel,ModifiedDate"), + ["FloorPlans"]=("FloorPlanID,ProjectID,Name,Description,CreatedDate,ModifiedDate,LocationID","Description,ModifiedDate,LocationID"), + ["LocationAliases"]=("LocationAliasID,LocationID,Alias,SortOrder,CreatedUtc",""), + ["LocationRelationships"]=("LocationRelationshipID,FromLocationID,ToLocationID,LocationRelationshipTypeID,IsBidirectional,Strength,CanHearNormalSpeech,CanHearLoudNoise,CanSeeMovement,CanSeeClearly,CanTravelDirectly,Notes,CreatedDate,UpdatedDate,IsArchived","Strength,Notes"), + ["Locations"]=("LocationID,ProjectID,ParentLocationID,LocationName,LocationTypeID,Description,CreatedDate,UpdatedDate,IsArchived,ArchivedDate,ArchivedReason,ShowInQuickAddBar,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,ExcludeFromCompanionDetection,DetectionPriority","ParentLocationID,LocationTypeID,Description,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC"), + ["ManuscriptDocuments"]=("ManuscriptDocumentID,BookID,ProjectID,DocumentGuid,BindingVersion,CreatedUtc,LastSyncUtc,LastOpenedUtc,IsActive,CreatedByUserID","LastSyncUtc,LastOpenedUtc,CreatedByUserID"), + ["ManuscriptStructuralChapterSources"]=("ChapterID,ProjectID,BookID,SourceText,SourceWordCount,SourceCharacterCount,ParagraphMapJson,CreatedUtc,UpdatedUtc,StructuralParsedJson,DefaultPovName,ExplicitNarratorName","ParagraphMapJson,StructuralParsedJson,DefaultPovName,ExplicitNarratorName"), + ["MapFeatures"]=("MapID,FeatureID,Name,Type,GeometryClass,Layer,X,Y,Width,Height,Rotation,ZOrder,IsPlaced,IsProvisional,IsLocked,ShowLabel,LabelX,LabelY,LocationID,FloorPlanID,StartFeatureID,EndFeatureID,GeometryJson,Notes","LocationID,FloorPlanID,StartFeatureID,EndFeatureID,Notes"), + ["MapJourneyNotes"]=("MapID,CharacterID,FromSceneID,ToSceneID,RouteFeatureID,TravelMethod,TypicalMinutes","RouteFeatureID,TravelMethod,TypicalMinutes"), + ["MapReferenceImages"]=("ImageID,ProjectID,OriginalFileName,ContentType,Width,Height,ImageData",""), + ["MapRelationships"]=("MapID,RelationshipID,SourceID,TargetID,Direction,RelativeDistance,MeasuredDistance,Unit,TypicalTravelTime,Notes","Direction,RelativeDistance,MeasuredDistance,Unit,TypicalTravelTime,Notes"), + ["OnboardingManuscriptBuildChapterMap"]=("OnboardingManuscriptBuildID,TemporaryChapterKey,ChapterID",""), + ["OnboardingManuscriptBuildCharacterMap"]=("OnboardingManuscriptBuildID,TemporaryCharacterKey,CharacterID,Created",""), + ["OnboardingManuscriptBuildSceneMap"]=("OnboardingManuscriptBuildID,TemporarySceneKey,SceneID",""), + ["OnboardingManuscriptBuilds"]=("OnboardingManuscriptBuildID,PreviewID,UserID,ProjectID,BookID,ManuscriptDocumentID,Status,MarkerStatus,ChaptersCreated,ScenesCreated,CharactersCreated,CharactersReused,SceneAppearancesCreated,CreatedUtc,UpdatedUtc,MarkerSyncMessage,MarkerSyncCompletedUtc","ManuscriptDocumentID,MarkerSyncMessage,MarkerSyncCompletedUtc"), + ["PlotEventTargetPlotLines"]=("PlotEventID,PlotLineID,CreatedDate",""), + ["PlotLines"]=("PlotLineID,ProjectID,BookID,PlotLineName,PlotLineTypeID,Description,ParentPlotLineID,SortOrder,Colour,IsVisibleOnTimeline,CreatedDate,UpdatedDate,IsArchived,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,PlotImportanceID,EmergesFromPlotLineID","BookID,Description,ParentPlotLineID,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,EmergesFromPlotLineID"), + ["PlotThreads"]=("PlotThreadID,PlotLineID,ThreadTitle,ThreadTypeID,ThreadStatusID,Importance,Summary,IntroducedSceneID,PlannedResolutionSceneID,ActualResolutionSceneID,CreatedDate,UpdatedDate,IsArchived,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC","Summary,IntroducedSceneID,PlannedResolutionSceneID,ActualResolutionSceneID,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC"), + ["Project"]=("ProjectID,ProjectName,Description,CreatedDate,IsArchived,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC","Description,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC"), + ["RelationshipEvents"]=("RelationshipEventID,CharacterRelationshipID,SceneID,RelationshipStateID,Intensity,IsKnownToOtherCharacter,Description,CreatedDate,UpdatedDate,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,SourceReviewKey","Intensity,Description,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,SourceReviewKey"), + ["ScenarioSceneOrder"]=("ScenarioSceneOrderID,ScenarioID,SceneID,ProposedChapterID,ProposedSortOrder,Notes,CreatedDate,UpdatedDate","ProposedChapterID,Notes"), + ["ScenarioValidationRuns"]=("ScenarioValidationRunID,ScenarioID,StartedDate,CompletedDate,WarningCount","CompletedDate"), + ["ScenarioWarnings"]=("ScenarioWarningID,ScenarioValidationRunID,ScenarioID,SceneID,EntityType,EntityID,WarningTypeName,SeverityName,Message,Details,CreatedDate","SceneID,EntityID,Details"), + ["Scenarios"]=("ScenarioID,ProjectID,BookID,ScenarioName,Description,BaseCreatedDate,IsAppliedToMain,IsArchived,CreatedDate,UpdatedDate,ArchivedDate,ArchivedReason","BookID,Description,ArchivedDate,ArchivedReason"), + ["SceneAssetLocations"]=("SceneAssetLocationID,SceneID,StoryAssetID,LocationID,Description,CreatedDate,UpdatedDate","Description"), + ["SceneAssetSuggestions"]=("SceneAssetSuggestionID,SceneID,AssetID,SuggestionSource,DetectedUtc,Status,Confidence,Reason,CreatedByUserID,ReviewedByUserID,ReviewedUtc","Reason,ReviewedByUserID,ReviewedUtc"), + ["SceneAttachments"]=("SceneAttachmentID,SceneID,SceneAttachmentTypeID,Title,FilePath,ExternalUrl,Notes,CreatedDate,UpdatedDate,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC","FilePath,ExternalUrl,Notes,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC"), + ["SceneCharacterSuggestions"]=("SceneCharacterSuggestionID,SceneID,CharacterID,SuggestionSource,DetectedUtc,Status,Confidence,Reason,CreatedByUserID,ReviewedByUserID,ReviewedUtc","Reason,ReviewedByUserID,ReviewedUtc"), + ["SceneCharacters"]=("SceneCharacterID,SceneID,CharacterID,RoleInSceneTypeID,PresenceTypeID,LocationID,EntryLocationID,ExitLocationID,AppearanceNotes,OutfitDescription,PhysicalCondition,EmotionalState,KnowledgeNotes,CreatedDate,UpdatedDate,MatchSource,MatchedText,OccurrenceCount,FirstOccurrenceIndex","RoleInSceneTypeID,PresenceTypeID,LocationID,EntryLocationID,ExitLocationID,AppearanceNotes,OutfitDescription,PhysicalCondition,EmotionalState,KnowledgeNotes,MatchSource,MatchedText,OccurrenceCount,FirstOccurrenceIndex"), + ["SceneChecklistItems"]=("SceneChecklistItemID,SceneID,ItemText,IsCompleted,SortOrder,CreatedDate,UpdatedDate,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC","SortOrder,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC"), + ["SceneDependencies"]=("SceneDependencyID,SourceSceneID,TargetSceneID,SceneDependencyTypeID,Description,CreatedDate,UpdatedDate,IsArchived,ProjectID,IsHardDependency","Description,ProjectID"), + ["SceneFloorPlanOccupancy"]=("SceneFloorPlanOccupancyID,SceneID,FloorPlanID,FloorPlanFloorID,CharacterID,StoryAssetID,LocationID,CreatedDate,ModifiedDate","FloorPlanFloorID,CharacterID,StoryAssetID,ModifiedDate"), + ["SceneLocationSuggestions"]=("SceneLocationSuggestionID,SceneID,LocationID,SuggestionSource,DetectedUtc,Status,Confidence,Reason,CreatedByUserID,ReviewedByUserID,ReviewedUtc","Reason,ReviewedByUserID,ReviewedUtc"), + ["SceneManuscriptSources"]=("SceneID,ProjectID,BookID,ChapterID,SourceText,SourceWordCount,SourceCharacterCount,SourceStartParagraph,SourceEndParagraph,WordStartParagraphIndex,WordEndParagraphIndex,SourceKind,CreatedUtc,UpdatedUtc","SourceStartParagraph,SourceEndParagraph,WordStartParagraphIndex,WordEndParagraphIndex"), + ["SceneMetricTypes"]=("MetricTypeID,ProjectID,MetricName,Description,MinValue,MaxValue,DefaultValue,SortOrder,IsActive","ProjectID,Description"), + ["SceneMetricValues"]=("SceneID,MetricTypeID,Value,Notes","Notes"), + ["SceneNotes"]=("SceneNoteID,SceneID,SceneNoteTypeID,NoteTitle,NoteText,SortOrder,IsPinned,IsResolved,CreatedDate,UpdatedDate,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC","NoteTitle,SortOrder,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC"), + ["SceneOutcomes"]=("SceneOutcomeID,SceneID,OutcomeDescription,OutcomeTypeID,CreatedDate,UpdatedDate","OutcomeTypeID"), + ["ScenePurposes"]=("SceneID,ScenePurposeTypeID",""), + ["SceneTextStatistics"]=("SceneID,TotalWordCount,DialogueWordCount,ProseWordCount,TotalParagraphCount,DialogueParagraphCount,ProseParagraphCount,CalculatedUtc,UpdatedUtc",""), + ["SceneWorkflow"]=("SceneWorkflowID,SceneID,DraftStatus,EstimatedWordCount,ActualWordCount,DraftedDate,LastWorkedOn,ReadyForDraft,ReadyForRevision,ReadyForPolish,IsBlocked,BlockedReason,Priority,CreatedDate,UpdatedDate,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC","EstimatedWordCount,ActualWordCount,DraftedDate,LastWorkedOn,BlockedReason,Priority,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC"), + ["Scenes"]=("SceneID,ChapterID,SceneNumber,SceneTitle,Summary,POVCharacterID,PrimaryLocationID,SortOrder,TimeModeID,StartDateTime,EndDateTime,DurationAmount,DurationUnitID,RelativeTimeText,TimeConfidenceID,ScenePurposeNotes,SceneOutcomeNotes,RevisionStatusID,CreatedDate,UpdatedDate,IsArchived,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,FloorPlanID,InitialFloorPlanFloorID,IsLinkedToManuscript,ManuscriptDocumentID,ExternalReference,LinkedUtc,ImportSource,ImportRunID,SourceStartParagraph,SourceEndParagraph,StructuralSummary,SceneTitleSource,POVSource,POVConfidence,POVEvidence,POVSuggestedName,StructuralSetting","Summary,POVCharacterID,PrimaryLocationID,StartDateTime,EndDateTime,DurationAmount,DurationUnitID,RelativeTimeText,ScenePurposeNotes,SceneOutcomeNotes,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,FloorPlanID,InitialFloorPlanFloorID,ManuscriptDocumentID,ExternalReference,LinkedUtc,ImportSource,ImportRunID,SourceStartParagraph,SourceEndParagraph,StructuralSummary,SceneTitleSource,POVSource,POVConfidence,POVEvidence,POVSuggestedName,StructuralSetting"), + ["StoryAssets"]=("StoryAssetID,ProjectID,AssetName,AssetKindID,Description,Importance,CurrentStateID,CurrentLocationID,IsResolved,CreatedDate,UpdatedDate,IsArchived,ArchivedDate,ArchivedReason,ShowInQuickAddBar,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,ImagePath,ThumbnailPath","Description,CurrentStateID,CurrentLocationID,ArchivedDate,ArchivedReason,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,ImagePath,ThumbnailPath"), + ["StoryIntelligenceBookPipelines"]=("StoryIntelligenceBookPipelineID,ProjectID,BookID,CurrentStage,LastCompletedStage,CurrentReviewStage,Status,CompletedUtc,LastRunID,CreatedUtc,UpdatedUtc,CompletionEmailQueuedUtc,FailureEmailQueuedUtc,CharacterReviewCompletedUtc,LocationReviewCompletedUtc,AssetReviewCompletedUtc,RelationshipReviewCompletedUtc,KnowledgeReviewCompletedUtc,NarrativeReviewCompletedUtc","LastCompletedStage,CurrentReviewStage,CompletedUtc,LastRunID,CompletionEmailQueuedUtc,FailureEmailQueuedUtc,CharacterReviewCompletedUtc,LocationReviewCompletedUtc,AssetReviewCompletedUtc,RelationshipReviewCompletedUtc,KnowledgeReviewCompletedUtc,NarrativeReviewCompletedUtc"), + ["StoryIntelligenceChapterResults"]=("ChapterResultID,StoryIntelligenceRunID,ProjectID,BookID,ChapterID,ChapterNumber,SourceLabel,PromptVersion,Model,RawResponseJson,OutputTextJson,ParsedJson,ValidationErrorsCount,ValidationWarningsCount,InputTokens,OutputTokens,TotalTokens,DurationMs,CreatedUtc","ProjectID,BookID,ChapterID,ChapterNumber,InputTokens,OutputTokens,TotalTokens,DurationMs"), + ["StoryIntelligenceIllustrationDemands"]=("StoryIntelligenceIllustrationDemandID,ProjectID,DemandKey,AgeBand,Presentation,HairColour,SkinTone,HairLength,Glasses,FacialHair,RequestCount,LastRequestedUtc,CreatedUtc,UpdatedUtc,QueuedUtc,GenerationSource","ProjectID,HairLength,Glasses,FacialHair,QueuedUtc"), + ["StoryIntelligenceImportCommits"]=("StoryIntelligenceImportCommitID,StoryIntelligenceRunID,ProjectID,BookID,ChapterID,CommittedAt,CommittedByUserID,ScenesCreated,MetricsCreated,Status,Notes,CreatedUtc","ProjectID,BookID,ChapterID,Notes"), + ["StoryIntelligenceNarrativeCandidateEvents"]=("NarrativeCandidateEventID,NarrativeCandidateID,WholeBookPlotSynthesisRunID,EventKey,SceneID,EventType,EventTitle,EventDescription,Evidence,Confidence,SortOrder,IsIgnored,AcceptedThreadEventID,CreatedUtc,UpdatedUtc","WholeBookPlotSynthesisRunID,EventDescription,Evidence,Confidence,AcceptedThreadEventID"), + ["StoryIntelligenceNarrativeCandidateEvidence"]=("NarrativeCandidateEvidenceID,NarrativeCandidateID,SceneID,ContributionType,Evidence,SortOrder,CreatedUtc","ContributionType,Evidence"), + ["StoryIntelligenceNarrativeCandidates"]=("NarrativeCandidateID,ProjectID,BookID,CandidateType,CandidateKey,ProposedTitle,ProposedDescription,Category,InferredState,ExistingPlotLineID,ExistingPlotThreadID,RelatedPlotLineID,Confidence,Status,ReviewAction,AcceptedPlotLineID,AcceptedPlotThreadID,ReviewedByUserID,ReviewedUtc,CreatedUtc,UpdatedUtc,ChangeType,Significance,ParentCandidateKey,ParentNarrativeCandidateID,MergeTargetNarrativeCandidateID,WholeBookPlotSynthesisRunID,AuthorPlotSeedID,ExistingPlotLineMatchConfidence,ExistingPlotLineMatchReason,SeedMatchConfidence,SeedMatchReason,Source","ProposedDescription,Category,InferredState,ExistingPlotLineID,ExistingPlotThreadID,RelatedPlotLineID,Confidence,ReviewAction,AcceptedPlotLineID,AcceptedPlotThreadID,ReviewedByUserID,ReviewedUtc,ChangeType,Significance,ParentCandidateKey,ParentNarrativeCandidateID,MergeTargetNarrativeCandidateID,WholeBookPlotSynthesisRunID,AuthorPlotSeedID,ExistingPlotLineMatchConfidence,ExistingPlotLineMatchReason,SeedMatchConfidence,SeedMatchReason,Source"), + ["StoryIntelligenceReviewCandidateEvidence"]=("ReviewCandidateEvidenceID,ReviewCandidateID,SceneID,EvidenceText,Confidence,SortOrder,CreatedUtc","SceneID,Confidence"), + ["StoryIntelligenceReviewCandidateGenerations"]=("ReviewCandidateGenerationID,ProjectID,BookID,Module,Status,Source,CandidateCount,PendingCount,ErrorMessage,IsCurrent,CreatedUtc,PreparedUtc,FailedUtc,UpdatedUtc","ErrorMessage,PreparedUtc,FailedUtc"), + ["StoryIntelligenceReviewCandidates"]=("ReviewCandidateID,ReviewCandidateGenerationID,ProjectID,BookID,Module,StableKey,CandidateType,DisplayName,SortOrder,Confidence,ExistingCanonicalID,DecisionStatus,DecisionAction,DecisionTargetKey,DecisionCanonicalID,CandidatePayloadJson,CreatedUtc,ReviewedUtc,UpdatedUtc,ReviewPriority,AssessmentJson","CandidateType,Confidence,ExistingCanonicalID,DecisionAction,DecisionTargetKey,DecisionCanonicalID,ReviewedUtc,AssessmentJson"), + ["StoryIntelligenceRuns"]=("StoryIntelligenceRunID,UserID,ProjectID,BookID,Status,SourceType,PromptVersion,Model,StartedUtc,CompletedUtc,TotalInputTokens,TotalOutputTokens,TotalTokens,TotalDurationMs,ErrorMessage,CreatedUtc,UpdatedUtc,SourceFileName,SourceFileSizeBytes,SourceWordCount,SourceCharacterCount,SourceChapterCount,SourceDetectedImagesCount,SourceDetectedTablesCount,SourceDetectedFootnotesCount,SourceDetectedCommentsCount,FailureStage,ErrorDetail,EstimatedCostGBP,EstimatedCostUSD,PromptVersionsSummary,SourceLabel,SourceText,CurrentStage,CurrentMessage,TotalDetectedScenes,CompletedScenes,FailedScenes,CancellationRequestedUtc,CancelledUtc,ChapterID,ChapterNumber,SourceParagraphCount,KnownCharactersJson","ProjectID,BookID,CompletedUtc,TotalInputTokens,TotalOutputTokens,TotalTokens,TotalDurationMs,ErrorMessage,SourceFileName,SourceFileSizeBytes,SourceWordCount,SourceCharacterCount,SourceChapterCount,SourceDetectedImagesCount,SourceDetectedTablesCount,SourceDetectedFootnotesCount,SourceDetectedCommentsCount,FailureStage,ErrorDetail,EstimatedCostGBP,EstimatedCostUSD,PromptVersionsSummary,SourceLabel,SourceText,CurrentStage,CurrentMessage,TotalDetectedScenes,CompletedScenes,FailedScenes,CancellationRequestedUtc,CancelledUtc,ChapterID,ChapterNumber,SourceParagraphCount,KnownCharactersJson"), + ["StoryIntelligenceSceneResults"]=("SceneResultID,StoryIntelligenceRunID,ChapterResultID,ProjectID,BookID,ChapterID,SceneID,TemporarySceneNumber,StartParagraph,EndParagraph,SourceLabel,PromptVersion,Model,RawResponseJson,OutputTextJson,ParsedJson,ValidationErrorsCount,ValidationWarningsCount,InputTokens,OutputTokens,TotalTokens,DurationMs,CreatedUtc","ChapterResultID,ProjectID,BookID,ChapterID,SceneID,StartParagraph,EndParagraph,InputTokens,OutputTokens,TotalTokens,DurationMs"), + ["StoryMaps"]=("MapID,ProjectID,ParentMapID,ParentFeatureID,Name,Kind,Revision,ModifiedDate,AppearanceJson,ReferenceJson","ParentMapID,ParentFeatureID"), + ["StoryMemoryAssets"]=("StoryMemoryAssetID,ImportSessionID,ProjectID,BookID,CanonicalIdentityKey,DisplayName,SemanticType,Subtype,Colour,Era,FirstSeenSceneResultID,LastSeenSceneResultID,CreatedUtc,UpdatedUtc","Subtype,Colour,Era,FirstSeenSceneResultID,LastSeenSceneResultID"), + ["StoryMemoryCharacterAliases"]=("StoryMemoryCharacterAliasID,StoryMemoryCharacterID,Alias,NormalisedAlias,ResolutionReason,SourceSceneResultID,Confidence,CreatedUtc","ResolutionReason,SourceSceneResultID"), + ["StoryMemoryCharacterAttributes"]=("StoryMemoryCharacterAttributeID,StoryMemoryCharacterID,AttributeType,NormalisedValue,Confidence,IsExplicit,EvidenceSummary,SourceSceneResultID,SupersededUtc,CreatedUtc","EvidenceSummary,SourceSceneResultID,SupersededUtc"), + ["StoryMemoryCharacters"]=("StoryMemoryCharacterID,ImportSessionID,ProjectID,BookID,CanonicalIdentityKey,DisplayName,EntityContext,SourceSectionType,IsNamed,IsGroupEntity,IsResolved,IsNarrator,IsPrimaryPOV,Significance,EvidenceVersion,CreatedSceneResultID,LastUpdatedSceneResultID,CreatedUtc,UpdatedUtc","CreatedSceneResultID,LastUpdatedSceneResultID"), + ["StoryMemoryIllustrationAssignments"]=("StoryMemoryIllustrationAssignmentID,ImportSessionID,EntityType,EntityID,IllustrationLibraryItemID,StableCode,AssignmentStatus,IsFallback,MatchScore,Confidence,AssignmentReason,EvidenceVersion,AssignedUtc,LastValidatedUtc,InvalidatedUtc,InvalidationReason,CreatedUtc,UpdatedUtc","IllustrationLibraryItemID,StableCode,AssignmentReason,InvalidatedUtc,InvalidationReason"), + ["StoryMemoryIllustrationDemands"]=("StoryMemoryIllustrationDemandID,ImportSessionID,ProjectID,EntityType,ArchetypeKey,DemandCount,WaitingEntityCount,Status,QueuedIllustrationLibraryItemID,GeneratedIllustrationLibraryItemID,CreatedUtc,UpdatedUtc","QueuedIllustrationLibraryItemID,GeneratedIllustrationLibraryItemID"), + ["StoryMemoryImportPreferences"]=("StoryMemoryImportPreferenceID,ImportSessionID,AppearancePreference,ResolverVersion,CreatedUtc,UpdatedUtc,PrimaryAgeGroup,StoryEra,StoryLocation","PrimaryAgeGroup,StoryEra,StoryLocation"), + ["StoryMemoryLocations"]=("StoryMemoryLocationID,ImportSessionID,ProjectID,BookID,CanonicalIdentityKey,DisplayName,SemanticType,Subtype,InteriorExterior,ParentLocationID,FirstSeenSceneResultID,LastSeenSceneResultID,CreatedUtc,UpdatedUtc","Subtype,InteriorExterior,ParentLocationID,FirstSeenSceneResultID,LastSeenSceneResultID"), + ["StoryMemoryProcessedSceneResults"]=("StoryMemoryProcessedSceneResultID,ImportSessionID,SceneResultID,ProcessorVersion,SnapshotHash,ProcessedUtc","SnapshotHash"), + ["StoryMemoryRelationships"]=("StoryMemoryRelationshipID,ImportSessionID,SourceEntityType,SourceEntityID,TargetEntityType,TargetEntityID,RelationshipType,Confidence,IsExplicit,FirstSeenSceneResultID,LastUpdatedSceneResultID,Active,CreatedUtc,UpdatedUtc","FirstSeenSceneResultID,LastUpdatedSceneResultID"), + ["ThreadEvents"]=("ThreadEventID,PlotThreadID,SceneID,EventTypeID,EventTitle,EventDescription,CreatedDate,UpdatedDate,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,PlotEventTypeID,TargetPlotLineID,Source,SourceReferenceID,SourceKey,Confidence","EventDescription,CreatedByUserID,ModifiedByUserID,CreatedDateUTC,ModifiedDateUTC,TargetPlotLineID,SourceReferenceID,SourceKey,Confidence"), + ["TimelineMetricSettings"]=("ProjectID,MetricTypeID,SortOrder,CreatedDate",""), + ["TimelineSettings"]=("ProjectTimelineSettingsID,ProjectID,ShowSceneCards,ShowMetricShape,ShowPlotLines,ShowStoryAssets,ShowCharacterAppearances,ShowWarnings,CreatedDate,UpdatedDate",""), + ["TimelineViewPresets"]=("TimelineViewPresetID,ProjectID,BookID,PresetName,FilterJson,VisibilityJson,FocusType,FocusID,CreatedDate,UpdatedDate,IsArchived","BookID,FocusType,FocusID"), + ["ValidationRuns"]=("ValidationRunID,ProjectID,BookID,StartedDate,CompletedDate,TriggeredBy,ScopeDescription","BookID,CompletedDate,TriggeredBy,ScopeDescription"), + ["WholeBookPlotSynthesisRuns"]=("WholeBookPlotSynthesisRunID,ProjectID,BookID,UserID,SourceStoryIntelligenceRunID,CharacterResolutionVersion,Status,QueuedUtc,StartedUtc,CompletedUtc,FailedUtc,AttemptCount,Model,OpenAIResponseID,InputTokens,OutputTokens,CachedInputTokens,TotalTokens,DurationMs,ErrorMessage,ErrorDetail,ResultJson,IsCurrent,UpdatedUtc","SourceStoryIntelligenceRunID,StartedUtc,CompletedUtc,FailedUtc,Model,OpenAIResponseID,InputTokens,OutputTokens,CachedInputTokens,TotalTokens,DurationMs,ErrorMessage,ErrorDetail,ResultJson"), + ["WordCompanionSceneAssets"]=("WordCompanionSceneAssetID,SceneID,StoryAssetID,CreatedDate,UpdatedDate",""), + ["WordCompanionSceneLocations"]=("WordCompanionSceneLocationID,SceneID,LocationID,CreatedDate,UpdatedDate",""), + ["WritingPlans"]=("WritingPlanID,UserID,ProjectID,BookID,PlanName,GoalType,StartDate,DeadlineDate,AvailableDaysJson,SessionLengthMinutes,IncludeBlockedScenes,RebalanceMode,IsActive,CreatedDateUtc,ModifiedDateUtc","BookID"), + ["WritingScheduleItems"]=("WritingScheduleItemID,WritingPlanID,SceneID,ScheduledDate,TaskType,EstimatedMinutes,TargetWords,ScheduleStatus,CompletedDateUtc,Notes,CreatedDateUtc,ModifiedDateUtc","EstimatedMinutes,TargetWords,CompletedDateUtc,Notes"), + }; +} diff --git a/PlotLine/Services/ProjectBackupStoredFieldContract.cs b/PlotLine/Services/ProjectBackupStoredFieldContract.cs new file mode 100644 index 00000000..808d7210 --- /dev/null +++ b/PlotLine/Services/ProjectBackupStoredFieldContract.cs @@ -0,0 +1,69 @@ +using System.Reflection; +using System.Text.Json; +using System.Text.Json.Serialization; +using PlotLine.Models; + +namespace PlotLine.Services; + +internal static partial class ProjectBackupStoredFieldContract +{ + private sealed record Field(string Name,bool LegacyProjectAudit); + private static readonly JsonDocumentOptions ReadOptions=new(){AllowTrailingCommas=true,CommentHandling=JsonCommentHandling.Skip}; + private static readonly HashSet MixedReferenceCollections=new(StringComparer.OrdinalIgnoreCase) + {nameof(ProjectBackupData.AssetStates),nameof(ProjectBackupData.CharacterAttributeTypes),nameof(ProjectBackupData.SceneMetricTypes)}; + private static readonly HashSet LegacyProjectAudit=new(StringComparer.OrdinalIgnoreCase) + {nameof(Project.CreatedByUserID),nameof(Project.ModifiedByUserID),nameof(Project.CreatedDateUTC),nameof(Project.ModifiedDateUTC)}; + private static readonly Lazy> Required=new(Build); + private static IReadOnlyDictionary Build() + { + var result=new Dictionary(StringComparer.OrdinalIgnoreCase); + foreach(var contract in StoredColumns) + { + var type=contract.Key=="Project" ? typeof(Project) : typeof(ProjectBackupData).GetProperty(contract.Key)!.PropertyType.GetGenericArguments().Single(); + var nullable=contract.Value.Nullable.Split(',',StringSplitOptions.RemoveEmptyEntries).ToHashSet(StringComparer.OrdinalIgnoreCase); + var fields=new List(); + foreach(var column in contract.Value.Columns.Split(',')) + { + var member=type.GetProperty(column,BindingFlags.Instance|BindingFlags.Public|BindingFlags.IgnoreCase) + ?? throw new InvalidOperationException("Stored backup field has no model property: "+contract.Key+"."+column); + var ignore=member.GetCustomAttribute(); + if(ignore?.Condition==JsonIgnoreCondition.Always || ignore?.Condition==JsonIgnoreCondition.WhenWritingDefault + || ignore?.Condition==JsonIgnoreCondition.WhenWritingNull && nullable.Contains(column))continue; + fields.Add(new(member.GetCustomAttribute()?.Name ?? member.Name,contract.Key=="Project" && LegacyProjectAudit.Contains(column))); + } + result[contract.Key]=fields.ToArray(); + } + return result; + } + private static JsonElement Property(JsonElement root,string name) + { + var result=default(JsonElement); + if(root.ValueKind==JsonValueKind.Object) + foreach(var property in root.EnumerateObject())if(property.Name.Equals(name,StringComparison.OrdinalIgnoreCase))result=property.Value; + return result; + } + internal static IReadOnlyList Missing(string json,bool includeShared=false) + { + using var document=JsonDocument.Parse(json,ReadOptions); + var root=document.RootElement;var data=Property(root,"Data"); + var version=Property(root,"FormatVersion");var legacyAudit=version.ValueKind==JsonValueKind.String && version.GetString()=="1.2"; + var missing=new List(); + foreach(var contract in Required.Value) + { + var value=contract.Key=="Project" ? Property(root,"Project") : Property(data,contract.Key); + // Absent categories are handled using the complete safety snapshot; an explicit empty is valid. + if(contract.Key!="Project" && value.ValueKind!=JsonValueKind.Array)continue; + var rows=contract.Key=="Project" ? new[]{value} : value.EnumerateArray().ToArray(); + foreach(var row in rows) + { + if(row.ValueKind!=JsonValueKind.Object){missing.Add(contract.Key+" record");continue;} + // Explicitly global reference rows are retained in place, rather than restored from author JSON. + if(!includeShared && MixedReferenceCollections.Contains(contract.Key) && Property(row,"ProjectID").ValueKind==JsonValueKind.Null)continue; + var names=row.EnumerateObject().Select(property=>property.Name).ToHashSet(StringComparer.OrdinalIgnoreCase); + foreach(var field in contract.Value) + if((!field.LegacyProjectAudit || legacyAudit) && !names.Contains(field.Name))missing.Add(contract.Key+"."+field.Name); + } + } + return missing.Distinct(StringComparer.OrdinalIgnoreCase).ToArray(); + } +} diff --git a/PlotLine/Services/ProjectRestoreService.cs b/PlotLine/Services/ProjectRestoreService.cs index 8a057497..1815bfe4 100644 --- a/PlotLine/Services/ProjectRestoreService.cs +++ b/PlotLine/Services/ProjectRestoreService.cs @@ -46,7 +46,17 @@ public sealed class ProjectRestoreService( return Failure("Restore point JSON is invalid. No project data was changed."); } - var validationMessage = ProjectBackupCollectionPresence.ValidateRequiredShape(restorePoint.JsonData) ?? ValidateBackup(projectId, backup); + var validationMessage=ProjectBackupCollectionPresence.ValidateRequiredShape(restorePoint.JsonData); + if(validationMessage is null) + { + var missingFields=ProjectBackupStoredFieldContract.Missing(restorePoint.JsonData); + if(missingFields.Count>0) + { + logger.LogWarning("Restore point {RestorePointID} omits stored fields {Fields}; refusing inferred defaults.",projectRestorePointId,string.Join(", ",missingFields)); + validationMessage="This older restore point omits stored project fields. Restore was aborted rather than guessing their values. No project data was changed."; + } + } + validationMessage ??= ValidateBackup(projectId,backup); if (validationMessage is not null) { return Failure(validationMessage);