Skip to content

Commit db45fb0

Browse files
committed
fix(review): tighten UX release-blocker threshold
1 parent 0591289 commit db45fb0

6 files changed

Lines changed: 49 additions & 53 deletions

File tree

‎docs/triage-dashboard.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,16 @@ changing GitHub state.
6767

6868
Impact groups are a read-only projection of existing `impact:*` labels:
6969

70-
| Group | Labels |
71-
| ---------------- | ----------------------------------------- |
72-
| Message delivery | `impact:message-loss` |
73-
| Auth providers | `impact:auth-provider` |
74-
| State and data | `impact:session-state`, `impact:data-loss` |
75-
| Reliability | `impact:crash-loop` |
76-
| Security | `impact:security` |
70+
| Group | Labels |
71+
| ---------------- | ------------------------------------------------- |
72+
| Message delivery | `impact:message-loss` |
73+
| Auth providers | `impact:auth-provider` |
74+
| State and data | `impact:session-state`, `impact:data-loss` |
75+
| Reliability | `impact:crash-loop` |
76+
| Security | `impact:security` |
7777
| User experience | `impact:ux-release-blocker`, `impact:ux-friction` |
78-
| Other impact | `impact:other` |
79-
| Unclassified | no recognized impact label |
78+
| Other impact | `impact:other` |
79+
| Unclassified | no recognized impact label |
8080

8181
An issue may appear in multiple groups. The dashboard does not pick a primary
8282
group, create labels, assign maintainers, or route work. Group filters operate

‎prompts/review-item.md‎

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,19 @@ Use `none` only when ClawSweeper should intentionally leave priority labels abse
141141

142142
Apply this UX override before falling back to ordinary technical severity:
143143

144-
| User-experience evidence | Required classification |
145-
| --- | --- |
146-
| Website, download, install, update, setup, onboarding, auth/provider setup, first useful run, or in-product recovery is blocked for a non-technical first-time user; or recovery requires terminal, config edits, logs, manual file edits, or support. | Set `triagePriority: "P0"` and include `impact:ux-release-blocker`. |
147-
| The user can proceed only through docs, support, guessing, or fragile workaround steps, but progress is not fully blocked. | Use `P1` or `P2` and include `impact:ux-friction`. |
148-
| Cosmetic confusion or a fully recoverable in-product issue that does not block progress. | Use normal `P2` or `P3`; do not add `impact:ux-release-blocker`. |
149-
150-
When recovery currently requires a technical path, make `bestSolution` or
151-
`workReason` recommend a less-technical product surface such as a Doctor button,
152-
Fix button, setup wizard, inline recovery, or visible command launcher.
144+
| User-experience evidence | Required classification |
145+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
146+
| A non-technical first-time or community user is blocked in website, download, install, update, setup, onboarding, auth/provider setup, first useful run, or in-product recovery, with no in-product path forward. | Set `triagePriority: "P0"` and include `impact:ux-release-blocker`. |
147+
| Completing or recovering that blocked path requires terminal commands, config edits, log inspection, manual file edits, internal knowledge, or maintainer/support intervention. | Set `triagePriority: "P0"` and include `impact:ux-release-blocker`. |
148+
| The user can proceed only through docs, support, guessing, or fragile workaround steps, but progress is not fully blocked. | Use `P1` or `P2` and include `impact:ux-friction`. |
149+
| Cosmetic confusion or a fully recoverable in-product issue that does not block progress. | Use normal `P2` or `P3`; do not add `impact:ux-release-blocker`. |
150+
151+
Do not promote ordinary advanced configuration or optional power-user workflows
152+
solely because they use a terminal or config file. The override requires a
153+
blocked user-facing path. When recovery from that blocker currently requires a
154+
technical path, make `bestSolution` or `workReason` recommend a less-technical
155+
product surface such as a Doctor button, Fix button, setup wizard, inline
156+
recovery, or visible command launcher.
153157

