Lens proposal: P5 errors.rb holds every gem error (decision-model #3) #1303

Open
opened 2026-10-23 23:03:40 +00:00 by jared · 0 comments
Owner

LENS line

LENS: P5 broken at lib/decision/model/errors.rb:10 - BREAKS: AdapterLoadError shares a file with other errors; JUSTIFIED: yes, ticket item 2 (P-14) mandates errors.rb and every gem error lives there; PROPOSAL: NONE.

Challenge verdict

Code defect found. errors.rb defines about 20 constants and passes Zeitwerk only through an ignore plus manual load (lib/decision/model.rb:13-15). P-14 (docs/design/decisions-register.md:45) is a project choice, not a world fact (checklist Q1). The defect predates #3; fixing it needs a new P-14 ruling.


Discoverer: /home/jared/dev/ruby-gems/decision-model, session b6d48eed-a394-4b5d-ac38-c8bee60b0902, 2026-10-23. LENS line from an os-sdlc run, challenged against the code.

## LENS line LENS: P5 broken at lib/decision/model/errors.rb:10 - BREAKS: AdapterLoadError shares a file with other errors; JUSTIFIED: yes, ticket item 2 (P-14) mandates errors.rb and every gem error lives there; PROPOSAL: NONE. ## Challenge verdict Code defect found. errors.rb defines about 20 constants and passes Zeitwerk only through an ignore plus manual load (lib/decision/model.rb:13-15). P-14 (docs/design/decisions-register.md:45) is a project choice, not a world fact (checklist Q1). The defect predates #3; fixing it needs a new P-14 ruling. -------- **Discoverer:** /home/jared/dev/ruby-gems/decision-model, session b6d48eed-a394-4b5d-ac38-c8bee60b0902, 2026-10-23. LENS line from an os-sdlc run, challenged against the code.
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#1303
No description provided.