seam-designer must verify the named seam is public before emitting SEAM/TEST lines #596
Labels
No labels
P0
P1
P2
P3
bug
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
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#596
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?
seam-designer must verify the named seam is public before emitting SEAM/TEST lines [capture]
Context
Implementation 20 on ticket #594 (poodr-ticket-implementation map, target os-sdlc) ended
bound_exhausted:test-reviewer/failafter three test-writer rounds. A handoff audit found the cause in the seam-designer output, not in the reviewer feedback or the test-writer.Observed
Seam-designer dispatch 257 emitted SEAM and TEST lines naming a private method. That method is
ProjectConfigCommand#test_command_clean_exit?, located underprivateinplugins/os-sdlc/lib/os_sdlc/project_config_command.rb. Its only caller isverified_test_command_optionsin the same class. The public entry point is#call.plugins/os-sdlc/agents/test-reviewer.mdline 16 says "Reject private-method tests, implementation coupling, broad examples, and irrelevant failures." Round 1 (reviewer dispatch 259) rejected the private-method test. Rounds 2 and 3 moved the test to#calland then added two setup preconditions one at a time: the tmpdir needs a git repository, and a single-target project requirestarget: nil. The bound exhausted at round 3.plugins/os-sdlc/agents/seam-designer.mdline 26 already requires the handoff to "name the selected public boundary"; the agent violated its own rule.Reproduce
Run
/os-sdlc:implementon a ticket whose Cases name a behavior implemented by a private helper method (for example #594 case 3 before the fix); inspect the seam-designer handoff for a private method in the SEAM line.Expected
Before emitting SEAM/TEST lines, seam-designer checks that each named method is not below a
privateorprotectedkeyword in its class (ast-grep or a grep of the file). If it is, seam-designer walks to the nearest public caller and names that as the seam. When a seam touchesProject.loadorProject.upsert, the handoff names the fixture preconditions: a VCS-backed directory and the target shape (target: nilfor a single-target project).Origin
plugins/os-sdlc/agents/seam-designer.mdplugins/os-sdlc/agents/seam-designer.md