# Pencil acceptance

The first-release journey must durably support native operator sign-in, editing and branching, isolated preview, immutable publication, validated direct and embedded responses, quarantine review, factual reports, invitations/reminders, privacy erasure and portable data recovery. An offered, implemented feature whose optional adapter is absent names its unavailable state and enabling variables; required configuration still fails startup under WS-003. A new response sends one email to each operator who asked for it, and the sender being unusable never stops collection. Operators turn results into owned actions with frozen evidence counts, record measurements and set the verdict themselves; an external task leaves only after its exact JSON is confirmed, through the webhook adapter when `TASK_PROVIDER`, `TASK_WEBHOOK_URL` and `TASK_API_KEY` are set, and with its delivery state, every attempt and one idempotency key per action recorded. Recommendations come from operators (ACT-008) or from a validated analysis run (ANLY-006): an operator requests analysis of a revision's completed responses, every displayed count is recomputed and every quote verified against the stored answer before the run completes, themes below the disclosure threshold are withheld, and an operator turns the one recommendation into an action they own. Analysis is off until a provider is configured; nothing is sent until then.

`contract-profile.json` has no deferred clauses. ANLY-009, NOTIFY-001 and NOTIFY-003 are exercised by the feedback Worker cases, with privacy, erasure and archive assertions extended in existing flows. The tagged product and baseline checks remain in the release wall; RESP-016 retains exclusions under RSLT-013 and offers explicit default-off inclusion in filtered CSV/JSON response exports; the target clauses listed under Target acceptance are not yet part of the release wall. Targeted proof is not a claim that the full release wall, hosted provider, or real inbox journey has run. HOME-001 defaults optional static credit off; operators can enable it explicitly.

Run the complete `pnpm verify` gate with its original assertions, workload and thresholds. Local synthetic mail verifies protocol and application behavior. A hosted probe ran on 13 October 2026 against `cb5847d` plus a local-only `deploy.json` mail-provider change. It passed deployment and health, owner sign-in and setup, a six-row Typeform import with repeat and undo, a 5,000-row import on its second try, and export/restore; teardown returned the account resources to their original state. That probe was not the exact current head and sent only the sign-in link, not a new-response notification. The exact-head thirteen-stage proof remains incomplete; live new-response delivery and full hosted capacity remain unproven. The 5,000-row import ran close to the Worker CPU limit. A real account export and hidden-field behavior also remain unverified; the sign-in link is the only live mail result claimed.

Hosted upgrade acceptance from released 0.2.0 is also blocked: rer 0.2.1 refuses the rewritten 0019 migration hash before 0034 and makes zero upgrade writes. Name-based Workers D1 upgrade tests do not qualify that hash-ledger path. This requires a maintained Base transition contract, preserving the refusal until supported; fresh deployment and preserved mail-provider configuration do not close this gap. See docs/FIRST-RELEASE.md.

## Target acceptance

CONTRACT.md now describes the complete form and survey product Pencil is building towards, so a buyer of Typeform, SurveyMonkey, Jotform or Google Forms could switch. Its 120 release-wall clauses have 120 done, 0 partial and 0 missing Status rows: `pnpm verify:contract` requires every one of them to have a passing tagged test. Its 118 target and push-further clauses (7 done, 41 partial, 70 missing) are not yet part of that wall. Across all 238 clauses, 127 are done, 41 partial and 70 missing. A build round takes a target clause, makes its acceptance evidence below pass through the named public door, tags those tests with `contract('ID', …)`, declares the clause in a `seed.json` capability, rewrites it in the active form in CONTRACT.md and moves it to done here. Receiver fixtures stand in for paid or network providers (Stripe, Twilio, Google, Microsoft, HubSpot, Salesforce, Slack, Mailchimp and the AI provider) exactly as the existing task and AI receivers do; live-provider receipts remain separate evidence.

Each entry gives the clause, its status, and the evidence that proves it: for published done clauses the tagged test files that `rer verify` runs, and for target clauses the journey or test that proves or will prove it, with current evidence and remaining obligations. Done targets retain their target grouping until activated in the release wall.

### Landing

- HOME-001 — Public landing — done. Tagged tests: `tests/e2e/accessibility-foundation.spec.ts`, `tests/e2e/business-brand.spec.ts`, `tests/e2e/installed-home.spec.ts`, `tests/e2e/rendering-migration.spec.ts`, `tests/e2e/review-corrections.spec.ts`, `tests/runtime/brand.worker.test.ts`.

### Product site

- SITE-001 — Product page — done. Tagged tests: `tests/e2e/site-page.spec.ts`.
- SITE-002 — Live answer path — done. Tagged tests: `tests/e2e/site-hero.spec.ts`.
- DOCS-001 — Documentation — done. Tagged tests: `tests/e2e/docs-site.spec.ts`.

### Application shell

- SHELL-001 — Operator shell — done. Tagged tests: `tests/e2e/accessibility-foundation.spec.ts`, `tests/e2e/rendering-migration.spec.ts`, `tests/runtime/private-auth-freshness.worker.test.ts`.

### Operators

- OPER-001 — Equal operators — done. Tagged tests: `tests/runtime/access-foundation.worker.test.ts`.
- OPER-002 — Management — done. Tagged tests: `tests/runtime/auth.worker.test.ts`, `tests/runtime/first-owner.worker.test.ts`.
- OPER-003 — Sign-in depends on mail — done. Tagged tests: `tests/managed-mail.test.ts`, `tests/runtime/base-auth.worker.test.ts`, `tests/runtime/optional-configuration.worker.test.ts`.

### Roles, sharing and sign-in (target)

- ROLE-001 — Workspace roles — missing. Acceptance: a Worker suite signs in as each role and calls every operator route family (flows, publish, audience, responses, export, analysis, actions, settings, connections), asserting allowed and refused outcomes from one role matrix; a browser journey shows an Analyst the results but no Publish control.
- ROLE-002 — Per-form access and folders — missing. Acceptance: a Worker test restricts a form to one Editor and proves a second Editor gets 404 from its page, results, export and API, and an operator without the identity grant receives masked values in the ledger and CSV.
- ROLE-003 — Single sign-on and provisioning — missing. Acceptance: a Worker test signs in through a test OIDC provider and a signed SAML assertion, maps a group to Analyst, then a SCIM `active:false` PATCH revokes the session and the next request is refused.
- ROLE-004 — Builder collaboration — missing. Acceptance: a browser journey has two operators comment and resolve on one step; a stale save by the second is refused with the latest version shown.

### Workspace

- WS-001 — Workspace time zone — done. Tagged tests: `tests/e2e/publication-zone.spec.ts`, `tests/runtime/access-foundation.worker.test.ts`, `tests/runtime/analysis-safety.worker.test.ts`, `tests/runtime/feedback-digest.worker.test.ts`, `tests/runtime/foundation.worker.test.ts`.
- WS-002 — Sending hours — done. Tagged tests: `tests/runtime/access-foundation.worker.test.ts`, `tests/runtime/distribution.worker.test.ts`, `tests/runtime/feedback-digest.worker.test.ts`.
- WS-003 — Optional externals are configuration, not degradation — done. Tagged tests: `tests/e2e/review-corrections.spec.ts`, `tests/runtime/optional-configuration.worker.test.ts`.

### Business branding

- BRAND-001 — Saved business identity — done. Tagged tests: `tests/e2e/business-brand.spec.ts`, `tests/runtime/brand.worker.test.ts`.

### Form design themes (target)

- BRAND-002 — Form design themes — partial. Acceptance: a browser journey publishes two forms on two themes and asserts, at phone and desktop widths, that each renders its own computed font families, question, answer, button and background colors, background image and brightness, and screen layout, and that every request the respondent page makes is to the installation origin; a Worker test refuses publish of a theme whose button text is 2:1 against the button and names that pair; editing a theme leaves a published form's revision unchanged until it is republished. Today: One workspace accent and logo with enforced button-text contrast ship, and fonts are already self-hosted (`src/core/features/brand/brand.ts`, `public/fonts/`, `tests/runtime/brand.worker.test.ts`, `tests/e2e/business-brand.spec.ts`); named themes, per-form choice, font choice, element colors, backgrounds and layouts do not.

### Dashboard

- DASH-001 — First flow — done. Tagged tests: `tests/runtime/first-owner.worker.test.ts`.
- DASH-002 — Flow list — done. Tagged tests: `tests/runtime/feedback-attention.worker.test.ts`, `tests/runtime/foundation.worker.test.ts`, `tests/runtime/journey.worker.test.ts`.

### Templates and generated forms (target)

- TMPL-001 — Template gallery — partial. Acceptance: a Worker test creates and publishes every gallery template with no validation error; a browser journey searches the gallery, previews one with branching, creates it and collects a response. Today: three templates ship (`src/core/features/flows/templates.ts`, `tests/e2e/templates.spec.ts`).
- TMPL-002 — Team templates — partial. Acceptance: a Worker test saves a form with logic as a template, creates a new form from it and proves new stable IDs, identical logic and no copied responses or credentials. Tagged tests: `tests/runtime/team-templates.worker.test.ts`, `tests/e2e/team-templates.spec.ts`. Draft and published snapshots remain independent; retired templates cannot create flows; workspace isolation and stale saves are enforced. Revision publication deadlines and response targets are not copied; question settings and remapped logic are. Per-form theme choice awaits BRAND-002; retirement uses current equal-operator authority until ROLE-001 ships.
- AI-001 — Generate a form from a prompt or a document — partial. Acceptance: a Worker test with the AI receiver fixture turns a prompt and a two-page PDF into drafts whose graph validates; schema-invalid provider output fails under ANLY-012 rules with no draft written; a browser journey edits and publishes the generated draft. Today: guarded rewrites of saved questions ship (`src/core/features/analysis/rewrites.ts`, `tests/runtime/feedback-rewrites.worker.test.ts`); whole-form generation does not.

### Flows

- FLOW-001 — Lifecycle — done. Tagged tests: `tests/runtime/foundation.worker.test.ts`.
- FLOW-002 — Ordered steps — done. Tagged tests: `tests/e2e/journey.spec.ts`.
- FLOW-003 — Question types — done. Tagged tests: `tests/e2e/new-question-types.spec.ts`, `tests/runtime/new-question-types.worker.test.ts`.
- FLOW-004 — Saved edits — done. Tagged tests: `tests/e2e/review-corrections.spec.ts`.
- FLOW-005 — Branching — done. Tagged tests: `tests/e2e/journey.spec.ts`, `tests/e2e/publication-zone.spec.ts`, `tests/e2e/review-corrections.spec.ts`, `tests/runtime/new-question-types.worker.test.ts`.
- FLOW-006 — Publish validation — done. Tagged tests: `tests/runtime/foundation.worker.test.ts`, `tests/runtime/graph-reachability.worker.test.ts`.
- FLOW-007 — Preview isolation — done. Tagged tests: `tests/runtime/journey.worker.test.ts`.
- FLOW-008 — Published revisions — done. Loading creates no session or visitor record; only RSLT-013’s anonymous aggregate counter increments, with no identifier, cookie or join to a response. Tagged tests: `tests/runtime/distribution.worker.test.ts`, `tests/runtime/journey.worker.test.ts`.
- FLOW-009 — Live edits — done. Tagged tests: `tests/runtime/distribution.worker.test.ts`, `tests/runtime/journey.worker.test.ts`.
- FLOW-010 — Closure — done. Tagged tests: `tests/e2e/publication-zone.spec.ts`.
- FLOW-011 — Duplication — done. Tagged tests: `tests/runtime/foundation.worker.test.ts`.
- FLOW-012 — Valid references — done. Tagged tests: `src/core/features/flows/graph.contract.test.ts`.
- FLOW-013 — Reachable termination — done. Tagged tests: `tests/runtime/graph-reachability.worker.test.ts`.
- FLOW-014 — Valid questions — done. Tagged tests: `tests/e2e/review-corrections.spec.ts`.
- FLOW-015 — Stable structure IDs — done. Tagged tests: `tests/contract/data-release.contract.test.ts`, `tests/runtime/foundation.worker.test.ts`.
- FLOW-016 — Published policy snapshot — done. Tagged tests: `tests/runtime/graph-reachability.worker.test.ts`, `tests/runtime/policy-snapshot.worker.test.ts`.
- FLOW-017 — Revision admission — done. Tagged tests: `tests/runtime/distribution.worker.test.ts`, `tests/runtime/journey.worker.test.ts`.
- FLOW-018 — Revision counts — done. Tagged tests: `tests/runtime/journey.worker.test.ts`.
- FLOW-019 — Answer values by type — done. Tagged tests: `tests/e2e/ledger-filters.spec.ts`, `tests/runtime/foundation.worker.test.ts`, `tests/runtime/ledger-filters.worker.test.ts`, `tests/runtime/new-question-types.worker.test.ts`. Other-answer validation, exclusive None and lossless stored/exported shapes are also exercised by `tests/runtime/other-choices.worker.test.ts` and `tests/e2e/other-choices.spec.ts`.
- FLOW-020 — Required applies to the path taken — done. Tagged tests: `tests/runtime/journey.worker.test.ts`.
- FLOW-021 — Deleting a question keeps its answers — done. Tagged tests: `tests/runtime/journey.worker.test.ts`.

