Before you start
- Your
.bellows.yamlhas build, test and lint gates. Without them nothing checks the upgrade. - Package caches are set under
cache, so setup is fast. See Configure your repo. - If your private modules need a token, see Environment variables and secrets.
Steps
1
Set up fast, deterministic gates
2
Write the prompt
Name the dependency and the exact target version. Click New task, pick
acme/notes-api and an executor.3
Check the gates and the diff
Open the task and look at the Verification panel. Then read the diff: the lock file change should match only the one dependency, and no tests should be removed.
What you get
- A pull request that changes the manifest and lock file, plus the code fixes the new version needs.
- Green
build,testandlintgates, or a clear failing gate with its output. - A description with the changelog notes you asked for.
The agent opens the pull request and writes its description, so asking for changelog notes in the prompt works. Bellows tells the agent never to claim a gate passed when it did not, so check the Verification panel rather than the text.
If your repo requires review
If.bellows.yaml sets policy: review: required and declares reviewers, the agent must get an approving review before the pull request is published. A dependency bump is a good fit for a narrow reviewer, such as “Check that no unrelated dependency changed in the lock file.” See Policy and reviewers.
Tips
- One dependency per task. Mixed upgrades make failures hard to trace and the pull request hard to review.
- Pin the target version in the prompt. “Latest” changes between when you write the task and when it runs.
- Ask for changelog notes in the pull request description. Reviewers then see why each code change happened.
- Say what not to do: no other upgrades, no skipped tests, no behavior changes.
- If a gate fails, follow up with the failing output and the agent continues in the same checkout.
- If a gate fails for environment reasons, such as a timeout or out of memory, editing code will not fix it. See Task lifecycle.