Operazioni sulle segnalazioni

2 operazioni di nome ticket.*. Ognuna si esegue in un batch con apply_ops, dry_run_ops, la CLI o l’admin.

Aggiornato il
OperationWhat it doesPermissionConfirmation
ticket.createReport a problem to the platform owner: a bug, a missing capability, a refusal that looks wrong (category refusal), a docs gap, anything that blocks the person you work for.ticket.reportnone
ticket.listList the tickets you reported on this site, newest first (at most 100), optionally only those with a status: open, triaged (the platform owner has seen it) or closed (with the platform owner's closeNote).ticket.reportnone

ticket.create

Report a problem to the platform owner: a bug, a missing capability, a refusal that looks wrong (category refusal), a docs gap, anything that blocks the person you work for. Write the title as one line and the body in Markdown (what you were doing, for whom, what blocked you); add steps, expected and actual (paste the error code and message) when you have them, the requestId of the failing batch and the pageId it was on. severity blocking means the person cannot go on. The platform owner reads it in the admin and answers by closing it with a note, which ticket.list shows. It is not site content: it writes no document, has no undo and must run alone in a batch, not as a dry run; the MCP tool report_issue does the same in one call. At most 20 tickets an hour per person (429 ticket_rate_limited); a pageId that is not a page of this site is 422 ticket_page_unknown.

permission: ticket.reportreads onlyclass: external

Esempio di input

{
  "title": "tree.commit refuses a hover colour on a button label",
  "body": "Setting the hover colour of a `ds.button` label through `p:label|s::hover` is refused, although the inspector sets it.",
  "category": "refusal",
  "severity": "high",
  "pageId": "6f1d2c3b-4a59-4e8d-9c7b-1a2b3c4d5e6f",
  "actual": "422 tree_invalid I8",
  "requestId": "0b7c6d5e-4f3a-4b2c-8d1e-9f0a1b2c3d4e"
}

Input

FieldTypeRequiredNotes
titlestringyesAt least 1 character. At most 160 characters.
bodystringyesAt least 1 character. At most 20000 characters.
categorystringyesOne of "bug", "missing-capability", "refusal", "docs", "other".
severitystringnoOne of "low", "medium", "high", "blocking". Default "medium".
pageIdstringnoAt least 1 character. At most 36 characters.
stepsstringnoAt least 1 character. At most 5000 characters.
expectedstringnoAt least 1 character. At most 5000 characters.
actualstringnoAt least 1 character. At most 5000 characters.
requestIdstring (uuid)no

Output

FieldTypeRequiredNotes
ticketobjectyes
ticket.idstring (uuid)yes
ticket.statusstringyesOne of "open", "triaged", "closed".
ticket.titlestringyes
ticket.bodystringyes
ticket.categorystringyesOne of "bug", "missing-capability", "refusal", "docs", "other".
ticket.severitystringyesOne of "low", "medium", "high", "blocking".
ticket.stepsstring | nullyes
ticket.expectedstring | nullyes
ticket.actualstring | nullyes
ticket.requestIdstring | nullyes
ticket.pageIdstring | nullyes
ticket.siteobject | nullyes
ticket.programobject | nullyes
ticket.reporterobjectyes
ticket.closeNotestring | nullyes
ticket.createdAtstring (date-time)yes
ticket.updatedAtstring (date-time)yes

I campi più annidati sono nello schema di output che risponde discover_operations con outputSchemas: true.

Un dry run rifiuta un’operazione esterna, quindi non ha una riga di prova: eseguila da sola in un batch.

ticket.list

List the tickets you reported on this site, newest first (at most 100), optionally only those with a status: open, triaged (the platform owner has seen it) or closed (with the platform owner's closeNote).

permission: ticket.reportreads onlyclass: read

Esempio di input

{
  "status": "open"
}

Input

FieldTypeRequiredNotes
statusstringnoOne of "open", "triaged", "closed".

Output

FieldTypeRequiredNotes
ticketsarray of objectyes
tickets[].idstring (uuid)yes
tickets[].statusstringyesOne of "open", "triaged", "closed".
tickets[].titlestringyes
tickets[].bodystringyes
tickets[].categorystringyesOne of "bug", "missing-capability", "refusal", "docs", "other".
tickets[].severitystringyesOne of "low", "medium", "high", "blocking".
tickets[].stepsstring | nullyes
tickets[].expectedstring | nullyes
tickets[].actualstring | nullyes
tickets[].requestIdstring | nullyes
tickets[].pageIdstring | nullyes
tickets[].siteobject | nullyes
tickets[].programobject | nullyes
tickets[].reporterobjectyes
tickets[].closeNotestring | nullyes
tickets[].createdAtstring (date-time)yes
tickets[].updatedAtstring (date-time)yes

I campi più annidati sono nello schema di output che risponde discover_operations con outputSchemas: true.

Provala

yarn splash ticket.list '{"status":"open"}' --dry-run

Generato dal registro delle operazioni e dal catalogo degli strumenti MCP (sorgente e579e5ca36df9f2f).

Qualcosa non va in questa pagina? Scrivi a docs@librettocms.com.

Guida di Libretto

Colophon. Questa guida è un sito Libretto: 70 pagine in due lingue, 21 pagine della guida importate da Markdown e 42 pagine di riferimento generate dal registro delle operazioni. Composta in Softcore, il codice in IBM Plex Mono. La sua struttura:

/it/ Guida di Libretto /it/start Per iniziare /it/start/request-access Richiedere l'accesso /it/start/workspace Il tuo spazio di lavoro /it/start/first-site Il tuo primo sito /it/start/invite-a-client Invitare un cliente /it/start/connect-claude Connettere Claude a Libretto /it/build Costruire /it/build/first-page Costruire una pagina /it/build/layers-and-canvas Livelli e canvas /it/build/site-components Componenti del sito /it/design-system Design system /it/design-system/tokens Colori, spazi e temi /it/design-system/components Componenti e varianti /it/design-system/fonts Tipografia e font /it/motion Movimento /it/motion/scenes Scene e ricette /it/motion/image-sequences Sequenze di immagini /it/motion/reduced-motion Movimento ridotto /it/publish Pubblicazione /it/publish/languages Le lingue del sito /it/publish/versions Pubblicazione e versioni /it/publish/members-and-forms Iscritti e moduli /it/publish/domains Domini /it/publish/redirects Reindirizzamenti /it/handover Consegnare un sito al cliente /it/glossary Glossario /it/agents Agenti e API /it/agents/mcp Server MCP /it/agents/cli CLI /it/agents/batches Batch /it/agents/errors Errori e segnalazioni /it/agents/operations Operazioni /it/search Cerca