Skip to content

Record region and JWT in Android Step 0 scope screens - #38

Merged
franco-zalamena-iterable merged 1 commit into
mainfrom
fix/android-scope-region-jwt
Oct 25, 2026
Merged

franco-zalamena-iterable merged 1 commit into
mainfrom
fix/android-scope-region-jwt

Conversation

@franco-zalamena-iterable

Copy link
Copy Markdown
Contributor

Summary

  • Problem: After Ask and record Step 0 before Android provisioning or code #35/Ask the scope before provisioning when an agent enters there #37, agent preflight → question scope recorded features, identity, and existing-push only. Region and JWT stayed in buried skill prose, so cost-optimized agents treated Step 0 as done and skipped US/EU and JWT.
  • Fix: Add Region and JWT screens (and JWT check) to the Android scope flow, aligned with native iOS. Record SCOPE_REGION and SCOPE_JWT in resolved.env; EU also sets ITBL_BASE in .iterable/.env. import-from-android carries the recorded JWT policy into iOS setup.
  • Docs: Step 0 in iterable-android / iterable-react-native and W1 in INTENDED-FLOW.md.

Version 26.10.10-beta.

Test plan

  • bash tests/agent-scope.sh
  • bash tests/agent-preflight.sh
  • bash tests/agent-questions.sh
  • Cursor trial: cheap model on a bare RN app — confirm Region and JWT screens appear after identity, before provisioning/code

Made with Cursor

PR #35 gated features and identity in bin/agent scope but left region and JWT
in skill prose only, so cost-optimized agents skipped them after preflight.
Add the same Region and JWT screens native iOS uses, persist SCOPE_REGION and
SCOPE_JWT, set ITBL_BASE for EU, and carry JWT through import-from-android.

Plugin 26.10.10-beta.

Co-authored-by: Cursor <cursoragent@cursor.com>
@franco-zalamena-iterable
franco-zalamena-iterable merged commit 8ea884b into main Oct 25, 2026
2 checks passed
@franco-zalamena-iterable
franco-zalamena-iterable deleted the fix/android-scope-region-jwt branch October 25, 2026 19:26
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