Preserve whole object: Implementation for implementation+project #1200
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#1200
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
implementation+project (data_clump, score 20) spans 5 classes in concepts Brief, Dispatch, Gate, Implementation.
OsSdlc::Brief::Facts(/home/jared/dev/cc-os/.claude/worktrees/crc-os-sdlc-run-3/plugins/os-sdlc/lib/os_sdlc/brief/facts.rb:22)OsSdlc::Dispatch::ComposedBrief(/home/jared/dev/cc-os/.claude/worktrees/crc-os-sdlc-run-3/plugins/os-sdlc/lib/os_sdlc/dispatch/composed_brief.rb:6)OsSdlc::Gate::Commands(/home/jared/dev/cc-os/.claude/worktrees/crc-os-sdlc-run-3/plugins/os-sdlc/lib/os_sdlc/gate/commands.rb:6)OsSdlc::Implementation::MutationCheck(/home/jared/dev/cc-os/.claude/worktrees/crc-os-sdlc-run-3/plugins/os-sdlc/lib/os_sdlc/implementation/mutation_check.rb:10)OsSdlc::Implementation::StateDump(/home/jared/dev/cc-os/.claude/worktrees/crc-os-sdlc-run-3/plugins/os-sdlc/lib/os_sdlc/implementation/state_dump.rb:8)support 5; maximal
Approach
The clump's names are members of one object that already exists or is built upstream; pass the object. Object:
OsSdlc::Implementation(built at plugins/os-sdlc/lib/os_sdlc/implementation/acceptance.rb:21). Implementation already derives the project through project(root), so every site can take the implementation and the root and ask it for the project. Gate::Commands belongs too, because both production callers (Gate::Run and MutationCheck) pass a non-nil implementation and bind it as implementation.project(root).bound_to(implementation.target); only tests use the nil default, so Commands can own that binding and the finding drops to zero in one ticket.Required work:
OsSdlc::Brief::Factstakesimplementation, tracker, root— check: absentproject:inplugins/os-sdlc/lib/os_sdlc/brief/facts.rbOsSdlc::Dispatch::ComposedBrieftakesimplementation, tracker, root— check: absentproject:inplugins/os-sdlc/lib/os_sdlc/dispatch/composed_brief.rbOsSdlc::Gate::Commandstakesimplementation, root, dispatch_id— check: absentproject:inplugins/os-sdlc/lib/os_sdlc/gate/commands.rbOsSdlc::Implementation::MutationChecktakesimplementation, root— check: absentproject:inplugins/os-sdlc/lib/os_sdlc/implementation/mutation_check.rbOsSdlc::Implementation::StateDumptakesimplementation, root— check: absentproject:inplugins/os-sdlc/lib/os_sdlc/implementation/state_dump.rbOrchestrator work: re-measure with bin/collaborator-pass measure --runs docs/crc/os-sdlc/collaborator-runs, then stop-check.
Rejected: build_once_at_entry — Implementation already derives the project through project(root), so every site can take the implementation and the root and ask it for the project. Gate::Commands belongs too, because both production callers (Gate::Run and MutationCheck) pass a non-nil implementation and bind it as implementation.project(root).bound_to(implementation.target); only tests use the nil default, so Commands can own that binding and the finding drops to zero in one ticket.
Acceptance criteria
Owner sketch
Origin
plugins/os-sdlc/lib/os_sdlc/brief/facts.rb)VERDICT: CREATE
Work started on branch crc-os-sdlc-run-3 (os-sdlc CRC run 3 collaborator round).
Delta-check failed. The recipe (preserve_whole_object) cleared implementation+project (score 20 -> 0), but implementation+root rose 6 -> 44 and root+tracker rose 12 -> 24. The data_clump total rose 266 -> 276 against baseline 20261020T020325Z. Commit
87dff86fis reverted inc060c7e9and is not merged. Implementation 106 is abandoned. Ruling row: data_clump implementation+project reject by unattended. The opus alternative recipe was build_once_at_entry; a new ruling row needs Jared. The ticket stays open for that ruling.Follow-up dropped (skeptic, run 3 close-out): "Facts test helper". The 2026-10-16 fixture-standard ticket already covers it.