154158
Do not raise `triagePriority` solely because CI or status checks are failing,
155159
pending, missing, flaky, or require routine maintainer follow-up. Treat check
@@ -167,7 +171,7 @@ the issue, and keep this separate from `triagePriority` and
167171
`impact:message-loss`: This issue is about lost, duplicated, misrouted, or suppressed channel messages.
168172
`impact:session-state`: This issue is about session, memory, transcript, context, or agent state drift.
169173
`impact:auth-provider`: This issue is about auth, provider routing, model choice, or SecretRef resolution.
170-
`impact:ux-release-blocker`: Non-technical users cannot progress without terminal, logs, config, or support.
174+
`impact:ux-release-blocker`: A non-technical user is blocked without terminal, logs, config, or support.
171175
`impact:ux-friction`: User-facing flow adds avoidable confusion or support burden without fully blocking progress.
172176
`impact:other`: This issue has meaningful maintainer-visible impact outside the owned taxonomy.
173177
Use `impact:other` only when the issue has a concrete maintainer-visible impact

‎schema/clawsweeper-decision.schema.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
"impact:other"
193193
]
194194
},
195-
"description": "ClawSweeper-owned GitHub impact labels for maintainers to find the affected problem class on issues. Use [] for pull requests and when no meaningful owned impact signal applies. These describe what the issue is about, not PR merge risk. Use at most 3; impact:other counts toward this max and means meaningful maintainer-visible impact exists but no specific owned impact label fits. Prefer a specific impact label over impact:other, and prefer impact:ux-release-blocker over impact:ux-friction when the same evidence supports both. UX override: blocked website/download/install/update/setup/onboarding/auth/provider setup/first useful run/in-product recovery for a non-technical first-time user, or recovery requiring terminal, config edits, logs, manual file edits, or support, requires P0 plus impact:ux-release-blocker. Recoverable docs/support/guessing paths use P1/P2 plus impact:ux-friction. Technical recovery should recommend a Doctor button, Fix button, setup wizard, inline recovery, or visible command launcher in bestSolution/workReason. impact:data-loss: This issue is about lost, corrupted, or silently dropped user/session/config data. impact:security: This issue is about security boundaries, credentials, authz, sandboxing, or sensitive data. impact:crash-loop: This issue is about crashes, hangs, restart loops, or process-level availability. impact:message-loss: This issue is about lost, duplicated, misrouted, or suppressed channel messages. impact:session-state: This issue is about session, memory, transcript, context, or agent state drift. impact:auth-provider: This issue is about auth, provider routing, model choice, or SecretRef resolution. impact:ux-release-blocker: Non-technical users cannot progress without terminal, logs, config, or support. impact:ux-friction: User-facing flow adds avoidable confusion or support burden without fully blocking progress. impact:other: This issue has meaningful maintainer-visible impact outside the owned taxonomy."
195+
"description": "ClawSweeper-owned GitHub impact labels for maintainers to find the affected problem class on issues. Use [] for pull requests and when no meaningful owned impact signal applies. These describe what the issue is about, not PR merge risk. Use at most 3; impact:other counts toward this max and means meaningful maintainer-visible impact exists but no specific owned impact label fits. Prefer a specific impact label over impact:other, and prefer impact:ux-release-blocker over impact:ux-friction when the same evidence supports both. UX override: a non-technical first-time or community user blocked in website/download/install/update/setup/onboarding/auth/provider setup/first useful run/in-product recovery with no in-product path forward requires P0 plus impact:ux-release-blocker. The same applies when completing or recovering that blocked path requires terminal commands, config edits, log inspection, manual file edits, internal knowledge, or maintainer/support intervention. Recoverable docs/support/guessing paths use P1/P2 plus impact:ux-friction. Do not promote ordinary advanced configuration or optional power-user workflows solely because they use a terminal or config file. Technical recovery from a blocker should recommend a Doctor button, Fix button, setup wizard, inline recovery, or visible command launcher in bestSolution/workReason. impact:data-loss: This issue is about lost, corrupted, or silently dropped user/session/config data. impact:security: This issue is about security boundaries, credentials, authz, sandboxing, or sensitive data. impact:crash-loop: This issue is about crashes, hangs, restart loops, or process-level availability. impact:message-loss: This issue is about lost, duplicated, misrouted, or suppressed channel messages. impact:session-state: This issue is about session, memory, transcript, context, or agent state drift. impact:auth-provider: This issue is about auth, provider routing, model choice, or SecretRef resolution. impact:ux-release-blocker: A non-technical user is blocked without terminal, logs, config, or support. impact:ux-friction: User-facing flow adds avoidable confusion or support burden without fully blocking progress. impact:other: This issue has meaningful maintainer-visible impact outside the owned taxonomy."
196196
},
197197
"mergeRiskLabels": {
198198
"type": "array",

‎src/clawsweeper.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ const IMPACT_LABELS = [
13341334
{
13351335
name: "impact:ux-release-blocker",
13361336
color: "B60205",
1337-
description: "Non-technical users cannot progress without terminal, logs, config, or support.",
1337+
description: "A non-technical user is blocked without terminal, logs, config, or support.",
13381338
},
13391339
{
13401340
name: "impact:ux-friction",

‎test/decision-parser.test.ts‎

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -268,32 +268,24 @@ test("decision parser enforces required schema-shaped evidence", () => {
268268
).impactLabels,
269269
["impact:other"],
270270
);
271-
assert.deepEqual(
272-
parseDecision(
273-
closeDecision({
274-
triagePriority: "P0",
275-
impactLabels: ["impact:ux-release-blocker", "impact:ux-friction"],
276-
labelJustifications: [
277-
{
278-
label: "P0",
279-
reason:
280-
"Setup is blocked for non-technical first-time users without a product recovery path.",
281-
},
282-
{
283-
label: "impact:ux-release-blocker",
284-
reason:
285-
"Recovery requires terminal commands or support instead of an in-product Doctor button.",
286-
},
287-
{
288-
label: "impact:ux-friction",
289-
reason:
290-
"The same setup path also adds avoidable support burden for recoverable variants.",
291-
},
292-
],
293-
}),
294-
).impactLabels,
295-
["impact:ux-release-blocker", "impact:ux-friction"],
296-
);
271+
for (const [triagePriority, impactLabel, reason] of [
272+
["P0", "impact:ux-release-blocker", "Setup is blocked without an in-product recovery path."],
273+
["P1", "impact:ux-friction", "Setup is recoverable but creates avoidable support burden."],
274+
] as const) {
275+
assert.deepEqual(
276+
parseDecision(
277+
closeDecision({
278+
triagePriority,
279+
impactLabels: [impactLabel],
280+
labelJustifications: [
281+
{ label: triagePriority, reason: "The issue has user-facing setup impact." },
282+
{ label: impactLabel, reason },
283+
],
284+
}),
285+
).impactLabels,
286+
[impactLabel],
287+
);
288+
}
297289
assert.deepEqual(
298290
parseDecision(
299291
closeDecision({

‎test/pr-label-policy.test.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,7 @@ test("ClawSweeper impact label scheme exposes owned impact labels", () => {
471471
{
472472
name: "impact:ux-release-blocker",
473473
color: "B60205",
474-
description:
475-
"Non-technical users cannot progress without terminal, logs, config, or support.",
474+
description: "A non-technical user is blocked without terminal, logs, config, or support.",
476475
},
477476
{
478477
name: "impact:ux-friction",
@@ -556,12 +555,13 @@ test("review prompt and schema define UX release-blocker override", () => {
556555
const prompt = reviewPromptTemplate();
557556

558557
assert.match(prompt, /Apply this UX override before falling back to ordinary technical severity/);
559-
assert.match(prompt, /non-technical first-time user/);
560-
assert.match(prompt, /terminal, config edits, logs, manual file edits, or support/);
558+
assert.match(prompt, /non-technical first-time or community user/);
559+
assert.match(prompt, /terminal commands, config edits, log inspection, manual file edits/);
560+
assert.match(prompt, /override requires a\s+blocked user-facing path/);
561561
assert.match(prompt, /Set `triagePriority: "P0"` and include `impact:ux-release-blocker`/);
562-
assert.match(prompt, /Doctor button,\s+Fix button,\s+setup wizard,\s+inline recovery/);
562+
assert.match(prompt, /Doctor button,\s+Fix button,\s+setup wizard,\s+inline\s+recovery/);
563563
assert.match(schemaDescription, /UX override:/);
564-
assert.match(schemaDescription, /non-technical first-time user/);
564+
assert.match(schemaDescription, /non-technical first-time or community user/);
565565
assert.match(schemaDescription, /Doctor button, Fix button, setup wizard, inline recovery/);
566566
assert.ok(impactLabelEnum.includes("impact:ux-release-blocker"));
567567
assert.ok(impactLabelEnum.includes("impact:ux-friction"));

0 commit comments

Comments
 (0)