Write-back

Let people open pull requests, comment and create work items on GitHub and Azure DevOps through Synaxis, as themselves, after confirming each change.

Write-back is off until you turn it on. With it on, CodeWrightAI and other MCP clients may open a pull request, add a comment, or create an issue or work item through Synaxis. Every write is made upstream with the person's own linked account, so GitHub and Azure DevOps show that person as its author, never Synaxis.

Turn write-back on

  1. Give the connections write access: on GitHub, the App's Issues and Pull requests as Read and write (see GitHub); on Azure DevOps, people's own access decides what they may write.

  2. In your configuration file, set writeBack, then apply it (see Configuration as code):

    writeBack: { enabled: true, perHour: 30 }
    
  3. Restart the replicas: write-back changes take effect when they restart.

Each person also needs a token with the write scope (see Service accounts and tokens) and an account linked under Me for that connection (see Linked identities and access).

What a person may write

  • Only to repositories, issues and work items they can read in Synaxis.
  • At most perHour writes an hour each (30 unless you set it). Over the limit, Synaxis refuses and says when to try again.
  • What was written is synced back into the index shortly after.

Confirming each change

Nothing is written until the person confirms the exact change. The first call answers with the change in words and a one-time confirmation that works for 10 minutes, only for that person, that tool and those exact arguments. The client shows the change and sends the same call again with the confirmation.

  • CodeWrightAI always shows its own approval card with the change first, and writes only after the person approves it.
  • An MCP client that supports elicitation is asked by Synaxis to show the change to the person; declining writes nothing.

Note: For an MCP client without elicitation, the confirmation comes back in the tool's result. Synaxis guarantees that a write takes a second, identical call; asking the person between the two calls is the client's job. Turn write-back on only for clients you trust to ask.

Audit

Every write, confirmation, decline and refusal is in the audit log as writeback.<tool> (with .confirm, .declined or .refused), never with the text written. See Audit log.

See also