promote-lights
Reviewed
at commit 7d2cf02
Shows CI status lights above the prompt while a promote PR (base main) is open. One REST page per minute, PR-open only. Cancelled is not-pass.
0 upvotes
Log in to upvote or save- Made by
- OrchestKit
- Pinned commit
-
7d2cf026fa7b9a5e590d5e929ed2b2839a48e84f - What we checked
-
Shows a band above the prompt with the CI check status of an open promote PR (dev into main) or any PR you name with /lights watch. It runs read-only GitHub CLI commands once a minute with your own gh login while a PR is open. It reads no prompts or files and keeps only the latest lights state.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (registers the /lights and /promote-lights commands, rotates a per-process token, starts a background gh search for the promote PR without delaying the session), turn.complete (re-checks the tracked PR with gh pr view and stops if it closed or its head moved), ui.render for AbovePrompt (draws the band and always calls next so other bands survive) and command.run for lights and promote-lights (off, refresh, watch, or a PR target). Runtime calls: $.process.run with argv arrays only, never through a shell: gh pr list --base --head or --label, gh pr view -R, gh api repos/{owner}/{repo}/branches/{base}/protection, rules/branches/{base} and commits/{sha}/check-runs. All are read-only GET requests made by the user's installed gh CLI with the user's own GitHub authentication. Also $.session.repo, $.clock.every (60 s tick, cancelled when the PR is no longer open), $.store.get/set/delete (falls back to memory if the store is not writable), $.ui.status, $.ui.invalidate, $.ui.resolve and $.env.get for PROMOTE_HEAD, PROMOTE_BASE and PROMOTE_LIGHTS_WATCH. Watch targets are validated against a strict owner/repo#N pattern and the base branch is URL-encoded before it goes into an API path. It refuses to show green when no required checks are known. It does not read files, prompts or tool calls, makes no direct network calls, and sends no user content anywhere. The gh CLI itself and its credentials were not reviewed. npm dependencies: none (only dev dependencies for tests, not loaded). vitest.config.ts from the folder is test configuration and is not loaded by the plugin.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
- Hooked events
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/promote-lights/)