twins: [carrier-portal] in a scene or --tools carrier-portal when creating a world. Inspect its pages and connection code:
Connect
Ancha sets the portal URL and fake sign-in credentials before it starts your agent.Playwright
Pages and forms
Paths below are relative toCARRIER_PORTAL_URL.
Forms submit
application/x-www-form-urlencoded. Authenticated forms include a hidden csrf value. Submit the page’s form to carry it with the request. Checked certificate boxes send on. A successful submission redirects to its request page. Validation errors redisplay the form with its values and an inline message.
Starter data
Inspect the starter records and the fields you can use in a scene:LM-10042), Harbor Foods (LM-10043) and Summit Freight (LM-20001), with claims, declarations, an endorsement, a binder and prior underwriting correspondence.
This scene seed gives Rachel Brooks access to Pike Street Dental’s policy:
seed field. Ancha generates a fake password for each user. Set users[].password to choose a specific fake sign-in value.
Checks
Check a mailing address submission, a declarations download and a message to the underwriter:count_gte defaults to 1.
Behavior
- Endorsement and certificate submissions receive an
LMR-reference and statusSubmitted - underwriter review. An endorsement updates the policy when an underwriter approves it. - Use
carrier-portal.approveandcarrier-portal.replyinworld_rules.actorsto schedule underwriting approval and replies on the scene clock. See World rules. - Loss runs are
Readyimmediately when the policy’sloss_runs_delay_msis zero. A positive value schedules readiness on the scene clock; the request staysPendinguntil then. Ready requests show claims and totals on the request page and in a downloadable PDF. - VINs use the 17-character North American check-digit rule. A certificate waiver requires a policy form with
waiver: true. carrier.session_timeout_minutessets the idle session timeout on the scene clock. After it expires, the next authenticated page returns to sign-in.