{# The onboarding chat surface: every state — gate, choice, interview, review. Pushed verbatim by the SSE stream into #onboarding-surface, so it carries no sse-connect attributes (the wrapper owns the connection). #} {# The transcript: the conversation log. Choice answers carry kind="choice" — they render as the clicked button / filled widget, not as a chat bubble — while typed messages and agent turns always show. #} {% macro transcript(state) %}
The agent read these from your resume. Open one to change or clear it — what you pick or type always wins.
No browser window opened? Open {{ url }} — this page updates when you're done.
{% endif %} {% endmacro %} {# The start-choice cards: sign-in wait, claude start, provider fallback, or the agent-account prompt. Shared by the no-state gate surface and the intake screen (which keeps them below the resume upload as the skip path), so the backend choice logic lives in exactly one place. #} {% macro start_choices(ready, login_url, login_started) %} {% set card_link = none if login_started else login_url %} Opening the interview — with a resume saved, the agent reads it first; this can take a moment. {% if login_started and ready.claude and ready.claude.state == "signed_out" %}Waiting for you to finish the Claude sign-in… This page updates automatically once you're signed in.
{{ signin_link(login_url) }}The interview runs on your signed-in Claude account — no API key needed.
Claude Code isn't signed in yet, but a provider is configured on the Settings page. Signing in gives the no-API-key experience; the provider works right now.
Claude Code is installed but not signed in. Click Sign in — a browser window will open for the normal Claude sign-in, and this page picks it up automatically.
{{ signin_link(card_link) }}{{ error }}
{% endif %} {% if login_error %}{{ login_error }}
{% endif %}Upload or paste your resume first — the interview reads it and asks only what it can't already see. Work-authorization questions are always asked directly, never inferred from a document.
{% if state.messages %}✓ {{ state.messages[-1].content }}
{% endif %}In a hurry? Skip the resume — starting without one just means answering every question yourself, one at a time.
{{ state.answers | length }} answered — skipping is fine, review lists anything empty.
{% if remaining_gaps | length > 1 %} {# The open agenda, in the review surface's chip pattern: what's still ahead, with this question marked. #}{{ question_hint }}
{% endif %} {% if question.choices %}Change anything below, then confirm. Empty fields stay empty — nothing is filled in for you.
{% set needs = review_fields | selectattr("needs_answer") | list %} {% if needs %}Your profile and search setup are saved. From here the jobs board is the front page; run discovery whenever you like.
Discovery runs in the background — progress streams on the Runs page, and results land on the jobs board.