os-sdlc: RunNumber#initialize trips Sdlc/FormatValidationRaisingInInitialize #95
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
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
rule-proposal
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#95
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?
Report-only finding from the batch-3 lint validation scan (branch stepper/1-workspace, commit
e0f6139): the new cop Sdlc/FormatValidationRaisingInInitialize fires at plugins/os-sdlc/lib/os_sdlc/run_workspace.rb:130 — RunNumber#initialize validates @run_id.match?(RUN_ID) and raises inside the conditional branch. Per ticket #94's disclosed scoping, the guard-clause shape (return if valid, then unconditional raise) deliberately passes the rule; reshaping RunNumber#initialize that way clears the offense. Left unfixed during cop implementation (validation C is report-only). Provenance: mine-lints session 2026-07-22.plugins/os-sdlc/lib/os_sdlc/run_workspace.rb no longer exists (lib tree moved to Zeitwerk, os-sdlc.md 2026-08-02 row). rubocop --only Sdlc/Structural/FormatValidationRaisingInInitialize lib now reports 0 offenses repo-wide. Closing.