Skip to content

fix: registration must state the account code back to the customer#36

Merged
Lelevinson merged 1 commit into
mainfrom
fix/registration-surfaces-code
Jun 11, 2026
Merged

fix: registration must state the account code back to the customer#36
Lelevinson merged 1 commit into
mainfrom
fix/registration-surfaces-code

Conversation

@Lelevinson

Copy link
Copy Markdown
Owner

Problem

A chat-registered customer needs their accountCode to set up a web login (the cross-channel bridge from #35). The account-registration skill suggested reading it back, but the model skipped it roughly half the time — leaving the customer with no way to get the code (they can't reach /account without first logging in). That's a broken customer workflow, not just flakiness.

Fix

Make stating the code a hard requirement in the skill: the success reply MUST include the code verbatim, with a concrete example format, and must never finish registration without it.

Verification

Live, via the real agent through the gateway: 4/4 completed registrations now state the code in the confirmation (1 single-turn + 3 two-turn confirm flows). Data plumbing was already correct (the register tool returns the code); this closes the model-behavior gap.

🤖 Generated with Claude Code

The account-registration skill listed reading back the accountCode as a
soft step, and the model skipped it ~half the time — leaving a
chat-registered customer with no way to learn the code they need to set
up web login. Make it a hard requirement: the confirmation reply MUST
state the code verbatim, with an example, and never finish registration
without it. Verified live 4/4 registrations now state the code.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Lelevinson Lelevinson merged commit 312a4b9 into main Jun 11, 2026
2 checks passed
@Lelevinson Lelevinson deleted the fix/registration-surfaces-code branch June 11, 2026 12:34
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