Lens proposal: group the values set at open into one value for Implementation.open #905
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#905
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 #897 refactor changed
Implementation.opentoopen(work_order, position:, **columns). The factory no longer names the values set at open. A caller can passsession_id:,ticket:,map_name:,position:ortarget:incolumnsand silently override the value that the factory sets. The"{}"default forproject_confignow exists only in the DB schema.LENS line from the #897 run (dispatch 34, refactorer):
LENS: P1 broken at plugins/os-sdlc/lib/os_sdlc/command/implementation/open.rb:47 - BREAKS: correction 3 (map_digest into Implementation.open) is not applied, so Open writes the digest in a second UPDATE; JUSTIFIED: yes, a fifth keyword trips the parameter-list cop, and grouping the values frozen at open needs test call-site edits outside refactorer scope (principle 5); PROPOSAL: NONE, record it as a follow-up to group ticket_body, project_config and map_digest in one value passed to Implementation.open.Challenge verdict (opus, HEAD
e43b1864): heuristic holds. The second UPDATE is gone (open.rb:48). The cop reason is out of date, because**columnsavoids the cop. The open interface is the new reason for the same grouping.Observed
44 call sites exist. 6 pass more than
position:.Reproduce
n/a: design defect; no failing behavior.
Approach
Candidate: one value object for the values set at open (
ticket_body,project_config,map_digest), passed toImplementation.openas one keyword. Rejected: explicit keywords plus a# rubocop:disable(the cop is right that the list is long).Origin
/os-sdlc:implement 897, implementation 6, LENS line from dispatch 34; lens challenge afterimplementation_complete.Implementation.open← the refactorer used**columnsto avoid the parameter-list cop without test edits (d93e4600) ← refactorer scope forbids test call-site edits (DESIGN: refactorer agent principle 5).plugins/os-sdlc/lib/os_sdlc/model/implementation.rbVERDICT: CREATE — the #897 refactor left a real open interface on Implementation.open; the lens challenge upheld it; the implement skill requires a Lens proposal ticket for each JUSTIFIED: yes line.