- LOGIC-005 — Conditional completion and redirect — done. Tagged tests: `tests/runtime/completion-redirects.worker.test.ts`, `tests/e2e/completion-redirects.spec.ts`. Conditional on-screen completion routing ships through FLOW-005. Approved HTTPS origins and declared mappings are checked at publication; accepted on-path values determine a server-derived URL after commit. Compound answer/hidden/calculation/score routing, inert preview, original-revision replay and remapped copies are covered. Desktop and phone journeys author and collect both targets. Acceptance: a browser journey takes two paths and lands on two different completion targets, one chosen by a compound AND rule over an answer and a hidden field; a redirect to an unapproved origin is refused at publish.
- A11Y-001 — WCAG 2.2 AA respondent experience — done. Tagged test: `tests/e2e/respondent-accessibility.spec.ts`. Keyboard-only completion and WCAG 2.2 axe cover all 22 shipped question types and all three layouts at 1440 and 390. Every visible required error is associated with its answer control, the first invalid answer receives focus, each new screen receives heading focus, and welcome/completion/closed/unavailable-resume states pass. The same journey checks 320px reflow, reduced motion and saved-brand button contrast. Standing rule: every later question type or layout inherits the same accessibility obligations and extends this journey before shipping, including step focus and announcements, associated errors, saved-brand contrast, reduced motion and 320px reflow.

### The complete builder (target)

