You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9dd48ee
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .claude/skills/issue-classification/SKILL.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,16 +52,21 @@ repository" at the end.
52
52
| Impact | Use when |
53
53
|---|---|
54
54
|**Security**| Two parts. A **vulnerability**: a defect makes the protection weaker: it exposes credentials or data (also a secret that leaks to a log, an error message, a URL, or another host), lets a value change the meaning of a query (injection), skips or weakens a TLS or identity check, corrupts memory (an out-of-bounds write, a use after free), or lets input that the application takes from its users stop the client; also a vulnerability in a dependency. The boundaries "Hostile server or network" and "Dependencies" below say when these count. **Authentication**: an authentication method that does not work or is missing, or how the client takes credentials (for example a token provider or a credentials file); a secret that leaks is a vulnerability, not authentication. Say which part applies: the priority rules of a repo rate the two parts differently. |
55
-
|**Data integrity**| Data that the caller wrote, or a result that the caller reads, is missing, incomplete, or different from the value given or stored, and the client reports no error. This includes a failed operation that the client reports as a success, a server error that the client ignores, overflow, lost precision, a time zone shift, a wrong decode, a stream that loses synchronization, a duplicate write, and a write to the wrong table. |
55
+
|**Data integrity**| Data that the caller wrote, or a result that the caller reads, is missing, incomplete, or different from the value given or stored, and the client reports no error. A write that stays although the client reports an error counts too (see the boundaries). This includes a failed operation that the client reports as a success, a server error that the client ignores, overflow, lost precision, a time zone shift, a wrong decode, a stream that loses synchronization, a duplicate write, and a write to the wrong table. |
56
56
|**Stability**| The process stops in a way that the caller cannot handle as a normal error (abort, segmentation fault, unrecovered panic, stack overflow), a call does not return (deadlock, hang), or a resource leaks until none is left (connections, sockets, memory). Also a thread-safety defect. |
57
57
|**Performance**| The result is correct, but the operation is too slow, or uses too much memory or CPU. Also a request to make an operation faster. |
58
58
59
59
Boundaries:
60
60
61
-
-**Data integrity needs "no error".** When the client rejects a value with an error, the
62
-
issue has no Data integrity impact. When the caller gets an error, but the error is wrong
63
-
or not clear, the issue has no Data integrity impact either: it has the area API &
64
-
diagnostics.
61
+
-**Data integrity needs "no error".** When the client rejects a value with an error and
62
+
stores nothing, the issue has no Data integrity impact. When the caller gets an error, but
63
+
the error is wrong or not clear, the issue has no Data integrity impact either: it has the
64
+
area API & diagnostics. One exception: a write that stays in the table although the call
65
+
reported an error is Data integrity, because the caller cannot know that the data is there
66
+
(for example, a retry after an error writes the rows a second time). So for a write, check
67
+
the stored rows, also after an error.
68
+
-**Bytes on the wire.** Other bytes on the wire are not wrong data when the stored and the
69
+
returned values are correct.
65
70
-**Security and values that are not quoted.** A value or an identifier that the client
66
71
does not quote or escape gets Security only when the issue shows a path from untrusted
67
72
input. A string value that leaves its literal because the client does not escape it is
one, or more of Security (part vulnerability or part authentication), Data
@@ -152,10 +177,17 @@ highest row applies:
152
177
153
178
| Severity | Use when |
154
179
| ----------------------- | -------- |
155
-
| Wrong data or security | impact **Data integrity**: the client returns or stores wrong or incomplete data with no error, or reports success for a query that failed; or impact **Security** with a vulnerability (for a vulnerability in a dependency: only when the client calls the vulnerable code) |
156
-
| Broken, no workaround | the feature fails (an exception, a hang, a leak that ends in an `OutOfMemoryError` or in exhausted connections), and the caller has no reasonable workaround; also a wrong or incomplete error with no workaround: the failure is reported, but its type, code, or message is wrong or lost. The impact **Stability** (a hang, a `StackOverflowError` or `OutOfMemoryError`, such a leak) uses this row when the caller has no reasonable workaround |
157
-
| Workaround exists | the feature fails, but the caller can avoid the failure with a small change in their own code (name the workaround in the reason); also impact **Performance** of a defect: a result that is correct but slow or uses too much memory (a request to make an operation faster is a feature request: last row) |
158
-
| Cosmetic, docs, feature | wrong log or message text, documentation, a feature request; also a request to make an operation faster, and a dependency update (also one for a vulnerability in a dependency, in code that the client does not call) |
180
+
| Wrong data or security | impact **Data integrity**: the client returns or stores wrong or incomplete data with no error, or reports success for a query that failed, or keeps a write although it reported an error; or impact **Security** with a vulnerability (for a vulnerability in a dependency: only when the client calls the vulnerable code) |
181
+
| Broken, no workaround | the feature fails (an exception, a hang, a leak that ends in an `OutOfMemoryError` or in exhausted connections), and the caller has no reasonable workaround; also an exception of the wrong type or code, when the exception handler that the docs describe does not catch it (an exception message that is only wrong or not clear is in the last row). The impact **Stability** (a hang, a `StackOverflowError` or `OutOfMemoryError`, such a leak) uses this row when the caller has no reasonable workaround; also impact **Performance** when a supported workload can no longer finish within its time or memory budget |
182
+
| Workaround exists | the feature fails, but the caller can avoid the failure with a small change in their own code (name the workaround in the reason); also impact **Performance** of a defect: a correct result with a measured slowdown or memory use that materially delays a workload, and a Performance defect with no measurement yet (a request to make an operation faster is a feature request: last row) |
183
+
| Cosmetic, docs, feature | wrong log or message text (also an exception message that is wrong, not clear, or incomplete when the type and the code of the exception are correct, for example for an input that is not valid and that the client rejects with an awkward message), documentation, a feature request; also a request to make an operation faster, and a dependency update (also one for a vulnerability in a dependency, in code that the client does not call); also impact **Performance** of a defect with a small measured effect on the workload (for example 5% slower) |
184
+
185
+
**A reasonable workaround** keeps the result that the caller asked for, in the
186
+
caller's setup, with a small and safe change (name it in the reason). These
187
+
are not reasonable workarounds: a change to another protocol or transport,
188
+
skipping a required authentication or TLS check, and a check of every returned
189
+
row or value. When the only workaround is one of these, use the row "Broken,
190
+
no workaround".
159
191
160
192
**An exception of a type that the API does not declare.** The JDBC methods of
161
193
jdbc-v2 must throw `SQLException`, and client-v2 throws the subclasses of
@@ -222,9 +254,6 @@ Apply them in this order:
222
254
pre-release (`vX.Y.Z-rcN`); a patch release of an older line (for example
223
255
`v0.9.9`, published after `v0.10.0`) is not the latest release. The release
224
256
before it is the next lower version that is not a pre-release.
225
-
4.**Customer request in Linear.** The issue links (`linear.app`) a Linear
226
-
issue for a customer request: up one level, but never to `Urgent` (`High`
227
-
stays `High`).
228
257
229
258
A defect on the query path (`Client.query`, `queryAll`, `queryRecords`,
230
259
`Statement.executeQuery`, the getters of `ResultSet`) gets no ingestion
@@ -253,4 +282,8 @@ For a legacy issue, the line is:
253
282
`Legacy (<path>) · <impacts, or "no impact"> · <severity> · <"critical for customers: <evidence>", or "not critical for customers"> → <level>.`
254
283
255
284
Name the workaround when the severity is "Workaround exists". When the
256
-
confidence is `LOW`, say what is missing.
285
+
confidence is `LOW`, say what is missing. When the trigger sets the tier, name
286
+
it after the path, for example
287
+
`Narrow (ResultSetImpl.getString of Enum8; trigger: control characters in an Enum name)`.
288
+
For the impact Performance, give the measurements before and after, and the
0 commit comments