Effects and retries
Pixling is preparing for Mac App Store release. Join the waitlist on pixling.app to hear when it launches.
Use Effects to decide which calls an agent may run without asking. Use Retries when a response is lost and you need to know whether resending is safe.
Effects
Section titled “Effects”| Kind | Desk effect | Survives restart | Can discard data | Examples |
|---|---|---|---|---|
| Read | Inspects state without changing the desk | No | No | residents.list, resident.describe, inbox.watch |
| Transient | Plays expression, run state, or prepares drafts | No (see exceptions) | No | message.send, resident.status, resident.emote |
| Persistent | Adds or updates desk state | Yes | No | resident.ensure, resident.place, resident.set |
| Persistent, destructive | Replaces, removes, or quits | Yes | Yes | resident.stow, settings.set, app.quit |
Full operation breakdown by effect
Read
- Discovery and inspection:
capabilities.get,residents.list,zukan.list,resident.describe,resident.sketch,resident.pixels - Conversation and inbox:
conversation.read,inbox.watch,inbox.read(records read state),question.result(records answer handover) - Sequences, notes, settings, and graph:
sequence.get,sequence.list,note.get,settings.get,group.list,group.members,relation.list,relation.links
Transient
- Messages and questions:
message.send,question.ask,question.cancel, andresident.requestClose(until the user answers yes, which stows) - Signals and states:
resident.emote,resident.glow,resident.bounce,resident.status(plusstatusonmessage.sendandquestion.ask),relation.fire - Sequences and drafts:
sequence.startwithcommit: restore,sequence.cancel,import.prepare - Exceptions: A resident’s conversation (your messages, letters, and the user’s answers) is kept locally until the resident is stowed, including across restarts.
message.sendwithto: autoon an empty desk summons a resident and saves it.
Persistent
- Residents:
resident.ensure,place,set,throw(landing position),summon,duplicate,desktopVisibility - Sequences and graph:
sequence.startwithonSuccess,group.create,group.add,relation.define,relation.link
Persistent, destructive
- Residents, notes, and settings:
resident.stow,note.set,settings.set,import.adopt(when replacing),app.quit - Saved looks and sequences:
sequence.save(same name),sequence.delete,status.define(same name orremove) - Groups and relations:
group.rename,group.delete,group.remove,relation.update,relation.delete,relation.unlink - These calls can discard a placed resident and its settings, a note, a saved sequence or status look, an adopted resident, an app setting, or saved group and relation data.
app.quitquits Pixling.
Retries after a lost response
Section titled “Retries after a lost response”Pass a unique requestID (such as a UUID) on calls that support it so you can resend the exact payload safely if the response drops:
{ "to": "client:my-agent/conversation-1", "requestID": "b7e2c1a0-4f3a-4c8d-9e12-000000000001", "text": "Migration finished", "author": "My Agent"}| Operation | Resend with same arguments | Run again on purpose |
|---|---|---|
resident.ensure |
Reuses the namespace/key binding; ignores initial values. |
Use a new key for a different resident. |
question.ask |
Reuses matching requester, requestID, and content while recorded. |
Use a new requestID for a new question. |
sequence.start |
Reuses active run receipt for matching requester, requestID, and content. |
Cancel first or wait until done, then use a new requestID. |
message.send |
With requestID, returns original receipts (last 64 accepted calls). |
Use a new requestID, or omit it. |
resident.duplicate |
Not deduplicated. Do not resend an accepted duplicate. | Each call creates a new duplicate. |
inbox.read |
Safe to repeat; returns the message text even after it was read. | Fetch new IDs with inbox.watch. |
Message deduplication rules
Section titled “Message deduplication rules”- With a
requestID, resending the same requester,requestID, and content returns the original receipts without showing the message or summoning a resident again. - The desk remembers the latest 64 calls that produced an accepted receipt, until Pixling quits.
- Reusing a
requestIDwith different content fails withconflict. - All MCP callers share one key space, so generate a unique key per message (such as a UUID). Calls without
requestIDare not deduplicated.
Binding conflicts and sequence runs
Section titled “Binding conflicts and sequence runs”resident.ensure: Passing a differentassetIDornamethan the first call fails as a conflict. Initial values are never re-applied to an existing binding.sequence.start: Sending different content with an active run’srequestIDfails withrequestConflict. Once a run ends, the samerequestIDstarts a new run; to replace an active run, callsequence.cancelfirst and use a newrequestID.- No restart history for sequences: Sequence run data does not survive an app restart.
sequence.getreturns only active runs and the latest finished result per requester and resident. GettingnotFoundfor an oldrunIDmeans the result is no longer kept, not that you should repeat the motion.
Recover a lost question answer
Section titled “Recover a lost question answer”After a settled answer is handed over, resending question.ask with the same requestID can create a new question.
Next steps
Section titled “Next steps”Read refusalsInspect error payloads, failure codes, and CLI exit codes.
Operations referenceFull list of failure codes and operation behavior.
MCP toolsTool catalog, groups, and annotation details.
What staysSee what survives hide, stow, restarts, and ended sessions.