Architecture

auto-merger

An agent that watches the change requests of one repository on a forge and merges each one whose checks passed at the head a reviewer approved, acting under a grant its owner issued. A recorded check result wakes it; it reads the change request, and merges or leaves it. The merge rule is the source-control pack's (agentic.scm.change.MergeChangeRequest): the named head is still the head, an approval binds exactly that head, its checks passed, and the grant is active. A push after an approval leaves the approval behind, so the merger waits for a new one. The parts of the pack (forge, repository, change requests, check runs) are named by their blocks; the simulator checks the structure and does not simulate them.

Parts and links

Select a part for its properties
  • principal
  • agent, harness
  • work, authority
  • gateway, model
  • other block
  • border: what a human reaches
Architecture auto-merger12 parts in rows by block layer, 12 links as arrows labelled by what they carry. The tables of parts and links beside the graph list every part and every link as text.repo → changes: change_requestci → checks: check_resultchecks → changes: checksreviewer → changes: approvalon_checks → merger: triggerowner → merge_grant: grantmerge_grant → merger: grantmerger → changes: mergemerger → owner: questionmerger → gateway: model_callforge → repo: hostsgateway → model: model_callhostsmodel_callchange_requestcheck_resultchecksapprovaltriggergrantgrantmergequestionmodel_callforgescm.forgereposcm.repositorychangesscm.changeciprincipal · servicechecksscm.checkreviewerprincipal · humanon_checkstrigger · on_eventevent name agentic.scm.change.ChecksRecordedmax parallel 1policy queuemergeragent · mergerborderacts for ownerharness codingownerprincipal · humanmerge_grantauthority · grantaction class executeexpires after 24hscope mergegatewaygatewayrate limit per minute 30modelmodel · small