seam-designer must verify the named seam is public before emitting SEAM/TEST lines #596
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#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
Problem
Implementation 20 on ticket #594 ended
bound_exhausted:test-reviewer/failafter three test-writer rounds. Seam-designer dispatch 257 named a private method (ProjectConfigCommand#test_command_clean_exit?) as the seam, violating its own rule at plugins/os-sdlc/agents/seam-designer.md:26 to "name the selected public boundary." test-reviewer cannot read files, so it could reject but not correct the seam; three rounds were spent moving the test to the real public entry point and adding fixture preconditions before the dispatch bound exhausted.Cases
private/protected, not aprivate_class_method).Project.loadorProject.upsert, when seam-designer emits the handoff, then it names the fixture preconditions (a VCS-backed directory and the target shape).Approach
Add an explicit step to plugins/os-sdlc/agents/seam-designer.md, before emitting SEAM/TEST lines, to check with ast-grep or grep that the named method is not private/protected in its class; if it is, walk to the nearest public caller and name that instead.
Required work:
grep -rln "seam-designer" plugins/os-sdlc/tests/eval* 2>/dev/nullAcceptance criteria
Project.loadorProject.upsert, when seam-designer emits the handoff, then it states the fixture preconditions.Origin
Resolution
Done: seam-designer charter step 5 checks the named method is public with Grep or ast-grep before emitting SEAM/TEST lines; read-only structure queries are now explicitly allowed
Evidence: commit
a39fea80amended as3b68709c; seam_designer_agent_test 8 runs 0 failuresFollow-ups: none