Branches and publishing
You do not need to know Git. You only need to know when something leaves your test site, and what the words mean when the agent uses them.
You do not need to know Git. You only need to know when something leaves your test site, and what the words mean when the agent uses them.
While you iterate ("make it bluer", "the title is wrong"), the agent edits files on your worker and you check the preview. Those edits live on the worker only. They are not on GitHub. That is the normal, correct state.
The agent is blocked from publishing until you clearly ask. "Done" and "looks good" do not count.
Say one of:
The agent then:
A typical branch name looks like this:
bugfix/hero-button-PM-1234
PM-1234 is the Tickets number when the work belongs to a ticket. That is how the team traces the PR back to the task. Test-suite-only work uses autotests/… instead of bugfix/….
GoPublic is four product repos, not one:
| You might call it | Repo |
|---|---|
| Admin / editor | Backoffice |
| Website | Frontend |
| CMS / API | Headless |
| CSS / JS / themes | Assets |
One chat can touch more than one repo, so you may get more than one PR. That is normal. Review all of them.
Two habits that keep this clean:
Publishing a PR is not merging it. Green checks, an approval, or "looks ready" are not a merge either.
Merge only happens when someone says merge it — in the chat, or with the Merge button on the Tickets task. After merge, the normal deploy takes the change to clients.
For changes that matter, say "review this hard". The agent brings the branch up to date with the newest main line, runs independent code reviews on every changed repo, fixes what they find, runs the full test suite, and only then asks a human for the final review. It still never merges.
When a bugfix worker fixes a Worker-labelled ticket, it also stands up a temporary site running the fix:
https://eph-<branch-name>.agent.gopublic.dk
It is a real Staging site with template content, so a reviewer can see the fix without a worker. It disappears when the PR is merged, or after 7 days.
When you start an agent, Cursor may show a repo and a branch for beru-org/Agent. That is the orchestration repo, not the product. The real edits happen in Backoffice, Frontend, Headless and Assets.
bugfix/… branches the agent names in the chat when you publish.beru-org/Agent and never names a product repo, something is off. Tell it to work in the product repos.Reset to default cleans the preview content. It does not close PRs and it does not delete unpublished code.
To throw away unpublished code on the worker, say so in those words: "Discard the local code changes."
Branches already pushed stay on GitHub until a human closes or merges them.