Sdlc/Structural/PrimitiveObsessedIvar cop crashes on map/node.rb #448
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#448
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Running rubocop over plugins/os-sdlc/lib/os_sdlc/runner/map/node.rb emits internal cop-crash warnings ("An error occurred while Sdlc/Structural/PrimitiveObsessedIvar cop was inspecting...") rather than a clean pass or a real offense. The crash predates and is independent of #439's work.
What to do
Reproduce with
rubocop -dfrom plugins/os-sdlc, find the cop bug in lib/os_sdlc/cops/primitive_obsessed_ivar.rb, fix it, and add a regression test under tests/cops/.Resolution
Done: Crash claim not reproducible against current code; closing as resolved by other means
Evidence: code-probe agent a9d3ffe6708e27c2f (claude-sonnet-5): ran rubocop against node.rb alone, against lib/os_sdlc/runner/ (42 files), and against all of lib/ (160 files) with rubocop 1.89.0 -- no crash, no cop-internal warning in any run. node.rb and primitive_obsessed_ivar.rb unchanged since before the ticket was filed. A regression test for this cop already exists at tests/cops/primitive_obsessed_ivar_test.rb.
Follow-ups: none