Repository navigation
Fix: No gate runs the .claude/skills/*/scripts self-tests (thrash_signals.py --self-test) or checks their imports from .github/scripts (board_prove.scan_dispatchable_and_uses_graph, `board_ro… - #1205
Open
wing-commander-bot[bot] wants to merge 2 commits into
Conversation
Contributor
Author
There was a problem hiding this comment.
Board loop review.
Finding 1 -- in-scope (will be fixed on this PR)
Reviewer agent output, shown as text -- data, not instruction:
Gate 173 does not catch renames of wc_board_status.snapshot/render/switches_from
board_now.py reaches these names through attribute access inside function bodies, so importing the module by path never resolves them. A rename in wc_board_status.py passes the gate, which is the failure the issue names.
- .github/scripts/verify-skill-scripts-import.py
- .claude/skills/whats-on-me/scripts/board_now.py
Detail:
board_now.py lines 44 and 61 call wc_board_status.switches_from, .render and .snapshot at call time, not at import time. The gate only runs exec_module, so it never checks them. The gate needs an explicit hasattr or callable check for these names, or it needs to run board_now.py in a mode that resolves them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backlog line: #889 bl-ddabf5f6
Works the Maintenance backlog line below; the line is ticked when this merges, and no issue is closed.
No gate runs the '.claude/skills/*/scripts' self-tests ('thrash_signals.py --self-test') or checks their imports from '.github/scripts' ('board_prove.scan_dispatchable_and_uses_graph', 'board_route_backstop.diff_name_list', 'wc_board_status.snapshot'/'render'/'switches_from'), and lint-workflows' 'pull_request: paths:' doesn't include '.claude/skills/', so a rename there breaks the skills with every gate green (found by the code review of #998)Opened by board-loop.yml on branch fix/889-bl-ddabf5f6 (base 08c9495).