- FIELD-001 — Hidden fields and URL parameters — partial. Acceptance: a browser journey opens a link with declared and undeclared parameters, is routed by a LOGIC-006 rule on one, is routed by an `is blank` rule when the link omits it, and the CSV export carries only the declared values; a Worker test proves an identifying parameter on an anonymous revision is refused at publish and accepted on an identified one (RESP-023); DIST-021's embedded journey stores forwarded, fixed and `hidden` values under the same declared-field filter. Today: Completion also depends on DIST-021 (script-supplied fields), DIST-015 (SDK), DIST-003 (invitation-supplied values), RSLT-006 (crosstabs), the named INTEG consumers, LOGIC-005 (completion redirects), NOTIFY-005 (alerts) and NOTIFY-006 (answer-bearing email); naming these consumers does not claim they ship. Revision-bound typed declarations, direct-link query values, identifying-field publication checks, blank/value branching and page visibility, preview, escaped recall, private save/resume, ledger search/typed filters, CSV/JSON and copy/archive custody ship. Undeclared, invalid and unsubstituted merge values are discarded and counted; anonymous click IDs are discarded. Remaining: script fixed/forwarded/hidden/GA values (DIST-021), SDK (DIST-015) and invitation-supplied values (DIST-003), crosstabs (RSLT-006), integration consumers (INTEG-001 to INTEG-011, INTEG-015 and INTEG-017), alerts (NOTIFY-005), email (NOTIFY-006) and anonymous click-ID delivery custody (INTEG-017). Evidence: `src/core/shared/hiddenFields.ts`, `tests/runtime/hidden-fields.worker.test.ts`, `tests/e2e/hidden-fields.spec.ts`, `scripts/distribution-data.check.mjs`.
- FIELD-002 — Matrix, Likert and scale grids — missing. Acceptance: a Worker test publishes a 4×5 matrix, collects responses, and asserts per-row counts and an export column per row keyed by stable row ID.
- FIELD-003 — CSAT, CES and visual rating questions — done. Acceptance: a Worker test collects each type and asserts the computed CSAT percentage and CES mean against hand-computed values. The same native-route journey verifies emoji and thumbs distributions and normalized exports; PROG-001 acceptance separately proves program setup. Evidence: `tests/runtime/contact-scores-scenario.ts`, `tests/runtime/new-question-types.worker.test.ts`, `tests/e2e/satisfaction-scores.spec.ts`. The browser journey builds and publishes all four score types, rejects unanswered required questions, collects by keyboard, checks denominators and distributions, and verifies numeric/boolean CSV and JSON values at 1440 and 390.
- FIELD-004 — US contact fields — done. Acceptance: a browser journey enters valid and invalid US phone, ZIP and state values and sees field-specific errors; the export carries normalized columns. The native-route check also rejects invalid names, URLs and fractional cents, retains an international number and address, keeps the phone extension separate, and checks normalized and display columns in CSV and JSON. Today: US and international phone/address entry, separate extensions and name parts, URL validation, exact USD cents, field-specific errors and normalized/formatted exports ship (`src/core/shared/contactAnswers.ts`, `src/core/shared/ui/ContactQuestionInput.tsx`, `src/core/features/reporting/contactExport.ts`, `tests/runtime/contact-scores-scenario.ts`).
- FIELD-005 — Media in questions and choices — missing. Acceptance: a browser journey builds an image-choice question, publish is refused while alt text is empty, and the respondent page makes no third-party request until play is pressed.
- FIELD-006 — Randomized order — done. Tagged tests: `tests/runtime/randomized-order.worker.test.ts`, `tests/e2e/randomized-order.spec.ts`. Choice shuffles anchor Other/None; classic pages and groups shuffle their question display order while preserving canonical logic. Preview, Back and private save/resume keep the order. The 200-response native HTTP journey compares every retained permutation with CSV/JSON and checks invalid order refusal, publication pinning and copies. The builder and completed respondent journeys run at 1440 and 390. Acceptance: a Worker test collects 200 responses and asserts every permutation stored is valid, Other and None of the above are last in every one, and the presented order is in the export.
- FIELD-007 — Scheduling handoff — missing. Acceptance: a Worker test with a Dial/Calendly receiver fixture completes a booking handoff and stores the confirmed time on the response; an anonymous flow passes nothing.
- FIELD-008 — Classic page layout — done. Acceptance: a browser journey builds a three-page classic form with in-page conditional questions, and a hidden required question never blocks navigation or submission, only visible questions are validated, and progress counts reachable pages. Evidence: `tests/runtime/pages.worker.test.ts`, `tests/e2e/pages.spec.ts`; the journey builds, previews, edits Back, collects and checks hidden-answer removal at 1440 and 390. Native checks cover page branching with a hidden final question, immutable revisions, duplication, saved page state and invalid visibility references.
- FIELD-009 — Video and audio answers — missing. Acceptance: a browser journey with a fake media device records a 10-second answer, the operator plays it back through a signed URL, and the transcript appears in the ledger and analysis evidence.
- FIELD-010 — "Other (please specify)" and "None of the above" — partial. Acceptance: a Worker test publishes a multiple-choice question with Other and None and a single-choice question with Other; a response choosing Other with text stores the Other choice ID and the text, and the CSV carries the text in its own column; Other with empty or whitespace-only text is refused with a field-specific error and creates no response; None together with another option is refused; the results distribution counts Other and lists its text as open text; a branch on Other routes to its destination. A browser journey sees the text box appear when Other is chosen and the other selections clear when None is chosen. A Worker test imports a Typeform definition and responses fixture whose `allow_other_choice` answers arrive as `choice.other` write-ins, and a Google Forms fixture with an `isOther` option, and asserts every write-in lands on the Other choice with its text. Today: Stable Other IDs and required validated write-ins, exclusive None (including selection-minimum exemption), builder controls, branching, distributions/open text, search/filters, analysis evidence, lossless JSON and a separate stable-step CSV text column ship. Typeform/Google definition and reviewed CSV imports retain unambiguous write-ins. Source response API retrieval, SurveyMonkey/Jotform imports, and translation await their target features; ambiguous Google checkbox cells require explicit reviewed columns. Evidence: `src/core/shared/otherChoices.ts`, `src/core/shared/ui/ChoiceQuestionInput.tsx`, `src/core/features/importing/choice-response.ts`, `tests/runtime/other-choices.worker.test.ts`, `tests/e2e/other-choices.spec.ts`.
- FIELD-011 — Statement screens anywhere in the flow — partial. Acceptance: A browser journey publishes a flow of question, branch, statement and question, answers so the branch reaches the statement, sees its recalled text and Continue label, continues, and sees progress count only the two questions; the ledger and CSV hold no answer for the statement step. A Worker test refuses publish for a statement whose image lacks alt text and accepts a branch whose destination is a statement. A Worker test imports a Typeform fixture with a welcome screen and two Statements between questions and asserts both become statement steps in the review in their original order. Today: A no-answer screen ships only as the optional first welcome screen (FLOW-002, `tests/e2e/journey.spec.ts`), and the Typeform importer maps only a leading Statement to it while later Statements are reported unsupported (`src/core/features/importing/fields.ts`, `tests/runtime/form-import.worker.test.ts`).
- FIELD-012 — Question groups — partial. Acceptance: A browser journey builds a group of three questions with one required, sees all three on one screen, is held by a field-specific error until the required one is answered, and is routed by a branch that tests a grouped answer; progress counts three questions. A Worker test imports a Typeform fixture with a group and asserts the review shows one group containing its questions. FIELD-012 is done only when every requirement and acceptance step in this clause and its dependencies FIELD-005 (optional media) and FIELD-011 (statement items) are done. Today: Named grouped questions, grouped-answer branching and Typeform group/inline_group review ship. Optional media and statement blocks remain unbuilt. Evidence: `tests/runtime/groups.worker.test.ts`, `tests/e2e/groups.spec.ts`. The browser journey proves builder, required errors, grouped-answer routing and hierarchical review at 1440 and 390. Optional media and statement blocks remain unbuilt under FIELD-005/FIELD-011.
- FIELD-013 — Text answer validation — partial. Acceptance: a Worker test publishes a short-text question with minimum 3, maximum 10 and mask `###-####` and refuses 2-character, 11-character and mask-mismatched submissions with field-specific errors while accepting `555-0100`; publish refuses a pattern with a backreference; a browser journey shows the counter and the custom error; a Typeform fixture with `max_length: 150` imports as maximum 150. Today: Per-question length, masks, a bounded linear-time pattern subset, custom errors, a live counter and Typeform lengths ship (`src/core/shared/textValidation.ts`, `src/core/features/flows/ui/TextSettings.tsx`, `tests/runtime/new-question-types.worker.test.ts`, `tests/runtime/form-import.worker.test.ts`); translated errors and SurveyMonkey/Jotform import mappings remain unbuilt. Retained browser evidence at 1440 and 390 is not in this repository.
- FIELD-014 — Long choice lists and long forms — partial. Acceptance: a Worker test publishes a dropdown built from the country list, a dropdown with 1,000 choices and a 250-question flow that mixes groups and pages, collects a response to each and asserts the stored stable choice IDs; publish refuses a question with one choice over the configured limit and names its step. A browser journey types "united" in the country dropdown, sees only matching countries, and picks "United States" with the keyboard alone. A builder journey pastes 300 lines containing one duplicate and sees the duplicate named before save. FIELD-014 is done only when every requirement and acceptance step in this clause and its target dependencies FIELD-008 (classic pages), FIELD-011 (statement screens), FIELD-012 (question groups) and A11Y-001 (accessible collection) are done. Today: Dropdowns up to 1,000 choices, single/multiple choice up to 250 and forms up to 250 questions plus 50 non-question screens ship. Accent-insensitive dropdown filtering announces matches; reviewed bulk paste names blank/duplicate lines; country ISO and US state/DC/territory USPS lists are editable. Version-guarded long-list edits preserve IDs and D1 reads use bounded bindings. Native routes publish, edit, submit and export a 250-question/1,000-choice form, with 20-sample public-screen and answer-transition p95 checks; browser journeys prove builder, keyboard collection and export at 1440 and 390. The native-route journey now also publishes, collects and exports 250 questions across an 80-question group, an 80-question classic page and standalone questions, with separate screen accounting, a country dropdown and the 1,000-choice dropdown. Publish refuses an over-limit question with its stable ID. Original 20-sample p95 limits remain. Timings cover native local routes, not hosted capacity. Evidence: `src/core/shared/formLimits.ts`, `src/core/shared/choiceLists.ts`, `src/core/features/flows/ui/ChoiceBulkEditor.tsx`, `tests/runtime/long-forms.worker.test.ts`, `tests/e2e/long-choices.spec.ts`. Remaining: Optional group media and statement items under FIELD-005/FIELD-011 remain dependencies; A11Y-001 accessible collection is done for all shipped types and layouts, with its standing rule applying to future additions; mixed-layout capacity alone does not complete this clause.
- FIELD-015 — Date entry and display format — partial. Acceptance: a browser journey with the browser locale set to `en-GB` answers an MM/DD/YYYY question by typing 07/04/2026, sees "07/04/2026" in the recalled next prompt and the review, and the CSV holds `2026-07-04`; 02/30/2026 is refused with an error naming MM/DD/YYYY; the same question set to DD/MM/YYYY stores `2026-04-07` for 07/04/2026. A Worker test imports a Typeform date field with `structure: DDMMYYYY` and `separator: '.'` and asserts the question's format setting. Today: Published format/separator, labeled calendar entry independent of browser locale, formatted ledger values, ISO exports, Typeform format import and question-answer recall with the published date format ship (`src/core/shared/dateFormat.ts`, `src/core/shared/ui/CalendarDateInput.tsx`, `src/core/shared/answerRecall.ts`, `tests/runtime/new-question-types.worker.test.ts`, `tests/runtime/form-import.worker.test.ts`). The claimed MM/DD and DD/MM browser journeys at 1440 and 390, including ISO CSV values, have no retained in-repository evidence. Full recall through hidden fields, calculations and answer-bearing emails depends on LOGIC-001's remaining targets; response review, confirmation/PDF display, language defaults and Jotform mapping remain unbuilt.
- FIELD-016 — Opinion scales with labels — partial. Acceptance: a browser journey publishes a 0–6 scale labeled "Not at all", "Neutral" and "Completely", sees the labels over steps 0, 3 and 6 and accessible names that join each number and label, answers 0, finds 0 in the ledger and the CSV, and is routed by a LOGIC-006 `less than 2` rule; a Worker test refuses 1 or 12 steps and a 101-character label at publish; the IMPORT-007 Typeform fixture's opinion scale with `start_at_one: false`, 7 steps and three labels arrives as a 0–6 scale with those labels, and a Google Forms scale keeps its `lowLabel` and `highLabel`. Today: Start 0/1, 2–11 steps, three labels, accessible numeric controls, full revision-specific distributions and Typeform/Google scale labels ship (`src/core/shared/ratingScale.ts`, `src/core/shared/ui/RatingInput.tsx`, `tests/runtime/new-question-types.worker.test.ts`, `tests/runtime/form-import.worker.test.ts`); translation and SurveyMonkey/Jotform mappings remain unbuilt; full LOGIC-006 condition support remains incomplete. Retained browser evidence at 1440 and 390 is not in this repository.
- LOGIC-001 — Answer recall — partial. Acceptance: a browser journey answers a name question and sees it in the next prompt; going back and changing it updates the later prompt; an injected `<script>` answer renders inert. Worker checks also reject invalid references at publish, keep respondent-supplied tokens inert, leave stored answers unchanged and remap duplicate references; the phone and desktop browser journey checks preview, Back edits and recalled choice text. Today: Stable question references render earlier valid on-path answers in prompts, supporting text, choice labels and completion screens in preview and published forms. Back edits update recalled values; skipped/invalid answers stay blank; respondent tokens and HTML remain inert. Publish refuses missing/future/off-path references and duplication remaps IDs. Declared hidden-field and calculated-value recall also ship; answer-bearing email recall remains unbuilt. Evidence: `src/core/shared/answerRecall.ts`, `src/core/features/flows/ui/RecallHelp.tsx`, `tests/runtime/answer-recall.worker.test.ts`, `tests/e2e/answer-recall.spec.ts`.
- LOGIC-002 — Known-data prefill — missing. Acceptance: a Worker test launches invitations to contacts with a company field, the respondent sees it prefilled, edits it, and the ledger shows the edited value with a prefill marker.
- LOGIC-003 — Variables and calculations — partial. Acceptance: a Worker test publishes a form whose total depends on quantity and a conditional discount and asserts the stored total for ten answer sets; publish refuses an expression referencing a deleted question. Today: Revision-bound numeric and text calculations ship with arithmetic, LOGIC-006 conditionals, rounding, calendar date differences, hidden/question/variable references, publish-time type/reference/cycle/zero-denominator checks, escaped recall, preview, branching and page/group visibility, server-computed stored values, ledger typed filters, CSV/JSON and copy/archive custody. Ten conditional quotes and private resume/replay are proved through Worker routes; builder, preview, both completion paths and ledger are proved at 1440 and 390. Remaining: alert and payment consumers. Calculated-condition publication requires supported finite input domains (bounded integer numbers with explicit min/max and zero decimal places, ratings, booleans, single choices or text equality classes); unbounded numbers, dates, complex selections and masked/patterned text in calculated conditions refuse publication. General stored/recall calculations support those numeric and date inputs without branch proof. Evidence: `src/core/shared/calculations.ts`, `src/core/shared/calculationValidation.ts`, `src/core/features/flows/calculation-proof.ts`, `tests/runtime/calculations.worker.test.ts`, `tests/e2e/calculations.spec.ts`, `scripts/distribution-data.check.mjs`.
- LOGIC-004 — Quizzes and outcomes — missing. Acceptance: a Worker test publishes a graded quiz and a personality quiz and asserts scores, chosen outcome screens and the score report for fixed answer sets.
- LOGIC-006 — Conditions across the form — partial. Acceptance: a browser journey publishes a lead form whose rule is (company size at least 50 AND role is "Decision maker") OR hidden field `plan` equals `enterprise`, drives four answer sets through the published form (both conditions true; size true and role false; both false with `plan=enterprise` on the link; all false) and asserts each lands on the expected step; an email `ends with gmail.com` rule routes an address whose domain is typed `GMAIL.COM` (case-insensitive) and not one whose domain is `gmail.co`; `is not` on a single choice routes every other choice; an `is blank` rule on an optional question the respondent skipped routes, and the same question's `does not equal` rule does not match it; preview shows each condition's value and result for one answer set. Worker tests refuse publish for a condition that references a later step and for one that references a deleted hidden field, each naming the rule; a submission carrying an off-path answer is accepted when its on-path answers are valid, with the off-path answer absent from stored answers, scoring and exports under RESP-004, and condition-tree routing computed from accepted on-path answers. A Worker test imports a Typeform fixture with an `and` jump over a field, a hidden field and a `contains` text condition, and a Jotform fixture with an Any-linked condition, and asserts both arrive intact as LOGIC-006 rules in the review. LOGIC-006 is done only when every requirement and acceptance step in this clause and its target dependencies FIELD-001 (hidden fields), FIELD-002 (matrix rows), FIELD-008 (classic pages), FIELD-010 (Other text), FIELD-012 (question groups), LOGIC-003 (calculations), LOGIC-004 (quizzes and outcomes), LOGIC-005 (completion and redirects), NOTIFY-005 (alerts), NOTIFY-006 (response emails), PAY-001 (payment state), IMPORT-005, IMPORT-006 and IMPORT-007 (condition imports), and A11Y-001 (keyboard access) are done. Today: Bounded AND/OR trees over current and earlier on-path structured, numeric, date and boolean questions, negative/set comparisons and blank/answered tests ship. The builder offers earlier operands and readable summaries; preview displays every operand value and group result; preview, published collection and Worker admission share the evaluator. Exact path-correlated publication validation rejects unreachable destinations and feasible cycles. Published revision pinning, duplicated/team-template IDs, 20 conditions across three group levels and archive custody are exercised. Browser journeys pass at 1440 and 390. Declared hidden fields, normalized text equality/inequality and supported calculated operands share branching, preview and page/group visibility under FIELD-008/FIELD-012; calculated conditions refuse unsupported domains. Remaining: Text prefix/suffix/contains operators, Other-text operands, grids, quiz/payment operands, non-branch consumers and compound-condition import mappings remain unbuilt. Exact feasibility for required text or necessary Other answers with a pattern/mask is explicitly refused; proof-budget exhaustion refuses publication. Existing submission semantics discard off-path answers rather than rejecting the entire request. Evidence: `src/core/shared/conditions.ts`, `src/core/features/flows/condition-paths.ts`, `src/core/features/flows/ui/ConditionEditor.tsx`, `tests/runtime/conditions.worker.test.ts`, `tests/e2e/conditions.spec.ts`, `scripts/distribution-data.check.mjs`.
- LANG-001 — Multi-language forms — missing. Acceptance: a browser journey answers the same form in English and Spanish, and a date question shows MM/DD/YYYY in both under `en-US` and `es-US`; results show one distribution with a language filter; publish is refused while one Spanish choice is untranslated.
- AI-002 — Reviewed AI translation — missing. Acceptance: a Worker test with the AI receiver fixture drafts Spanish strings, accepts half, and the rest stay untranslated and block publish for Spanish.
- LANG-002 — Editable closed and system text — missing. Acceptance: a browser journey sets a custom Submit label and closed message, sees the label on the published form, closes the form and sees the closed message, and sees the Spanish translation of the label under LANG-001; a Worker test refuses publish with a whitespace-only button label.
- A11Y-002 — Accessibility checker before publish — partial. Acceptance: a Worker test publishes a draft with an image lacking alt text and a 2:1 contrast accent and receives both stable step IDs and reasons. Today: accent contrast is enforced and logos are validated (`src/core/features/brand/brand.ts`, `tests/runtime/brand.worker.test.ts`); there is no per-step checker.

### Audience

- AUD-001 — Contacts — done. Tagged tests: `tests/e2e/distribution-foundation.spec.ts`, `tests/runtime/audience.worker.test.ts`, `tests/runtime/upgrades.worker.test.ts`.
- AUD-002 — Segments — done. Tagged tests: `tests/e2e/distribution-foundation.spec.ts`, `tests/runtime/audience.worker.test.ts`.
- AUD-003 — Participants — done. Tagged tests: `tests/e2e/distribution-foundation.spec.ts`, `tests/runtime/distribution.worker.test.ts`.
- AUD-004 — Eligibility — done. Tagged tests: `tests/runtime/audience.worker.test.ts`.
- AUD-005 — Launch idempotency — done. Tagged tests: `tests/runtime/audience.worker.test.ts`.
- AUD-006 — Send-time eligibility — done. Tagged tests: `tests/runtime/audience.worker.test.ts`, `tests/runtime/distribution.worker.test.ts`.

