[{"data":1,"prerenderedAt":38},["ShallowReactive",2],{"$f3bsba584j4jk9":3},{"href":4,"title":5,"description":6,"kind":7,"mark":7,"planned":8,"contributors":9,"provenance":7,"express":8,"bridge":8,"html":10,"headings":11},"\u002Fdocs\u002Fcontrol\u002Freceiving-submissions","Receiving submissions","For an OS you run yourself: choose the enterprise that receives feedback and problem reports, start its tasks for each one, and read, answer and route them.",null,false,[],"\u003Ch2 id=\"the-operator-enterprise\">The operator enterprise\u003C\u002Fh2>\n\u003Cp>Every feedback and problem report a person sends, from any enterprise on a deployment, goes to one enterprise: the\noperator enterprise. On Zero Human's own service that is Zero Human. On an OS you run yourself, you choose it.\u003C\u002Fp>\n\u003Cp>Only the operator enterprise:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>has tasks started for each submission, by a submission trigger;\u003C\u002Fli>\n\u003Cli>reads every submission, on the Submissions page and with the operator tools;\u003C\u002Fli>\n\u003Cli>replies to submissions, and routes problem reports to whoever fixes them.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>What a submission carries, and what travels only when the sender agrees, is on\n\u003Ca href=\"\u002Fdocs\u002Fcontrol\u002Frate-and-report\">Rate Zero Human and report a problem\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"choose-the-operator-enterprise\">Choose the operator enterprise\u003C\u002Fh2>\n\u003Cp>The operator enterprise is chosen by configuration, not in the portal: a deployment setting, the submissions\nenterprise, set to the enterprise's slug.\u003C\u002Fp>\n\u003Col>\n\u003Cli>Choose the enterprise that should receive submissions, and read its slug: the short name its mail host is made of\n(\u003Ca href=\"\u002Fdocs\u002Fcompany\u002Fenterprise\">Enterprise\u003C\u002Fa>).\u003C\u002Fli>\n\u003Cli>Set the deployment's submissions enterprise setting to that slug, where you configure the deployment, and restart\nit so the setting is read.\u003C\u002Fli>\n\u003Cli>Sign in as a person of that enterprise. The sidebar now has \u003Cstrong>Submissions\u003C\u002Fstrong>.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>When no operator is configured, or the setting names no enterprise, every submission is still stored and nothing is\ndispatched: no task starts, and the operator tools refuse every caller. People can send feedback and problem reports\nall the same, and see them in their own list. What they send meanwhile waits, undelivered: once a trigger is switched\non in the operator enterprise, it starts once for each of them, oldest first.\u003C\u002Fp>\n\u003Ch2 id=\"start-a-task-for-each-submission\">Start a task for each submission\u003C\u002Fh2>\n\u003Cp>A submission trigger starts a task of the operator enterprise for each feedback, each problem report, or both. Set it\nfrom chat, the API or MCP with \u003Ccode>os.set_task_submission_trigger\u003C\u002Fcode>:\u003C\u002Fp>\n\u003Cdiv class=\"prose__table\">\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Argument\u003C\u002Fth>\n\u003Cth>What it is\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Ccode>id\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>The task.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>kinds\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>The kinds it covers: \u003Ccode>feedback\u003C\u002Fcode>, \u003Ccode>bug_report\u003C\u002Fcode> (a problem report), or both.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>enabled\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Whether it fires. On unless you say otherwise.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>input\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Values for the task's inputs, given to every run it starts. One that leaves a required input unset is refused.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003C\u002Fdiv>\n\u003Cp>Over the API it is \u003Ccode>PUT \u002Fv1\u002Ftasks\u002F{id}\u002Fsubmission-trigger\u003C\u002Fcode>, which needs \u003Ccode>tasks:write\u003C\u002Fcode>. Read the trigger back with\n\u003Ccode>os.read_task_definition\u003C\u002Fcode>, and take it off with \u003Ccode>os.remove_task_submission_trigger\u003C\u002Fcode>, which cancels no run already\nstarted. Neither changes the task's schedule.\u003C\u002Fp>\n\u003Cp>Once it is on, each submission a person sends starts one run of every active task of the operator enterprise whose\ntrigger is on and covers its kind. The run's input is the trigger's own, with the submission added under \u003Ccode>submission\u003C\u002Fcode>:\nthe fields it always carries, and the run details too when the sender ticked the box to share them.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>A busy task or member does not lose it: the run waits its turn, pending.\u003C\u002Fli>\n\u003Cli>A paused task, or one on a switched-off team, is not started. When no task could start, the submission stays\nundelivered until a trigger can take it.\u003C\u002Fli>\n\u003Cli>Switching a trigger on also starts it once for each submission no trigger has taken yet, oldest first.\u003C\u002Fli>\n\u003Cli>A built-in task cannot have a trigger, and a trigger on a task of any other enterprise never fires.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>To set one up:\u003C\u002Fp>\n\u003Col>\n\u003Cli>In the operator enterprise, write the task that handles a submission, or pick one. It reads the submission from\nits input, and declares the operator tools it calls, as any task declares its tools\n(\u003Ca href=\"\u002Fdocs\u002Fwork\u002Ftasks\">Tasks\u003C\u002Fa>).\u003C\u002Fli>\n\u003Cli>Add the trigger: in chat, ask for the task's submission trigger to cover feedback, problem reports or both; or call\n\u003Ccode>os.set_task_submission_trigger\u003C\u002Fcode> yourself.\u003C\u002Fli>\n\u003Cli>Send a feedback from the widget in any enterprise, with a trigger that covers feedback. A run of the task starts,\nand the Submissions page shows the submission without the Undelivered mark.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch2 id=\"the-operator-tools\">The operator tools\u003C\u002Fh2>\n\u003Cp>The operator enterprise reads, answers and routes submissions with five tools. Any other enterprise is refused\n(\u003Ccode>submissions_operator_only\u003C\u002Fcode>), the same way whatever the reason, and so is everyone when no operator is configured.\u003C\u002Fp>\n\u003Cdiv class=\"prose__table\">\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Tool\u003C\u002Fth>\n\u003Cth>What it does\u003C\u002Fth>\n\u003Cth>Who may call it\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Ccode>os.list_submissions\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Every enterprise's submissions, newest first, 50 to a page and up to 100. Filter by kind, status, face, sending enterprise and time.\u003C\u002Ftd>\n\u003Ctd>People, runs, API and MCP\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>os.read_submission\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>One submission in full: what was sent, its context, its delivery, its route decision and its replies.\u003C\u002Ftd>\n\u003Ctd>People, runs, API and MCP\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>os.submission_summary\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>The Product NPS: happy, neutral and sad voters over a window, and the change from the window before.\u003C\u002Ftd>\n\u003Ctd>People, runs, API and MCP\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>os.reply_to_submission\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Reply to a submission, and optionally move its status on. The sender is emailed.\u003C\u002Ftd>\n\u003Ctd>People, runs, API and MCP\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>os.route_submission\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Record where a problem report goes: a task, code or a question.\u003C\u002Ftd>\n\u003Ctd>The operator enterprise's runs\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003C\u002Fdiv>\n\u003Cp>The operator enterprise's people need nothing more. An API token or connected app of the operator enterprise needs\n\u003Ccode>submissions:review\u003C\u002Fcode>, which \u003Ccode>submissions:read\u003C\u002Fcode> and \u003Ccode>submissions:write\u003C\u002Fcode> do not give. Every argument and refusal is in\nthe \u003Ca href=\"\u002Fdocs\u002Ftools\u002Fbuilt-in\u002Fos\">OS tools reference\u003C\u002Fa> and the \u003Ca href=\"\u002Fdocs\u002Fmcp\u002Ftools\">MCP tool reference\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>A row names the enterprise it came from, by name, and the person by an id: never their name or email address.\u003C\u002Fp>\n\u003Ch3 id=\"replying\">Replying\u003C\u002Fh3>\n\u003Cp>\u003Ccode>os.reply_to_submission\u003C\u002Fcode> adds a message to the submission's thread and may move its status: Received, Triaged, In\nprogress, Resolved or Declined, from any one to any other. A status change needs a reply with it: a status alone is not\na reply. Each reply emails the sender once, through the product's own mail, and marks the submission unread in their\nlist until they open it. Calling it again replies, and emails them, again.\u003C\u002Fp>\n\u003Ch3 id=\"routing-a-problem-report\">Routing a problem report\u003C\u002Fh3>\n\u003Cp>\u003Ccode>os.route_submission\u003C\u002Fcode> records triage's route, with a note saying why, and moves the submission to In progress. A\nsubmission is routed once.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>task\u003C\u002Fstrong>: a bug in a task. The OS finds who owns the version that ran and starts a self-improvement pass there, as\nthat enterprise and paid by it: the task's publisher, when the version is an unedited clone of a public template;\notherwise the sender's own enterprise, whose recommendation goes to the lead of its operations team, or to its CEO\nwhen it has none. A report on a built-in task is refused (route it as code), and so is one that names no run (route\nit as question). So is a task route when the owning enterprise has no active self-improvement task: route it again\nonce it has one, or as question or code.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>code\u003C\u002Fstrong>: a bug in the OS. It records the link to the issue the fix is tracked in, and starts nothing.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>question\u003C\u002Fstrong>: anything else. It records the note, and starts nothing.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The sender hears from the OS when a task route ends: the fix is live in their task, no change is needed, or the owner\ndeclined. A code or question route gets no automatic notice, so reply when there is news.\u003C\u002Fp>\n\u003Ch2 id=\"the-submissions-page\">The Submissions page\u003C\u002Fh2>\n\u003Cp>In the portal, a person of the operator enterprise has \u003Cstrong>Submissions\u003C\u002Fstrong> in the sidebar. Nobody else sees it, and the\nAPI refuses anybody else who opens its address.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>At the top, the Product NPS for the last 30 days, as \u003Ccode>os.submission_summary\u003C\u002Fcode> gives it.\u003C\u002Fli>\n\u003Cli>Below, every submission from every enterprise, newest first, with \u003Cstrong>Load more\u003C\u002Fstrong>. Narrow it by kind, status, face or\nsending enterprise; the choice is kept in the address, so a link keeps it.\u003C\u002Fli>\n\u003Cli>A submission no trigger has taken is marked \u003Cstrong>Undelivered\u003C\u002Fstrong>.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Open one to see what was sent, its context (enterprise, person id, page, version, build, browser, and the run,\nexecution, task and last error it names), whether run details were shared, its route decision, its thread, and the\n\u003Cstrong>Reply\u003C\u002Fstrong> box. The Reply box can move the status, but only with a reply.\u003C\u002Fp>\n\u003Ch2 id=\"product-satisfaction-nps\">Product satisfaction (NPS)\u003C\u002Fh2>\n\u003Cp>The Product NPS is one score for how people feel about the product, from the faces on their feedback.\u003C\u002Fp>\n\u003Cp>The score is \u003Ccode>%happy − %sad\u003C\u002Fcode>, over a rolling 30 days ending now:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Each person counts once, by their latest vote in the window, whichever enterprise they sent it from. A person who\nvoted sad last week and happy today counts as happy.\u003C\u002Fli>\n\u003Cli>Votes older than 30 days are left out.\u003C\u002Fli>\n\u003Cli>Only feedback counts: a problem report has no face.\u003C\u002Fli>\n\u003Cli>The score runs from -100 to 100, to one decimal place, and is empty when nobody voted.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The summary also gives the same figures for the window just before, and the change in score. Over the API, MCP or a\nrun, \u003Ccode>days\u003C\u002Fcode> chooses another window, from 1 to 365 days; the Submissions page always shows 30.\u003C\u002Fp>\n\u003Cp>A worked example: 6 happy, 2 neutral and 2 sad people in the last 30 days are 10 voters, 60% happy and 20% sad: a\nscore of 40. If one of the two sad people votes again today, happy this time, only that latest vote counts: 7 happy and\n1 sad of the same 10 voters, a score of 60.\u003C\u002Fp>\n",[12,16,19,22,25,29,32,35],{"id":13,"text":14,"level":15,"planned":8},"the-operator-enterprise","The operator enterprise",2,{"id":17,"text":18,"level":15,"planned":8},"choose-the-operator-enterprise","Choose the operator enterprise",{"id":20,"text":21,"level":15,"planned":8},"start-a-task-for-each-submission","Start a task for each submission",{"id":23,"text":24,"level":15,"planned":8},"the-operator-tools","The operator tools",{"id":26,"text":27,"level":28,"planned":8},"replying","Replying",3,{"id":30,"text":31,"level":28,"planned":8},"routing-a-problem-report","Routing a problem report",{"id":33,"text":34,"level":15,"planned":8},"the-submissions-page","The Submissions page",{"id":36,"text":37,"level":15,"planned":8},"product-satisfaction-nps","Product satisfaction (NPS)",1796406585606]