Can an agent approve its own work?
Not by default. Only a person can accept or revoke a document or a release revision: a key is refused, a lead's included.
- What waits for acceptance. Each document says whether it does; by default architecture decisions, runbooks and a project's rules for its agents.
- The setting. An organization can let keys accept; turning that on asks for a fresh second factor, and an acceptance made with a key is then marked as such.
- The workflow. It can require the code to have actually reached a branch, as the git host reports it: that the agent cannot fake. It can also require a verified plan, whose files Quasar reads on the repository when the work starts (on Bitbucket Cloud), and a work log, which means a person wrote or confirmed the hours.
- Architecture decisions. When a plan says a decision needs amending, the work waits until a person accepts the amendment; an agent editing the decision is not enough.
- Who accepts. Accepting is a project lead's in any case, so an agent whose person is not a lead, or with read-only access, can never accept.