seam-designer asks who owns the data before preferring an existing seam #1313
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#1313
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
seam-designer rule 1 says "Prefer an existing responsibility owner before proposing a new object; select a new collaborator boundary only when the current change supplies evidence" (plugins/os-sdlc/agents/seam-designer.md:17). The agent never asks who should own the message. It only passes CREATES tokens through (seam-designer.md:36). The lens already has the rule the agent should apply: A12 "If no object owns it, make the concept own it" and A14 "write the card before the class" (plugins/os-sdlc/skills/lens-architecture/SKILL.md:103-123). The result is that every seam lands on an existing object and new objects appear only when the ticket author named them. Design record: docs/system-design-format/README.md section 4.
Reproduce
n/a: charter change.
Approach
Insert an owner step before the existing rule 1. For each message the ticket adds or changes: name the data it decides on; name the existing object that owns that data, with path:line; if no object owns it, emit a
CREATESitem with a five-line card per A14 (noun, knows, decides, does, guarantees) and place the seam on the new object. Reword rule 1 so "existing" is the result of the owner step, not a preference. Keep rules 2 and 3 unchanged. Add the gate that prevents over-building: a new object must own a secret that no existing object owns; the card's "decides" line is that secret. The gate is three questions, each answered in the CREATES item, and a new object is allowed only when all three have answers: (1) the secret, one sentence "it hides how X is decided"; (2) the existing object checked, with path:line, and why it does not own X; (3) one caller that would change if X changed. If any answer is missing, place the seam on the existing owner and name it. The card also carries anexemplar:line naming one existing file of the same kind, so the programmer learns the house shape of a new object from that one file and nothing else (programmer.md:38 stays unchanged).Required work:
owns the datainplugins/os-sdlc/agents/seam-designer.mdPrefer an existing responsibility owner before proposing a new objectinplugins/os-sdlc/agents/seam-designer.mdCREATESitem carries the A14 card lines — check: presentdecidesinplugins/os-sdlc/agents/seam-designer.mdone caller that would changeinplugins/os-sdlc/agents/seam-designer.mdexemplar:inplugins/os-sdlc/agents/seam-designer.mdOrchestrator work: run bin/refresh-plugins after the charter edit; run /os-adr:find on plugins/os-sdlc/agents before editing.
Rejected: a separate owner-designer agent — one more dispatch per ticket for a question seam-designer already has the evidence to answer.
Acceptance criteria
Owner sketch
Origin
VERDICT: CREATE
Amended 2026-10-25 per accepted prediction: the over-building gate is now three questions answered in the CREATES item (secret, existing object checked, one caller that would change), and the A14 card carries an exemplar: line so the programmer learns a new object's shape from one named file. programmer.md:38 unchanged.
Work started on branch ticket-1315 (shared worktree for #1313-#1316). Deviation: no implementation map accepts category/prose-artifact, so these charter edits are hand-finished per the implement skill's recovery path: one agent per file, gated by the ticket's Required-work checks, aidd-lint, the suites, and one design audit.
Resolution
Done: seam-designer runs an owner step before its selection policy: names the data each message decides on, the existing owner with path:line, else a CREATES item with the A14 card (knows, decides, does, guarantees) plus secret:, checked:, caller:, exemplar: lines. A new object is allowed only when all three gate answers are present; otherwise the seam lands on the existing owner. Rule 1 no longer prefers an existing owner. Frontmatter description updated. OWNER-GAP from change-auditor named as a trigger.
Evidence: main
59f6cdb0(commits4a804143,faa10b62). Required-work checks: present 'owns the data', 'decides', 'one caller that would change', 'exemplar:'; absent 'Prefer an existing responsibility owner before proposing a new object'. aidd-lint: no new finding. ruby plugins/os-sdlc/tests/all.rb: 2514 runs, 0 failures. One opus design audit over the four-commit range; its two defects and three risks fixed infaa10b62. bin/refresh-plugins ran via worktree finish. Deviation: hand-finished, no map accepts category/prose-artifact.Follow-ups: Dropped: a programmer.md line allowing the exemplar read; programmer.md:26 already lets it read files the brief names, and the accepted prediction keeps :38 unchanged. Dropped: test-writer mention of card lines; it reads the whole handoff. The reviewer wiring gap is captured against #1316.