Skip to main content
Live. This area is documented as current, user-reliable behavior.

What you can do

Turn a repeatable customer problem into a reviewed procedure with a verifiable outcome.

Before you start

  • A staff session with configuration and conversation-read permissions in the selected environment.
  • Customer AI enabled for the intended inbox when you are ready for automated execution.
  • Installed integrations, verified customer mappings and explicit permission for each action the procedure needs.

Steps

1
Open AI → Procedures and select a template such as payment/access, order status or failed job. Read its required facts, action roles, completion criteria and handover reasons.
2
Choose the inbox and exact installed operations. Write when the procedure applies and what it should do. Resolve missing integrations and customer mappings before continuing.
3
Inspect the grouped workflow steps and each action’s arguments. If you generate instructions with AI, review the proposal before applying it to the draft.
4
Open Versions & tests and simulate successful, rejected, uncertain and handover cases. Mocked simulation does not execute a live business action or send a customer message.
5
Review and publish the exact version. For staged adoption, set the baseline and percentage in Rollout, then follow the normal publication review. Existing cases retain their pinned version.
6
Monitor Procedure outcomes and individual cases. Require read-back evidence for the business result and track customer confirmation separately. Take over a case whenever human help is needed.

Support-to-engineering handoffs

In Integrations, an owner/admin explicitly binds one Support workspace/environment/inbox to a project they can currently administer. The binding expires within 30 days, remains valid across sign-out, and is separately revocable. Revoke an old binding before authorizing its replacement. Support authority never grants platform project access by itself. Take over the case, then open Engineering handoff in its existing AI controls. Select an authorized project, a separately configured preview debug-agent policy, a completed failed preview verification run from the past 24 hours, and a bounded budget. Explicitly attest that reproduction uses isolated, redacted test data. Handoffs expire within 24 hours and within both case retention and project binding expiry. Only one immutable handoff request is accepted per case; retries recover the same objective. A changed request requires a new resolution case. The diagnostic package contains pinned project/application/source/journey identifiers, failure state and case-scoped action receipt categories. A dedicated resource-context read exposes structural reproduction steps and failed assertions, omitting free text, selector values, paths, input values, credentials, fixture contents, raw logs and browser artifacts. If redaction prevents reproduction, the engineer must request consultation. No private notes or customer messages become agent instructions. Repository content and diagnostic output remain untrusted evidence. Expired or revoked handoffs are cancelled automatically. Before the agent reasons or uses a tool, StackShift rechecks your workspace, organization membership, project authority, binding revision and expiry, case ownership and the exact request, project and policy. The agent works only from the original pinned reproduction revision, and pull requests are based on that revision; changed source requires a new reviewed case. Allowed work is preview engineering, scoped repository inspection and safe project status. No merge, deployment, secrets, database administration, delegation or criterion/authority mutation is granted. The agent may create a draft PR. Pin its current head through the handoff overlay: the server checks its bound engineering operation/branch, draft status, current pull request evidence, fresh named functional-test evidence matching the complete PR source, and a successful verification-only build for that head. The objective requires this verified draft PR before completion. Human merge and deployment approvals happen separately in the project. Run the original unchanged journey against the actual deployed merge revision, with parent_run_id equal to the failed preview run. The handoff verifier re-reads the PR and journey, rejects changed heads/definitions/targets and requires current passing production evidence. It records engineering verification and a localized customer update; it does not close the case. Resume the original procedure only when appropriate so its business verifier establishes resolution. Customers see only a safe engineering status on their case. Project identifiers, repository details and internal diagnostic evidence are not exposed to them. API reference: /ai/engineering-bindings GET/POST, /{bindingID}/revoke; /cases/{caseID}/engineering GET/POST, /pull-request, /verify, /cancel. Creation uses the case revision; subsequent handoff mutations use its revision in If-Match. Binding creation uses a stable caller-generated UUID for recovery; handoff creation uses a server-derived durable objective identity. Listing bindings uses the existing cursor pattern and returns only the authorizing operator’s bindings.

Reviewed improvements, shadow tests and rollout

AI keeps Procedures, Procedure outcomes, Improvements and Evaluations directly accessible on desktop, with other views in More. Narrow screens use the AI views selector. Procedure outcomes groups primary metrics, resolution evidence, human oversight and cost coverage; each rate names its denominator, and unavailable values remain explicit. Refresh advances the last-30-day window. Evaluations separates Runs, Datasets and Procedure tests. Add examples opens the reviewed regression import dialog; offline test setup preserves the exact procedure version, dataset, baseline and environment. English, French and Pidgin controls, recovery states and keyboard navigation are included. AI Improvements generates unpublished proposals from authorized retained sources. Inspect and accept the exact candidate; publication stays a separate human action. Private notes and customer identities are not generation sources. Evaluations → Procedure tests saves human-reviewed redacted failure examples from accepted proposals as immutable regressions. Compare versions on the same dataset and baseline, inspecting exact arguments, authorization and verifier receipts. Shadow execution has no live provider, customer message or action transport. Machine assertions and human ratings remain separate. Stage a baseline and percentage in Procedures → Rollout before publishing the candidate through normal review. Stable per-case selection pins ongoing cases. Zero percent returns new cases to baseline. Changed candidate semantics require explicit review and saving the rollout again. Pausing affects new admissions. Procedure outcomes separates verified business results, human escalation ratings, customer confirmation and mature seven-day reopen accounting. AI microcredits use recorded attempts during retained case lifetimes and exclude integration charges; unpriced attempts make cost per verified resolution unavailable. Retention and erasure scrub proposals and regression evidence. Related APIs include ai/improvements, ai/improvement-groups, ai/procedure-regressions, ai/procedures/{workflowID}/rollout, ai/procedure-report and cases/{caseID}/escalation-review. Existing evaluation-runs accepts procedure_version_id, procedure_revision, shadow and same-dataset baseline_id. Current source scope and revision checks apply.

