Issues
Review the bugs Cofactor files, set their severity, close them, and send them to your tracker.
An issue is the record of one bug that Cofactor found. It holds the evidence, a diagnosis and every time the bug was seen, so you fix a bug once and see whether it is still there.
What creates an issue
Cofactor files an issue when it finds a real defect.
- When a test fails, the diagnosis files an issue if the cause is a Software Bug or App Changed. See Triage.
- You or your coding agent can file one with
cofactor issues create.
When the same problem shows up again, Cofactor adds it to the existing issue. Each sighting is an occurrence, so an issue shows when it was first and last seen and how many times it came back.
Review issues
-
Open the list. Select Issues. Filter by status, severity, application, category, credential, tag or last seen date, or search by title or URL.
bashcofactor issues list --status open --severity high
-
Open an issue. The drawer has Overview and Comments tabs. Issues from a test run also have a Diagnostics tab. Console errors and Network errors tabs list what the run captured. Read the diagnosis and the evidence before you decide.
bashcofactor issues get <issue id>
-
Set the severity and the category. The next section says how.
-
Assign it and talk about it. Use Assigned to at the bottom of the drawer. Type
@in a comment to mention a teammate. -
Group duplicates. Merge issues with one root cause into the oldest or best-documented one. The others close, and later sightings go to the one you kept.
bashcofactor issues merge <duplicate id>,<duplicate id> --into <issue id>
Choose a severity and a category
Every issue has a severity and a category. Use them to decide what to fix first and who should look.
Severity. Cofactor sets the severity when it files the issue. Select the severity badge on an issue to change it. Cofactor does not enforce a definition, so agree one with your team and set the badge to match. cofactor issues create uses medium unless you pass --severity.
| Severity | A reasonable use |
|---|---|
| High | A bug that blocks users or breaks a core flow, or a security or data risk. |
| Medium | A bug with a workaround. |
| Low | A minor, cosmetic or edge-case problem. |
| Unknown | No severity was recorded. |
Filter the list with cofactor issues list --severity high. The values are low, medium, high and unknown.
Category. A category says what kind of problem an issue is. Each organization starts with ten.
| Category | What it covers |
|---|---|
| Visual Regression | A person marked a captured screen as a regression. |
| Business Logic Failure | A flow completes but gives a wrong calculation, price or state. |
| Server / API Error | A 500, a timeout or a backend crash that users see. |
| Client / Frontend Error | A JavaScript exception, a rendering problem or broken UI logic. |
| Data Integrity | Wrong, missing or stale data. |
| Accessibility | A keyboard, screen-reader, contrast or WCAG problem. |
| Performance / Reliability | A slow response, jank or flaky behavior that blocks a task. |
| Security / Privacy | A sensitive data leak, an auth bypass or a permission problem. |
| Content / Copy | A typo, a broken translation, a tone problem or missing help text. |
| Test Failure | An automated test failed in a flow. A failed test run files its issues under this category. |
Change an issue's category from the badge in the issue drawer. You can also filter the list by category. With the CLI, cofactor issues create --category <key> sets one when you file an issue, and the default is business_logic_failure.
To add your own, open Settings, then Issue Labels, and select Add Category. Give it a Label. The Key, a lowercase identifier that agents use, is optional. A Description and Agent Instructions tell the agents that report bugs when to choose it. Edit a category to rename it, or to turn off its Active switch. An inactive category is no longer offered on an issue.
Close an issue
An issue is open, closed or not a bug. Its status changes in three ways.
-
When a later suite run passes the test the issue was filed against, Cofactor closes the issue itself. If the issue was filed against one step or assertion, that step or assertion must pass. To close one by hand, use the menu next to Working as intended and choose Close.
bashcofactor issues close <issue id>
-
If the behavior is intended, select Working as intended and write the intended behavior. The status becomes not a bug, and Cofactor records the behavior as a rule on a capability in your product map. Both the app and the CLI need the intended behavior.
bashcofactor issues close <issue id> --not-a-bug --reason "Archived projects intentionally hide the Edit button"
-
If a closed issue comes back, choose Open from the same menu, or run
cofactor issues reopen <issue id>.
To remove an issue from the list, select it in the list and choose Archive. In the drawer, Delete in the same menu does the same. Include archived issues under More filters shows archived issues again.
Send an issue to your tracker
Connect Jira, Linear, Azure DevOps or GitHub, and a Cofactor issue can become a ticket there. Open the issue and choose Create Jira Ticket (the button is named for your tracker), or run the command. The ticket links back to the issue.
cofactor tickets file <issue id>
If several trackers are connected and none is the default, add --provider github, jira, linear or azureDevops.
See Jira, Linear, Azure DevOps and GitHub.
Check it worked
cofactor issues get <issue id>
The status matches what you did, and the occurrence count and last seen time show whether the bug is still happening. After a fix, run the suite again. A passing run closes the issue.
Go deeper
- Triage explains the diagnosis in each issue.
- Reports covers hearing about failures in Slack or email.
- Reference: Runs
Tags, product map links, file an issue yourself and the full issue guide.
Add tags with cofactor issues tag <issue id> --add regression,checkout. Create the tag first with cofactor tag create --name <name> --color <color>.
Link an issue to the capability it breaks with cofactor issues link <issue id> --capability <CAP code>. See Product map.
To file an issue yourself, search first with cofactor issues create --check --title "<title>" --application-id <id>. Then create the issue with --title, --application-id and --url. Add evidence with --evidence <kind>:<description> and --screenshot <file>, or link a run with --from-run <run id>.
cofactor issues guide prints the full guide for you or your agent.