This is a public, read-only report. Striff reads this repository's docs, turns each sentence that makes a claim about the code into a rule, and checks the rule against the code on the default branch. How this works
Tell in the diff A new private bool Validate / private List<...> Build decision method in a .xaml.cs , with no test, Catalog entry P-1, Compare against DictionaryEntryBuilder.Build ( src/Scribe.Core/Settings/DictionaryEntryBuilder.cs:32 ), and its siblings SnippetBuilder , ProfileBuilder , DictionaryImportMerger , DictionaryLibraryOverlapAnalyzer , QuickDictionaryAdd
DictionaryEntryBuilder has a Build method
Holds
Tell in the diff A new Regex or string.Replace in Scribe.App operating on transcript text, Catalog entry P-2, Compare against TextPostProcessor.ApplyRule ( src/Scribe.Core/PostProcessing/TextPostProcessor.cs:278 ), which exists precisely so a caller does not keep a private copy of the matcher
TextPostProcessor has an ApplyRule method
Holds
Tell in the diff A new multicast public event Action<T> raised with Handler?.Invoke(x), Catalog entry P-3, Compare against ResilientEvent.InvokeAll ( src/Scribe.Core/Infrastructure/ResilientEvent.cs:18 ), used by DictationController.Raise ( src/Scribe.App/Dictation/DictationController.cs:1153 )
3 rules from this sentence
DictationController depends on ResilientEvent
HoldsScribe.App → Scribe.Core
ResilientEvent has an InvokeAll method
checks “ResilientEvent.InvokeAll”
Holds
DictationController has a Raise method
checks “DictationController.Raise”
Holds
Tell in the diff Clipboard or injection work off an STA thread a new Win32Clipboard call or OpenClipboard P/Invoke outside a RunOnStaThread body, or a Thread.Start() with no Join(), Catalog entry P-5, Compare against TextInjector.RunOnStaThread ( src/Scribe.Core/TextInjection/TextInjector.cs:578 ), Win32Clipboard ( src/Scribe.Core/TextInjection/Win32Clipboard.cs )
TextInjector has a RunOnStaThread method
Holds
Tell in the diff A new outbound path in src/Scribe.Core/Cleanup/** that skips the fail-closed wrapper, or an edit that relaxes a fail-closed branch, Catalog entry P-8, Compare against TextCleanupService.WithStoredOutputDisabled ( src/Scribe.Core/Cleanup/TextCleanupService.cs:2489 ), whose comment at :2542 states the rule outright the per-surface choice is pinned by CleanupStoredOutputWireTests
TextCleanupService has a WithStoredOutputDisabled method
Holds
*"SettingsWindow already does this through a Core builder (P-1, DictionaryEntryBuilder.Build).
SettingsWindow depends on DictionaryEntryBuilder
HoldsScribe.App → Scribe.Core
Scribe.App owns the pixels and the wiring. It references Scribe.Core and consumes its public surface.
something in src/Scribe.App depends on something in src/Scribe.Core
HoldsScribe.App → Scribe.Core
Settings-page validation/build logic > belongs in Scribe.Core/Settings/ (pure, tested);
SettingsPage is in Scribe.Core.Settings
Holds
The shells stay adapters across partial files.SettingsWindow is split across SettingsWindow*.cs partials (SettingsWindow.WordPacks.cs, SettingsWindow.YourWords.cs, SettingsWindow.Formatting.cs, etc.), App.xaml.cs wires startup/teardown, and DictationController.cs is a thin shell over DictationLifecycle in Scribe.Core/Lifecycle/.
DictationController depends on DictationLifecycle
HoldsScribe.App → Scribe.Core
The window's adapter is DictionaryRow (src/Scribe.App/Settings/SettingsWindow.xaml.cs:5519), an INotifyPropertyChanged class holding editable text, and the callsite at src/Scribe.App/Settings/SettingsWindow.xaml.cs:4280 is a Select projecting rows into DictionaryEntryBuilder.Row plus one call to Build.
SettingsWindow depends on DictionaryRow
Holds
Core decider DictionaryEntryBuilder.Build, Callsite SettingsWindow.xaml.cs:4280, Test DictionaryEntryBuilderTests.cs
SettingsWindow depends on DictionaryEntryBuilder
HoldsScribe.App → Scribe.Core
Core decider SnippetBuilder.Build, Callsite SettingsWindow.xaml.cs:4380, Test SnippetBuilderTests.cs
SettingsWindow depends on SnippetBuilder
HoldsScribe.App → Scribe.Core
Core decider ProfileBuilder.Build, Callsite SettingsWindow.xaml.cs:4558, Test ProfileBuilderTests.cs
TextPostProcessor.ApplyRule exists precisely so a second surface never re-rolls the matcher, and its doc comment records why.
TextPostProcessor has ApplyRule
Holds
src/Scribe.Core/DependencyInjection/CoreServiceCollectionExtensions.cs is the single registration point for Core services. AddScribeCore registers AppPaths, ModelLocator, ITranscriptionModelInstaller, ITranscriptionService, IAudioCaptureService, IHotkeyService, ITextInjector, IVadService, ScribeDatabase, the four repositories (ISettingsRepository, IDictionaryRepository, ISnippetRepository, IHistoryRepository), ICleanupFailureLog, LastTranscriptStore, ITextPostProcessor,
16 rules from this sentence
CoreServiceCollectionExtensions depends on AppPaths
HoldsDependencyInjection → Infrastructure
CoreServiceCollectionExtensions depends on ModelLocator
HoldsDependencyInjection → Infrastructure
CoreServiceCollectionExtensions depends on ITranscriptionModelInstaller
HoldsDependencyInjection → Transcription
CoreServiceCollectionExtensions depends on ITranscriptionService
HoldsDependencyInjection → Transcription
CoreServiceCollectionExtensions depends on IAudioCaptureService
HoldsDependencyInjection → Audio
CoreServiceCollectionExtensions depends on IHotkeyService
HoldsDependencyInjection → Hotkeys
CoreServiceCollectionExtensions depends on ITextInjector
HoldsDependencyInjection → TextInjection
CoreServiceCollectionExtensions depends on IVadService
HoldsDependencyInjection → Vad
CoreServiceCollectionExtensions depends on ScribeDatabase, ISettingsRepository, IDictionaryRepository and 3 more
Holdsall 6DependencyInjection → Persistence
CoreServiceCollectionExtensions depends on LastTranscriptStore
HoldsDependencyInjection → PostProcessing
CoreServiceCollectionExtensions depends on ITextPostProcessor
HoldsDependencyInjection → PostProcessing
src/Scribe.Core/DependencyInjection/CoreServiceCollectionExtensions.cs is the single registration point for Core services. AddScribeCore registers AppPaths, ModelLocator, ITranscriptionModelInstaller, ITranscriptionService, IAudioCaptureService, IHotkeyService, ITextInjector, IVadService, ScribeDatabase, the four repositories (ISettingsRepository, IDictionaryRepository, ISnippetRepository, IHistoryRepository), ICleanupFailureLog, LastTranscriptStore, ITextPostProcessor, IDictionaryLibraryService, ITextCleanupService, and IAzureFoundryDiscovery, all as singletons.
3 rules from this sentence
CoreServiceCollectionExtensions depends on IDictionaryLibraryService
HoldsDependencyInjection → PostProcessing
CoreServiceCollectionExtensions depends on ITextCleanupService
HoldsDependencyInjection → Cleanup
CoreServiceCollectionExtensions depends on IAzureFoundryDiscovery
HoldsDependencyInjection → Cleanup
Not a finding: App-owned types built or registered in App.AzureCliInstaller and SessionDiagnostics live in src/Scribe.App/Infrastructure/ and are registered at App.xaml.cs:103 and :104.
4 rules from this sentence
AzureCliInstaller is in Scribe.App.Infrastructure
Holds
SessionDiagnostics is in Scribe.App.Infrastructure
Holds
App depends on AzureCliInstaller
HoldsApp.Formatting.cs → Infrastructure
App depends on SessionDiagnostics
HoldsApp.Formatting.cs → Infrastructure
UpdateService, also in src/Scribe.App/Infrastructure/, is constructed with new at App.xaml.cs:418.
2 rules from this sentence
UpdateService is in Scribe.App.Infrastructure
Holds
App depends on UpdateService
HoldsApp.Formatting.cs → Infrastructure
Scribe.Core has no UI and must not gain one.Scribe.Core.csproj sets no UseWPF and no UseWindowsForms, and references no WPF or WinUI package;
5 rules from this sentence
nothing in src/Scribe.Core may import System.Windows
Holds
nothing in src/Scribe.Core may import System.Windows.Forms
Holds
nothing in src/Scribe.Core may use System.Windows.Threading.Dispatcher
Holds
nothing in src/Scribe.Core may use System.Windows.MessageBox
Holds
nothing in src/Scribe.Core may use System.Windows.Application
Holds
App types at App's composition root.AzureCliInstaller, SessionDiagnostics, and UpdateService are App's own. Constructing or registering them in App.xaml.cs is correct.
3 rules from this sentence
AzureCliInstaller is in src/Scribe.App
Holds
SessionDiagnostics is in src/Scribe.App
Holds
UpdateService is in src/Scribe.App
Holds
No DefaultAzureCredential in src/**: shipped an IMDS desktop hang; AzureCredentialFactory is the single owner (CachingCliTokenCredential + AzureCliProcessCoordinator for CLI).
AzureCredentialFactory depends on CachingCliTokenCredential
Holds
Each hook installation owns its own HotkeyEngine and HotkeyReconcileSignal;
2 rules from this sentence
HookInstallation depends on HotkeyEngine
Holds
HookInstallation depends on HotkeyReconcileSignal
Holds
only DictationFormatPlan.KeepsWholeClipboard snapshots whole clipboards up to MaxKeptBytes (128 MB) after a 250 ms WM_NULL owner check.
DictationFormatPlan has KeepsWholeClipboard
Holds
VocabularyPublisher never caches rules, glossaries, or agents by library generation number (republications happen at the same generation), and every outbound request passes through ILibraryVocabularySource.TryHandOff.
VocabularyPublisher depends on ILibraryVocabularySource
HoldsVocabulary → Libraries
Which writer. App side is FileLoggerProvider.Append (src/Scribe.App/Infrastructure/FileLoggerProvider.cs:86). Overlay side is OverlayLog.Write (src/Scribe.Overlay/Logging/OverlayLog.cs:53). A third writer appearing in a diff is itself the finding, see §1.
OverlayLog has Write
Holds
App side:FileLoggerProvider formats each entry on the caller's thread and hands it to BackgroundLogWriter (src/Scribe.Core/Diagnostics/BackgroundLogWriter.cs, bounded at 8,192 entries or 2M chars; Debug/Information never wait for disk; Warning+ and session bookends wait boundedly; overflow drops newest and records one gap warning; host disposal drains up to 2 s),
FileLoggerProvider depends on BackgroundLogWriter
HoldsScribe.App → Scribe.Core
Breaking the session bookends.SessionBanner.StartMarker (src/Scribe.Core/Diagnostics/SessionBanner.cs:62) opens the story and OnExit writes the matching ===== Scribe session end ===== line (src/Scribe.App/App.xaml.cs:1234).
SessionBanner has StartMarker
Holds
Dropping the one-line-per-entry banner shape.SessionDiagnostics.WriteBanner (src/Scribe.App/Infrastructure/SessionDiagnostics.cs:36-52) logs each line separately with the comment that the log is read with grep as often as with an editor. A change to one multi-line message breaks every line-oriented tool. 🟡.
SessionDiagnostics has WriteBanner
Holds
LogTraceProcessor, TraceLogBridge, and TraceTagScrubProcessor (in front of any OTLP exporter) all enforce TraceTagPolicy: only ScribeTelemetry tag constants with the expected value shape (number, boolean, ASCII code up to 48 chars, or app name) render;
2 rules from this sentence
TraceTagScrubProcessor depends on TraceTagPolicy
checks “TraceTagScrubProcessor”
HoldsScribe.App → Scribe.Core
TraceLogBridge depends on TraceTagPolicy
checks “TraceLogBridge”
Holds
Scribe.Core.Models.OverlayPosition and Scribe.Overlay.OverlayAnchor share nine value names: TopLeft, TopCenter, TopRight, MiddleLeft, Center, MiddleRight, BottomLeft, BottomCenter, BottomRight.
18 rules from this sentence
OverlayPosition and OverlayAnchor have TopLeft, TopCenter, TopRight and 6 more
Holdsall 18
Snapshot readers (AppSettings.Clone):DictationCaptureSettingsResolver and DictationController.
2 rules from this sentence
DictationCaptureSettingsResolver depends on AppSettings
HoldsHotkeys → Models
DictationController depends on AppSettings
HoldsScribe.App → Scribe.Core
Preview memoization (LibraryComposition.Preview) caches in a ConditionalWeakTable keyed on immutable catalog/draft instances and exposes only SharedReadOnlyCollection<T> / ReadOnlySet<T>.
LibraryComposition has Preview
Holds
inside LibrarySwitchOffCopy, a pack goes off only when none of its rows overlaps or meets remaining rules under SpokenFormFold (runtime regex equivalence + OrdinalIgnoreCase + invariant case + dotted/dotless i).
LibrarySwitchOffCopy depends on SpokenFormFold
HoldsSettings → PostProcessing
Exemplars:DictionaryEntryBuilder.Build (src/Scribe.Core/Settings/DictionaryEntryBuilder.cs), with its readonly record struct Row and Result carrying DuplicateIndex, called from the SettingsWindow partial classes (src/Scribe.App/Settings/SettingsWindow*.cs).
DictionaryEntryBuilder is in Scribe.Core.Settings, and SettingsWindow depends on DictionaryEntryBuilder
CleanupPrompt.IsVocabularyReplacement and CleanupPrompt.ComposeVocabulary (shared across dictation cleanup, GlossaryHint, and UsageAnalyzer.TermUsage.Shareable), and CleanupDisclosure (bound directly in XAML via {x:Static cleanup:CleanupDisclosure.*}).
Exemplar:DictationController.Raise (src/Scribe.App/Dictation/DictationController.cs) for StateChanged, paired with PresentationRelay and UiThreadDispatch (src/Scribe.Core/Lifecycle/) so dictation never blocks on Dispatcher.Invoke and stale revisions never overwrite newer states.
DictationController has Raise
Holds
Exemplars:OverlayPipeProtocol (src/Scribe.Core/Overlay/OverlayPipeProtocol.cs) defines all twelve pipe verbs (WARMUP, RECORDING, WARNING, PROCESSING, TYPED, TYPEDWITHOUTCLEANUP, NOTHINGTYPED, PARTLYTYPED, HIDE, METER, POSITION, EXIT); OverlayProcessClient builds every line through OverlayPipeProtocol;
OverlayProcessClient depends on OverlayPipeProtocol
HoldsScribe.App → Scribe.Core
Use: add it to ScribeDatabase.EnsureAdditiveSchema.
ScribeDatabase has EnsureAdditiveSchema
Holds
The lazy repository probe (HistoryRepository.EnsureColumn) stays as the fallback for a table that comes back without the column, and a new column is read only after probing for it.
HistoryRepository has EnsureColumn
Holds
From 0.4.3 a build that meets a newer schema throws NewerDatabaseSchemaException, which App.OnStartup catches around its explicit ScribeDatabase.Initialize() to tell the user to install the latest version and exit cleanly, but the older builds are still in the field.
2 rules from this sentence
App depends on NewerDatabaseSchemaException
checks “throws NewerDatabaseSchemaException, which App.OnStartup catches”
HoldsScribe.App → Scribe.Core
App depends on ScribeDatabase
checks “which App.OnStartup catches around its explicit ScribeDatabase.Initialize() to tell the user to install the latest version and exit cleanly,”
HoldsScribe.App → Scribe.Core
Exemplar:ScribeDatabase.EnsureAdditiveSchema (src/Scribe.Core/Persistence/ScribeDatabase.cs, around line 928), called after Migrate (around line 525) and before salvage (around line 717), with SchemaVersion (around line 30) still 7.
2 rules from this sentence
ScribeDatabase has Migrate
Holds
ScribeDatabase has SchemaVersion
Holds
Also part of this shape: where a lost column would make data misread, the data describes itself: PCM16 blobs open with AudioBlobCodec.Pcm16Magic, so an older build's repair that drops encoding cannot turn them into float32 noise.
AudioBlobCodec has Pcm16Magic
Holds
Scribe.App owns the pixels and the wiring. It references Scribe.Core and consumes its public surface.
something in Scribe.App depends on something in Scribe.Core
HoldsApp → Core
Composition is not a shortcut.App.OnStartup builds a host and calls builder.Services.AddScribeCore() (src/Scribe.App/App.xaml.cs:101-102), then resolves concrete services and hands them to DictationController and OverlayProcessClient.
2 rules from this sentence
App depends on DictationController
HoldsApp.Formatting.cs → Dictation
App depends on OverlayProcessClient
HoldsApp.Formatting.cs → Overlay
The shells stay adapters across partial files.SettingsWindow is split across SettingsWindow*.cs partials (SettingsWindow.WordPacks.cs, SettingsWindow.YourWords.cs, SettingsWindow.Formatting.cs, etc.), App.xaml.cs wires startup/teardown, and DictationController.cs is a thin shell over DictationLifecycle in Scribe.Core/Lifecycle/.
DictationController depends on DictationLifecycle
HoldsScribe.App → Scribe.Core
The window's adapter is DictionaryRow (src/Scribe.App/Settings/SettingsWindow.xaml.cs:5519), an INotifyPropertyChanged class holding editable text, and the callsite at src/Scribe.App/Settings/SettingsWindow.xaml.cs:4280 is a Select projecting rows into DictionaryEntryBuilder.Row plus one call to Build.
src/Scribe.Core/DependencyInjection/CoreServiceCollectionExtensions.cs is the single registration point for Core services. AddScribeCore registers AppPaths, ModelLocator, ITranscriptionModelInstaller, ITranscriptionService, IAudioCaptureService, IHotkeyService, ITextInjector, IVadService, ScribeDatabase, the four repositories (ISettingsRepository, IDictionaryRepository, ISnippetRepository, IHistoryRepository), ICleanupFailureLog, LastTranscriptStore, ITextPostProcessor,
16 rules from this sentence
CoreServiceCollectionExtensions depends on AppPaths
HoldsDependencyInjection → Infrastructure
CoreServiceCollectionExtensions depends on ModelLocator
HoldsDependencyInjection → Infrastructure
CoreServiceCollectionExtensions depends on ITranscriptionModelInstaller
HoldsDependencyInjection → Transcription
CoreServiceCollectionExtensions depends on ITranscriptionService
HoldsDependencyInjection → Transcription
CoreServiceCollectionExtensions depends on IAudioCaptureService
HoldsDependencyInjection → Audio
CoreServiceCollectionExtensions depends on IHotkeyService
HoldsDependencyInjection → Hotkeys
CoreServiceCollectionExtensions depends on ITextInjector
HoldsDependencyInjection → TextInjection
CoreServiceCollectionExtensions depends on IVadService
HoldsDependencyInjection → Vad
CoreServiceCollectionExtensions depends on ScribeDatabase, ISettingsRepository, IDictionaryRepository and 3 more
Holdsall 6DependencyInjection → Persistence
CoreServiceCollectionExtensions depends on LastTranscriptStore
HoldsDependencyInjection → PostProcessing
CoreServiceCollectionExtensions depends on ITextPostProcessor
HoldsDependencyInjection → PostProcessing
src/Scribe.Core/DependencyInjection/CoreServiceCollectionExtensions.cs is the single registration point for Core services. AddScribeCore registers AppPaths, ModelLocator, ITranscriptionModelInstaller, ITranscriptionService, IAudioCaptureService, IHotkeyService, ITextInjector, IVadService, ScribeDatabase, the four repositories (ISettingsRepository, IDictionaryRepository, ISnippetRepository, IHistoryRepository), ICleanupFailureLog, LastTranscriptStore, ITextPostProcessor, IDictionaryLibraryService, ITextCleanupService, and IAzureFoundryDiscovery, all as singletons.
3 rules from this sentence
CoreServiceCollectionExtensions depends on IDictionaryLibraryService
checks “src/Scribe.Core/DependencyInjection/CoreServiceCollectionExtensions.cs is the single registration point for Core services. AddScribeCore registers AppPaths, ModelLocator, ITranscriptionModelInstaller, ITranscriptionService, IAudioCaptureService, IHotkeyService, ITextInjector, IVadService, ScribeDatabase, the four repositories (ISettingsRepository, IDictionaryRepository, ISnippetRepository, IHistoryRepository), ICleanupFailureLog, LastTranscriptStore, ITextPostProcessor, IDictionaryLibraryService, ITextCleanupService”
HoldsDependencyInjection → PostProcessing
CoreServiceCollectionExtensions depends on ITextCleanupService
checks “src/Scribe.Core/DependencyInjection/CoreServiceCollectionExtensions.cs is the single registration point for Core services. AddScribeCore registers AppPaths, ModelLocator, ITranscriptionModelInstaller, ITranscriptionService, IAudioCaptureService, IHotkeyService, ITextInjector, IVadService, ScribeDatabase, the four repositories (ISettingsRepository, IDictionaryRepository, ISnippetRepository, IHistoryRepository), ICleanupFailureLog, LastTranscriptStore, ITextPostProcessor, IDictionaryLibraryService, ITextCleanupService”
HoldsDependencyInjection → Cleanup
CoreServiceCollectionExtensions depends on IAzureFoundryDiscovery
HoldsDependencyInjection → Cleanup
App types at App's composition root.AzureCliInstaller, SessionDiagnostics, and UpdateService are App's own. Constructing or registering them in App.xaml.cs is correct.
3 rules from this sentence
AzureCliInstaller is in src/Scribe.App
checks “App types at App's composition root. AzureCliInstaller, SessionDiagnostics”
Holds
SessionDiagnostics is in src/Scribe.App
checks “App types at App's composition root. AzureCliInstaller, SessionDiagnostics”
Holds
UpdateService is in src/Scribe.App
checks “and UpdateService are App's own.”
Holds
No DefaultAzureCredential in src/**: shipped an IMDS desktop hang; AzureCredentialFactory is the single owner (CachingCliTokenCredential + AzureCliProcessCoordinator for CLI).
2 rules from this sentence
nothing in src/Scribe.Core may use DefaultAzureCredential
Holds
nothing in src/Scribe.Overlay may use DefaultAzureCredential
Holds
KeyboardHookPrecedence moves ahead of RDP/VM hooks while keeping RetiredHookRegistrations (2 s grace), KeyEventPassOn, and PassesWholeKeystroke.
KeyboardHookPrecedence depends on RetiredHookRegistrations
Holds
Each hook installation owns its own HotkeyEngine and HotkeyReconcileSignal;
2 rules from this sentence
HookInstallation depends on HotkeyEngine
checks “Each hook installation owns its own HotkeyEngine”
Holds
HookInstallation depends on HotkeyReconcileSignal
checks “Each hook installation owns its own”
Holds
Every synthetic event carries SyntheticInputMarker.Value, liveness stays a monotonic counter disarmed on non-interactive desktops, and _repairGate + KeyViewEpoch guard every repaired key-up.
SyntheticInputMarker has Value
Holds
Snapshot readers (AppSettings.Clone):DictationCaptureSettingsResolver and DictationController.
2 rules from this sentence
DictationCaptureSettingsResolver depends on AppSettings
HoldsHotkeys → Models
DictationController depends on AppSettings
HoldsScribe.App → Scribe.Core
Formatting/appearance enums (DictationTextFormat, AccentSource) use property-specific tolerant JSON converters so unknown future tokens fall back safely;
2 rules from this sentence
DictationTextFormat is an enumeration
Holds
AccentSource is an enumeration
Holds
All writes (Save, SaveBundle, Update with ExternalIntents, CommitLibraryState) run under SettingsRepository's in-process lock with BEGIN IMMEDIATE and call StorageMaintenance.RequestYield rather than taking ScribeDatabase._writeGate.
SettingsRepository depends on ExternalIntents
Holds
External/user-facing surfaces (About page text boxes, Copy buttons, OpenFolder, SessionBanner) must use EffectiveRootDir, EffectiveLogsDir, EffectiveDatabasePath resolved by the marker-write probe in ResolveEffectiveRoot (🔴 if built on plain RootDir or replaced by OS/package inference).
SessionBanner depends on AppPaths
HoldsDiagnostics → Infrastructure
Sharing mutable key state across hook reinstalls (each installation owns its own HotkeyEngine and HotkeyReconcileSignal, fed via HotkeyCommandRouter and LockFreeInbox).