Persistent cases and verified continuation

Cases retain a single owner and the reviewed procedure version. Taking over suspends linked effects. If a wait expires, the case hands over with the available evidence; a newly published version does not silently change an existing case. Staff /cases APIs expose scoped progress, consultation, takeover, resume and cancellation. Control mutations require If-Match. Authenticated widget/native/portal conversation /case APIs return safe status and exact pending operation/arguments; /case/confirmations/{receiptID} accepts only the persisted receipt revision. Financial/security actions retain separate current-session staff approval. Payment repair requires fresh payment_verified and repair_allowed read evidence. Job retry requires current failed status and declared safe retry semantics. Read-back verification is required at completion; a queued retry, successful write response or customer silence is not resolution. Unsolicited customer updates suspend proposals for review. Staff can answer a pending case question through revision-protected consultation-responses without takeover or action approval. External channels receive an authenticated brand/conversation confirmation link only with a safe configured destination and eligible private customer binding; unavailable authentication or failed delivery hands over. Web, portal and four mobile screens expose localized progress and exact confirmations. Case reasoning cannot grant itself action authority or declare completion without the required evidence. Customer erasure removes linked retained summaries.

Registered actions and execution grants

Approved stackshift.support.app/v2 manifests register fixed HTTPS actions, flat typed inputs, safe outputs, server-bound identity and risk. Writes require idempotency, reconciliation and a registered read verifier. Explicit action_operations consent returns a separate action_key_id/action_secret once. Existing v1 installations receive no automatic authority. Developer Applications provides approved version selection and explicit permission/action consent. Installation and upgrade accept a stable Idempotency-Key, recovering encrypted credentials for 24 hours for the same current authorized membership. The browser stores only the consent request and key. Upgrades rotate credentials, revoke grants and disable policies for renewed review. Expired recovery keys cannot create another installation. Integration controls list consented actions and revision-protected policies. Automatic bounded writes require enforced input limits; financial/security actions require independent staff approval. Optional execution grants explicitly authorize selected operations for at most 90 days across staff sign-out. Revocation, changed installation, workspace suspension or lost authorizing membership blocks dispatch; human approvals retain live-session checks. PUT /api/v1/support/machine/customer-links uses the explicit v2 customer-links:write permission and If-Match to verify, replace or revoke a scoped customer mapping. Customer text and action arguments cannot select another identity. Changing a mapping invalidates pending frozen actions; machine APIs remain session-bound. POST installation /registered-actions freezes arguments and authority under Idempotency-Key. Signed receipts use the shared exact-byte HMAC contract in the TypeScript, Python and Go SDKs. Interrupted or unverified writes require explicit reconciliation. Reconciliation keeps the original customer/version binding and has a separate recovery bound, not business-action quota.

Write, inspect and simulate

In AI → Procedures, select a template, inbox and exact installed operations, then write applicability and instructions. Inspect the initial graph and operation arguments in the existing grouped canvas. Missing integrations remain explicit; identity is server-bound, never collected from customer text. Instructions generates an unpublished proposal through the configured copilot and token budget. Inspect its steps before Apply to draft. The original workflow revision prevents concurrent canvas changes from being overwritten. Published edits create a separate draft without changing active admission or metadata. Versions & tests reuses workflow review, publication, pause and activation of a previous published version. Existing runs stay pinned. Related APIs include /ai/procedures, version /revisions and /rollback; updates require If-Match. Simulation accepts mocked customer turns, reasoning, action results, approvals and waits. Exact expected_actions and expected_state assert dispatch arguments, authorization and verified outcomes. The interpreter has no provider or message transport. Uncertain effects hand over; later effects require fresh readback. Simulations grant no live authority. Ordinary event dispatch excludes procedure profiles. The customer AI selects eligible published procedures through bounded intent selection; a persistent case retains single ownership and pins the reviewed version. Existing customer-agent and connector opt-ins are required.

Pause or return to a previous version

Pause the procedure to stop new admissions. Review active cases separately; pausing does not reverse an external action already performed. Use Versions & tests to activate a previously published version. Ongoing cases stay on their pinned version. Review current integrations and permissions before allowing new cases. If a provider action is uncertain, reconcile the original receipt before another attempt. Cancellation cannot undo a completed payment, refund or external write.

Customer confirmation and staff review

When customer confirmation is required, show the exact proposed operation and arguments. The customer confirms the persisted request, not a newly generated action. Financial and security actions still require current staff approval even after customer confirmation. Staff can answer a pending consultation without taking over the entire case. For external messaging channels, confirmations require an authenticated destination tied to the customer and conversation. If that destination is unavailable, hand over to staff instead of collecting sensitive confirmation in free text.

What happens next

A reviewed version handles eligible cases within its authorized operations and hands over when evidence or permission is insufficient.

If something goes wrong

  • A successful payment or accepted repair does not establish restored access. Require current entitlement readback. A queued job retry is not job completion. Do not infer delivery from an order payment state.
  • Receipt-derived evidence must match workspace, environment, inbox, customer, conversation, case and action version. Expired, future and conflicting observations cannot establish completion; newer evidence supersedes stale success.
  • A completed business action and customer-confirmed resolution are separate outcomes. Review both in the case before reporting success.