Bug fix release path
Decide how one confirmed bug fix should reach users: ship a hotfix now, include it in the next scheduled release, put it in the backlog, or solve it without a code release through a config change, data fix or documentation, so urgent fixes move fast and the rest does not disrupt the release train.
F@fLimits to keep in mind
Impact estimates from a single report are often wrong; check logs or metrics for how many users are really affected.
Security issues may need a private fix and disclosure process; follow the security team's process, not this label alone.
Contracts or SLAs with specific customers can require faster fixes than the user count suggests.
Problem
Every bug feels urgent to the person who reports it. Teams either ship emergency hotfixes for cosmetic issues, which breaks the release rhythm and adds risk, or let real damage such as wrong invoices, lost data or a broken checkout wait two weeks for the next release. The decision is often made by whoever shouts loudest, without looking at user impact, how risky the fix is, whether a workaround exists and when the next release is due.
Goal
Label each fix so serious, safe fixes ship as a hotfix right away, important but non-urgent fixes ride the next scheduled release, minor issues go to the backlog with a clear priority, problems that can be solved by configuration, a data correction or better documentation skip the release entirely, and a person decides when impact or risk is unclear.
Input / state
One confirmed bug and its proposed fix: what is broken, who is affected and how badly, how big and risky the fix is, and where we are in the release cycle.
- bug_summary
- What is broken, in which part of the product, since when, and whether it is a regression from a recent release.
- user_impact
- How many users or accounts are affected, what they cannot do, whether money, data or security is involved, and whether a workaround exists.
- fix_details
- The proposed fix: size of the change, which code or settings it touches, test coverage, and whether it can be rolled back or put behind a flag.
- release_context
- When the next scheduled release ships, any code freeze or peak period, and how hotfixes are normally deployed.
Decision question
release_pathHow should this fix reach users? Weigh user impact (money, data, security, blocked core flows), how many people are affected, whether a workaround exists, the size and risk of the fix and the time until the next release. Use hotfix_now for serious harm with a small, safe fix. Use next_release when it matters but can wait. Use backlog for minor issues. Use no_code_change when config, a data fix or docs solve it. Use needs_review when impact or risk is unclear.
Options
hotfix_nowUsers are losing money or data, a core flow such as login, checkout or billing is blocked, or there is a security exposure, with no reasonable workaround, and the fix is small, tested and easy to roll back.next_releaseA real problem for some users with a workaround, or a serious problem whose fix is too large or risky for a hotfix, and the next scheduled release is close enough.backlogCosmetic, rare or low-impact issues such as layout glitches, typos in rarely seen screens or edge cases with an easy workaround; schedule with a priority instead of releasing now.no_code_changeThe problem can be solved without shipping code: a feature flag or configuration change, a one-off data correction, a support reply or clearer documentation, because the behavior is expected or caused by settings.
Allowed outcomes
Decided in your code from the answer and its confidence. Thresholds are yours to set and test.
- Ask the release ownerUser impact, the cause or the risk of the fix is unclear, or the request conflicts with a freeze or peak period; the release owner or tech lead decides.
- Ship a hotfix nowSerious harm with no workaround and a small, safe fix; stop other work, review, deploy through the hotfix process and tell support and affected users.
- Add to the next releaseImportant but not an emergency; merge the fix into the next scheduled release, share the workaround with support and tell reporters the release date.
- Put in the backlogLow impact; create or update the ticket with a priority and steps to reproduce, and fix it in normal planning.
- Fix without a releaseChange the flag or configuration, correct the data, or update docs and support replies; record what was done and close the bug if no code is needed.
Example scenarios
Predefined demonstrations. No model is called; the outcome shown is an illustrative judgment.
Example state
{
"bug_summary": "Since this morning's release, retrying a failed card payment creates a second charge",
"fix_details": "Three-line change restoring the idempotency key, covered by a new test, easy to revert",
"user_impact": "About 2% of checkouts, real money taken twice, no workaround for customers",
"release_context": "Next scheduled release in 9 days; hotfixes deploy through the normal pipeline in 30 minutes"
}Outcome
IllustrativeSerious harm with no workaround and a small, safe fix; stop other work, review, deploy through the hotfix process and tell support and affected users.
Why
Money is taken twice and the fix is tiny, tested and reversible.
Using it well
- Judge by user harm first: money, data loss, security and blocked core flows outrank annoyance and appearance.
- A hotfix needs both a serious problem and a small, tested, reversible fix; a big risky fix for a serious bug usually waits for the next release or goes behind a flag.
- A good workaround that support can share lowers urgency by a level.
- Regressions from the last release deserve extra attention, and rolling back that release can be the safest hotfix.
- Check the release calendar: if the next release ships within a day or two, riding it is often safer than a separate hotfix.
- During code freezes or peak traffic, only harm to money, data or security justifies a hotfix.
- If the behavior is expected or caused by a setting, fix the setting, data or docs instead of the code.
Request definition
POST https://api.typesafe.ai/v1/systemone{
"model": "jev-latest",
"state": {
"bug_summary": "<bug_summary>",
"user_impact": "<user_impact>",
"fix_details": "<fix_details>",
"release_context": "<release_context>"
},
"questions": {
"release_path": {
"type": "choice",
"instructions": "How should this fix reach users? Weigh user impact (money, data, security, blocked core flows), how many people are affected, whether a workaround exists, the size and risk of the fix and the time until the next release. Use hotfix_now for serious harm with a small, safe fix. Use next_release when it matters but can wait. Use backlog for minor issues. Use no_code_change when config, a data fix or docs solve it. Use needs_review when impact or risk is unclear.",
"criteria": {
"hotfix_now": "Users are losing money or data, a core flow such as login, checkout or billing is blocked, or there is a security exposure, with no reasonable workaround, and the fix is small, tested and easy to roll back.",
"next_release": "A real problem for some users with a workaround, or a serious problem whose fix is too large or risky for a hotfix, and the next scheduled release is close enough.",
"backlog": "Cosmetic, rare or low-impact issues such as layout glitches, typos in rarely seen screens or edge cases with an easy workaround; schedule with a priority instead of releasing now.",
"no_code_change": "The problem can be solved without shipping code: a feature flag or configuration change, a one-off data correction, a support reply or clearer documentation, because the behavior is expected or caused by settings."
}
}
}
}Request shape from the System One API reference; a Kev server accepts the same body. Replace the placeholder state with your data. Requests need your own API key or server.
Version History
Initial version