Use this pack to turn dependency release notes, lockfile movement and test output into a decision record for a production deployment. It is for software engineers and release managers who need to show why an upgrade can ship, must wait, or needs controls before release.
The prompts work as a chain. Start with the package evidence, then identify where the service can fail, judge the tests against those risks, plan controls, and issue a decision. Keep the output from each prompt. The next prompt uses it as an input document rather than asking the model to reconstruct earlier reasoning.
Key point
Keep evidence separate from judgement
Release notes and test logs are evidence. The release, defer or mitigate decision is a judgement that should cite that evidence.
Run the prompts in order
- Use Build the upgrade evidence register after you have the manifest diff, lockfile diff and upstream notes. This catches transitive movement that a pull request summary often misses. Do not omit packages because their names look familiar.
- Use Map service and runtime blast radius with the service README, deployment notes and integration list. This is where you find whether a library change reaches request handling, a job worker, build tooling or an internal API client.
- Use Judge test evidence against upgrade risk once the relevant tests have run. Paste the actual failure text and environment details, not only a green or red status from the pipeline.
- Use Draft the mitigation and rollback plan when the release needs a staged deployment, a feature flag review, an observation period or a clear reversal trigger.
- Use Issue the release approval decision only when the earlier records are complete enough to support an approval meeting or change record.
The available input size and behaviour can vary with the model you are using. If the records are long, split them by document type and retain package names, versions and log excerpts exactly. Check current capability details in the xAI documentation.
Note
Keep the lockfile diff
Release notes describe intended changes. The lockfile shows what resolution actually selected. You need both before approving a dependency upgrade.
Prepare the source material
Create one folder or ticket section for the assessment. Label each pasted item with its source and revision. A useful minimum set is:
- The manifest diff, such as the changed dependency declarations in
package.json,pyproject.toml,go.modor the equivalent project file. - The complete lockfile diff, including indirect packages and integrity or source changes.
- Release notes for every version crossed, not merely the destination version.
- A list of services, workers, scheduled jobs and deployment units that use the changed code.
- Test reports with command context, environment configuration and failure output where available.
- The rollback runbook and the on-call escalation route.
Do not paste secrets, production credentials, customer data, access tokens or raw request payloads. Replace them with a short marker such as [redacted production token]. Preserve enough context to show whether the missing value affects compatibility or testing.
Check the output before using it
The most dangerous output is a tidy assessment that silently fills gaps. Read the Evidence gaps, Unknowns that block approval and Remaining uncertainty sections before reading the recommendation. If those sections are empty despite incomplete inputs, the assessment is likely wrong.
Check these specific failure patterns:
| If you see this | Treat it as | What to do |
|---|---|---|
| A transitive package is called harmless with no resolution path | Unsupported conclusion | Return to the evidence register and request the parent dependency chain. |
| A test is marked as covering a risk but has no assertion or environment detail | Weak evidence | Paste the test log, fixture details and expected outcome, then rerun the test-evidence prompt. |
| A rollback is labelled ready but data or message formats changed | Unproven rollback safety | Add migration, compatibility and reversal evidence before approving. |
| A decision says release while high-risk items remain unknown | Decision conflict | Use the final prompt again and require it to apply the stated decision rules. |
Check
A usable approval record is traceable
You should be able to point from each release condition to a package change, a service risk, a test result or a rollback control in the supplied material.
Version numbers alone do not establish severity. A small update can still change defaults, dependency resolution, certificate handling, serialisation or retry behaviour. Equally, a release note labelled breaking may not affect your service if the affected path is not used. The prompts make that distinction by requiring an execution path and evidence source.
Make the decision record useful in a release meeting
Keep the final assessment short enough to scan, but do not remove the evidence table. The Decision summary tells the meeting what is proposed. The Decision basis gives reviewers a route back to the underlying record when they challenge a claim.
Use RELEASE when the stated risks have test evidence and an operable rollback path. Use MITIGATE BEFORE RELEASE when named, verifiable conditions can reduce a known risk before deployment. Use DEFER when the team lacks release-blocking evidence, cannot monitor the likely failure, or cannot reverse the change safely.
Watch out
Do not turn an approval into a risk register
A long list of vague follow-ups is not a mitigation plan. Each release condition needs an owner, a pass condition and evidence of completion.
When the pack does not work
If the first prompt produces mostly unknowns, stop and collect the manifest, lockfile and release notes before asking for a decision. If the blast-radius map is speculative, involve the service owner and paste the relevant call paths or deployment configuration. If tests are green but coverage is unclear, treat the result as insufficient rather than searching for reassurance in the final prompt.
When the final decision conflicts with the release team's understanding, identify the exact row that differs: package evidence, service exposure, test coverage, monitoring or rollback. Correct the source record, then rerun only the affected downstream prompts. This keeps the approval record auditable and avoids carrying an early assumption into the release decision.