Skip to content

Guide Python Hosted first run through verified Portal - #276

Merged
saurabhjain1592 merged 5 commits into
mainfrom
codex/4487-hosted-first-run
Nov 3, 2026
Merged

saurabhjain1592 merged 5 commits into
mainfrom
codex/4487-hosted-first-run

Conversation

@saurabhjain1592

@saurabhjain1592 saurabhjain1592 commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Scope

  • Direct axonflow.community.register_try() callers at the canonical Hosted production and staging origins to verified Portal signup before an HTTP request. The guard uses HTTPX's own host normalization, including trailing DNS dots and IDNA dot equivalents.
  • Preserve custom self-hosted Community registration. Update the README, sandbox guidance, and changelog for verified account and plan setup with linked API credentials.
  • Add unit coverage and a guarded real-staging Portal and Agent proof.

Exact-head local evidence

Head: 1d5a5799e53bf53f4fb93c214256305d8e0b099e, rebased on SDK main 3d7b656eb19902ee01271ef8bb4f12e10c19a892 (contains #271 and #272).

  • Python 3.11 full suite: 1,645 passed, 30 skipped, 86.17% coverage.
  • Ruff check and format, mypy, falsey-clobber baseline, AuthZEN generated types, version alignment, no-mocks runtime E2E lint, and git diff --check passed. Wire-shape marker run: 12 passed, 8 designed skips without external OpenAPI specs.
  • Built a wheel from this head and installed it in a fresh external venv. Consumer smoke passed eight Hosted hostname guard variants without HTTP, custom Community registration, and linked Hosted client construction.
  • Independent code review found and verified a fix for the HTTPX IDNA hostname bypass; final review has no remaining actionable findings. Final-head Codex Security diff scan 770acc08-8527-43ad-93b8-a94ff7042b82 reviewed all changed files and found no reportable issues.
  • The guarded runtime-e2e/hosted_first_run/test.py requires exact staging origins and a linked staging client. Its live Portal and Agent path was not rerun after the earlier synthetic credential was revoked. An earlier merged-main installed-wheel proof exercised the linked staging Agent; this PR changes the registration guard and guidance, not the Agent call path.

Remote Actions fail before job steps because the GitHub account is locked for billing. DCO passes. The local exact-head results above are the CI-down gate. No PyPI publication or deployment is part of this PR.

Signed-off-by: Saurabh Jain <saurabh.jain@getaxonflow.com>
Signed-off-by: Saurabh Jain <saurabh.jain@getaxonflow.com>
Signed-off-by: Saurabh Jain <saurabh.jain@getaxonflow.com>
Preserve SDK local sandbox guidance without shifting line-based lint baselines.

Signed-off-by: Saurabh Jain <saurabh.jain@getaxonflow.com>
Reject IDNA dot-equivalent spellings before any anonymous registration request.

Signed-off-by: Saurabh Jain <saurabh.jain@getaxonflow.com>
@saurabhjain1592
saurabhjain1592 force-pushed the codex/4487-hosted-first-run branch from d664a52 to 1d5a579 Compare November 2, 2026 23:59
@saurabhjain1592
saurabhjain1592 marked this pull request as ready for review November 3, 2026 00:00
@saurabhjain1592
saurabhjain1592 merged commit 7018d75 into main Nov 3, 2026
4 of 15 checks passed
@saurabhjain1592
saurabhjain1592 deleted the codex/4487-hosted-first-run branch November 3, 2026 00:01
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