### Distribution

- DIST-001 — Public link — done. Tagged tests: `tests/e2e/public-flow.spec.ts`, `tests/e2e/review-corrections.spec.ts`.
- DIST-002 — Embed — done. Tagged tests: `tests/e2e/public-flow.spec.ts`, `tests/e2e/script-embed.spec.ts`.
- DIST-003 — Invitations — done. Tagged tests: `tests/runtime/distribution.worker.test.ts`.
- DIST-004 — Reminders — done. Tagged tests: `tests/runtime/distribution.worker.test.ts`.
- DIST-005 — Opt-out — done. Tagged tests: `tests/e2e/distribution-foundation.spec.ts`, `tests/runtime/distribution.worker.test.ts`.
- DIST-006 — Mail retry — done. Tagged tests: `tests/runtime/distribution.worker.test.ts`, `tests/runtime/feedback-digest.worker.test.ts`, `tests/runtime/notifications.worker.test.ts`.
- DIST-007 — Adapter isolation — done. Tagged tests: `tests/runtime/base-auth.worker.test.ts`.
- DIST-008 — Terminal delivery — done. Tagged tests: `tests/e2e/mail-recovery.spec.ts`, `tests/runtime/distribution.worker.test.ts`.
- DIST-009 — Embed isolation — done. Tagged tests: `tests/e2e/embed-security-foundation.spec.ts`, `tests/e2e/rendering-migration.spec.ts`, `tests/e2e/script-embed.spec.ts`.
- DIST-010 — Ambiguous mail outcome — done. Tagged tests: `tests/e2e/mail-recovery.spec.ts`, `tests/runtime/distribution.worker.test.ts`, `tests/runtime/notification-restore.worker.test.ts`.

### Every distribution channel (target)

- DIST-011 — SMS invitations and reminders — missing. Acceptance: a Worker test with a Twilio receiver fixture sends to a consented contact, refuses an unconsented one, records a STOP that blocks the scheduled reminder, and verifies the inbound webhook signature.
- DIST-013 — Embed modes and site plugins — partial. Acceptance: a browser journey on a host fixture opens each mode by its trigger, completes a response, and proves the host receives only loaded, height and completed events; the popup and side-tab modes on `/landing?utm_campaign=spring` store the forwarded `utm_campaign`; the WordPress plugin renders a form via shortcode in a WordPress test container. Today: inline script and iframe embeds ship (`src/core/features/embedding/script.ts`, `tests/e2e/script-embed.spec.ts`); the other modes and plugins do not.
- DIST-014 — Email-embedded first question — missing. Acceptance: a Worker test fetches every embedded answer link as a scanner would and finds no answer or session recorded; a browser journey clicks "9", lands on question 2 with 9 selected and completes.
- DIST-015 — In-product and website surveys — missing. Acceptance: a browser journey on a host fixture fires an event, the survey appears for a matching user and not for a non-matching one, a second trigger inside the fatigue window shows nothing, and a forged unsigned identity yields an anonymous response.
- DIST-016 — Recurring surveys — missing. Acceptance: a Worker test advances a fake clock through three monthly occurrences and asserts three launches, three periods in the trend report and one skipped occurrence that sent nothing.
- DIST-017 — Collectors and source labels — done. Acceptance: a Worker test collects through two collectors, closes one by limit while the other stays open, and the results comparison shows each collector's counts. The native-route journey also races the last collector place without exceeding its limit, pins a returning session to its collector, and checks independent close/reopen, collector filters and snapshot exports. Today: Named channel links, zoned deadlines, independent limits and closure, session-pinned attribution, comparisons, ledger filters and exports ship (`migrations/core/0041_collectors.sql`, `src/core/features/collectors/`, `src/core/features/reporting/scope.ts`, `tests/runtime/collectors-trends.worker.test.ts`).
- DIST-018 — Form addresses — missing. Acceptance: a Worker test renames a slug, the old one redirects with 301 to the new one, and a form served on a mapped test hostname renders with the same admission checks and the same DIST-020 preview tags, with `og:url` naming the canonical address.
- DIST-020 — Link previews and search indexing — missing. Acceptance: a Worker test fetches a published form's page and asserts its `og:title`, `og:description`, `og:image` (same origin and fetchable), `og:url` and `twitter:card` tags and the `noindex` meta tag and header; after an Editor sets a custom title and image and allows indexing, the republished form serves them without `noindex`; publish refuses the indexing setting on a DIST-019 restricted form, which keeps `noindex`; a browser journey sees the preview card in the builder's share panel. Today: The public form route (`src/routes/f.$slug.tsx`) serves no form-specific preview or robots tags; the product site's `og:` tags (`src/core/features/site/head.ts`) are not per form.
- DIST-021 — Forwarded landing-page parameters — missing. Acceptance: a browser journey loads a host fixture at `/landing?utm_campaign=spring&gclid=G1&fbclid=F1&secret=x` with the script embed forwarding `utm_campaign,gclid,fbclid,secret` on a form that declares `utm_campaign`, `gclid` and `fbclid`, is routed by a LOGIC-006 rule on `utm_campaign`, completes the response, and asserts that the stored response and the CSV hold `utm_campaign=spring`, that `secret` is in neither the stored response, the `pencil:init` message nor any request the frame makes, and that the INTEG-017 receiver fixtures get one Google Ads click conversion carrying `G1` and one Meta event whose `fbc` is built from `F1`; the same journey with `data-pencil-utm_campaign="fixed"` stores `fixed`; a host fixture with a `_ga` cookie and `data-pencil-ga4="cookie"` produces one GA4 event carrying that client ID, and one whose page calls `hidden` with a first-visit `utm_source` stores that value; the popup mode forwards the same values; a plain iframe whose `src` carries `?utm_campaign=spring&secret=x` stores only `utm_campaign`; on an anonymous form a forwarded `email` is not stored and is counted as discarded; and throughout, the host page receives only loaded, height and completed events. Today: The script embed (`src/core/features/embedding/script.ts`, `tests/e2e/script-embed.spec.ts`) mounts the frame with only its challenge and forwards no host parameter, and `/embed.js` accepts no option but `flow`.

- DIST-012 — QR codes and kiosk mode — done. Every public collector means each named collector plus the default direct and embed links, each with its public URL and SVG/PNG QR download. Invitation, imported and unknown system-source buckets remain historical attribution with no public collection URL or QR and unchanged identity semantics. Acceptance: a browser journey checks the public URL and SVG/PNG QR downloads for each named public collector and the default direct and embed links, scans each QR to collect a response with the matching source, and verifies that invitation, imported and unknown system-source buckets offer neither a public collection URL nor a QR download and retain their identity semantics; it completes a kiosk form twice and proves the second session starts empty and the first response's source is the kiosk collector, then waits through the configured idle time and verifies that all browser answers are cleared and the previous respondent's answers are never shown. Tagged tests: `tests/runtime/qr.worker.test.ts`, `tests/e2e/kiosk.spec.ts`.
- DIST-019 — Restricted access — done. Tagged tests: `tests/runtime/restricted-access.worker.test.ts`, `tests/e2e/restricted-access.spec.ts`. Password refusal, verified allowed email with one completion, signed app links bound to revision/expiry, server graph/session gating, identity disclosure and ledger/export custody are proved at 1440 and 390. `scripts/distribution-data.check.mjs` proves backup redaction of live credentials and retained response identity.

### Responding

- RESP-001 — One question at a time — done. The layout requirement names one question per screen, classic pages (FIELD-008: shared conditions, visible-question validation and progress by page), and question groups (FIELD-012: per-question validation and progress). One-question screens, classic pages and grouped questions ship; FIELD-012 remains partial for optional media (FIELD-005) and statement blocks (FIELD-011). Tagged tests: `tests/e2e/public-flow.spec.ts`.
- RESP-002 — Truthful progress — done. Tagged tests: `tests/e2e/question-progress.spec.ts`.
- RESP-003 — Answers — done. Tagged tests: `tests/e2e/new-question-types.spec.ts`, `tests/e2e/question-accessibility-foundation.spec.ts`, `tests/e2e/question-progress.spec.ts`, `tests/e2e/review-corrections.spec.ts`, `tests/runtime/new-question-types.worker.test.ts`. Other-answer validation, exclusive None and lossless stored/exported shapes are also exercised by `tests/runtime/other-choices.worker.test.ts` and `tests/e2e/other-choices.spec.ts`.
- RESP-004 — Back navigation — done. Tagged tests: `tests/e2e/journey.spec.ts`, `tests/e2e/question-progress.spec.ts`, `tests/runtime/journey.worker.test.ts`.
- RESP-005 — Privacy disclosure — done. Public links default to anonymous; publishing identified mode snapshots `identified-public-link` for that revision and discloses typed, unverified link-supplied identity and forwarding before answers. Invited responses remain identified. The revision-bound link, fixed identifying values and reasoned cross-revision refusal required by RESP-023 remain in that partial clause. Tagged tests: `tests/e2e/distribution-foundation.spec.ts`, `tests/runtime/analysis-safety.worker.test.ts`.
- RESP-006 — Anonymous means anonymous — done. Tagged tests: `tests/runtime/distribution.worker.test.ts`, `tests/runtime/foundation.worker.test.ts`.
- RESP-007 — Final submission — done. Tagged tests: `tests/e2e/journey.spec.ts`, `tests/runtime/distribution.worker.test.ts`.
- RESP-008 — Admission per invitation — done. Tagged tests: `tests/e2e/distribution-foundation.spec.ts`, `tests/runtime/distribution.worker.test.ts`.
- RESP-009 — Concurrent closure — done. Tagged tests: `tests/e2e/closed-flow.spec.ts`, `tests/runtime/journey.worker.test.ts`.
- RESP-010 — No silent partials — done. Tagged tests: `tests/runtime/foundation.worker.test.ts`, `tests/runtime/journey.worker.test.ts`, `tests/runtime/resuming.worker.test.ts`, `tests/e2e/save-resume.spec.ts`. Acceptance: abandon or reload after answering without choosing Save and prove no retained answer, operator-visible partial, result, response export or completion. Explicitly choose Save after two steps, resume the original revision and answers on another device, verify that the save remains absent from completed counts, results, analysis and default response exports, then complete once and reopen the link to its receipt. Both the no-silent-capture rule and respondent-chosen save exception ship; PART-001 automatic step capture remains unbuilt.
- RESP-011 — Completion — done. Tagged tests: `tests/e2e/public-flow.spec.ts`.
- RESP-012 — Submission retry — done. Tagged tests: `tests/runtime/journey.worker.test.ts`.
- RESP-013 — Session metrics — done. Tagged tests: `tests/runtime/distribution.worker.test.ts`, `tests/runtime/journey.worker.test.ts`, `tests/runtime/transition.worker.test.ts`.
- RESP-014 — Submit failure — done. Tagged tests: `tests/e2e/journey.spec.ts`, `tests/runtime/journey.worker.test.ts`.
- RESP-015 — Abuse defenses — done. Tagged tests: `tests/e2e/public-rate.spec.ts`, `tests/runtime/journey.worker.test.ts`, `tests/runtime/transition.worker.test.ts`. Elapsed time uses the signed, non-identifying form-load timestamp; honeypot and minimum-time hits retain their reasons and answers for review without creating visitor identity or a view record.
- RESP-016 — Bot submissions are excluded and retained — done. Tagged tests: `tests/runtime/foundation.worker.test.ts`, `tests/runtime/traffic.worker.test.ts`, `tests/e2e/traffic-review.spec.ts`. Honeypot and minimum-time exclusions retain reasons and complete answers for review/reversal. Filtered cutoff-bound CSV/JSON exports omit them by default and explicitly include them with state and reason on request, without release or downstream effects. Excluded-answer changes invalidate snapshots. Browser download/review/release journeys pass at 1440 and 390. Export option: An owner may explicitly choose to include automatically excluded responses (honeypot or minimum-time); each included response is marked with its exclusion reason. Acceptance: A default export omits automatically excluded responses; an explicit include adds them, each marked with its exclusion reason.
- RESP-017 — Suspected submissions are quarantined, not lost — done. Tagged tests: `tests/runtime/journey.worker.test.ts`. Minimum-time hits retain their reason and answers for owner review and reversal. They are excluded from completed-response counts, admission checks, results, analysis and notifications. Acceptance requires default response-export omission. RESP-016 governs the explicit include option for automated exclusions; that option is implemented. Normal retention and erasure apply, and exclusion or reversal never adjusts anonymous view or start counters.
- RESP-018 — Quarantine review — done. Tagged tests: `tests/runtime/journey.worker.test.ts`.
- RESP-019 — Retained flow metrics — done. Tagged tests: `tests/runtime/journey.worker.test.ts`, `tests/runtime/transition.worker.test.ts`.

