se-dev-plugin-review
Space Engineers Plugin Review
One supported hub PR URL is the complete input. Do not ask the user for the target repository or commit range; derive them from the changed registry manifest with the supplied script.
The preparation and posting scripts require Python 3.11+, Git, and authenticated GitHub CLI (gh). If any is unavailable, report that concrete setup blocker instead of reconstructing review metadata by inference.
Example:
Use se-dev-plugin-review on https://github.com/StarCpt/PluginHub/pull/123
Route by hub
StarCpt/PluginHuborCometWorks/magnetar-hub: read PluginHub and MagnetarHub flow, then runscripts/prepare_plugin_review.py <PR-URL>.CometWorks/quasar-hub: read QuasarHub flow, then runscripts/prepare_quasar_review.py <PR-URL>.- Reject lookalike or unsupported repositories.
Both scripts save exact hub metadata, base/head manifests, resolved source SHAs, a pinned source checkout, and either a direct version diff or full-tree inventory under ~/.se-dev/reviews/ by default. Treat review.json as authoritative routing data; do not infer or rewrite its repository, review type, or SHA range.
This routing is a hard gate. new_registration (including a changed target repository) requires an audit of every tracked path at the pinned source SHA and must not use a diff. Only version_bump, as derived from the hub PR's base/head manifests, may use the programmatic direct-commit diff. Stop on a mismatched source.audit_scope instead of narrowing or inventing review scope.