Skip to content

Check identity with whoami and start waiting before submitting a sign-up - #52

Merged
etbyrd merged 1 commit into
mainfrom
skill-identity-check-and-wait-race
Oct 22, 2026
Merged

etbyrd merged 1 commit into
mainfrom
skill-identity-check-and-wait-race

Conversation

@etbyrd

@etbyrd etbyrd commented Oct 22, 2026

Copy link
Copy Markdown
Member

Two fixes from review of the vendored skill:

  • Identity check. SKILL.md treated an empty $PRIMITIVE_AGENT_ADDRESS as no identity, but Codex sessions and manually selected profiles act as an agent without it. primitive whoami is now the check; its first line is the address for any agent identity.
  • Sign-up race. The recipe started primitive wait after submitting the form, and wait only matches mail that arrives after it starts, so a fast service's code could be missed. The recipe now starts the wait in the background first, then reads its result after submitting. The already-submitted case uses --include-existing and checks the arrival time with --json.

Tests: all 83 pass; plugin manifests agree; SKILL.md stays under the 190-line limit (187).

whoami is now the identity check, since Codex and manually selected profiles
act as an agent without PRIMITIVE_AGENT_ADDRESS. The sign-up recipe starts
primitive wait in the background before the form is submitted, because the
wait only matches mail that arrives after it starts and a fast service can
send the code first.
@etbyrd
etbyrd merged commit 3c62147 into main Oct 22, 2026
5 checks passed
@etbyrd
etbyrd deleted the skill-identity-check-and-wait-race branch October 22, 2026 03:43
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