### Respondent follow-through and partial responses (target)

- RESP-020 — Respondent confirmation email — missing. Acceptance: a Worker test completes a form with a confirmation question and asserts one delivery with the escaped answer copy, none for an anonymous response without the question, and a retry on transient failure. Today: the on-screen completion screen ships under RESP-011.
- RESP-021 — Edit after submission — missing. Acceptance: a Worker test edits a submission through its link, sees both versions in the ledger and an `updated` webhook, and a second use of the same link is refused.
- PART-001 — Consented partial-response capture — missing. Acceptance: a Worker test answers three of six steps on an opted-in form and finds one partial with three answers that is absent from counts and analysis; the same journey on a form without the opt-in stores nothing; a fake clock past retention deletes the partial.
- PART-002 — Save and resume — done. Acceptance: a browser journey saves after two steps, opens the emailed link in a new context, sees both answers, completes, and the link then shows the completed state. The same journey without choosing Save stores no partial; saved answers stay out of completed counts, results, analysis and default response exports until final submission. Worker journeys also prove revision pinning, separate delivery email, visible mail failure and idempotent retry, expiry, closure, erasure, collector/invitation custody and archive restoration without delivery capabilities. Today: Explicit email-only saves retain the original revision, answer path, collector and invitation on another device until the default 30-day expiry or closure. Delivery addresses stay separate from contacts and answers. Reused completed links show the receipt; erased, expired or unavailable links offer Start again. Private state is scrubbed on completion, expiry (subject to GOV-003 notice and legal hold) and erasure; archive restore removes delivery capabilities. Evidence: `src/core/features/resuming/`, `src/core/features/responses/ui/SaveResponse.tsx`, `src/core/features/responses/ui/ResumeFlowPage.tsx`, `migrations/core/0043_saved_responses.sql`, `tests/runtime/resuming.worker.test.ts`, `tests/e2e/save-resume.spec.ts`, `scripts/distribution-data.check.mjs`.
- RESP-022 — Response-quality flags — partial. Acceptance: a Worker test submits a straight-lined grid and a 3-second completion against a 90-second median, both land in quarantine with their reasons, and release restores them to results. Today: minimum-time quarantine and operator release ship (`src/core/features/responses/service.ts`, `tests/runtime/journey.worker.test.ts`).
- RESP-023 — Identified public links — partial. Acceptance: a browser journey publishes an identified form, opens it with `?email=jo@example.com&name=Jo&utm_source=mailchimp`, sees the disclosure name the email, completes it, and finds the email on the response, in the CSV export and as the contact key in the HubSpot receiver fixture's delivery; the same link with `?email=*|EMAIL|*` stores no email and counts one discarded value; "This isn't me" yields a response with no supplied identity; on an anonymous form the same `email` parameter is refused at publish and discarded at runtime, with the RESP-006 assertions unchanged. A browser and Worker journey builds an identifying link for revision A, proves its identifying values cannot change during collection (except removal through This isn't me), publishes revision B, and proves that using A's link on B is refused with a reason and creates no response. Today: `response.identity.v1` snapshots anonymous or identified public-link mode. Hidden values are validated against the session revision; the public URL is not revision-bound and submitted identifying values are not fixed. Per-revision anonymous/identified public-link mode, typed link-supplied unverified identity, pre-answer disclosure, This isn’t me, merge-tag rejection/counting and ledger/export identity mode ship. Remaining: public-link revision binding, fixed identifying values and reasoned cross-revision refusal; contact matching, CRM/email-platform identity deliveries, popup and QR tooling. Evidence: `src/core/shared/hiddenFields.ts`, `tests/runtime/hidden-fields.worker.test.ts`, `tests/e2e/hidden-fields.spec.ts`, `scripts/distribution-data.check.mjs`.

### Response ledger

- LEDG-001 — Ledger — done. Tagged tests: `tests/e2e/answer-results.spec.ts`, `tests/e2e/distribution-foundation.spec.ts`, `tests/e2e/imported-results.spec.ts`, `tests/e2e/ledger-filters.spec.ts`, `tests/e2e/reporting-bounded.spec.ts`, `tests/e2e/reporting-counts.spec.ts`, `tests/runtime/ledger-filters.worker.test.ts`.
- LEDG-002 — Counts — done. Tagged tests: `tests/runtime/form-import.worker.test.ts`, `tests/runtime/journey.worker.test.ts`, `tests/runtime/reporting-bounded.worker.test.ts`.
- LEDG-003 — Filters — done. Tagged tests: `tests/e2e/distribution-foundation.spec.ts`, `tests/e2e/ledger-filters.spec.ts`, `tests/e2e/reporting-counts.spec.ts`, `tests/runtime/ledger-filters.worker.test.ts`.
- LEDG-004 — Response export — done. Tagged tests: `tests/e2e/journey.spec.ts`, `tests/e2e/ledger-filters.spec.ts`, `tests/e2e/new-question-types.spec.ts`, `tests/e2e/reporting-bounded.spec.ts`, `tests/runtime/journey.worker.test.ts`, `tests/runtime/ledger-filters.worker.test.ts`, `tests/runtime/new-question-types.worker.test.ts`. Export option: An owner may explicitly choose to include automatically excluded responses (honeypot or minimum-time); each included response is marked with its exclusion reason. Acceptance: A default export omits automatically excluded responses; an explicit include adds them, each marked with its exclusion reason.

### Submission workflow (target)

- LEDG-005 — Spreadsheet and statistics exports — missing. Acceptance: a Worker test exports XLSX and SAV and reads them back with an independent reader, asserting the same response IDs and coded values as the CSV.
- LEDG-006 — Response search — partial. Acceptance: a Worker test seeds responses and finds one by a phrase in its open-text answer, one by a hidden-field value and one by an Other write-in; combined with a revision filter only the matching revision's response returns; a sensitive answer's text is not matched for an operator without the grant; an export started from the search holds exactly the found response IDs. A browser journey types a phrase into the ledger search and sees the highlighted answer. Today: Retained text/contact answers, Other write-ins, published choice labels and identified invitation snapshots combine with ledger filters, highlight matches and fix into snapshot exports (`src/core/features/reporting/search.ts`, `tests/runtime/ledger-filters.worker.test.ts`, `tests/runtime/other-choices.worker.test.ts`, `tests/e2e/response-search.spec.ts`). Quarantine and erasure remain excluded; hidden-field values, grant-aware sensitive/identity search, Unicode case folding and the capacity p95 proof remain unbuilt.
- WORK-001 — Submission inbox — done. Acceptance: a browser journey assigns, tags, notes and moves a submission to done; the ledger filter by status returns it and the audit log names each change. A native-route test also refuses an unauthenticated request and a stale bulk write without partial changes, checks private paged notes and custom statuses, exports the selected workflow cohort, and preserves custody through import undo, erasure and operator removal. Today: Per-form inbox, version-checked atomic bulk status/assignment/tags, private notes, custom statuses and audited changes (`src/core/features/submissions/`, `tests/runtime/submissions.worker.test.ts`).
- WORK-002 — Approval flows — missing. Acceptance: a Worker test routes a $6,000 request through two approvers, one by external link, asserts the decisions and audit, and proves the link cannot be reused or opened for another submission.
- WORK-003 — Multi-person forms — missing. Acceptance: a Worker test completes a two-person form, proves the second person cannot alter part one, and the response counts as completed only after part two.
- WORK-004 — Workflow reminders and escalation — missing. Acceptance: a Worker test advances a fake clock past two reminders and an escalation for a pending approval, then approves and proves no further reminder is queued.
- WORK-005 — Submission PDFs and generated documents — missing. Acceptance: a Worker test renders a submission into a template with recalled values and a filled AcroForm PDF and asserts the text content of both.

### Results

- RSLT-001 — Response summary — done. Tagged tests: `tests/e2e/answer-results.spec.ts`, `tests/e2e/distribution-foundation.spec.ts`, `tests/e2e/imported-results.spec.ts`, `tests/e2e/reporting-counts.spec.ts`, `tests/e2e/text-answer-plurals.spec.ts`, `tests/runtime/journey.worker.test.ts`, `tests/runtime/ledger-filters.worker.test.ts`, `tests/runtime/reporting-bounded.worker.test.ts`.
- RSLT-002 — Drop-off by question — done. Tagged tests: `tests/e2e/answer-results.spec.ts`, `tests/e2e/imported-results.spec.ts`, `tests/e2e/text-answer-plurals.spec.ts`, `tests/runtime/question-counts.worker.test.ts`, `tests/runtime/transition.worker.test.ts`.
- RSLT-003 — Stated denominators — done. Tagged tests: `tests/e2e/answer-results.spec.ts`, `tests/e2e/distribution-foundation.spec.ts`, `tests/e2e/imported-results.spec.ts`, `tests/e2e/reporting-counts.spec.ts`, `tests/runtime/journey.worker.test.ts`, `tests/runtime/ledger-filters.worker.test.ts`.
- RSLT-004 — Device split — done. Tagged tests: `tests/e2e/answer-results.spec.ts`, `tests/e2e/distribution-foundation.spec.ts`, `tests/runtime/journey.worker.test.ts`.
- RSLT-005 — Results across revisions — done. Tagged tests: `tests/e2e/answer-results.spec.ts`, `tests/e2e/reporting-bounded.spec.ts`, `tests/e2e/revision-comparison-http.spec.ts`, `tests/runtime/journey.worker.test.ts`.

### Reports buyers share (target)

