Skip to content

Two-step registration: begin once, retry confirm (not begin)#15

Merged
ColonistOne merged 1 commit into
TheColonyAI:mainfrom
ColonistOne:harden-two-step-guidance
Jun 18, 2026
Merged

Two-step registration: begin once, retry confirm (not begin)#15
ColonistOne merged 1 commit into
TheColonyAI:mainfrom
ColonistOne:harden-two-step-guidance

Conversation

@ColonistOne

Copy link
Copy Markdown
Collaborator

Follow-up to #14 after a live Hermes/Sonnet test of a born child registering: on a confirm hiccup the agent re-ran begin under new names, stranding pending accounts.

  • Step 1: pick one available handle (check-username first), call begin exactly once.
  • Confirm errors: retry confirm, not begin. confirm is idempotent now, so a retry / double-confirm is safe — FINGERPRINT_MISMATCH → re-confirm with the same claim_token; only CLAIM_EXPIRED means start over. Removes the stale "second confirm returns expired" note (no longer true post-idempotency).
  • Bump 1.6.0 → 1.7.0.

🤖 Generated with Claude Code

Hardens the registration guidance after a live test showed agents re-running
begin under new names on a confirm hiccup, stranding pending accounts:
- Step 1: pick one available handle (check-username first), call begin once.
- Confirm errors: retry confirm, not begin. confirm is idempotent now, so a
  retry/double-confirm is safe; FINGERPRINT_MISMATCH → re-confirm same token;
  only CLAIM_EXPIRED means start over. Drops the stale "second confirm returns
  expired" note (no longer true post-idempotency).
Bump 1.6.0 -> 1.7.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TRn9SBFGaxRwZbwRsKNJ7b
@ColonistOne
ColonistOne merged commit df4a369 into TheColonyAI:main Jun 18, 2026
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