Docs & rules

OlyForge3D/PrintFarmerGitHub

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

developmentdd20a17Last read Nov 19

Is this yours? Install to manage it

Once installed, Striff checks every pull request.

Rules summary
Documents
Rules
23
3
3
1
1
2
2
10
1
1
8
6
6
2
2
1
6
4
4
2
2
4
4
327 docs
OlyForge3D/PrintFarmerOpen repository

OlyForge3D/PrintFarmer — documented rules

23 of 23 rules, printed November 22, 2026.

The sentence in your docs
For the compact-card path specifically, trace the exact contract: useAutoDispatchStatus() reads the bulk /api/auto-print/status payload, and CompactPrinterCard mounts BedClearBanner when requiresBedClearConfirmation(status) is true.
CompactPrinterCard depends on BedClearBanner
Holds
Use existing Badge component from @/common/components/ui
Badge is in src/Web/ReactApp/src/common/components/ui
Holds
Use existing Alert component from @/common/components/ui
Alert is in src/Web/ReactApp/src/common/components/ui
Holds
Palette is global. GlobalCommandPaletteProvider is mounted in Layout.tsx, so Ctrl+K (or Cmd+K) works on every authenticated route, not just settings.
Layout depends on GlobalCommandPaletteProvider
Holdscommon features
Modals live in @/common/components/modals/Modal:
Modal is in src/Web/ReactApp/src/common/components/modals
Holds
Layer Controller, File src/slicer/Farm.Slicer.Module.Api/Controllers/Slicing/ProfilesController.cs, Key method/line GetMachineProfilesForModelIdAsync (~line 808)
ProfilesController has a GetMachineProfilesForModelIdAsync method
Holds
Layer Service, File src/slicer/Farm.Slicer.Module.Api/Services/ProfilesService.cs, Key method/line GetMachineProfilesForCatalogModelAsync (~line 1852)
ProfilesService has a GetMachineProfilesForCatalogModelAsync method
Holds
Layer Worker cache, File src/orcaslicer-worker/Services/ProfileCacheDb.cs, Key method/line GetMachineProfilesByPrinterModelAsync (~line 413)
ProfileCacheDb has a GetMachineProfilesByPrinterModelAsync method
Holds
Layer Worker profile loader, File src/orcaslicer-worker/Services/CachedOrcaProfilesService.cs, Key method/line EnsureInitializedAsync
CachedOrcaProfilesService has an EnsureInitializedAsync method
Holds
ProfileCacheDb.StoreMachineProfilesAsync() iterates each MachineProfileDto and inserts:
2 rules from this sentence
ProfileCacheDb depends on MachineProfileDto
Holdsorcaslicer-worker slicer
ProfileCacheDb has a StoreMachineProfilesAsync method
Holds
Condition Backend firmware refused (plugin throws PrinterBackendBusyException ), HTTP 409 Conflict, Source MapControlOutcome(BackendBusy) in PrintersController
PrintersController has a MapControlOutcome method
Holds
Key invariant: PrinterControlOutcome.BackendBusy maps to 409 Conflict (not 502).
PrinterControlOutcome has BackendBusy
Holds
Added useNfcPairingSession to Layout.tsx and rendered <NfcPairingModal session={...} /> globally.
2 rules from this sentence
Layout depends on NfcPairingModal
Holdscommon features
Layout depends on useNfcPairingSession
checks “Added useNfcPairingSession to Layout.tsx”
Holdscommon features
This follows the same pattern as auth modals (LoginModal, RegisterModal) already in Layout.
2 rules from this sentence
Layout depends on LoginModal
Holdscommon features
Layout depends on RegisterModal
Holdscommon features
Added SendToPrinterRequest interface (printerId, gcode)
SendToPrinterRequest has printerId
Holds
Added sendToPrinter() method for API integration
SliceJobService has a sendToPrinter method
Holds
Its Revision is a store-generated identity primary key, which is provider-safe and strictly monotonic across PostgreSQL (bigint identity), SQL Server (IDENTITY), and SQLite (AUTOINCREMENT).
LibrarySyncChange has Revision
Holds
ILibrarySyncJournal.Record(...) enlists a journal row into the same AppDbContext change tracker used by EfModelCollectionRepository.
EfModelCollectionRepository depends on AppDbContext
HoldsRepositories Data
LibrarySyncService (behind ILibrarySyncService) and LibrarySyncController expose the journal to desktop clients as a cursor-based pull and a batched, transactional apply. Both reuse the
LibrarySyncService implements ILibrarySyncService
Holds
If any operation conflicts, the unit of work is abandoned (no SaveChangesAsync), rolling the whole batch back, and the service throws SyncConflictException → HTTP 409 with a structured body of conflicts (each carrying the safe server version and the submitted version) plus the current serverRevision.
LibrarySyncService depends on SyncConflictException
HoldsServices Exceptions
23 rules from 9 docs

More open-source reports

Every report →

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