- RSLT-006 — Crosstabs — missing. Acceptance: a Worker test crosses a 3-choice question with a 2-choice question over a fixed dataset and asserts every cell, percentage, the chi-square statistic and a suppressed small cell.
- RSLT-007 — Trends over time — partial. Acceptance: a Worker test seeds responses across three months and asserts weekly and monthly NPS, denominators and a revision marker; a period below the minimum shows no value. The native-route journey also checks collector cohorts, primitive-answer shares and CSV; recurring occurrences, program dashboards and ranked/structured-contact shares remain acceptance obligations for the full clause. Today: Zoned day/week/month/quarter score and primitive-answer-share charts, answered denominators, minimum-size gaps, revision markers, collector cohorts and CSV ship (`src/core/features/reporting/trends.ts`, `src/core/features/reporting/trendPeriods.ts`, `src/core/features/results/ui/TrendsPanel.tsx`, `tests/runtime/collectors-trends.worker.test.ts`); DIST-016 recurring occurrences, PROG-003 program dashboards, and shares of ranked/structured contact answers remain unbuilt.
- RSLT-008 — Saved views and dashboards — partial. Acceptance: a browser journey saves a filtered crosstab view, reloads it as another operator, and sees identical figures. Today: filters and revision comparisons ship (`src/core/features/reporting/answerFilter.ts`, `tests/runtime/ledger-filters.worker.test.ts`); saved views do not.
- RSLT-009 — Shared report links — missing. Acceptance: a browser journey opens a shared link without an operator session, sees the aggregates, finds no response ID or identity in the page, and gets 404 after revocation.
- RSLT-010 — Report exports — missing. Acceptance: a Worker test exports a view to each format and asserts each contains the stated filter text and the same counts as the view.
- RSLT-011 — Scheduled report email — missing. Acceptance: a Worker test advances a fake clock to two scheduled sends and asserts two deliveries with aggregates and no answer text or respondent identity.
- RSLT-013 — Views and start rate — done. Acceptance: a browser journey loads a published form three times, starts it twice and completes it once, and results show 3 views, 2 starts and 1 submission with each rate beside its numerator and denominator; a preview load is not counted; a Worker test proves the stored view data holds only revision, source, day and count, with no stored record linking a view to a response; a bot filling the honeypot and a submission under the minimum time are both retained and excluded with their respective reasons, an owner can reverse each exclusion, and a human over the minimum with an empty honeypot is not excluded; elapsed time uses the signed, non-identifying load timestamp returned with the submission, and exclusions and reversals leave view and start counters unchanged while reports distinguish them from accepted responses. Evidence: `tests/runtime/traffic.worker.test.ts`, `tests/runtime/foundation.worker.test.ts`, `tests/e2e/traffic.spec.ts`, `tests/e2e/traffic-review.spec.ts`, `tests/e2e/save-resume.spec.ts`. Signed load timestamps reject tampering, expiry, future times and wrong revisions; load time rather than session age determines quarantine. Browser journeys at 1440 and 390 prove retained honeypot review and release, Other write-ins, resume views pinned across republishing, QR collector links and an ordinary embed inside a business-owned popup. Aggregate views and starts stay unchanged by exclusion and reversal. QR generation and kiosk mode ship under DIST-012; popup tooling remains partial under DIST-013.

- RSLT-012 — Open-text coding — done. Tagged tests: `tests/runtime/coding.worker.test.ts`, `tests/e2e/coding.spec.ts`. Public Worker journeys code 20 answers manually and 20 via validated exact-quote suggestions, reject without assigning, enforce disclosure/workspace/quarantine guards, compare code counts and two-code crosstabs, filter the ledger, and preserve erasure. Browser journeys assign/remove, accept/reject, chart, compare and download the coded cohort at 1440 and 390. `scripts/analysis-data.check.mjs` preserves code assignments and provenance through export/restore.

### Analysis

- ANLY-001 — Analysis run — done. Tagged tests: `tests/e2e/analysis.spec.ts`, `tests/runtime/analysis-run.worker.test.ts`.
- ANLY-002 — Fixed evidence set — done. Tagged tests: `tests/runtime/analysis-run.worker.test.ts`, `tests/runtime/analysis-safety.worker.test.ts`.
- ANLY-003 — Findings — done. Tagged tests: `tests/e2e/analysis.spec.ts`, `tests/runtime/analysis-output.worker.test.ts`.
- ANLY-004 — Exact evidence — done. Tagged tests: `tests/e2e/analysis.spec.ts`, `tests/runtime/analysis-output.worker.test.ts`.
- ANLY-005 — Disclosure threshold — done. Tagged tests: `tests/e2e/analysis.spec.ts`, `tests/runtime/analysis-output.worker.test.ts`.
- ANLY-006 — Recommendations — done. Tagged tests: `tests/e2e/analysis.spec.ts`, `tests/runtime/analysis-output.worker.test.ts`.
- ANLY-007 — Staleness — done. Tagged tests: `tests/runtime/analysis-run.worker.test.ts`.
- ANLY-008 — Provider failure — done. Tagged tests: `tests/e2e/analysis.spec.ts`, `tests/runtime/analysis-safety.worker.test.ts`, `tests/runtime/feedback-rewrites.worker.test.ts`.
- ANLY-009 — Builder assistance — done. Tagged tests: `tests/runtime/feedback-rewrites.worker.test.ts`.
- ANLY-010 — Cost — done. Tagged tests: `tests/runtime/analysis-safety.worker.test.ts`, `tests/runtime/feedback-rewrites.worker.test.ts`.
- ANLY-011 — Evidence provenance — done. Tagged tests: `tests/e2e/analysis.spec.ts`, `tests/runtime/analysis-output.worker.test.ts`.
- ANLY-012 — Output validation — done. Tagged tests: `tests/runtime/analysis-output.worker.test.ts`.
- ANLY-013 — Insufficient evidence — done. Tagged tests: `tests/runtime/analysis-run.worker.test.ts`.
- ANLY-014 — Untrusted evidence — done. Tagged tests: `tests/runtime/analysis-safety.worker.test.ts`.
- ANLY-015 — Analysis policy snapshot — done. Tagged tests: `tests/runtime/analysis-run.worker.test.ts`.
- ANLY-016 — Provider retry — done. Tagged tests: `tests/runtime/analysis-safety.worker.test.ts`.

### Actions and measurement

- ACT-001 — Action record — done. Tagged tests: `tests/e2e/actions.spec.ts`.
- ACT-002 — Action lifecycle — done. Tagged tests: `tests/e2e/actions.spec.ts`, `tests/runtime/actions-lifecycle.worker.test.ts`.
- ACT-003 — External task — done. Tagged tests: `tests/e2e/actions.spec.ts`, `tests/runtime/actions-task.worker.test.ts`.
- ACT-004 — Task failure — done. Tagged tests: `tests/runtime/actions-task.worker.test.ts`.
- ACT-005 — Follow-up measurement — done. Tagged tests: `tests/e2e/actions.spec.ts`, `tests/runtime/actions-measurement.worker.test.ts`.
- ACT-006 — Confirmed task payload — done. Tagged tests: `tests/e2e/actions.spec.ts`, `tests/runtime/actions-task.worker.test.ts`.
- ACT-007 — Task delivery state — done. Tagged tests: `tests/contract/data-release.contract.test.ts`, `tests/e2e/actions.spec.ts`, `tests/runtime/actions-task.worker.test.ts`.
- ACT-008 — Manual recommendation — done. Tagged tests: `tests/e2e/actions.spec.ts`.

### Actions that are chased (target)

- ACT-009 — Action owner reminders — partial. Acceptance: a Worker test advances a fake clock across the review date and asserts the before, on-date and overdue reminders, then a verdict by the owner stops them. Today: review dates are recorded and surfaced when passed (`src/core/features/actions/service.ts`, `tests/runtime/actions-measurement.worker.test.ts`); reminders are not sent.

### Notifications

- NOTIFY-001 — Analysis attention — done. Tagged tests: `tests/runtime/feedback-attention.worker.test.ts`.
- NOTIFY-002 — New-response mail — done. Tagged tests: `tests/e2e/notifications.spec.ts`, `tests/e2e/request-notifications.spec.ts`, `tests/managed-mail.test.ts`, `tests/runtime/notification-restore.worker.test.ts`, `tests/runtime/notifications.worker.test.ts`, `tests/runtime/upgrades.worker.test.ts`.
- NOTIFY-003 — Digest — done. Tagged tests: `tests/managed-mail.test.ts`, `tests/runtime/feedback-digest.worker.test.ts`.
- NOTIFY-004 — No mail loops — done. Tagged tests: `tests/e2e/notifications.spec.ts`, `tests/e2e/request-notifications.spec.ts`, `tests/managed-mail.test.ts`, `tests/runtime/feedback-digest.worker.test.ts`, `tests/runtime/notification-restore.worker.test.ts`, `tests/runtime/notifications.worker.test.ts`, `tests/runtime/upgrades.worker.test.ts`.

### Alerts (target)

- NOTIFY-005 — Answer-based alerts — missing. Acceptance: a Worker test submits a detractor and a promoter and asserts one alert per rule recipient for the detractor only, with no answer text in the email; a second rule (NPS at most 6 AND hidden field `plan` equals `enterprise`) alerts only for the enterprise detractor.
- NOTIFY-006 — Response emails with answers — partial. Acceptance: a Worker test with the mail receiver fixture adds a rule with a non-operator recipient, recall in subject and body, and Reply-To from an email question; the address confirms; a response with an `<b>bold</b>` answer and a sensitive answer yields one delivery to that address with the escaped answers, Reply-To equal to the respondent's typed address and the sensitive value absent; a second rule conditioned on "Enterprise" delivers only for that answer, and a third whose condition is (company size at least 50 OR email ends with `example.com`) delivers only when either holds; a Reply-To value containing CRLF is refused; the same rule on a HIPAA-mode form delivers no answer text; an unsubscribe stops the next delivery. Today: Durable, answerless per-operator new-response mail with the saved business identity ships (`src/core/features/notifications/dispatcher.ts`, `src/core/features/notifications/compose.ts`, `tests/runtime/notifications.worker.test.ts`, `tests/e2e/notifications.spec.ts`); answers, non-operator recipients, rules and Reply-To do not.

### Data

- DATA-001 — Export contents — done. Tagged tests: `tests/contract/data-release.contract.test.ts`, `tests/runtime/analysis-safety.worker.test.ts`, `tests/runtime/archive-stream.worker.test.ts`, `tests/runtime/install-restore.worker.test.ts`, `tests/runtime/notification-restore.worker.test.ts`.
- DATA-002 — Response erasure — done. Tagged tests: `tests/e2e/answer-results.spec.ts`, `tests/runtime/analysis-safety.worker.test.ts`, `tests/runtime/feedback-digest.worker.test.ts`, `tests/runtime/import-erasure-custody.worker.test.ts`, `tests/runtime/import-privacy.worker.test.ts`, `tests/runtime/journey.worker.test.ts`, `tests/runtime/local-mail-erasure.worker.test.ts`, `tests/runtime/notification-restore.worker.test.ts`, `tests/runtime/notifications.worker.test.ts`.

### Regulated, accessible and retained collection (target)

