Docs & rules

davidortinau/SentenceStudioGitHub

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

mainf0b3715Last read Nov 19

Is this yours? Install to manage it

Once installed, Striff checks every pull request.

Rules summary
Documents
Rules
14
4
4
3
3
3
1
1
1
9
9
1
361 docs
davidortinau/SentenceStudioOpen repository

davidortinau/SentenceStudio — documented rules

14 of 14 rules, printed November 22, 2026.

The sentence in your docs
VocabularyQuizPreferences.DisplayDirection — "TargetToNative" | "NativeToTarget" | "Mixed" (src/SentenceStudio.AppLib/Services/VocabularyQuizPreferences.cs:47-54, 209-216)
VocabularyQuizPreferences has DisplayDirection
Holds
VocabularyQuizPreferences.UsePhotoPrompt — bool (default false) — same file, KEY_USE_PHOTO_PROMPT.
VocabularyQuizPreferences has UsePhotoPrompt
Holds
UserProfile.VocabQuizShowTextWithPhoto — bool (per-user, persisted) — src/SentenceStudio.Shared/Migrations/20260714173027_AddVocabQuizShowTextWithPhoto.cs.
UserProfile has VocabQuizShowTextWithPhoto
Holds
Use MacOSBlazorWebView instead of the standard BlazorWebView:
nothing in src/SentenceStudio.MacOS may use BlazorWebView
Holds
StartValidatedSessionAsync takes a CancellationToken and re-checks ct.IsCancellationRequested after every awaited point (releasing the lease via CancelIfOwned and discarding any already-persisted ad-hoc row).
ActivityTimerService has StartValidatedSessionAsync
Holds
What was fixed: ActivityTimerService now IDisposable with _disposed guards on all mutation paths + idempotent Dispose() under _gate;
3 rules from this sentence
ActivityTimerService uses IDisposable
checks “ActivityTimerService now IDisposable”
Holds
ActivityTimerService has a Dispose method
Holds
ActivityTimerService has _disposed
Holds
Introduced IYouTubeImportService interface (testable seam) with 4 methods: GetVideoMetadataAsync, GetAvailableTranscriptsAsync, DownloadTranscriptTextAsync, ExtractAudioClipAsync.
4 rules from this sentence
IYouTubeImportService has a GetVideoMetadataAsync method
checks “GetVideoMetadataAsync”
Holds
IYouTubeImportService has a GetAvailableTranscriptsAsync method
checks “GetAvailableTranscriptsAsync”
Holds
IYouTubeImportService has a DownloadTranscriptTextAsync method
checks “DownloadTranscriptTextAsync”
Holds
IYouTubeImportService has an ExtractAudioClipAsync method
checks “ExtractAudioClipAsync”
Holds
Uses IYouTubeImportService instead of concrete type.
VideoImportPipelineService depends on IYouTubeImportService
Holds
No MAUI UI stack in native code (Microsoft.Maui.Controls*, XAML, Shell, handlers, MauiReactor, MAUI Community Toolkit UI, BlazorWebView, Comet). Non-UI Microsoft.Maui.* packages such as Essentials are allowed after checking their dependency closure. Native code lives under src/SentenceStudio.Native/. Shared native projects hold state, workflows, navigation destinations, validation, text keys and service interfaces, with no platform UI types. Reuse the existing domain, sync, grading, progress, localization and AI logic; never copy business rules per platform.
nothing in src/SentenceStudio.Native may import Microsoft.Maui.Controls
Holds
14 rules from 4 docs

More open-source reports

Every report →

Other public repositories whose docs Striff read and checked against their code.