os-sdlc: lint gate runs rubocop repo-wide, fails every ticket on pre-existing offenses #386

Closed
opened 2026-08-14 20:31:36 +00:00 by jared · 1 comment
Owner

Found during #354 (ADR-0116). The lint stage gate lints the whole repo (3,286 pre-existing offenses across 516 files, incl. a Lint/Syntax error in an unrelated component), so every ticket's lint gate fails regardless of its own diff and must be skipped as noise, eroding the gate's signal. Scope the lint gate to the ticket's changed files or the target's lint_paths.

Found during #354 (ADR-0116). The lint stage gate lints the whole repo (3,286 pre-existing offenses across 516 files, incl. a Lint/Syntax error in an unrelated component), so every ticket's lint gate fails regardless of its own diff and must be skipped as noise, eroding the gate's signal. Scope the lint gate to the ticket's changed files or the target's lint_paths.
Author
Owner

Resolution

Done: Obsolete on arrival: #362 (fa0985f) already replaced the repo-wide rubocop lint gate with the scoped 'os-sdlc lint {{ticket_id}}' gate (target code_path + tests + lint_paths via LintWorklistTarget) before this issue was filed

Evidence: plugins/os-sdlc/maps/default.yaml lint row gate is 'os-sdlc lint {{ticket_id}}' on main; #354's run hit the old gate only because its worktree branched pre-#362

Follow-ups: none

## Resolution **Done:** Obsolete on arrival: #362 (fa0985f) already replaced the repo-wide rubocop lint gate with the scoped 'os-sdlc lint {{ticket_id}}' gate (target code_path + tests + lint_paths via LintWorklistTarget) before this issue was filed **Evidence:** plugins/os-sdlc/maps/default.yaml lint row gate is 'os-sdlc lint {{ticket_id}}' on main; #354's run hit the old gate only because its worktree branched pre-#362 **Follow-ups:** none
jared closed this issue 2026-08-14 20:38:41 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#386
No description provided.