- GOV-001 — HIPAA mode — missing. Acceptance: a Worker test enables HIPAA mode, proves a PHI form's alert and digest contain no answers, a Slack connection without a recorded BAA is refused, an AI analysis is refused until the AI provider BAA is recorded, and a ledger view writes an audit entry.
- GOV-002 — Data location — missing. Acceptance: a deployment dry run with a US jurisdiction writes it into the generated Worker configuration, and the settings page and export manifest name it.
- GOV-003 — Retention schedules — done. Owner-only per-form opt-in overrides BASE-DATA-002 only for that form. Released, quarantined and private PART-002 saves receive at least seven days of in-app notice, including already-aged data and a fresh window after hold release; hold also pauses private-save expiry without reviving expired links. DATA-002 erasure recomputes aggregates and redacts/stales analyses and removes imported custody. FILE-001/SIGN-001/PAY-001/PART-001 inherit these rules before shipping. Tagged tests: `tests/runtime/retention-schedule.worker.test.ts`, `tests/e2e/retention.spec.ts`. Acceptance: set 30 days, advance through notice and deletion, retain all existing classes on hold, release into fresh grace, refuse non-owner and stale changes, and exercise the settings at 1440 and 390.
- GOV-004 — Sensitive fields — missing. Acceptance: a Worker test reads the raw D1 row and finds ciphertext only; an Analyst sees a mask; an Admin reveal writes an audit entry; an analysis run's provider request contains no sensitive value.
- GOV-005 — Audit log viewer — partial. Acceptance: a browser journey performs an export and a role change and finds both in the audit viewer and its CSV export. The existing native-route journey separately proves actor/form/activity/time filters, bounded pagination, safe details, snapshot CSV stability across later writes, workspace isolation and actor tombstoning; the role-change and missing event-family journey remains required. Today: Bounded actor/form/activity/time viewer and snapshot CSV export are implemented (`src/core/features/audit/`, `tests/runtime/audit-viewer.worker.test.ts`). ROLE-001 roles and missing publish/export/reveal/connection event families remain unbuilt; current equal operators share access.
- GOV-006 — Respondent privacy requests — partial. Acceptance: a Worker test seeds data across three forms for one email, exports the bundle, deletes it, and asserts DATA-002 effects plus a deletion call to a connected Google Sheet fixture. Today: response and contact erasure ships (`tests/e2e/answer-results.spec.ts`, `tests/runtime/analysis-safety.worker.test.ts` under DATA-002); cross-form lookup, access export and integration deletion do not.
- GOV-007 — Marketing and messaging consent — partial. Acceptance: a Worker test submits one response with marketing consent and one without and asserts only the first reaches the Mailchimp receiver fixture with its consent wording and time; a form marked as the email-marketing opt-in shows its wording above the submit button, a submitted response stores a consent record with that wording and time and reaches the Mailchimp fixture, and publishing a form that marks itself as the SMS-marketing opt-in is refused. Today: consent questions retain the immutable published statement (FLOW-019, `tests/runtime/new-question-types.worker.test.ts`); purpose binding, form-level opt-in and gating do not.

### Form imports

- IMPORT-001 — Reviewed definition — done. Tagged tests: `tests/e2e/form-import.spec.ts`, `tests/e2e/google-forms-import.spec.ts`, `tests/runtime/form-import.worker.test.ts`, `tests/runtime/google-form-import.worker.test.ts`.
- IMPORT-002 — Reviewed CSV — done. Tagged tests: `tests/e2e/form-import.spec.ts`, `tests/e2e/google-forms-import.spec.ts`, `tests/e2e/import-acknowledgement.spec.ts`, `tests/e2e/import-cancellation.spec.ts`, `tests/e2e/import-preparation.spec.ts`, `tests/e2e/import-privacy.spec.ts`, `tests/e2e/import-progress.spec.ts`, `tests/e2e/import-row-errors.spec.ts`, `tests/e2e/import-wide-row-errors.spec.ts`, `tests/runtime/form-import.worker.test.ts`, `tests/runtime/google-form-import.worker.test.ts`.
- IMPORT-003 — Historical privacy and pinning — done. Tagged tests: `tests/e2e/form-import.spec.ts`, `tests/e2e/google-forms-import.spec.ts`, `tests/e2e/import-acknowledgement.spec.ts`, `tests/e2e/import-privacy.spec.ts`, `tests/e2e/import-row-errors.spec.ts`, `tests/e2e/ledger-filters.spec.ts`, `tests/runtime/form-import.worker.test.ts`, `tests/runtime/google-form-import.worker.test.ts`, `tests/runtime/import-erasure-custody.worker.test.ts`, `tests/runtime/import-privacy.worker.test.ts`, `tests/runtime/ledger-filters.worker.test.ts`.
- IMPORT-004 — Durable replay and reversal — done. Tagged tests: `tests/e2e/form-import.spec.ts`, `tests/e2e/google-forms-import.spec.ts`, `tests/e2e/import-acknowledgement.spec.ts`, `tests/e2e/import-cancellation.spec.ts`, `tests/e2e/import-preparation.spec.ts`, `tests/e2e/import-progress.spec.ts`, `tests/e2e/import-wide-row-errors.spec.ts`, `tests/e2e/imported-results.spec.ts`, `tests/runtime/form-import.worker.test.ts`, `tests/runtime/google-form-import.worker.test.ts`, `tests/runtime/import-erasure-custody.worker.test.ts`, `tests/runtime/import-privacy.worker.test.ts`.

### Moving in from every incumbent (target)

- IMPORT-005 — SurveyMonkey migration — missing. Acceptance: a Worker test imports a documented SurveyMonkey API v3 survey and response fixture with logic, a matrix, an "Other (please specify)" answer and a descriptive-text item, asserts the write-in lands on the Other choice and the text becomes a statement step, asserts an advanced-branching rule with two AND conditions arrives as one LOGIC-006 rule, asserts the review lists every element's outcome, and undo removes it all.
- IMPORT-006 — Jotform migration — missing. Acceptance: a Worker test imports a Jotform API fixture with an Any-linked condition using `contains` and `isEmpty`, a calculation, an upload, a payment field, a radio field answered with Other text, a paragraph field and an input mask, and asserts each outcome, the condition as one LOGIC-006 rule, the copied file, the write-in on the Other choice, the statement step and the mask.
- IMPORT-007 — Typeform and Google Forms by connection — partial. Acceptance: Worker tests retrieve definition and responses from Typeform and Google Forms API fixtures, assert hidden fields map to declared fields, assert a Typeform theme fixture becomes a BRAND-002 theme in the review with its colors, background and brightness, assert a Typeform `and` jump over a field, a hidden field and a `contains` condition arrives as one LOGIC-006 rule, assert the Typeform meta settings arrive as DIST-020 settings, assert a fixture that adds 10 to `score` when one choice is picked and jumps when `score` is greater than or equal to 10 imports as LOGIC-004 points and a LOGIC-006 rule that routes that choice and no other, with no unsupported item, assert a `price` built by `multiply` and `divide` actions arrives as one LOGIC-003 expression whose stored total matches Typeform's for three answer sets, assert an opinion scale with `start_at_one: false`, 7 steps and three labels arrives as a FIELD-016 0–6 scale with those labels, assert a mid-flow Typeform Statement, a group and an Other write-in and a Google Forms text item and `isOther` answer arrive as statement steps, a group and Other write-ins, and assert no credential is retained. Today: Typeform definitions are retrieved by token into the reviewed import (`src/core/features/importing/typeform-definition.ts`, `tests/runtime/typeform-definition.worker.test.ts`); Google Forms and Typeform responses import from files (`tests/e2e/google-forms-import.spec.ts`, `tests/e2e/form-import.spec.ts`); Typeform calculation actions are reported unsupported (`src/core/features/importing/logic.ts`).
- IMPORT-008 — Up-and-comer and Microsoft exports — missing. Acceptance: one Worker fixture per source imports a form with branching, an Other write-in and a text block and its responses, asserts the write-in and the statement step, and undoes it.
- IMPORT-009 — Migration checklist — missing. Acceptance: a Worker test imports a Typeform fixture with a webhook and a Google Sheets integration and asserts both appear as unchecked items that close when the matching connections exist, and that the checklist names the old public link as one Pencil cannot redirect; a pasted Typeform popup snippet with `data-tf-transitive-search-params="utm_source,gclid,ref"` and `data-tf-hidden="source=site"` yields a popup Pencil snippet with `data-pencil-forward="utm_source,gclid"` and `data-pencil-source="site"`, and lists `ref` as undeclared with its declare action; the Typeform fixture's HubSpot integration item opens the INTEG-003 mapping with its one email question pre-chosen as the contact key.

### Payments

- PAY-001 — Stripe payments on a form — missing. Acceptance: a Worker test with a Stripe receiver fixture completes a paid order, asserts the amount sent equals the calculated total, marks paid only on a correctly signed webhook, ignores a forged one, and leaves an abandoned Checkout as expired; a browser journey with the Stripe fixture returns from success to the branched completion screen, and returns from cancel to the payment step with every answer shown and one response after a second attempt.
- PAY-002 — Sales tax, coupons and receipts — missing. Acceptance: a Worker test with fixture tax and coupon responses asserts the stored subtotal, discount, tax and total columns.
- PAY-003 — Subscriptions and donations — missing. Acceptance: a Worker test starts a subscription and a custom donation and asserts both statuses and a later cancellation event on the response.
- PAY-004 — ACH and other US payment methods — missing. Acceptance: a Worker test drives an ACH payment through processing to succeeded and to failed, and a PayPal fixture order to paid.
- PAY-005 — Payment ledger and refunds — missing. Acceptance: a browser journey refunds $10 of a $40 payment, sees `partially refunded` after the webhook, and the payments export shows both amounts.

### Files and signatures

- FILE-001 — File-upload questions — missing. Acceptance: a browser journey uploads a PDF and a JPEG, a renamed executable is refused, the operator downloads the PDF through a signed URL that expires, and deleting the response deletes the R2 objects.
- FILE-002 — Storage sync — missing. Acceptance: a Worker test with a Google Drive receiver fixture copies two uploads into a per-response folder and retries a transient failure with the same idempotency key.
- FILE-003 — Upload scanning — missing. Acceptance: a Worker test with a scanner receiver fixture marks one EICAR test file infected and keeps it from download and sync while a clean file proceeds.
- SIGN-001 — Signature fields — missing. Acceptance: a browser journey signs a form by drawing, the signed PDF contains the consent text, signature and hash, and a recomputed hash over the stored answers matches.
- AI-003 — Document extraction with respondent correction — missing. Acceptance: a Worker test with the AI receiver fixture extracts three fields from a fixture invoice, the respondent corrects one, and the response stores two `extracted` and one `corrected` values.

### Feedback programs (NPS, CSAT, CES)

- PROG-001 — Program setup — partial. Acceptance: a Worker test creates a quarterly NPS program and a transactional CSAT program for overlapping contacts and asserts the fatigue rule suppresses the second survey inside the window. Today: NPS questions and an NPS template ship (`src/core/features/flows/templates.ts`, `tests/runtime/new-question-types.worker.test.ts`); programs do not.
- PROG-002 — Transactional triggers — missing. Acceptance: a Worker test posts a HappyToHelp "ticket solved" event twice and asserts one CSAT invitation after the delay, with the ticket ID on the response and in the per-agent CSAT report.
- PROG-003 — Score tracking — missing. Acceptance: a Worker test seeds a quarter of responses and asserts weekly NPS, its margin of error and the per-agent CSAT table against hand-computed values.
- PROG-004 — Closed-loop follow-up — missing. Acceptance: a Worker test submits an identified detractor and asserts a follow-up item, a ticket created at the help-desk receiver fixture with the confirmed fields only, and a closed item counted in the follow-up rate.

### Integrations

- INTEG-001 — Google Sheets — missing. Acceptance: a Worker test with a Sheets receiver fixture backfills three responses, appends a fourth, adds a column after a republish, and deletes a row on erasure.
- INTEG-002 — Microsoft Excel — missing. Acceptance: a Worker test with a Graph receiver fixture appends rows to a workbook table and deletes one on erasure.
- INTEG-003 — HubSpot — missing. Acceptance: a Worker test with a HubSpot receiver fixture publishes a form in the default anonymous mode whose disclosure names HubSpot, with an email question chosen as the contact key, a company question mapped to `company` and a `utm_campaign` hidden field mapped to a contact property, and asserts that (1) a response opened with `?utm_campaign=spring` that types `lead@example.com` produces one contact upsert by that email carrying the mapped company and `utm_campaign=spring`, and Pencil's stored response has no contact link or participant (RESP-006); (2) a second response typing the same email in a different case updates that contact and creates no new one; (3) a response that leaves the optional email blank sends nothing and records a skipped delivery naming "no contact email"; (4) the same form republished with a disclosure that omits HubSpot sends nothing; (5) a mapping to a property the fixture account lacks is refused at save, and the refusal names the property; a blank answer leaves the fixture's existing value in place; a replayed delivery creates no second contact; a property deleted in the fixture after saving yields a failed INTEG-015 delivery carrying HubSpot's error reason; a RESP-023 identified response with `?email=` and no chosen email question upserts by the link-supplied email; and on a PART-001 form with early upsert, answering the email step and abandoning sends one contact marked `partial`, and completing a second session with the same email updates it to `completed`.
- INTEG-004 — Salesforce — missing. Acceptance: the INTEG-003 journey against a Salesforce receiver fixture: a default anonymous form typing `lead@example.com` upserts one Lead carrying the mapped company and `utm_campaign=spring`, a second response in a different case updates that Lead, a blank email sends nothing, a disclosure omitting Salesforce sends nothing, a mapping to a field the fixture org lacks is refused at save naming the field, an email matching an existing Contact updates the Contact and creates no Lead, and a field-type mismatch introduced after saving is reported as a failed delivery with its reason.
- INTEG-005 — Orbit — missing. Acceptance: a Worker test with an Orbit receiver fixture sends a default anonymous response typing `lead@example.com` and finds one Orbit contact carrying the mapped company and `utm_campaign`, a second response in a different case updates it, a blank email sends nothing, a mapping to a missing custom field is refused at save naming it, and an Orbit-initiated invitation is accepted for one contact.
- INTEG-006 — Slack and Microsoft Teams — missing. Acceptance: a Worker test with Slack and Teams receiver fixtures posts a new response, refuses sensitive fields, and creates an action from the Slack interaction payload after verifying its signature.
- INTEG-007 — Mailchimp and Mango — missing. Acceptance: a Worker test with a Mailchimp receiver fixture publishes a form in the default anonymous mode whose disclosure names Mailchimp, with an email question chosen as the member key, a name question mapped to `FNAME`, an interest choice mapped to tags, a fixed tag `newsletter-form` and a consent question bound to email marketing, and asserts that (1) a response typing `Reader@Example.com` with consent produces one member upsert by that email (the fixture receives the lower-case subscriber hash) carrying `FNAME`, the interest tag and `newsletter-form`, with status `subscribed`, and Pencil's stored response has no contact link or participant (RESP-006); (2) a second response typing the same email in a different case updates that member and adds no new one; (3) a response without consent and one that leaves the email blank each send nothing and record a skipped delivery naming "no marketing consent" and "no member email"; (4) a fixture member already unsubscribed stays unsubscribed with its merge fields unchanged, and that delivery is recorded as skipped naming "unsubscribed"; (5) a mapping to a merge field the fixture audience lacks is refused at save naming the field, and so is a form that leaves the fixture's required `LNAME` unmapped; (6) with pending status chosen, a new member arrives as `pending`; a blank name answer leaves the fixture's existing `FNAME` in place; a replayed delivery adds no second member; a merge field deleted in the fixture after saving yields a failed INTEG-015 delivery carrying Mailchimp's error reason; a RESP-023 identified response with `?email=` and no chosen email question upserts by the link-supplied email; a form using GOV-007's form-level opt-in, with no consent checkbox, delivers its typed email; and the same journey against a Mango receiver fixture adds one list member with the mapped field and tags.
- INTEG-008 — Notion, Airtable and Cradle — missing. Acceptance: a Worker test creates one record in each receiver fixture and retries a rate-limited Airtable call after its `Retry-After`; against the Airtable fixture, a form maps a choice to a single select, a multiple-choice answer to a multiple-selects column, a date and a number, and the created record carries those values; a choice with an option the select column lacks is refused at save naming the option, and is accepted and delivered with `typecast` once "add missing options" is on; a mapping to a column the fixture table lacks is refused at save naming it; an edited response updates the same record; a column deleted in the fixture after saving yields a failed INTEG-015 delivery carrying Airtable's error reason; and against the Notion fixture the record is a page whose title, `select` and `multi_select` properties carry the mapped answers.
- INTEG-009 — Zapier, Make, n8n and Crank — missing. Acceptance: a Worker test subscribes a REST-hook trigger the way Zapier does, receives a new-response event, and unsubscribes; the published app definition validates with the Zapier CLI in CI; each documented recipe's sample payload (ActiveCampaign, Pipedrive, monday.com, Zoho CRM) validates against the trigger's published output schema.
- INTEG-010 — Signed response webhooks — partial. Acceptance: a Worker test receives a signed event, verifies the signature, returns 500 twice and sees two retries with the same event ID, then replays it; a disabled endpoint shows its alert. Today: confirmed-action task webhooks with durable attempts and one idempotency key ship (`src/core/features/actions/webhook.ts`, `tests/runtime/actions-task.worker.test.ts`); response-event webhooks do not.
- INTEG-011 — Public REST API — partial. Acceptance: a Worker test creates a read-only token, pages through 250 responses, is refused a delete, and the OpenAPI document validates; a `forms:write` token creates a branching form and publishes it, and a definition with a dangling branch is refused with the step ID. Today: authenticated, session-only JSON routes serve the ledger and exports (`src/core/features/reporting/routes.ts`, `tests/runtime/ledger-filters.worker.test.ts`); there are no tokens, versioning or OpenAPI document.
- INTEG-012 — MCP server for Claude and ChatGPT — missing. Acceptance: a Worker test connects an MCP client over OAuth, drafts a form, queries a suppressed cohort and receives no excerpts, and a proposed invitation stays unsent until confirmed in the app.
- INTEG-013 — Task destinations — partial. Acceptance: a Worker test sends one action to each receiver fixture, repeats delivery without creating a second task, and reads back a closed status. Today: Todoist and the generic webhook destination ship with idempotent delivery (`src/core/features/actions/todoist.ts`, `src/core/features/actions/webhook.ts`, `tests/runtime/actions-task.worker.test.ts`).
- INTEG-014 — Help-desk and commerce event sources — missing. Acceptance: a Worker test verifies each source's webhook signature, refuses an unsigned event, and sends an account score to a Buoy receiver fixture.
- INTEG-015 — Integration delivery ledger — partial. Acceptance: a Worker test breaks a Sheets connection, collects five responses, sees five failed deliveries and an alert, repairs the connection, replays, and asserts five confirmed rows with no duplicates. Today: task deliveries record state, attempts and idempotency keys (`src/core/features/actions/deliveries.ts`, `tests/runtime/actions-task.worker.test.ts`).
- INTEG-016 — Connection custody — partial. Acceptance: a Worker test connects, tests, revokes and reconnects a Sheets connection, proves the export excludes the token, and the attached form's disclosure gains and loses Google Sheets. Today: AI and task connections are set on their pages, stored with authenticated encryption, tested without echoing the key, and removable (`src/core/platform/config/connections.ts`, `tests/e2e/actions.spec.ts`, `tests/e2e/analysis.spec.ts`).
- INTEG-017 — Ad conversion events — partial. Acceptance: a Worker test with Meta Conversions API, GA4 Measurement Protocol and Google Ads receiver fixtures submits a response opened with `?fbclid=…&gclid=…&utm_campaign=spring` on a form whose disclosure names all three, and asserts exactly one Meta event, one GA4 event and one Google Ads click conversion per submission, with the declared click IDs, one shared event ID and no answer text; a `paid` event carries the verified amount; a response sent with `Sec-GPC: 1` produces no event; an anonymous form whose disclosure does not name Meta produces no event, and its stored response holds no click ID; a hashed email appears only for an identified form; a direct-link response opened with `?gclid=…` and no client ID produces one Google Ads click conversion, no GA4 event and a skipped GA4 delivery naming the reason, while the same link with `&ga_client_id=…` produces one GA4 event carrying that client ID; a browser journey on a host fixture at `/landing?gclid=G1&fbclid=F1` whose script embed forwards both produces one Google Ads click conversion carrying `G1` and one Meta event whose `fbc` is built from `F1`, and the same host page with a `_ga` cookie and `data-pencil-ga4="cookie"` produces one GA4 event carrying that cookie's client ID; a browser journey on a host fixture with a `dataLayer` sees one `pencil_completed` push carrying no answer or response ID. Today: The script embed already dispatches a bubbling `pencil:completed` event on the host page with no answers or identifiers (`src/core/features/embedding/script.ts`, `tests/e2e/script-embed.spec.ts`); there is no `dataLayer` push, event ID or server-side conversion connection.

### Mobile and offline

- MOB-001 — Operator app on a phone — partial. Acceptance: browser journeys at phone width build and publish a form, review a response and approve a submission. Today: Axe and keyboard checks cover the operator shell, builder and reports at declared viewports (`tests/e2e/accessibility-foundation.spec.ts`). The submission inbox ships under WORK-001; complete 360-pixel journeys over every operator page and approval flows remain unproved.
- MOB-002 — Offline field collection — missing. Acceptance: a browser journey goes offline, completes three responses, comes back online, and the ledger shows exactly three with capture times earlier than upload times.
- MOB-003 — Native iOS and Android apps — missing. Acceptance: a Maestro flow runs in CI on an iOS Simulator and an Android Emulator against a local installation: it signs in, receives the push the installation sends for a new response (through APNs and FCM receiver fixtures, delivered to the devices with `xcrun simctl push` and `adb`), and approves a submission from the notification.

### Push further

- AGENT-001 — Study designer — partial. Acceptance: a Worker test with the AI receiver fixture turns a question into a draft whose graph validates, whose bias check flags a planted leading question, and which stays a draft until an operator publishes it. Today: the agent proposes guarded sharper or broader rewrites of saved questions that apply only on acceptance (`src/core/features/analysis/rewrites.ts`, `tests/runtime/feedback-rewrites.worker.test.ts`).
- AGENT-002 — Themes and contradictions — partial. Acceptance: a Worker test seeds promoters whose open text complains about price and asserts one contradiction citing both cohorts with verified excerpts, and no contradiction in a suppressed cohort. Today: evidence-checked themes, exact excerpts and suppression ship (`src/core/features/analysis/runner.ts`, `src/core/features/analysis/validate.ts`, `tests/runtime/analysis-output.worker.test.ts`); contradiction finding does not.
- AGENT-003 — Follow-up that settles it — missing. Acceptance: a Worker test proposes a follow-up for a seeded contradiction, targets only consenting contacts, and launches nothing until approval.
- AGENT-004 — Finding into owned work, and the outcome checked — partial. Acceptance: a Worker test accepts a finding, sends the confirmed task, reads it closed, proposes and (after approval) launches the re-survey, and reports a difference with its interval while the verdict stays unset. Today: owned actions, confirmed task payloads and human-interpreted comparable measurements ship (`src/core/features/actions/service.ts`, `tests/runtime/actions-measurement.worker.test.ts`).
- AGENT-005 — Feedback-loop sentinel — partial. Acceptance: a Worker test breaks a connection and a reminder schedule, and the sentinel reports both with the exact affected IDs and a replay that runs only after approval. Today: task delivery failures, completion-path metrics and analysis attention are visible (`src/core/features/actions/deliveries.ts`, `src/core/features/responses/completionMetrics.ts`, `src/core/features/analysis/attention.ts`).
- AGENT-006 — Adaptive probe — missing. Acceptance: a browser journey with the AI receiver fixture answers a probe-able question, sees one labeled follow-up, and the ledger stores the generated prompt and answer; a fixture prompt asking for an email is refused before display.
- AGENT-007 — Close-the-loop drafter — missing. Acceptance: a Worker test drafts a reply for an identified detractor citing its excerpt, refuses an anonymous one, and nothing is sent until the owner clicks Send.
- AGENT-008 — Completion optimizer — missing. Acceptance: a Worker test seeds drop-off on one step, receives a proposal for that step, runs an approved two-revision experiment with balanced assignment, and reports both completion rates with intervals.
- AGENT-009 — Migration agent — partial. Acceptance: a Worker test with Typeform fixtures inventories three forms, imports the two approved, leaves the third, and reports the checklist. Today: single Typeform definitions are retrieved by token into the reviewed import (`src/core/features/importing/typeform-definition.ts`, `tests/runtime/typeform-definition.worker.test.ts`).
