Skip to content

Business-folder skill: user-facing copy is never a private copy - #93

Draft
lucasrcezimbra wants to merge 1 commit into
seasonedcc:mainfrom
lucasrcezimbra:si/copy-never-forks
Draft

Business-folder skill: user-facing copy is never a private copy#93
lucasrcezimbra wants to merge 1 commit into
seasonedcc:mainfrom
lucasrcezimbra:si/copy-never-forks

Conversation

@lucasrcezimbra

Copy link
Copy Markdown

The lesson

The business-folder skill's shared-utility preference list says a small utility two files need should stay a private copy in each. Applied to a utility that carries user-facing copy, that rule tells a future agent to fork error messages — and two copies of the same owner-facing sentence drift apart the first time one is reworded, which is a product bug the gates cannot see.

The change

One paragraph under the preference list, mirroring the existing 'Option 3 is not available to Kysely query fragments' carve-out: option 2 is not available to user-facing copy — it lives once in the owning domain's .common.ts (already 'importable from anywhere' by the skill's own definition), and every consumer imports it.

Evidence

PR #90 gave messages_fetch the same Discord-link validation bookmarks_add performs. At two consumers, the skill as written prescribed a private copy in each domain file, which would have forked the three refusal sentences between two tools; the build diverged — messageLinkTarget and its copy moved to messages.common.ts, shared verbatim — and argued the divergence in that PR. This codifies the ruling so the next copy-bearing utility doesn't have to re-argue it.

Note: this contingently assumes #90's divergence is accepted — if you reject that shape there, reject this PR with it.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@lucasrcezimbra
lucasrcezimbra marked this pull request as draft August 18, 2026 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant