Skip to content

plugins: add a service-manual numbering for real-time outputs - #654

Merged
freezy merged 1 commit into
masterfrom
feat/realtime-service-manual-numbering
Nov 30, 2026
Merged

freezy merged 1 commit into
masterfrom
feat/realtime-service-manual-numbering

Conversation

@freezy

@freezy freezy commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Adds RealtimeOutputNumbering.ServiceManual ("service-manual") next to PinMame.

Gamelogic engines other than PinMAME that number their elements the way the machine's service manual does (drivers by driver number, switches by switch number, lamps and GI from one light table, mechs by motor number) can now publish their real-time outputs under their own numbering. They no longer have to claim PinMAME's, whose GI ranges, cabinet switch numbers and mech speed values they don't share. Consumers that don't know a numbering already refuse to bind, so nothing changes for them.

The DOF plugin will accept the new numbering in a separate PR.

Summary by CodeRabbit

  • New Features
    • Added support for identifying real-time outputs using service-manual numbering.
  • Documentation
    • Clarified the numbering conventions for solenoids, switches, lamps, GI strings, and mechanisms.

Controllers that number their elements the way the machine's service
manual does (drivers, switches, the light table and motors) can now
publish their real-time outputs under their own numbering instead of
claiming PinMAME's, whose GI ranges, cabinet switch numbers and mech
speed values they don't share.
@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Service-manual output numbering

Layer / File(s) Summary
Public numbering identifier
VisualPinball.Plugins/Resources/ResourceContracts.cs
RealtimeOutputNumbering adds the ServiceManual constant with the value "service-manual" and documents its numbering conventions.

Possibly related PRs

Change: Feature

Merge Risk: Minimal · up to 787de

This adds a new numbering identifier and its documentation to the real-time output contract. Existing consumers that do not recognize it keep their current behavior. No merge-blocking risk remains.

Security architecture risk: Minimal · up to 787de

The new identifier lets producers describe service-manual numbering without calling it PinMAME numbering. This PR does not change which outputs are published, which consumers bind, or what those consumers can do.

Security review details

Security Blast Radius

  • observed — The new public member is a constant, not a callable entrypoint. The PR does not modify resource binding, event delivery, or any consumer that acts on output values.

Trust Boundaries and Controls

  • observed — The existing interface tells consumers not to bind to an unrecognized numbering scheme. That is a documented compatibility rule, not an authorization check enforced by the new constant.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 86d5f9cf-da81-40f3-ac10-66dd57d4ef24
Commits

Reviewing files that changed from the base of the PR and between ca5aa12 and 787defd.

Files selected for processing: 1

  • VisualPinball.Plugins/Resources/ResourceContracts.cs

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@greptile-apps

greptile-apps Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · This PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge.

Summary

Adds RealtimeOutputNumbering.ServiceManual with the value "service-manual".

  • Real-time outputs can use a separate service-manual numbering label.

DOF support is explicitly deferred by freezy to a separate PR.

Reviews (1) · Last reviewed commit: "plugins: add a service-manual numbering ..." · Reviewed by Greptile

@freezy
freezy merged commit d7cf7fe into master Nov 30, 2026
22 checks passed
@freezy
freezy deleted the feat/realtime-service-manual-numbering branch November 30, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant