# Acceptance

Generated from [CONTRACT.md](CONTRACT.md). Edit the contract, then run `node src/base/contract-docs.mjs write`.

## WORK-001 — Visual multi-step workspace

Status: partial.

An operations lead creates, names, folders, searches, duplicates and connects workflows in a visual node-and-edge editor without code: steps are filled by picking account resources and fields by name (CONN-019) and routes are built with WORK-013 conditions, never by typing IDs or writing expressions. Each workflow has an owner, description, trigger, typed steps and enabled state; its graph shows branches, data lineage and validation errors. Every edge shows real sample data from WORK-014 step tests (recent records loaded from the connected account, the next real delivery, an earlier run, an action’s real response, or an explicitly labeled manual sample), with that sample’s source, so a builder sees what a field actually contains before mapping it. Draft edits and sample tests cannot send production actions unless explicitly authorized: a live action test needs its own WORK-014 confirmation naming the effect and account. Publishing a version is itself the authorization for that version’s declared steps on its bound connections (TEAM-004); limits and approval steps are opt-in. **Acceptance evidence:** From the builder, connect a new lead trigger to a filter, CRM lookup, invoice draft and notification; test the trigger to load recent real leads from the connected test account and pick one, test each step and inspect the sample data and its named source at every edge, correct a missing required field, save and reopen the same graph, then publish it deliberately and observe its next triggered run complete with no further authorization step.

Current evidence: `tests/app.test.mjs` — Native visual drafting builds named branches, fences stale and unauthorized saves, and preserves published execution (native form construction, typed named fields, field-linked errors, saved draft reopening, immutable publication and exact branch results); `tests/editor-browser.mjs` — Native visual editor (installed manual graph construction without entering identifiers, expressions or graph JSON; typed values, named lineage, correction, step and route ordering, reconnection, reopening, stale and revoked-builder refusal, no production effects during editing, separate deliberate publication and both exact branch outputs; keyboard operation and screens at 1440 and 390); existing flow and graph journeys in `tests/crank.test.mjs`

Remaining gap: Bounded manual native graph editing is implemented for map, filter, paths, elapsed delays and respond steps. Full account resources and field pickers under CONN-019, source-labelled WORK-014 samples on every edge, provider step tests with explicit effect and account confirmation, broader step editing, actual buyer bindings and the complete lead, filter, CRM lookup, invoice and notification provider journey remain required. Missing QuickBooks Online sandbox bindings (QUICKBOOKS_CLIENT_ID) for that provider acceptance; historical held statements provide no current binding.

## WORK-002 — Mapping, formatting and conditional routes

Status: partial.

Builders map nested fields and files between steps, validate against connector schemas, format US dates, timezones, USD amounts and decimals, transform text, numbers, dates and JSON with the WORK-012 built-in transforms, and choose filters and exclusive or parallel paths with the WORK-013 condition language. Missing, null and empty values stay distinct; invalid mappings name the field and prevent an unintended write. A public file URL mapped into a file input (for example a Typeform upload link) is fetched into a file reference with name, type and size under SEC-002 egress rules and the CONN-005 size and type bounds; a refused address, redirect into a private network, timeout, oversize or non-2xx response fails with the named error `file fetch failed` and no write. **Line items.** Connector schemas mark line-item arrays (deal line items, order lines, invoice and bill lines, cart items), and an array maps to an array: one source with N lines produces one destination record with N lines, never only the first line and never one record per line unless the builder chooses a loop (WORK-003). Each line maps its own description, product/item reference, quantity, unit price, amount, discount, tax code or taxable flag and class/location where the destination has them. A **line-itemizer** transform builds line-item arrays when a source has none: from comma-separated or mapped values, by splitting a delimited field, or by zipping parallel lists (names, quantities, prices) into line objects, with unequal list lengths a named error. USD line amounts are exact decimal cents: line totals, discounts, tax and shipping reconcile to the source total to the cent, and a mismatch, a zero-line source or a line missing a required field routes to a named validation failure instead of writing a partial or empty record. **Acceptance evidence:** Use the builder with a US lead containing nested addresses, a missing optional field and a USD amount; test both qualifying and filtered branches, a null value and invalid currency input, then inspect the exact mapped destination payload. Map a HubSpot deal with 3 line items (one discounted, one non-taxable) and a Square order with 4 lines into QuickBooks Online sandbox draft invoices: readback shows 3 and 4 lines with matching quantities, amounts and tax codes, and each invoice total equals its source total to the cent; build a 2-line invoice with a line-itemizer step from comma-separated sheet values; zip parallel lists of unequal length and verify a named error; send a zero-line source and verify a named validation failure and no invoice created. Map a Typeform file-upload URL into a Google Drive upload and verify the file by readback with its name, type and size; map a URL that redirects to a private-network address and verify `file fetch failed` with no request past the refusal and no write.

Current evidence: `src/crank/engine/mapping.ts`; `src/crank/engine/transforms/index.ts`; `src/crank/connectors/files.ts`; `tests/logic.test.mjs` (WORK-012 and WORK-002: no-code transforms, exact USD math, business days and line items write exact payloads or nothing); `tests/connections.test.mjs` (Native financial effects reconcile after restart, continue once and require separate compensation approval); `tests/effect-readback-journey.mjs` (quickbooksInputJourney: nested Invoice and RefundReceipt schemas, literal save and publication refusal, resolved validation after restart, exact three and four lines, discounts and tax, optional defaults, distinct missing, null and empty diagnostics, zero-line refusal with no provider write; quickbooksReconciliationJourney: unchanged uncertain readback, continuation and separately approved compensation); `tests/financial-browser.mjs` (indexed mapping errors in the editor and retained run at 1440 and 390)

Remaining gap: Other connector schemas, live field discovery and refresh, and all remaining mapping and file obligations remain open. Missing HubSpot and Square sandbox accounts, Typeform upload account and QuickBooks Online sandbox bindings (QUICKBOOKS_CLIENT_ID); the earlier QuickBooks-held premise is superseded. Google resources were historically held. Actual HubSpot deal and Square order to QuickBooks three and four line invoices with cent-accurate provider readbacks, Typeform upload to Drive file custody and readback, and private-redirect acceptance remain required.

## WORK-003 — Loops, joins and batch processing

Status: done.

Workflows paginate source datasets, iterate records with bounded concurrency, aggregate results and merge streams by explicit keys and join policy. Per-item success and failure remain inspectable; resumption preserves completed items and does not repeat their effects. Ordering and empty-input behavior are declared. **Acceptance evidence:** Run a paginated order batch through a loop and two branches, join by order ID, interrupt after some invoices are created and resume; inspect unmatched records and confirm each completed order retains one invoice.

Current evidence: `src/crank/engine/loop.ts`; `src/crank/engine/graph.ts`; `src/crank/engine/executor.ts`; `src/crank/engine/steps/join.ts`; `src/crank/connectors/pagination.ts`; `tests/batch.test.mjs`; `tests/pagination.test.mjs` (WORK-003)

Remaining gap: None.

## WORK-004 — Durable delay and event waits

Status: done.

Delay-until, interval waits and callback/event waits persist across restarts and deployments without holding a browser open. The owner sets timezone, expiry, business calendar and cancellation policy; late or duplicate callbacks do not resume a step twice. A **delay queue** step serializes runs through a named queue that any workflow in the workspace can share: each run waits until the queue’s previous item has been released plus a declared spacing, items release once each in arrival order, the queue survives restarts and deployments, and its depth, oldest item and next release time are visible. A named delay queue has exactly one spacing policy. A second workflow declaring the same queue with different spacing fails visibly at declaration and leaves existing queued work unchanged. To share a queue, use the same spacing; otherwise use a distinct queue name. No workflow can silently accelerate another workflow’s pending work. Pausing blocks new, queued and running next-step dispatch. Only runs actually waiting or awaiting approval at the pause retain a frozen continuation when their version chose `continue` (the default when omitted) or `cancel_on_new_version`; `cancel_on_pause` cancels them. Replacement permits only runs actually waiting or awaiting approval at replacement whose old version chose `continue`, on that frozen graph with live connection and authority checks at every step. These exceptions are persisted at the pause or replacement, never inferred from a historical wait. Unpublishing retires the version and stops every old dispatch and wait with no exception. **Acceptance evidence:** Publish a two-business-day follow-up, stop the executor while waiting, resume after a timezone/DST boundary and deliver the same callback twice; observe one continuation, or the configured timeout branch if the deadline passes. Send 5 runs from two workflows into one named delay queue with 1-minute spacing and restart the service mid-queue; verify each releases once, in arrival order, at least 60 seconds after the previous. While work is queued, declare that queue from a second workflow with different spacing; verify visible refusal at declaration and that the queued work, spacing, order and release times are unchanged. Verify the second workflow can share the queue with the same spacing or use a distinct queue name without accelerating the existing queued work.

Current evidence: `src/crank/engine/steps/flow.ts`; `src/crank/engine/records.ts`; `src/crank/ops/delay-queues.ts`; `src/crank/ops/scheduler.ts`; `src/crank/triggers/callbacks.ts`; `tests/logic.test.mjs` (WORK-004: storage interruption, concurrent release, restart, DST, expiry and cancellation)

Remaining gap: None.

## WORK-005 — Isolated code steps and external executors

Status: partial.

Technical builders run JavaScript/TypeScript and Python transformations with declared inputs, outputs, dependency versions, time/memory limits and allowed egress. Heavy ETL, browser and long-lived jobs use authenticated owner-deployed executors with durable task identity, cancellation and results. Code cannot read unrelated connections, host secrets or another run. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** From a published workflow run a code transformation and a remote Python job; exceed a limit, attempt unauthorized egress and cancel a long job; inspect explicit failures and verify a restart reconciles the remote task without launching a duplicate. Declare a nested output schema: reject malformed/unsupported declarations, pass matching values without coercion, stop mismatched results before downstream effects and validate the same task under the immutable schema after restart. Current structural schema semantics and bounds are documented in docs/API.md; other WORK-005 obligations remain in scope.

Current evidence: `src/crank/executors/step.ts`; `src/crank/executors/output-schema.ts`; `src/crank/executors/scheduler.ts`; `executors/linux/server.mjs`; `executors/linux/sandbox.mjs`; `tests/executors.test.mjs`; `tests/executor-linux.mjs`; `tests/executor-browser.mjs`; `tests/executor-schema-browser.mjs`

Remaining gap: Published isolated Python/JavaScript/TypeScript jobs, optional bounded structural output schemas (invalid declarations refused, result mismatches stop downstream work with a value-free JSON Pointer diagnostic), durable task readback, bounded requests, cancellation and crash refusal, per-process address-space/time/network isolation, inactive task-reference restore and run erasure. Gap: network-enabled jobs, versioned third-party dependencies, aggregate task-memory quotas and heavier browser/ETL executors; executor transport retains HTTP-002’s enforcing-egress gap.

## WORK-006 — Reusable subflows and recipes

Status: partial.

Teams create versioned subflows with typed inputs/outputs and reusable API/data-pipeline recipes, install reviewed community templates, and choose explicit update versions. Templates include connector requirements and sample tests but no credentials or production authority. Parent runs link to child histories and cancellation. DATA-001 applies before this capability ships: include its recipes and subflows in the versioned portable inventory and restore them without execution or receiving authority. **Delivered pure-subflow slice (owner-only pure registry and use approved by ct, 23 October 09:30Z):** Native owners create immutable numbered definitions with typed top-level inputs and outputs and at most 20 bounded pure trim, case, literal replacement and HTML stripping transformations. Callers pin an explicit version; publication snapshots its digest, and new versions never change another caller or publish anything. A caller upgrades or rolls back through ordinary versioned publication. Current eligibility and owner publication are checked on execution; revocation stops new invocation. Inputs and results remain in the calling run's existing sealed, retained and erasable records, and its step trace identifies the subflow version and digest and operations. Definitions restore inactive and need digest-bound owner review; review grants no caller publication or execution authority. Without an explicit child mode, the component executes inside its parent step. Reviewed pure recipes now install an explicit immutable release with a retained manifest, no connector requirements and one to three synthetic sample tests. Installation checks the exact recipe digest and runs every sample before committing an inactive definition; separate digest-bound owner review still grants no caller publication. Updates append a chosen version without editing any caller. A subflow step may opt into native queued child execution: its stable child ID links the parent checkpoint and separate metadata history, while all values remain sealed in the parent records. Cron or an explicit owner dispatch executes the bounded pure child under current parent publication and definition review. Cancelling either side stops continuation; revocation pauses the child, and resumption requires explicit owner confirmation. Child metadata is erased with its parent and unfinished imported children remain interrupted behind receiving adoption and review. Lead-to-invoice recipes, buyer account binding, provider child graphs and other arbitrary child capabilities remain unbuilt or unproved. **Delivered bounded native graphs:** An owner may create an immutable definition with `kind: "native"`, typed top-level inputs and outputs, and a graph of native mapping, the existing four bounded text transformations, filters, paths, loops and durable delays. Native definitions start inactive and require exact digest-bound review before a caller can publish a pinned version in child mode. Bounds are 20 declared steps, four nesting levels, 50 items per loop, 2000 expanded invocations and 64 KiB per mapped value or checkpoint. Delays use for or until; provider steps, shared delay queues, credentials, code and recursive calls are refused. Each child has a separate linked metadata history and namespaced checkpoints under the parent's sealed custody. The ordinary executor retains completed loop and path checkpoints across restart, checks current owner publication and definition eligibility before every child step, and commits the child outcome with its parent checkpoint. Either side can cancel further continuation. Revocation pauses the child; renewed review alone grants no continuation. Each caller upgrades and rolls back independently. Complete portable record comparison and inactive receiving review are proved through the same public doors; no provider or buyer-account completion is claimed. **Acceptance evidence:** Install a lead-to-invoice recipe, bind the buyer’s own accounts, call a shared address-normalization subflow from two flows, upgrade one caller and roll back; verify the other caller and production permissions stay unchanged. Export and restore these recipes and subflows, compare their full portable records and assert inactive receiving state under DATA-001.

Current evidence: `src/crank/workflows/subflows.ts`; `src/crank/workflows/recipe-definition.mjs`; `src/crank/workflows/subflow-calls.ts`; `src/crank/workflows/subflow-definition.mjs`; `src/crank/engine/executor.ts`; `src/crank/engine/records.ts`; `src/crank/restore-policy.mjs`; `tests/logic.test.mjs` (WORK-006: callers pin typed pure and native graph children, independently upgrade, roll back and restore inactive); `tests/subflows-journey.mjs` (subflowsJourney: native mapping, transforms, filters, paths, loops and delays; typed refusals, linked histories, restart, both cancellation doors, revocation and explicit resume, independent callers and full inactive portable records); `tests/run-notices-browser.mjs` (reviewed native graph child checkpoints and result on the installed history screen at 1440 and 390; push Verify owner-decisions)

Remaining gap: Lead-to-invoice and provider recipes with actual buyer account binding still need actual Google buyer consent and a QuickBooks Online sandbox, plus the required provider-recipe journey. Provider child graphs and other arbitrary child capabilities remain native build work. Bounded account-free native graph children are proved; WORK-006 remains partial.

## WORK-007 — Workflow tables and intake forms

Status: partial.

Builders store workflow lookup/state tables with keyed upserts, table lookups that are WORK-011 searches with the same create-if-not-found, no-match and multi-match settings, and forms for intake or human tasks. Each form has an access mode: authenticated (workspace members or named people, with submitter authority checked), or public, either link-only or embedded on the buyer’s website through a copyable iframe/script snippet with an allowed-origins list. Public forms carry a bot challenge (Cloudflare Turnstile by default, hCaptcha selectable), a hidden honeypot field, per-source (IP, origin and form) submission rate limits, and a stored spam score with its signals that filters and branches can route on. Challenged, throttled or spam-routed submissions are retained as inspectable records and cause no business effects unless a builder explicitly routes them. Forms validate fields, file type/size and access; records have retention and export controls. A table can **start workflows**: on a new record, on an updated record (only when chosen watched fields change, or any field by explicit choice, with TRIG-008 changed-to values, previous values and dedup identity), and from a record button that a member clicks on one record, each starting exactly one run per event. Tables and workspace key-value storage also offer **atomic operations** that are safe under concurrent runs: increment or decrement a number by N (returning the new value), append to a list, and pop the first or last value from a list (returning it, or a `list empty` outcome). These are workflow components; the separate Cradle product owns the general relational workspace. DATA-001 applies before this capability ships: include its tables and forms in the versioned portable inventory and restore them without execution or receiving authority. **Delivered operational-state slice (c33, owner-only non-sensitive default pending ct):** Native owners explicitly create operational tables for safe integers or lists of at most 1000 safe integers, with at most 100 keyed records per table. Strings and objects are refused. The owner explicitly confirms non-sensitive operational use; workflows classified as customer, financial or health are refused. Published unclassified native-owner workflows use `table.atomic` to upsert, increment/decrement, append or pop, and `table.lookup` for exact keys with found/no-match settings. Each mutation and its operation-key receipt commit atomically; retries return the same receipt. Production state has no isolated draft-test bindings, so draft tests are refused. Tables and receipts restore inactive; digest-bound owner adoption grants no workflow publication or replay of imported operations. State persists until explicit paused-table record erasure; value-free operation/key tombstones and the erasure journal prevent recreation and old-archive replay. This bounded component does not implement general records, forms, record triggers/buttons, find-or-create or sensitive-data custody. Those remain required below. **Acceptance evidence:** Publish an authenticated intake form, submit the same business key twice, use its stored lookup in a workflow, reject an unauthorized record read and export then erase the collected record. Publish a public link-only quote-request form and embed it on a test page: one anonymous submission that passes the challenge starts exactly one run; a scripted burst of 200 submissions from one source is challenged or throttled, its accepted-but-spam-scored items route to the spam branch, and no CRM record, email or other business effect results from the burst; an embed from a non-allowed origin is refused. Add a record to a table with a new-record trigger, edit a watched field and an unwatched field, and click a record button twice: verify one run for the new record, one for the watched edit, none for the unwatched edit and one per click. Increment a counter from 10 concurrent runs and verify it rises by exactly 10; pop from a 3-item list 4 times and verify 3 distinct values and one `list empty` outcome. Export and restore these tables and forms, compare their full portable records and assert inactive receiving state under DATA-001.

Current evidence: `src/crank/tables/state.ts`; `src/crank/tables/api.ts`; `tests/logic.test.mjs` (WORK-007: owner-only operational tables serialize ten runs and list pops with receipts and inactive erasure-safe restore); `tests/table-state-journey.mjs` (standalone exact-SHA concurrency journey); `tests/run-notices-browser.mjs` (atomic result at 1440/390); `src/crank/tables/mapping.ts`; `tests/table-state-journey.mjs` (tableTransformJourney: read-only transform references preserve current-owner, non-sensitive, inactive-restore and erased-key boundaries); `tests/sample-browser.mjs` (stored lookup previews and refusals at 1440 and 390)

Remaining gap: Operational integers and integer lists only; general and sensitive records, forms and public challenge, spam and embedded intake paths, record triggers, watched fields and buttons, general-record find-or-create and isolated test bindings remain unbuilt. RL-103 approves bounded owner-only non-sensitive operational state, adoption and erasure; scoped builders and general table custody remain required.

## WORK-008 — Versions, testing and controlled deployment

Status: done.

Draft, test and production versions have immutable graphs, connector schema versions, parameters and grants. Each draft save retains an immutable graph/metadata snapshot; test and production versions retain their exact connection scope and catalog/schema snapshot with its SHA-256 digest. TEAM-002 inherits immutable grant bindings when standing grants ship. The native owner or an explicitly scoped admin/builder starts draft tests with an explicit mapping for every declared connection; the draft and published bindings are never rewritten by a test. Only the owner marks a connection as an owner-declared test account, with an audit entry; the label is not provider verification. Each test snapshots the selected sample and exact graph. A mutating test step on a production connection (including a direct HTTP destination) waits for its own digest-bound owner confirmation showing the actual mapped effect, account and sample; a test-marked connection needs no extra confirmation. Every dispatch checks the test initiator’s current role/version and live connections. Scoped admin/builder tests require both original and replacement connection-use scopes, pin the initiator’s product-scope revision and stop after any role/scope revision, even if access is later regranted. The native owner still decides production-account test effects; a builder test never grants production-run or approval authority. Pause, unpublish and version replacement end test dispatch without production waiting-run exceptions. Tests are labelled in history and audit, excluded from production operations reports, notices, auto-pause counts and OPS-002 usage limits, and restore without execution authority under DATA-001. Comparison returns the exact draft/published/retained graphs and changed field paths. Builders compare changes, run selected authorized samples against test accounts, promote with a change record and roll back. Draft step tests follow WORK-014 and are never production runs: a draft bound to declared test accounts tests without confirmation, while a live test against a production connection needs its own confirmation naming the effect and account, is recorded as a test run and grants no production authority; publishing a version (TEAM-004) remains the only production authorization. In-flight runs retain their original version; environment promotion requires explicit connection binding and cannot inherit broader authority. Rollback is one owner action naming an earlier version number: it publishes that version’s exact graph as a new version whose change record (`rollback_of`) names the restored version, under the same publish checks as any publish (TEAM-004), audited as a publish, and leaves the draft as it was; rolling back to the version already published is refused. The workflow’s history lists every saved draft edit, newest first, with its author, time, the fields it changed (name, description, folder, graph, settings), the SHA-256 digest of the saved draft graph and the published version it started from. **Acceptance evidence:** Start a production run, edit and test its mapping in a draft, promote the draft and roll back; verify the in-flight run uses its original graph, tests use test accounts and all three deployments remain attributable. Test a draft action live against a production connection: verify the named confirmation, a test-labeled history and audit entry, no production run or usage counted, and that the next production run still uses the published version. Save five draft edits and verify each is listed in the workflow’s version history with its author, time and change; roll back with one action from the history to an earlier published version and verify the rollback is in the audit and the next run uses that version’s graph.

Current evidence: `src/crank/workflows/store.ts`; `src/crank/workflows/testing.ts`; `src/crank/workflows/drafts.ts`; `src/crank/workflows/comparison.ts`; `src/crank/engine/test-authority.ts`; `src/crank/engine/authority.ts`; `migrations/core/0037_draft_tests.sql`; `tests/logic.test.mjs`; `tests/deployment.test.mjs`; `tests/version-comparison.test.mjs`; `tests/ops.test.mjs` (WORK-008: immutable snapshots, explicit bindings, live confirmation, test history/audit, production exclusions, in-flight version retention, promotion, rollback and inactive restore)

Remaining gap: None.

## WORK-009 — Collect-data human steps

Status: partial.

A collect-data step pauses a run to ask a person for typed fields (text, number, USD amount, date, choice, checkbox, file) before later steps continue. The builder sets the form, assignees (workspace members, a role, or an external recipient by email link that grants access to that one request only), a due time on a business calendar, reminders and an escalation target. Assignees are notified by email, Slack, Microsoft Teams or Nook and mobile push, each with an authenticated link. Answers are validated, recorded with the answering person and time, and map into later steps by field; the run resumes the exact paused step once. Unanswered requests remind, then escalate, then follow the configured timeout branch; late or duplicate answers after resolution are recorded and ignored. DATA-001 applies before this capability ships: include its collected human data in the versioned portable inventory and restore them without execution or receiving authority. AGENT-004 inheritance: every added human question/fact kind inherits all AGENT-004 obligations and acceptance before shipping, including proof of owner-named native contact authority, calendar/cadence limits, unanswered escalation, revocation and deactivation fencing, exactly one authorized human continuation, late/duplicate refusal, takeover/cancellation, audited contacts, and complete inactive portability/erasure through named public-door journeys. Routing grants no workflow access or approval rights. **Delivered native slice (c33, owner-only answer default pending ct):** A collect step declares text, finite JSON number, USD decimal string (canonical cents; no rounding of extra precision), actual YYYY-MM-DD date, explicit choice or checkbox fields. The native owner answers through the existing digest-bound decision form; no role, person or external email-link assignment is implied. The existing owner-authorized native-inbox follow-up retains business calendars, cadence, escalation and revocable contact authority without granting read/answer rights to a contact. One typed answer resumes the original step; duplicate or resolved-late submissions are audited without another continuation. A declared calendar timeout produces a separate timeout outcome, never an answer or approval. Question values use the existing per-class sealed run/wait inventory, immediate blind indexing, retention and run erasure; archived waits restore without receiving authority. File fields, role/external assignments, rich typed form controls and the complete provider journey remain unbuilt; WORK-009 is partial. **Acceptance evidence:** Publish a workflow with a collect-data step requesting a PO number and a USD amount from a sales role; trigger it late on a Friday, restart the service over the weekend and observe the Monday reminder and then the escalation to the configured manager; answer through the emailed link, verify the run resumes the exact step and the provider readback shows the answered values; submit the same link again and verify one continuation; let a second request pass its deadline and verify the timeout branch runs. Export and restore these collected human data, compare their full portable records and assert inactive receiving state under DATA-001.

Current evidence: `src/crank/engine/steps/collect.ts`; `src/crank/ops/collect-deadlines.ts`; `tests/logic.test.mjs` (WORK-009: typed native questions survive restart, answer once and preserve calendar, timeout and inactive custody); `tests/collect-journey.mjs`; `tests/run-notices-browser.mjs` (collect answer forms at 1440/390)

Remaining gap: File fields, role/person/external-link assignment, rich typed controls, Slack/Teams/Nook/mobile-push contacts and full authorized-provider journey remain; native owner-only answer default awaits ct approval.

## WORK-010 — Digest steps that collect across runs

Status: partial.

A digest step accumulates entries across many runs and releases them together. Each digest has a name, an entry template (text, or structured fields kept as a list) and a release rule: daily, weekly or monthly at a chosen time and day in an IANA timezone, when a count threshold is reached, or manual only. Steps can **append entry**, **find digest** (read the current entries and count without releasing) and **release now**; release either clears the digest or keeps its entries. Each release is one durable run with a stable occurrence identity, so a restart, redeploy or DST change neither drops nor double-releases a digest, and an entry appended during a release lands in exactly one release. The released text or list maps into later steps (a Slack post, an EXEC-007 email, a sheet row); entries keep their source run links, an empty digest follows a builder-chosen skip or send-empty policy, and digests have retention and erasure under DATA-002/DATA-003. DATA-001 applies before this capability ships: include its digest state in the versioned portable inventory and restore them without execution or receiving authority. **Acceptance evidence:** Publish a “new lead → append to Today’s leads” workflow with a daily 5 p.m. America/Chicago release to Slack; append 7 lead entries through the day, restart the service before 5 p.m. and verify one Slack message lists all 7 and a find-digest step then shows it empty; append during a release and verify the entry appears in exactly one release; cross a DST change with a daily digest and verify one release per day; release a manual-only digest on demand and verify a keep-entries release leaves its entries; migrate a Zap whose Digest by Zapier step uses a weekly schedule and verify the coverage report calls it native and its parity test passes. Export and restore these digest state, compare their full portable records and assert inactive receiving state under DATA-001.

Current evidence: `src/crank/engine/steps/digest.ts`; `tests/logic.test.mjs` (WORK-010: durable named digest releases survive concurrency, Chicago DST and inactive restore); `tests/digest-journey.mjs` (seven leads, restart, one scheduled Slack edge message, empty find, concurrent append and release, DST, weekly and monthly schedules, count and manual keep, empty policies, authority refusals, complete inactive records, retention and erasure); `tests/digest-browser.mjs` (release history at 1440 and 390; tooltip assertions at 1440); `tests/ownership.test.mjs` (owned execution); `docs/DIGESTS.md`

Remaining gap: Actual held-Slack readback is pending: SLACK_BOT_TOKEN is not provisioned in cloud. Authorized weekly Digest Zap export, native coverage and parity remain held on the Zapier account and MIG-002. Sensitive-class sealing and restored-digest adoption remain unimplemented; those paths are refused.

## WORK-011 — Search steps: found, not found, several found, and find or create

Status: partial.

Every search operation, in every native connector, every CONN-011 custom connector and every WORK-007 workflow table, has three declared settings that a builder sets without code and that run history records on each run: - **Create if not found:** an optional write on the same connection with its own mapped fields (WORK-002 and WORK-012), which turns the search into a find-or-create step. The step outputs the record plus an outcome of `found` or `created` that later steps, filters and paths can test, and run history shows which one happened. - **No-match outcome:** either *halt*, which ends the run with the non-error status `stopped by search` (shown and filterable in EXEC-005 run history, counted apart from failures in OPS-001, and sending no EXEC-003 failure notice), or *continue*, which passes an explicit empty result with the outcome `not found` that WORK-013 filters and paths can branch on. A provider error, denied scope, rate limit or timeout is never reported as no match; it is a failure under EXEC-002 and EXEC-003. - **Multi-match outcome:** *first*, by a declared sort field and direction (for example most recently updated); *stop*, with the named outcome `multiple matches`, which halts or routes to a branch as the builder chooses; or *all*, which returns every match up to a declared bound (paginating the provider) as an array for WORK-003 loops or WORK-002 line items, with the match count as an output and a named outcome when the bound truncates results. Search keys are typed. Exact or case-insensitive matching is declared per field, emails compare case-insensitively after trimming, and a search whose key resolves to an empty value is a named validation error, never a match-all. A find-or-create is a mutating step under EXEC-006: its create carries a stable operation identity and the provider’s idempotency or unique key where one exists; if a create’s response is lost, Crank reads back by the search key before any retry; and concurrent runs for the same connection and normalized key are serialized, so they produce one record, with one run reporting `created` and the others `found`. A create the provider refuses as a duplicate (for example HubSpot’s existing-contact conflict) is resolved by readback to `found`, not raised as a failure. MIG-001, MIG-002 and MIG-003 carry these settings across from n8n, Zapier and Make search steps. **Acceptance evidence:** Using a HubSpot sandbox, publish a workflow with a “Find or create contact by email” step: a new email creates the contact, run history shows `created` and readback shows one contact; the same email in a second run reports `found` and creates nothing; two concurrent runs for a third new email produce exactly one contact, one reporting `created` and one `found`; lose the create response on a fourth email and verify readback by email before any retry and one contact. Set a no-match search to halt and verify the run ends as `stopped by search` with no EXEC-003 failure notice; set the same search to continue and verify it routes to a “not found” path. Search for a company name matching 3 companies: it returns the first by the declared sort when set to first, stops with the named `multiple matches` outcome when set to stop, and drives a 3-iteration WORK-003 loop when set to all. Make the provider return 500 during a search and verify a failure, not `not found`; map an empty email as the key and verify a named validation error and no search. Repeat the halt and continue settings on a WORK-007 table lookup and a CONN-011 custom connector search with the same outcomes. Migrate a Zap whose HubSpot search uses “create if it doesn’t exist” and verify the coverage report calls it native and its parity test passes.

Current evidence: `src/crank/engine/search.ts`; `src/crank/custom/definition.ts`; `src/crank/custom/step.ts`; `src/crank/custom/gateway-tasks.ts`; `tests/connections.test.mjs` (Private custom find or create retains exact approval, key ownership and accountable readback); `tests/custom-search-journey.mjs` (customSearchJourney: real PostgreSQL and signed gateway CLI, normalized-key ownership across approval and restart, created then found, concurrency, lost acknowledgement and stable receipt, duplicate conflict, empty keys, provider errors, zero and multiple uncertain readbacks, absent or revoked write grant, complete inactive portability); `tests/custom-search-browser.mjs` (exact approval and retained created, found and truncated histories at 1440 and 390); `tests/search-outcomes-journey.mjs` (searchOutcomesJourney, invoked by the existing Slack registration: sorted complete pages, explicit truncated routes and counts, incomplete absence and first-match refusal, malformed pages and zero creates after an incomplete scan); `tests/connections.test.mjs` (Custom connector review: bounded result routing, single partial result and incomplete no-match refusal); `src/crank/tables/state.ts`; `tests/table-state-journey.mjs` (tableStateJourney: exact-key halt and continue routes, mapped integer and integer-list find-or-create, concurrent one-record creation, immutable operation receipts, owner and custody refusals, erased-key replay fences and inactive restore); `tests/custom-search-browser.mjs` (operational created and found histories at 1440 and 390)

Remaining gap: Bounded reviewed private PostgreSQL search and POST pairs and owner-only operational integer and integer-list exact-key find-or-create are implemented; other native and custom connector implementations and all WORK-007 general table lookup, find-or-create and isolated bindings remain required. Full live HubSpot sandbox acceptance and authorized Zapier create-if-missing source are unavailable. All n8n, Make and Zapier search-setting mappings and authorized coverage and parity remain unproved. WORK-007 remains prerequisite for its table obligations; other custom write kinds and every CONN-011 gateway restriction remain unchanged.

## WORK-012 — Built-in no-code transforms

Status: partial.

Transform steps, and the same functions inline in any field mapping, provide without code at least the operations of Zapier Formatter’s four families: - **Text:** split by a separator or by a name rule (first word and the rest, or last word and the rest) with a segment choice of first, last, by index or all as a list; extract email, URL, phone number (normalized to E.164, US default region), number and regular expression with capture groups (first match or all); find and replace, literal or by pattern; case (upper, lower, title, sentence); trim and collapse whitespace; truncate with an optional ellipsis; strip HTML to plain text, keeping line breaks and link text; Markdown to HTML and HTML to Markdown; default value when empty; URL-encode and URL-decode; length and word count. - **Numbers:** arithmetic (add, subtract, multiply, divide, negate) and spreadsheet-style formulas (SUM, ROUND, ROUNDUP, ROUNDDOWN, MIN, MAX, ABS, IF) over mapped values in exact decimal arithmetic with a declared scale and rounding mode (half-up by default for USD, half-even selectable); parse a number or amount from formatted text such as `$1,234.50`; format a number (separators, decimals) and a currency (USD by default, any ISO 4217 code). - **Date/Time:** parse from ISO 8601, Unix time and common US formats with a declared input timezone; format to a chosen pattern in an IANA timezone; add or subtract years, months, weeks, days, hours and minutes, and business days on the WORK-004 business calendar (weekends and that calendar’s holidays skipped); compare two dates for earlier, later or equal and their difference in a chosen unit. - **Utilities:** lookup table with a default value, either static in the step or backed by a WORK-007 table; pick from list (first, last, by index, random); text to list and list to text with a chosen separator; count items; remove duplicates; and the WORK-002 line-itemizer. Every transform is typed: its inputs and output have declared types, the builder previews its output on the step’s WORK-014 sample data, with the sample’s source named, before saving, and a value that cannot be parsed (a date, number, amount or phone number) raises a named validation error that halts or routes under EXEC-003, instead of writing an empty string, zero or the raw input downstream. Transforms are deterministic and run in the workflow engine with no code step, model call or external request. MIG-002 maps each Zapier Formatter transform and option to one of these or names it as a manual conversion in the coverage report; MIG-003 and MIG-001 do the same for Make’s built-in functions and n8n’s built-in transformation nodes. **Acceptance evidence:** Build one workflow from a web form sample with no WORK-005 code step and no AI step that splits “Mary Ann O’Neil” into first name “Mary Ann” and last name “O’Neil” by the last-word rule; extracts the email and phone from a free-text message, the phone normalized to E.164; maps “TX” to its sales rep through a lookup table and an unknown state to the default rep; computes a due date of close date + 30 days (20 November 2026 → 20 December 2026) and close + 10 business days on a US federal holiday calendar across Thanksgiving (→ 7 December 2026) in America/Chicago; computes 3 × $19.99 × 1.0825 = $64.92 exactly; and strips HTML from an email body. Preview each step on the sample before saving, run the published workflow and verify each output by readback of the destination record. Send an unparseable date and verify a named validation failure and no write. Migrate a Zap using Formatter split, lookup table, add/subtract time and perform math and verify the coverage report calls each step native and its parity test passes. Map a missing company to “Individual” with default value when empty and verify a lead without a company writes “Individual” while a lead with one keeps its company.

Current evidence: `src/crank/engine/transforms/index.ts`; `tests/logic.test.mjs`; `tests/crank.test.mjs` — Native n8n date arithmetic preserves calendar results and retained JSON through reviewed migration, via `tests/n8n-datetime-journey.mjs` (n8nDateTimeJourney: reviewed repeated apply, month ends, leap days, Chicago DST and repeated hours, exact destination payload and readback, invalid dates and reviewed apply of unsupported settings without native writes, restart and complete inactive archives); `tests/migration-browser.mjs` (date operands, retained output and invalid-date refusal at 1440 and 390); `src/crank/tables/mapping.ts`; `tests/table-state-journey.mjs` (tableTransformJourney, invoked by the existing WORK-007 registration: stored numeric lookup and default in transforms and inline mappings, captured-source preview, current-owner refusal, restart, paused refusal, complete inactive custody and erased-key replay); `tests/sample-browser.mjs` (stored lookup preview, changed result, paused and erased states at 1440 and 390); `tests/n8n-datetime-journey.mjs` (formattingJourney: reviewed retained-input formatting, captured form preview, publication and exact receiver readback, invalid-date refusal and inactive sample restoration)

Remaining gap: Lookup backed by WORK-007 tables; Preview of migrated transforms on WORK-014 real samples remains unproved. All remaining n8n transforms and options, including local-date parsing and binary retention, and complete MIG-001, MIG-002 and MIG-003 mappings remain required. Authorized Zapier Formatter split, lookup, time and math coverage and parity with provider destination readback needs an authorized Zapier export; Zapier and Make accounts and exports are not held.

## WORK-013 — Filter and path condition language

Status: partial.

Every filter step, every path rule, and every routing condition on a WORK-011 search outcome, a WORK-007 table lookup or an EXEC-003 error branch uses one condition language that a builder sets without code. Each rule names a mapped field, an operator and an operand (typed, picked or mapped from an earlier step), and the operator set is: - **Text:** contains, exactly matches, is in a list (typed in the rule or mapped as a list), starts with, ends with and matches pattern (regular expression), each with its negation (does not contain, does not exactly match, is not in a list, does not start with, does not end with, does not match pattern). Text rules are case-insensitive by default with a per-rule case-sensitive switch, and leading and trailing whitespace is ignored unless the builder chooses otherwise. - **Number and USD amount:** greater than, less than, equal to, not equal to, greater than or equal to and less than or equal to. Operands are parsed with the WORK-012 number and amount rules (so `$1,234.50`, `1234.5` and `100` are numbers) and compared as exact decimals, never as text: `100` is greater than `99`. - **Date/time:** after, before, equals, on or after and on or before, comparing instants or, when the builder chooses day precision, calendar days. Both sides resolve in a declared IANA timezone (the workspace default unless set on the rule). Operands may be relative: now, today, start of this week or month, now plus or minus N minutes, hours, days, weeks or months, and plus or minus N business days on the WORK-004 business calendar. - **Boolean:** is true and is false, accepting the field type’s declared true and false forms (true/false, yes/no, 1/0). - **Existence:** exists and does not exist (the field is absent or null), and is empty and is not empty (present as an empty string, whitespace only or an empty list), keeping WORK-002’s distinction between missing, null and empty; the rule trace shows which of the three the value was. - **Lists:** for an array field, any item matches or every item matches the inner rule, and list length compared as a number. **Rule groups.** Rules combine with AND inside a group, and groups combine with OR. A filter or path rule allows at least 50 rules per group and 20 OR groups; the limits are stated in the editor and are never below these. **Paths.** A path group holds at least 20 branches (Zapier allows 10) and nests at least 5 levels deep (Zapier allows 3). Each group is **exclusive**, running only the first matching branch in the declared order, or **parallel**, running every matching branch as its own branch of the same run with its own step history and an optional WORK-003 join. Each group may have one **fallback** branch, which runs only when no other branch matches, or one **always-run** branch, which runs whatever else matches, but not both. The editor warns before publish when a group has no fallback, and a run in which no branch matches and no fallback exists ends as `stopped by filter`. **Type mismatches.** A value that cannot be read as the rule’s type (text in a number or USD rule, an unparseable date, a list in a boolean rule) produces the named outcome `type mismatch`, which names the rule, the field and the value. The builder chooses per filter or path group whether a type mismatch halts the run as a validation failure under EXEC-003 (the default) or routes to a declared branch. It is never a silent pass or fail. **Preview.** Before saving, the editor shows each rule’s resolved operands and pass or fail, and each group’s and branch’s result, on the step’s WORK-014 samples, naming each sample’s source. **Run history.** A run that a filter stops, or in which no path branch matches, ends with the non-error status `stopped by filter`. Run history (EXEC-005) shows the stopping group, each rule’s resolved operands and its result, and the status is filterable there, counted apart from failures in OPS-001, sends no EXEC-003 failure notice and does not count toward EXEC-003 auto-pause. Every path group in a run records which branch or branches ran and the rule results that chose them. The builder previews each rule’s result on the step’s sample data before saving. **Migration.** MIG-002 maps every Zapier filter and path rule operator (text, number, date/time, boolean and exists rules), each AND/OR group, and each fallback and always-run branch to a committed operator here. MIG-003 maps every Make filter operator (text, numeric, date, time, array and boolean operators, their case-insensitive variants, matches pattern, exists and does not exist) and router fallback routes. MIG-001 maps n8n IF, Filter and Switch conditions (string, number, date, boolean, array and object operators, the AND/OR combinator, ignore case, loose type validation and the Switch fallback output). An operator with no committed equivalent is named as a manual conversion in the coverage report, never dropped. **Acceptance evidence:** Build a lead workflow with no WORK-005 code step and no AI step, in America/Chicago: path A is “state is in TX, OK, LA” AND “amount greater than 5000”; path B is “close date after today” OR “email ends with .gov”; a fallback branch catches the rest. In parallel mode send 6 sample leads (TX $6,000 closing yesterday; CA $100 closing tomorrow; OK $7,500 closing tomorrow; NY $200 closed last week at an agency.gov address; FL $300 closed last week; LA amount “5000” closed last week) and verify by readback that they took A; B; A and B; B; fallback; and fallback respectively. Switch the group to exclusive and verify the OK lead runs only A. Send “100” against “greater than 99” and verify a numeric pass; send “abc” against a number rule and verify the named `type mismatch` outcome and no write. Verify “email contains ACME.com” matches a lower-case address at the domain acme.com by default and not once the rule is case-sensitive; verify a missing field, a null field and an empty string give distinct exists and is-empty results. Add an always-run branch to a second group and verify it runs alongside the matching branch, and verify the editor refuses a group with both a fallback and an always-run branch. Verify a filtered-out run appears in run history as `stopped by filter` with the stopping rule and its resolved operands, sends no EXEC-003 notice, and that 20 such runs do not auto-pause the workflow. Migrate a Zap with an AND/OR filter and a Paths group with a fallback branch, a Make scenario whose router has a fallback route and a numeric filter, and an n8n workflow with an IF node and a Switch node with a fallback output: verify the coverage report calls each native and each parity test passes.

Current evidence: `tests/logic.test.mjs` (native condition and branch journeys); `tests/crank.test.mjs` — Native n8n condition operators preserve source types and short circuit receiver dispatch, via `tests/n8n-conditions-journey.mjs` (n8nConditionsJourney: reviewed repeated apply, versioned data-only loose object grammar, operand overrides, named mismatches, short circuit, exact receiver branches, restart and complete inactive portability); `tests/migration-browser.mjs` (loose-object resolved operands and branch results at 1440 and 390); `tests/deployment.test.mjs` — Retained draft samples preserve captured and manual provenance, refuse restricted history and restore inactive without production admission, via `tests/sample-journey.mjs` (captured webhook, manual and permitted history samples; missing, null and empty operands; exact parallel, exclusive, fallback, always-run and mismatch decisions; post-group mapping and destination readback; no preview effect); `tests/sample-browser.mjs` (source-labelled rule operands, branch results and mismatch outcomes through the editor at 1440 and 390)

Remaining gap: Native pure-step previews on retained webhook, manual and permitted history samples are proved up to the first app call. Preview on the remaining WORK-014 sample adapters and action or search outputs, and previews beyond app calls, remain required. Authorized Zapier Formatter and Paths exports and Make router exports are not held; WORK-012 table lookup depends on WORK-007. MIG-001 local or non-ISO DateTime parsing, object syntax beyond data grammar v1, additional source expressions and every remaining operator or migration option outside the supported grammar remain required; complete MIG-002 and MIG-003 operator and parity mappings remain required.

## WORK-014 — Step tests on real samples

Status: partial.

Every step in the builder has a **test** that produces the sample later steps map from, and the editor always shows where each sample came from (connected account, live delivery, earlier run, action response, connector schema or manual). Samples are real data from the buyer’s own accounts wherever the step can produce one: - **Polling and app trigger tests:** testing a trigger loads at least the three most recent records from the step’s bound connection, newest first, each labeled with its source record ID and its created or modified time, with every field value shown as loaded under CONN-019 (hidden form fields, custom properties and file references included). A **find new records** action fetches fresher ones, and the builder chooses which record becomes the step’s sample. For updated-record triggers (TRIG-008) a sample carries the watched fields’ previous and current values where the provider or snapshot holds them. Loading samples is read-only: it starts no run, advances no polling cursor or TRIG-008 snapshot, and is never counted against production deduplication. - **Webhook, form, inbound-email and feed trigger tests:** the editor shows the draft’s URL or address (TRIG-001 secret URL, TRIG-006 alias, WORK-007 form link) and waits for the next real delivery, then offers it as the sample with its parsed fields, raw body, headers, query and files; TRIG-007 feeds and URL polls load their latest items. A delivery received in test mode starts no production run. A typed or pasted sample is allowed only as an explicit **manual sample**, labeled as such in the editor, in every preview built on it and in the test record. - **Earlier runs as samples:** any retained EXEC-005 run of the workflow, including history captured during MIG-001, MIG-002 or MIG-003 migration, can be loaded as the trigger sample or as a step’s sample output. Loading obeys DATA-003 retention and EXEC-005 payload read permissions: a builder without payload access cannot load the run, and redacted fields stay redacted in the sample. - **Action tests:** testing a create, update, delete or send step either runs live against the step’s bound connection after a confirmation that names the exact effect, the target app and the account (for example “Create 1 contact in HubSpot account Acme Sales”), or, with no confirmation, runs against a declared test-account binding (WORK-008). The provider’s real response (record IDs, URLs and returned fields) becomes the step’s sample output, mappable in later steps. Every test write is recorded in the SEC-003 audit and in run history as a **test run** attributed to the builder; it is never shown as a production run in OPS-001, never counts toward OPS-002 usage limits or spending controls, never raises EXEC-003 production alerts or auto-pause, and authorizes nothing in production (TEAM-004). A live test write is still bound by TEAM-002 limits: a test above a limit requires the same approval as a production run. - **Search and read tests:** WORK-011 search steps, lookups and other read-only steps test against the live connection with no confirmation and no write; a find-or-create test asks for confirmation only when its create branch would run. - **Untested steps:** a builder may skip an action test; later steps then map from the connector’s declared output schema with typed example values, labeled **schema sample, not tested**, and the publish check lists every step whose mapping relies on one. - **Previews and freshness:** every downstream preview (WORK-002 mappings, WORK-012 transforms, WORK-013 rule and branch results, WORK-011 outcomes) runs on the chosen samples and names their source. After a CONN-019 refresh fields or a change to the step’s connector schema version, a sample older than the step’s current schema is flagged **stale**, naming the fields it lacks, until it is reloaded. DATA-001 applies before this capability ships: include its sample records in the versioned portable inventory and restore them without execution or receiving authority. **Acceptance evidence:** On a draft Typeform → HubSpot → Slack workflow, test the Typeform trigger and verify it loads the last 3 real responses from the test account, newest first, with their response IDs and times, and that loading them started no run; pick the second response and verify its hidden UTM value appears in a downstream WORK-012 preview labeled with that response’s ID. Submit a new response, use find new records and verify it appears at the top. Test a webhook trigger and verify the editor waits for and captures a real form-encoded POST to the draft URL as the sample with no production run; type a sample by hand and verify it is labeled manual sample in the editor and in a downstream preview. Load a 3-day-old run from history as the trigger sample, then verify a reader without payload access cannot load it. Test the HubSpot “create contact” step: verify the confirmation names the HubSpot account, exactly one contact is created and verified by readback, a test-labeled audit entry and test run are recorded, and the returned contact ID is mappable in the Slack step; rebind the step to a declared test account and verify the test runs with no confirmation and the contact exists only in the test account. Test a WORK-011 search step and verify no write and no confirmation. Verify none of these tests appear as production runs in OPS-001, count toward OPS-002 usage limits or raise an EXEC-003 alert. Add a question to the Typeform, refresh fields and verify the earlier sample is flagged stale naming the new question until a new record is loaded. Skip the Slack step’s test and verify the publish check lists it as relying on a schema sample. Export and restore these sample records, compare their full portable records and assert inactive receiving state under DATA-001.

Current evidence: `tests/deployment.test.mjs` — “Retained draft samples preserve captured and manual provenance, refuse restricted history and restore inactive without production admission” invokes `tests/sample-journey.mjs` and proves actual form-encoded and multipart draft capture, parsed body and raw body, safe headers, query, file bytes, single-use receiving, unchanged production admission, dedup, polling, usage and notice records, authorized history selection, restricted and foreign-history refusal, manual provenance, source-preserving mapping, transform and filter previews, named missing fields, schema-not-tested validation and publication warnings, full portable-record equality and inactive restoration. The same journey loads successful object and scalar step outputs, carries their exact run and step provenance through mapping, transforms, conditions and branches without another app request, names missing step-output fields, refuses restricted and foreign step history, and restores every retained output inactive. “Draft capture rejects changed authority and concurrent reuse without admitting a production event” proves changed-draft refusal, malformed-body recovery, concurrent capture, data-class sealing and revoked-session refusal. `tests/sample-browser.mjs`, invoked by Verify, proves waiting, captured, stale, manual and history screens at 1440 and 390 with keyboard and delayed-hover tooltips. Existing WORK-008 deployment assertions retain immutable test versions, named live-effect confirmation, explicit test binding and production isolation. `tests/step-sample-journey.mjs` (stepSampleJourney), invoked by the same deployment registration and browser script, proves isolated HTTP actions and reads on selected samples, exact live-write confirmation after restart, test-account-only effects, no repeated earlier write, actual returned IDs in downstream mappings, automatic response samples, sealed custody and subject indexing, revoked-account refusal, unchanged production counts and usage, immutable graph metadata, inactive complete restoration, history erasure, missing-field and pinned-schema staleness, and refusal to replace an approval with sample data.

Remaining gap: Typeform and HubSpot test accounts are not held: last-three-real-record loading, newest-first identities and times, hidden UTM source selection, find-new records, provider field refresh and actual create-contact confirmation, test-account isolation and provider readback remain unproved. Other trigger source adapters, direct tests for step kinds beyond top-level HTTP actions and reads, and complete WORK-011 search and find-or-create testing remain obligations. Provider field discovery and refresh still need their named accounts. Native expected-field refresh, declared connector schema-version staleness, webhook, manual, trigger-history and successful retained step-output preview sources are proved; no broad provider or whole-clause completion is claimed.

## CONN-001 — Discoverable connector library

Status: partial.

The catalog describes each app’s supported triggers/actions, searchable objects and custom fields, authentication, scopes, pagination, attachments, API version, limits and known restrictions. Builders select reusable personal or team connections and test access before activation. Every input that names an account resource is a CONN-019 live picker, and discovered custom fields load as mappable step inputs through CONN-019. Unsupported actions are explicit and have a custom-connector path; a generic HTTP form is not a native app connector. Every search operation in the catalog follows WORK-011: it offers create-if-not-found where the app has a matching create action, and declares its no-match and multi-match outcomes. Breadth is a stated commitment, not an aspiration. Every app on Zapier’s popular-apps list ([zapier.com/apps](https://zapier.com/apps)) as of 16 October 2026 has a named native connector with at least one trigger, one search and one action: Google Sheets, Google Drive (CONN-005); Gmail, Microsoft Outlook (CONN-003); Slack (CONN-004); HubSpot, Salesforce (CONN-006); Stripe (CONN-008); Facebook Lead Ads, Google Forms, Typeform, Jotform, Gravity Forms (CONN-012); Google Calendar, Calendly (CONN-013); Notion, Trello, monday.com, Google Docs (CONN-014); Mailchimp, LeadConnector (CONN-015); Airtable (CONN-005). Everyday SMB apps beyond that list are also named: Microsoft Excel, OneDrive and SharePoint (CONN-005), Zoom (CONN-013), Asana and ClickUp (CONN-014), Pipedrive (CONN-015), Dropbox, Box, DocuSign and PandaDoc (CONN-016), Twilio SMS (CONN-017), and Square, PayPal and WooCommerce (CONN-018). Zapier’s built-in tools map to named clauses: Webhooks catch hooks and requests (TRIG-001, HTTP-002), Webhooks Retrieve Poll and RSS (TRIG-007), Email (TRIG-006, EXEC-007), Formatter text, numbers, date/time and utilities (WORK-012), Filter/Paths with their full rule language, fallback and always-run branches (WORK-013), Formatter Line-itemizer and line-item fields (WORK-002), search steps with “create if it doesn’t exist” and their no-match and multiple-result settings (WORK-011), Digest (WORK-010), Delay (WORK-004), Schedule (TRIG-002), Transfer (TRIG-002 historical runs), Code (WORK-005), Looping (WORK-003), Sub-Zaps (WORK-006), Storage/Tables/Forms/Interfaces (WORK-007), AI by Zapier (Analyze and Return Data to AI-001 analyze and classify, Extract Content From URL to AI-001 extract content from URL, Search Content Across URLs to AI-001 search content across URLs), Human in the Loop (TEAM-005, WORK-009) and MCP (PLATFORM-002). For the long tail, an agent builds a connector on demand from the provider’s public API documentation or OpenAPI description under CONN-011, with the same sandbox acceptance as a native connector. AI apps are named native connectors too, run by AI-001 on a CONN-002 model connection: - **ChatGPT (OpenAI):** Send Prompt, Conversation and Write an Email map to send prompt and conversation; Extract Structured Data to extract structured data; Analyze Images and the other analysis actions to analyze and classify; Create Transcription to transcribe; Create Translation to translate; Generate An Image to generate image; and its file searches and Find or Create File to model files. - **Anthropic (Claude):** Send Message maps to send prompt and conversation; Upload File and its file searches map to model files. The same mapping applies to Make’s and n8n’s OpenAI and Anthropic modules and nodes. An AI step reports native only when AI-001 supports its exact operation and its input type (text, file, image, audio or URL); any other operation of these apps reports agent-buildable under CONN-011, never native. A coverage report reads a buyer’s automation inventory (a Zapier JSON export, the itemized MIG-002 inventory, a Make/Workato/n8n/Pipedream export, or a typed list of apps and events) and reports for each app and each trigger/action used: **native** (named connector and operation exist), **agent-buildable** (public API and supported auth exist; CONN-011 build with its estimated scope), or **blocked** (with the reason, such as partner-only API or no public API, and the buyer’s workaround through HTTP-002 or a provider partner). For every app outside that popular-apps list, operation depth is set by its connector clause: an operation reports native only when the clause that names the app (CONN-003 to CONN-018) names that trigger, search or action, and any other operation of a named app reports agent-buildable under CONN-011 or blocked, never native. A search used with a create-if-not-found or outcome setting, a Formatter transform, a filter or path rule, and a chosen account resource each report native only when WORK-011, WORK-012, WORK-013 or CONN-019 respectively supports that exact setting, operator or resource. **Acceptance evidence:** Find a CRM connector by a business action, connect a test account, discover custom fields and see them load as mappable step inputs through a CONN-019 picker, test a paginated lookup and inspect the exact action scope and unsupported-operation message before publishing. Feed the coverage report a 60-Zap SMB inventory built only from Zapier’s 22 popular apps, using a fixed operation list committed with the test: for each app, every trigger, search and action used by that app’s ten most-used Zapier templates as captured on 16 October 2026, plus the built-in tools mapped above (including RSS, Retrieve Poll, Digest, Line-itemizer, every Formatter transform those templates use, every filter and path rule operator and fallback they use, every chosen account resource, and every search with “create if it doesn’t exist” or a no-match or multiple-result setting): every app, operation and setting reports native. Add three long-tail apps (one with a public OpenAPI description, one with documented REST but no OpenAPI, one with a partner-only API) and verify agent-buildable, agent-buildable and blocked-with-reason respectively. Feed a second inventory of accounting Zaps using every QuickBooks Online and Xero trigger, search and action CONN-007 names, plus one QuickBooks operation it does not name: verify the named operations report native and the unnamed one reports agent-buildable. Feed a third inventory of commerce and support Zaps using every Shopify and Stripe trigger, search and action CONN-008 names and every Zendesk and Jira Software Cloud trigger, search and action CONN-009 names, plus one Shopify and one Zendesk operation those clauses do not name: verify every named operation reports native and the two unnamed ones report agent-buildable. Feed a fourth inventory of AI Zaps using every ChatGPT (OpenAI), Anthropic (Claude) and AI by Zapier action and search mapped above, with text, PDF, image, audio and URL inputs: verify every step reports native with its AI-001 operation named, and that an OpenAI action this clause does not map reports agent-buildable.

Current evidence: `src/crank/connections/catalog.ts`; `src/crank/ops/coverage.ts`; `tests/connections.test.mjs`

Remaining gap: Breadth: of Zapier's 22 popular apps only Slack is native; Zapier JSON export format; custom-field discovery.

## CONN-002 — Managed OAuth, keys and connection lifecycle

Status: partial.

Owners authorize multiple accounts through provider OAuth or scoped API keys; Crank encrypts credentials under installation-controlled custody, refreshes tokens, rotates keys, tracks consent and permits team ownership transfer. Revocation stops new work, records in-flight uncertainty and tells affected workflow owners how to reconnect. Secrets never appear in graphs, logs, prompts, exports or browser reads; new scopes need fresh consent. EXEC-002 currently keys request rate/concurrency buckets per connection, never by an editable name or credential text. When this clause adds provider-verified stable account identity, connections with the same provider app and verified account ID must share that account’s rate/concurrency bucket before the capability ships. **Delivered renewal semantics (c33):** A scheduled run renews an expired OAuth token without an owner session. Connection state and the owner-only history expose the previous expiry, renewal time and new expiry without tokens. Concurrent requests serialize rotating-token exchanges; a late exchange cannot overwrite a revoked or rotated credential. A provider-returned scope outside the existing grant requires fresh consent and pauses access; an unconfirmed or interrupted exchange requires reconnection rather than blind refresh reuse. Renewal leases are installation-local and excluded from archives. This slice adds no provider-verified account identity: admission remains per connection until the verified provider-app/account capability ships. **Acceptance evidence:** Connect two accounts, select one per step, expire and refresh OAuth, rotate an API key, revoke the connection during a run and reconnect with a narrower grant; verify dependent workflows pause visibly and no secret appears in API state, exports or agent context. Let a connected OAuth account’s access token expire overnight with no one signed in: verify the next scheduled run refreshes it before its provider call and succeeds with no owner action, and that the connection’s history shows the expiry time and the automatic renewal. Search run history, step logs, the audit and an export for the stored secret and the refreshed token and find neither.

Current evidence: `src/crank/flows.ts`; `src/crank/delivery.ts`; `src/crank/tokens.ts`; `tests/crank.test.mjs`; `src/crank/connections/auth.ts`; `src/crank/connections/oauth.ts`; `src/crank/connections/store.ts`; `src/crank/connections/vault.ts`; `tests/connections.test.mjs`; `tests/logic.test.mjs` ; `tests/oauth-renewal-journey.mjs` (oauthRenewalJourney: unattended scheduled refresh, expiry/renewal history, one rotating refresh under concurrency, revoked refresh, scope refusal, secret-free history/export)

Remaining gap: Team ownership transfer, provider-verified identity/shared-account admission and live provider consent/readback remain; renewing a scope never supplies new consent.

## CONN-003 — Gmail and Microsoft Outlook

Status: partial.

Gmail and Microsoft Outlook/Microsoft 365 connections trigger on new or changed mail and calendar events, on new mail matching a saved search (Gmail search operators such as `from:`, `has:attachment` and `label:`; Outlook search and folder filters), on mail newly given a chosen label or moved to a chosen folder, and on each new attachment (delivered as a file reference with name, type and size), search threads/events and draft or send messages, replies and calendar updates with attachments. Labels/folders, mailbox selection and stable thread/event IDs survive mapping; sending and reading scopes are separately visible. Recipient actions inherit TEAM-004: count actual mapped destinations (including duplicates), apply both workspace and step caps using the stricter bound, and pause only excess actions for an exact-input approval; no approval means no out-of-cap send. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **AI-003 receiver duty (ct scope-review-54):** Recurring invoice-follow-up customer contact through this clause obeys AI-003's configured cadence and stops on paid, closed or void invoices, human takeover, cancellation, owner pause, expired authority or budget hold. Recipients come only from the invoice's billing contact. Re-read the connected invoice in the same dispatch before every contact, block the next dispatch after tool revocation, and retain a contact operation key to prevent duplicate sends, with one active run per invoice. The first external send of a new skill/objective version requires human approval unless a TEAM-002 standing grant covers it; the agent never approves. This receiving duty is required before this clause's contact can satisfy AI-003; it is not delivered evidence. **Acceptance evidence:** In each provider’s authorized test account, trigger from an incoming message, find its thread, draft and authorize a reply with an attachment, create a calendar follow-up and verify both by provider readback; duplicate notifications create no duplicate reply. Trigger on the search `from:billing has:attachment`, on a newly applied label and on new attachments: verify only matching messages start runs, each attachment arrives as one file reference, and relabeling a message does not start a second run. Test an inclusive recipient bound, one excess destination, duplicate destinations and rejection: only the excess action waits, rejection sends nothing, and approval sends exactly the reviewed list under TEAM-004. For AI-003 customer follow-up through this transport, use a live connected invoice, verify configured cadence and billing-contact-only recipients, and change the invoice before dispatch to prove a same-dispatch read stops paid/closed/void contact. Exercise takeover, cancellation, owner pause, authority expiry and budget hold, and revoke a tool before its next dispatch: assert no further send. Retry/restart/concurrently dispatch the same operation and assert one customer contact and one active run per invoice. Require human approval for a new version's first external send unless its standing grant covers it, refuse an agent's approval and verify the provider receipt/readback. AI-003 stays missing until its full journey passes.

Current evidence: `tests/connections.test.mjs` (Gmail thread metadata search retains declared outcomes, consent, parked pages and inactive sealed custody); `tests/gmail-search-journey.mjs` (gmailSearchJourney: exact queries, later and duplicate pages, deterministic outcomes, incomplete scans, hostile headers, malformed and permission failures, read consent and payload-read refusal; gmailCustodyJourney: sealed unfinished metadata, key rotation, 429 restart retaining completed reads, holds, erasure, expiry and complete inactive restore); `tests/ownership.test.mjs` (owned installation runs the Gmail search without author traffic); `tests/gmail-search-browser.mjs` (Gmail metadata identities, literal headers, declared outcomes and tooltips at 1440 and 390); `docs/API.md`

Remaining gap: Only bounded read-only Gmail thread metadata search is delivered. Licensed Microsoft 365 and Outlook mailbox access and a consent tenant are unavailable. Google console redirect URI and test users, actual mailbox consent and real-provider readback remain prerequisites. Both providers’ new and changed mail, search and label and folder and attachment triggers, calendar triggers, Outlook searches, remaining thread and event reads, body and file custody, drafts, sends, replies and calendar updates, recipient caps and approvals, duplicate-safe effects, live account journeys and every inherited AI-003 cadence, current billing-contact and live-invoice check, human first-send approval, stop and revocation and once-only contact duty remain required.

## CONN-004 — Slack, Nook and Microsoft Teams

Status: partial.

Slack, Nook and Microsoft Teams connectors receive authorized channel/message events and post, reply, update and route messages in the correct thread. They deliver actionable failure/approval notices with authenticated links and record provider acknowledgments separately from a person’s response. Each operation below is a named catalog operation: - **Triggers:** new message posted to a chosen channel (public or private the connection can read); new message in a direct message or chat with the connection; new mention of a chosen user or of the connection; new reaction added (Slack and Nook: a chosen emoji, optionally in a chosen channel); and, in Teams, new channel message and new chat message. - **Actions:** send a channel message; send a direct message (Slack and Nook) or chat message (Teams) to a user found by email; reply in a thread; update and delete a message the connection posted; add a reaction (Slack and Nook); mention users and user groups in message text; and, in Slack, post as the bot with a custom name and icon where the workspace grants `chat:write.customize`. - **Searches,** each with WORK-011 outcomes: find user by email or name; find message by text in a channel; find channel by name. Messages to users resolve the recipient through the find-user search, so a step that only has an email (a HubSpot owner, a deal’s rep) reaches the right person. Recipient actions inherit TEAM-004: count actual mapped destinations (including duplicates), apply both workspace and step caps using the stricter bound, and pause only excess actions for an exact-input approval; no approval means no out-of-cap send. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** For each service, connect a workspace, start a workflow from an authorized thread, post its result back to that thread, handle a human decision and revoke access; verify no delivery to a different workspace and no repeated ping after completion. For each service, send a direct or chat message to a user found by email from a HubSpot lifecycle-stage change and verify by readback that only that user received it; search a user email that matches no one and verify the WORK-011 not-found route. In Slack, start one run from a new :white_check_mark: reaction and one from a new mention of a chosen user, verify an unrelated reaction starts nothing, and post as the bot with a custom name and icon, verified by readback. In Teams, start one run from a new channel message and one from a chat message, and send a channel message that mentions a user. Test an inclusive recipient bound, one excess destination, duplicate destinations and rejection: only the excess action waits, rejection sends nothing, and approval sends exactly the reviewed list under TEAM-004.

Current evidence: `src/crank/connectors/slack.ts`; `src/crank/triggers/slack-events.ts`; `tests/connections.test.mjs`; `tests/teams-search-journey.mjs` — teamsSearchJourney and teamsCustodyJourney, invoked by the existing CONN-004 registration in `tests/connections.test.mjs`: native draft test, publication, exact directory-email outcomes, immutable bounded pagination, current consent, isolated connections, admitted retry and restart, zero provider writes, disclosure, sealed pages and results, restricted history, holds, expiry, erasure and complete inactive restoration with malformed archive refusal; `tests/ownership.test.mjs` — owned installation finishes every shipped step; `tests/teams-search-browser.mjs` — retained lookup, incomplete scan and sealed results at 1440 and 390, invoked by `tests/sibling-browser.mjs`

Remaining gap: Missing licensed Teams tenant and user and HubSpot lifecycle test account; actual provider consent and live workspace and independent readback proof remain required. Slack was historically recorded held, but live reaction, mention and custom-bot proof remains unprovided. Nook public event and message-read APIs and an authorized installation remain prerequisites. Teams directory lookup proves neither Teams licensing, chat deliverability nor verified tenant identity. All remaining Teams and Nook triggers, other searches, channel, chat, direct-message, thread, update, delete, reaction and mention actions, approval and failure notices and authenticated human-response handling remain required. Mapped-recipient caps and exact approvals, resource pickers and samples, every per-service thread, HubSpot-recipient, revocation, once-only delivery and independent-readback journey remain obligations. EXEC-003 and CONN-010 scopes are retained.

## CONN-005 — Sheets, Airtable, Google Drive and Microsoft 365 files

Status: missing.

Google Sheets, Airtable and Microsoft Excel (workbooks on OneDrive or SharePoint) connectors watch new rows and rows updated in chosen watched columns with optional changed-to values and settle delay (Excel worksheet rows and Excel tables; TRIG-008), read/query rows, **add a row** and **add rows** (a batch of rows appended in order, for a sheet, Excel table or Airtable table with no natural key), and upsert rows by business key, preserve typed values and paginate. Google Drive, OneDrive and SharePoint watch, find, read, create, move and transfer authorized files and folders with size/type bounds and access checks; SharePoint also triggers on new list items and on changes to chosen watched columns (TRIG-008) and creates/updates list items in a chosen site. Microsoft 365 connections use Microsoft Entra ID consent with the delegated or application scopes shown before connection. Binary/file references carry provenance and expiry rather than leaking bearer URLs. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** Run a changed spreadsheet row into an Airtable upsert, attach a permitted Drive document and archive a generated file; repeat the event and deny access to a private file, verifying one record and a visible file-permission error. In a Microsoft 365 test tenant, run the same journey with an Excel table row on OneDrive upserted by business key, a SharePoint list item created from it and a generated file saved to a SharePoint document library: verify each by provider readback, repeat the triggering event with no duplicate row, item or file, and deny a file in a library the connection cannot read with a visible permission error. Add one row and then a batch of 3 rows to an Excel table and a Google Sheets worksheet with no key column: verify 4 appended rows in order by readback, and on a retried batch with a lost response, still 4 rows (EXEC-006). With Status as the watched column, edit another cell of a Google Sheets row and of an Excel table row and verify no run, then change each Status and verify one run per row carrying the previous and new Status (TRIG-008).

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## CONN-006 — HubSpot, Orbit and Salesforce

Status: partial.

HubSpot, Orbit and Salesforce connections trigger on new leads, contacts, companies and deals and on changes to chosen watched properties or a deal’s stage, with optional changed-to values (TRIG-008, covering HubSpot Deal, Contact and Company Property Change and Updated Deal Stage), search associations and custom fields with WORK-011 find-or-create and match outcomes, read and write deal/opportunity line items and products as WORK-002 line-item arrays, create/update records and tasks, and prevent synchronization loops. Buyers choose the authoritative system and conflict policy per mapped field; ambiguous merges enter an exception queue. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** For each CRM, ingest a changed lead, match an existing company, update a custom deal field, read a deal’s three line items with their products, quantities and discounts as one line-item array, and create a task; run a WORK-011 “find or create contact by email” step twice for one new email and verify `created`, then `found`, and one contact by readback; send the reflected event back and a conflicting edit, verifying no infinite loop or silent overwrite. With a trigger watching deal stage changed to Closed Won, move a deal to Closed Won and verify one run carrying the previous and new stage, then edit its amount and verify no run.

Current evidence: `tests/connections.test.mjs` (CONN-002: OAuth consent, refresh and accounts per step, invoking `tests/hubspot-search-journey.mjs`); `tests/hubspot-search-journey.mjs` (hubspotSearchJourney: native draft tests, publication, complete bounded contact pages, exact whole-email comparison, all WORK-011 outcomes, duplicate and conflicting IDs, malformed and provider failures, two-connection isolation, scope and revocation refusal including final-page consent and workflow-pause fencing, unchanged polling state and zero provider mutations; hubspotCustodyJourney: 429 and restart without repeating completed pages, current consent before cached reads, disclosure, restricted payload reads, sealed unfinished pages and results, legal holds, erasure and expiry, complete credential-free inactive restore and atomic malformed-archive refusal for endpoint, byte bound, redirects, declared page bounds and projected headers); `tests/ownership.test.mjs` (owned installation completes the HubSpot search without author traffic); `tests/hubspot-search-browser.mjs` (HubSpot retained identities, literal names, complete and incomplete outcomes and tooltips at 1440 and 390, invoked by the existing Gmail browser entry); `docs/API.md`

Remaining gap: Only bounded read-only HubSpot contact lookup by one exact email is delivered. HubSpot and Salesforce developer test accounts, actual provider consent and independent live readback remain unavailable; Orbit requires its authorized native installation and its CONN-010 work is not promoted here. All CRM triggers and watched-property and stage behavior, associations and custom-field and other searches, find-or-create, company and deal and product and line-item operations, record and task writes, authoritative-field conflict handling and synchronization-loop prevention, resource pickers and samples, migration coverage and parity and complete per-CRM live acceptance journeys remain required. Per-connection admission does not establish provider-verified account identity.

## CONN-007 — QuickBooks Online, Xero and NetSuite

Status: missing.

Accounting/ERP connectors run the invoicing, collection and payment-recording work the business does in its books. QuickBooks Online, Xero and NetSuite remain the books of record; Crank creates, sends and records transactions in them through the buyer’s authorized connection, handles pagination, tax codes and tax rates, USD precision to the cent, multi-line items and provider accounting periods (QuickBooks closing date, Xero lock dates, NetSuite closed periods), and retains every source and provider object ID. An unsent invoice (a Xero Draft, or a QuickBooks Online invoice saved without sending) is what other clauses call a draft invoice; creating an invoice can equally produce a final invoice (QuickBooks saved, Xero Authorized) ready to send. - **Triggers** (QuickBooks Online and Xero, each a named catalog operation): new invoice; new paid invoice (once per invoice when its balance reaches zero) and new payment received (once per payment, including partial payments, with the invoices it was applied to); invoice due and invoice overdue (once per invoice when its due date, or a chosen number of days before or after it, passes with a balance above zero, evaluated in the company’s timezone, and again only if the due date changes); new and updated customer or contact; new estimate or quote; new sales receipt; new credit memo or credit note; new bill; and updated invoice, which is a TRIG-008 update trigger with status, balance and due date among its watchable fields. Detection uses QuickBooks Online webhooks and change data capture and Xero invoice and contact webhooks where they cover the entity, and TRIG-004 polling by last-modified time otherwise; because neither supplies previous values, TRIG-008 keeps its per-record snapshot of the watched fields. Each trigger loads samples under WORK-014. - **Searches**, each with WORK-011 found, not found and several-found outcomes: find customer or contact by email or display name, with find-or-create; find invoice by number, or by customer with an optional status (open, overdue, paid); find product or item by name or SKU, with find-or-create; find vendor by name or email, with find-or-create; find estimate or quote by number; find payment by reference. - **Actions:** create, update and void an invoice (draft or final, with WORK-002 line items, tax codes, discount lines, terms, due date, memo and custom fields); **send invoice** and **send estimate or quote** through the provider’s own email to the customer’s billing address or chosen recipients, with the provider’s sent status read back; create an estimate or quote; **record a payment** applied to one or more open invoices (amount per invoice, payment date, deposit or bank account, payment method and reference such as a Stripe charge or ACH trace ID), with any unapplied remainder left as a customer credit only where the provider supports it; create a sales receipt (QuickBooks Sales Receipt, Xero received money transaction, NetSuite Cash Sale); create a credit memo or credit note, optionally applied to an invoice; create and update customers or contacts, products or items, vendors and bills; and attach a file reference (WORK-002) to an invoice, estimate, bill or payment, with a note. - **NetSuite** offers the same triggers, searches and actions through SuiteTalk REST and saved-search polling (invoice, customer payment, cash sale, credit memo, estimate, vendor bill, customer, vendor and item records), with send-by-email through NetSuite’s transaction email from a Crank SuiteApp script deployed under the account administrator’s consent. Each NetSuite operation is a named catalog entry under the same acceptance. - **Exactly once:** creates, sends and payments use the provider’s idempotency where offered (QuickBooks Online `requestid`, Xero `Idempotency-Key`, NetSuite external ID) and EXEC-006 readback by business key otherwise, so a retried or replayed step never produces a second invoice, email or payment. - **Authority:** sending, voiding, recording payments and receipts and issuing credit memos run unattended under the TEAM-004 publish authority of the workflow that declares them, like any other published step. They pause for approval only under an opt-in TEAM-005 approval step, a TEAM-004 per-step or workspace cap (for example payments over a USD amount) or a TEAM-002 grant limit for agent work. A payment, receipt or credit Crank records is an authorized transaction the buyer’s own books hold under BOUND-001; Crank never keeps a ledger of its own. - **Coverage and migration:** CONN-001’s coverage report marks a QuickBooks Online, Xero or NetSuite operation native only when this clause names it; any other operation reports agent-buildable under CONN-011 or blocked with its reason, never native. MIG-002 maps Zapier’s QuickBooks Online and Xero triggers, searches (including find-or-create) and actions named here to these operations, and MIG-003 and MIG-001 do the same for Make and n8n modules. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **AI-003 invoice-source receiver duty (ct scope-review-54):** When this connector supplies an invoice to a recurring follow-up task, read its live state at each step and again in the same dispatch before customer contact through EXEC-007 or CONN-003. Paid, closed or void invoices stop contact; the invoice's billing contact is the only customer recipient source. A native invoice record or stale snapshot alone cannot complete AI-003, which stays missing. **Acceptance evidence:** For each provider’s sandbox, map a customer and a source with five lines (mixed tax codes, one discount line and one non-taxable line) into a draft invoice, read it back with five lines whose per-line amounts and total match the source to the cent, handle a locked period and revoked scope, and record a payment reference without rounding cents away. Then, in a QuickBooks Online sandbox: 1. Moving a HubSpot deal to Closed Won runs **find or create customer** by email; run it twice for one new customer and verify `created`, then `found`, and one customer by readback. 2. Create a final 3-line invoice for that customer and **send** it: readback shows the invoice’s email status as sent, and the sandbox inbox receives it. Lose the send response and retry: the inbox receives one email. 3. A Stripe test-mode charge **records a payment** applied to that invoice: readback shows a zero balance and the invoice as paid. Record one payment of $1,500.00 split across two open invoices of $1,000.00 and $500.00 and verify both read back paid. 4. The **new paid invoice** trigger fires once and updates the HubSpot deal. Re-deliver the event and verify no second run; edit the paid invoice’s memo and verify no run (TRIG-008, status watched). 5. A **new invoice due** trigger on a second invoice past its due date starts one reminder run, and a later poll starts none. 6. A Square order creates one **sales receipt** whose total matches the order to the cent. 7. Create and send an estimate, issue a credit memo applied to an invoice, find a product by SKU with find-or-create, create a bill for a vendor found or created by name, and attach a PDF to the invoice: verify each by readback. 8. Void an invoice in a workflow with a $0 void cap and verify the void pauses for approval while sends in the same workflow continue unattended; with no cap, verify the void completes unattended. Repeat steps 1 to 5 in a Xero demo company with Send Sales Invoice by Email, Create Payment and the Overdue Sales Invoice trigger, and steps 1 to 3 and 6 in a NetSuite sandbox account. Migrate a Zap running “New Paid Invoice in QuickBooks → update HubSpot deal” and one running “Find or Create Customer → Create Invoice → Send Invoice”: verify each reports native in the coverage report and passes its parity test. Report a Zap using a QuickBooks operation this clause does not name and verify it reports agent-buildable, not native. For AI-003, change the connected invoice between steps and again before a due contact, verify both live reads and no contact once paid, closed or void, and verify that the outgoing recipient is only the invoice's current billing contact. Prove external contact through EXEC-007 or CONN-003 with their inherited cadence, stop and operation-key duties; a native invoice plus employee inbox alone is insufficient.

Current evidence: `tests/quickbooks-search-journey.mjs` (quickbooksSearchJourney, invoked by the existing Native financial effects registration in `tests/connections.test.mjs`): exact typed document-number lookup, all shared search outcomes, deterministic bounded pages, decimal and provider identity preservation, injection-shaped keys, malformed and provider failures, selected-account isolation, 429 parking and retained-page restart, current realm and scope refusal, zero writes, sealed unfinished pages and results, rotation, legal holds, erasure, expiry and complete credential-free inactive restoration. `tests/financial-browser.mjs`: found, truncated and waiting search histories at 1440 and 390, with shared run-control tooltips. `tests/ownership.test.mjs` through `tests/financial-ownership.mjs`: the owned installation completes the native invoice search.

Remaining gap: No delivered product workflow.

## CONN-008 — Stripe and Shopify commerce workflows

Status: missing.

Stripe and Shopify connectors run the store’s order, customer, catalog, inventory and payment work through the merchant’s authorized connection. They preserve provider event and object IDs, verify webhook signatures (Stripe signing secret, Shopify HMAC), reconcile delayed and out-of-order events, map order lines as WORK-002 line items with discounts, shipping and tax to the cent, and leave funds, card data, tax calculation and merchant liability with the provider. Every trigger loads samples under WORK-014, every account resource (location, product, variant, price, sales channel) is a CONN-019 picker, and every search follows WORK-011. - **Shopify triggers** (each a named catalog operation, detected from verified Shopify webhooks with TRIG-004 polling of the Admin API as the backstop for missed deliveries): new order; new paid order (once per order when its financial status becomes paid); new fulfilled order; new canceled order; new refund; new abandoned checkout (once per checkout still incomplete after a chosen delay of 1 to 24 hours, carrying the customer email, phone and line items, and never for a checkout that completes within the delay); new customer; updated customer; new tag added to a customer; new product; updated product; updated inventory level at a chosen location, with an optional threshold that fires once when the available quantity drops to or below it and again only after it has risen above it; new draft order; and **updated order**, a TRIG-008 update trigger with financial status, fulfillment status, tags, note, shipping address and line items among its watchable fields. Updated customer, updated product and updated inventory level are TRIG-008 update triggers too (customer tags, email, marketing consent; product status, price, tags; available quantity). - **Shopify searches**, each with WORK-011 found, not found and several-found outcomes: find customer by email or phone, with find-or-create; find order by order number, name or ID; find product by title or handle, with find-or-create; find product variant by SKU, with find-or-create under a chosen product; find order transactions for an order. - **Shopify actions:** create and update a customer (name, email, phone, addresses, marketing consent, note); add and remove tags on a customer, an order or a product; create and update a product and a product variant (title, status, price, compare-at price, SKU, barcode, weight, inventory item and its tracking); set and adjust the inventory quantity of an inventory item at a chosen location; create a draft order and create an order, each with WORK-002 line items (variant by ID or custom line, quantity, price, discount), customer, shipping and tax lines; complete a draft order; mark an order as paid; update an order (note, tags, shipping address, custom attributes); create a fulfillment with tracking number, tracking company and URL, notifying the customer by choice; capture an authorized payment, in full or for a USD amount; create a refund for chosen lines or an amount; cancel an order; and create a gift card with an initial value and optional customer and expiry. - **Stripe triggers:** new charge; new successful and new failed payment; new customer; updated customer; new invoice; invoice paid; invoice payment failed; new subscription; updated subscription (a TRIG-008 trigger watching status, price and quantity); canceled subscription; checkout session completed; new refund; new dispute; and new payout. Detection uses verified Stripe webhook events with their event IDs. - **Stripe searches**, each with WORK-011 outcomes: find customer by email or ID, with find-or-create; find charge or payment intent; find invoice; find subscription by customer; find product and find price, each with find-or-create. - **Stripe actions:** create and update a customer; create a product and a price; create an invoice item and an invoice, finalize it and send it; create a payment link; create, update and cancel a subscription; create a refund; and capture a payment intent. - **Exactly once:** every write uses Shopify’s idempotent request key where the Admin API offers one, and otherwise EXEC-006 readback by business key (order source ID, draft order tag, fulfillment order ID) before any retry; Stripe writes use Stripe’s `Idempotency-Key`. A retried or replayed step never produces a second order, draft order, fulfillment, refund, capture, gift card or customer. - **Authority:** writes run unattended under TEAM-004 publish authority. Refunds, captures, cancellations and gift cards keep their TEAM-002 and EXEC-006 terms: they pause for approval only above a TEAM-004 USD cap, under an opt-in TEAM-005 approval step or under a TEAM-002 grant limit for agent work, and an uncertain refund or capture is reconciled before another attempt. - **Coverage and migration:** CONN-001’s coverage report marks a Shopify operation native only when this clause names it; any other Shopify operation reports agent-buildable under CONN-011 or blocked with its reason. Stripe, which is on Zapier’s popular-apps list, is checked by CONN-001’s template fixture and also by every operation named here. MIG-002 maps Zapier’s Shopify and Stripe triggers, searches (including find-or-create) and actions named here to these operations, and MIG-003 and MIG-001 do the same for Make and n8n modules. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** Use Stripe test mode and a Shopify development store to process duplicate/out-of-order paid-order events (the Shopify order carrying three products with a discount and shipping, mapped as three lines whose total reconciles to the order total), read back payment and order state, create one fulfillment handoff and require the configured authorization for a refund; an uncertain refund is reconciled before another attempt. Then, in the Shopify development store: 1. **New Customer** starts one run that adds a Mailchimp subscriber with a tag. Re-deliver the webhook and verify no second run. 2. **Find or Create Customer** by email, run twice for one new email: verify `created`, then `found`, and one customer by readback. 3. **Create Draft Order** with two lines whose variants are found by **Find Product Variant by SKU**, then complete it: verify the lines, quantities and total by readback, to the cent. 4. **Update Inventory Quantity** at one location from a Google Sheets row: verify the level by readback. An **Updated Inventory** trigger with a threshold of 5 fires once when the level drops to 4 and does not fire again at 3. 5. With an **Updated Order** trigger watching fulfillment status changed to fulfilled, add a note to the order and verify no run; then **create a fulfillment** with a tracking number and verify one run carrying the previous and new fulfillment status. 6. **New Abandoned Checkout** starts one run carrying the customer email and line items; a checkout completed within the delay starts none. 7. A HubSpot lifecycle-stage change runs **Add Tag to Customer**, verified by readback. 8. Lose the response to a **Create Order** step and retry it: verify exactly one order exists. 9. **New Refund** creates one QuickBooks Online credit memo under CONN-007 and one #finance Slack post; **capture** an authorized payment above a $200 capture cap and verify it pauses for approval while an in-cap capture completes unattended. 10. Migrate the Zaps “New Paid Order → QuickBooks sales receipt” and “Find or Create Customer → Create Draft Order”: verify each reports native in the coverage report and passes its parity test. 11. Report a Shopify operation this clause does not name and verify it reports agent-buildable, not native. In Stripe test mode, **Find or Create Customer** twice for one new email (`created`, then `found`), create an invoice item and an invoice, finalize and send it, and verify **Invoice Paid** fires once when the test payment succeeds; an **Updated Subscription** trigger watching status starts no run for a metadata edit and one run for a cancellation. Publish a Stripe → Google Sheets → Slack → QuickBooks Online workflow: one Stripe test-mode successful payment starts exactly one run that appends one sheet row (CONN-005), posts one message to the Slack #sales channel (CONN-004) and creates one QuickBooks Online sandbox invoice for the same USD amount (CONN-007), each verified by provider readback, and run history shows each step’s completion time.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## CONN-009 — Jira Software Cloud and Zendesk

Status: missing.

Zendesk Support and Jira Software Cloud connectors run the buyer’s support and engineering workflows: tickets in, routed out, and status carried back. They preserve external IDs and conversation links, map custom fields, ticket forms, groups, brands, projects, issue types, sprints and users through CONN-019 pickers, carry attachments as WORK-002 file references, and route access and rate-limit failures to their owner. Every trigger loads samples under WORK-014 and every search follows WORK-011. **Loop prevention:** Crank records the provider change it made for each write; on a workflow that writes back to a record type it triggers on, a trigger ignores changes made by that workflow’s own writes by default, so a write-back never starts the workflow again. - **Zendesk triggers** (each a named catalog operation, detected from Zendesk event webhooks, which carry previous and current values for ticket changes, with TRIG-004 polling as the backstop): new ticket; new ticket in a chosen view (once each time a ticket enters the view, from a polled view-membership snapshot; edits while it stays in the view start nothing); **updated ticket**, a TRIG-008 update trigger with status, priority, assignee, group, tags, ticket form and custom fields among its watchable fields; updated ticket in a chosen view; new comment on a ticket, public, internal or either by choice; new tag added to a ticket; new user; new organization; and new suspended ticket. - **Zendesk searches**, each with WORK-011 found, not found and several-found outcomes: find tickets by Zendesk search query; find user by email, with find-or-create; find organization by name or domain, with find-or-create; find agent by email or name; find latest comment on a ticket. - **Zendesk actions:** create a ticket (requester, subject, description, priority, type, group, assignee, tags, ticket form and custom fields); update a ticket; solve a ticket; add a public or internal comment, optionally with attachments; add and remove tags; attach a file to a ticket; create and update a user; create and update an organization. - **Jira triggers** (detected from Jira Cloud webhooks filtered by JQL, whose `issue_updated` events carry a changelog of previous and new values, with JQL polling as the backstop): new issue in a chosen project; new issue matching a JQL query; issue status changed, with optional changed-to and changed-from statuses; and **updated issue**, a TRIG-008 update trigger with status, priority, assignee, sprint, labels, fix version and custom fields among its watchable fields. - **Jira searches**, each with WORK-011 outcomes: find issue by key, or by JQL, with find-or-create (create in a chosen project and issue type if no issue matches); find user by email or name; find project by key or name. - **Jira actions:** create and update an issue (project, issue type, summary, description, priority, assignee, labels, components, fix version and custom fields from create metadata); transition an issue to a chosen status, with any fields its transition screen requires; add a comment; add an attachment; link two issues with a chosen link type; add a watcher; move an issue to a sprint; and add a work log. - **Exactly once:** creates use EXEC-006 readback by business key (a Zendesk external ID or a Jira field holding the source ID) before any retry, so a retried or replayed step never produces a second ticket, issue, comment or user. - **Coverage and migration:** CONN-001’s coverage report marks a Zendesk or Jira operation native only when this clause names it; any other operation reports agent-buildable under CONN-011 or blocked with its reason. MIG-002 maps Zapier’s Zendesk and Jira Software Cloud triggers, searches (including find-or-create) and actions named here to these operations, and MIG-003 and MIG-001 do the same for Make and n8n modules. Crank’s own failure notices use these same operations under EXEC-003. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** In a Zendesk sandbox and a Jira Cloud test site: 1. Create a ticket tagged `bug`: a **New Ticket** trigger with a tag filter starts one run, and **Find or Create Issue** creates one Jira issue. Re-deliver the event: verify `found` and still one issue. 2. Write the issue key back to a ticket custom field and verify no Zendesk → Jira loop. 3. With an **Issue Status Changed** trigger set to changed to Done, edit the issue description and verify no run; then transition it to Done and verify one run that adds one public comment to the ticket, by readback. 4. With an **Updated Ticket** trigger watching priority, add an internal note and verify no run; then change the priority to urgent and verify one run carrying the previous and new priority. 5. A **New Ticket in View** trigger fires once for a ticket entering the view, and not again when that ticket is edited while still in it; the run DMs the account owner found by email in Slack under CONN-004. 6. **Find or Create User** by email twice for one new email: verify `created`, then `found`, and one user. Then **Create Ticket** for that user with an attached PDF, verified by readback. A new HubSpot company runs **Find or Create Organization** once. 7. A **New Issue (JQL)** trigger on `project = OPS AND priority = Highest` starts runs only for matching issues. A CONN-012 form submission runs **Create Issue** in a chosen project, issue type and sprint with a custom field chosen through a CONN-019 picker, verified by readback. 8. Migrate the Zaps “New Ticket in View → Slack” and “Issue Status Changed → Add Comment to Ticket”: verify each reports native in the coverage report and passes its parity test. Report a Zendesk operation this clause does not name and verify it reports agent-buildable, not native. 9. Create an exception ticket and issue from a failed Crank workflow, update each from the run’s resolution and observe a reply/status event without duplicate issues or a synchronization loop.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## CONN-010 — Every Run Edit Run product connects

Status: partial.

Every sibling seed has a named connector using its public events/API and app-specific authority, with useful domain triggers (update triggers with TRIG-008 watched fields), lookups and actions rather than a placeholder webhook. Current coverage includes [Vector](https://github.com/just-every/run-vector), [Spool](https://github.com/just-every/run-spool), [Uptime](https://github.com/just-every/run-uptime), [Lamp](https://github.com/just-every/run-lamp), [Oncall](https://github.com/just-every/run-oncall), [Linen](https://github.com/just-every/run-linen), [Auth](https://github.com/just-every/run-auth), [Vane](https://github.com/just-every/run-vane), [Slate](https://github.com/just-every/run-slate), [Nook](https://github.com/just-every/run-nook), [Chest](https://github.com/just-every/run-chest), [Pencil](https://github.com/just-every/run-pencil), [Penny](https://github.com/just-every/run-penny), [Cradle](https://github.com/just-every/run-cradle), [Evidence](https://github.com/just-every/run-evidence), [Pane](https://github.com/just-every/run-pane), [Orbit](https://github.com/just-every/run-orbit), [Buoy](https://github.com/just-every/run-buoy), [HappyToHelp](https://github.com/just-every/run-happytohelp), [Mango](https://github.com/just-every/run-mango), [Dial](https://github.com/just-every/run-dial), [Stall](https://github.com/just-every/run-stall), [Platter](https://github.com/just-every/run-platter), [Nectar](https://github.com/just-every/run-nectar), [Pantry](https://github.com/just-every/run-pantry), [Easel](https://github.com/just-every/run-easel), [Coaster](https://github.com/just-every/run-coaster), [Purse](https://github.com/just-every/run-purse), [Inkwell](https://github.com/just-every/run-inkwell), [Locket](https://github.com/just-every/run-locket), [Blotter](https://github.com/just-every/run-blotter), [Coffer](https://github.com/just-every/run-coffer), [Willow](https://github.com/just-every/run-willow), [Lodge](https://github.com/just-every/run-lodge), [Lanyard](https://github.com/just-every/run-lanyard), [Beam](https://github.com/just-every/run-beam), [Gauge](https://github.com/just-every/run-gauge), [Satchel](https://github.com/just-every/run-satchel), [Balm](https://github.com/just-every/run-balm), [Pier](https://github.com/just-every/run-pier), [Larder](https://github.com/just-every/run-larder), [Barrow](https://github.com/just-every/run-barrow), [Gasket](https://github.com/just-every/run-gasket), [Glove](https://github.com/just-every/run-glove), [Mallet](https://github.com/just-every/run-mallet), [Plinth](https://github.com/just-every/run-plinth), [Terrace](https://github.com/just-every/run-terrace), [Cabin](https://github.com/just-every/run-cabin), [Placemat](https://github.com/just-every/run-placemat), [Strap](https://github.com/just-every/run-strap). Crank’s own workflow/run API supports automation of Crank. The catalog expands as seeds are added. Each sibling retains its product: Orbit CRM, HappyToHelp support, Vector issues, Penny feedback, Nook chat, Cradle records, Chest files, Coaster expenses and Pier stock are linked, not rebuilt or folded into Crank. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** For each listed sibling, connect an authorized installation, receive a real domain event, read the originating record, perform an allowed domain action and observe its outcome in that sibling; duplicate events, revoked grants and foreign-tenant IDs must fail safely. Demonstrate a CRM-to-accounting-to-chat business journey across sibling connectors. **Delivered native slice:** Nook's documented integration-token action posts a body to one immutable HTTPS installation and conversation binding. Existing native-owner connection management, publication, test-account controls, current request admission and audit apply. Each physical request rechecks current connection and messages:write authority. A stable operation key uses Nook's family-scoped provider idempotency contract. Lost acknowledgements retry within the retained bounded budget only with the original credential; replacing its bearer leaves a possibly accepted operation uncertain because the posting API cannot attest family continuity. Resealing the same credential is safe. Definite 401 and 403 refusals can re-execute after explicit owner reconnect and resume, while prior possibly accepted writes retain their credential fence. Long provider waits park across restart. A provider response is labelled an acknowledgement, never independent readback. Destination refusal also applies when the credential is used through the generic HTTP door. Connection bindings and completed history restore without credentials, receiving authority or automatic execution. Named edge assertions are in `tests/nook-journey.mjs`, invoked by `tests/connections.test.mjs`; existing owned-operation conformance includes this action. `tests/sibling-browser.mjs` is invoked by Verify. This is partial delivery of the unchanged acceptance above; no real sibling event, record lookup or cross-product completion is established. **Delivered Orbit slice:** The sibling's standalone scoped deal API supports native exact-title lookup, selected-deal reads and conditional deal updates followed by independent field readback. Native-owner consent fixes the HTTPS installation, existing deal identifiers and field projection; the provider credential still enforces its own principal, operation, record, field and expiry authority. Generic HTTP and connection tests may read individual bound deals only; lists and updates require the native complete-set and readback checks. Every workflow request uses EXEC-002 admission and retained bounds and rechecks current authority. An ambiguous update is never resent; its exact requested fields must be observed or the outcome remains uncertain. Polling compares complete bounded deal snapshots and admits new records or watched changes once through the existing durable TRIG-008 machinery, retaining erasure fences and inactive portable comparison state. It does not claim provider events, modification history or a provider clock. BASE-001 owned operation, disclosures and credential-free inactive restoration include these operations. `tests/orbit-journey.mjs` and `tests/ownership.test.mjs` assert the native slice; `tests/sibling-browser.mjs` inspects its existing screens. No live sibling receipt or cross-product journey is established.

Current evidence: `tests/connections.test.mjs` — Native Nook delivery and Native Orbit deals and snapshots; `tests/nook-journey.mjs` — scoped send and lost acknowledgement; `tests/orbit-journey.mjs` — scoped lookup, conditional update with independent readback, watched polling, refusal, erasure and complete inactive comparison records; `tests/ownership.test.mjs` — BASE-001 and BASE-004 owned installation; `tests/sibling-browser.mjs` — Nook and Orbit operation and current-authority screens.

Remaining gap: Nook integration-token send and Orbit scoped deal lookup, read, conditional update and snapshot polling are delivered with edge proof; no authorized live sibling receipt. Real domain events, the remaining sibling resources and connectors, independent Nook readback and the CRM-to-accounting-to-chat journey remain unproved. Orbit now exposes scoped public deal credentials and resources; its outbound subscriptions remain sibling-owned unfinished work. Nook still lacks events and message-history access. Changed Nook bearer continuity after a possibly accepted write remains unverified, including provider rotations that preserve the family; Crank keeps that work uncertain rather than replaying it. All remaining sibling integrations and real provider acceptance and outcomes remain required.

## CONN-011 — Custom, enterprise and private app connections: custom connectors, private gateways and pipelines

Status: done.

Technical teams build versioned custom connectors from documented APIs/OpenAPI with typed inputs, pagination, OAuth/key declarations, webhook verification and reusable tests. PostgreSQL, MySQL, SQL Server, SFTP and S3-compatible data-pipeline recipes use typed connectors or reviewed custom connectors, authenticated customer-controlled private gateways and incremental checkpoints; large files stream with explicit bounds. Workato-class deployment includes environment separation and scoped service accounts. **Private gateway rules (ct, 21 October 2026).** Only the owner enrolls a gateway, in a native browser session after the fresh email-link step-up within the preceding five minutes, with a single-use 256-bit enrollment code shown once, stored only as its SHA-256 hash, expiring after 15 minutes and naming one installation, one environment and the gateway. The gateway program generates an Ed25519 key pair on the customer host; Crank keeps only the public key and fingerprint. The gateway connects only outward to Crank over HTTPS, signs every request over method, path, body digest, timestamp and a single-use nonce, and accepts only installation-signed jobs. A gateway serves exactly one installation and one environment. It does nothing until the owner grants it one connector at an exact version, named operations and named private destinations; a new connector version needs a new grant, and every grant change bumps the TEAM-001 authority revision. Database, SFTP and storage credentials stay on the gateway host, referenced by name, and never reach Crank, run history, logs, audit or archives. Crank and the gateway each check status, environment, grant revision, connector version, operation and destination on every dispatch; the gateway runs only the granted version's typed operations against granted destinations after its own resolution, follows no redirect, always refuses link-local and metadata addresses and is never an arbitrary network proxy. Owners and admins revoke a gateway or grant without step-up, effective from the next dispatch; later results are withheld and the run fails with `gateway revoked`. A request for another environment's gateway, connection or secret is refused, audited and shown as a named access decision. A scoped service account is an owner-minted non-person credential bound to one environment and to workflow and connection scopes no wider than the owner's live authority, shown once, stored only as a hash, expiring (365 days by default, 730 at most), suspended when its authority ends and never transferred. SEC-003 audits codes, grants, revocations and refused dispatches without secrets or payloads; archives carry no code, gateway key or grant authority, so a restore brings gateways back revoked and grants inactive. SEC-002, SEC-003, TEAM-001, TEAM-003, DATA-001, DATA-002, BASE-003, WORK-011 and CONN-020 inherit these rules. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** Install a custom connector, call a private test database through an enrolled gateway, checkpoint and resume a paginated file pipeline, then revoke the gateway and attempt a cross-environment secret read; inspect the failed run and access decisions. Verify an expired or reused enrollment code and a gateway request with a wrong signature or environment are refused, an operation or destination outside the grant and a new connector version without a grant are refused at Crank and at the gateway, and the database credential is absent from Crank state, run history, logs and archives. Run each named recipe (PostgreSQL, MySQL, SQL Server, SFTP and S3-compatible) against a real test server through the gateway, and verify a scoped service account is refused outside its environment and scopes. Current gateway semantics follow ct’s 21 October ruling. TEAM-001 authority revision changes on enrollment, gateway/grant changes and member authority changes. SEC-003 audits code lifecycle, grants, revocations and refused dispatches without credentials or payloads. DATA-001/DATA-002 restore gateway metadata revoked and grants inactive with no code, gateway key or authority. BASE-003 reports gateway last seen, program version and status. TEAM-003 service accounts inherit the environment, expiry and minter-authority boundary. WORK-011 custom searches use this clause; AGENT-002 repairs need a new exact-version grant. Agent-buildable coverage in AI-001, MIG-001–003 and CONN-001 belongs to CONN-020. Public custom connector DNS enforcement remains SEC-002’s own Base egress gap, as ct ruled; private gateways perform their own checked resolution.

Current evidence: `tests/connections.test.mjs` — “Custom connector review, agent OpenAPI proposal and sandbox gates retain exact versions, scope refusals and signed duplicate-event proof” (install, typed scopes, immutable versions and sandbox); “Enrolled private gateway reads a real database, checkpoints file pages across restart, revokes dispatch and restores without gateway authority” (database/file resume, signed identity, code reuse, dual grants, cross-environment decisions, host custody and inactive restore); “Private gateway read retries retain admission, inputs and budget across restart, recover automatically and stop at exhaustion”. `tests/service-accounts.test.mjs` — “CONN-011 / TEAM-003: owner email confirmation mints hash-only expiring preparation accounts with explicit doors and scoped reads”; “CONN-011 / TEAM-003: scope moves, expiry and minter changes permanently suspend accounts and fence admitted draft commits”. `tests/postgres-write-journey.mjs` — real restricted PostgreSQL write, owner confirmation, independent business readback, lost-result receipt recovery and timeout uncertainty. `tests/custom-browser.mjs` with `tests/private-write-browser.mjs` — native Connections, Access, editor and run end states at 1440/390, including an actual PostgreSQL write. `tests/database-gateway-journey.mjs` — real PostgreSQL/MySQL restricted reads, typed inputs, bounds and session cleanup; `tests/sqlserver-gateway-journey.mjs` — real SQL Server restricted login/READ_ONLY database, exact grants, byte/row/deadline limits, session cleanup and refusal; `tests/storage-provider-journey.mjs` — real OpenSSH SFTP/RustFS S3 pages, restart, source/credential refusal and custody; `tests/storage-gateway-journey.mjs` — network-edge redirect, UTF-8 and protocol bounds; `tests/gateway-streaming-journey.mjs` — real 64 MiB source, 64 KiB pages, restart and same-size mutation refusal. `tests/retry-backoff-journey.mjs` — “Real owner email freshness, expired enrollment and 90-second Retry-After plus 1/2/4/8/16-minute public and private outage backoff survive restart” (actual five-minute step-up, expired fifteen-minute code, native/public/private bounded backoff, retained input and budget, first due Cron and automatic recovery).

Remaining gap: None.

## CONN-020 — Custom, enterprise and private app connections: agent-built connectors, enterprise applications and SSO

Status: missing.

When a buyer needs an app with no native connector, an agent builds one on request from the provider’s public API documentation or OpenAPI description: it proposes the triggers (update triggers with TRIG-008 watched fields and detection), searches (each with WORK-011 create-if-not-found, no-match and multi-match settings) and actions the buyer’s workflows use, their auth and scopes, and test cases; a person reviews scopes before first consent; the connector passes the same sandbox acceptance as a native connector (readback, duplicate event, revoked scope) before any production run, and is versioned and repairable under AGENT-002. Enterprise applications such as ServiceNow and SAP use typed connectors or reviewed custom connectors, authenticated customer-controlled private gateways and incremental checkpoints. Workato-class deployment includes SSO through Auth or the buyer’s IdP. Every CONN-011 rule applies unchanged; an agent's proposal never grants itself a scope, gateway or destination, and the person reviewing scopes is the owner or an admin holding connection authority. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** Ask the agent for a connector to an app with a public OpenAPI description and no native connector: review its proposed operations and scopes, refuse one scope and verify the connector omits the dependent operation, then pass its sandbox readback, duplicate-event and revoked-scope tests and use it in a published workflow. Inspect the SSO access decisions for a person signed in through Auth or the buyer’s IdP, and connect ServiceNow and SAP test instances through typed or reviewed custom connectors.

Current evidence: `tests/connections.test.mjs` — “Custom connector review, agent OpenAPI proposal and sandbox gates retain exact versions, scope refusals and signed duplicate-event proof” proves provider-edge typed GET proposals only.

Remaining gap: Agent-built operation discovery/repair needs AI-001 and AGENT-002. Real ServiceNow/SAP test instances and owner Auth/IdP tenant are not held; no enterprise/SSO sandbox receipt. Every CONN-011 gateway rule is inherited.

## CONN-012 — Lead capture and form apps

Status: missing.

Facebook Lead Ads, Google Forms, Typeform, Jotform and Gravity Forms (WordPress) connectors trigger on new submissions/leads: Facebook Lead Ads instantly through Meta’s lead webhooks for a chosen Page and form, Typeform, Jotform and Gravity Forms through provider webhooks registered by the connector, and Google Forms through response polling. Each exposes the form’s current fields (including hidden fields, UTM parameters and file uploads) as typed mappable data, finds forms and responses, and keeps the provider’s response/lead ID as the deduplication key. Connectors register, verify and remove their own webhooks so the buyer never pastes a URL, and a field added or renamed in the form is detected as schema drift (AGENT-002). Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** For each provider’s test account, connect, pick a form, submit a response with a hidden UTM field and a file, and verify one run whose mapped fields match the response by provider readback; resend the same provider delivery and verify no second run; add a form field and verify drift is reported before the next run maps it; disconnect and verify the connector removed its provider webhook.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## CONN-013 — Calendars, scheduling and meetings

Status: partial.

Google Calendar is its own connector: triggers on new, updated, canceled and starting-soon events on chosen calendars, searches events and free/busy, and creates, updates and cancels events with attendees, conferencing and reminders. Calendly triggers on invitee created and invitee canceled (with rescheduling linked), exposes event type, questions/answers, UTM and payment fields, and looks up scheduled events and invitees. Zoom triggers on meeting/webinar registration, meeting ended and recording completed, and creates meetings, registrants and recording links. Time zones stay explicit IANA zones end to end. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** Book a Calendly test event with answered questions and verify one run that creates a Google Calendar event with a Zoom meeting for the invitee, each read back from its provider; reschedule the booking and verify the same calendar event and meeting are updated rather than duplicated; cancel it and verify both are canceled; deliver the Calendly webhook twice with no duplicate effect.

Current evidence: `migrations/core/0088_checkpoint_subjects.sql` rebuilds retained sealed-page subject indexes atomically with maintenance; `tests/google-calendar-search-journey.mjs` — googleCalendarSearchJourney and googleCalendarSearchCustodyJourney, invoked by the existing Managed Calendar registration in `tests/connections.test.mjs`: exact managed calendar and explicit zoned interval, read-only consent on every request, complete bounded pages, stable recurring instances, all-day dates and DST offsets, cancellation status, deterministic WORK-011 outcomes and incomplete-scan refusal, account isolation, malformed and provider failures, parked restart without repeated completed pages, sealed pages and results, legal holds, erasure, expiry and complete credential-free inactive restoration. `tests/google-calendar-search-browser.mjs` (push Verify): retained identities and literal results at 1440 and 390. `tests/ownership.test.mjs` — owned installation completes every shipped step and projects value-free outgoing disclosures.

Remaining gap: Native bounded Google Calendar event search only. Missing Calendly and Zoom test accounts; actual Google Calendar owner-console consent, redirect URI and test-user setup, exact calendar authorization and independent real-provider readback remain prerequisites. Calendar triggers, free and busy searches, update and cancellation operations and remaining attendee, conferencing and reminder support; Calendly created, canceled and rescheduled invitees, questions, UTM and payment fields and lookups; Zoom registration, ended and recording triggers and meeting, registrant and link actions; resource pickers and samples and the complete live booking, same-object reschedule and cancellation and duplicate-delivery provider journey remain required. This native slice releases no PLATFORM-002 hold.

## CONN-014 — Work management and documents

Status: missing.

Notion (databases and pages), Trello (boards, lists, cards), monday.com (boards, items, subitems, updates), Asana (projects, tasks, sections), ClickUp (spaces, lists, tasks) and Google Docs (documents, templates) connectors trigger on new items and on changes to chosen watched fields such as status, assignee or a custom field (TRIG-008), find items by field, and create, update, move, comment on and complete them with custom fields, assignees, due dates and attachments. Google Docs creates documents from a template with mapped placeholders and appends text. Item IDs and URLs remain stable mapped outputs, and each sibling project/issue product stays separate (Vector issues are reached through CONN-010). Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** For each provider’s test workspace, trigger on a new item, update a custom field, move it to a done status and comment, reading each change back; create a Google Doc from a template with mapped USD and date fields and verify its text by readback; repeat the triggering event and verify no duplicate item, comment or document. With a trigger watching status, edit an item’s description and verify no run, then move it to done and verify one run carrying the previous and new status.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## CONN-015 — Marketing and sales pipelines

Status: missing.

Mailchimp (audiences, tags, campaigns), LeadConnector/HighLevel (contacts, opportunities, pipelines, appointments, workflows) and Pipedrive (persons, organizations, deals, activities, pipelines) connectors trigger on new subscribers, contacts, opportunities and deals and on changes to chosen watched fields, pipelines or stages with optional changed-to values (TRIG-008), search them with custom fields and WORK-011 find-or-create and match outcomes, and add/update subscribers and tags, create/update contacts, deals and opportunities, move pipeline stages and create activities. Mailchimp subscription consent status and unsubscribes are preserved, never overwritten to subscribed, in line with CAN-SPAM norms. Facebook Pages, Instagram for Business and LinkedIn company-page connectors post text, links and images (including an AI-001 generated image) to a chosen Page, Instagram business account or LinkedIn organization, and trigger on new posts and comments there; the Meta app review and LinkedIn Community Management API access these require are BOUND-001 engineering deliverables, and until each is granted, the coverage report names the connector and the pending review as its reason, never a bare blocked. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** For each provider’s test account, route a new lead into a contact/subscriber with a tag and a deal/opportunity in a chosen stage, read each back, move the stage and observe exactly one change-trigger run carrying the previous and new stage, then edit the deal’s value and notes and verify no run; attempt to resubscribe an unsubscribed Mailchimp member and verify the status stays unsubscribed with a named refusal; repeat the lead through WORK-011 find-or-create steps on the contact/subscriber and the deal/opportunity and verify run history reports `found` for both and readback shows one contact and one deal. Post a new RSS item (TRIG-007) with an image to a Facebook test Page, an Instagram test business account and a LinkedIn test organization, and verify each post by readback and one run per item.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## CONN-016 — File storage and e-signature

Status: missing.

Dropbox and Box connectors watch folders for new/changed files and find, upload, copy, move and share files with size/type bounds; Box metadata templates and Dropbox shared links are mappable. DocuSign and PandaDoc connectors create envelopes/documents from templates with mapped recipients and fields, send them for signature, trigger on sent, viewed, completed and declined, and download the completed document and certificate into a chosen storage connector. Signature legal validity stays with the e-signature provider. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** In sandbox accounts, generate a PandaDoc document and a DocuSign envelope from templates with mapped recipient and USD fields, complete each as the test signer, verify the completed trigger fires once, and file the signed PDF and certificate into Box and Dropbox folders verified by readback; decline a second envelope and verify the declined branch; deliver the completion event twice with one filed copy.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## CONN-017 — Twilio SMS

Status: missing.

A Twilio connection, using the buyer’s own account SID and API key under CONN-002 custody, triggers on inbound SMS/MMS to a chosen number, and sends SMS/MMS from a chosen number or Messaging Service with delivery-status callbacks mapped to the run. US norms apply: STOP/HELP opt-outs recorded by Twilio are honored and shown, A2P 10DLC or toll-free verification status is displayed before production sends, and quiet hours in the recipient’s timezone can be enforced by policy. Recipient actions inherit TEAM-004: count actual mapped destinations (including duplicates), apply both workspace and step caps using the stricter bound, and pause only excess actions for an exact-input approval; no approval means no out-of-cap send. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** With a Twilio test number, send an SMS from a workflow and see its delivered status in the run; reply from a handset and verify one inbound-triggered run; send STOP and verify the next send to that number is refused with a named opt-out reason and no Twilio charge; verify an unregistered sender shows its registration requirement before publish. Test an inclusive recipient bound, one excess destination, duplicate destinations and rejection: only the excess action waits, rejection sends nothing, and approval sends exactly the reviewed list under TEAM-004.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## CONN-018 — Square, PayPal and WooCommerce

Status: missing.

Square (payments, orders, customers, invoices, catalog), PayPal (captured payments, refunds, invoices, disputes) and WooCommerce (orders, customers, products, coupons, through the store’s REST API and signed webhooks) connectors trigger on new orders, payments and disputes and on changes to chosen watched fields such as order, payment or dispute status (TRIG-008), search with WORK-011 outcomes (find customer by email or phone in Square and WooCommerce, with find-or-create; find order by number or ID; find product or catalog item by SKU in Square and WooCommerce, with find-or-create; find a PayPal invoice or captured payment by ID or reference), and create customers, invoices and order notes, update order status, and set or adjust product stock (WooCommerce product and variation stock quantity, Square inventory count at a chosen location); refunds obey TEAM-002 limits and EXEC-006 reconciliation. Provider event IDs deduplicate, and funds, card data and tax calculation stay with the provider. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** In Square sandbox, PayPal sandbox and a WooCommerce test store, process a paid order with four lines into one QuickBooks Online draft invoice with four lines (readback quantities, amounts and total matching the order to the cent) and a Slack notice, verify the order and payment by provider readback, replay the provider event with no duplicate invoice, and request a refund above the configured USD limit to verify it pauses for approval, then reconcile a lost refund response before any second attempt. With a trigger watching order status changed to completed, add an order note and verify no run, then complete the order and verify one run. Run **find or create customer** by email twice for one new email in Square and in WooCommerce and verify `created`, then `found`, and one customer each; set a WooCommerce product’s stock quantity and a Square item’s inventory count from a Google Sheets row and verify both by readback.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## CONN-019 — Live account pickers, dependent inputs and field refresh

Status: partial.

Every connector input that names a resource in the connected account (spreadsheet, worksheet, table, base, channel, user, team, pipeline, stage, owner, form, event type, calendar, mailbox folder or label, folder, file, site, list, project, board, customer, vendor, item, product, account and similar) is a **live picker** in the builder, in every native connector (CONN-003 to CONN-018), every CONN-010 Run Edit Run product and every CONN-011 custom connector. Non-technical builders fill steps by choosing names, never by pasting IDs: - **Live pickers:** the list loads live from the step’s bound connection, is paginated and searchable through the provider (so a workspace with thousands of channels or customers stays usable), shows each resource’s name with its ID and enough context to tell duplicates apart (for example a worksheet’s spreadsheet, a stage’s pipeline), and shows only what that connection is permitted to see. A refresh control reloads the list; cached lists are labeled with their load time. - **Dependent inputs:** a connector declares each input’s parents (worksheet depends on spreadsheet, stage depends on pipeline, channel depends on workspace). A dependent input stays disabled until its parents are chosen, reloads when a parent changes, and a selection invalidated by that change is cleared and named instead of being kept silently. - **Field loading:** choosing a resource that defines fields (sheet or Excel columns, Airtable and WORK-007 table fields, form questions, CRM object and custom properties, accounting custom fields) loads them as typed, mappable step inputs, typed where the provider declares a type and text otherwise, with required fields marked. A **refresh fields** action reloads them; a new field appears, and a mapping whose field was removed or retyped is named as a pre-publish validation error. A field removed after publish fails the run with the named error `field no longer exists` before any write, and AGENT-002 may propose the repair for review. - **Custom values:** every picker can switch to a custom value, typed, mapped from an earlier step, or pasted as the provider’s own URL (a Google Sheets, Airtable, Notion or Slack link resolves to its ID). Custom and mapped values are validated against the provider at run time; one that does not resolve, or that the connection cannot access, fails with the named error `resource not found` and no write. - **Search-powered inputs:** a picker can be backed by an inline WORK-011 search step, so a step that only has an email or a name (a HubSpot owner, a QuickBooks customer) resolves the ID at run time with WORK-011’s declared no-match and multi-match outcomes. - **Agent-built connectors:** a CONN-011 connector built by an agent derives pickers, parents and field loading from the provider’s list and schema endpoints, and its sandbox acceptance includes them. - **Migration:** MIG-002 keeps each source Zap’s chosen resources, matched by ID under the buyer’s new connection and shown by name in the draft; MIG-003 does the same for Make module selections and MIG-001 for n8n resource locators (from list, by ID, by URL). A chosen resource the new connection cannot see is named in the coverage report as needing a choice, never replaced with a different resource. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** In Google Sheets, Slack and HubSpot sandboxes, build steps with no typed IDs. Pick a spreadsheet by name, then a worksheet, and verify the worksheet picker is disabled before a spreadsheet is chosen and the sheet’s columns load as mappable fields. Add a column in the sheet, use refresh fields and verify the new column appears; delete a mapped column and verify a named pre-publish error; delete another mapped column after publish and verify the run fails with `field no longer exists` and no write. Pick a Slack channel by name in a workspace with more than 1,000 channels by searching, and pick a HubSpot pipeline then a stage; switch pipelines and verify the stages reload and the old stage is cleared and named. Switch the stage to a custom value mapped from an earlier step and run once with a valid stage ID and once with an invalid one, verifying the named `resource not found` error and no write on the second. Paste a Google Sheets URL as a custom value and verify it resolves to that spreadsheet. Back the HubSpot owner input with an inline search by owner email and verify the deal is assigned to the right owner. Connect a second Slack account without access to a private channel and verify that channel is not listed. Migrate a Zap with a chosen spreadsheet, worksheet and Slack channel and verify the draft shows the same resources by name under the new connection, and that a resource the new connection cannot see is named in the coverage report.

Current evidence: `tests/connections.test.mjs` — “Custom connector review, agent OpenAPI proposal and sandbox gates retain exact versions, scope refusals and signed duplicate-event proof”, via proveCustomPickers and provePagedPickers in `tests/custom-picker-fixture.mjs`: explicit read-only resource loads, reviewed provider query and cursor inputs, one bounded page per request over 1,206 synthetic resources, refreshed names, duplicate context and IDs, second-account permission omission, parent clearing, stale or revoked refusal and authority changes during provider reads or immediately before the selection commit. `tests/custom-browser.mjs` (picker mode, push Verify): named choices, disabled parents, search and page controls, load-time labels, dependent clearing and revoked refusal; screens at 1440 and 390.

Remaining gap: Custom picker core only. Actual Sheets, Slack and HubSpot sandbox acceptance remains, including more than 1,000 real Slack channels and second-account permission omission; HubSpot developer sandbox is missing, while Sheets and Slack were historically held. Other connector adapters, typed field loading and refresh, removed or retyped field guards, custom and mapped values and provider URL resolution with runtime validation, inline WORK-011 searches, agent-derived schemas and chosen-resource migration coverage and parity remain required. Authorized source migration assets are not supplied.

## HTTP-001 — Authorized HTTP dispatch

Status: done.

The existing custom HTTP connector delivers the immutable approved JSON body to the deployment-authorized exact origin, adds the run’s stable idempotency key, refuses redirects and binds success to the receiver’s returned effect ID and matching key. Failure or lost acknowledgment remains visible. One owner-controlled replay uses the same bytes/key; a compliant receiver records one effect. This connector’s manual mode remains available beside future standing-grant and app steps. **Acceptance evidence:** Create and activate a flow through the HTTP API, prepare an event without sending, concurrently approve twice, lose the receiver acknowledgment, replay once and inspect one receiver effect; reject another run and refuse a foreign or credential-bearing destination.

Current evidence: `src/crank/flows.ts`; `src/crank/runs.ts`; `src/crank/delivery.ts`; `tests/crank.test.mjs`

Remaining gap: None.

## HTTP-002 — General HTTP and connector API request steps

Status: partial.

A general HTTP request step calls any API that does not follow Crank’s receiver contract: methods GET, POST, PUT, PATCH, DELETE and HEAD; mapped headers and query parameters; JSON, form-encoded, multipart, XML or raw bodies; a bounded timeout; and authentication from a stored connection (basic, bearer, API key in header or query, OAuth 2.0 authorization code or client credentials, or HMAC request signing), never from inline secrets in the graph. Response status, headers and parsed body (JSON, XML, form or text) are mappable into later steps; builders define success and failure by status ranges and body conditions, and can follow cursor, page or link-header pagination. Every native connector also offers a raw API request action that reuses that connection’s managed auth and is limited to the connection’s declared API domains. Mutating requests follow EXEC-006 (provider idempotency header when the API supports one, otherwise readback by a declared business key, otherwise no automatic retry after an uncertain response) and SEC-002 egress rules. HTTP-001 remains available as the receiver-contract mode. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. **Acceptance evidence:** Against a sandbox vendor API that returns a plain 200 with JSON and no Crank effect ID, PATCH a record with a bearer connection and a custom header, map a response field into the next step and verify the change by a GET readback; send a form-encoded POST and a multipart upload; define 409 as a business failure and route it to the error branch; lose one PATCH response and verify readback before any retry; through a HubSpot connection’s raw API request action call a supported endpoint with the managed OAuth token, then attempt a domain outside that connection and a private-network address and verify both are refused with no request sent and no secret in run history.

Current evidence: `src/crank/connectors/http-step.ts`; `src/crank/engine/egress.ts`; `tests/connections.test.mjs`

Remaining gap: HubSpot raw API proof needs an account; DNS-rebinding needs an enforcing Worker egress binding (Base gap).

## TRIG-001 — Scoped, deduplicated webhook admission

Status: done.

Every workflow can receive webhooks from senders that cannot add custom headers or wrap their payload. Each flow has one or more inbound URLs with an embedded random secret that the owner can revoke and rotate (old and new URLs overlap for a chosen window), plus optional header credentials (the existing scoped bearer trigger credential). Builders can require provider signature verification: HMAC-SHA256/SHA1 over the raw body or a signed timestamped payload with replay tolerance, with presets for Stripe, Shopify, Calendly, GitHub, Typeform and Twilio. The URL accepts POST, PUT and GET with JSON, form-encoded, multipart (with files) or raw bodies; a raw mode exposes the body text, headers and query string to mapping alongside the parsed fields. Deduplication uses a builder-chosen key path (for example `data.id` or a header) or, when the payload has no ID, a SHA-256 digest of the normalized body within a stated window (default 24 hours, configurable from 1 minute to 30 days). The response is configurable: an immediate status/body/headers, or a synchronous response produced by the workflow within a bounded timeout. Crank’s `{event_id,input}` envelope remains one supported mode: stable source event identity deduplicates equal payloads, rejects changed payloads under the same ID and respects an erased-event fence. No inbound credential can read workspace data, approve or activate work, and revocation takes effect at the server. Secret-URL envelope identities are permanent within their workflow: the same canonical input returns its existing run (or held decision), and changed input under that ID is a conflict even after the ordinary body-digest window. Header delivery metadata does not change that identity. Query-only GET fallback identities hash the method and normalized query; other body fallback identities hash the normalized body and file contents. Ordinary identities become eligible again when their receipt time is at or before the current time minus the configured window; still-held items remain deduplicated until decided. Admission commits the identity, uploaded files and either its queued run or held item together, repeating current hook/version and erased-event authority inside that transaction. Interrupted admission leaves no accepted identity without durable work. Owner erasure of a terminal multi-step run requires its workflow paused (`POST /api/crank/data/erase`, `workflow_run_id`, `confirm:"ERASE"`). An opaque event-key digest permanently fences its webhook redelivery, including after restart and portable restore. Erasure preserves the audit chronology with its run subject anonymized and sensitive detail removed; payload/decision copies in linked run, step, wait, attempt, hold and obligation rows are removed. This does not claim complete subject/operator/file erasure under DATA-002. **Acceptance evidence:** Call the public trigger endpoint with an active flow key, resend the same event, change its payload, send to another flow and revoke the key; verify a single pending run, conflicts/refusals and no unauthorized reads. Send a form-encoded POST with no auth header and no event ID to a flow’s secret URL and verify exactly one run with the fields mapped; resend it inside the dedup window and verify no run; send it after the window and verify a new run; send a Stripe-signed event with a valid and then a tampered signature and verify one run and one refusal; send a GET with query parameters and a multipart POST with a file in raw mode and inspect headers, query and file as mapped data; configure a synchronous JSON response and verify the sender receives it; rotate the URL and verify the old URL stops after the overlap.

Current evidence: `src/crank/triggers/webhook.ts`; `src/crank/triggers/webhook-admission.ts`; `src/crank/triggers/inbound.ts`; `src/crank/triggers/signatures.ts`; `src/crank/workflow-erasure.ts`; `tests/triggers.test.mjs`; `tests/webhook-erasure.test.mjs`; `tests/crank.test.mjs` (TRIG-001: formats/signatures, concurrent and interrupted admission, revocation, restart, erasure and restore fences)

Remaining gap: None.

## TRIG-002 — Schedules and on-demand runs

Status: done.

Owners start a run on demand or schedule intervals, daily/weekly business times and calendar-aware recurrence in an IANA timezone. A historical run applies a published workflow to existing source records the owner selects by filter or date range (for example last quarter’s closed deals), with a preview of the count, sample records and estimated USD cost before any effect (as in TRIG-005), runs selected or all items once each by source ID, and reports per-item outcomes. DST behavior, missed-run catch-up/skip policy and concurrent-run policy are inspectable. Due occurrences have stable identities, continue unattended and do not duplicate after restart or clock movement. Historical runs currently read complete, bounded JSON lists through an authorized HTTP source connection (or a public source), keeping an immutable snapshot of the selected records and published version. Source IDs are strings (safe integer IDs convert to decimal strings), deduplicated within that snapshot; identical duplicate records collapse and conflicting records fail the preview. The selected record is the run’s trigger payload unchanged. A new preview is an explicit new historical batch; repeat or concurrent release of one batch never reruns a source ID. Every record/list door added under CONN-003–019 or WORK-007 inherits this count/sample/cost/selection and release obligation before it ships. Selection uses WORK-013 filters on `trigger.<field>` at the preview’s recorded clock and timezone. Date-range bounds are inclusive UTC instants; date-only bounds cover the entire UTC day. Cost components for orchestration, connectors, models and executors are explicit owner-supplied USD per-run estimates with assumptions, labeled **owner estimate; not provider-verified**; no zero price is invented. Components are summed exactly, multiplied by the selected count and rounded half-up to cents once. The owner releases selected IDs or all remaining records with the preview fingerprint. Paused/replaced versions cannot start a release; per-item outcomes link to the actual runs. Resource bounds fail visibly rather than showing a truncated count (1,000 source records, 50 pages, 2 MiB per response and 4 MiB retained payload; narrower queries can be prepared as separate batches). **Acceptance evidence:** Configure weekday 9 a.m. America/New_York execution, an interval and an on-demand run; cross both DST changes and restart during a due occurrence, then inspect the planned and actual times and exactly one admitted run per due occurrence. Start a historical run over last quarter’s 40 closed test deals: verify the preview shows 40 items and an estimated USD cost with no effects, run 10 selected items and then the rest, and verify exactly 40 runs, one per deal, with per-item outcomes.

Current evidence: `src/crank/triggers/schedule.ts`; `src/crank/triggers/schedule-admission.ts`; `src/crank/triggers/historical.ts`; `src/crank/triggers/historical-release.ts`; `tests/triggers.test.mjs`; `tests/historical.test.mjs` (TRIG-002: DST, calendars, atomic admission, interrupted dispatch, concurrent restart, bounded catch-up and 40-deal historical preview/release)

Remaining gap: None.

## TRIG-003 — App, polling and email triggers

Status: partial.

Native event subscriptions and polling discover new/changed app records and incoming email automatically. Verified signatures, renewable subscriptions, paginated cursors, overlap windows, source IDs and deduplication handle delayed/out-of-order deliveries and outages. The owner chooses initial backfill and can see the last successful poll and next due action. Every updated-record trigger follows TRIG-008: watched fields or an explicit any-field choice, optional changed-to values, previous and current values in the run, provider change events or per-record snapshots, and a declared dedup identity. Polling frequency and trigger latency are committed in TRIG-004, burst holds in TRIG-005, mailbox-free email triggers in TRIG-006, and feed and arbitrary-URL polling in TRIG-007. **Acceptance evidence:** Activate an email and CRM polling workflow, return overlapping pages and out-of-order webhook events, expire a subscription and restart polling after an outage; verify no lost admitted records, duplicate business actions or silent subscription failure. Edit an unwatched property of a CRM record whose trigger watches its stage and verify no run (TRIG-008).

Current evidence: `tests/triggers.test.mjs` — "TRIG-003: incomplete poll pages retain the successful watermark and recover overlapping records once after restart" proves bounded complete-page reads, overlap deduplication and outage recovery on URL sources; `tests/connections.test.mjs` — "CONN-004: Slack posts by channel name and user email, applies search outcomes, finds or creates once, and admits signed events once" proves signed app-event concurrent and out-of-order admission, interruption recovery, paused holds and revocation; `tests/triggers.test.mjs` — "Native CRM polls seed watched properties and recover complete overlapping pages without duplicate effects" and "Mailbox polling retains records through visible subscription expiry and restarted renewal"; `tests/app-poll-browser.mjs` (1440 and 390: initial backfill, watched properties, last successful poll, next due action, renewed and expired subscription; keyboard and hover tooltips). `tests/triggers.test.mjs` — "Subject erasure removes unadmitted app observations and permanently fences source replay" (`tests/app-subject-journey.mjs`, appSubjectJourney and appSubjectConcurrencyJourney: zero-run and pending-only snapshots, plaintext and declared sealed identifiers, missing-key refusal, held payload erasure, sealed released-hold run linkage and unfinished-work refusal, legacy new-record receipt cleanup, late legal holds, prepared-poll suppression, restart and old-archive refusal); "Snapshot retention expires only old inactive payloads and preserves comparison identities" (`tests/app-retention-journey.mjs`, appRetentionJourney: observation time distinct from provider time, explicit active-baseline keep reasons, eligible inactive and retired expiry, late-hold refusal and first-value reseeding safety). `tests/app-poll-browser.mjs` includes subject erasure with held-event counts and snapshot retention at 1440 and 390.

Remaining gap: Live email and CRM authorization and provider receipts remain unproved; Google console redirect URI and test users and the HubSpot polling account are not provided. Hosted email routing and mailbox account setup, remaining provider property-history detection and watched-field picker coverage, changed-from and settle behavior beyond the supported comparison core, full TRIG-008 conformance, wider provider subscription coverage and retention beyond inactive or retired snapshot payloads remain required. Legacy observations without a case-insensitive subject index require source reobservation; legacy snapshots without trustworthy observation time stay retained until owner erasure. This slice does not establish connector completion.

## TRIG-004 — Polling frequency and trigger latency

Status: partial.

Each polling workflow has its own interval, chosen from 1, 2, 5, 15, 30 and 60 minutes or a longer schedule; the 1-minute floor is available on every installation with no plan gate, and a provider whose rate limit cannot sustain the chosen interval shows the slowest safe interval before publish. With a healthy executor each poll starts within 30 seconds of its due time. Instant triggers (webhooks, app subscriptions, form submissions and inbound email) admit an event and start its run within 10 seconds of receipt at the 95th percentile. Every run records its trigger-to-start latency (source event time where the provider supplies one, receipt time and run start), and OPS-001 reports latency percentiles per workflow against the configured interval, flagging late polls with their cause (provider rate limit, executor backlog, outage). **Acceptance evidence:** Publish a “new HubSpot deal → Slack” workflow at a 1-minute interval and an instant Typeform workflow; create 30 deals and 30 submissions spread over an hour; verify every deal run starts no later than 1 minute 30 seconds after the deal’s creation, every form run starts within 10 seconds of receipt at p95, and each run’s history shows its measured latency; throttle the HubSpot test edge with 429s and verify the late polls are flagged with “provider rate limit” in OPS-001; choose an interval faster than a provider allows and verify the pre-publish warning.

Current evidence: `src/crank/triggers/definition.ts`; `docs/APP-TRIGGERS.md`; `tests/triggers.test.mjs`, “TRIG-007/TRIG-004: polling preserves interval choices, warns before publication and reports deduplicated feed latency” and “TRIG-007: URL polls follow cursor pages with a bearer connection, dedup on a chosen key, read XPath, and surface refusals”; `tests/app-poll-browser.mjs`, rateScreens

Remaining gap: Live HubSpot and Typeform test accounts and the full hour-long 30-deal plus 30-submission latency journey, including provider-rate-limit lateness explanation, remain required.

## TRIG-005 — Flood protection for bursts of trigger events

Status: done.

Each workflow has a burst threshold (default 100 new records in one poll, or 100 instant events in one minute; configurable from 1 to 10,000). When a poll or burst exceeds it, Crank creates no business effects for the excess: it holds the whole burst as one reviewable batch, notifies the workflow owner (EXEC-003 channels), and shows the count, source, sample records and estimated USD cost. The owner can run all, run selected items, or discard; held events stay deduplicated by source ID and retained until decided, with reminders and an optional owner-chosen expiry. Releases are attributable and partial releases leave the rest held. Activation backfill (TRIG-003) remains a separate explicit choice. The current held-batch review door is `GET /api/crank/holds/:id`: source, item count, retained samples/items, decision attribution and USD estimate state are returned together. Before any release, the owner quotes all four per-run components (orchestration, connectors, models and executors), including explicit zero quotes where applicable, with assumptions through `POST /api/crank/holds/:id/estimate`. Amounts are nonnegative USD decimals with at most eight decimal places; components sum exactly, multiply by the batch or selected item count, and round half-up to cents once. Estimates are labeled **owner estimate; not provider-verified**, as in TRIG-002. Missing pricing is labeled **cost estimate required** and releases stay blocked; no provider charge or zero is invented. OPS-002 separately owns measured usage, forecasts and spending controls. A release supplies the reviewed `estimate_fingerprint`, binding the quoted assumptions and owner/time to the current published version and all remaining held source IDs and payload digests. New items, payload changes, a partial decision or version replacement require a fresh review. The owner may discard without a quote. A release commits its attributable decision and durable queued runs atomically; interruption before that commit leaves all selected items held, while executor loss afterwards leaves queued runs that resume once. Email is the current owner-notice channel; each notice channel added under EXEC-003 and CONN-004 inherits held-batch notices before shipping. **Acceptance evidence:** With a threshold of 100, return 500 new contacts from one poll of a CRM test edge to a welcome-email workflow; verify zero emails and zero downstream writes, one held batch with 500 deduplicated items and an owner notice; release 20 selected items and verify exactly 20 runs and emails; return the same 500 records on the next poll and verify no new hold or duplicate items; discard the remainder and verify they never run; send 150 instant webhooks in one minute and verify the same hold.

Current evidence: `src/crank/triggers/admission.ts`; `src/crank/triggers/webhook-admission.ts`; `src/crank/triggers/hold-decisions.ts`; `src/crank/ops/hold-cost.ts`; `src/crank/ops/scheduler.ts`; `tests/triggers.test.mjs`; `tests/hold-cost.test.mjs`; `tests/logic.test.mjs` (TRIG-005: no-effect holds, exact owner USD estimates, stale-review refusal, selected/concurrent/atomic release, reminders and expiry)

Remaining gap: None.

## TRIG-006 — Hosted inbound email addresses

Status: partial.

Each workflow can have its own inbound email address on the installation’s inbound domain (Cloudflare Email Routing to the Worker, or MX records the buyer points at Crank on a subdomain), so staff can forward or CC messages and vendors that can only email can start a run without mailbox OAuth. Addresses use a revocable, rotatable alias; an optional sender allowlist (addresses or domains) and SPF/DKIM/DMARC results gate admission; messages over the stated size limit (25 MB including attachments) are refused with a bounce. The parsed sender, recipients, subject, plain and HTML body, headers, forwarded-original fields and attachments (as file references under CONN-005 rules) are mappable. The Message-ID deduplicates within the TRIG-001 window, and each received message is visible in run history with its admission decision. **Acceptance evidence:** Forward a vendor email with a PDF attachment to a workflow’s alias; extract the PO number from the body with a mapping or AI-001 node, attach the PDF to a HubSpot test record and verify one run and the record by readback; resend the same message and verify no second run; send from a non-allowlisted domain and an oversized message and verify both are refused and visible; revoke the alias and verify mail to it bounces.

Current evidence: `tests/triggers.test.mjs` — “Inbound email admits forwarded fields and files once and refuses sender, authentication and alias authority failures”, “Inbound email bounds raw streams and MIME and fences in-flight revocation and stale owner authority” and “Inbound email restores complete inactive custody and erases files without replay or archive resurrection”, using `tests/inbound-email-journey.mjs`, exercise the exported Email Worker handler, owner-managed aliases, literal parsed and forwarded fields, PDF file references, one controlled native destination effect, workflow-scoped duplicate and concurrent or restarted delivery, sender and forged-authentication refusal, streaming boundaries, malformed MIME, rotation, revocation, late-commit authority, sealed files, complete inactive archives and erased-event fences. `tests/inbound-email-browser.mjs` — “Inbound email admission history and mapped file custody” exercises the built Worker, Settings history, mapped forwarded fields, PDF references and shared control tooltips at 1440 with matching 390 screen proof. `docs/INBOUND-EMAIL.md` states the delivered bounds and routing boundary.

Remaining gap: Native receiving slice only. Conservative interim default: native workflow-owner-only alias and publication authority; broader scoped delegation remains unproved. Required: actual installation-domain routing and MX setup, routed delivery and bounces, trustworthy live SPF, DKIM and DMARC evidence, and the complete forwarded-email and PDF-to-HubSpot test-record journey with provider readback; no HubSpot test account or Cloudflare routing setup is held in this run. Current file custody is bounded to 1 MiB per attachment and 20 attachments; broader MIME and file custody remain unproved. AI-001 downstream acceptance remains held and no prerequisite is released.

## TRIG-007 — Feed and URL polling triggers

Status: partial.

Two built-in triggers start runs when something new appears at a URL with no app connector. The **feed trigger** watches one or several RSS 2.0, Atom or JSON Feed URLs and starts one run per new item, deduplicated by GUID/id, falling back to the link, then to a digest of title and date; a re-published or edited item with the same identity starts no run, and an item’s title, link, summary, content, author, categories, dates and enclosures are mappable, with the source feed named when several feeds share a trigger. The **URL poll trigger** sends a GET (with mapped headers and query parameters, and authentication from a stored connection under HTTP-002 rules) to any endpoint and reads a JSON array at a chosen path, or XML/HTML items selected by XPath; the builder chooses the dedup key path (`id` by default, or any path such as `data.ref`, or a digest of the whole item), and cursor, page or link-header pagination is followed. Both triggers use TRIG-004 intervals (1-minute floor) and latency reporting, TRIG-003 activation backfill (start from now, or process existing items) and TRIG-005 flood holds; requests obey SEC-002 egress rules, so private-network, link-local and metadata addresses and redirects into them are refused, response size and parse time are bounded, and fetch, parse and auth failures are visible on the trigger with EXEC-003 notices rather than silent skips. A URL poll’s header and query values are literal text or map `{{poll.since}}` (the start of the last successful poll, ISO 8601 UTC), `{{poll.now}}` (this poll’s start) and `{{poll.interval_minutes}}`; any other mapping is refused when the workflow is saved, and a value that maps to nothing is left out, so the first poll sends no `since`. Parse time is bounded by bounding the work, because a Worker’s clock does not advance during synchronous parsing: each response is at most 2 MiB, an XML or HTML document at most 200,000 nodes, and a poll at most 10 pages; exceeding a bound is a visible trigger error with the owner notice. **Acceptance evidence:** Publish a feed trigger on an RSS fixture at a 1-minute interval: verify the first activation follows the chosen TRIG-003 backfill option, two new items start exactly two runs, and a re-published item with the same GUID starts none; add an Atom and a JSON Feed URL to the same trigger and verify each new item names its source feed. Publish a URL poll trigger on a JSON endpoint whose records have no `id` field, deduplicated on `data.ref`, with a bearer connection and two pages: verify one run per new record across both pages and none on the next unchanged poll; poll an XML endpoint selected by XPath and verify one run per new item; point the trigger at a private-network address and at a URL that redirects to one and verify both are refused with no request sent past the refusal; return malformed JSON and verify a visible trigger error and owner notice.

Current evidence: `src/crank/triggers/poll.ts`; `src/crank/triggers/feeds.ts`; `src/crank/triggers/xml.ts`; `tests/triggers.test.mjs` (TRIG-007: feeds, cursor pages, mapped since/now values, XPath, node bound, refusals)

Remaining gap: DNS-resolved private destinations need the enforcing Worker egress that SEC-002 carries (Base gap).

## TRIG-008 — Updated-record triggers on watched fields

Status: partial.

Every “updated” or “changed” trigger defines what counts as an update: in every native connector (CONN-003 to CONN-018, including CONN-005 Sheets, Excel and Airtable rows and SharePoint list items, CONN-006 leads, contacts, companies and deals, CONN-007 invoices (status, balance, due date) and customers or contacts, CONN-008 Shopify orders, customers, products and inventory levels and Stripe subscriptions and customers, CONN-009 Zendesk tickets and Jira issues, CONN-014 work items, CONN-015 subscribers, contacts, opportunities and deals, and CONN-018 orders, payments and disputes), every CONN-010 Run Edit Run product trigger, every CONN-011 custom connector trigger and WORK-007 table triggers. - **Watched fields:** the builder chooses one or more watched fields (sheet or Excel columns, Airtable and table fields, CRM object and custom properties, a pipeline and its stage, an order, payment, fulfillment or dispute status, an inventory level, a ticket’s priority or an issue’s status) with CONN-019 pickers, or explicitly chooses **any field**. A new update trigger cannot publish without that choice, and choosing any field shows a warning that every edit starts a run. A run starts once per change to a watched field’s value; edits to unwatched fields start nothing and count as nothing. - **Changed to and changed from:** optionally, the value or set of values a watched field must change to (stage = Closed Won, Status in {Approved}), and optionally the value it must change from, set with WORK-013 operators. A change to any other value starts nothing. - **Change payload:** each run carries, as mappable data, the record ID, which watched fields changed, each watched field’s previous and current value, and the change time: the provider’s modified or property-history timestamp where supplied, otherwise the detecting poll’s time, labeled as such. - **Detection:** where the provider sends property-change events or keeps property history (HubSpot property-change subscriptions and property history, Salesforce Change Data Capture and field history, Pipedrive webhooks with previous values, Zendesk ticket event webhooks and Jira issue changelogs), Crank uses them. Shopify, Stripe, Square, PayPal and WooCommerce webhooks say which record changed and carry its current state, so Crank compares them against the snapshot below. Where it does not (Google Sheets, Excel, Airtable without a last-modified field, QuickBooks Online and Xero change notifications, which name the changed record but not its previous values, polled lists and items), Crank keeps a per-record snapshot of the watched fields only and compares on each TRIG-004 poll, starting runs only for differences. Activation seeds the snapshot from current values under the TRIG-003 backfill choice, so existing values start no run unless the owner chose backfill. Snapshots are workspace data under DATA-003 retention and DATA-002 erasure, and are re-seeded with no runs when a new version changes the watched fields. - **Dedup identity:** by default record + field + new value + change time, so a Status that goes Approved → Pending → Approved runs again on the second Approved. The builder may instead choose **first time this value is seen** (record + field + value), Zapier’s trigger-column behavior, under which a value already seen for that record never runs again. Repeated or out-of-order deliveries of one change start one run (TRIG-003), and several watched fields changing in one edit start one run that lists every changed field. - **Partial entry:** Sheets and Excel row triggers offer an optional **settle delay** (1 to 60 minutes): a new or changed row runs only once its watched and mapped columns have stayed unchanged for the delay, with the values at release, so a row typed cell by cell is not sent half filled. An optional “required columns filled” condition holds a row until those columns are non-empty. - **Migration:** MIG-002 maps Zapier’s trigger column (and “any column”), each Property Change trigger’s property, and Updated Deal Stage’s pipeline and stage onto watched fields and changed-to values, using the first-time-seen identity where the source used a trigger column. MIG-003 maps Make watch modules’ field and “changed” options, and MIG-001 maps n8n trigger options such as the Google Sheets Trigger’s columns to watch. Any other update setting is a named manual conversion, never a silent widening to any field. **Acceptance evidence:** In a Google Sheets sandbox, publish “Status changes to Approved → QuickBooks Online draft invoice” with Status as the watched column and changed to Approved. Set a row’s Status to Approved and verify one draft invoice by readback; edit that row’s notes and phone cells and verify no run and no invoice; change Status to Pending and verify no run; change it back to Approved and verify exactly one more run under the default identity, and none when the trigger uses first time this value is seen. Type a new row cell by cell with a 2-minute settle delay and verify one run carrying every cell filled. Activate the trigger with “start from now” on a sheet holding 50 rows already Approved and verify no run. Verify an update trigger with no watched-field or any-field choice cannot publish. In HubSpot and Pipedrive sandboxes, move a deal to Closed Won and verify one run carrying the previous and new stage and the change time; edit that deal’s amount and description and verify no run. Publish a HubSpot Contact Property Change trigger on lifecycle stage: edit the contact’s phone and verify no run, then set lifecycle stage to SQL and verify one run. Migrate a Zap using a Google Sheets trigger column and one using HubSpot Updated Deal Stage: verify each reports native, keeps its watched column or stage by name and passes its parity test. In a Shopify development store, add a note to an order and verify no run on a trigger watching fulfillment status, then fulfill it and verify one run; in a Zendesk sandbox, add an internal note and verify no run on a trigger watching priority, then change the priority and verify one run carrying the previous and new value.

Current evidence: `tests/triggers.test.mjs` — "Native CRM polls seed watched properties and recover complete overlapping pages without duplicate effects" (`tests/app-poll-journey.mjs`, `tests/app-history-journey.mjs`: typed transitions, mapped operands and timezone precedence, both value identities, grouped edits, supplied property history, initial and replacement seeding, concurrent polls, restart and older records); "Sheet changes wait for complete stable rows and preserve per-record identities across restart and restore" (`tests/sheet-poll-journey.mjs`, `tests/app-poll-interruption.mjs`: interrupted baseline writes roll back admission and value identities, 50 seeded rows, watched-only admission, loaded field selection, stale refusal, Sheets and Excel settling, required columns, portable pending state and inactive restore); "Airtable updates compare named fields after complete pagination and retain both change identities"; "SharePoint and custom JSON lists compare only complete current records under live account authority" (`tests/list-poll-journey.mjs`); "Subject erasure removes unadmitted app observations and permanently fences source replay" (`tests/app-subject-journey.mjs`: zero-run and pending-only erasure, holds, sealed identifiers, unavailable keys, old-archive refusal and source fences); "Snapshot retention expires only old inactive payloads and preserves comparison identities" (`tests/app-retention-journey.mjs`: observation clocks, active baseline preservation, retired expiry, first-value history and no manufactured admission). `tests/crank.test.mjs` — "Reviewed n8n Sheets triggers retain named columns and explicit fresh comparison bindings" (`tests/n8n-sheets-trigger-journey.mjs`: reviewed inactive apply, fresh binding, named columns, refusal, restart and destination outcomes). `tests/app-poll-browser.mjs` inspects field settings, payloads, subject erasure and retention at 1440 and 390. `tests/row-settle-timing.mjs` is the standalone two-minute native clock journey outside push Verify. `tests/triggers.test.mjs` also names "Pipedrive, Shopify and Zendesk snapshots admit only watched changes from complete authorized pages" (`tests/commerce-poll-journey.mjs`); "Pinned custom polling retains reviewed request boundaries and current consent across pages and admissions" (`tests/custom-poll-journey.mjs`: reviewed operation bounds, unreviewed and revoked field-discovery refusal, revoked readiness and fresh consent); "Operational table changes preserve native custody and revision identities without synthetic credentials" (`tests/table-poll-journey.mjs`: complete integer tables, same-clock changes, erasure and explicit inactive adoption); and "Accounting snapshots preserve watched changes and tenant boundaries through complete reads" (`tests/accounting-poll-journey.mjs`: sandbox company and tenant binding, provider clocks and both identities). The existing sheet journey additionally covers paginated Excel tables.

Remaining gap: Native comparison and custody are implemented for HubSpot, Graph messages, Google Sheets, Excel worksheets and tables, Airtable, SharePoint, configured JSON lists, pinned public custom reads, native operational integer tables, Pipedrive deals, Shopify order projections, Zendesk tickets, QuickBooks sandbox invoices and customers, and Xero invoice and contact snapshots; provider-edge journeys do not establish live completion. Missing HubSpot, Pipedrive, Shopify and Zendesk test accounts, authorized Zapier watched-field captures, and QuickBooks Online sandbox bindings (QUICKBOOKS_CLIENT_ID) for the mandatory Sheets-to-invoice journey; Sheets was historically held. Every real provider and readback acceptance and authorized source parity remain required. Other native providers and resource types, private custom polling, general WORK-007 table schemas, remaining provider property-history and event integrations, Xero OAuth lifecycle, broader CONN-019 resource and field-schema integration, all Zapier and Make update mappings and remaining n8n update settings are still required. Native operational tables retain the RL-103 integer boundary; Shopify any-field mode is refused because its explicit order projection is incomplete. Legacy observations without a case-insensitive subject index require source reobservation; legacy snapshots without trustworthy observation time stay retained until an owner erases them.

## EXEC-001 — Durable queues and execution checkpoints

Status: done.

Activated workflows execute without a person per run under published authority and any applicable grants. Durable queues show queued/running/waiting/dead-letter states, depth, oldest age, priority and owner. Atomic claims, per-step checkpoints, concurrency limits and cancellation survive executor loss and deployment; lease expiry records uncertainty before recovery. Pausing states whether it stops intake, dispatch or both, and cancellation identifies already-started effects. Execution priority is an integer from -100 to 100 (default 0), higher first, then receipt time and stable run ID. Each admitted version freezes `max_concurrency` (1–100, default 1); its claim counts every unexpired running lease of the same workflow across versions. Waiting, approval and paused runs occupy no execution slot. A saturated workflow is filtered before the scheduler’s candidate limit. The Operations live inventory is independent of historical date bounds and respects its workflow/team filters; depth counts the complete inventory, with the first 100 runs shown by execution order. Dead letters are retained terminal failed runs (including uncertain writes), with their checkpoints and error category, and never dispatch automatically. An expired lease atomically marks in-flight mutating checkpoints uncertain before recovery. Cancellation fences the lease and all later dispatch, preserves completed checkpoints, and labels an already-started write uncertain because it may still complete; it does not undo effects. Paused workflows hold new trigger intake and refuse on-demand starts. New/queued/running step dispatch stops, except existing waits permitted by TEAM-004’s frozen continuation policy; those waits still check live authority and connections. **Acceptance evidence:** Queue a multi-step batch, stop the executor before and after a remote write, restart and inspect its checkpoints and oldest pending work; verify safe continuation, cancellation and no duplicate completed effect. Also inspect queued, running, waiting and dead-letter depth, oldest receipt, published priority and accountable owner; cancel both queued and in-flight runs, inspect already-started effects, and verify paused intake and dispatch across restart.

Current evidence: `src/crank/engine/queue.ts`; `src/crank/engine/interruption.ts`; `src/crank/ops/execution-queue.ts`; `src/crank/ops/scheduler.ts`; `src/crank/workflows/runs.ts`; `src/crank/ui/execution-queue.ts`; `tests/execution-queue.test.mjs`; `tests/dispatch-authority.test.mjs` (EXEC-001: atomic concurrency, priority, batch checkpoints/restarts, live inventory, dead letters, lease loss, cancellation and paused intake/dispatch)

Remaining gap: None.

## EXEC-002 — Rate limits, backoff and exhaustion

Status: done.

Connector workflow execution distinguishes proven-not-sent/transient failures from uncertain effects and permanent errors. Retries honor Retry-After, exponential backoff with jitter, provider/account rate limits, concurrency and attempt/time budgets. Exhausted work stays durable with its next owner action; throttling one account does not starve another. Outside runs, trigger polling/historical fetch (TRIG-003/004/007), connection consent/test/token lifecycle (CONN-002) and operational log delivery (OPS-001) retain their own lifecycle policies. All shipped workflow request operations conform: general HTTP, public file downloads and native Slack, including pagination and readback. Safe reads default to 6 attempts: backoff is 60 seconds × 2^(completed attempts − 1) plus uniform 0–250 ms jitter, saturating at one hour. A step may explicitly set `retry_policy.read_attempts` (1–10) and `retry_policy.base_delay_ms` (1–3,600,000). Retry-After (delta seconds or HTTP date) is a lower bound; an absent/invalid header uses backoff. A provider-required wait beyond one hour durably exhausts instead of sending early. HTTP 429/502/503/504 and transient network failures retry safe reads; permanent auth errors stop. Slack POST reads declare read safety in their request identity. A mutating HTTP request makes at most 2 attempts only after a lost response with an explicit provider idempotency header; its default backoff starts at 500 ms plus the same jitter. Slack writes make one attempt. A lost write without that guarantee resumes its declared readback or remains uncertain, never blind replay. Multipart retries retain identical bytes, MIME boundary and operation key across restart. Each request has a 60-second active wall-clock budget per execution slice. Waits of 30 seconds or less sleep in-request within that budget. Longer waits persist the exact input, immutable version, operation identity, completed-response checkpoints, original request budget identity and attempt count, park the run, and release its workflow execution slot. The first Cron tick at or after due queues it, rounding the wait up by less than one minute; workflow concurrency may delay actual execution further. History distinguishes earliest scheduled retry, Cron release and actual resume. A recorded park starts a fresh active slice on actual resume; restart without a park retains its original slice deadline. Every resumed dispatch still checks current publish authority and connections. Each actual parked interval, including Cron rounding and capacity delay, is capped at one hour; intervals are summed across the run's requests with a 24-hour total cap. Crossing either cap durably exhausts with the budget reason and next owner action. Parked runs count toward workflow concurrency only while executing. Private, bounded completed-response checkpoints stored in 64 KiB chunks reconstruct earlier pages without refetching changed records and resume a lost write's readback phase without repeating the write. They exclude credential headers and credential query URLs, keep the existing 2 MiB HTTP, 1 MiB file and 4 MiB Slack response bounds, participate in subject-erasure review, and are deleted atomically when their step/run settles or is erased. They are portable under DATA-001 and restore inactive without receiving authority. Request identity remains a value-free digest. Retry parameters are frozen on each published/test version; existing immutable versions keep their prior defaults, and rollback retains the restored version's parameters. Requests enforce the catalog default of 100 requests per 10-second half-open rolling window and 4 simultaneous requests per connection. Unconnected requests share an origin bucket. Retries, pagination, file downloads and readback consume the same capacity. Completed admissions remain counted for the full window after their response, so slow requests cannot create a later burst; abandoned concurrency leases expire after the bounded request deadline plus 2 seconds. Transient value-free admissions are not portable authority. CONN-002 inherits shared-account buckets when provider-verified account identity exists. CONN-003–019, HTTP-002, EXEC-007, WORK-005, AI-001 and PLATFORM-002 inherit this clause for each added workflow request capability before it ships. **Acceptance evidence:** Run two accounts while one returns 429, then transient 503 and a permanent auth error; inspect spaced retry times, bounded attempts and a dead-letter outcome. Lose a mutating response and verify no blind retry before reconciliation. With a connector whose catalog declares 100 requests per 10 seconds per account and no builder rate setting, queue 300 steps on one account: verify no 10-second window holds more than 100 provider requests and the provider returns no 429; fail one step transiently and verify its retries wait growing, jittered gaps shown in the run's attempts. Exercise the unconfigured 1/2/4/8/16-minute backoff and a 90-second Retry-After with real elapsed time across restart. Verify slot release, due-only/concurrent Cron release, immutable input/version/operation identity, cancellation, live credential refusal, exact page/readback/multipart continuation, inactive portable restore, credential exclusion and terminal checkpoint cleanup. Restore historical one-hour/24-hour waits and an expired active slice: each exhausts without another send; retained-version and rollback parameters remain frozen.

Current evidence: `src/crank/connectors/retry.ts`; `src/crank/connectors/retry-policy.ts`; `src/crank/connectors/retry-wait.ts`; `src/crank/connectors/request-checkpoints.ts`; `src/crank/connectors/request-transport.ts`; `src/crank/connectors/rate-limit.ts`; `src/crank/ops/scheduler.ts`; `src/crank/ui/retry-history.ts`; `tests/connections.test.mjs`; `tests/request-limits.test.mjs`; `tests/retry-backoff-journey.mjs` (EXEC-002: every shipped workflow request, catalog capacity/account isolation, real default backoff/90-second wait, slot release and Cron/restart, frozen inputs/version/budgets, continuation/readback, archive custody and durable exhaustion)

Remaining gap: —

## EXEC-003 — Error routes, alerts and escalation

Status: partial.

Builders choose per-step stop, continue, fallback business branch, compensate or resume behavior without hiding the original error. Error workflows deliver deduplicated email, Slack, Nook or Teams notices containing a safe run link, failure category, accountable owner and due action. Unresolved failures escalate on a business calendar; restored work resolves the alert and stops reminders. An **auto-pause policy**, on by default with owner-set thresholds, pauses a workflow whose failure rate passes a threshold over a window (default: at least 20 runs and 95 % failed within 24 hours); runs ended by a WORK-011 `stopped by search` halt or a WORK-013 `stopped by filter` end do not count as failures. The pause stops dispatch, holds new trigger events as a TRIG-005 batch, notifies the workflow owner once with the failure categories, and on re-enable lets the owner run or discard the held events. **Delivered slice (c33, notice-consent default pending ct):** Email and explicitly owner-consented per-workflow Slack notices are deduplicated, carry only operational kind/category, owner reference, due action and authenticated run links, and retain channel attempts. No Slack destination is enabled implicitly; changing/revoking consent cancels pending old-destination delivery. Known non-deliveries retry on minute Cron after 1/2/4/8 minutes, at most five attempts. Uncertain responses and expired send claims stop for reconciliation without automatic resend. Provider acceptance is labelled separately from development-mail suppression and does not claim mailbox receipt or a human read. Answered approvals stop pending notice delivery. Delivery/attempt history restores inactive without routes or send leases and follows run erasure. Teams/Nook and later EXEC-007/CONN-004 notice channels inherit these safety rules before shipping. **Acceptance evidence:** Cause validation, credential and provider failures in a published workflow, exercise stop/continue/error branches, fail the alert provider and restore it, then resolve the business exception; inspect the durable error, alert delivery history and end of escalation. Fail 20 consecutive runs of one workflow and verify it auto-pauses, the owner is notified once, new trigger events are held with no effect, and re-enabling runs the selected held events once; verify 20 `stopped by search` halts do not pause a workflow. Verify a failure notice and a waiting-approval notice each reach the owner by email and in Slack within 60 seconds of the run needing them, each with a working safe run link.

Current evidence: `src/crank/delivery.ts`; `src/crank/ui/run.ts`; `src/crank/ops/failures.ts`; `tests/logic.test.mjs` ; `src/crank/ops/run-notices.ts`; `tests/run-notices-journey.mjs` (runNoticesJourney: email/Slack failure+approval, safe links, retry/restart, consent revocation, uncertain-send fence, inactive restore, erasure); `tests/run-notices-browser.mjs` (notice history and tooltips at 1440/390)

Remaining gap: Teams/Nook notices, calendar escalation/resolution, compensation and full failure-route matrix remain; conservative owner-only explicit per-workflow Slack consent awaits ct approval.

## EXEC-004 — Replay any eligible step safely

Status: done.

Operators retry/resume any eligible failed or incomplete step or selected batch items using retained versioned input and scoped authority. Preview shows what would run, prior effects and idempotency/reconciliation status. A corrected payload creates an attributable new revision; successful side effects are not silently repeated. Bulk replay has selection preview and limits. Until TEAM-001 adds an operator role, the owner replays. Eligible steps are the failed steps (and failed loop items) of a failed workflow run, plus failed loop items of a succeeded continue-on-error run, on a published, adopted workflow; a paused run resumes with run resume, an interrupted static read restarts by itself, and an interrupted or lost-response write is listed as uncertain with its operation key and goes to EXEC-006 reconciliation, never blind replay. Items that failed in a loop set to continue belong to a run that succeeded and whose later steps used its results; they are repaired with a linked new run on the same still-published version. The same digest-bound preview and selection limit apply; the source history stays unchanged. A repair retains completed checkpoints (including later steps), reopens only the selected failed items and their enclosing loops, and records `repair_of` and the selected paths. A path claimed by a repair is no longer eligible on its source, including concurrent decisions and after that repair is erased; the source retains the path claim until the source itself is erased; a failed repair is retried on that repair run. Unselected historical failures cannot be replayed through the copied checkpoints. The preview lists the eligible steps with their retained input, error, operation key and revision count, the uncertain writes and the completed effects that will not run again, and carries a digest; a replay names the selected paths (at most 100) and that digest, and a changed run refuses it. An uncorrected replay reuses the step’s retained input and operation key; a corrected input becomes revision N with operation key `<original>#rN`. Every revision keeps the replaced input, error and operation key beside the new input, with the owner and time, and the replay is audited with its paths and version. Completed steps and items keep their checkpoints and never run again; unselected failed items stay failed; each dispatch still checks live publish authority. Revisions are portable records under DATA-001 and erased with their run under DATA-002. **Acceptance evidence:** Fail the fourth step after three committed effects, restart, preview and resume that step, then replay selected failed items with corrected data; verify the first three effects persist once and the original and corrected inputs remain distinguishable. Also finish a continue-on-error loop with two failed items and a successful later effect: preview and correct one failed item as a linked repair, verify the source history and later effect stay unchanged, the other item stays failed, concurrent decisions create only one repair, and its original and corrected inputs, operation identities, audit and restore links remain inspectable. Replay an uncorrected failed item and verify identical retained input and operation key.

Current evidence: `src/crank/workflows/replay.ts`; `src/crank/workflows/repair.ts`; `migrations/core/0036_repair_runs.sql`; `migrations/core/0038_repair_claims.sql`; `src/crank/engine/executor.ts`; `src/crank/engine/records.ts`; `src/crank/workflows/runs.ts`; `migrations/core/0031_step_revisions.sql`; `src/crank/delivery.ts`; `tests/logic.test.mjs` (EXEC-004: fourth-step failure after three effects, restart, preview, replay, selected failed items with corrected input, revisions, limits, stale digest, linked repair of succeeded continue-on-error items, concurrent decisions, unchanged source/downstream effects, audit, export/restore); `tests/crank.test.mjs`

Remaining gap: None.

## EXEC-005 — Searchable run history and debugging

Status: done.

Run history retains workflow/version, trigger provenance, original inputs, each step’s mapped inputs/outputs, timings, decisions, grants, attempts and remote object IDs under redaction and retention rules. Builders search/filter by workflow, business key, date, status and error, paginate beyond the latest page and compare prior runs. Incomplete executions remain available; UI distinguishes queued, rejected, failed, uncertain, `stopped by search`, `stopped by filter` and business-complete, and shows each filter and path group’s rule results. **Acceptance evidence:** Find an older failed invoice by customer key, inspect its exact mapping and decisions, compare a passing run and follow the remote record link; deny a reader access to a restricted payload while retaining safe status/timing.

Current evidence: `src/crank/workflows/runs.ts`; `src/crank/ui/flows.ts`; `src/crank/ui/workflow-run.ts`; `src/crank/ui/run-debug.ts`; `tests/app.test.mjs` (EXEC-005: filters, paging, traces, comparison, remote links and restricted payloads)

Remaining gap: None.

## EXEC-006 — Effect reconciliation and compensation

Status: done.

Every mutating step records intent, stable operation identity and known/unknown remote effects. Crank uses provider idempotency when supported, otherwise reads back by business key before retrying. Ambiguous matches stop for an accountable decision. WORK-011 find-or-create steps are mutating steps under this clause: a lost create is read back by its search key before any retry. Partial workflows can run explicitly authorized compensating actions; compensation has its own audit/outcome and never promises distributed exactly-once effects or reversal of an irreversible action. **Delivered readback slice (c33):** A declared HTTP readback may name a bounded records list and exact business-key field. One exact match supplies the create-shaped result without another write; zero matches leave the write uncertain, and multiple matches require an accountable decision. Unavailable, malformed or incorrectly shaped readback never turns an unknown write into a replayable failure. Such uncertain writes remain ineligible for blind replay after restart. Native QuickBooks sandbox invoice and refund-receipt steps now use stable provider request IDs and readback by exact document number and customer. The owner may choose a current provider record with a digest-bound decision, then continue without repeating the original write. A separate published invoice-void workflow requires its own exact human approval, retains its own operation identity and outcome, and does not reverse payments or refunds. The held owner company grant and live US QuickBooks sandbox journey now prove invoice and refund creation, lost-acknowledgement recovery after restart, accountable continuation and separately approved invoice compensation. This proof does not complete CONN-007 or the broader business outcome under AGENT-001. **Acceptance evidence:** Lose the response after an invoice/refund is created, restart and reconcile it by provider readback; simulate zero, one and multiple matches, then fail a downstream step and inspect an authorized compensation without duplicating the initial write.

Current evidence: `tests/connections.test.mjs` (Native financial effects reconcile after restart, continue once and require separate compensation approval); `tests/effect-readback-journey.mjs` (quickbooksReconciliationJourney: zero, one and multiple matches, stale and repeated accountable decisions, once-only continuation, downstream failure, separately rejected and approved compensation, uncertain compensation and inactive restore; effectReadbackJourney: unavailable and invalid readback refuses blind replay); `tests/quickbooks-sandbox.mjs` (live invoice and refund writes, acknowledgement loss, restart, provider readback, one original write each, one reconciliation audit and separate compensation approval audit); `evidence/sx-crank-c-i811/quickbooks-sandbox.log` (actual local run at 6c9b27ddac5d70d5b4202b27f8f3ac5b687f5f94; realm 9341458517688911; invoice 145 USD19.99 read back then voided to USD0.00, request IDs 7d15b140daf58967b48cf5fae2fef0f51192a66f4483f731ce and 2818091a09d2962bd46bd9da1185648bf2479e743110685e58; refund receipt 146 USD19.99 read back, request ID 08d71a4940119bbcab90d1635cc24e366b42df6290b6efde77; actual Intuit trace IDs, workflow versions, operation keys and audits retained); `tests/financial-browser.mjs` (readback choice, owner continuation and compensation screens at 1440 and 390); `evidence/sx-crank-c-i811/financial-browser-final.log`; `evidence/sx-crank-c-i811/screens/1440-multiple.png`; `evidence/sx-crank-c-i811/screens/390-multiple.png`; `evidence/sx-crank-c-i811/screens/1440-owner-continued.png`; `evidence/sx-crank-c-i811/screens/390-owner-continued.png`; `evidence/sx-crank-c-i811/screens/1440-compensation-review.png`; `evidence/sx-crank-c-i811/screens/390-compensation-review.png`; `evidence/sx-crank-c-i811/screens/1440-compensated.png`; `evidence/sx-crank-c-i811/screens/390-compensated.png`

Remaining gap: None.

## EXEC-007 — Built-in email and SMS steps

Status: missing.

A send-email step works without connecting a mail provider: it sends from the installation’s own sending identity on a domain the owner verifies, through the installation’s configured transactional mail transport. Setup shows the exact SPF include, DKIM selector/key and DMARC records to publish and checks them before the first production send. The step supports mapped To/CC/BCC (bounded recipient count), reply-to, subject, plain and HTML body, and attachments by file reference; delivery, bounce and complaint events are recorded on the run, and hard-bounced or complained addresses are suppressed for later sends. A send-SMS step sends through the buyer’s Twilio connection (CONN-017) with its opt-out and registration rules; internal alerts to the workflow owner or team need no SMS account, through EXEC-007 email, Slack/Teams/Nook (CONN-004) or UX-001 mobile push. Both steps feed EXEC-003 notices and obey TEAM-004/TEAM-002 recipient and rate limits. Recipient actions inherit TEAM-004: count actual mapped destinations (including duplicates), apply both workspace and step caps using the stricter bound, and pause only excess actions for an exact-input approval; no approval means no out-of-cap send. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **AI-003 receiver duty (ct scope-review-54):** Recurring invoice-follow-up customer contact through this clause obeys AI-003's configured cadence and stops on paid, closed or void invoices, human takeover, cancellation, owner pause, expired authority or budget hold. Recipients come only from the invoice's billing contact. Re-read the connected invoice in the same dispatch before every contact, block the next dispatch after tool revocation, and retain a contact operation key to prevent duplicate sends, with one active run per invoice. The first external send of a new skill/objective version requires human approval unless a TEAM-002 standing grant covers it; the agent never approves. This receiving duty is required before this clause's contact can satisfy AI-003; it is not delivered evidence. **Acceptance evidence:** Verify a test sending domain’s SPF, DKIM and DMARC records in setup, then send a mapped email with a PDF attachment from a published workflow with no mail connection and verify receipt, a passing DKIM signature and the delivered event on the run; send to a hard-bouncing address and verify the bounce is recorded and the next send is suppressed; attempt a production send before the records verify and see a named setup requirement; send an SMS step through a Twilio test number and see its delivery status; route a failure alert to the workflow owner with no Twilio connection and verify it arrives by email and mobile push. Test an inclusive recipient bound, one excess destination, duplicate destinations and rejection: only the excess action waits, rejection sends nothing, and approval sends exactly the reviewed list under TEAM-004. For AI-003 customer follow-up through this transport, use a live connected invoice, verify configured cadence and billing-contact-only recipients, and change the invoice before dispatch to prove a same-dispatch read stops paid/closed/void contact. Exercise takeover, cancellation, owner pause, authority expiry and budget hold, and revoke a tool before its next dispatch: assert no further send. Retry/restart/concurrently dispatch the same operation and assert one customer contact and one active run per invoice. Require human approval for a new version's first external send unless its standing grant covers it, refuse an agent's approval and verify the provider receipt/readback. AI-003 stays missing until its full journey passes.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## OPS-001 — Operations reporting and external logs

Status: done.

Owners see workflow throughput, queue age, latency, success/failure/uncertainty, outstanding business obligations and connector health by workflow/team/time. Reports export CSV and stream redacted operational/audit events to buyer-selected Datadog, Splunk, S3-compatible storage or authorized HTTP sinks with delivery lag and failure visibility. The operations report counts a business outcome as complete only when a named owner explicitly confirms an independent check against the business record and records the evidence, labeled "owner attestation" in the API, docs and UI. HTTP or workflow success alone never counts as business completion, and an uncertain effect blocks it. Automated provider readback belongs to AGENT-001; this report never claims AGENT-001 verification. **Acceptance evidence:** Generate passing, failed, waiting and uncertain runs; filter an operations report, export it and stream events to an unavailable then restored sink; reconcile counts to run history and show incomplete business outcomes separately. Verify HTTP and workflow success alone leave business completion unchanged, an uncertain effect blocks it, and only a named owner’s explicit confirmation of an independent business-record check with recorded evidence counts the outcome as complete. Verify the API, docs and UI label this "owner attestation" and do not claim AGENT-001 verification; automated provider readback remains AGENT-001’s acceptance work. On the operations home, verify that today’s run count and failed count, for the business day in the workspace timezone, equal that day’s runs and failures in run history, and that it shows how many active workflows ran today out of all active workflows and names any scheduled workflow whose due run did not happen.

Current evidence: `src/crank/ops/report.ts`; `src/crank/ops/log-stream.ts`; `src/crank/ui/operations.ts`; `tests/ops.test.mjs` (OPS-001: reports, CSV, queue ages, redacted durable streams; business completion explicitly owner-attested)

Remaining gap: None.

## OPS-002 — USD usage, forecasts and spending controls

Status: done.

Before activation the buyer sees estimated per-run/workflow USD costs and assumptions for orchestration, connectors, models and external executors; actual usage remains labeled measured or estimated by source. Account/team/workflow budgets, task/credit exhaustion notices and authorized overage policies pause or resume predictably, retaining due work and preventing runaway loops or agent spending. The owner quotes all four components, including any explicit zero, before publishing a workflow or activating an approval flow. The graph-bound quote is labelled **owner estimate; not provider-verified**, with its assumptions, actor and time; a changed graph requires review again. Published versions keep immutable estimates; rollback displays and reuses the selected version's original estimate. USD input has at most eight decimal places, summed exactly in 10^-8 USD units. Batch estimates sum the components and multiply the count before rounding half-up to cents. Forecasts extrapolate the UTC month's admitted work and owner estimates over the elapsed portion of that month; they are labelled estimates, never invoices. Observed production step paths and physical requests are counts Crank actually recorded, not invented USD charges. Only source-reported USD is shown as provider charges: an executing HTTP endpoint may report `x-crank-usage-usd`, attributed to its origin and response header as self-reported, without independent provider verification. Missing charges remain **not reported**, never zero; an invalid report is an explicit unknown and does not discard a valid execution response. An account budget means this installation's workspace; team budgets use OPS-001 team assignments, snapshotted when a run is admitted. The owner sets recurring monthly USD limits per workspace, team or workflow (including approval flows), in UTC calendar months. Each new production run atomically reserves its complete immutable per-run estimate against every applicable active budget. An admission that would exceed a limit is held, including a zero-priced admission when the limit is already exhausted. Budget debit is the maximum of that run's reserved estimate and its cumulative source-reported charges, with no double debit; late reports update the month of admission. A run whose reported charges exceed its reservation starts no further request while an applicable budget is exhausted. Threshold notices at 80% and 100% are recorded atomically and delivered to the owner, with delivery state retained. At 100% new admissions stop into the TRIG-005 reviewable hold, retaining exact event identity/input and deduplication; budget holds never auto-expire. Polls retain all unadmitted items, schedules retain each due occurrence, and manual/legacy events are held as well. Replenishing a budget grants no release authority: the owner reviews and releases held items separately. A legacy hold release creates pending approval runs and never dispatches them. Extra overage requires an audited owner USD allowance and reason for the current UTC month. Test runs (WORK-008/014) are excluded from production usage and limits. Existing EXEC-001 execution caps remain, and every run additionally has a durable ceiling of 10,000 distinct expanded step paths, configurable downward with `settings.max_steps`; resuming a checkpoint does not consume the same path twice. A pre-metering unfinished run without a reservation retains its history and dispatches nothing; the owner quotes/reactivates and prepares fresh work. The obligations apply to all current workflow and approval-flow execution. AI-001 and AGENT-001/002/003/004, WORK-005, EXEC-007 and each new provider or executor inherit source-labelled charging, budget admission and step limits before shipping. DATA-001 applies before usage records ship: quotes, immutable version estimates, budgets, owner allowances, per-run reservations, value-free scope/month spending totals, observed paths/requests, source charges, reporting failures and notices all travel in archives. Restored budgets, allowances and pending usage notices are inactive; workflows and approval flows retain DATA-001's execution fence. The receiving owner saves a budget and grants any fresh allowance explicitly. DATA-002 erases run-linked usage/observations/charge details while retaining only value-free per-scope UTC-month debit totals, disclosed in the erasure receipt, so erasure cannot replenish an allowance. **Acceptance evidence:** Estimate a batch, run it against metered provider test edges, approach and exhaust a budget and replenish it; verify timely notices, no unauthorized overage, preserved backlog and a report separating estimates, observed usage and provider charges. Export/restore all usage records and assert inactive receiving state under DATA-001.

Current evidence: `src/crank/ops/usage.ts`; `src/crank/ops/usage-estimates.ts`; `src/crank/ops/usage-budgets.ts`; `src/crank/ops/usage-report.ts`; `src/crank/ops/usage-transport.ts`; `src/crank/ops/legacy-usage.ts`; `src/crank/engine/step-limit.ts`; `src/crank/triggers/admission.ts`; `src/crank/ui/usage.ts`; `src/crank/restore-policy.mjs`; `src/crank/workflow-erasure.ts`; `migrations/core/0042_usage.sql`; `migrations/core/0043_budget_holds.sql`; `tests/usage.test.mjs`

Remaining gap: None.

## TEAM-001 — Team workspaces and permissions

Status: partial.

Owners invite/deactivate members and assign owner, administrator/builder, operator, approver and viewer roles, with workflow/folder/environment and connection-use scopes. Team-owned flows survive employee departure. Enterprise group/SCIM provisioning through Auth or the buyer’s IdP applies the same environment/project policy and revokes sessions and service access when membership ends. Server-side access limits sensitive payloads and production writes; audit readers and billing administrators need not receive credentials or customer data. **Approved role policy (ct, 20 October 2026 20:20Z):** Owner, admin, builder (may publish), operator, approver and viewer are layered on Base roles, with per-workflow and per-connection scopes. Connection secrets are never readable after creation. A run starter cannot approve that run’s spend or side effect. Scope changes are audited and apply on the next request. The current scoped-role slice does not complete the legacy unassigned Base-role and approval-flow scope/separation-of-duties obligations, folder/environment policy, SCIM/group provisioning, full operator recovery/admin powers, delegated creation, or the audit-reader/billing-admin exclusion obligation: audit readers and billing administrators need not receive credentials or customer data. These remain gaps, without narrowing the role or enterprise requirements. **Scope-review-54 ruling (ct, 21 October 2026):** Access is the union of explicit grants, with deny by default. One grant must cover both the action and resource; separate grants cannot combine into a wider permission. Deactivation, environment isolation, owner-only decisions and starter-never-approves override every grant. The starter never approves their own run, including the owner and legacy admins, in both workflow runs and legacy approval flows (`crank_flows`). Roles include admin with delegated access administration only up to their own grants, builder with draft-test rights, operator with replay rights, approver, status-only viewer, auditor and billing admin. Audit-reader and billing-admin duties retain the exclusion of credentials and customer data. Folders are authority records with grants covering descendants. Moving a workflow requires rights on both source and destination and takes effect on the next request. Environments are isolated; existing records belong to production. Every role, scope or group change bumps an authority revision, fencing the next request and any late commit admitted under the old revision. Published runs continue under their immutable version's publish authority (TEAM-004). A one-time migration replaces every unscoped Base-role fallback with exact explicit grants and a zero-widening report proving nobody gained access; only then is the fallback removed. Legacy approval flows obey the same policy. Native SCIM 2.0 uses an owner-issued credential limited to SCIM. People match by IdP issuer plus external id, never email alone. New users have no grants; groups confer grants only through owner-set mappings. Updates are idempotent and replay-safe, and deactivation revokes sessions and service access; the owner cannot be deprovisioned. Access grants are never restored. Okta, Entra and Auth compatibility remains unverified until the owner provisions a real IdP tenant. These are remaining obligations, not completion evidence; TEAM-001 stays partial. **Acceptance evidence:** Invite each role, share a restricted workflow and connection, attempt direct cross-scope reads/writes, transfer a departing builder’s flows and deactivate them during an active session; verify continuity without retained personal access. Name one approver for a workflow’s approval step: verify that approver can decide it while another approver and a builder cannot, a builder can edit and publish but not approve, and a viewer can read runs but cannot edit, publish or approve, each refusal enforced at the server. Verify audit readers and billing administrators can perform their respective duties without receiving credentials or customer data; this exclusion remains unimplemented and TEAM-001 stays partial. For the scope-review-54 requirements, exercise multiple explicit grants: allow a request covered by one complete grant, refuse cross-grant action/resource composition and deny an ungranted request. Attempt self-approval as a scoped approver, owner and legacy admin in workflow and legacy approval flows and verify refusal. Exercise delegated admin access only up to their grants, a builder draft test and an operator replay within scope, plus auditor and billing-admin duties without credentials or customer data. Grant a folder and verify descendants, refuse a move lacking either side, then complete an authorized move and verify the next request uses its new scope. Refuse cross-environment access and place existing records in production. Change roles, scopes and group mappings during an admitted request and verify next-request and late-commit refusal while published work keeps its version authority. Migrate each unscoped Base person once, inspect the zero-widening report and verify the fallback is removed without losing exact authorized access. Through native SCIM 2.0, prove owner-issued SCIM-only credentials, issuer/external-id identity without email merging, new users with no grants, owner-mapped group grants, idempotent/replayed updates, session/service revocation and owner deprovisioning refusal. Restore without access grants. Real Okta/Entra/Auth interoperability awaits the owner's IdP tenant; local proof cannot establish it. Status stays partial.

Current evidence: `tests/team.test.mjs` (product scopes: complete approver account coverage and grant order; scoped builders: frozen test authority; complete explicit grants: editor actions, bounded delegation, replay, payload exclusions including empty search filters and combined duties; native upgrade: exact existing scopes, retained action limits and refused draft execution); `tests/grants.test.mjs` (owner-selected native delegation: standing reviewers read and decide only tasks under their named grant, with ordinary runs and other grants refused); `tests/crank.test.mjs` (native sign-in grants no implicit Base-role product access; independent legacy approval and replay); `tests/team-browser.mjs` (Verify-loaded native access forms, complete builder and operator controls, combined duties and builder states at 1440 and 390); `src/crank/team/policy.ts`; `src/crank/team/api.ts`; `docs/TEAM-ACCESS.md`

Remaining gap: Explicit grants require one complete grant for the action, workflow and all accounts, with deny by default, per-record payload access independent of grant order, bounded delegated administration without cross-grant approval powers, delegated production creation limited to the recipient’s own records, scoped operator replay, separate auditor and billing duties, universal starter self-approval refusal and preserved request, commit and immutable-version fences. The one-time migration snapshots existing record access with action limits and a value-free zero-widening report; grants and reports never restore as authority. Remaining: folder and environment grant policy, native SCIM and group revisions, complete legacy administration and broader folder and environment delegated creation policy. The native migration journey also preserves existing scoped readers, production draft creation without publication or access to another person's later record, and original action limits when another grant is appended; broader folder and environment creation grants remain unproved. Real Okta, Entra and Auth interoperability awaits the owner's IdP tenant; local proof cannot establish it.

## TEAM-002 — Optional approvals and standing grants

Status: done.

Approval is a configurable step or policy boundary, not a requirement for every run. A published workflow needs no grant to run: publishing authorizes exactly its declared steps on its bound connections (TEAM-004). Standing grants are opt-in limits layered on top, and they are the authority for agents, MCP clients and other work that is not a fixed published graph; they name workflow/version, app/account, tools/actions, fields, recipients, amount/rate limits and expiry. Routine actions proceed unattended within the publish authority and any grant. High-impact or out-of-policy actions show the exact proposed effect to an authorized human; rejection sends nothing, a change to the proposed action made by anyone but the reviewer invalidates the decision, and timeout/escalation/delegation are durable. Reviewers may correct a proposal before approving and choose where rejection leads under TEAM-005. Revocation stops new authority immediately. **AI-003 receiver duty (ct scope-review-54):** A recurring task pins skill and objective versions; explicit adoption changes only the next run and leaves open runs frozen. A new version cannot widen grants without an owner grant under TEAM-002. Tool revocation blocks the next step dispatch. The first external send of a new version needs human approval unless a standing grant covers it, and the agent never approves. Standing grants retain AI-003's configured contact cadence, invoice billing-contact-only recipients and stops on paid/closed/void, takeover, cancellation, owner pause, authority expiry and budget hold; they do not bypass the live same-dispatch invoice read or contact operation identity. These are inherited obligations for the missing AI-003 capability, not additional delivered evidence for TEAM-002. **Acceptance evidence:** Publish a routine lead workflow with no grant and observe unattended completion; give an agent task a limited grant and observe it complete within the grant; exceed a USD refund limit, inspect and reject one proposed action, approve another, then alter its body and revoke the grant mid-run, verifying reapproval/refusal and recorded in-flight uncertainty. **Delivered semantics (ct ruling, 20 October 2026 11:50Z):** The native owner issues a separate, one-time-shown, hash-held execution credential bound to an immutable grant and the issuing owner's current identity/version; preparation credentials remain preparation-only. The owner chooses the workflow/version, each existing leaf tool and app/account, allowed top-level input fields (including their JSON subtrees), exact recipient paths/values, nonnegative USD amounts, per-tool rolling-minute admission limits, UTC expiry, native delegates and timeout/escalation recipients. Agents choose and order a subset of the declared tools, at most once per task, with literal inputs; transport, connections, retry/readback settings and source policy remain owner-declared. Each task retains an immutable graph and the source workflow's full owner-estimated per-run cost reservation; submitted values use the existing sealed/erasable run payload. USD bounds are inclusive exact decimal comparisons without rounding; the rate window is the preceding 60 seconds, one admission per tool invocation, with retries retaining that admission. Above-limit effects wait for a human decision on their exact input. A changed held proposal, including a deferred approved proposal, clears the old decision and retains the input revision and decision audit; no dispatched effect can be revised. The owner selects native delegates; after the owner-chosen timeout, a durable internal Approvals task opens to the escalation recipients without automatic approval or an external-delivery claim. Every step and physical request checks live grant/version/connection authority. Revocation fences leases and records already-started writes as uncertain, never as cancelled remote effects. Grants and rate authority stay installation-local; portable task graphs, payloads, decisions, escalation history and audit restore inactive. Explicit receiving-owner adoption at publish can authorize a frozen task as fixed native work, retaining source-grant provenance in its immutable declaration/audit; the source execution credential remains inert and new agent tasks need a fresh grant. Current conformance covers every existing tool; added tools/doors under WORK-005/006/007/009/010/011/014, CONN-003 through CONN-019, EXEC-007, AI-001/002/003, AGENT-001/002/003/004 and PLATFORM-001/002 inherit the same grant, exact-review, revocation, custody and recovery obligations before shipping. Before shipping AI-003, pin both versions, adopt a new version and verify next-run-only use and frozen open runs; refuse widened authority until the owner issues the required grant. Revoke a tool before the next step dispatch and verify refusal. Require a human decision for a new version's first external send unless a standing grant covers it, and deny agent approval. Verify the grant cannot bypass configured cadence, invoice billing-contact-only recipients, the same-dispatch connected-invoice read, operation-key deduplication or any AI-003 stop (paid/closed/void, takeover, cancellation, owner pause, expiry or budget hold).

Current evidence: `src/crank/grants/store.ts`; `src/crank/grants/authority.ts`; `src/crank/grants/policy.ts`; `src/crank/grants/tasks.ts`; `src/crank/grants/proposals.ts`; `src/crank/grants/reviews.ts`; `src/crank/engine/executor.ts`; `src/crank/ui/grants.ts`; `migrations/core/0047_standing_grants.sql`; `tests/grants.test.mjs`; `tests/grants-browser.mjs` (TEAM-002: grant-free execution, bounded agent tasks, exact edits/review, changed input, delegation/deadline, rate, revocation uncertainty and inactive restore)

Remaining gap: None.

## TEAM-003 — Scoped preparation and trigger credentials

Status: done.

Owners issue agent preparation/read credentials and one-flow trigger credentials stored only as hashes. An agent preparation/read credential is shown once at issuance and is reusable for preparation and read until revoked or until the owner’s identity or version changes; it never carries execution authority. Preparation authority cannot activate, approve, replay, manage data or escalate its own permissions. Revocation and owner identity/version changes invalidate credentials at the HTTP and transaction boundaries. Future execution tools receive separate explicit grants under TEAM-002. **Acceptance evidence:** Issue both credential kinds through Access; verify the agent preparation/read credential is shown once at issuance, is not retrievable afterward, and only its hash is kept. Reuse that credential for preparation and repeated reads, try execution and every owner-only route and see refusal, submit with a trigger and try another flow, then revoke and verify further preparation/read is refused. Separately change the owner’s identity or version and verify credential invalidation; inspect state and archive for absence of bearer values.

Current evidence: `src/crank/tokens.ts`; `src/crank/access.ts`; `src/crank/workflows/runs.ts`; `src/crank/triggers/admission.ts`; `tests/crank.test.mjs` (TEAM-003)

Remaining gap: None.

## TEAM-004 — Publishing authorizes a workflow’s declared steps

Status: done.

When a member with publish rights publishes a workflow version, that version is authorized to run exactly its declared steps, with their mapped fields, on the connections bound to it, for every triggered run, with no expiry, no per-run approval and no separate grant to author. The authority is recorded on the version (publisher, time, steps, connections) and ends when the version is unpublished, replaced, or a bound connection is revoked. It does not extend to steps added later, other connections, or anything an AI/agent node decides beyond its declared tools (AI-001). Limits are opt-in: builders add approval steps (TEAM-005) or per-step caps, and owners may set optional workspace default caps (for example a USD refund ceiling or a maximum recipients per email) that pause only actions outside the cap for approval while in-cap actions continue unattended. Pausing blocks new, queued and running next-step dispatch. Only runs actually waiting or awaiting approval at the pause retain a frozen continuation when their version chose `continue` (the default when omitted) or `cancel_on_new_version`; `cancel_on_pause` cancels them. Replacement permits only runs actually waiting or awaiting approval at replacement whose old version chose `continue`, on that frozen graph with live connection and authority checks at every step. These exceptions are persisted at the pause or replacement, never inferred from a historical wait. Unpublishing retires the version and stops every old dispatch and wait with no exception. Workspace caps use `{category,max_usd?,max_recipients?}`; step caps use `{max_usd?,amount?,max_recipients?,recipients?}`. An action obeys the stricter workspace and step bound, inclusively. Recipients resolve to an array or one address, without delimiter parsing; every entry, including a duplicate, counts. For generic HTTP actions the graph declares the recipient mapping beside the mapped request. Approval covers the exact input and effective caps; rejection sends nothing. Every currently shipped action conforms, and EXEC-007, CONN-003, CONN-004 and CONN-017 carry these obligations when adding recipient operations; typed sends must count their actual expanded destination list. **Acceptance evidence:** Build or import 10 ordinary workflows (lead to CRM, Slack notice, Sheets row, draft invoice and similar), publish each, and observe their triggered runs complete unattended with no grant authoring, approval or other step beyond publish; verify each run’s audit names the publishing member and version. Add a workspace USD refund cap of $200 and trigger refunds of $150 and $350: verify only the $350 action pauses for approval while the $150 one completes. Add a step to a draft and verify the published version cannot run it until republished; revoke a bound connection and verify new runs pause with a reconnect notice.

Current evidence: `src/crank/engine/authority.ts`; `src/crank/engine/caps.ts`; `src/crank/workflows/store.ts`; `tests/publish-authority.test.mjs`; `tests/dispatch-authority.test.mjs`; `tests/logic.test.mjs` (TEAM-004: ten unattended workflows, publisher/version audit, caps, drafts, pause/replacement/unpublish and live reconnect)

Remaining gap: None.

## TEAM-005 — Approve with edits, rejection routes and reviewer notices

Status: partial.

An approval step can mark fields the reviewer may edit (for example refund amount or email body). The reviewer sees the exact proposed action, edits allowed fields and approves the edited version; the edit is recorded as an attributable revision beside the original, re-validated against the mapping schema and any TEAM-004/TEAM-002 caps, and only the approved revision is sent. Builders choose whether rejection stops the run or continues down a named rejection branch carrying the reviewer’s reason. Reviewers are notified by email, Slack, Microsoft Teams or Nook and mobile push, each with an authenticated link; reminders and timeout routes follow the business calendar. **Acceptance evidence:** Publish a refund workflow with an approval step whose amount is editable and capped at $500; change a $120 proposed refund to $95 and approve, then verify the Stripe test-mode readback shows $95, the run history shows both values, the reviewer and the reason; try to approve an edited amount of $600 and verify refusal; reject a second refund on a workflow whose rejection branch emails the customer and verify the branch runs with no refund; reject a third on a stop-on-rejection workflow and verify nothing further runs; verify each reviewer received the Slack notice and the mobile push with a working authenticated link.

Current evidence: `src/crank/delivery.ts`; `tests/crank.test.mjs`; `tests/logic.test.mjs`

Remaining gap: Slack/Teams/Nook/mobile push notices, reminders and calendar timeouts.

## SEC-001 — Native authentication and origin-bound writes

Status: done.

Private product routes require a current native operator session or a specifically scoped machine credential. Authorization is enforced in handlers and durable write predicates; browser mutations require the configured exact Origin. Owner-only data/access/import decisions cannot be obtained by an admin, member, trigger or preparation agent. Access decisions are inviting a person, deactivating or reactivating them, changing their role and ending another person’s sessions; until TEAM-001 adds narrower roles, only the owner makes them, admins may read the people list, and everyone may list and end their own sessions. A write admitted before its session or credential is revoked, signed out or demoted is refused when it commits. Local development identity remains local and is excluded from deployed assets. **Acceptance evidence:** Sign in through the ordinary email-link journey, call private HTTP doors signed out and with each lower role, send a foreign-Origin mutation and revoke a session/credential before a guarded write; verify denial without product effects and the build’s dev-identity exclusion.

Current evidence: `src/auth.server.ts`; `src/crank/access.ts`; `src/crank/api.ts`; `tests/crank.test.mjs` (SEC-001: every private API family and app page signed out, lower roles and machine credentials on access/data/import decisions, foreign-Origin owner writes, commit-time sign-out and credential revocation); `tests/email-link.mjs` (SEC-001: email-link sign-in, no dev identity doors or dev layer in the emitted build); `SEED-COMMAND-CONTRACT.md`

Remaining gap: None.

## SEC-002 — Bounded network and untrusted content

Status: partial.

HTTP/custom connectors, callbacks, code, files and agent tools validate authorized egress destinations on every redirect/resolution, refuse private/metadata targets unless an explicit private gateway grant applies, bound bytes/time and keep secrets server-side. Input text, imported graphs and tool results cannot execute HTML/scripts or override agent policy. File types and access are checked before forwarding. **Acceptance evidence:** Through workflow and import doors submit hostile HTML, credential-bearing URLs, redirect and DNS-rebinding targets, oversized payloads and prompt-injection text; verify literal display or named refusal, no unintended network requests and no secret in stored output.

Current evidence: `src/crank/flows.ts`; `src/crank/delivery.ts`; `src/crank/model.ts`; `src/crank/ui/document.ts`; `src/crank/engine/egress.ts`; `tests/security.test.mjs`; `tests/security-browser.mjs`

Remaining gap: Named workflow/import journeys assert literal hostile HTML and prompt text, credential/private/origin and redirect refusals, oversized authoring/import/provider bounds, no unintended request and no connection secret in retained output. Remaining: DNS rebinding (Base egress door), agent-policy resistance when AI/agent execution ships; literal text handling alone does not prove that policy.

## SEC-003 — Permanent attributable audit

Status: done.

An exportable, append-only audit records connection consent/rotation, grant changes, deployments, approvals, executions, replays, imports, exports, erasures and administrative actions with actor, time, version and value-free subject identity. Agents and automated work identify the policy authorizing them. Erasure anonymizes actors and removes sensitive payload copies without rewriting action history; external log delivery is observable. Until TEAM-001 adds an auditor role, the owner is the authorized auditor: only the owner reads or exports the audit, no caller can change or delete a record (the door answers 405 and the database refuses), and each export first records itself. The export is one JSON object per line, oldest first by time then id. Today’s grant changes are agent and trigger credential issue and revocation; access decisions (invite, deactivate or reactivate, role change) are recorded with the person’s operator id, never an email address. A draft edit names the published version it started from and the SHA-256 digest of the saved draft graph; an execution names its published version and publish authority. Erasing a workflow run or flow run replaces that run’s audit subject link with an opaque label and clears its detail while keeping each record’s id, time, actor, action and version; the run’s not-yet-delivered log events are erased with it. TEAM-002 (standing grants), DATA-002 (subject and operator erasure, which must anonymize the erased person’s actor ids) and every later clause that adds an action kind must add its audit records before shipping. **Acceptance evidence:** Change a grant, publish, execute, approve, replay and erase a run; read/export the audit as an authorized auditor, deny a builder’s audit mutation and verify anonymized records retain chronology without erased payloads or secrets. Verify the audit lists a draft edit, a run and an approval of the same workflow, each with actor, time and version.

Current evidence: `src/crank/ops/audit.ts`; `src/crank/workflows/api.ts`; `src/auth.server.ts`; `src/crank/tokens.ts`; `src/crank/flows.ts`; `src/crank/delivery.ts`; `src/crank/imports.ts`; `src/crank/data.ts`; `src/crank/workflow-erasure.ts`; `migrations/core/0030_audit_coverage.sql`; `tests/ops.test.mjs` (SEC-003: credential, access, publish, draft, execution, approval, flow-run replay/reject, import, export and erasure records; owner export; builder mutation refused; anonymized chronology; log-sink delivery); `tests/restore-journey.mjs`

Remaining gap: None.

## DATA-001 — Complete portable archives and inactive restore

Status: done.

Owners export all portable workflow versions/graphs, recipes, tables/forms, run/step histories, decisions, obligations, import provenance, usage, audit and erasure journals in documented versioned data. Integrity/schema/semantic checks precede atomic restore into empty product data. Flows restore paused with interrupted work visible and no dispatch; account bindings, credential secrets, sessions and grants remain installation-local and must be reauthorized. Unknown data is refused rather than silently omitted. The inventory obligation covers every record kind that exists today. WORK-006 (recipes/subflows), WORK-007 (tables/forms), WORK-009 (collected human data), WORK-010 (digests), WORK-014 (samples), AI-001 (AI execution data), AGENT-001 (reconciliation records) and AGENT-004 (agent obligations/memory) and OPS-002 (usage records) must add their portable records and inactive-restore proof before shipping those capabilities. Restored workflows are draft or paused and require the existing owner-only publish control. Its review lists every fenced run and bound connection; the receiving owner chooses resume or cancel for each run against the exact preview. Nothing resumes implicitly. Resume retains the run's original immutable version and checkpoints under fresh receiving-owner authority; every bound connection must be reconnected and each dispatch still checks live authority. Leases and continuation rights are cleared; unfinished runs, waits, holds, polls and schedules cannot advance before adoption. Interrupted remote writes remain uncertain and need reconciliation. Historical actor IDs confer no receiving access. Legacy pending deliveries require fresh receiving-owner approval; archived failed/interrupted deliveries have no replay authority. Older backups must stay restorable: import normalizes their activation state off and flags the result for owner adoption. Normalization uses Base's bounded import hook (`importSafety`/`importRow`) after staging and before validation and the atomic commit, identically for browser restore and `rer import`, and changes only these values: legacy flows become drafts; workflows become paused (drafts stay drafts) and owned by no one until the receiving owner adopts them at publish; connections need reconnecting (revoked stay revoked); unfinished runs are paused behind the restore fence with their previous status, leases and continuation rights cleared; running remote writes become uncertain; polls and schedules are parked; an interrupted legacy delivery fails under the restore fence and a failed legacy delivery keeps its outcome with its single replay spent. A bounded value cannot carry an older run's run-level pause reason, so that run keeps only its previous status; its steps keep their own errors. The restore receipt and its audit record count each change by table, column and value, without record values. Broken graphs, digests or references are still refused before any commit. **Acceptance evidence:** Export a populated installation, restore to an empty installation, compare all portable records and verify paused workflows, no network effects and no receiving authority; refuse corruption and a nonempty destination, then export the restored history again. Include waiting approvals, callbacks and queues, queued/running work, a held batch, due polls/schedules, connections, obligations, attempts and import/audit history. Restart and run Cron past their deadlines: assert no dispatch or wait resolution. Assert cleared leases/continuation authority, refused old credentials and direct resume/approval, an uncertain interrupted write, and a publish review listing all fenced runs/connections. Reconnect, reject stale or incomplete choices, then explicitly resume one run and cancel another at publish; only the resumed run dispatches once on its original graph. Restore a checksummed older archive carrying unsafe activation state (published workflows, active flows and connections, leased unfinished runs, a running remote write, due polls/schedules and a replayable failed delivery) and verify the reported normalization, inactive state after restart and Cron with no network effect, refused direct resume and delivery replay, a legacy pending delivery still awaiting fresh approval, and explicit owner adoption after which only the resumed run dispatches once; reject a broken graph/reference before any restore commit.

Current evidence: `src/crank/data.ts`; `src/crank/archive-policy.mjs`; `src/crank/restore-policy.mjs`; `src/crank/workflows/restore.ts`; `src/crank/ui/settings.ts`; `tests/crank.test.mjs`; `tests/restore-journey.mjs` (DATA-001: whole portable inventory, fences, owner adoption, older-archive normalization and atomic refusal); `docs/BACKUP-RESTORE.md`; `tests/crank.test.mjs` (BASE-003 DATA-001: complete portable inventory, inactive restore, explicit per-run adoption and atomic refusal)

Remaining gap: None.

## DATA-002 — Erasure, receipts and restoration fences

Status: done.

Owners erase completed run data and related sensitive inputs, decisions, outputs, files, indexes and agent memory after stopping affected execution. Durable value-free receipts and event digests prevent local restoration/readmission; a later source journal fences older archives on another installation. Subject/operator erasure traverses owned records and anonymizes the separate audit. Subject erasure takes one exact identifier (a business key, or an exact value such as an email address) compared case-insensitively; its preview lists every workflow run whose business key equals it or whose retained trigger, step input or step output contains it (for a run sealed under DATA-003 scoped encryption: whose declared identifier fields hold exactly that value, matched through the keyed blind index), and every flow run whose event id equals it or whose input contains it. Any unfinished match, or a match whose workflow or flow is still active, blocks the erasure until it is finished or canceled and paused; the confirmation names the preview’s digest, and a changed match set refuses it. Each match is erased through the run erasure above (event fences, value-free receipts, audit subject relabel), and one subject receipt in the audit names each run’s erasure journal and keeps only the SHA-256 digest of the identifier. Operator erasure applies only to a deactivated non-owner person: their operator id in Crank’s audit actors, decisions and run, version and credential creators becomes one stable random label, their sessions are revoked and their email address and display name are removed; chronology and actions stay, recorded as `operator.erase` under the label. The owner erases a deactivated team member, and previews and confirms a subject erasure, on the Data screen. A run's uploaded and connector files (the file records its trigger or step output names) are erased with the run, and run history search reads only retained runs. Crank keeps no search index today; AGENT-004 reference/history memory follows run and operator erasure. WORK-009 (collected human data) and AI-001 (AI execution data) add their records to these erasures before shipping. Archives never carry sign-in identities (email address, display name), so an older archive restored elsewhere holds only the erased person's opaque former id. External effects and previously downloaded offline copies are disclosed and handled in the buyer’s provider/copy policy. **Acceptance evidence:** Pause work and erase a terminal run/subject through Data; inspect histories, files, search and agent memory, attempt duplicate source readmission and restore its old archive with the later journal, then verify only value-free receipts/audit survive. Erase a deactivated team member and verify their id survives only as one label, their sessions end and their email and name are gone.

Current evidence: `src/crank/data.ts`; `src/crank/runs.ts`; `src/crank/subject-erasure.ts`; `src/crank/operator-erasure.ts`; `src/crank/workflow-erasure.ts`; `src/crank/ui/erasure-view.ts`; `migrations/core/0035_operator_erasure.sql`; `tests/crank.test.mjs`; `tests/webhook-erasure.test.mjs` (DATA-002 subject, file, search and operator erasure); `docs/BACKUP-RESTORE.md`

Remaining gap: None.

## DATA-003 — Explicit retention and sensitive-data policy

Status: done.

Owners choose payload, attachment, model-context and history retention with dry-run deletion scope and legal holds. Defaults and automatic cleanup are disclosed; limits on displayed pages never masquerade as deletion policy. Durable outcomes, audit and value-free receipts outlive expiring payloads, and incomplete obligations are not silently erased. Health/financial/customer data use scoped encryption, regional/provider controls and required agreements before production processing. - **Defaults and periods:** nothing expires until the owner sets a period. Payload, attachment and history retention are each empty (kept until erased) or a whole number of days from 1 to 3650, counted from the instant the run finished (a flow run: its last update), in UTC; history must be at least the payload and attachment periods. The per-minute Cron maintenance pass expires at most 25 runs of each kind per minute, each run in one atomic batch, so a restart resumes where it stopped. Saving periods requires the digest of their current dry run; every change is audited. - **Model context:** Crank stores no model context today. AI-001, AI-003, WORK-009 and AGENT-001–AGENT-004 inherit a model-context retention period under these rules before they ship. - **What expires:** payload expiry clears a finished run's trigger data, response, step input, output and trace, step-revision inputs, wait proposals and decisions, held and historical event copies and resumable request responses, and reduces each failure to its category; the run, its step statuses, times, business key, source event id, audit and a value-free receipt stay, and the run can no longer be replayed. Attachment expiry deletes the run files named by that run, and files no run names once older than the period. History expiry removes the whole run through DATA-002's erasure (event-digest fence, value-free receipt carrying its workflow, outcome and cutoff). Every expiry advances the portability redaction checkpoint and file deletions fence their rows, so an archive made before the expiry is refused against this installation or a later archive supplied as the journal (`erasure_epoch`). - **Always kept:** unfinished runs, runs waiting for a decision, runs with an unverified business obligation (OPS-001), runs with an uncertain write to reconcile (EXEC-006), runs with a repair in progress (EXEC-004) and held runs never expire; the dry run lists each with its reason. - **Dry run:** shows, for the chosen periods, every run and file the maintenance pass would remove now (or as of a chosen time) and every kept run with its reason, and deletes nothing. - **Legal holds:** the owner holds one exact identifier (3 to 500 characters, matched case-insensitively the way DATA-002 matches a subject) or one whole workflow, with a reason. A held run never expires and its DATA-002 erasure is refused (409) until the owner releases the hold; release keeps the hold's record and digest and removes the identifier. Placing and releasing are audited. - **Disclosure:** the Data screen states the defaults, the periods, the cleanup that already runs on its own (request-rate admission windows after their window, a paused workflow's held events at the expiry chosen for that hold, resumable request responses when their step finishes) and that run lists page the newest runs while older runs are kept. - **Sensitive data:** the owner sets each workflow's data class (none, customer, financial or health). A financial or health workflow publishes or resumes only while the owner's attestation for that class is recorded, naming each provider agreement in place (for example a BAA) and where the data is held; it is labelled owner-attested and Crank never claims to have verified or certified it. Withdrawing an attestation pauses every published workflow of that class at once. - **Scoped encryption (ct 19 Oct 17:20Z and 17:42Z):** Crank itself encrypts every payload value of a customer, financial or health workflow: trigger data, the webhook response, step input, output, trace and failure detail, replay and repair inputs, approval proposals and decisions, held and historical event copies, and run files. Each value is AES-256-GCM ciphertext under the installation's key for that data class, bound to its workflow and key; beside it stay only value-free routing facts (the file ids it names, an HTTP step's method, a failure's category, code, HTTP status and uncertainty, retry ids and times). Each installation makes its own random key per class on first use and seals it under the installation secret, like connection credentials; the blind-index HMAC-SHA-256 key is derived from the same key. Values are sealed on write; the per-minute Cron pass brings at most 25 runs, 50 held or historical copies and 10 files a minute to their workflow's current form, each run in one atomic batch that a concurrent write or execution defers: this migrates existing payloads when a workflow is classified, re-seals them on rotation and returns them to plaintext when a workflow leaves both classes. The owner rotates a class key at once (typed ROTATE); new values use the new key, the pass re-seals and re-indexes everything, and the old key is destroyed (its material deleted, the event audited) once no value, digest or run refers to it and 15 minutes have passed since it retired. Key creation, rotation, destruction, export and import are audited. Customer data needs no attestation; financial and health data also need the attestation above. - **Blind index:** the owner declares a sealed workflow's identifier fields (up to 20 property names). Their text or number values, trimmed and lower-cased, found at any depth of the trigger, step input or step output, are kept only as HMAC-SHA-256 digests under the class key. DATA-002 subject erasure and subject legal holds match a sealed run by its business key or when the identifier exactly equals one of those values; free text inside sealed values is never matched, and run search says that text search does not reach encrypted payloads. While any run waits for the pass to seal or re-index it, or is sealed under a key this installation does not hold, the subject preview names that and erasure waits. Payload expiry deletes a run's digests with its values; run erasure deletes them with the run. - **Archives and keys:** keys never travel in an archive; an archive carries the ciphertext and digests. After a fresh email-link confirmation (step-up), the owner downloads a key file holding every key not yet destroyed, wrapped with AES-256-GCM under a key derived from the owner's passphrase (12 to 500 characters; PBKDF2-SHA-256, 100,000 iterations). Restored on another installation without it, runs, outcomes and audit restore and each sealed value shows as sealed and labelled; after its own step-up, that installation's owner imports the key file with the passphrase, the values read again, and its pass re-seals them under that installation's own key and then destroys the imported one. - **Later capabilities:** AI-001, AI-003, AGENT-001 to AGENT-004 (model context and agent memory), WORK-007 (tables and forms), WORK-009 (collected answers), WORK-010 (digest entries), TRIG-006 (inbound email) and EXEC-007 (sent messages) store payload values and must seal them for customer, financial and health workflows under these rules before they ship. **Acceptance evidence:** Configure short payload retention and a held subject, run the maintenance job across its boundary and restart; verify only eligible sensitive data expires, held records remain, unfinished work is visible and pre-erasure snapshots respect fences. Classify a published workflow as health data and verify it cannot publish or resume until the owner records the agreements and data location, labelled owner-attested, and that withdrawing the attestation pauses it. Encrypt a financial workflow's payload values under a per-installation, per-data-class key, rotate the key, and erase a subject matched through a keyed blind index.

Current evidence: `src/crank/ops/retention.ts`; `src/crank/legal-holds.ts`; `src/crank/ops/sensitive-data.ts`; `src/crank/ops/payload-keys.ts`; `src/crank/ops/payload-seal.ts`; `src/crank/ops/payload-pass.ts`; `src/crank/subject-erasure.ts`; `src/crank/workflow-erasure.ts`; `src/crank/data.ts`; `src/crank/ui/retention-view.ts`; `migrations/core/0040_retention.sql`; `migrations/core/0041_payload_encryption.sql`; `tests/webhook-erasure.test.mjs` (DATA-003 journeys)

Remaining gap: None.

## MIG-001 — n8n migration with preview and undo

Status: partial.

Import n8n workflow exports including graph/layout, triggers, mappings, branches, loops, subflows, delays, code and credential references into paused Crank drafts; search/lookup settings (Always Output Data, Return All, limits) map to WORK-011, built-in transformation nodes to WORK-012, IF, Filter and Switch conditions to WORK-013, and resource locators keep their chosen resources under CONN-019; trigger update options (such as the Google Sheets Trigger’s columns to watch) map to TRIG-008 watched fields, and captured executions load as WORK-014 samples. n8n OpenAI and Anthropic nodes and AI Agent nodes with their chat-model, memory and tool sub-nodes map to their CONN-001-mapped AI-001 operations and agent nodes, keeping prompt, model or a named substitution, output parser schema, binary file inputs and declared tools, with keys re-entered under CONN-002. A preview maps every node/setting or names a blocking/manual conversion; it never silently drops work, imports authority or executes source expressions during parsing. Reviewed fingerprints, source identities, originals and a restartable journal support idempotent apply and safe undo of unused, unchanged imports. **Acceptance evidence:** Preview a multi-step n8n export with a subflow and unsupported/custom node, resolve each named gap, apply the exact reviewed plan twice, reopen the journal after restart, bind fresh accounts and compare runs before cutover; undo an unused import and refuse undo after drift or use. Import an n8n workflow whose OpenAI node analyzes an image from a binary input and whose Anthropic node writes a reply: verify both map to AI-001 operations with prompt, model and output schema kept, and pass on captured executions.

Current evidence: `tests/n8n-batch-journey.mjs` (batchLoopJourney: multi-item source node barriers, filtered back-edge termination and selective replay); `tests/n8n-stream-journey.mjs` (transformStreamJourney: complete-stream transforms, individual-field Aggregate and ordered Filter); `tests/n8n-conditions-journey.mjs` (n8nConditionsJourney: typed and loose conditions, explicit-offset DateTime, short circuit and Switch output indexes); `tests/n8n-binding-journey.mjs` (n8nBindingJourney: inactive fresh HTTP binding, exact repeated apply and live revocation); `tests/n8n-code-journey.mjs` (originalCodeJourney: original source provenance, sandbox task identity, restart and output schema refusal); `src/crank/n8n.ts`; `src/crank/n8n-graph.ts`; `src/crank/import-workflow-target.ts`; `src/crank/import-door.ts`; `tests/crank.test.mjs` (MIG-001 native graph review, exact apply, restart, branch outcomes and protected undo; existing MIG-001 door journeys); `tests/n8n-conversion-journey.mjs` (conversionJourney and embeddedWaitJourney: retained choices, registry version and digest, native dispatch through executor edge, output schema, synchronous embedded interval waits with exact elapsed days across both daylight saving transitions and the 366-day boundary, review-time duration refusal, exact repeated apply, inert review, child digest and review fingerprint changes, payload-preserving restart and once-only Cron continuation, cancellation, credential revocation and complete inactive portability); `tests/executor-linux.mjs` (actual isolated converted JavaScript via public import and execution doors); `tests/n8n-loop-stream-journey.mjs` (streamLoopJourney: reviewed bounds, intermediate expansion, stage barriers, exact receiver writes and replay); `tests/n8n-loop-journey.mjs` (doneLoopJourney: ordered completion, object arrays and duplicates, empty back edges, failure and no-duplicate restart); `tests/migration-browser.mjs` (1440 and 390: reviewed completion mapping, retained conversion envelopes and digests, inactive registry and code drafts, completed checkpoints and protected undo; embedded child wait settings, waiting and completed histories, retained child output at 1440 and 390); `docs/IMPORTING.md`

Remaining gap: Native multi-step graphs preserve layout, Set assignments, strict IF and Filter conditions, first-match or all-match Switch rules with extra fallback, explicit-zone date formatting, interval waits and JSON HTTP requests. Set values retain declared types without implicit coercion. Explicit Split Out item streams feed serial batch loops with a bounded source count and first-failure stop. Larger literal batch sizes require retained owner-reviewed source and stage bounds. A distinct linear done chain consumes ordered returned body items, expands JSON object arrays, preserves duplicates and each node barrier, and emits no completion after an empty back edge. An explicit owner-reviewed item-stream-loop choice binds source and stage item bounds within the existing native invocation budget. Linear Set and JSON HTTP bodies preserve intermediate object-array expansion, duplicate records and per-node barriers, with first-failure stop, empty-stream termination and retained restart checkpoints. Binary conversion, branched or nested batch streams and unbounded cardinality remain manual. Restart and selected failed-checkpoint replay retain successful effects. Literal synchronous single-input embedded linear subflows, including bounded version-1.1 timeInterval Wait nodes, compile to immutable digest-pinned native steps. Embedded interval days preserve exactly 24 elapsed hours across daylight saving changes, and preview refuses durations beyond 366 days. Embedded waits preserve the incoming JSON, restart without repeating completed receiver effects and keep native cancellation and current connection authority; unsupported wait modes, versions, expressions and settings remain explicit manual conversions. Explicit reviewed conversion envelopes bind database subflow references to an exact native registry version and definition digest; runtime revocation and later-release isolation are proved. Explicit reviewed JavaScript conversions bind a fresh native executor connection, resource bounds, no network egress and a structural output schema; original source and conversion choices remain fingerprint-bound and are never executed while parsing. Unresolved code and unbound source credential references remain explicit manual conversions without imported authority. Native conversion now covers reviewed multi-item batches with source node barriers; standalone bounded JSON item streams; simple Sort, Limit, current-input Remove Duplicates, all-item and individual-field Aggregate, and complete-stream Filter; Split Out default object expansion, explicit destination and all or selected fields; strict string, number, boolean, array, object and existence conditions with source null, whitespace and short-circuit semantics, dynamic right operands, versioned loose scalar and array conversion, explicit-offset ISO DateTime comparisons, a reused-output Switch fallback and declarative expression-mode output indexes. Filtered streams preserve order and duplicates, fail an entire stage before downstream dispatch and stop later batches and completion on an empty back edge. Explicit fresh HTTP connection choices retain source references without authority and enforce current native connection scope and revocation. Supported original Code JavaScript can use reviewed native sandbox resources, bounded input APIs and validated JSON output streams, with durable executor identity and no source execution during planning. Reviewed apply, restart, receiver outcomes and protected undo are proved on synthetic documented-format data. The batch, transform, original-code, condition and fresh-binding public-door journeys pass; installed review, inactive native graphs, loop child inspection and retained item data pass at 1440 and 390. Remaining: branched or nested loop topologies, reset loops, additional item-stream operations and source-code APIs beyond the supported JSON sandbox adapter, binary and lineage conversion, additional provider credential and resource mappings; complete WORK-011 search settings and the remaining WORK-012 transforms; WORK-013 local or non-ISO DateTime parsing, loose object syntax and additional source expression syntax; WORK-014 captured samples, CONN-019 resources and TRIG-008 watched fields; fresh authorized account binding, live customer exports, real source execution comparison and cutover; OpenAI image and binary inputs plus Anthropic model, prompt, schema and agent-tool mappings with captured-execution parity. No broad graph compatibility is established.

## MIG-002 — Zapier migration and cutover

Status: missing.

Buyers migrate Zaps, folders, schedules, paths and filters with every rule operator, AND/OR group, fallback and always-run branch (WORK-013), each step’s chosen account resources (spreadsheet, worksheet, channel, pipeline, stage and similar) matched by ID and shown by name under the new connection (CONN-019), each update trigger’s trigger column, Property Change property and Updated Deal Stage pipeline and stage as TRIG-008 watched fields and changed-to values, every Formatter transform and option to its WORK-012 equivalent or a named manual conversion (including Line-itemizer), search steps with their “create if it doesn’t exist” fields, success-when-nothing-found and multiple-result settings (WORK-011), line-item mappings, loops, sub-Zaps, tables/forms, RSS and Webhooks Retrieve Poll triggers (TRIG-007), Digest steps with their name, frequency, release time, template and release-and-clear setting (WORK-010), every QuickBooks Online and Xero trigger, search (including find-or-create) and action CONN-007 names, with its customer, item and account choices (CONN-007), every Shopify and Stripe trigger, search (including find-or-create) and action CONN-008 names, with its location, product and sales-channel choices, every Zendesk and Jira Software Cloud trigger, search (including find-or-create) and action CONN-009 names, with its view, group, project, issue type and sprint choices, every ChatGPT (OpenAI), Anthropic (Claude) and AI by Zapier step as its CONN-001-mapped AI-001 operation, and agent tool declarations. Each AI step keeps its prompt and system instructions, its model choice (or a named substitution when that model is unavailable, shown in the preview), its output field schema, its conversation key and its file and URL input mappings. The buyer’s OpenAI or Anthropic key is entered under CONN-002 with fresh consent and is never read from the source; with no key, the step runs on the installation’s default model where it supports the operation, shown as a substitution. Crank accepts documented Zap JSON exports (available on Zapier Team and Enterprise, where non-admins export only their own Zaps; these prerequisites are explained) and uses a guided, itemized reconstruction for assets a source plan cannot export. **No-export path (Free and Professional plans, or Zaps a member cannot export).** The defined input is the buyer’s Zap list (the Zaps page as a pasted list or screenshot: name, folder, apps, on/off, owner) plus, for each Zap, its step details as shown in the Zap editor (app, event, account, field mappings, filter/path rules, formatter settings, delay, schedule) and up to 10 recent Zap history runs with their step data, captured by the buyer from the editor and Zap history pages by paste or screenshots. Captured and exported history runs load as WORK-014 earlier-run samples in each draft. An agent turns this into the itemized inventory, asks only for details it cannot read, rebuilds each Zap as a paused draft through AI-002, and runs the coverage report (CONN-001). Every Zap gets a mapped/manual/blocked disposition, fresh connection consent and a parity test that replays its captured history samples against the draft in test mode and compares mapped outputs. **Hook cutover.** The inventory lists every Catch Hook / Catch Raw Hook URL and the sender it is pasted into (Typeform, Stripe, the website, vendor dashboards), and every Email by Zapier inbound address (on Zapier’s robot.zapier.com mail domain) with the vendors, staff and mailbox forwarding rules that send to it; each address gets a TRIG-006 alias and a checklist naming each sender’s contact change or forwarding-rule change, under the same shadow mode, first-message verification and watermark cutover as hooks. Each sender gets a repoint checklist with its new Crank secret URL (TRIG-001) and the exact provider setting to change. Until Crank verifies the first real event received on a sender’s new URL, the source Zap stays the only writer and Crank receives in shadow mode, recording events without business writes. At cutover Crank becomes the writer from a recorded watermark, the buyer turns the source Zap off, and the overlap is reconciled by source event ID and destination readback (EXEC-006) so each event is written exactly once. Rollback restores the source Zap as sole writer from a new watermark without two active writers. **Acceptance evidence:** Migrate an authorized multi-path Zap with formatter and delayed action from a Team-plan JSON export, account for every source setting, compare mapped results on authorized samples, stop the source at a watermark and switch triggers; roll back without two active writers or duplicate effects. Migrate a Zapier Professional account with no export file from its Zap list, editor details and Zap history captures: verify every Zap receives a disposition and a passing or explicitly failing parity test. Migrate an RSS → Slack Zap, a Retrieve Poll Zap deduplicated on a custom key, a weekly Digest Zap, a HubSpot deal → QuickBooks invoice Zap with a Line-itemizer step, a lead Zap whose HubSpot “Find contact” uses “create if it doesn’t exist” with a no-match path, and a Formatter Zap using split, lookup table, add/subtract time and perform math: verify each reports native with a passing parity test, including the digest’s name, schedule, release time and template and the invoice’s full line count. Migrate a lead Zap with an AND/OR filter and a Paths group with a fallback branch, and a Zap with a chosen spreadsheet, worksheet and Slack channel: verify each reports native with a passing parity test, the fallback catches a lead matching no territory, and the draft shows the same resources by name. Cut over a Typeform → Catch Hook → HubSpot Zap while test leads are submitted continuously before, during and after the switch: verify the repoint checklist, Crank’s first-event verification, and that HubSpot holds exactly one contact per submitted lead with zero lost or duplicate leads. Migrate a Zap using a Google Sheets trigger column and one using HubSpot Updated Deal Stage: verify each reports native, keeps its watched column or stage by name and passes parity. Cut over an Email by Zapier address that a vendor sends to: verify the vendor appears in its checklist and that each vendor email sent during the switch starts exactly one run. Migrate a Zap running “New Paid Invoice in QuickBooks → update HubSpot deal”, one running “Find or Create Customer → Create Invoice → Send Invoice” and one running Xero “Overdue Sales Invoice → email and Slack reminder”: verify each reports native, keeps its customer and account choices by name and passes its parity test. Migrate the Shopify Zaps “New Paid Order → QuickBooks sales receipt” and “Find or Create Customer → Create Draft Order”, and the Zaps “New Ticket in View → Slack” and “Issue Status Changed → Add Comment to Ticket”: verify each reports native, keeps its location, view and project choices by name and passes its parity test. Migrate the Zaps “Gmail New Attachment → ChatGPT Extract Structured Data → QuickBooks Create Bill”, “Zoom New Recording → ChatGPT Create Transcription → ChatGPT Send Prompt → Gmail” and “HubSpot New Company → AI by Zapier Extract Content From URL → Analyze and Return Data → HubSpot Update Company”, and a Zap with an Anthropic (Claude) Send Message step: verify each AI step reports native, keeps its prompt, model (or named substitution), output fields and file mapping, its key is requested under fresh CONN-002 consent, and each Zap passes its parity test on captured samples.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## MIG-003 — Make blueprint migration

Status: missing.

Make scenarios/blueprints migrate modules, routers with their fallback routes, filters with every Make operator (WORK-013), module resource selections (CONN-019), watch modules’ field and “changed” options (TRIG-008), mappings, search modules with their limits and empty-result handling (WORK-011), built-in functions (WORK-012), OpenAI (ChatGPT, Whisper, DALL-E) and Anthropic Claude modules as their CONN-001-mapped AI-001 operations (keeping prompt, model or named substitution, output structure and file mappings, with keys re-entered under CONN-002), iterators/aggregators, scheduling, error routes and dependencies into reviewed paused drafts with explicit unsupported dispositions. Connections/webhook URLs are rebound and data stores transferred under consent. Source operations/credits are not misrepresented as Crank cost; source history remains labeled historical. **Acceptance evidence:** Import a Make blueprint with a router, iterator and error handler, inspect the complete mapping/exception report, rebind accounts and test both branches, then perform a watermark cutover and demonstrate unused-import undo. Import a Make scenario that sends an email attachment to an OpenAI module for structured extraction and one that transcribes a file with OpenAI: verify each AI module maps to its AI-001 operation with prompt, model and output structure kept, and passes on captured samples after the key is re-entered.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## MIG-004 — Workato recipe and project migration

Status: missing.

Authorized Workato RLCM ZIP packages and accessible API definitions migrate recipes, recipe functions/callable recipes, custom connectors, lookup/data tables, shared schemas, message templates, API endpoints/collections, event topics, skills/genies/MCP declarations, properties, test cases, schedules, environments and error handling with source IDs/provenance and a complete dependency report. Dependency coverage includes workflow-app configuration where present; unavailable package assets receive explicit reconstruction tasks. Enterprise connection, on-prem gateway and role policies are deliberately rebound. Items unavailable to export receive a guided reconstruction and acceptance case, never a false compatibility claim. **Acceptance evidence:** Preview an authorized Workato package with callable recipes and environment properties, account for dependencies and unsupported actions, compare sandbox outcomes, approve production account/gateway binding and cut over with a documented rollback checkpoint.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## MIG-005 — Gumloop and Pipedream move-in

Status: missing.

Crank accepts Pipedream project ZIP exports, including manifest dispositions, workflow/source/code definitions, configured properties, component versions and control-flow branches. It reports skipped/truncated workflows and explicitly requests excluded environment values, stores/files and private component source through secure setup. Gumloop flows/agents migrate through verified authorized exports/APIs where available and guided reconstruction otherwise; no portable Gumloop format is assumed. Model prompts, tool grants, branches, code dependencies, schedules and persisted source cursors receive explicit dispositions and tests. Imported prompts/tools cannot authorize themselves; no source secrets are copied into graphs or run history. **Acceptance evidence:** For each product, inventory an authorized workflow containing an AI or code step, rebuild/import its complete graph, reauthorize tools, test both a safe and prohibited action and cut over its source cursor without losing or duplicating business events.

Current evidence: None recorded.

Remaining gap: No delivered product workflow.

## MIG-006 — Side-by-side runs until results match

Status: missing.

Every migration path (MIG-001 to MIG-005) can run an imported workflow beside its source before cutover. In side-by-side mode each live source event also runs the reviewed Crank draft in test mode with no business writes: searches read, and each action records the exact request it would have sent. Crank pairs each side-by-side run with the source’s own run for the same event by source event ID, reading the source’s result from its execution data where the source exposes it (n8n executions, Make scenario logs, Workato job history, buyer-captured Zap history) and otherwise from readback of the destination record the source wrote, and compares mapped outputs and intended writes field by field. A side-by-side report per workflow shows matched, mismatched (with each differing field and both values) and unpaired events. Cutover is offered only after a builder-set number of consecutive matching events (default 20) with no unresolved mismatch; a mismatch blocks cutover until it is fixed or accepted with a recorded reason. Cutover then follows the source’s watermark procedure (MIG-002 hook cutover), so no event is written twice and none is lost. **Acceptance evidence:** Import a Zapier lead Zap and an n8n workflow and run each beside its source for 25 live test events, with one deliberate mapping difference in the Zapier draft: verify destination readback shows only the source’s records during side-by-side mode, the report lists the mismatched event with its differing field and both values, and cutover is refused; fix the mapping, verify 20 consecutive matching events enable cutover, cut over at a watermark and verify each later event is written exactly once by Crank and the source writes nothing further.

Current evidence: None recorded.

Remaining gap: No shadow mode, side-by-side comparison or match-gated cutover exists.

## AI-001 — Inspectable AI and agent nodes

Status: partial.

Builders add LLM classification/extraction/generation and tool-using agent nodes using buyer-selected OpenAI, Anthropic, Google Gemini or authorized model endpoints, or with no model key at all through the installation’s default model (Cloudflare Workers AI on the installation’s own account, which the owner can replace with any configured endpoint), whose usage is metered in USD under OPS-002. Each node declares typed outputs, model/version, allowed data, tools, MCP servers, iteration/time/USD budgets and failure policy. Prompts, files and external documents are untrusted data; agents cannot acquire new scopes, change grants, send out-of-policy messages or hide tool calls. Invalid structured output is a visible step failure. **File, image, audio and URL inputs.** AI node inputs accept WORK-002 file references as well as text, so a node reads the file itself rather than text pasted from it: - documents: PDF (including scanned pages, read through the model’s vision or the installation’s document-to-text conversion), DOCX, XLSX, CSV, HTML and plain text; - images: PNG, JPEG, HEIC, WebP and GIF; - audio and video: MP3, M4A, WAV, MP4, MOV and WebM, with video read through its audio track for transcription. Any step that produces a file reference feeds an AI node: a CONN-003 or TRIG-006 attachment, a CONN-012 form upload, a CONN-017 MMS image, a CONN-013 Zoom recording, a CONN-005 or CONN-016 stored file, or a WORK-002 fetched URL. Default bounds are shown in the step and owners can change them within the model’s own limits: documents up to 50 MB and 500 pages, images up to 20 MB, and audio or video up to 500 MB and 4 hours, with long media split into chunks whose timestamps stay continuous. File type is checked by content as well as extension under SEC-002 before any model call. Before publish, the step editor shows which input types and operations the chosen model supports; mapping a file type the chosen model cannot read blocks publishing with a named error. A file that arrives at run time with an unsupported type, over the bounds or unreadable fails the step with the named error `model input unsupported`, naming the type, size and model, and no later step writes. **Built-in AI operations.** Each operation is a native step with typed inputs and outputs. Each runs on the installation’s default model where that model supports it (Workers AI speech-to-text, vision, document-to-text conversion and image generation) and on any buyer-selected OpenAI, Anthropic, Google Gemini or authorized endpoint that supports it: - **Send prompt and conversation:** text generation with optional file inputs and system instructions, and an optional conversation key whose earlier turns persist across runs until cleared. - **Extract structured data:** from text or a file into builder-declared typed fields, with line items returned as WORK-002 line-item arrays in exact decimal cents. Each extracted field records the page it came from, and lines that do not reconcile to the extracted total route to WORK-002’s named validation failure instead of writing. - **Analyze and classify:** answer an instruction about text, an image or a document, returning typed fields or one category from a declared list. - **Transcribe:** audio or video to text with segment timestamps, speaker labels where the model provides them, and the detected language. - **Translate:** text, or audio, into translated text in a chosen language. - **Extract content from URL:** fetch a web page, PDF, image, audio or video at a URL under SEC-002 egress rules and return its text, title and content type. Private, metadata and DNS-rebinding targets are refused before any request is sent; bytes and time are bounded; pages become readable text without running their scripts; and media go through the transcribe or analyze operation. - **Search content across URLs:** answer one question from up to 10 URLs fetched as above, with the URL each statement came from. - **Generate image:** from a prompt, returning a WORK-002 file reference with name, type and size. - **Model files:** upload a file to the selected provider’s file store, find a file, and find or create one under WORK-011. Every operation records model, version, input types, tokens or media seconds, and USD usage under OPS-002. CONN-001 maps Zapier’s ChatGPT (OpenAI), Anthropic (Claude) and AI by Zapier steps to these operations. DATA-001 applies before this capability ships: include its AI execution data in the versioned portable inventory and restore them without execution or receiving authority. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). AGENT-004 inheritance: every added human question/fact kind inherits all AGENT-004 obligations and acceptance before shipping, including proof of owner-named native contact authority, calendar/cadence limits, unanswered escalation, revocation and deactivation fencing, exactly one authorized human continuation, late/duplicate refusal, takeover/cancellation, audited contacts, and complete inactive portability/erasure through named public-door journeys. Routing grants no workflow access or approval rights. **Acceptance evidence:** Run an invoice-extraction node on the installation’s default model with no model key configured and see its USD usage in OPS-002, then run a tool-using agent on a buyer-selected endpoint against authorized documents and MCP tools; inspect model/tool/cost provenance, inject a hostile instruction and exceed a tool/spend limit, verifying schema failure or escalation without an unauthorized write. Then: Export and restore these AI execution data, compare their full portable records and assert inactive receiving state under DATA-001. 1. **Vendor bill.** Forward a vendor email carrying a 2-page scanned PDF bill to a TRIG-006 address. An extract-structured-data node reads the PDF as a file reference, not as pasted text, and returns vendor, bill number, date, three line items and total. A QuickBooks Online sandbox bill is created for the vendor, found or created by name (CONN-007), with the PDF attached. Readback shows lines and total matching the PDF to the cent. 2. **Receipt photo.** Send a JPEG receipt photo by Twilio MMS (CONN-017). An analyze node extracts merchant, date and total into a Google Sheets row, verified by readback. 3. **Transcription.** Deliver a Zoom test recording-completed event (CONN-013) with a 3-minute two-speaker recording. A transcribe node returns text with timestamps; a send-prompt node lists the action items, and one Asana task per action item is created (CONN-014), verified by readback. 4. **URL extraction.** An extract-content-from-URL node reads a public test page and a public PDF into text. Pointed at a private-network address, it is refused with no request sent. 5. **Unreadable file.** Map an audio file into a node whose model has no audio support: publishing is blocked with a named error. Send audio to the same node through an untyped file input at run time: the step fails with `model input unsupported` and makes no write. 6. **Default model.** Run steps 1 and 3 on the installation’s default model with no model key configured, and see each run’s USD usage in OPS-002.

Current evidence: `tests/logic.test.mjs` — “AI classification validates text and output, meters known and unknown costs and stops downstream writes”, “AI classification retries only rejected requests and fences parked budgets and current dispatch authority” and “AI classification retains uncertain billed identities without replay and restores complete inactive custody”, using `tests/ai-steps-journey.mjs`, prove one native text-only category operation with a pinned OpenAI model and endpoint, explicit installation-owned key, declared text disclosure, input and structured-output refusal, token, time and USD bounds, funded publication, admission and parked budgets, revocation after waiting, durable response identity, honest quoted and reported or unknown costs, no blind billed replay, erasure and full inactive portable comparison. `tests/ownership.test.mjs` extends owned-operation coverage to this native operation. `tests/ai-steps-browser.mjs` — “AI classification editor provenance, failures, uncertainty and tooltips” proves the installed editor and retained runs at 1440 with matching 390 proof. The custody journey also refuses rebilling after an interrupted local result commit and retains the provider response identity. It also proves that a 503 response with Retry-After remains uncertain without another request or downstream work, and that a complete in-flight archive retains operation identity and prior checkpoints without rebilling after reconnection and explicit owner adoption.

Remaining gap: Text classification only. Conservative interim default: an explicitly configured installation-owned bearer key and the pinned OpenAI text endpoint; scoped model delegation and broader provider boundaries remain unproved. Remaining: default or keyless Workers AI and other buyer-selected model providers or endpoints; conversation, generation, extraction with reconciled line items and page sources, transcription, translation, URL extraction and search, image generation and model-file operations; all file and multimodal formats, content checks, model-support publication checks, sizes, pages, media durations and chunk timestamps; tool and MCP agents, iteration limits, full hostile-input policy resistance and applicable AGENT-004 inheritance; migration mappings and every required live model, provider, consent and destination-readback journey. Vendor-bill acceptance still needs TRIG-006 inbound routing plus PDF and QuickBooks bill custody and readback; MMS acceptance needs an authorized Twilio sender and Sheets readback; recording acceptance needs Zoom and Asana accounts. No live provider completion is claimed.

## AI-002 — Natural-language workflow creation

Status: partial.

A builder describes a business result; an agent inspects only authorized app schemas/sample data and proposes an editable workflow, mappings, triggers, grants, test cases, costs and unresolved business questions. It validates the proposal against real connector schemas and test accounts. Human promotion or a previously approved bounded deployment policy controls activation; natural language alone does not silently grant production access. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** Ask for a US lead-to-invoice workflow, inspect and edit the generated graph and samples, refuse a requested new scope and then approve a tested version; verify no production sends occur during authoring and unresolved choices remain explicit. **Delivered authoring semantics (c-i895):** The native Skills surface creates an inactive manual CRM read, US filter and USD QuickBooks invoice proposal from the configured model. Its selected connector definitions, native operation descriptors and submitted samples are the complete model context; no app credential or autonomous schema browsing is supplied. The owner can edit graph mappings and samples within the reviewed account and tool boundaries, inspect proposed grant limits and unresolved authority choices, and retain unanswered business questions. Every edit invalidates test evidence. All native draft and publication doors enforce the same boundary. Tests require explicit active sandbox bindings; the executor checks that boundary again before each request, including after approval or a connection-purpose change. Human promotion requires the exact current graph, samples and answers, successful retained tests and current owner estimates. It records the deciding owner and version and creates no grant. Model charges remain explicitly unverified when not returned by the provider. Provenance and samples restore as inactive native draft history without credentials or receiving authority. This is an adopted conservative default, not a ct approval or a change to the acceptance target. AI-003 and later migration-generated drafts inherit the same explicit promotion and non-widening authority obligations before adding authoring doors.

Current evidence: `tests/skills.test.mjs` — “AI-002: native model proposals stay within scope, sandbox tests fence exact human promotion and portable drafts retain provenance” proves bounded generation, authorized schema and sample disclosure without credentials, editable samples, explicit unanswered choices, scope refusal through both draft doors, production test binding refusal, exact retesting and human promotion, post-promotion production fencing, restart and complete inactive credential-free restoration. `tests/authoring-browser.mjs` — request, generated, scope-refused, edited, tested and promoted states prove graph and sample editing, retained refusals, unresolved choices, deliberate promotion, no authoring production sends and shell tooltips at 1440 and 390 (`evidence/sx-crank-c-i895/authoring-browser.log`; all twelve PNGs under `./evidence/sx-crank-c-i895/authoring-screens`). `tests/authoring-sandbox.mjs` — actual held model, owned CRM source and US QuickBooks sandbox creation and independent invoice readback, followed by exact human promotion with no production sends or silent grants (`evidence/sx-crank-c-i895/authoring-sandbox.log`, code b380dfe7c69dceb06ec614c2cf48ea11a3c21ea6, invoice 263 at USD19.99).

Remaining gap: Conservative default ADOPTED, awaiting ct approval: only the native owner submits selected schemas and samples to the configured model and human-promotes the exact tested version; authoring remains sandbox-only and issues no execution grant. AI-002 remains PARTIAL pending that policy decision.

## AI-003 — Reusable agent skills and recurring tasks

Status: partial.

Teams version reusable agent instructions, tools and evaluation cases as skills and schedule recurring tasks against scoped business data. Skill updates cannot broaden grants. Runs expose progress, remaining obligations, cost and human takeover/cancellation; recurring tasks stop when their objective is satisfied, authority expires or the owner pauses them. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). AGENT-004 inheritance: every added human question/fact kind inherits all AGENT-004 obligations and acceptance before shipping, including proof of owner-named native contact authority, calendar/cadence limits, unanswered escalation, revocation and deactivation fencing, exactly one authorized human continuation, late/duplicate refusal, takeover/cancellation, audited contacts, and complete inactive portability/erasure through named public-door journeys. Routing grants no workflow access or approval rights. **Scope-review-54 ruling (ct, 21 October 2026):** Native invoice tracking with an employee inbox is a valid first slice, but does not complete AI-003. The complete journey requires invoice state read live from a connected source at each step and customer contact through EXEC-007 or CONN-003. Those receiving clauses carry AI-003's cadence, stop and recipient duties in both CONTRACT.md and ACCEPTANCE.md before that contact can satisfy AI-003. Accounting-source reads belong to CONN-007 when that connector supplies the invoice. Each recurring task pins a skill version and objective version. Adoption of new versions is explicit and affects only the next run; open runs stay frozen. A version cannot widen authority without a new owner grant under TEAM-002. Tool revocation blocks the next step dispatch. Re-read the connected invoice in the same dispatch before every contact; allow one active run per invoice, and retain an operation key for each contact so it is never sent twice. Customer recipients come only from the invoice's billing contact and contact remains within the configured cadence. Stop on paid, closed or void invoices, human takeover, cancellation, owner pause, expired authority or budget hold. The agent never approves; the first external send of a new version requires human approval unless a standing grant covers it. Human employee questions inherit AGENT-004's native-inbox duties; that shipped approval-wait slice does not establish live invoice tracking or external customer contact. AI-003 stays missing. **Acceptance evidence:** Publish a recurring overdue-invoice follow-up skill, run it across several due dates, update its version and revoke one tool; verify bounded contact cadence, visible stopped/blocked work, prior run provenance and human takeover. Pin skill and objective versions, explicitly adopt an update and verify only the next run changes while an open run retains both versions. Refuse widened tools/recipients without a fresh owner TEAM-002 grant, revoke a tool and verify the next dispatch is blocked. Use a connected invoice source at each step, change it immediately before a due contact and verify the same-dispatch read suppresses contact when paid, closed or void. Race two starts for one invoice and retry/restart a contact: assert one active run and one operation-keyed customer effect. Through EXEC-007 or CONN-003 verify configured cadence, invoice billing-contact-only recipients, first-send approval for a new version unless covered by a standing grant, and no approval by the agent. Exercise takeover, cancellation, owner pause, authority expiry and budget hold and verify visible stopped/blocked work with no further contact. Exercise inherited AGENT-004 employee-inbox questions separately; native invoices plus that inbox alone cannot complete this journey. AI-003 remains missing until live-source and customer-contact proof exists. **Delivered native slice (c-i928):** The owner publishes immutable instruction and safety-case versions pinned to one published native invoice-check tool, and creates immutable objective versions with the exact company, provider invoice identifier and elapsed check cadence. An explicit TEAM-002 grant binds the tool, account, fields and source workflow version. Adopting another skill and objective requires their exact current grant and affects the next admitted run; an open run retains its original versions, source grant, invoice and cadence. Atomic invoice and task claims admit one open run and survive restart. Every dispatch and physical request checks the current task latch, owner, grant, connection and applicable USD budget. The tool reads the connected QuickBooks sandbox invoice, re-reads immediately at the due-contact boundary, and stops a satisfied invoice objective. An open invoice retains a blocked customer-contact obligation and stable operation key in existing erasable run checkpoints; it sends no customer message. Native pause, takeover, cancellation and permanent tool revocation fence ordinary run continuation too. Costs, remaining work and prior version provenance are inspectable. Archives retain the complete version and run history inactive, without grants or invoice-claim authority; run erasure removes its linked recurring history and billing-contact checkpoint. No employee question or customer-send transport is introduced. The Status row is PARTIAL and the full acceptance target above is unchanged.

Current evidence: `tests/skills.test.mjs` (Recurring invoice objectives freeze version pins, serialize invoice ownership and retain blocked progress across due dates and restart: immutable pins, explicit adoption, old and next runs, exact grants, widening refusal, one active invoice and cadence; Recurring connected-invoice contact boundary re-reads paid, closed and void state and uses only the current billing contact: same-dispatch source changes and stopped contact; Recurring authority stops fence task controls, in-flight tool revocation, expired grants and budget holds through native run doors: all native authority stops and no customer send; Recurring skill provenance restores inactive without grants or invoice ownership and erased run payloads leave no customer contact copy: complete inactive portability, erasure and disclosures); `tests/ownership.test.mjs` (an owned installation publishes and finishes every shipped step type while author traffic is blocked, extended with recurringOwnership); `tests/recurring-browser.mjs` (built Skills, recurring list, pinned objective, blocked contact, native run, adoption, pause and revoked-tool screens at 1440 and 390, including keyboard and hover tooltips); `evidence/sx-crank-c-i928/recurring-browser.log`; `evidence/sx-crank-c-i928/screens/1440-blocked-contact.png`; `evidence/sx-crank-c-i928/screens/390-blocked-contact.png`; `tests/recurring-sandbox.mjs` (actual broker-authorized read-only QuickBooks sandbox journey at a8e5b875ab6d413d7d510ed64bd1071ee9188dcc: two same-dispatch reads of invoice 130, independent provider readback at USD362.07, matching billing contact, stable operation key and no repeat read after retry and restart); `evidence/sx-crank-c-i928/recurring-sandbox.log`

Remaining gap: Customer contact through EXEC-007 or CONN-003 remains account-blocked and unimplemented. Actual provider contact still needs configured cadence, current invoice billing-contact-only recipients, first-send human approval or an exact standing grant, denial of agent approval, one operation-keyed customer effect across concurrent retry and restart, and every stop exercised against that effect. Paid, closed and void changes immediately before contact currently have network-edge proof only. No AI-003 employee question is added or proved under AGENT-004. Broader tool chains and agent execution of the retained instructions and evaluation cases remain unimplemented; this slice executes one native invoice-check tool.

## AGENT-001 — Own and verify the business outcome

Status: done.

An outcome agent turns an owner-defined recurring objective into durable obligations across authorized CRM, accounting and communication records. It reads back downstream objects and checks explicit success criteria, not merely HTTP/tool success. It records satisfied, due, blocked and uncertain obligations with evidence and remaining cost; amounts, recipients, data access and changes stay within standing grants, and ambiguous remote effects await reconciliation. DATA-001 applies before this capability ships: include its reconciliation records in the versioned portable inventory and restore them without execution or receiving authority. **Delivered semantics:** The native `quickbooks.invoice_outcome` step binds an immutable successful CRM lead checkpoint to this run's original granted invoice, customer, exact USD total, account and business key. An independent provider query records the obligation, due time, remaining estimate and observed invoice version. Missing or incorrect records require an exact owner review; a missing invoice retains the original request identity and an update names the current provider version. Approval never widens the standing grant. Closure requires fresh correct provider readback before the declared notification runs. Ambiguous effects use EXEC-006 reconciliation. Automated provider evidence is shown separately from OPS-001 owner attestation. New outcome kinds under CONN-001 through CONN-020, AI-001 and EXEC-007 inherit these criteria, authority, readback and DATA-001 through DATA-003 custody obligations before shipping. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** Run a lead-to-draft-invoice-and-notify objective where all requests return success but the invoice is missing or linked to the wrong customer; observe that the obligation stays open, reconcile provider records, repair only within the grant and close it only after correct readback. Export and restore these reconciliation records, compare their full portable records and assert inactive receiving state under DATA-001.

Current evidence: `tests/connections.test.mjs` — “Invoice outcomes stay open after successful requests until granted repair and independent provider readback, with inactive complete reconciliation records” proves successful acknowledgements with missing and wrong-customer invoices, exact grant refusal, fresh correct readback, one notification, lost-repair-response reconciliation without repeated effects, changed-provider-version refusal, and complete portable-record comparison with inactive restore. `tests/invoice-outcome-sandbox.mjs` proves actual QuickBooks repair and readback (raw output `evidence/sx-crank-c-i812/invoice-outcome-sandbox.log`). `tests/invoice-outcome-browser.mjs` proves the same decisions and end states at 1440 and 390, including immediate focus and delayed hover tooltips (`evidence/sx-crank-c-i812/outcome-screens/390-wrong-open.png`). `tests/ownership.test.mjs` — “BASE-001/BASE-004: an owned installation publishes and finishes every shipped step type while author traffic is blocked” includes the new native outcome; the outcome journey asserts provider-controlled disclosure.

Remaining gap: None.

## AGENT-002 — Detect, repair and test API drift

Status: done.

An agent compares authorized run inputs/outputs, connector schemas, API changelogs and permission errors to detect source/API drift before or during failures. It pauses affected writes, prepares a minimal versioned connector/mapping repair, tests retained authorized cases and target sandbox APIs, reports changed fields/scopes and restores service only under human approval or a bounded preapproved repair policy. New scopes and business meaning changes always require human choice; rollback remains available. **Delivered semantics:** The native `drift.map` boundary compares typed authorized values, declared provider schema and changelog evidence. A missing or retyped field, or a bound permission failure, fences affected writes. The owner can reject a requested scope; this door cannot grant it. Original read permission is checked through the original bound safe request. A proposed repair changes one source field while retaining the business output name and type; the owner confirms equivalent meaning. The 20 latest retained production envelopes are replayed as native test runs under explicitly selected sandbox accounts, with each result linked before approval. Approval publishes the exact tested version through ordinary cost and authority checks, preserves completed checkpoints and releases eligible held work once; grant-bound work needs a fresh exact-version grant. Rollback publishes the prior mapping and holds writes. Initial repairs cover linear native graphs; broader graph and connector repairs under WORK-002, WORK-003, WORK-006, CONN-001 through CONN-020 and AI-001 inherit the same evidence, human choice, sandbox, continuation and rollback obligations before shipping. Cases retain references to existing sealed payloads, not extra sample values; retention, erasure and inactive restore apply. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** Rename a provider field and revoke a permission in a running workflow; inspect the detected drift, proposed diff and sandbox tests, reject the new scope, approve a mapping-only repair and resume from the durable checkpoint without duplicate effects. Verify the repair is replayed in test mode against the workflow’s 20 most recent retained runs with each result shown before approval, and that after approval the workflow is unpaused and its held runs complete with the repaired mapping.

Current evidence: `tests/drift.test.mjs` — “Native drift repair tests twenty retained cases, refuses scopes and stale approval, preserves effects and resumes held runs once” proves field and permission drift, write fences, exact diff, rejected scope, twenty latest native sandbox test runs, owner approval, three held continuations without repeated effects, and rollback; “Drift repairs restore inactive and erased retained evidence cannot authorize deployment” proves custody. `tests/drift-sandbox.mjs` proves actual permission readback, twenty actual QuickBooks sandbox results before approval and three held continuations (raw output `evidence/sx-crank-c-i812/drift-sandbox.log`). `tests/drift-browser.mjs` proves inspectable diff, all twenty results, approval, completed runs, rollback and tooltips at 1440 and 390 (`evidence/sx-crank-c-i812/drift-screens/390-tested.png`). `tests/ownership.test.mjs` includes the native mapping under author traffic refusal.

Remaining gap: None.

## AGENT-003 — Turn recurring exceptions into tested capabilities

Status: done.

An agent clusters recurring errors and manual corrections using only retained, authorized cases, proposes a transformation/subflow/connector improvement and evaluates it on both passing and failing cases. The owner controls sample retention, deployment policy and semantic changes. It measures exception reduction and business correctness after deployment; it cannot simply suppress failures, add blind retries or substitute fabricated application results. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Delivered semantics:** The owner selects retained production cases from one workflow version, including at least two single-field manual corrections with the same error category/status/code and a passing counterexample. The agent searches compositions of one or two existing pure trim/case/HTML-strip/URL-decode transforms; every expected field value must match exactly, otherwise no improvement is proposed. It stores references and operation names/parameters, not extra sample values: existing sealing, retention and erasure govern the samples. Approval rechecks evidence and stages only an unchanged source draft; normal owner publish deploys it. The detail screen measures selected baseline exceptions and production failures on the exact improved graph, counts independently read-back owner-attested business outcomes separately from execution success, retains measurements after rollback, and links original failure/correction history. New transformation, subflow or connector improvement capabilities inherit retained-case evaluation, owner control, measured correctness and rollback before shipping. **Acceptance evidence:** Accumulate recurring address-format failures and successful counterexamples, inspect a proposed reusable normalization skill and its cases, approve it, then verify later outcomes and roll back if valid addresses regress; confirm original failures remain in history.

Current evidence: `src/crank/agents/normalization.ts`; `src/crank/agents/cases.ts`; `src/crank/agents/skills.ts`; `src/crank/ui/skills.ts`; `migrations/core/0046_exception_skills.sql`; `tests/skills.test.mjs`; `tests/skills-browser.mjs`; `docs/API.md`

Remaining gap: Retained correction clustering, counterexample-tested reusable normalization, owner draft review/publish, measured exceptions and independent owner-attested outcomes, rollback and inactive portable restore.

## AGENT-004 — Follow up across days and ask for real decisions

Status: done.

An agent maintains due obligations, next actions, business calendars, accountable employees and evidence while work spans days. It asks the right person only for missing facts or unresolved business choices, chases stalled approvals under agreed cadence and escalates when authority or deadlines require it. It resumes the exact durable step after the answer, stops contact on completion/revocation and exposes takeover, cancellation and an audit of every communication. **Delivered semantics (ct, 20 October 2026):** The owner names active native people for an unresolved production approval and any deadline escalation. Contacts appear only in each named person's in-app inbox, never at an external address; routing grants no workflow access or approval rights. The owner supplies each person's IANA timezone, working weekdays/hours and holidays, and sets cadence: by default at least 1,440 elapsed minutes and at most one contact per person per local calendar date, shared across all obligations. Window start is inclusive, end exclusive; overnight shifts belong to their starting weekday, and a holiday silences its local date and any shift beginning on that holiday. Intervals use elapsed minutes across clock changes. Missed windows do not accumulate a send backlog. Every committed contact has an atomic audit naming its authorizing owner; storage failure records a failed maintenance operation without fabricating a notice. Revocation takes effect at the contact commit, completion stops contact, and native deactivation permanently invalidates that authorization even after reactivation. The agent never changes workflow state or approves anything: only the authorized human edits the immutable step's allowed fields and decides the original durable wait. Owner takeover and cancellation use that same native run. Obligations retain only run/step/person references, deadlines, state and contact history; facts and evidence remain in existing sealed/erasable run records. Portable references/history restore inactive without person calendars, contact authorizations or daily-admission authority; erasure follows the run and anonymizes operator references while value-free daily receipts prevent replenishing contact limits. This covers every decision kind shipped today; future question/fact kinds under WORK-009, AI-001 and AI-003 inherit this obligation before shipping. DATA-001 applies to the shipped capability: include its agent obligations and memory in the versioned portable inventory and restore them without execution or receiving authority. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **AI-003 receiver boundary (ct scope-review-54):** The shipped native employee-inbox approval-wait follow-up is a valid component of AI-003's first slice. Each added recurring invoice employee question must inherit this clause's contact authority, calendar/cadence, escalation, revocation/deactivation, one human continuation, duplicate/late refusal, takeover/cancellation, audit and inactive portability/erasure proof. It does not supply AI-003's missing skill/objective versions, live connected invoice reads or customer contact. Customer contact belongs to EXEC-007 or CONN-003 under AI-003's cadence, stop and billing-contact-only recipient rules, not the shipped native inbox. The agent never approves. AGENT-004's shipped status does not promote AI-003 from missing. **Acceptance evidence:** Leave a customer tax fact unresolved over a weekend, restart the service, answer from the authorized employee and finish the obligation; test unanswered escalation, a late duplicate answer and revoked contact authority, verifying one continuation and no further reminders after completion. Export and restore these agent obligations and memory, compare their full portable records and assert inactive receiving state under DATA-001. For each AI-003 employee question, repeat the inherited native authority/calendar/cadence, escalation, revoked/deactivated contact, one authorized continuation, late/duplicate refusal, takeover/cancellation, audited contact and inactive portability/erasure journeys. Verify the employee inbox conveys no customer-contact or approval authority to the agent. Demonstrate AI-003's live connected invoice reads and external customer-contact cadence, stops and billing-contact-only recipients through EXEC-007 or CONN-003 separately before calling AI-003 complete.

Current evidence: `src/crank/agents/followups/store.ts`; `src/crank/agents/followups/scheduler.ts`; `src/crank/ui/followups.ts`; `tests/followups.test.mjs`; `tests/followups-browser.mjs`; `docs/DATA-FLOWS.md`

Remaining gap: Owner-named native contacts, calendar/cadence limits, escalation, explicit human continuation, immediate authority fencing, takeover/cancel, audited communications and full inactive portability are asserted through native public doors. Future decision kinds inherit these obligations.

## UX-001 — Accessible mobile operation

Status: partial.

Builders and operators use responsive web interfaces and iOS/Android mobile access for run search, notifications, approvals, pause, safe replay and takeover; full workflow editing remains usable on desktop and accessible on small screens. Keyboard/screen-reader labels, textual states, focus and action errors meet the WCAG 2.2 AA target. Notifications never expose secrets; poor connectivity shows stale state and reconciles a decision before permitting another. Decision connectivity semantics: an offline approval is not sent; an interrupted response is labelled unconfirmed because it may have reached the server. Both freeze the displayed approval controls until a fresh server page is read, automatically on reconnection or through an explicit check. Checking only reads current state; it never resends a decision. A failed check keeps the proposal labelled stale and the controls frozen. The same rule covers approval flows and workflow approval steps. **Acceptance evidence:** At 1440px and 390px with realistic long names/payloads, create and inspect work, approve/reject, pause and resolve a failure using keyboard and touch; interrupt connectivity during approval and verify one decision and clear stale/error state. Exercise the same notification-to-resolution journey on iOS and Android.

Current evidence: `src/crank/ui/document.ts`; `src/crank/ui/flows.ts`; `src/crank/ui/run.ts`; `src/crank/ui/workflow-run.ts`; `public/decision.js`; `tests/decision-browser.mjs`

Remaining gap: Responsive forms and native state text; named UX-001 browser journeys assert keyboard/touch approval, rejection and offline/lost-response read-only reconciliation at 1440/390. Gap: actual iOS/Android notification-to-resolution, mobile push and full WCAG 2.2 AA conformance remain unproven.

## PLATFORM-001 — Public API, webhooks, SDK and MCP

Status: partial.

The product exposes documented, versioned APIs, paginated reads, outgoing signed run/outcome webhooks, SDKs and an MCP server for authorized workflow/run/connection operations. Idempotent writes, scoped service accounts, event retries, subscription rotation and public error contracts support app and agent integrations. Remote clients have the same grants and audit trail as UI operators and cannot bypass approval. Connected-app actions exposed to the buyer’s own AI clients are covered by PLATFORM-002. **Delivered slice semantics:** `/api/crank/v1` versions the existing workflow/flow JSON doors and their public error codes; `/api/crank/v1/mcp` adapts the same doors without extending caller authority. Draft create/save accept an optional 1–200 visible-ASCII-character `Idempotency-Key`, scoped to the current credential, operation and target workflow. Canonically identical JSON retries retain one workflow, draft snapshot and audit write; changed reuse is a conflict. A replay returns the current workflow plus the original draft receipt, so it cannot undo a later edit. Receipts contain hashes and record IDs only, stay installation-local and are erased with their operator; portable drafts and history restore inactive. Granted task starts also accept the optional key, scoped to that execution grant. Concurrent or restarted identical requests create one task version, run and audit entry, with one dispatch; retries return current progress without re-executing work or bypassing pending/rejected approval. Changed request reuse conflicts. The caller’s task_id remains a source label, not a deduplication key. Task receipts follow the same installation-local hash/ID-only custody and operator-erasure policy; after run-history erasure, the receipt refuses reuse instead of launching effects again. Publish and rollback accept the same optional key under distinct operation/target namespaces. Canonical retries create one immutable publication version and one publish audit, including concurrent calls and lost-response recovery. They return the original version beside the current workflow state without republishing a newer draft, replacing a later version, resuming a pause or repeating restore adoption. Replay requires current publish authority and workflow scope. Publication receipts use the same local hash/ID-only custody and operator erasure; archives omit them. Duplication accepts the same optional key, scoped to the current credential and source workflow under a separate operation. Concurrent, lost-response and restarted retries retain one inert destination draft and creation audit. A retry reads that destination's current state without copying a later source revision, overwriting destination edits, publishing or starting work. The native preparation and source-scope checks still apply. Duplication receipts share the existing local hash/ID-only custody and erasure rules; archives omit them, so a fresh receiving-owner duplication creates a new inert draft. Other writes keep their existing semantics and are not automatically retried. No completion webhook subscription or delivery is claimed by this slice. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** Use an SDK and MCP client to create a draft, start granted work, inspect progress and subscribe to signed completion events; duplicate writes, rotate a webhook secret and attempt an out-of-grant action, verifying stable IDs, delivery history and denial.

Current evidence: `src/crank/platform/versioned.ts`; `src/crank/agent-door/index.ts`; `src/crank/agent-door/tools.ts`; `src/crank/workflows/idempotency.ts`; `src/crank/grants/task-idempotency.ts`; `src/crank/grants/tasks.ts`; `sdk/index.js`; `docs/API.md`; `tests/platform.test.mjs`; `tests/grants.test.mjs`

Remaining gap: Versioned native API/errors, SDK, MCP draft/create/validate/publish and granted task/progress doors, paginated run reads, credential-scoped atomic draft write receipts and named grant/approval/denial/audit/restart/inactive-restore journeys ship. SDK/MCP publication and SDK rollback also retain one immutable version/audit under concurrent or restarted keyed retries, preserving later workflow state and current scope; receipt-free restoration still needs native adoption. SDK/MCP duplication additionally retains one inert destination under concurrent/lost/restarted requests without overwriting later source/destination edits or dispatching work. Remaining: outgoing signed run/outcome subscriptions, retries, secret rotation and delivery history (Base egress door); idempotency beyond draft create/save/duplication, granted task starts, publication and rollback.

## PLATFORM-002 — Connector actions as MCP tools for the buyer’s AI clients

Status: partial.

Owners create per-client MCP servers (for example one for a person’s Claude, ChatGPT, Cursor or VS Code) that expose selected connector actions and searches as typed tools, such as “Send Slack channel message”, “Create Google Calendar event” or “Find HubSpot contact”, on the same managed connections that workflows use. Each server has its own URL and authentication (OAuth 2.1 with the person’s Crank sign-in, or a revocable per-client secret), a chosen set of enabled tools, optional fixed or limited parameters, and a TEAM-002 grant setting recipients, amounts, rate limits and expiry. Every tool call appears in run history and the audit with the client, person, tool, inputs, outputs and remote object IDs; calls outside the enabled tools or the grant are refused and audited, and approval-required actions pause under TEAM-005 rather than executing. **Delivered slice semantics:** Native owners create per-client tool servers from an explicitly published connector workflow. A dedicated hash-only secret works only at that server URL. Selected typed tools bind fixed parameters and the existing exact-version standing grant. Disabled tools, invalid arguments and grant excess are hard refusals; an explicitly selected stopping approval leaf pauses an otherwise permitted action. Tool aliases share the underlying step's client rate limit. Accepted calls link to normal erasable run payloads, outputs and provider IDs; refused calls retain terminal run inputs and refusal outcomes under the same retention and erasure controls; their client history and audit retain value-free reasons and tool identity. Client bindings and secrets remain installation-local and never travel in an archive. Calendar creation uses the managed Google account, an exact calendar ID, stable operation identity and independent exact readback; it never blindly repeats an unconfirmed insert. Provider update emails are not requested. Actual Calendar consent and provider readback remain pending; this slice does not establish completion. Before shipping any added workflow request operation, this clause inherits EXEC-002’s provider/account admission, bounded retries and parked budgets, exact continuation/readback and uncertain-write safety, with a named public-door acceptance journey. Before shipping added capabilities, this clause inherits BASE-001: prove owned operation and inactive, credential-free restoration, preserve input/file safety, and disclose each outgoing recipient, purpose, field category, required credential, region and retention (provider-controlled terms labelled unverified). **Acceptance evidence:** Create an MCP server with Slack “send channel message” and Google Calendar “create event” enabled; from an MCP client (Claude Desktop or the MCP Inspector) create a calendar event and post to a Slack channel, verifying both by provider readback and as audited calls in run history; call a HubSpot action that is not enabled and a Slack post to a channel outside the grant, verifying both are refused, audited and produce no provider effect; revoke the client and verify its next call fails.

Current evidence: `tests/platform.test.mjs` (Per-client MCP connector tools enforce exact grants, approvals, history, restart and revocation: client issuance, selected typed tools, fixed parameters, audited no-effect refusals, approval, idempotent restart and next-call revocation); `tests/connections.test.mjs` (Managed Calendar creation reads back the exact event and reconciles response loss without repeating writes: managed account, exact readback, bounded retry, parked restart and uncertain-write refusal); `tests/mcp-client-browser.mjs` (1440 and 390: owner creation, selected tools, approval, call history, revocation and shell tooltips); `tests/mcp-slack-live.mjs` (MCP Inspector and independent held Slack provider readback); `evidence/sx-crank-c-i881/mcp-slack-live.log` (actual held-key result and source provenance); `tests/ownership.test.mjs` (owned installation and outgoing data disclosure); `docs/API.md`

Remaining gap: Live Google Calendar OAuth consent, exact calendar authorization and independent real-provider event readback remain pending the owner console step. Calendar network-edge assertions establish implementation behaviour only. Full combined MCP Inspector acceptance cannot be DONE without the Google receipt.

## BASE-001 — Owned operation and explicit Base replacements

Status: done.

Crank remains a standalone owned product with native sign-in, local data and editable source; core operation needs no author telemetry, license check or kill switch. The RER command contract remains in force. DATA-001 explicitly excludes installation authority and credentials from archives instead of claiming full BASE-DATA-001 equivalence. Structured JSON/graph inputs and literal text replace arbitrary owner HTML under BASE-INPUT-002; future attachments must satisfy explicit type/size/access/erasure rules rather than inheriting a no-upload exception. Authorized provider/LLM/executor data flows disclose recipient, purpose, fields, region, retention and required credentials; no blanket zero-egress or completed compliance claim is made. When provider region or retention is not established, the disclosure states “provider-controlled; not verified by Crank; consult your provider agreement”, without inventing terms or requiring an attestation before activation. This obligation applies to every capability and public door shipped today: native sign-in and linked identity, approved HTTP delivery, published and test workflows, connections and OAuth, polling and historical previews, file transfer, notices and logs, local development AI, data retention/erasure and inactive archives. Any future clause or capability, including additions under `WORK-001`, `WORK-002`, `WORK-005`, `WORK-006`, `WORK-007`, `WORK-009`, `WORK-010`, `WORK-011`, `WORK-012`, `WORK-013`, `WORK-014`, `CONN-001`, `CONN-002`, `CONN-003`, `CONN-004`, `CONN-005`, `CONN-006`, `CONN-007`, `CONN-008`, `CONN-009`, `CONN-010`, `CONN-011`, `CONN-012`, `CONN-013`, `CONN-014`, `CONN-015`, `CONN-016`, `CONN-017`, `CONN-018`, `CONN-019`, `HTTP-002`, `TRIG-003`, `TRIG-004`, `TRIG-006`, `TRIG-007`, `TRIG-008`, `EXEC-003`, `EXEC-006`, `EXEC-007`, `TEAM-001`, `TEAM-002`, `TEAM-005`, `SEC-002`, `MIG-001`, `MIG-002`, `MIG-003`, `MIG-004`, `MIG-005`, `MIG-006`, `AI-001`, `AI-002`, `AI-003`, `AGENT-001`, `AGENT-002`, `AGENT-003`, `AGENT-004`, `UX-001`, `PLATFORM-001`, `PLATFORM-002`, `BASE-003`, `BASE-005`, `BOUND-001` inherits owned operation, structured/literal input and file safety, authority-free archives and recipient/purpose/fields/region/retention/credential disclosure before it ships; no future capability is counted as already passing. **Acceptance evidence:** With optional providers disconnected, run native sign-in, local HTTP automation, history and export without author traffic; inspect every enabled external destination/data category, then restore elsewhere with fresh authority and verify a removed provider cannot receive data.

Current evidence: `src/crank/data-flows.ts`; `src/crank/data-flow-types.ts`; `src/crank/data-flow-graphs.ts`; `src/crank/ui/data-flows.ts`; `src/crank/restore-policy.mjs`; `src/crank/archive-policy.mjs`; `src/crank/delivery.ts`; `docs/DATA-FLOWS.md`; `tests/owned-operation.mjs`; `tests/ownership.test.mjs`

Remaining gap: With the optional provider revoked, native email-link sign-in, local HTTP delivery, literal history and export run with zero non-local requests; the owner-only Data inventory lists every configured recipient, purpose, field category, credential kind, region and retention (unestablished provider terms labelled provider-controlled and unverified) without values; the archive carries no installation authority or credential and restores inactive under fresh owner authority, where the removed provider stays revoked and cannot receive data. Future capabilities inherit before shipping.

## BASE-002 — Runnable site and unchanged installed home

Status: done.

The static run site leads from Run Crank to runnable commands and publishes repository owner guides at /docs. The installed home stays the shared Lobby. Target clauses describe future product behavior; current guides/API documentation remain implementation-specific until their corresponding capabilities ship. **Acceptance evidence:** Build the static site and follow homepage → /run and /docs without JavaScript; traverse local guide links and anchors through HTTP, and verify the installed homepage through its emitted Worker.

Current evidence: `src/site/pages.tsx`; `src/site/docs/build/site.ts`; `tests/site.test.mjs`; `tests/runtime.mjs`

Remaining gap: None.

## BASE-003 — Observable operation and recovery

Status: done.

Configuration errors identify the binding name without its secret. Health reflects required storage/executor dependencies; unavailable state is labeled unavailable, never success. Jobs, connector subscriptions, maintenance, archive transfer and agent tasks have durable terminal outcomes and crash reconciliation. The owner can inspect capacity, backups, queue lag and provider outages; scale and availability claims require measurements, not plan limits. Current conformance covers every execution class shipped today: approval-flow delivery; published/test workflow execution, waits, queues and request retries; webhook/Slack event, feed/URL-poll and schedule admission; Cron maintenance and log delivery; and archive export/restore. Completion is established for these capabilities only. Before adding execution classes, `WORK-005`, `WORK-006`, `WORK-007`, `WORK-009`, `WORK-010`, `CONN-003` through `CONN-019`, `TRIG-003`, `TRIG-006`, `TRIG-008`, `EXEC-003`, `EXEC-006`, `EXEC-007`, `AI-001`, `AI-002`, `AI-003`, `AGENT-001`, `AGENT-002`, `AGENT-003`, `AGENT-004`, `PLATFORM-001`, `PLATFORM-002` and `BASE-005` inherit dependency health, durable outcomes and crash-reconciliation proof through their public doors. Every later capability, provider, record kind or door has the same obligation; this also applies to additions under `WORK-001`, `WORK-002`, `WORK-011`, `WORK-012`, `WORK-013`, `WORK-014`, `CONN-001`, `CONN-002`, `HTTP-002`, `TEAM-001`, `TEAM-002`, `TEAM-005`, `SEC-002`, `MIG-001`, `MIG-002`, `MIG-003`, `MIG-004`, `MIG-005`, `MIG-006`, `UX-001` and `BOUND-001`. The public health probe names absent required bindings (`DB`, `AUTH_ORIGIN`, `OWNER_EMAIL`, `SESSION_SECRET`) and checks native-auth and executor storage with a two-second deadline; it returns 503/unavailable without exception text or configuration values. It does not probe optional providers. Operations shows observed database allocation, workflow concurrency and queue lag, poll/sink errors, archive generation and retained transfer phases. Provider capacity and external backup receipt stay explicitly unmeasured/unverified; an active credential is not provider-availability evidence. A successful Cron pass is observed and no pass is unobserved; its timestamp is retained without claiming current executor availability. Cron passes and synchronous archive-generation attempts have value-free, portable audit start/outcome records; an attempt without an outcome after fifteen minutes is reconciled as interrupted on the next Cron/report read, never as completed. Interrupted writes require destination reconciliation; safe reads and committed queues resume. Bounded export requests retain a durable transfer ID, cursor and parts across executor loss; the owner can advance it, repeat a complete download with identical bytes, or explicitly abort it. Archive parts stay in their durable transfer until completion or explicit owner abort; generation never proves off-installation receipt. **Acceptance evidence:** Run the emitted service, remove a required dependency, crash each active execution class and restart; observe bounded health failure, durable interrupted/uncertain outcomes, safe recovery and no silent loss or fabricated completed work.

Current evidence: `src/crank/health.ts`; `src/crank/ops/recovery.ts`; `src/crank/archive-api.ts`; `src/crank/data.ts`; `src/crank/ui/recovery.ts`; `src/crank/ops/scheduler.ts`; `src/crank/triggers/poll.ts`; `migrations/core/0044_recovery_audit.sql`; `migrations/core/0045_poll_recovery.sql`; `tests/runtime.mjs`; `tests/emitted-recovery.mjs`; `tests/emitted-recovery-archive.mjs`; `tests/ops.test.mjs`; `tests/triggers.test.mjs`; `tests/execution-queue.test.mjs`; `tests/request-limits.test.mjs`; `tests/webhook-erasure.test.mjs`; `tests/logic.test.mjs`; `tests/crank.test.mjs` (BASE-003: emitted dependency failure/repair, real process kills, durable outcomes, bounded archive resume and identical downloads, portable inactive restore, maintenance rollback, poll admission, waits, queue/retry/schedule/log recovery and honest capacity/backup/provider observations)

Remaining gap: None.

## BASE-004 — Free, MIT-licensed source with no paid tier

Status: done.

Crank’s complete source, including every connector, the workflow engine, the run site and the migration modules, is published under the MIT License in `LICENSE`, and the package metadata, run site and README state that license. Every capability works on every installation with no plan, seat, task, usage or license-key gate, no paid edition, no author account and no call to the author; the only costs an owner pays are their own infrastructure, provider and model usage (OPS-002). Making any component proprietary or paid-only would be a contract change, not a setting. **Acceptance evidence:** A test reads `LICENSE` and verifies the MIT text, verifies `package.json` declares `"license": "MIT"`, and verifies the built run site states “MIT licensed” with a link to `LICENSE`; a source scan finds no route, step or screen that checks a plan, payment, seat count or license key; after setup, with outbound traffic to the author’s domains blocked, the installation publishes and runs a workflow that uses every shipped step type.

Current evidence: `LICENSE`; `package.json`; `README.md`; `tests/site.test.mjs`; `tests/ownership.test.mjs`

Remaining gap: Every shipped step type finishes through HTTP/Cron with unconfigured outbound hosts blocked, including author domains, across restart/callback/approval. MIT text, metadata, README and built-site license link are checked; product route/step/screen and shared-source scan found no commercial entitlement gates.

## BASE-005 — Run on your own computer, server or Cloudflare account

Status: partial.

One line starts Crank on the owner’s own computer (`npx -y @runeditrun/rer dev just-every/run-crank`, on macOS, Linux or Windows with WSL2), and the same checkout runs in production in either of two owned places: the owner’s own Cloudflare account (`rer deploy`), or a Linux server the owner controls, where a supported command installs the built Worker under workerd as a supervised service that starts on boot, keeps its D1-compatible data, scheduled Cron and queues on that server’s disk, serves the owner’s own HTTPS origin and reports health. On every path the workflows, connections and run history live only in that owner’s storage, and `rer export` and `rer import` move an installation between them under DATA-001. **Acceptance evidence:** On a clean macOS computer run the one-line start and reach the signed-in app; on a clean Linux VM install Crank as a server service, publish a 5-minute schedule workflow, reboot the host and verify the service returns healthy on its own HTTPS origin, the schedule resumes with exactly one run per due occurrence and all data persists; deploy the same checkout to a Cloudflare test account with `rer deploy` and verify its health; export the server installation, import it into an empty Cloudflare deployment and verify its workflows restore paused under DATA-001.

Current evidence: `RUN-LOCALLY.md`; `src/site/run.json`; `deploy.json`; `tests/runtime.mjs`

Remaining gap: No supported own-server production path (a supervised workerd service with on-disk data, Cron and HTTPS); `rer dev` stops after 12 idle hours and is not a production service; live owner-account deploy is not proven by the cited tests.

## BOUND-001 — US-first product and provider responsibilities

Status: done.

The first buyer is a US operations lead at a 5–100 person business replacing Zapier, Make or Workato. USD estimates, cents, US sales-tax fields, ACH/payment references, 1099/W-2 data handoffs and US business calendars/timezones are preserved. Crank orchestrates approved business operations; it does not itself become a bank, card network, payroll/tax filer, phone/911 carrier, clinical system or general logs/APM platform. Payments, sales receipts and credit memos Crank records through CONN-007 are authorized transactions in the buyer’s own QuickBooks Online, Xero or NetSuite books, not a Crank ledger. Buyers use Stripe/ACH banking partners, QuickBooks/Xero/NetSuite, Gusto/ADP, their licensed communications/health providers and the appropriate separate sibling products: [Envelope for payroll](https://github.com/just-every/run-envelope) and [Porthole for observability](https://github.com/just-every/run-porthole). Needed provider app reviews, native clients, payment permissions, health-data agreements and secure executors are engineering deliverables, never exclusions from automation scope. **CT policy ruling — 25 October 2026: ADOPTED with riders.** For Gusto, the native owner records a reference to the provider agreement the owner attests is already completed, and records explicit consent as a separate fact for each connection, provider company and named operation. These facts may be recorded together through the existing native-owner setup and consent control. Consent is bound to the reviewed immutable connector and operation definition, the connection's credential-authority generation and the consenting owner's identity and version. A company display name, generic connection consent timestamp, agent proposal, agreement reference or successful request cannot substitute for that binding. The agreement reference is owner-attested information. Recording it does not execute an agreement, establish its actual completion or legal sufficiency, supply legal sign-off, complete provider onboarding, or authorize a bank account. This product-policy ruling grants no agreement-signing, money-movement or payroll-dispatch authority. Required provider agreements, scopes, permissions, onboarding and bank authorization remain applicable external prerequisites. At each physical dispatch, including a retry or continuation after waiting or token renewal, recheck the current provider scopes, company, connection and operation binding, applicable publish or grant authority, consent and native-owner identity and version. Refuse a missing, mismatched, revoked or stale prerequisite with a named setup requirement and retain the unfinished obligation. A cached review or earlier admission cannot authorize a later request. Existing TEAM-004 frozen continuations retain only their contracted version authority and cannot retain revoked consent. Credential replacement, rotation or rebinding invalidates the affected regulated-operation consent, as do owner identity and version changes, consent withdrawal and inactive restore. For this rule, credential rotation means replacement or rebinding of the consented credential authority. CONN-002's automatic access-token and refresh-token renewal may remain unattended when the same connection, company, effective scopes and consent authority continue unchanged. Renewal cannot create consent or widen it; uncertain continuity or a newly requested scope requires the existing reconnect and consent path. A revoked or restored consent cannot silently regain authority through regrant or reconnection. The worker-data handoff slice neither files tax forms nor sends onboarding invitations. A worker-data transfer proves only its recorded provider effect. ACH still requires provider onboarding and bank authorization, and its authorized sandbox completion remains required. These slice boundaries do not remove the complete contracted ACH and payment-reference, 1099 and W-2 data-handoff, provider-responsibility, connector or sibling-integration targets. Valid setup consent is reusable for its unchanged bound operation under current authority. TEAM-004 publication remains the production authorization for a fixed workflow; TEAM-002 and TEAM-005 limits and WORK-008 and WORK-014 test controls continue to apply where already required. This ruling adds no permanent per-run confirmation or separate publish ceremony. Changes to reviewed connector and operation definitions retain their existing exact-version review and sandbox obligations. Inherited obligations remain assigned to CONN-001, CONN-002, CONN-007, CONN-008, CONN-010, CONN-011 and CONN-020; TEAM-001 through TEAM-005; WORK-008 and WORK-014; SEC-001 and SEC-003; EXEC-001, EXEC-002, EXEC-004, EXEC-005 and EXEC-006; DATA-001 through DATA-003; BASE-001 and BASE-003; OPS-001 and AGENT-001. This ruling changes no sibling clause status. **Acceptance evidence:** Configure a US business workflow with USD sales-tax lines and an ACH/1099 handoff, inspect provider responsibilities and consent, and attempt a regulated operation without the required agreement/scope; verify a named setup requirement and retained obligation, then complete it through an authorized sandbox/provider connection. **Gusto consent conformance supplement (CT interpretation of the original consent requirement):** Through the native product doors, record the completed-agreement reference and separate explicit consent for one connection, provider company and named operation. Verify that a preparation agent or other unauthorized caller cannot record or widen that consent. Attempt the operation through a second connection, a different company, an unconsented operation and a changed definition and digest; each must be refused without an unauthorized provider effect. Keep agreement-reference recording, explicit consent, provider onboarding and bank authorization separately inspectable. Exercise consent withdrawal, required-scope loss, credential replacement and rotation, owner identity and version change and inactive restore before dispatch and while work is waiting for admission or continuation. Verify stale authority cannot dispatch or commit an authorizing decision, and later reconnection or regrant does not revive the old consent. Verify unchanged same-company and same-scope CONN-002 renewal remains unattended while still checking current consent at dispatch. Apply existing exact-version review, changed-proposal refusal, publish limits and test controls without adding a per-run confirmation requirement. Revoke or interrupt authority around an already-started write and lose a provider response. Preserve the operation identity and completed checkpoints, label an unestablished remote result uncertain, and reconcile under EXEC-006 without blind replay or a claim that revocation undid the effect. Keep missing prerequisites pending with a named next action and retained obligation. Verify the worker-data handoff's actual provider readback and that this slice makes no tax-filing or onboarding-invitation call. Separately complete the original ACH and 1099 sandbox and provider journey with the required agreement, consent, scopes, provider onboarding and bank authorization. Retain the exact connection and company and operation and version provenance, provider identifiers and observed outcome. A queued or accepted request, worker record, local fake-edge test or agreement reference alone cannot establish ACH completion, tax filing, invitation delivery or payroll completion. Continue to satisfy the inherited audit, disclosure, sensitive-data, erasure, recovery and inactive-restore obligations. **Current implementation evidence:** `tests/connections.test.mjs` (Regulated Gusto handoffs retain obligations until exact provider agreement and scope consent) runs these public-door assertions: `tests/gusto-handoff-journey.mjs` (gustoHandoffJourney: separate inspectable responsibilities, explicit operation consent, named missing prerequisites, retained pause across restart, exact USD tax lines and ACH references, 1099 and W-2 readback, filing and invitation refusal, inactive restore); `tests/gusto-authority-journey.mjs` (gustoAuthorityJourney and gustoOwnerVersionFence: reference-only and unconsented-operation refusal, second connection and company refusal, actual installed definition upgrade invalidation, stale submitted review, withdrawal, scope loss, same-scope replacement and revocation during admission and waiting, stale streamed consent commit, generation-only invalidation through unchanged public purpose, a real SQLite authority change after snapshot at guarded transaction admission with no authorizing insert, started-write uncertainty and native-owner version); `tests/gusto-retry-journey.mjs` (gustoRetryJourney: actual in-request provider 429 Retry-After wait, positive retry control and withdrawal, scope loss, same-scope replacement and revocation before the next physical request); `tests/gusto-renewal-journey.mjs` (gustoRenewalJourney: unattended same-company effective-scope renewal preserves consent and authority generation, while absent consent or narrowed or widened scopes prevent dispatch without creating consent); `tests/gusto-reconciliation-journey.mjs` (gustoReconciliationJourney: zero, multiple and exact worker matches, restart, revoked or stale decision refusal, one original write, retained earlier checkpoint and one continuation, sensitive financial sealing, disclosure and subject erasure); `tests/gusto-payment-reconciliation.mjs` (gustoPaymentReconciliationJourney: uncertain ACH write, nested paginated provider readback, exact decimal and company matching, current consent, original operation identity and receipt, no repeated payment). `tests/ownership.test.mjs` (BASE-001/BASE-004: an owned installation publishes and finishes every shipped step type while author traffic is blocked) includes every native financial class through `tests/financial-ownership.mjs`. `tests/logic.test.mjs` (WORK-012 and WORK-002: no-code transforms, exact USD math, business days and line items write exact payloads or nothing) preserves estimates, cents, tax fields and US calendars. `tests/financial-browser.mjs`, included in Verify's existing owner-journey job, proves responsibilities, consent, retained Gusto pause, uncertain readback decision and successful continuation at 1440 and 390. Managed Gusto renewal uses the shared credential engine with company-bound Demo tokens; a hosted human OAuth redirect journey and live renewal remain CONN-002 obligations. **Live Demo outcome, 25 October 2026 (local run, not a hosted CI run):** `tests/gusto-sandbox.mjs`, with `tests/gusto-sandbox-fixture.mjs`, ran through the authorized local injector from clean implementation 4e1b18ab0ced91d3263da50fceeadd83d9f82ce9, with explicit ACH check date 2026-10-30. Its actual stdout is retained at `./evidence/sx-crank-c-i810/gusto-sandbox-4e1b18a.txt` in this repository. Native 1099 contractor 55577187-6133-4317-9d2c-80ebac611f36 was created in company 50dc5c9e-3902-4a95-a704-b14356435881, then its real successful provider acknowledgement was replaced with a lost-response failure at the network edge. After restart, native company-list readback found that exact UUID; the owner continued the original operation once, with one physical worker create and a refused repeated decision. Native W-2 handoff independently read back employee 28c0ade5-1eb2-4985-81b6-ec68b8665a01. Separate contractor-only company 4fc91d67-9889-449e-a83c-e456356a91a4 completed actual Demo company and contractor onboarding, synthetic provider terms and signed forms, and provider bank verification. Native ACH payment e202bdd1-de17-474c-a967-a082ccc630ee progressed from Unfunded through the official explicit Demo funding simulation to Funded; native payment_readback confirmed its matching provider receipt and USD 10.00 company debit. The stdout names each native connection, company, workflow, version, run, operation identity, immutable definition, consent audit and owner version, provider identifier, observed setup and funded receipt fields. This proves sandbox processing, not a production transfer, tax filing or settlement guarantee. Only synthetic identities, agreement terms and provider-published bank test values were used; tokens remained in memory and the temporary native encrypted vault was deleted. `tests/financial-browser.mjs` passed from d37805cb7ab6efa817cfd04ce21907bc0bc7b6ae through heavy-slot run 20261025T232312141617Z-heavy-slot-efcfcbb8 at 1440 and 390, with actual stdout and 24 PNGs retained in `./evidence/sx-crank-c-i810/financial-browser-final.log` and `./evidence/sx-crank-c-i810/screens-current/`. Later implementation and conformance commits change only safe invocation provenance and tests; product screens and behavior are identical. The published browser stdout redacts local runner paths; observed results and code provenance are unchanged. **Completion:** CT policy is ADOPTED with its 25 October riders. The live native implementation is pinned at 4e1b18ab0ced91d3263da50fceeadd83d9f82ce9. Expanded registered conformance passed at de8a0fbb6845aad09d119d06b83d9d5ca216ef6d through heavy-slot run 20261026T000150265993Z-heavy-slot-2413fe0a, including actual in-request retry transitions, generation-only invalidation and post-snapshot consent-commit refusal. Later changes extend tests and inspectable artifacts without changing product source. The actual redacted Demo stdout and 24 PNGs are included under `./evidence/sx-crank-c-i810/`; public artifact pin ad7f0bccca1e5b15a4ef22510571a1752cbc9831 provides the same outputs separately. Every original acceptance point is proved by the named existing US-workflow test, native consent and handoff journey, actual authorized Demo ACH receipt and native UI journey. No missing Gusto key, second app, redirect URI or owner console action remains. Other connector, filing, invitation and sibling targets keep their existing clauses and statuses.

Current evidence: `tests/logic.test.mjs` (WORK-012 and WORK-002: no-code transforms, exact USD math, business days and line items write exact payloads or nothing); `tests/connections.test.mjs` (Regulated Gusto handoffs retain obligations until exact provider agreement and scope consent); `tests/gusto-handoff-journey.mjs` (gustoHandoffJourney: USD tax fields, ACH references, 1099 and W-2 worker readback, requirements and restart, company and operation consent, scopes, replacement and inactive restore); `tests/gusto-authority-journey.mjs` (gustoAuthorityJourney and gustoOwnerVersionFence: installed definition upgrade, second connection, company mismatch, stale consent commit, withdrawal, scope loss, replacement and revocation during admission and continuation, uncertain started write, native owner version and regrant); `tests/gusto-retry-journey.mjs` (gustoRetryJourney: actual in-request provider 429 Retry-After wait, positive retry control and withdrawal, scope loss, same-scope replacement and revocation before the next physical request); `tests/gusto-renewal-journey.mjs` (gustoRenewalJourney: unattended unchanged effective-scope renewal and changed-scope refusal); `tests/gusto-reconciliation-journey.mjs` (gustoReconciliationJourney: lost worker acknowledgement, restart, exact readback and once-only continuation, sealed financial disclosure and erasure); `tests/gusto-payment-reconciliation.mjs` (gustoPaymentReconciliationJourney: uncertain payment, paginated readback, current-consent decision and once-only continuation); `tests/gusto-sandbox.mjs` (1099 and W-2 native provider readback; onboarded and bank-verified Demo ACH payment e202bdd1-de17-474c-a967-a082ccc630ee and native Funded receipt); `tests/financial-browser.mjs` (responsibilities, consent and retained-run screens at 1440 and 390)

Remaining gap: None.

## BASE-AGENT-001 — One MCP door per seed

Status: partial.

*Tier:* Agent surface **Requirement.** Every seed, hosted or self-hosted, serves one remote MCP endpoint at `/mcp` over Streamable HTTP. It speaks the current revision (2026-07-28) and accepts 2025-11-25 clients through the twelve-month deprecation window. It implements `server / discover`, tools, resources and prompts. Lists are deterministic and carry `ttlMs` and `cacheScope: "private"`. Roots, Sampling and Logging are not served. **Acceptance.** 1. `server / discover` returns the supported versions, capabilities, `serverInfo` and instructions. 2. A 2026-07-28 request works with no handshake, and a 2025-11-25 client completes `initialize` and lists the same tools. 3. An unsupported version returns `UnsupportedProtocolVersion`. 4. Two `tools / list` calls return the same order, with cache fields. 5. A foreign Origin returns 403, and a header and body method mismatch returns `HeaderMismatch`. 6. An oversized body returns 413 with no effect.

Current evidence: `agent-surface.json`; `tests/agent-door/journey.mjs` native CORE journey; `tests/agent-door/prompts-journey.mjs` bounded draft preparation and redacted run inspection under autonomous and held policies, private discovery and refusal guards; `docs/AGENT-DOOR.md`.

Remaining gap: Publication-bound client connector MCP remains a separate native door; full one-surface adoption is PARTIAL. Resources remain with BASE-AGENT-003. Broader specialist and provider jobs, optional events and subscriptions, full hosted and self-hosted compatibility and complete specialist acceptance remain required. Existing owner, account, ct, enforcing-egress and device holds remain unchanged; this prompt-only slice releases no provider, Business, IdP or queued-clause prerequisite.

## BASE-AGENT-002 — The seed's jobs are tools, through the UI's own actions

Status: partial.

*Tier:* Agent surface **Requirement.** Each Core job a person does in the product is a tool. Where one is not, the Agent surface says why: it runs on a device, it is a person's interactive screen, it belongs to a connector or the import door, or it is an installation fact. Risk is never the reason: a risky job is a tool with its class (BASE-AGENT-006). Tools are named `<seed>.<area>.<verb>` and declare input and output schemas and truthful annotations. Each calls the same server action as the UI, so validation and authorization are written once, and the seed's embedded agents use the same registry. A business refusal returns `isError` with the seed's stable error code. **Acceptance.** 1. The Core clause ids in each tool's `_meta`, with the not-a-tool reasons that `server / discover` serves, cover every Core clause in the contract, and no reason is risk; the harness and `rer check` fail on a gap. 2. Each tool's fixture result validates against its `outputSchema`. 3. Read tools declare `readOnlyHint`; tools that can carry destructive declare `destructiveHint`, and tools that can carry external declare `openWorldHint`. 4. A refusal returns the same error code the UI gets for the same action. 5. The UI action and its tool, on the same fixture, give the same record state and the same audit event type. 6. The seed's embedded agents appear in the audit as calls to the same tools.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `agent-surface.json`; `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`.

Remaining gap: Only inert preparation and redacted metadata tools are declared. Remaining native verbs and provider dispatch from the ct draft are not registered.

## BASE-AGENT-003 — Records are resources

Status: partial.

*Tier:* Agent surface **Requirement.** Each primary record type has a URI template, and tools return `resource_link`s to the records they touch. A read returns exactly the fields the caller's role sees in the UI. File bytes count against any byte budget on the grant. A record the caller cannot open reads as not found, identical to a missing id. Text from customers, imports or files carries an untrusted marker in `_meta`. **Acceptance.** 1. `resources / templates / list` names every record type in the Agent surface. 2. Reads as two roles return exactly what the UI shows each. 3. An out-of-scope id and a missing id give identical responses. 4. A write's `resource_link` reads back the new state. 5. Bytes over budget return `budget_exhausted` and no partial content. 6. Customer-sourced text carries the untrusted marker.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `agent-surface.json`; `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`.

Remaining gap: Undeclared family: resources. Templates, reads and links are refused; primary-record resources are not claimed.

## BASE-AGENT-004 — Business identity and short-lived, audience-bound tokens

Status: partial.

*Tier:* Agent surface **Requirement.** The door is an OAuth 2.1 resource server. Its RFC 9728 metadata names the authorization servers this installation trusts. That is the paired Business when Business provisioned it, verified with the owner-claim trust the installation already holds for its import door; otherwise it is the seed's own sign-in. Access tokens are RFC 9068 JWTs with `aud` set to the seed's canonical MCP URI, `sub` the sponsoring person, `act` the agent (RFC 8693) with its specialist, scopes per tool family, and a lifetime of 15 minutes or less (5 by default). The policy scopes rules on the sponsor, agent and specialist the token names. The consent behind the tokens can last longer and is revocable. Tokens travel only in the Authorization header, and there is no passthrough. **Acceptance.** 1. An unauthenticated call returns 401 with `resource_metadata`, and the metadata names the trusted servers and scopes. 2. A Business token for this seed works, and the same token sent to a sibling seed returns 401. 3. An expired token returns 401, and a token with a lifetime over 15 minutes is refused. 4. A read-only token calling a write tool returns 403 `insufficient_scope` with every needed scope in one challenge. 5. A token in a query string is refused and not logged. 6. Revoking consent in the seed or in Business refuses the next call within 60 seconds. 7. After unpairing, Business tokens are refused and the seed's own sign-in still works.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `agent-surface.json`; `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`.

Remaining gap: CORE subject binding, unknown-subject and changed-email refusal pass. Extra-sponsor and inactive/allow-list native lifecycle coverage remains partial.

## BASE-AGENT-005 — An agent acts as a person in a role, never more

Status: partial.

*Tier:* Agent surface **Requirement.** Every call is authorized as the sponsoring person's current role and access (BASE-ACCESS-004), intersected with the grant's resources, actions and budget. A grant only narrows. No call widens the calling agent's own authority. A call that would widen its own grant or its sponsor's role, or change the company policy or Pause, is refused with `self_escalation`, whatever the policy says; narrowing its own grant is allowed. Other access and security changes are ordinary actions in the access and security classes. An agent never acts after its sponsor is suspended. Anything an agent reads (records, files, emails, imports, other seeds' results) is data and cannot change its scope, its targets or a call's class. **Acceptance.** 1. For each role fixture, every tool's allow or deny through MCP equals the UI's for the same action. 2. A one-folder, read-only grant holds, and widening through arguments is refused. 3. Downgrading the sponsor changes the next call's result, and suspending the sponsor returns 401. 4. Calls that widen the agent's own grant or its sponsor's role, or change the policy or Pause, return `self_escalation` and change nothing, even under a policy with every class autonomous; dropping a scope from its own grant runs. 5. An injection fixture yields no out-of-grant call and no change of class: record text asking for a wider action, or claiming that a recipient is internal.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `agent-surface.json`; `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`.

Remaining gap: Declared tools reuse current native read/preparation authority. Access/security tools and escalation/narrowing journeys are not declared.

## BASE-AGENT-006 — Every action declares its risk class

Status: partial.

*Tier:* Agent surface **Requirement.** Classes come from the fleet list in RISK-POLICY.md: standard, external, money, commitment, accounts, gated, access, security, destructive, sensitive and live. In the registry, each tool declares the classes it can carry and a server-side classifier that decides them per call from the arguments, current records and, for gated, the provider's answer. The classifier also supplies each class's facts: the measure (items, recipients, amount and currency, people or records), the counterparty (internal, known, new or public), the direction for access, the provider and step for gated, and the data kind for sensitive. A classifier never reads a flag, label or claim supplied by the agent or by record text. A seed cannot add a class; it proposes one for the fleet list. **Acceptance.** 1. Every tool in `tools / list` carries its possible classes in `_meta`, equal to the Agent surface table. 2. For each tool, fixture calls cover every class it can carry, and the computed classes and facts equal the fixture's expected values. 3. An argument or record text asserting a class or a confirmation (`internal: true`, `confirmExternal: true`) leaves the computed classes unchanged. 4. Money calls carry amount and currency, external calls their counterparty and recipient count, access calls their direction, and destructive calls their item count. 5. No tool in `tools / list` declares a class outside the fleet list, and `rer check` fails on one. 6. A refused call's audit row still records its computed classes.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `agent-surface.json`; `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`.

Remaining gap: Declared tools compute standard from inert effects. Provider leaf classification and sensitive record-content tools are not implemented at this door.

## BASE-AGENT-007 — The company's policy decides, at one chokepoint

Status: partial.

*Tier:* Agent surface **Requirement.** Every agent door calls one decision function: MCP, the integration API with agent tokens, and the seed's embedded agents. It evaluates the call's classes against the company's policy, as above. The seed ships no dispositions and fills no gap with one: agent access opens only under a complete policy that setup has asked for (RISK-POLICY.md), and before then every agent call returns `policy_unset` with the setup link and changes nothing. *Autonomous* runs the call. *Review* runs it and adds it to the review feed. *Approval* saves a pending action with server-computed facts and returns `input_required`, with a URL-mode elicitation to the seed's approval page and a pending handle. Each person the rule names approves the exact saved revision in a signed-in browser, and changed inputs need a new approval. The retried call returns the result and a receipt. A rejection returns `approval_rejected`, and a lapse past the wait the rule sets returns `approval_expired`. *Blocked* returns `policy_blocked`, naming the class, rule and revision. **Acceptance.** 1. The Base harness runs each tool under each disposition for every class it can carry, and sees it run, run and enter the review feed, wait with no effect, or be refused. 2. Before setup is complete, the setup page lists every class the seed's tools carry with examples and no answer pre-selected, an agent call returns `policy_unset` with the setup link and changes nothing, and an incomplete revision cannot be confirmed; a `*` rule completes it, and a tool an upgrade adds with an unanswered class appears in `tools / list` once that class is answered, while the other tools keep running. 3. Under "money autonomous up to $500, approval up to $10,000, blocked above", calls of $400, $600 and $20,000 run, wait and are refused; a per-day cap sends the call that crosses it to the next rule. 4. A call carrying two classes takes the stricter disposition. 5. An approval shows server-computed facts and an expiry, returns the URL elicitation and a handle, and completes once after the named approver approves; a changed input needs a new approval, and a rejection or lapse leaves no effect. 6. The same call through MCP, the integration API and an embedded agent gets the same decision. 7. A policy change applies to the next call within 60 seconds, and the audit cites the new revision. 8. A policy document with a bad signature or another Business's id is rejected, and the door keeps the last valid revision.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `agent-surface.json`; `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`.

Remaining gap: CORE signed policy receiver is wired. Independent named approvers and provider execution are outside this declared journey.

## BASE-AGENT-008 — Truthful attribution

Status: partial.

*Tier:* Agent surface **Requirement.** Every agent act is recorded and shown as `"<agent> for <person>"`, and mail and messages an agent sends outside name it that way as their sender. An approval, a review mark, a confirmation (a warning dialog, a typed-field confirmation, a delivery confirmation), a decision or a signature attributed to a person comes only from that person's signed-in session. When an agent does the equivalent act, the record names the agent, and the act carries its own class; a binding decision or a signature is commitment. Agent doors ignore arguments that stand for a person's confirmation. No tool solves a bot check, or enters a person's own password or 2FA code at an outside service. A provider step that demands a person goes to a person, whatever the policy says; the gated class marks such steps before they run. **Acceptance.** 1. An agent call carrying a person-confirmation flag is classified and decided exactly as without it. 2. Approving, marking reviewed or answering a policy question with an agent or device token returns 403 and changes nothing. 3. A form-mode elicitation "accept" never completes an approval. 4. Where an agent's decision, signature or field confirmation runs without a person, it reads `"<agent> for <person>"` in the record, the activity view, exports and any certificate, never as the person's own act. 5. After a person approves an agent's prepared action, the record shows the person as approver and the agent as preparer. 6. Activity and exports at 1440 and 390 show `"<agent> for <person>"` for every agent act. 7. Mail an agent sends to an outside address names `"<agent> for <person>"` as its sender.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `agent-surface.json`; `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`.

Remaining gap: Native draft audit carries agent and sponsor attribution. Provider content, independent approval and Undo attribution remain unproved.

## BASE-AGENT-009 — Every agent action is audited with its class and decision

Status: partial.

*Tier:* Agent surface **Requirement.** Extending BASE-OPS-005, each call that reads private data or changes anything records the agent client, name and specialist, and the run or task id (`traceparent` when sent); the sponsoring person, the grant, the tool and the targets; the classes and their facts, and the policy revision and rule; the decision (autonomous, review, approval, blocked, unset or self_escalation) and the outcome (done, refused, pending or failed); the approval or review id and person, and the idempotency key. For a period, the seed's Agents page shows actions by class and decision with the notable ones, the review feed (Mark reviewed, Flag, and Undo where reversible), pending approvals, steps waiting for a person and setup questions. Business shows the same across seeds. **Acceptance.** 1. One write leaves a complete audit row. 2. Refused, pending, unset and self-escalation calls are audited. 3. The Agents page's counts by class and decision equal the audit rows on a fixture week. 4. The review feed lists exactly the calls decided as review; Mark reviewed records the person, and Undo restores a reversible one. 5. Filtering by agent or class lists only those rows, and export includes every field. 6. Removing the agent keeps its rows and its name. 7. The Agents page works at 1440 and 390 with no serious or critical axe findings.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `agent-surface.json`; `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`.

Remaining gap: CORE reads, writes and refusals enter Base audit. Cross-provider/native timeline coverage remains partial.

## BASE-AGENT-010 — Agents can follow changes

Status: partial.

*Tier:* Agent surface **Requirement.** The seed emits a typed event for every record change and for every approval, review and policy decision. Each event carries a stable id, a type, the record URI, the actor (a person, or an agent acting for a person) and a time. Events never carry secrets or more than the subscriber may read. Agents can read events three ways: `subscriptions / listen`, an `events.list` tool with a cursor, and signed webhooks from Base `integrations` using the same ids. Every channel delivers at least once and filters by access at delivery. **Acceptance.** 1. A subscribed record changed in the UI produces a notification within 10 seconds. 2. `events.list` returns the same event id the webhook carries. 3. Replaying from a cursor returns the same ids in order. 4. After access is revoked, no channel delivers events about that record. 5. A failed webhook is visible and replays without duplicate effects. 6. `approval.pending`, `approval.decided`, `review.flagged` and `policy.adopted` carry the class and decision and nothing the subscriber may not read.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `agent-surface.json`; `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`.

Remaining gap: Undeclared families: events and subscriptions. Feed/listen are typed-refused; no event handoff or cursor claim.

## BASE-AGENT-011 — Limits are policy, and Pause stops everything

Status: partial.

*Tier:* Agent surface **Requirement.** Business limits are rules in the company's policy: per-call and per-day thresholds on any class's measure, such as money moved, outside recipients or items destroyed; spend caps on provider cost (models, SMS, email) per seed, specialist or agent, which setup asks with the classes; "no cap" is an answer. Tools with provider cost declare an estimate before they run, and an exhausted cap returns `budget_exhausted` before any partial effect. The seed's capacity limits (request rate, body and byte sizes) protect the installation: they bound rate and size, never daily business volume, are documented and are not policy. A grant carries budgets only when the person granting it sets them. A **Pause agents** control in the seed, and Pause all agents in Business when paired, refuses every agent token within 60 seconds until a person resumes; browser sessions and devices keep working. **Acceptance.** 1. A rate overrun returns 429 with `Retry-After`. 2. A per-day cap of three outside recipients sends the fourth to the rule that applies past the cap. 3. An exhausted spend cap returns `budget_exhausted` with no partial effect and shows the spend. 4. Under the answer "no cap", a spending call runs and its spend shows in usage; a call that spends nothing is unaffected by any cap. 5. The usage view shows calls, decisions by class, money moved and provider spend per agent. 6. Pause and Pause all agents each stop the next call within 60 seconds, and resume restores access. 7. An agent token cannot resume.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `agent-surface.json`; `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`.

Remaining gap: CORE Business/local Pause and consent checks are wired. Spend caps, timed lifecycle and queued provider execution are unscoped and unproved.

## BASE-AGENT-012 — Writes are idempotent and conflict-safe

Status: partial.

*Tier:* Agent surface **Requirement.** Every mutating tool requires an idempotency key and takes an optional expected revision. The same key with the same arguments returns the first outcome for at least 24 hours; the same key with different arguments returns `idempotency_conflict`; a stale revision returns `revision_conflict` with the current revision. Long work returns a job handle and a status tool, with no dependence on the Tasks extension. **Acceptance.** 1. Two calls with one key give one effect and equal results. 2. A retry with a new JSON-RPC id and the same key, after a dropped stream, returns the recorded outcome. 3. The same key with different arguments returns a conflict and no effect. 4. A stale revision returns a conflict naming the current revision. 5. A job handle used by another person's token reads as not found.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `tests/agent-door/recovery-journey.mjs` recoveryJourney: atomic frozen inert create, update and duplicate outcomes despite single or repeated outcome-storage failures, concurrent new RPC IDs after restart and 24 hours, later-edit preservation, current complete preparation grants for recovery and completed replay, deactivated and erased sponsor refusal, current policy refusals, unmatched uncertainty and inactive restore; invoked by `tests/platform.test.mjs` SDK and CORE draft lifecycle and `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`.

Remaining gap: Native draft idempotency and revision fences include receipt-backed autonomous inert-write recovery only. Interrupted review and approval lifecycles, other mutating tools, durable queued and provider uncertainty and replay, long-work handles and status, and cross-person handle indistinguishability remain required. Existing owner and account, ct, enforcing-egress and device holds remain unchanged; DATA-001 adoption fences remain in force.

## BASE-AGENT-013 — Manifest, docs and the conformance journey

Status: partial.

*Tier:* Agent surface **Requirement.** `server / discover` instructions and an on-site `/docs/agents` page are generated from the action registry. The page lists tools by job, with each tool's classes, the test that adds each computed class, its scopes, resource templates, event types, capacity limits and error codes, and the specialist role. `prompts / list` carries the specialist's jobs. Base ships the conformance journey, a harness that `rer verify` runs against `rer dev` and seeds run in CI. It is an MCP client; a signed-in test person takes a person's steps (setup answers, approvals, review marks, resume) through the URLs the door returns, and the same browser leg runs the UI-parity actions and the page checks at 1440 and 390. It runs every acceptance point of BASE-AGENT-001 to 012 and of the seed's SURFACE clauses under two company policies: *all autonomous* (`*`), and *held* (standard review, every other class the seed declares approval, which the test person grants), plus the single-class variants a point names. A point that names no disposition passes under both. **Acceptance.** 1. The docs list exactly the names in `tools / list` and `resources / templates / list`. 2. Each tool's classes, and the test behind each computed one, are documented. 3. The harness fails on any of: a tool without a schema; an effect under approval or blocked, or before setup is complete; a computed class that differs from its fixture; a flag that changes a class or completes a person's step; a role-parity mismatch; a wrong-audience token being accepted; a duplicate effect on retry. 4. Every acceptance point runs under both policies, every decision matches the policy in force, and under all autonomous no call waits for a person or is refused by policy. 5. A stranger agent given only the seed URL completes the specialist journey through MCP.

Current evidence: rer 0.2.91 hosted CORE conformance: 1,021/1,021 points (29 Oct 2026); `agent-surface.json`; `tests/agent-door/journey.mjs`; `docs/AGENT-DOOR.md`; `tests/agent-door/journey.mjs` documentationJourney: HTTP reference, exact MCP names, enriched schemas, scopes, classes and named classification cases; `vite.config.ts` admits the public registry declaration so native development startup and the on-site reference load; `tests/agent-door/documentation-browser.mjs` documentationBrowser: emitted page navigation, literal hostile names, keyboard schemas and 1440 and 390 proof through the existing MCP browser journey.

Remaining gap: 1,021 integrated CORE checks passed, including native attribution, replay, review audit, consent and Pause refusals. Undeclared families: resources, prompts, events, subscriptions. Full specialist jobs and unscoped multiSponsor/mailEdges/resourceRefresh/timedLifecycle/dualHost/queuedLifecycle/ownerNativeApi remain PARTIAL. Stranger-specialist completion, omitted native and provider jobs, full specialist UI parity and existing account, egress and device holds remain required.
