the exit-status-zero rule gets one owner #1218
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#1218
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?
Problem
The rule "exit status 0 means pass" has six owners in os-sdlc:
Gate::CommandResult#success?, two sites inOsSdlc::StepOutcome,OsSdlc::StepResult,Lint::Result#pass?, andLint::ExitClassification. Structure ruling S1 cut the Lint-to-Gate cycle by movingExitClassificationto Lint; that removed 71 cycle edges but left the rule with six homes, five of them unnamed. A change to the rule (for example, exit 1 with a green report counts as pass) needs six edits and no test fails when one is missed.Observed
Reproduce
n/a: design ticket; sites listed above.
Approach
Give the rule one owner. The ticket first named
Gate::CommandResult#success?as the candidate owner. That owner would bring back the Lint-to-Gate edge that S1 (#1165) cut, becauseLint::ExitClassificationandLint::Resultwould then call into Gate. The owner isLint::ExitClassification.pass?. Gate already references Lint, so no new cycle appears.Owner predicted 2026-10-21 by /os-me:predict; open for Jared's review.
Required work:
Lint::ExitClassification.pass?is the one definition of the exit rule — check: presentdef self.pass?inplugins/os-sdlc/lib/os_sdlc/lint/exit_classification.rbStepOutcomeasks the owner — check: absentexit_status.zero?inplugins/os-sdlc/lib/os_sdlc/step_outcome.rbStepResultasks the owner — check: absentexit_status.zero?inplugins/os-sdlc/lib/os_sdlc/step_result.rbGate::CommandResultasks the owner — check: absentexit_status.zero?inplugins/os-sdlc/lib/os_sdlc/gate/command_result.rbLint::Resultasks the owner — check: absentexit_status.zero?inplugins/os-sdlc/lib/os_sdlc/lint.rbAcceptance criteria
Owner sketch
Origin
VERDICT: CREATE
Body corrected to main: 6 sites, OsSdlc:: names, owner predicted Lint::ExitClassification.pass?; routed to /os-sdlc:fast-batch (fast-batch-5).
Resolution
Done: Lint::ExitClassification.pass?(exit_status) owns the exit-0 pass rule; all six exit_status.zero? sites call it (fast-batch-6). Owner predicted by /os-me:predict while Jared was away; recorded in collaborator-rulings.tsv.
Evidence: main
8899b2e0(commits2da31db8,3c0a3ab5); memo docs/crc/os-sdlc/fast-batch-6/finding-a-exit-status-owner.md; suite 2347 runs 0 failures; stranger reviews standards+spec found no missing or wrong item for finding A.Follow-ups: none: the SQL form in StepResult.failing and the neutral ExitStatus owner alternative are recorded in the session handoff for Jared's review of the predicted owner.